Pull request #256 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ece373d565f3e7991284bdcf6ddd420279caf7f8+f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 (1eeb4cfb78fd6211e2dfc4c6fd0c3ce77fcacfa1) 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-ssh4226789396059038716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh3978554579344137637.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-256/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-256/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16236432153765945058.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-256/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2309526934069632493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh8117322633772628146.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-256/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-256/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10343519456767707352.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1160 in /w/workspace/foundry_device-virtual-go_PR-256 [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-256 # 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-256@tmp/jenkins-gitclient-ssh2002560048914906243.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 into PR head commit ece373d565f3e7991284bdcf6ddd420279caf7f8 Merge succeeded, producing ece373d565f3e7991284bdcf6ddd420279caf7f8 Checking out Revision ece373d565f3e7991284bdcf6ddd420279caf7f8 (PR-256) > 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-256@tmp/jenkins-gitclient-ssh4182984192734847868.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # 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-256@tmp/jenkins-gitclient-ssh7800732783643510623.key > git merge f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-20T11:07:53.935Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-20T11:07:54.219Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-20T11:07:54.315Z] ========================================================= [2021-12-20T11:07:54.315Z] EdgeX Global Pipelines Version Info [2021-12-20T11:07:54.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:07:55.473Z] ------------------- [2021-12-20T11:07:55.473Z] stable info: [2021-12-20T11:07:55.473Z] ------------------- [2021-12-20T11:07:55.473Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-20T11:07:55.473Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-20T11:07:55.473Z] Message: update stable to v1.0.217 [2021-12-20T11:07:56.043Z] ------------------- [2021-12-20T11:07:56.043Z] experimental info: [2021-12-20T11:07:56.043Z] ------------------- [2021-12-20T11:07:56.043Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-20T11:07:56.043Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-20T11:07:56.043Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-20T11:07:56.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-12-20T11:07:56.434Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-12-20T11:07:56.472Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-20T11:07:56.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-20T11:07:56.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-20T11:07:56.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-20T11:07:56.632Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-20T11:07:56.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-20T11:07:56.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-20T11:07:56.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-20T11:07:56.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-20T11:07:56.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-12-20T11:07:56.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-20T11:07:56.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-20T11:07:56.962Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-20T11:07:57.002Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-20T11:07:57.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-20T11:07:57.089Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-20T11:07:57.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-20T11:07:57.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-20T11:07:57.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-20T11:07:57.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-20T11:07:57.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-20T11:07:57.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-20T11:07:57.380Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-20T11:07:57.418Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-20T11:07:57.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-256 [Pipeline] echo [2021-12-20T11:07:57.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-256 [Pipeline] echo [2021-12-20T11:07:57.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-256 [Pipeline] echo [2021-12-20T11:07:57.589Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ece373d565f3e7991284bdcf6ddd420279caf7f8 [Pipeline] echo [2021-12-20T11:07:57.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ece373d [Pipeline] echo [2021-12-20T11:07:57.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T11:07:57.775Z] provisioning config files... [2021-12-20T11:07:57.791Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-256@tmp/config6797958630993157889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:07:58.134Z] ---> docker-login.sh [2021-12-20T11:07:58.134Z] nexus3.edgexfoundry.org:10001 [2021-12-20T11:07:58.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:07:58.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:07:58.393Z] Configure a credential helper to remove this warning. See [2021-12-20T11:07:58.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:07:58.393Z] [2021-12-20T11:07:58.393Z] Login Succeeded [2021-12-20T11:07:58.393Z] nexus3.edgexfoundry.org:10002 [2021-12-20T11:07:58.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:07:58.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:07:58.393Z] Configure a credential helper to remove this warning. See [2021-12-20T11:07:58.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:07:58.393Z] [2021-12-20T11:07:58.393Z] Login Succeeded [2021-12-20T11:07:58.393Z] nexus3.edgexfoundry.org:10003 [2021-12-20T11:07:58.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:07:58.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:07:58.658Z] Configure a credential helper to remove this warning. See [2021-12-20T11:07:58.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:07:58.658Z] [2021-12-20T11:07:58.658Z] Login Succeeded [2021-12-20T11:07:58.658Z] nexus3.edgexfoundry.org:10004 [2021-12-20T11:07:58.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:07:58.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:07:58.658Z] Configure a credential helper to remove this warning. See [2021-12-20T11:07:58.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:07:58.658Z] [2021-12-20T11:07:58.658Z] Login Succeeded [2021-12-20T11:07:58.658Z] docker.io [2021-12-20T11:07:58.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:07:59.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:07:59.229Z] Configure a credential helper to remove this warning. See [2021-12-20T11:07:59.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:07:59.229Z] [2021-12-20T11:07:59.229Z] Login Succeeded [2021-12-20T11:07:59.229Z] ---> docker-login.sh ends [Pipeline] } [2021-12-20T11:07:59.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-20T11:07:59.959Z] + git rev-list -1 --merges ece373d565f3e7991284bdcf6ddd420279caf7f8~1..ece373d565f3e7991284bdcf6ddd420279caf7f8 [Pipeline] echo [2021-12-20T11:08:00.019Z] -----------> git rev-list -1 --merges ece373d565f3e7991284bdcf6ddd420279caf7f8~1..ece373d565f3e7991284bdcf6ddd420279caf7f8 ece373d565f3e7991284bdcf6ddd420279caf7f8 [false] [Pipeline] sh [2021-12-20T11:08:00.339Z] + git log --format=format:%s -1 ece373d565f3e7991284bdcf6ddd420279caf7f8 [Pipeline] echo [2021-12-20T11:08:00.370Z] ========================================================= [2021-12-20T11:08:00.370Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-20T11:08:00.370Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T11:08:00.801Z] + git log --format=format:%s -1 ece373d565f3e7991284bdcf6ddd420279caf7f8 [Pipeline] echo [2021-12-20T11:08:00.828Z] [semverPrep] GIT_COMMIT: ece373d565f3e7991284bdcf6ddd420279caf7f8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-12-20T11:08:00.855Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-20T11:08:01.362Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-20T11:08:01.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-20T11:08:01.362Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-20T11:08:01.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-20T11:08:01.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-20T11:08:01.362Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-20T11:08:01.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:08:01.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T11:08:01.820Z] [2021-12-20T11:08:01.820Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:08:02.166Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T11:08:02.166Z] latest: Pulling from edgex-devops/git-semver [2021-12-20T11:08:02.166Z] a0d0a0d46f8b: Pulling fs layer [2021-12-20T11:08:02.166Z] 3e5f54012d9b: Pulling fs layer [2021-12-20T11:08:02.166Z] 4c7163046ea9: Pulling fs layer [2021-12-20T11:08:02.166Z] 0c2d73faf560: Pulling fs layer [2021-12-20T11:08:02.166Z] 0c2d73faf560: Waiting [2021-12-20T11:08:02.166Z] 3e5f54012d9b: Verifying Checksum [2021-12-20T11:08:02.166Z] 3e5f54012d9b: Download complete [2021-12-20T11:08:02.166Z] a0d0a0d46f8b: Verifying Checksum [2021-12-20T11:08:02.166Z] a0d0a0d46f8b: Download complete [2021-12-20T11:08:02.166Z] 0c2d73faf560: Verifying Checksum [2021-12-20T11:08:02.166Z] 0c2d73faf560: Download complete [2021-12-20T11:08:02.166Z] 4c7163046ea9: Verifying Checksum [2021-12-20T11:08:02.166Z] 4c7163046ea9: Download complete [2021-12-20T11:08:02.451Z] a0d0a0d46f8b: Pull complete [2021-12-20T11:08:02.451Z] 3e5f54012d9b: Pull complete [2021-12-20T11:08:02.724Z] 4c7163046ea9: Pull complete [2021-12-20T11:08:02.985Z] 0c2d73faf560: Pull complete [2021-12-20T11:08:02.985Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-20T11:08:02.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-20T11:08:02.985Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-20T11:08:03.079Z] prd-centos7-docker-4c-2g-1160 does not seem to be running inside a container [2021-12-20T11:08:03.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-256 -v /w/workspace/foundry_device-virtual-go_PR-256:/w/workspace/foundry_device-virtual-go_PR-256:rw,z -v /w/workspace/foundry_device-virtual-go_PR-256@tmp:/w/workspace/foundry_device-virtual-go_PR-256@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-20T11:08:03.685Z] $ docker top 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-20T11:08:03.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-20T11:08:03.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-20T11:08:03.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-20T11:08:03.956Z] $ docker exec 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf ssh-agent [2021-12-20T11:08:04.048Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXboJNaA/agent.14 [2021-12-20T11:08:04.048Z] SSH_AGENT_PID=20 [2021-12-20T11:08:04.054Z] Running ssh-add (command line suppressed) [2021-12-20T11:08:04.146Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-256@tmp/private_key_9148465212171103606.key (/w/workspace/foundry_device-virtual-go_PR-256@tmp/private_key_9148465212171103606.key) [2021-12-20T11:08:04.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-20T11:08:04.496Z] + git tag --points-at HEAD [Pipeline] } [2021-12-20T11:08:04.515Z] $ docker exec --env ******** --env ******** 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf ssh-agent -k [2021-12-20T11:08:04.599Z] unset SSH_AUTH_SOCK; [2021-12-20T11:08:04.599Z] unset SSH_AGENT_PID; [2021-12-20T11:08:04.599Z] echo Agent pid 20 killed; [2021-12-20T11:08:04.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-20T11:08:04.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-20T11:08:04.686Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-20T11:08:04.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-20T11:08:04.792Z] $ docker exec 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf ssh-agent [2021-12-20T11:08:04.881Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbooDP/agent.53 [2021-12-20T11:08:04.881Z] SSH_AGENT_PID=59 [2021-12-20T11:08:04.886Z] Running ssh-add (command line suppressed) [2021-12-20T11:08:04.969Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-256@tmp/private_key_1401508229692505017.key (/w/workspace/foundry_device-virtual-go_PR-256@tmp/private_key_1401508229692505017.key) [2021-12-20T11:08:04.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-20T11:08:05.335Z] + git semver init [2021-12-20T11:08:05.335Z] # -> Open(): unable to determine branch for HEAD [2021-12-20T11:08:05.335Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-256/.git [2021-12-20T11:08:05.335Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-256 [2021-12-20T11:08:05.335Z] # $SEMVER_REMOTE_NAME = origin [2021-12-20T11:08:05.335Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-20T11:08:05.335Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-20T11:08:05.335Z] # $SEMVER_BRANCH = PR-256 [2021-12-20T11:08:05.335Z] # $SEMVER_TEMP = /tmp/semver-195095251 [2021-12-20T11:08:05.335Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-12-20T11:08:06.722Z] # '/tmp/semver-195095251' -> '/w/workspace/foundry_device-virtual-go_PR-256/.semver' [2021-12-20T11:08:06.722Z] # -> Force: false [2021-12-20T11:08:06.722Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-256/.semver [Pipeline] } [2021-12-20T11:08:06.742Z] $ docker exec --env ******** --env ******** 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf ssh-agent -k [2021-12-20T11:08:06.829Z] unset SSH_AUTH_SOCK; [2021-12-20T11:08:06.829Z] unset SSH_AGENT_PID; [2021-12-20T11:08:06.829Z] echo Agent pid 59 killed; [2021-12-20T11:08:06.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-20T11:08:07.257Z] + git semver [Pipeline] } [2021-12-20T11:08:07.282Z] $ docker stop --time=1 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf [2021-12-20T11:08:08.526Z] $ docker rm -f 259c3bbefef21864a4bbf0b29f7e068585ccfe499c3988f30b6e7b120799efcf [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T11:08:08.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-20T11:08:09.207Z] Stashed 1 file(s) [Pipeline] echo [2021-12-20T11:08:09.226Z] [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-12-20T11:08:09.775Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1148 in /w/workspace/foundry_device-virtual-go_PR-256 [Pipeline] { [Pipeline] ws [2021-12-20T11:08:09.813Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-12-20T11:08:09.866Z] The recommended git tool is: git [2021-12-20T11:08:14.179Z] using credential edgex-jenkins-ssh [2021-12-20T11:08:14.196Z] Cloning the remote Git repository [2021-12-20T11:08:14.252Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:08:14.334Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-12-20T11:08:14.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:08:14.424Z] > git --version # timeout=10 [2021-12-20T11:08:14.441Z] > git --version # 'git version 2.17.1' [2021-12-20T11:08:14.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:08:14.497Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T11:08:17.120Z] Merging remotes/origin/main commit f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 into PR head commit ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:08:16.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-12-20T11:08:16.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T11:08:16.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-12-20T11:08:16.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:08:16.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:08:16.534Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-20T11:08:17.340Z] Merge succeeded, producing ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:08:17.341Z] Checking out Revision ece373d565f3e7991284bdcf6ddd420279caf7f8 (PR-256) [2021-12-20T11:08:17.145Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T11:08:17.172Z] > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # timeout=10 [2021-12-20T11:08:17.254Z] > git remote # timeout=10 [2021-12-20T11:08:17.271Z] > git config --get remote.origin.url # timeout=10 [2021-12-20T11:08:17.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:08:17.300Z] > git merge f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 # timeout=10 [2021-12-20T11:08:17.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-20T11:08:17.350Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T11:08:17.370Z] > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # timeout=10 [2021-12-20T11:08:21.852Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-12-20T11:08:21.927Z] > git --version # timeout=10 [2021-12-20T11:08:21.939Z] > git --version # 'git version 2.17.1' [2021-12-20T11:08:21.957Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T11:08:23.912Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-20T11:08:23.912Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-20T11:08:23.912Z] Dload Upload Total Spent Left Speed [2021-12-20T11:08:23.912Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90953 0 --:--:-- --:--:-- --:--:-- 90953 [Pipeline] sh [2021-12-20T11:08:24.414Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-20T11:08:24.606Z] Still waiting to schedule task [2021-12-20T11:08:24.606Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1160’ [2021-12-20T11:08:24.772Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-20T11:08:24.772Z] + sudo tee /etc/docker/daemon.new [2021-12-20T11:08:24.772Z] { [2021-12-20T11:08:24.772Z] "registry-mirrors": [ [2021-12-20T11:08:24.772Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-20T11:08:24.772Z] ], [2021-12-20T11:08:24.772Z] "bip": "10.250.0.254/24", [2021-12-20T11:08:24.772Z] "hosts": [ [2021-12-20T11:08:24.772Z] "tcp://0.0.0.0:5555", [2021-12-20T11:08:24.772Z] "unix:///var/run/docker.sock" [2021-12-20T11:08:24.772Z] ], [2021-12-20T11:08:24.772Z] "mtu": 1458, [2021-12-20T11:08:24.772Z] "selinux-enabled": true, [2021-12-20T11:08:24.772Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-20T11:08:24.772Z] } [Pipeline] sh [2021-12-20T11:08:25.157Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-20T11:08:25.526Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T11:08:44.033Z] provisioning config files... [2021-12-20T11:08:44.059Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5806337511286019156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:08:44.445Z] ---> docker-login.sh [2021-12-20T11:08:44.446Z] nexus3.edgexfoundry.org:10001 [2021-12-20T11:08:45.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:08:45.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:08:45.309Z] Configure a credential helper to remove this warning. See [2021-12-20T11:08:45.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:08:45.309Z] [2021-12-20T11:08:45.309Z] Login Succeeded [2021-12-20T11:08:45.309Z] nexus3.edgexfoundry.org:10002 [2021-12-20T11:08:45.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:08:45.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:08:45.583Z] Configure a credential helper to remove this warning. See [2021-12-20T11:08:45.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:08:45.583Z] [2021-12-20T11:08:45.583Z] Login Succeeded [2021-12-20T11:08:45.583Z] nexus3.edgexfoundry.org:10003 [2021-12-20T11:08:45.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:08:46.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:08:46.127Z] Configure a credential helper to remove this warning. See [2021-12-20T11:08:46.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:08:46.127Z] [2021-12-20T11:08:46.127Z] Login Succeeded [2021-12-20T11:08:46.127Z] nexus3.edgexfoundry.org:10004 [2021-12-20T11:08:46.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:08:46.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:08:46.673Z] Configure a credential helper to remove this warning. See [2021-12-20T11:08:46.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:08:46.673Z] [2021-12-20T11:08:46.673Z] Login Succeeded [2021-12-20T11:08:46.673Z] docker.io [2021-12-20T11:08:46.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:08:47.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:08:47.220Z] Configure a credential helper to remove this warning. See [2021-12-20T11:08:47.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:08:47.220Z] [2021-12-20T11:08:47.220Z] Login Succeeded [2021-12-20T11:08:47.220Z] ---> docker-login.sh ends [Pipeline] } [2021-12-20T11:08:47.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-20T11:08:47.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-20T11:08:47.638Z] ========================================================= [2021-12-20T11:08:47.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-20T11:08:47.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:08:48.067Z] + 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 . [2021-12-20T11:08:48.341Z] Sending build context to Docker daemon 11.55MB [2021-12-20T11:08:48.614Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T11:08:48.614Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-20T11:08:48.614Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-20T11:08:48.614Z] 552d1f2373af: Pulling fs layer [2021-12-20T11:08:48.614Z] ea3f2d53f512: Pulling fs layer [2021-12-20T11:08:48.614Z] 9e70ebbbe112: Pulling fs layer [2021-12-20T11:08:48.614Z] 7a9cfe048b4a: Pulling fs layer [2021-12-20T11:08:48.614Z] 72dc09318566: Pulling fs layer [2021-12-20T11:08:48.614Z] f4f7b4309257: Pulling fs layer [2021-12-20T11:08:48.614Z] 0ac9a79272e3: Pulling fs layer [2021-12-20T11:08:48.614Z] b78e95d17946: Pulling fs layer [2021-12-20T11:08:48.614Z] 72dc09318566: Waiting [2021-12-20T11:08:48.614Z] 7a9cfe048b4a: Waiting [2021-12-20T11:08:48.614Z] 0ac9a79272e3: Waiting [2021-12-20T11:08:48.614Z] b78e95d17946: Waiting [2021-12-20T11:08:48.614Z] 9e70ebbbe112: Download complete [2021-12-20T11:08:48.614Z] ea3f2d53f512: Verifying Checksum [2021-12-20T11:08:48.614Z] ea3f2d53f512: Download complete [2021-12-20T11:08:48.614Z] 72dc09318566: Download complete [2021-12-20T11:08:48.614Z] f4f7b4309257: Verifying Checksum [2021-12-20T11:08:48.614Z] f4f7b4309257: Download complete [2021-12-20T11:08:48.614Z] 552d1f2373af: Verifying Checksum [2021-12-20T11:08:48.614Z] 552d1f2373af: Download complete [2021-12-20T11:08:48.614Z] 0ac9a79272e3: Verifying Checksum [2021-12-20T11:08:48.614Z] 0ac9a79272e3: Download complete [2021-12-20T11:08:49.594Z] 552d1f2373af: Pull complete [2021-12-20T11:08:49.868Z] ea3f2d53f512: Pull complete [2021-12-20T11:08:50.460Z] 9e70ebbbe112: Pull complete [2021-12-20T11:08:50.460Z] b78e95d17946: Verifying Checksum [2021-12-20T11:08:50.460Z] b78e95d17946: Download complete [2021-12-20T11:08:51.055Z] 7a9cfe048b4a: Verifying Checksum [2021-12-20T11:08:51.055Z] 7a9cfe048b4a: Download complete [2021-12-20T11:09:01.198Z] 7a9cfe048b4a: Pull complete [2021-12-20T11:09:01.470Z] 72dc09318566: Pull complete [2021-12-20T11:09:01.742Z] f4f7b4309257: Pull complete [2021-12-20T11:09:02.334Z] 0ac9a79272e3: Pull complete [2021-12-20T11:09:07.726Z] b78e95d17946: Pull complete [2021-12-20T11:09:08.000Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-20T11:09:08.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-20T11:09:08.000Z] ---> 8b459fc5aaf0 [2021-12-20T11:09:08.000Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T11:09:08.981Z] ---> Running in beca315b28fd [2021-12-20T11:09:09.254Z] Removing intermediate container beca315b28fd [2021-12-20T11:09:09.254Z] ---> 38d452f2f89a [2021-12-20T11:09:09.254Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T11:09:09.254Z] ---> Running in e7a30733ce71 [2021-12-20T11:09:09.524Z] Removing intermediate container e7a30733ce71 [2021-12-20T11:09:09.524Z] ---> bb8858656cfe [2021-12-20T11:09:09.524Z] Step 5/11 : WORKDIR /device-virtual-go [2021-12-20T11:09:09.795Z] ---> Running in da5bc9483a63 [2021-12-20T11:09:10.069Z] Removing intermediate container da5bc9483a63 [2021-12-20T11:09:10.069Z] ---> ba096b5f87c8 [2021-12-20T11:09:10.069Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:09:10.069Z] ---> Running in be727a141351 [2021-12-20T11:09:12.041Z] Removing intermediate container be727a141351 [2021-12-20T11:09:12.041Z] ---> bb9783218b3f [2021-12-20T11:09:12.041Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T11:09:12.041Z] ---> Running in 424e240c95d1 [2021-12-20T11:09:13.017Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T11:09:13.992Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T11:09:14.968Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-20T11:09:14.968Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-20T11:09:14.968Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-20T11:09:14.968Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-20T11:09:15.240Z] Executing busybox-1.33.1-r3.trigger [2021-12-20T11:09:15.240Z] OK: 223 MiB in 56 packages [2021-12-20T11:09:16.221Z] Removing intermediate container 424e240c95d1 [2021-12-20T11:09:16.221Z] ---> 2840e6f8fd9f [2021-12-20T11:09:16.221Z] Step 8/11 : COPY . . [2021-12-20T11:09:17.202Z] ---> 44f8ac258c22 [2021-12-20T11:09:17.202Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T11:09:17.202Z] ---> Running in 025c9ae5c24a [2021-12-20T11:10:36.468Z] Running on prd-centos7-docker-4c-2g-1161 in /w/workspace/foundry_device-virtual-go_PR-256 [Pipeline] { [Pipeline] ws [2021-12-20T11:10:36.509Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-12-20T11:10:36.631Z] The recommended git tool is: git [2021-12-20T11:10:38.121Z] using credential edgex-jenkins-ssh [2021-12-20T11:10:38.131Z] Cloning the remote Git repository [2021-12-20T11:10:37.921Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:10:37.957Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-12-20T11:10:37.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:10:37.985Z] > git --version # timeout=10 [2021-12-20T11:10:37.994Z] > git --version # 'git version 2.24.4' [2021-12-20T11:10:37.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:10:38.010Z] [INFO] Currently running in a labeled security context [2021-12-20T11:10:38.010Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T11:10:38.010Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1266910838835798570.key [2021-12-20T11:10:38.034Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T11:10:38.933Z] Removing intermediate container 025c9ae5c24a [2021-12-20T11:10:38.933Z] ---> 820471f81e96 [2021-12-20T11:10:38.933Z] Step 10/11 : ARG MAKE='make build' [2021-12-20T11:10:38.933Z] ---> Running in 1c296f910ceb [2021-12-20T11:10:38.933Z] Removing intermediate container 1c296f910ceb [2021-12-20T11:10:38.933Z] ---> fb8b513bc52f [2021-12-20T11:10:38.933Z] Step 11/11 : RUN $MAKE [2021-12-20T11:10:38.933Z] ---> Running in c74851261fff [2021-12-20T11:10:38.933Z] noop [2021-12-20T11:10:38.933Z] Removing intermediate container c74851261fff [2021-12-20T11:10:38.933Z] ---> 5b8a016fe73c [2021-12-20T11:10:38.933Z] Successfully built 5b8a016fe73c [2021-12-20T11:10:38.933Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:10:39.297Z] + docker inspect -f . ci-base-image-arm64 [2021-12-20T11:10:39.297Z] . [Pipeline] withDockerContainer [2021-12-20T11:10:39.524Z] prd-ubuntu18.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2021-12-20T11:10:39.600Z] $ 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 ******** ci-base-image-arm64 cat [2021-12-20T11:10:39.747Z] Merging remotes/origin/main commit f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 into PR head commit ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:10:39.849Z] Merge succeeded, producing ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:10:39.850Z] Checking out Revision ece373d565f3e7991284bdcf6ddd420279caf7f8 (PR-256) [2021-12-20T11:10:38.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-12-20T11:10:38.987Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-20T11:10:39.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-12-20T11:10:39.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-12-20T11:10:39.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:10:39.020Z] [INFO] Currently running in a labeled security context [2021-12-20T11:10:39.020Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T11:10:39.020Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6162139742011902926.key [2021-12-20T11:10:39.030Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/256/head:refs/remotes/origin/PR-256 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-20T11:10:39.526Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T11:10:39.542Z] > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # timeout=10 [2021-12-20T11:10:39.572Z] > git remote # timeout=10 [2021-12-20T11:10:39.582Z] > git config --get remote.origin.url # timeout=10 [2021-12-20T11:10:39.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-20T11:10:39.593Z] [INFO] Currently running in a labeled security context [2021-12-20T11:10:39.593Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-20T11:10:39.593Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2936811140932641872.key [2021-12-20T11:10:39.599Z] > git merge f0bfb2f2f653f8888f9a3c8e5a8a1c9cd4af2b55 # timeout=10 [2021-12-20T11:10:39.608Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-20T11:10:39.622Z] > git config core.sparsecheckout # timeout=10 [2021-12-20T11:10:39.632Z] > git checkout -f ece373d565f3e7991284bdcf6ddd420279caf7f8 # timeout=10 [2021-12-20T11:10:40.891Z] $ docker top 0df4b1e7c22c13139555bb54c90ab8872b9e82c8be5bfdadaf2eeeed307485c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T11:10:41.796Z] + go version [2021-12-20T11:10:41.796Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-20T11:10:41.830Z] $ docker stop --time=1 0df4b1e7c22c13139555bb54c90ab8872b9e82c8be5bfdadaf2eeeed307485c1 [2021-12-20T11:10:43.328Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-12-20T11:10:43.124Z] > git --version # timeout=10 [2021-12-20T11:10:43.130Z] > git --version # 'git version 2.24.4' [2021-12-20T11:10:43.146Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-20T11:10:43.431Z] $ docker rm -f 0df4b1e7c22c13139555bb54c90ab8872b9e82c8be5bfdadaf2eeeed307485c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T11:10:44.296Z] provisioning config files... [2021-12-20T11:10:44.311Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5615215113971970459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:10:44.456Z] + docker inspect -f . ci-base-image-arm64 [2021-12-20T11:10:44.456Z] . [Pipeline] withDockerContainer [2021-12-20T11:10:44.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2021-12-20T11:10:44.745Z] ---> docker-login.sh [2021-12-20T11:10:44.745Z] nexus3.edgexfoundry.org:10001 [2021-12-20T11:10:44.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:10:44.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:10:44.745Z] Configure a credential helper to remove this warning. See [2021-12-20T11:10:44.747Z] $ 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 ******** ci-base-image-arm64 cat [2021-12-20T11:10:44.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:10:44.745Z] [2021-12-20T11:10:44.745Z] Login Succeeded [2021-12-20T11:10:44.745Z] nexus3.edgexfoundry.org:10002 [2021-12-20T11:10:45.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:10:45.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:10:45.009Z] Configure a credential helper to remove this warning. See [2021-12-20T11:10:45.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:10:45.009Z] [2021-12-20T11:10:45.009Z] Login Succeeded [2021-12-20T11:10:45.009Z] nexus3.edgexfoundry.org:10003 [2021-12-20T11:10:45.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:10:45.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:10:45.009Z] Configure a credential helper to remove this warning. See [2021-12-20T11:10:45.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:10:45.009Z] [2021-12-20T11:10:45.009Z] Login Succeeded [2021-12-20T11:10:45.009Z] nexus3.edgexfoundry.org:10004 [2021-12-20T11:10:45.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:10:45.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:10:45.271Z] Configure a credential helper to remove this warning. See [2021-12-20T11:10:45.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:10:45.271Z] [2021-12-20T11:10:45.271Z] Login Succeeded [2021-12-20T11:10:45.271Z] docker.io [2021-12-20T11:10:45.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-20T11:10:45.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-20T11:10:45.531Z] Configure a credential helper to remove this warning. See [2021-12-20T11:10:45.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-20T11:10:45.531Z] [2021-12-20T11:10:45.531Z] Login Succeeded [2021-12-20T11:10:45.531Z] ---> docker-login.sh ends [2021-12-20T11:10:45.945Z] $ docker top f36e9805ddbae81e526da547fe96150b8bb5a876aa9a3bebfd72a95dfa0551b4 -eo pid,comm [Pipeline] { [Pipeline] } [2021-12-20T11:10:46.253Z] Deleting 1 temporary files [Pipeline] fileExists [Pipeline] // configFileProvider [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-20T11:10:46.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-20T11:10:46.618Z] ========================================================= [2021-12-20T11:10:46.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-20T11:10:46.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:10:46.994Z] + make test [2021-12-20T11:10:46.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-20T11:10:47.042Z] + 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-12-20T11:10:47.042Z] Sending build context to Docker daemon 11.55MB [2021-12-20T11:10:47.042Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T11:10:47.042Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-20T11:10:47.042Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-20T11:10:47.042Z] a0d0a0d46f8b: Pulling fs layer [2021-12-20T11:10:47.042Z] 31adcdaf11c8: Pulling fs layer [2021-12-20T11:10:47.042Z] b8b176561691: Pulling fs layer [2021-12-20T11:10:47.042Z] 4527c011a84f: Pulling fs layer [2021-12-20T11:10:47.042Z] 5d74067f8e1e: Pulling fs layer [2021-12-20T11:10:47.042Z] e0aca202a116: Pulling fs layer [2021-12-20T11:10:47.042Z] 3a43be97a3b4: Pulling fs layer [2021-12-20T11:10:47.042Z] 34cad66bf833: Pulling fs layer [2021-12-20T11:10:47.042Z] b4e3c513aaa6: Pulling fs layer [2021-12-20T11:10:47.042Z] 4527c011a84f: Waiting [2021-12-20T11:10:47.042Z] 5d74067f8e1e: Waiting [2021-12-20T11:10:47.042Z] e0aca202a116: Waiting [2021-12-20T11:10:47.042Z] 3a43be97a3b4: Waiting [2021-12-20T11:10:47.042Z] 34cad66bf833: Waiting [2021-12-20T11:10:47.042Z] b4e3c513aaa6: Waiting [2021-12-20T11:10:47.042Z] b8b176561691: Verifying Checksum [2021-12-20T11:10:47.042Z] b8b176561691: Download complete [2021-12-20T11:10:47.042Z] 31adcdaf11c8: Verifying Checksum [2021-12-20T11:10:47.042Z] 31adcdaf11c8: Download complete [2021-12-20T11:10:47.306Z] 5d74067f8e1e: Verifying Checksum [2021-12-20T11:10:47.306Z] 5d74067f8e1e: Download complete [2021-12-20T11:10:47.306Z] e0aca202a116: Verifying Checksum [2021-12-20T11:10:47.306Z] e0aca202a116: Download complete [2021-12-20T11:10:47.306Z] 3a43be97a3b4: Verifying Checksum [2021-12-20T11:10:47.306Z] 3a43be97a3b4: Download complete [2021-12-20T11:10:47.306Z] a0d0a0d46f8b: Verifying Checksum [2021-12-20T11:10:47.306Z] 34cad66bf833: Verifying Checksum [2021-12-20T11:10:47.306Z] 34cad66bf833: Download complete [2021-12-20T11:10:47.587Z] a0d0a0d46f8b: Pull complete [2021-12-20T11:10:47.863Z] 4527c011a84f: Verifying Checksum [2021-12-20T11:10:47.863Z] 4527c011a84f: Download complete [2021-12-20T11:10:47.863Z] b4e3c513aaa6: Verifying Checksum [2021-12-20T11:10:47.863Z] b4e3c513aaa6: Download complete [2021-12-20T11:10:47.863Z] 31adcdaf11c8: Pull complete [2021-12-20T11:10:47.863Z] b8b176561691: Pull complete [2021-12-20T11:10:48.430Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-12-20T11:10:52.098Z] 4527c011a84f: Pull complete [2021-12-20T11:10:52.098Z] 5d74067f8e1e: Pull complete [2021-12-20T11:10:52.098Z] e0aca202a116: Pull complete [2021-12-20T11:10:52.098Z] 3a43be97a3b4: Pull complete [2021-12-20T11:10:52.098Z] 34cad66bf833: Pull complete [2021-12-20T11:10:54.658Z] b4e3c513aaa6: Pull complete [2021-12-20T11:10:54.658Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-20T11:10:54.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-20T11:10:54.658Z] ---> 9f6097aaca64 [2021-12-20T11:10:54.659Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T11:10:57.975Z] ---> Running in 7ca6cf5eb0b7 [2021-12-20T11:10:57.975Z] Removing intermediate container 7ca6cf5eb0b7 [2021-12-20T11:10:57.975Z] ---> 1eaf79a32e8d [2021-12-20T11:10:57.975Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T11:10:57.975Z] ---> Running in f2ece1a0c4f5 [2021-12-20T11:10:57.975Z] Removing intermediate container f2ece1a0c4f5 [2021-12-20T11:10:57.975Z] ---> b05ec0712d2f [2021-12-20T11:10:57.975Z] Step 5/11 : WORKDIR /device-virtual-go [2021-12-20T11:10:57.975Z] ---> Running in 5be4f6d1698a [2021-12-20T11:10:58.238Z] Removing intermediate container 5be4f6d1698a [2021-12-20T11:10:58.238Z] ---> 84552c136df9 [2021-12-20T11:10:58.238Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:10:58.238Z] ---> Running in 63933932dd60 [2021-12-20T11:10:58.807Z] Removing intermediate container 63933932dd60 [2021-12-20T11:10:58.807Z] ---> 6f84b41f2053 [2021-12-20T11:10:58.807Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T11:10:58.807Z] ---> Running in 1c21bfe9b7cd [2021-12-20T11:10:58.807Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T11:10:59.751Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T11:11:00.012Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-20T11:11:00.012Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-20T11:11:00.274Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-20T11:11:00.274Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-20T11:11:00.274Z] Executing busybox-1.33.1-r3.trigger [2021-12-20T11:11:00.274Z] OK: 224 MiB in 56 packages [2021-12-20T11:11:00.537Z] Removing intermediate container 1c21bfe9b7cd [2021-12-20T11:11:00.537Z] ---> 0e4d484fe90f [2021-12-20T11:11:00.537Z] Step 8/11 : COPY . . [2021-12-20T11:11:01.109Z] ---> eb155ff23e0d [2021-12-20T11:11:01.109Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T11:11:01.109Z] ---> Running in 4704e868517a [2021-12-20T11:11:33.308Z] Removing intermediate container 4704e868517a [2021-12-20T11:11:33.308Z] ---> 5e188588c04d [2021-12-20T11:11:33.308Z] Step 10/11 : ARG MAKE='make build' [2021-12-20T11:11:33.308Z] ---> Running in d5b599e71433 [2021-12-20T11:11:33.308Z] Removing intermediate container d5b599e71433 [2021-12-20T11:11:33.308Z] ---> 4feec305d795 [2021-12-20T11:11:33.308Z] Step 11/11 : RUN $MAKE [2021-12-20T11:11:33.308Z] ---> Running in 91dbda10858f [2021-12-20T11:11:33.308Z] noop [2021-12-20T11:11:33.308Z] Removing intermediate container 91dbda10858f [2021-12-20T11:11:33.308Z] ---> 9c9bea4b28aa [2021-12-20T11:11:33.308Z] Successfully built 9c9bea4b28aa [2021-12-20T11:11:33.308Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:11:33.639Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-20T11:11:33.640Z] . [Pipeline] withDockerContainer [2021-12-20T11:11:33.733Z] prd-centos7-docker-4c-2g-1161 does not seem to be running inside a container [2021-12-20T11:11:33.773Z] $ 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 ******** ci-base-image-x86_64 cat [2021-12-20T11:11:34.126Z] $ docker top 4fb961d0a7194a4535405b2fe7f0ebf6446fbeddabdf054a264ebe8015630f9f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T11:11:34.534Z] + go version [2021-12-20T11:11:34.534Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-20T11:11:34.564Z] $ docker stop --time=1 4fb961d0a7194a4535405b2fe7f0ebf6446fbeddabdf054a264ebe8015630f9f [2021-12-20T11:11:35.752Z] $ docker rm -f 4fb961d0a7194a4535405b2fe7f0ebf6446fbeddabdf054a264ebe8015630f9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:11:36.521Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-20T11:11:36.521Z] . [Pipeline] withDockerContainer [2021-12-20T11:11:36.602Z] prd-centos7-docker-4c-2g-1161 does not seem to be running inside a container [2021-12-20T11:11:36.638Z] $ 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 ******** ci-base-image-x86_64 cat [2021-12-20T11:11:36.996Z] $ docker top cf96cbbeb604c81acdee9e3a8f20a2ce27a67e37166784202fa81d5f009b4ba4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-20T11:11:37.462Z] + make test [2021-12-20T11:11:37.462Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-20T11:11:37.724Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-12-20T11:11:55.908Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-12-20T11:11:56.448Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-12-20T11:11:56.448Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.761s coverage: 64.6% of statements [2021-12-20T11:11:56.448Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-20T11:11:56.864Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.262s coverage: 64.6% of statements [2021-12-20T11:11:56.864Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-20T11:12:05.046Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-20T11:12:05.046Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-20T11:12:05.046Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-20T11:12:05.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-20T11:12:05.110Z] $ docker stop --time=1 cf96cbbeb604c81acdee9e3a8f20a2ce27a67e37166784202fa81d5f009b4ba4 [2021-12-20T11:12:06.558Z] $ docker rm -f cf96cbbeb604c81acdee9e3a8f20a2ce27a67e37166784202fa81d5f009b4ba4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T11:12:07.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-20T11:12:07.210Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-20T11:12:08.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-20T11:12:08.970Z] + ls -al . [2021-12-20T11:12:08.970Z] total 176 [2021-12-20T11:12:08.970Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 20 11:12 . [2021-12-20T11:12:08.970Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 20 11:10 .. [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 8449 Dec 20 11:10 Attribution.txt [2021-12-20T11:12:08.970Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 20 11:10 bin [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 6349 Dec 20 11:10 CHANGELOG.md [2021-12-20T11:12:08.970Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 20 11:10 cmd [2021-12-20T11:12:08.970Z] -rw-r--r--. 1 jenkins jenkins 46339 Dec 20 11:11 coverage.out [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 1951 Dec 20 11:10 Dockerfile [2021-12-20T11:12:08.970Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 20 11:10 .git [2021-12-20T11:12:08.970Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 20 11:10 .github [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 270 Dec 20 11:10 .gitignore [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 350 Dec 20 11:10 go.mod [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 52534 Dec 20 11:10 go.sum [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 20 11:10 GOVERNANCE.md [2021-12-20T11:12:08.970Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 20 11:10 internal [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 660 Dec 20 11:10 Jenkinsfile [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 20 11:10 LICENSE [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 1157 Dec 20 11:10 Makefile [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 623 Dec 20 11:10 OWNERS.md [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 2914 Dec 20 11:10 README.md [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 20 11:08 VERSION [2021-12-20T11:12:08.970Z] -rw-rw-r--. 1 jenkins jenkins 235 Dec 20 11:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:12:09.303Z] + 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=ece373d565f3e7991284bdcf6ddd420279caf7f8 --label arch=amd64 --label version=0.0.0 . [2021-12-20T11:12:09.303Z] Sending build context to Docker daemon 11.6MB [2021-12-20T11:12:09.303Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T11:12:09.303Z] Step 2/25 : FROM ${BASE} AS builder [2021-12-20T11:12:09.303Z] ---> 9c9bea4b28aa [2021-12-20T11:12:09.303Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T11:12:09.572Z] ---> Running in 8e593abc4d8a [2021-12-20T11:12:09.572Z] Removing intermediate container 8e593abc4d8a [2021-12-20T11:12:09.572Z] ---> fb8b55de2f6e [2021-12-20T11:12:09.572Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T11:12:09.572Z] ---> Running in 30d07f7a92f7 [2021-12-20T11:12:09.572Z] Removing intermediate container 30d07f7a92f7 [2021-12-20T11:12:09.572Z] ---> d79099661eb4 [2021-12-20T11:12:09.572Z] Step 5/25 : WORKDIR /device-virtual-go [2021-12-20T11:12:09.572Z] ---> Running in f3cc6689d840 [2021-12-20T11:12:09.839Z] Removing intermediate container f3cc6689d840 [2021-12-20T11:12:09.839Z] ---> 640c927ee728 [2021-12-20T11:12:09.839Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:12:09.839Z] ---> Running in e660a797079d [2021-12-20T11:12:10.424Z] Removing intermediate container e660a797079d [2021-12-20T11:12:10.424Z] ---> 160307bdc15a [2021-12-20T11:12:10.424Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T11:12:10.424Z] ---> Running in 71428d783cbd [2021-12-20T11:12:10.686Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T11:12:11.631Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T11:12:11.892Z] OK: 224 MiB in 56 packages [2021-12-20T11:12:11.892Z] Removing intermediate container 71428d783cbd [2021-12-20T11:12:11.892Z] ---> d21e393a1681 [2021-12-20T11:12:11.892Z] Step 8/25 : COPY . . [2021-12-20T11:12:12.462Z] ---> cbb0610aead8 [2021-12-20T11:12:12.462Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T11:12:12.462Z] ---> Running in 03e67995ee1f [2021-12-20T11:12:13.034Z] Removing intermediate container 03e67995ee1f [2021-12-20T11:12:13.034Z] ---> d34793b6a5c0 [2021-12-20T11:12:13.034Z] Step 10/25 : ARG MAKE='make build' [2021-12-20T11:12:13.034Z] ---> Running in 353f12aa0e50 [2021-12-20T11:12:13.034Z] Removing intermediate container 353f12aa0e50 [2021-12-20T11:12:13.034Z] ---> 46dcee503cc4 [2021-12-20T11:12:13.034Z] Step 11/25 : RUN $MAKE [2021-12-20T11:12:13.034Z] ---> Running in 365bcadbab1c [2021-12-20T11:12:13.302Z] 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-12-20T11:12:23.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-20T11:12:23.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-20T11:12:23.244Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-20T11:12:23.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-20T11:12:23.315Z] $ docker stop --time=1 f36e9805ddbae81e526da547fe96150b8bb5a876aa9a3bebfd72a95dfa0551b4 [2021-12-20T11:12:25.071Z] $ docker rm -f f36e9805ddbae81e526da547fe96150b8bb5a876aa9a3bebfd72a95dfa0551b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-20T11:12:25.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-20T11:12:26.001Z] Warning: overwriting stash ‘coverage-report’ [2021-12-20T11:12:26.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-20T11:12:27.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-20T11:12:27.670Z] + ls -al . [2021-12-20T11:12:27.670Z] total 200 [2021-12-20T11:12:27.670Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 20 11:12 . [2021-12-20T11:12:27.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 11:08 .. [2021-12-20T11:12:27.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 11:08 .git [2021-12-20T11:12:27.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 11:08 .github [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 270 Dec 20 11:08 .gitignore [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 8449 Dec 20 11:08 Attribution.txt [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 6349 Dec 20 11:08 CHANGELOG.md [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 1951 Dec 20 11:08 Dockerfile [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 11:08 GOVERNANCE.md [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 20 11:08 Jenkinsfile [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 20 11:08 LICENSE [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 1157 Dec 20 11:08 Makefile [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 623 Dec 20 11:08 OWNERS.md [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 2914 Dec 20 11:08 README.md [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 11:08 VERSION [2021-12-20T11:12:27.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 11:08 bin [2021-12-20T11:12:27.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 11:08 cmd [2021-12-20T11:12:27.670Z] -rw-r--r-- 1 jenkins jenkins 46339 Dec 20 11:11 coverage.out [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 350 Dec 20 11:08 go.mod [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 52534 Dec 20 11:08 go.sum [2021-12-20T11:12:27.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 11:08 internal [2021-12-20T11:12:27.670Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 20 11:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:12:28.034Z] + 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=ece373d565f3e7991284bdcf6ddd420279caf7f8 --label arch=arm64 --label version=0.0.0 . [2021-12-20T11:12:28.303Z] Sending build context to Docker daemon 11.6MB [2021-12-20T11:12:28.303Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-12-20T11:12:28.303Z] Step 2/25 : FROM ${BASE} AS builder [2021-12-20T11:12:28.303Z] ---> 5b8a016fe73c [2021-12-20T11:12:28.303Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-20T11:12:28.577Z] ---> Running in be5580be40af [2021-12-20T11:12:28.848Z] Removing intermediate container be5580be40af [2021-12-20T11:12:28.848Z] ---> 809b4bece82b [2021-12-20T11:12:28.848Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-12-20T11:12:29.119Z] ---> Running in 6e3e72826226 [2021-12-20T11:12:29.390Z] Removing intermediate container 6e3e72826226 [2021-12-20T11:12:29.390Z] ---> 84e1584d2a4e [2021-12-20T11:12:29.390Z] Step 5/25 : WORKDIR /device-virtual-go [2021-12-20T11:12:29.390Z] ---> Running in 20a42eb642bd [2021-12-20T11:12:29.663Z] Removing intermediate container 20a42eb642bd [2021-12-20T11:12:29.663Z] ---> c385ea6ffe32 [2021-12-20T11:12:29.663Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:12:29.943Z] ---> Running in b10247de8094 [2021-12-20T11:12:31.375Z] Removing intermediate container b10247de8094 [2021-12-20T11:12:31.375Z] ---> f07c9890def9 [2021-12-20T11:12:31.375Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-20T11:12:31.501Z] Removing intermediate container 365bcadbab1c [2021-12-20T11:12:31.501Z] ---> 0805a5bf1dd6 [2021-12-20T11:12:31.501Z] Step 12/25 : FROM alpine:3.14 [2021-12-20T11:12:31.501Z] 3.14: Pulling from library/alpine [2021-12-20T11:12:31.501Z] 97518928ae5f: Pulling fs layer [2021-12-20T11:12:31.501Z] 97518928ae5f: Verifying Checksum [2021-12-20T11:12:31.501Z] 97518928ae5f: Download complete [2021-12-20T11:12:31.501Z] 97518928ae5f: Pull complete [2021-12-20T11:12:31.501Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-20T11:12:31.501Z] Status: Downloaded newer image for alpine:3.14 [2021-12-20T11:12:31.501Z] ---> 0a97eee8041e [2021-12-20T11:12:31.501Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-12-20T11:12:31.501Z] ---> Running in 661cb581d219 [2021-12-20T11:12:31.501Z] Removing intermediate container 661cb581d219 [2021-12-20T11:12:31.501Z] ---> a44d4c2217f9 [2021-12-20T11:12:31.501Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:12:31.501Z] ---> Running in c091de5ee716 [2021-12-20T11:12:31.645Z] ---> Running in 82f22de5b293 [2021-12-20T11:12:31.765Z] Removing intermediate container c091de5ee716 [2021-12-20T11:12:31.765Z] ---> efd781b9b808 [2021-12-20T11:12:31.765Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-20T11:12:31.765Z] ---> Running in c11f7d207ba4 [2021-12-20T11:12:32.026Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-20T11:12:32.654Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T11:12:32.967Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-20T11:12:33.228Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-20T11:12:33.228Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-20T11:12:33.228Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-20T11:12:33.244Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T11:12:33.490Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-20T11:12:33.490Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-20T11:12:33.490Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-20T11:12:33.755Z] Executing busybox-1.33.1-r6.trigger [2021-12-20T11:12:33.755Z] OK: 8 MiB in 20 packages [2021-12-20T11:12:34.015Z] Removing intermediate container c11f7d207ba4 [2021-12-20T11:12:34.015Z] ---> 68a7640bb0fd [2021-12-20T11:12:34.015Z] Step 16/25 : WORKDIR / [2021-12-20T11:12:34.015Z] ---> Running in 783af8df649b [2021-12-20T11:12:34.218Z] OK: 223 MiB in 56 packages [2021-12-20T11:12:34.277Z] Removing intermediate container 783af8df649b [2021-12-20T11:12:34.277Z] ---> 0b86e28b2a98 [2021-12-20T11:12:34.277Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-12-20T11:12:34.277Z] ---> e2f7c087bab0 [2021-12-20T11:12:34.277Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-12-20T11:12:34.540Z] ---> 68a1e6e76081 [2021-12-20T11:12:34.540Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-12-20T11:12:34.809Z] Removing intermediate container 82f22de5b293 [2021-12-20T11:12:34.809Z] ---> 496a1269cb56 [2021-12-20T11:12:34.809Z] Step 8/25 : COPY . . [2021-12-20T11:12:35.112Z] ---> 4cfe9991a71c [2021-12-20T11:12:35.112Z] Step 20/25 : EXPOSE 59900 [2021-12-20T11:12:35.112Z] ---> Running in e2c8363c8e91 [2021-12-20T11:12:35.112Z] Removing intermediate container e2c8363c8e91 [2021-12-20T11:12:35.112Z] ---> 14f96928fd5b [2021-12-20T11:12:35.112Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-12-20T11:12:35.112Z] ---> Running in 1197f47ad10e [2021-12-20T11:12:35.112Z] Removing intermediate container 1197f47ad10e [2021-12-20T11:12:35.112Z] ---> 3e0b115b7ac3 [2021-12-20T11:12:35.112Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-20T11:12:35.377Z] ---> Running in c5928ed7c0bf [2021-12-20T11:12:35.377Z] Removing intermediate container c5928ed7c0bf [2021-12-20T11:12:35.377Z] ---> 37e33f112549 [2021-12-20T11:12:35.377Z] Step 23/25 : LABEL arch=amd64 [2021-12-20T11:12:35.377Z] ---> Running in 6550d5fa9a49 [2021-12-20T11:12:35.377Z] Removing intermediate container 6550d5fa9a49 [2021-12-20T11:12:35.377Z] ---> b001fab9bd6d [2021-12-20T11:12:35.377Z] Step 24/25 : LABEL git_sha=ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:12:35.377Z] ---> Running in 1aaa196236e9 [2021-12-20T11:12:35.639Z] Removing intermediate container 1aaa196236e9 [2021-12-20T11:12:35.639Z] ---> b1c50c613f44 [2021-12-20T11:12:35.639Z] Step 25/25 : LABEL version=0.0.0 [2021-12-20T11:12:35.639Z] ---> Running in 71dd638c681b [2021-12-20T11:12:35.639Z] Removing intermediate container 71dd638c681b [2021-12-20T11:12:35.639Z] ---> 60734d87eb00 [2021-12-20T11:12:35.639Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-20T11:12:35.639Z] Successfully built 60734d87eb00 [2021-12-20T11:12:35.639Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:12:36.229Z] ---> 8e5fbf6494dc [2021-12-20T11:12:36.230Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-20T11:12:36.230Z] ---> Running in 418222646e19 [2021-12-20T11:12:36.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:12:36.524Z] [2021-12-20T11:12:36.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:12:36.863Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:12:36.863Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-20T11:12:36.863Z] b4d181a07f80: Pulling fs layer [2021-12-20T11:12:36.863Z] a1111a8f2ec3: Pulling fs layer [2021-12-20T11:12:36.863Z] ed53099fbce6: Pulling fs layer [2021-12-20T11:12:36.863Z] dc539afda2c1: Pulling fs layer [2021-12-20T11:12:36.863Z] 77bc0d833cb6: Pulling fs layer [2021-12-20T11:12:36.863Z] 9065ff56babe: Pulling fs layer [2021-12-20T11:12:36.863Z] d287ab97295c: Pulling fs layer [2021-12-20T11:12:36.863Z] dc539afda2c1: Waiting [2021-12-20T11:12:36.863Z] 77bc0d833cb6: Waiting [2021-12-20T11:12:36.863Z] 9065ff56babe: Waiting [2021-12-20T11:12:36.863Z] d287ab97295c: Waiting [2021-12-20T11:12:36.863Z] a1111a8f2ec3: Verifying Checksum [2021-12-20T11:12:36.863Z] a1111a8f2ec3: Download complete [2021-12-20T11:12:36.863Z] dc539afda2c1: Verifying Checksum [2021-12-20T11:12:36.863Z] dc539afda2c1: Download complete [2021-12-20T11:12:36.863Z] ed53099fbce6: Verifying Checksum [2021-12-20T11:12:36.863Z] ed53099fbce6: Download complete [2021-12-20T11:12:37.129Z] 9065ff56babe: Verifying Checksum [2021-12-20T11:12:37.129Z] 9065ff56babe: Download complete [2021-12-20T11:12:37.129Z] 77bc0d833cb6: Verifying Checksum [2021-12-20T11:12:37.129Z] 77bc0d833cb6: Download complete [2021-12-20T11:12:37.129Z] b4d181a07f80: Verifying Checksum [2021-12-20T11:12:37.129Z] b4d181a07f80: Download complete [2021-12-20T11:12:37.718Z] d287ab97295c: Verifying Checksum [2021-12-20T11:12:37.718Z] d287ab97295c: Download complete [2021-12-20T11:12:38.194Z] Removing intermediate container 418222646e19 [2021-12-20T11:12:38.194Z] ---> 2f7e7649f5c2 [2021-12-20T11:12:38.194Z] Step 10/25 : ARG MAKE='make build' [2021-12-20T11:12:38.194Z] ---> Running in 732b6cb0cf2f [2021-12-20T11:12:38.466Z] Removing intermediate container 732b6cb0cf2f [2021-12-20T11:12:38.466Z] ---> c546fd668c4f [2021-12-20T11:12:38.466Z] Step 11/25 : RUN $MAKE [2021-12-20T11:12:38.659Z] b4d181a07f80: Pull complete [2021-12-20T11:12:38.659Z] a1111a8f2ec3: Pull complete [2021-12-20T11:12:38.739Z] ---> Running in e99b05030ac3 [2021-12-20T11:12:39.240Z] ed53099fbce6: Pull complete [2021-12-20T11:12:39.240Z] dc539afda2c1: Pull complete [2021-12-20T11:12:39.505Z] 77bc0d833cb6: Pull complete [2021-12-20T11:12:39.720Z] 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-12-20T11:12:39.768Z] 9065ff56babe: Pull complete [2021-12-20T11:12:45.110Z] d287ab97295c: Pull complete [2021-12-20T11:12:45.110Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-20T11:12:45.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:12:45.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-20T11:12:45.202Z] prd-centos7-docker-4c-2g-1161 does not seem to be running inside a container [2021-12-20T11:12:45.244Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-20T11:12:47.712Z] $ docker top 889390f2f5392663fcb6f69251082a03a99f61610d1677fb81e906dd00775d88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:12:48.222Z] ---> job-cost.sh [2021-12-20T11:12:48.223Z] lf-activate-venv: SKIPPING [2021-12-20T11:12:48.223Z] INFO: No Stack... [2021-12-20T11:12:48.483Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-20T11:12:48.745Z] INFO: Archiving Costs [Pipeline] sh [2021-12-20T11:12:49.063Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-12-20T11:12:49.063Z] + cut -d, -f6 [Pipeline] lock [2021-12-20T11:12:49.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [2021-12-20T11:12:49.123Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] did not exist. Created. [2021-12-20T11:12:49.123Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-20T11:12:49.501Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-20T11:12:49.546Z] Stashed 1 file(s) [Pipeline] } [2021-12-20T11:12:49.570Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-20T11:12:49.628Z] $ docker stop --time=1 889390f2f5392663fcb6f69251082a03a99f61610d1677fb81e906dd00775d88 [2021-12-20T11:12:50.772Z] $ docker rm -f 889390f2f5392663fcb6f69251082a03a99f61610d1677fb81e906dd00775d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-20T11:13:36.236Z] Removing intermediate container e99b05030ac3 [2021-12-20T11:13:36.236Z] ---> 0644fba12fe6 [2021-12-20T11:13:36.236Z] Step 12/25 : FROM alpine:3.14 [2021-12-20T11:13:36.236Z] 3.14: Pulling from library/alpine [2021-12-20T11:13:36.236Z] be307f383ecc: Pulling fs layer [2021-12-20T11:13:36.236Z] be307f383ecc: Verifying Checksum [2021-12-20T11:13:36.236Z] be307f383ecc: Download complete [2021-12-20T11:13:36.236Z] be307f383ecc: Pull complete [2021-12-20T11:13:36.236Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-20T11:13:36.236Z] Status: Downloaded newer image for alpine:3.14 [2021-12-20T11:13:36.236Z] ---> 5b8b7b635229 [2021-12-20T11:13:36.236Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-12-20T11:13:36.236Z] ---> Running in eeab887cfa49 [2021-12-20T11:13:36.236Z] Removing intermediate container eeab887cfa49 [2021-12-20T11:13:36.236Z] ---> 7174b19bbb13 [2021-12-20T11:13:36.236Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-20T11:13:36.236Z] ---> Running in e9b0315ec4e3 [2021-12-20T11:13:36.236Z] Removing intermediate container e9b0315ec4e3 [2021-12-20T11:13:36.236Z] ---> 6f3fe943e531 [2021-12-20T11:13:36.236Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-20T11:13:36.236Z] ---> Running in 1b85d7a8327e [2021-12-20T11:13:36.236Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-20T11:13:36.236Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-20T11:13:36.236Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-20T11:13:36.236Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-20T11:13:36.236Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-20T11:13:36.236Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-20T11:13:36.236Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-20T11:13:36.236Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-20T11:13:36.236Z] Executing busybox-1.33.1-r6.trigger [2021-12-20T11:13:36.236Z] OK: 8 MiB in 20 packages [2021-12-20T11:13:36.236Z] Removing intermediate container 1b85d7a8327e [2021-12-20T11:13:36.236Z] ---> e8d6e28642ef [2021-12-20T11:13:36.236Z] Step 16/25 : WORKDIR / [2021-12-20T11:13:36.236Z] ---> Running in 8e770885aac3 [2021-12-20T11:13:36.505Z] Removing intermediate container 8e770885aac3 [2021-12-20T11:13:36.505Z] ---> a3caf5e5bd75 [2021-12-20T11:13:36.505Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-12-20T11:13:37.095Z] ---> ba9c722cddbb [2021-12-20T11:13:37.095Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-12-20T11:13:37.689Z] ---> a485f6cb97d0 [2021-12-20T11:13:37.689Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-12-20T11:13:38.667Z] ---> 7e626136526c [2021-12-20T11:13:38.667Z] Step 20/25 : EXPOSE 59900 [2021-12-20T11:13:38.667Z] ---> Running in a44e35b0ebbf [2021-12-20T11:13:38.940Z] Removing intermediate container a44e35b0ebbf [2021-12-20T11:13:38.940Z] ---> a33b9102c0ee [2021-12-20T11:13:38.940Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-12-20T11:13:39.211Z] ---> Running in 9bbddd277596 [2021-12-20T11:13:39.484Z] Removing intermediate container 9bbddd277596 [2021-12-20T11:13:39.484Z] ---> a4f036f7dc30 [2021-12-20T11:13:39.484Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-20T11:13:39.484Z] ---> Running in 04107c254900 [2021-12-20T11:13:40.079Z] Removing intermediate container 04107c254900 [2021-12-20T11:13:40.079Z] ---> bd84932dbe8a [2021-12-20T11:13:40.079Z] Step 23/25 : LABEL arch=arm64 [2021-12-20T11:13:40.079Z] ---> Running in df33dc750cad [2021-12-20T11:13:40.349Z] Removing intermediate container df33dc750cad [2021-12-20T11:13:40.349Z] ---> cf725355daee [2021-12-20T11:13:40.349Z] Step 24/25 : LABEL git_sha=ece373d565f3e7991284bdcf6ddd420279caf7f8 [2021-12-20T11:13:40.349Z] ---> Running in 8321863b74f6 [2021-12-20T11:13:40.622Z] Removing intermediate container 8321863b74f6 [2021-12-20T11:13:40.622Z] ---> 96ec33906d0e [2021-12-20T11:13:40.622Z] Step 25/25 : LABEL version=0.0.0 [2021-12-20T11:13:40.898Z] ---> Running in 01473eeb3393 [2021-12-20T11:13:41.170Z] Removing intermediate container 01473eeb3393 [2021-12-20T11:13:41.170Z] ---> cb4f29083347 [2021-12-20T11:13:41.170Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-20T11:13:41.170Z] Successfully built cb4f29083347 [2021-12-20T11:13:41.170Z] 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-12-20T11:13:43.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T11:13:43.513Z] [2021-12-20T11:13:43.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:13:43.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T11:13:43.872Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-20T11:13:43.872Z] 448f6bf000e3: Pulling fs layer [2021-12-20T11:13:43.872Z] f757da607395: Pulling fs layer [2021-12-20T11:13:43.872Z] 05883995daec: Pulling fs layer [2021-12-20T11:13:43.872Z] 8603b9c90790: Pulling fs layer [2021-12-20T11:13:43.872Z] 1560dd03e051: Pulling fs layer [2021-12-20T11:13:43.872Z] 8603b9c90790: Waiting [2021-12-20T11:13:43.872Z] 1560dd03e051: Waiting [2021-12-20T11:13:43.872Z] 27f5ce0e4adf: Pulling fs layer [2021-12-20T11:13:43.872Z] c2d8d7efcc4b: Pulling fs layer [2021-12-20T11:13:43.872Z] c2d8d7efcc4b: Waiting [2021-12-20T11:13:43.872Z] 27f5ce0e4adf: Waiting [2021-12-20T11:13:44.145Z] f757da607395: Verifying Checksum [2021-12-20T11:13:44.145Z] f757da607395: Download complete [2021-12-20T11:13:44.145Z] 8603b9c90790: Verifying Checksum [2021-12-20T11:13:44.145Z] 8603b9c90790: Download complete [2021-12-20T11:13:44.145Z] 1560dd03e051: Verifying Checksum [2021-12-20T11:13:44.145Z] 1560dd03e051: Download complete [2021-12-20T11:13:44.145Z] 05883995daec: Verifying Checksum [2021-12-20T11:13:44.145Z] 05883995daec: Download complete [2021-12-20T11:13:44.145Z] 27f5ce0e4adf: Verifying Checksum [2021-12-20T11:13:44.145Z] 27f5ce0e4adf: Download complete [2021-12-20T11:13:44.415Z] 448f6bf000e3: Verifying Checksum [2021-12-20T11:13:44.415Z] 448f6bf000e3: Download complete [2021-12-20T11:13:47.028Z] c2d8d7efcc4b: Verifying Checksum [2021-12-20T11:13:47.028Z] c2d8d7efcc4b: Download complete [2021-12-20T11:13:48.005Z] 448f6bf000e3: Pull complete [2021-12-20T11:13:48.278Z] f757da607395: Pull complete [2021-12-20T11:13:49.712Z] 05883995daec: Pull complete [2021-12-20T11:13:49.985Z] 8603b9c90790: Pull complete [2021-12-20T11:13:50.956Z] 1560dd03e051: Pull complete [2021-12-20T11:13:50.956Z] 27f5ce0e4adf: Pull complete [2021-12-20T11:14:06.084Z] c2d8d7efcc4b: Pull complete [2021-12-20T11:14:06.084Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-20T11:14:06.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-20T11:14:06.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-20T11:14:06.298Z] prd-ubuntu18.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2021-12-20T11:14:06.376Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-20T11:14:09.084Z] $ docker top c3663242e5859cf1880eb732227e563114adb64e6b32496c01981567b7ee8e3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:10.049Z] ---> job-cost.sh [2021-12-20T11:14:10.050Z] lf-activate-venv: SKIPPING [2021-12-20T11:14:10.050Z] INFO: No Stack... [2021-12-20T11:14:10.322Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-20T11:14:10.916Z] INFO: Archiving Costs [Pipeline] sh [2021-12-20T11:14:11.611Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-12-20T11:14:11.611Z] + cut -d, -f6 [Pipeline] lock [2021-12-20T11:14:11.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [2021-12-20T11:14:11.667Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] did not exist. Created. [2021-12-20T11:14:11.667Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-20T11:14:12.397Z] /w/workspace/device-virtual-go/1@tmp/durable-657ab377/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-657ab377/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-20T11:14:13.091Z] + echo total: 1.100000023841858 [Pipeline] stash [2021-12-20T11:14:13.126Z] Warning: overwriting stash ‘stack-cost’ [2021-12-20T11:14:13.166Z] Stashed 1 file(s) [Pipeline] } [2021-12-20T11:14:13.181Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-256-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-20T11:14:13.246Z] $ docker stop --time=1 c3663242e5859cf1880eb732227e563114adb64e6b32496c01981567b7ee8e3a [2021-12-20T11:14:14.750Z] $ docker rm -f c3663242e5859cf1880eb732227e563114adb64e6b32496c01981567b7ee8e3a [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-12-20T11:14:15.856Z] provisioning config files... [2021-12-20T11:14:15.864Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-256@tmp/config4643803223902834863tmp [Pipeline] { [Pipeline] sh [2021-12-20T11:14:16.214Z] + set +x [2021-12-20T11:14:16.214Z] + bash -s -- [2021-12-20T11:14:16.214Z] + curl -s https://codecov.io/bash [2021-12-20T11:14:16.214Z] [2021-12-20T11:14:16.214Z] _____ _ [2021-12-20T11:14:16.214Z] / ____| | | [2021-12-20T11:14:16.214Z] | | ___ __| | ___ ___ _____ __ [2021-12-20T11:14:16.214Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-20T11:14:16.214Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-20T11:14:16.214Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-20T11:14:16.214Z] Bash-1.0.6 [2021-12-20T11:14:16.214Z] [2021-12-20T11:14:16.214Z] [2021-12-20T11:14:16.214Z] ==> git version 2.24.4 found [2021-12-20T11:14:16.214Z] ==> 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-12-20T11:14:16.214Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-20T11:14:16.214Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-20T11:14:16.214Z] ==> Jenkins CI detected. [2021-12-20T11:14:16.214Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-256 [2021-12-20T11:14:16.214Z] project root: . [2021-12-20T11:14:16.214Z] --> token set from env [2021-12-20T11:14:16.214Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-20T11:14:16.479Z] ==> Running gcov in . (disable via -X gcov) [2021-12-20T11:14:16.479Z] ==> Python coveragepy not found [2021-12-20T11:14:16.479Z] ==> Searching for coverage reports in: [2021-12-20T11:14:16.479Z] + . [2021-12-20T11:14:16.479Z] -> Found 1 reports [2021-12-20T11:14:16.479Z] ==> Detecting git/mercurial file structure [2021-12-20T11:14:16.479Z] ==> Reading reports [2021-12-20T11:14:16.479Z] + ./coverage.out bytes=46339 [2021-12-20T11:14:16.479Z] ==> Appending adjustments [2021-12-20T11:14:16.479Z] https://docs.codecov.io/docs/fixing-reports [2021-12-20T11:14:16.479Z] + Found adjustments [2021-12-20T11:14:16.479Z] ==> Gzipping contents [2021-12-20T11:14:16.479Z] 8.0K /tmp/codecov.AcgdvK.gz [2021-12-20T11:14:16.479Z] ==> Uploading reports [2021-12-20T11:14:16.479Z] url: https://codecov.io [2021-12-20T11:14:16.479Z] query: branch=PR-256&commit=ece373d565f3e7991284bdcf6ddd420279caf7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2021-12-20T11:14:16.479Z] -> Pinging Codecov [2021-12-20T11:14:16.479Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-256&commit=ece373d565f3e7991284bdcf6ddd420279caf7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-256%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=256&job=&cmd_args= [2021-12-20T11:14:16.740Z] -> Uploading to [2021-12-20T11:14:16.740Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-20/5E52B4B073DB2E39498172D8E973AA87/ece373d565f3e7991284bdcf6ddd420279caf7f8/4fa4bea0-435a-4752-a3f0-3d5adf3e251a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211220T111416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d3646b017f6fedd9501e26e25c32087c6903dd76c82c59de1fa156a1d7e9514 [2021-12-20T11:14:17.009Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-20T11:14:17.009Z] Dload Upload Total Spent Left Speed [2021-12-20T11:14:17.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5508 0 0 100 5508 0 19097 --:--:-- --:--:-- --:--:-- 19125 [2021-12-20T11:14:17.276Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ece373d565f3e7991284bdcf6ddd420279caf7f8 [Pipeline] } [2021-12-20T11:14:17.297Z] 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-12-20T11:14:19.408Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-256/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:19.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:20.328Z] ---> package-listing.sh [2021-12-20T11:14:20.328Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-20T11:14:20.328Z] ++ facter osfamily [2021-12-20T11:14:20.591Z] + OS_FAMILY=redhat [2021-12-20T11:14:20.591Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-256 [2021-12-20T11:14:20.591Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-20T11:14:20.591Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-20T11:14:20.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-20T11:14:20.591Z] + PACKAGES=/tmp/packages_start.txt [2021-12-20T11:14:20.591Z] + '[' /w/workspace/foundry_device-virtual-go_PR-256 ']' [2021-12-20T11:14:20.591Z] + PACKAGES=/tmp/packages_end.txt [2021-12-20T11:14:20.591Z] + case "${OS_FAMILY}" in [2021-12-20T11:14:20.591Z] + rpm -qa [2021-12-20T11:14:20.591Z] + sort [2021-12-20T11:14:21.167Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-20T11:14:21.167Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-20T11:14:21.167Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-20T11:14:21.167Z] + '[' /w/workspace/foundry_device-virtual-go_PR-256 ']' [2021-12-20T11:14:21.167Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-256/archives/ [2021-12-20T11:14:21.167Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-256/archives/ [Pipeline] echo [2021-12-20T11:14:21.202Z] 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-256/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-20T11:14:21.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:14:22.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:14:22.092Z] [2021-12-20T11:14:22.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-20T11:14:22.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:14:22.439Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-20T11:14:22.439Z] b4d181a07f80: Pulling fs layer [2021-12-20T11:14:22.439Z] a1111a8f2ec3: Pulling fs layer [2021-12-20T11:14:22.439Z] ed53099fbce6: Pulling fs layer [2021-12-20T11:14:22.439Z] dc539afda2c1: Pulling fs layer [2021-12-20T11:14:22.439Z] 77bc0d833cb6: Pulling fs layer [2021-12-20T11:14:22.439Z] 9065ff56babe: Pulling fs layer [2021-12-20T11:14:22.439Z] d287ab97295c: Pulling fs layer [2021-12-20T11:14:22.439Z] dc539afda2c1: Waiting [2021-12-20T11:14:22.439Z] 77bc0d833cb6: Waiting [2021-12-20T11:14:22.439Z] 9065ff56babe: Waiting [2021-12-20T11:14:22.439Z] d287ab97295c: Waiting [2021-12-20T11:14:22.439Z] a1111a8f2ec3: Verifying Checksum [2021-12-20T11:14:22.439Z] a1111a8f2ec3: Download complete [2021-12-20T11:14:22.439Z] dc539afda2c1: Verifying Checksum [2021-12-20T11:14:22.439Z] dc539afda2c1: Download complete [2021-12-20T11:14:22.439Z] ed53099fbce6: Verifying Checksum [2021-12-20T11:14:22.439Z] ed53099fbce6: Download complete [2021-12-20T11:14:22.439Z] 9065ff56babe: Verifying Checksum [2021-12-20T11:14:22.439Z] 9065ff56babe: Download complete [2021-12-20T11:14:22.698Z] 77bc0d833cb6: Verifying Checksum [2021-12-20T11:14:22.699Z] 77bc0d833cb6: Download complete [2021-12-20T11:14:22.699Z] b4d181a07f80: Download complete [2021-12-20T11:14:23.280Z] d287ab97295c: Verifying Checksum [2021-12-20T11:14:23.280Z] d287ab97295c: Download complete [2021-12-20T11:14:24.229Z] b4d181a07f80: Pull complete [2021-12-20T11:14:24.229Z] a1111a8f2ec3: Pull complete [2021-12-20T11:14:24.802Z] ed53099fbce6: Pull complete [2021-12-20T11:14:24.802Z] dc539afda2c1: Pull complete [2021-12-20T11:14:25.079Z] 77bc0d833cb6: Pull complete [2021-12-20T11:14:25.079Z] 9065ff56babe: Pull complete [2021-12-20T11:14:30.399Z] d287ab97295c: Pull complete [2021-12-20T11:14:30.399Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-20T11:14:30.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-20T11:14:30.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-20T11:14:30.485Z] prd-centos7-docker-4c-2g-1160 does not seem to be running inside a container [2021-12-20T11:14:30.527Z] $ 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-256/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-256 -v /w/workspace/foundry_device-virtual-go_PR-256:/w/workspace/foundry_device-virtual-go_PR-256:rw,z -v /w/workspace/foundry_device-virtual-go_PR-256@tmp:/w/workspace/foundry_device-virtual-go_PR-256@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-20T11:14:33.564Z] $ docker top a8b837ced184101547346b83171a47a5d1a11ab6f59a08c7997de83875fa9892 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-20T11:14:33.960Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-20T11:14:34.269Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-20T11:14:34.578Z] + ls /var/log/sa-host [2021-12-20T11:14:34.578Z] + sadf -c /var/log/sa-host/sa17 [2021-12-20T11:14:34.578Z] file_magic: OK [2021-12-20T11:14:34.578Z] HZ: Using current value: 100 [2021-12-20T11:14:34.578Z] file_header: OK [2021-12-20T11:14:34.578Z] 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-12-20T11:14:34.578Z] Statistics: [2021-12-20T11:14:34.578Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-20T11:14:34.578Z] File successfully converted to sysstat format version 12.0.3 [2021-12-20T11:14:34.578Z] + sadf -c /var/log/sa-host/sa20 [2021-12-20T11:14:34.578Z] file_magic: OK [2021-12-20T11:14:34.578Z] HZ: Using current value: 100 [2021-12-20T11:14:34.578Z] file_header: OK [2021-12-20T11:14:34.579Z] 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-12-20T11:14:34.579Z] Statistics: [2021-12-20T11:14:34.579Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-20T11:14:34.579Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-20T11:14:34.843Z] provisioning config files... [2021-12-20T11:14:34.852Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-256@tmp/config7157532299187310667tmp [Pipeline] { [Pipeline] echo [2021-12-20T11:14:34.899Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:35.207Z] ---> create-netrc.sh [Pipeline] } [2021-12-20T11:14:35.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:35.639Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-20T11:14:35.663Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:35.976Z] ---> sudo-logs.sh [2021-12-20T11:14:35.976Z] Archiving 'sudo' log.. [2021-12-20T11:14:35.976Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1160.novalocal: Name or service not known [2021-12-20T11:14:35.976Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1160.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-20T11:14:36.042Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:36.370Z] ---> job-cost.sh [2021-12-20T11:14:36.370Z] lf-activate-venv: SKIPPING [2021-12-20T11:14:36.370Z] DEBUG: total: 1.100000023841858 [2021-12-20T11:14:36.370Z] INFO: Retrieving Stack Cost... [2021-12-20T11:14:36.630Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-20T11:14:36.890Z] INFO: Archiving Costs [Pipeline] echo [2021-12-20T11:14:36.917Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-20T11:14:37.252Z] ---> logs-deploy.sh [2021-12-20T11:14:37.252Z] lf-activate-venv: SKIPPING [2021-12-20T11:14:37.252Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-256/1 [2021-12-20T11:14:37.252Z] INFO: archiving workspace using pattern(s): [2021-12-20T11:14:37.822Z] Archives upload complete. [2021-12-20T11:14:38.084Z] INFO: archiving logs to Nexus