Pull request #206 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d23b80da3d6d084643c753e6704b2add1fc5b67+3b22e0480bd67233e1fe9d34879779676ed28d7e (a3dd1ca2893dc16c0a01c71cb0412d58fe764efa) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 9d0281235b943b7ad605f650702698f9078b2862 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-206/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-206/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4835’ is offline; ‘prd-centos7-docker-4c-2g-4841’ is offline; ‘prd-centos7-docker-4c-2g-4842’ is offline; ‘prd-centos7-docker-4c-2g-4843’ is offline; ‘prd-centos7-docker-4c-2g-4844’ is offline; ‘prd-centos7-docker-4c-2g-4845’ is offline; ‘prd-centos7-docker-4c-2g-4848’ is offline; ‘prd-centos7-docker-4c-2g-4856’ is offline; ‘prd-centos7-docker-4c-2g-4858’ is offline; ‘prd-centos7-docker-4c-2g-4861’ is offline; ‘prd-centos7-docker-4c-2g-4866’ is offline; ‘prd-centos7-docker-4c-2g-4871’ is offline; ‘prd-centos7-docker-4c-2g-4879’ is offline; ‘prd-centos7-docker-4c-2g-4880’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4878’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4846’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4853’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4854’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4869’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4870’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4872’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4889 in /w/workspace/foundry_device-virtual-go_PR-206 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-206 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6d23b80da3d6d084643c753e6704b2add1fc5b67 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 Merge succeeded, producing 6d23b80da3d6d084643c753e6704b2add1fc5b67 Checking out Revision 6d23b80da3d6d084643c753e6704b2add1fc5b67 (PR-206) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # 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.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:43:40.834Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:43:41.050Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:43:41.182Z] ========================================================= [2021-05-12T20:43:41.182Z] EdgeX Global Pipelines Version Info [2021-05-12T20:43:41.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:43:42.728Z] ------------------- [2021-05-12T20:43:42.728Z] stable info: [2021-05-12T20:43:42.728Z] ------------------- [2021-05-12T20:43:42.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:43:42.728Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:43:42.728Z] Message: update stable to v1.0.192 [2021-05-12T20:43:43.674Z] ------------------- [2021-05-12T20:43:43.674Z] experimental info: [2021-05-12T20:43:43.674Z] ------------------- [2021-05-12T20:43:43.674Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:43:43.674Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:43:43.674Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:43:43.923Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-12T20:43:43.983Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-12T20:43:44.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:43:44.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:43:44.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:43:44.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:43:44.334Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:43:44.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:43:44.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:43:44.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:43:44.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:43:44.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-12T20:43:44.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:43:44.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:43:44.853Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:43:44.919Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:43:44.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:43:45.044Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:43:45.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:43:45.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:43:45.257Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:43:45.330Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:43:45.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:43:45.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:43:45.513Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:43:45.576Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:43:45.639Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo [2021-05-12T20:43:45.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo [2021-05-12T20:43:45.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo [2021-05-12T20:43:45.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d23b80da3d6d084643c753e6704b2add1fc5b67 [Pipeline] echo [2021-05-12T20:43:45.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d23b80 [Pipeline] echo [2021-05-12T20:43:45.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:43:46.145Z] provisioning config files... [2021-05-12T20:43:46.194Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-206@tmp/config1775052007659448448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:43:46.563Z] ---> docker-login.sh [2021-05-12T20:43:46.563Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:43:46.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:47.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:47.091Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:47.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:47.091Z] [2021-05-12T20:43:47.091Z] Login Succeeded [2021-05-12T20:43:47.091Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:43:47.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:47.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:47.091Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:47.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:47.091Z] [2021-05-12T20:43:47.091Z] Login Succeeded [2021-05-12T20:43:47.091Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:43:47.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:47.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:47.355Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:47.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:47.355Z] [2021-05-12T20:43:47.355Z] Login Succeeded [2021-05-12T20:43:47.355Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:43:47.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:47.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:47.622Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:47.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:47.622Z] [2021-05-12T20:43:47.622Z] Login Succeeded [2021-05-12T20:43:47.622Z] docker.io [2021-05-12T20:43:47.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:47.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:47.886Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:47.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:47.886Z] [2021-05-12T20:43:47.886Z] Login Succeeded [2021-05-12T20:43:47.886Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:43:47.911Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:43:48.709Z] + git log --format=format:%s -1 6d23b80da3d6d084643c753e6704b2add1fc5b67 [Pipeline] echo [2021-05-12T20:43:48.846Z] GIT_COMMIT: 6d23b80da3d6d084643c753e6704b2add1fc5b67, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-12T20:43:48.899Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:43:49.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:49.532Z] [2021-05-12T20:43:49.532Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:43:49.898Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:49.899Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:43:49.899Z] 31603596830f: Pulling fs layer [2021-05-12T20:43:49.899Z] 54011a49482f: Pulling fs layer [2021-05-12T20:43:49.899Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:43:49.899Z] f581987b2513: Pulling fs layer [2021-05-12T20:43:49.899Z] f581987b2513: Waiting [2021-05-12T20:43:49.899Z] 54011a49482f: Verifying Checksum [2021-05-12T20:43:49.899Z] 54011a49482f: Download complete [2021-05-12T20:43:49.899Z] 31603596830f: Verifying Checksum [2021-05-12T20:43:49.899Z] 31603596830f: Download complete [2021-05-12T20:43:50.164Z] f581987b2513: Verifying Checksum [2021-05-12T20:43:50.164Z] f581987b2513: Download complete [2021-05-12T20:43:50.164Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:43:50.164Z] a6820b24f6d8: Download complete [2021-05-12T20:43:50.425Z] 31603596830f: Pull complete [2021-05-12T20:43:50.687Z] 54011a49482f: Pull complete [2021-05-12T20:43:51.269Z] a6820b24f6d8: Pull complete [2021-05-12T20:43:51.532Z] f581987b2513: Pull complete [2021-05-12T20:43:51.532Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:43:51.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:51.532Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:43:51.914Z] prd-centos7-docker-4c-2g-4889 does not seem to be running inside a container [2021-05-12T20:43:51.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-206 -v /w/workspace/foundry_device-virtual-go_PR-206:/w/workspace/foundry_device-virtual-go_PR-206:rw,z -v /w/workspace/foundry_device-virtual-go_PR-206@tmp:/w/workspace/foundry_device-virtual-go_PR-206@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:43:54.274Z] $ docker top 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:43:54.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:43:54.537Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:43:54.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:43:54.757Z] $ docker exec 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 ssh-agent [2021-05-12T20:43:54.935Z] SSH_AUTH_SOCK=/tmp/ssh-IproeMt7rlaQ/agent.12 [2021-05-12T20:43:54.935Z] SSH_AGENT_PID=18 [2021-05-12T20:43:54.946Z] Running ssh-add (command line suppressed) [2021-05-12T20:43:55.082Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-206@tmp/private_key_4665651053491878411.key (/w/workspace/foundry_device-virtual-go_PR-206@tmp/private_key_4665651053491878411.key) [2021-05-12T20:43:55.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:43:55.481Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:43:55.508Z] $ docker exec --env ******** --env ******** 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 ssh-agent -k [2021-05-12T20:43:55.625Z] unset SSH_AUTH_SOCK; [2021-05-12T20:43:55.625Z] unset SSH_AGENT_PID; [2021-05-12T20:43:55.625Z] echo Agent pid 18 killed; [2021-05-12T20:43:55.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:43:55.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:43:55.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:43:55.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:43:55.970Z] $ docker exec 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 ssh-agent [2021-05-12T20:43:56.151Z] SSH_AUTH_SOCK=/tmp/ssh-E5VrTRDPdFm1/agent.49 [2021-05-12T20:43:56.151Z] SSH_AGENT_PID=54 [2021-05-12T20:43:56.169Z] Running ssh-add (command line suppressed) [2021-05-12T20:43:56.288Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-206@tmp/private_key_8404626678426941275.key (/w/workspace/foundry_device-virtual-go_PR-206@tmp/private_key_8404626678426941275.key) [2021-05-12T20:43:56.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:43:56.701Z] + git semver init [2021-05-12T20:43:56.702Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:43:56.702Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-206/.git [2021-05-12T20:43:56.702Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-206 [2021-05-12T20:43:56.702Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:43:56.702Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:43:56.702Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:43:56.702Z] # $SEMVER_BRANCH = PR-206 [2021-05-12T20:43:56.702Z] # $SEMVER_TEMP = /tmp/semver-052424818 [2021-05-12T20:43:56.702Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-12T20:43:58.093Z] # '/tmp/semver-052424818' -> '/w/workspace/foundry_device-virtual-go_PR-206/.semver' [2021-05-12T20:43:58.093Z] # -> Force: false [2021-05-12T20:43:58.093Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-206/.semver [Pipeline] } [2021-05-12T20:43:58.134Z] $ docker exec --env ******** --env ******** 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 ssh-agent -k [2021-05-12T20:43:58.257Z] unset SSH_AUTH_SOCK; [2021-05-12T20:43:58.257Z] unset SSH_AGENT_PID; [2021-05-12T20:43:58.257Z] echo Agent pid 54 killed; [2021-05-12T20:43:58.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:43:58.810Z] + git semver [Pipeline] } [2021-05-12T20:43:58.845Z] $ docker stop --time=1 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 [2021-05-12T20:44:00.243Z] $ docker rm -f 16566c5a979db962a66d810b0c98d12eb101c2ed9c3697b93b43d5afd41a3e71 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:44:00.698Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:44:01.103Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:44:01.125Z] [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-05-12T20:44:16.620Z] Still waiting to schedule task [2021-05-12T20:44:16.621Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T20:44:16.648Z] Still waiting to schedule task [2021-05-12T20:44:16.648Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:48:57.150Z] Running on prd-centos7-docker-4c-2g-4894 in /w/workspace/foundry_device-virtual-go_PR-206 [Pipeline] { [Pipeline] ws [2021-05-12T20:48:57.214Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:49:03.878Z] using credential edgex-jenkins-ssh [2021-05-12T20:49:03.896Z] Cloning the remote Git repository [2021-05-12T20:49:03.946Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:04.032Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T20:49:04.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:04.302Z] > git --version # timeout=10 [2021-05-12T20:49:04.385Z] > git --version # 'git version 2.24.3' [2021-05-12T20:49:04.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:04.458Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:06.406Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:49:06.621Z] Merge succeeded, producing 6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:49:06.622Z] Checking out Revision 6d23b80da3d6d084643c753e6704b2add1fc5b67 (PR-206) [2021-05-12T20:49:05.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:05.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:05.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:06.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:06.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:06.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:49:06.420Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:06.440Z] > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # timeout=10 [2021-05-12T20:49:06.554Z] > git remote # timeout=10 [2021-05-12T20:49:06.565Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:49:06.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:06.591Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:49:06.614Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:49:06.628Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:06.650Z] > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # timeout=10 [2021-05-12T20:49:11.087Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-12T20:49:11.130Z] > git --version # timeout=10 [2021-05-12T20:49:11.135Z] > git --version # 'git version 2.24.3' [2021-05-12T20:49:11.144Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:49:12.106Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4899 in /w/workspace/foundry_device-virtual-go_PR-206 [Pipeline] { [Pipeline] ws [2021-05-12T20:49:12.500Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:49:12.686Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:13.164Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:13.625Z] + sudo service docker restart [2021-05-12T20:49:13.625Z] + true [2021-05-12T20:49:13.625Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:49:15.205Z] provisioning config files... [2021-05-12T20:49:15.281Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4949309726057910626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:49:15.705Z] ---> docker-login.sh [2021-05-12T20:49:15.705Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:49:16.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:16.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:16.344Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:16.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:16.344Z] [2021-05-12T20:49:16.344Z] Login Succeeded [2021-05-12T20:49:16.344Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:49:16.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:16.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:16.613Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:16.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:16.613Z] [2021-05-12T20:49:16.613Z] Login Succeeded [2021-05-12T20:49:16.613Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:49:16.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:16.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:16.889Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:16.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:16.889Z] [2021-05-12T20:49:16.889Z] Login Succeeded [2021-05-12T20:49:16.889Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:49:17.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:17.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:17.160Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:17.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:17.160Z] [2021-05-12T20:49:17.160Z] Login Succeeded [2021-05-12T20:49:17.160Z] docker.io [2021-05-12T20:49:17.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:17.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:17.692Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:17.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:17.692Z] [2021-05-12T20:49:17.692Z] Login Succeeded [2021-05-12T20:49:17.692Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:49:17.720Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:49:18.173Z] ========================================================= [2021-05-12T20:49:18.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:49:18.173Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:18.582Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:49:18.858Z] Sending build context to Docker daemon 8.575MB [2021-05-12T20:49:18.858Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:49:18.858Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:49:18.858Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:49:18.858Z] 540db60ca938: Pulling fs layer [2021-05-12T20:49:18.858Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:49:18.858Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:49:18.858Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:49:18.858Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:49:18.858Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:49:18.858Z] f706445af74f: Pulling fs layer [2021-05-12T20:49:18.858Z] f706445af74f: Waiting [2021-05-12T20:49:18.858Z] 7809a108b3ef: Waiting [2021-05-12T20:49:18.858Z] 0510c868ecb4: Waiting [2021-05-12T20:49:18.858Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T20:49:18.858Z] 4c4ab2625f07: Download complete [2021-05-12T20:49:18.858Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:49:18.858Z] adcc1eea9eea: Download complete [2021-05-12T20:49:19.128Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:49:19.128Z] afea3b2eda06: Download complete [2021-05-12T20:49:19.128Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:49:19.128Z] 7809a108b3ef: Download complete [2021-05-12T20:49:19.128Z] 540db60ca938: Verifying Checksum [2021-05-12T20:49:19.128Z] 540db60ca938: Download complete [2021-05-12T20:49:19.379Z] using credential edgex-jenkins-ssh [2021-05-12T20:49:19.399Z] Cloning the remote Git repository [2021-05-12T20:49:19.403Z] 540db60ca938: Pull complete [2021-05-12T20:49:20.006Z] adcc1eea9eea: Pull complete [2021-05-12T20:49:20.276Z] 4c4ab2625f07: Pull complete [2021-05-12T20:49:19.461Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:19.583Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T20:49:19.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:19.653Z] > git --version # timeout=10 [2021-05-12T20:49:19.668Z] > git --version # 'git version 2.17.1' [2021-05-12T20:49:19.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:19.749Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:21.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:22.339Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:49:22.545Z] Merge succeeded, producing 6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:49:22.546Z] Checking out Revision 6d23b80da3d6d084643c753e6704b2add1fc5b67 (PR-206) [2021-05-12T20:49:21.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:21.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:21.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:21.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:21.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:49:22.364Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:22.381Z] > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # timeout=10 [2021-05-12T20:49:22.464Z] > git remote # timeout=10 [2021-05-12T20:49:22.484Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:49:22.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:22.508Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:49:22.532Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:49:22.559Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:22.575Z] > git checkout -f 6d23b80da3d6d084643c753e6704b2add1fc5b67 # timeout=10 [2021-05-12T20:49:24.635Z] f706445af74f: Verifying Checksum [2021-05-12T20:49:24.635Z] f706445af74f: Download complete [2021-05-12T20:49:26.630Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:49:26.630Z] 0510c868ecb4: Download complete [2021-05-12T20:49:27.017Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-12T20:49:27.090Z] > git --version # timeout=10 [2021-05-12T20:49:27.104Z] > git --version # 'git version 2.17.1' [2021-05-12T20:49:27.119Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:49:28.855Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:29.307Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:29.671Z] + + true [2021-05-12T20:49:29.671Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:49:33.278Z] provisioning config files... [2021-05-12T20:49:33.337Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3521858901946345763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:49:33.800Z] ---> docker-login.sh [2021-05-12T20:49:33.801Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:49:34.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:35.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:35.005Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:35.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:35.005Z] [2021-05-12T20:49:35.005Z] Login Succeeded [2021-05-12T20:49:35.005Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:49:35.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:35.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:35.557Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:35.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:35.557Z] [2021-05-12T20:49:35.557Z] Login Succeeded [2021-05-12T20:49:35.557Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:49:36.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:36.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:36.160Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:36.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:36.160Z] [2021-05-12T20:49:36.160Z] Login Succeeded [2021-05-12T20:49:36.160Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:49:36.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:36.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:36.722Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:36.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:36.722Z] [2021-05-12T20:49:36.722Z] Login Succeeded [2021-05-12T20:49:36.722Z] docker.io [2021-05-12T20:49:36.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:37.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:37.593Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:37.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:37.593Z] [2021-05-12T20:49:37.593Z] Login Succeeded [2021-05-12T20:49:37.593Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:49:37.627Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:49:38.067Z] ========================================================= [2021-05-12T20:49:38.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:49:38.067Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:38.468Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:49:38.746Z] Sending build context to Docker daemon 8.574MB [2021-05-12T20:49:39.021Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:49:39.021Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:49:39.021Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:49:39.021Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:49:39.021Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:49:39.021Z] 316046926c0a: Pulling fs layer [2021-05-12T20:49:39.021Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:49:39.021Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:49:39.021Z] c791037a9be2: Pulling fs layer [2021-05-12T20:49:39.021Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:49:39.021Z] 4ebd0625c992: Waiting [2021-05-12T20:49:39.021Z] 207e8628e3a3: Waiting [2021-05-12T20:49:39.021Z] c791037a9be2: Waiting [2021-05-12T20:49:39.021Z] ffd874e62e21: Waiting [2021-05-12T20:49:39.021Z] 316046926c0a: Verifying Checksum [2021-05-12T20:49:39.021Z] 316046926c0a: Download complete [2021-05-12T20:49:39.022Z] 7186ed65a4f7: Download complete [2021-05-12T20:49:39.022Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:49:39.022Z] 207e8628e3a3: Download complete [2021-05-12T20:49:39.022Z] c791037a9be2: Verifying Checksum [2021-05-12T20:49:39.022Z] c791037a9be2: Download complete [2021-05-12T20:49:39.022Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:49:39.022Z] 595b0fe564bb: Download complete [2021-05-12T20:49:39.621Z] 595b0fe564bb: Pull complete [2021-05-12T20:49:40.217Z] 7186ed65a4f7: Pull complete [2021-05-12T20:49:40.493Z] 316046926c0a: Pull complete [2021-05-12T20:49:41.486Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:49:41.486Z] ffd874e62e21: Download complete [2021-05-12T20:49:42.461Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:49:42.461Z] 4ebd0625c992: Download complete [2021-05-12T20:49:43.111Z] 0510c868ecb4: Pull complete [2021-05-12T20:49:43.111Z] afea3b2eda06: Pull complete [2021-05-12T20:49:43.111Z] 7809a108b3ef: Pull complete [2021-05-12T20:49:48.644Z] f706445af74f: Pull complete [2021-05-12T20:49:48.644Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:49:48.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:49:48.644Z] ---> b068be0155e3 [2021-05-12T20:49:48.644Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:49:49.245Z] ---> Running in c35610397f40 [2021-05-12T20:49:49.519Z] Removing intermediate container c35610397f40 [2021-05-12T20:49:49.519Z] ---> 920b1e5966c3 [2021-05-12T20:49:49.519Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:49:50.516Z] ---> Running in fa3735745577 [2021-05-12T20:49:51.945Z] Removing intermediate container fa3735745577 [2021-05-12T20:49:51.945Z] ---> 244252017a0b [2021-05-12T20:49:51.945Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:49:51.945Z] ---> Running in 66b1f91734e6 [2021-05-12T20:49:52.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:49:52.624Z] 4ebd0625c992: Pull complete [2021-05-12T20:49:52.624Z] 207e8628e3a3: Pull complete [2021-05-12T20:49:52.624Z] c791037a9be2: Pull complete [2021-05-12T20:49:53.516Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:49:54.130Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:49:54.130Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:49:54.427Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:49:54.427Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:49:54.427Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:49:54.716Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:49:54.716Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:49:54.992Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:49:55.264Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:49:55.264Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:49:55.264Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:49:55.538Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:49:55.538Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:49:55.538Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:49:55.538Z] OK: 156 MiB in 53 packages [2021-05-12T20:49:56.015Z] ffd874e62e21: Pull complete [2021-05-12T20:49:56.015Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:49:56.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:49:56.015Z] ---> cfc18b08335c [2021-05-12T20:49:56.016Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:49:56.518Z] Removing intermediate container 66b1f91734e6 [2021-05-12T20:49:56.518Z] ---> 36034254df1d [2021-05-12T20:49:56.518Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:49:56.518Z] ---> Running in 2a195d8a2066 [2021-05-12T20:49:56.784Z] Removing intermediate container 2a195d8a2066 [2021-05-12T20:49:56.784Z] ---> b8890388e380 [2021-05-12T20:49:56.784Z] Step 7/8 : COPY . . [2021-05-12T20:49:57.750Z] ---> 859e64e07a2a [2021-05-12T20:49:57.750Z] Step 8/8 : RUN go mod download [2021-05-12T20:49:57.750Z] ---> Running in fbbd3160b385 [2021-05-12T20:49:58.653Z] ---> Running in 7fb4d52d3eef [2021-05-12T20:49:58.931Z] Removing intermediate container 7fb4d52d3eef [2021-05-12T20:49:58.931Z] ---> 66df7a03297d [2021-05-12T20:49:58.931Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:49:59.209Z] ---> Running in 575a7f860c2e [2021-05-12T20:50:01.845Z] Removing intermediate container 575a7f860c2e [2021-05-12T20:50:01.845Z] ---> 992eb98bedfb [2021-05-12T20:50:01.845Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:50:01.845Z] ---> Running in 520d3fd6f756 [2021-05-12T20:50:02.830Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:50:03.426Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:50:04.408Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:50:04.681Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:50:04.681Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:50:04.681Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:50:04.952Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:50:04.952Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:50:04.952Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:50:05.542Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:50:05.543Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:50:05.543Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:50:05.543Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:50:05.818Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:50:05.818Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:50:05.818Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:50:06.093Z] OK: 145 MiB in 53 packages [2021-05-12T20:50:07.525Z] Removing intermediate container 520d3fd6f756 [2021-05-12T20:50:07.525Z] ---> 313676ca50ac [2021-05-12T20:50:07.525Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:50:07.525Z] ---> Running in 5d9cedf5a20f [2021-05-12T20:50:08.121Z] Removing intermediate container 5d9cedf5a20f [2021-05-12T20:50:08.121Z] ---> ed970b7bf9e1 [2021-05-12T20:50:08.121Z] Step 7/8 : COPY . . [2021-05-12T20:50:09.553Z] ---> 4dea6ff11d2d [2021-05-12T20:50:09.553Z] Step 8/8 : RUN go mod download [2021-05-12T20:50:09.553Z] ---> Running in 34ec2bf41503 [2021-05-12T20:50:36.975Z] Removing intermediate container fbbd3160b385 [2021-05-12T20:50:36.976Z] ---> 0483ed2fbbfd [2021-05-12T20:50:36.976Z] Successfully built 0483ed2fbbfd [2021-05-12T20:50:36.976Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:37.362Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:50:37.642Z] . [Pipeline] withDockerContainer [2021-05-12T20:50:37.841Z] prd-centos7-docker-4c-2g-4894 does not seem to be running inside a container [2021-05-12T20:50:37.929Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-12T20:50:38.916Z] $ docker top 251b64b8196e442021326aad3a98e4884f8d49f8ae80b43243a6928d5d29a3fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:50:39.771Z] + go version [2021-05-12T20:50:39.771Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:50:39.809Z] $ docker stop --time=1 251b64b8196e442021326aad3a98e4884f8d49f8ae80b43243a6928d5d29a3fc [2021-05-12T20:50:41.493Z] $ docker rm -f 251b64b8196e442021326aad3a98e4884f8d49f8ae80b43243a6928d5d29a3fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-12T20:50:41.914Z] Removing intermediate container 34ec2bf41503 [2021-05-12T20:50:41.914Z] ---> d090d4fe11d9 [2021-05-12T20:50:41.914Z] Successfully built d090d4fe11d9 [2021-05-12T20:50:41.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:42.348Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:50:42.348Z] . [Pipeline] withDockerContainer [2021-05-12T20:50:42.523Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:50:42.523Z] . [2021-05-12T20:50:42.601Z] prd-ubuntu18.04-docker-arm64-4c-16g-4899 does not seem to be running inside a container [2021-05-12T20:50:42.690Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-12T20:50:44.073Z] $ docker top 237d87573aadec2f6919a3e7b3e5fba006c35348bd8dca7d423218ed6f201342 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-12T20:50:44.584Z] prd-centos7-docker-4c-2g-4894 does not seem to be running inside a container [2021-05-12T20:50:44.644Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-12T20:50:45.463Z] $ docker top f36cdf039c2f8274c5fad24be7e1f9eba85217e34ff25f9f5e5a9511d815c3f6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T20:50:46.136Z] + go mod tidy [2021-05-12T20:50:46.392Z] + go version [2021-05-12T20:50:46.392Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:50:46.433Z] $ docker stop --time=1 237d87573aadec2f6919a3e7b3e5fba006c35348bd8dca7d423218ed6f201342 [2021-05-12T20:50:48.430Z] $ docker rm -f 237d87573aadec2f6919a3e7b3e5fba006c35348bd8dca7d423218ed6f201342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-05-12T20:50:49.084Z] + make test [2021-05-12T20:50:49.084Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:49.481Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:50:49.481Z] . [Pipeline] withDockerContainer [2021-05-12T20:50:49.795Z] prd-ubuntu18.04-docker-arm64-4c-16g-4899 does not seem to be running inside a container [2021-05-12T20:50:49.900Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-12T20:50:51.663Z] $ docker top c20cd13281ecaf962f6ca7aa63208affd1e3941a9cc63d9e240b42f39f96e0cf -eo pid,comm [2021-05-12T20:50:51.916Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] { [Pipeline] sh [2021-05-12T20:50:52.726Z] + go mod tidy [Pipeline] sh [2021-05-12T20:50:54.415Z] + make test [2021-05-12T20:50:54.415Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:50:55.864Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:51:41.391Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:51:41.391Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.182s coverage: 63.8% of statements [2021-05-12T20:51:41.391Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:52:08.549Z] gofmt -l . [2021-05-12T20:52:08.549Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:52:08.549Z] ./bin/test-attribution-txt.sh [2021-05-12T20:52:08.549Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:52:08.601Z] $ docker stop --time=1 f36cdf039c2f8274c5fad24be7e1f9eba85217e34ff25f9f5e5a9511d815c3f6 [2021-05-12T20:52:10.902Z] $ docker rm -f f36cdf039c2f8274c5fad24be7e1f9eba85217e34ff25f9f5e5a9511d815c3f6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:52:12.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:52:13.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:52:15.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:52:15.426Z] + ls -al . [2021-05-12T20:52:15.426Z] total 132 [2021-05-12T20:52:15.426Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:52 . [2021-05-12T20:52:15.426Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:49 .. [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:49 Attribution.txt [2021-05-12T20:52:15.426Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:49 bin [2021-05-12T20:52:15.426Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:49 cmd [2021-05-12T20:52:15.426Z] -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:51 coverage.out [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:49 Dockerfile [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:49 Dockerfile.build [2021-05-12T20:52:15.426Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:49 .git [2021-05-12T20:52:15.426Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:49 .github [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:49 .gitignore [2021-05-12T20:52:15.426Z] -rw-r--r--. 1 jenkins jenkins 809 May 12 20:52 go.mod [2021-05-12T20:52:15.426Z] -rw-r--r--. 1 jenkins jenkins 23036 May 12 20:50 go.sum [2021-05-12T20:52:15.426Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:49 internal [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:49 Jenkinsfile [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:49 LICENSE [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 901 May 12 20:49 Makefile [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:49 README.md [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:44 VERSION [2021-05-12T20:52:15.426Z] -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:15.792Z] + 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=6d23b80da3d6d084643c753e6704b2add1fc5b67 --label arch=amd64 --label version=0.0.0 . [2021-05-12T20:52:16.059Z] Sending build context to Docker daemon 8.647MB [2021-05-12T20:52:16.059Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:52:16.059Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:52:16.059Z] ---> 0483ed2fbbfd [2021-05-12T20:52:16.059Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:52:16.640Z] ---> Running in dcee2fce43d2 [2021-05-12T20:52:16.640Z] Removing intermediate container dcee2fce43d2 [2021-05-12T20:52:16.640Z] ---> 8dc2a9bbdbe0 [2021-05-12T20:52:16.640Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:52:16.904Z] ---> Running in b639152839a2 [2021-05-12T20:52:16.904Z] Removing intermediate container b639152839a2 [2021-05-12T20:52:16.904Z] ---> 6f07fa47afde [2021-05-12T20:52:16.904Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:52:17.169Z] ---> Running in 32731e61996f [2021-05-12T20:52:17.169Z] Removing intermediate container 32731e61996f [2021-05-12T20:52:17.169Z] ---> b54ce84075e9 [2021-05-12T20:52:17.169Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:52:17.440Z] ---> Running in 84151adeb51d [2021-05-12T20:52:18.140Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:52:18.140Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.103s coverage: 63.8% of statements [2021-05-12T20:52:18.140Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:52:18.918Z] Removing intermediate container 84151adeb51d [2021-05-12T20:52:18.918Z] ---> 42ac7b80c2ca [2021-05-12T20:52:18.918Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:52:18.918Z] ---> Running in 3a10851daeac [2021-05-12T20:52:19.902Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:52:20.485Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:52:21.070Z] OK: 156 MiB in 53 packages [2021-05-12T20:52:22.035Z] Removing intermediate container 3a10851daeac [2021-05-12T20:52:22.035Z] ---> 09ae164f879f [2021-05-12T20:52:22.035Z] Step 8/25 : COPY . . [2021-05-12T20:52:22.314Z] ---> 20c9189450a5 [2021-05-12T20:52:22.314Z] Step 9/25 : RUN go mod download [2021-05-12T20:52:22.583Z] ---> Running in 02fcd525b156 [2021-05-12T20:52:24.045Z] Removing intermediate container 02fcd525b156 [2021-05-12T20:52:24.045Z] ---> b2130f1fb101 [2021-05-12T20:52:24.045Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:52:24.045Z] ---> Running in cbe2c631a5fa [2021-05-12T20:52:24.045Z] Removing intermediate container cbe2c631a5fa [2021-05-12T20:52:24.045Z] ---> c00028231aa3 [2021-05-12T20:52:24.045Z] Step 11/25 : RUN $MAKE [2021-05-12T20:52:24.045Z] ---> Running in 5440b41b9b92 [2021-05-12T20:52:24.643Z] 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-05-12T20:52:40.320Z] gofmt -l . [2021-05-12T20:52:40.321Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:52:40.321Z] ./bin/test-attribution-txt.sh [2021-05-12T20:52:40.919Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:52:41.249Z] $ docker stop --time=1 c20cd13281ecaf962f6ca7aa63208affd1e3941a9cc63d9e240b42f39f96e0cf [2021-05-12T20:52:43.346Z] $ docker rm -f c20cd13281ecaf962f6ca7aa63208affd1e3941a9cc63d9e240b42f39f96e0cf [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:52:44.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:52:44.352Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:52:45.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:52:45.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:52:46.045Z] + ls -al . [2021-05-12T20:52:46.045Z] total 156 [2021-05-12T20:52:46.045Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:52 . [2021-05-12T20:52:46.045Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:49 .. [2021-05-12T20:52:46.046Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:49 .git [2021-05-12T20:52:46.046Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 .github [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:49 .gitignore [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:49 Attribution.txt [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:49 Dockerfile [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:49 Dockerfile.build [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:49 Jenkinsfile [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:49 LICENSE [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 901 May 12 20:49 Makefile [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:49 README.md [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:44 VERSION [2021-05-12T20:52:46.046Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 bin [2021-05-12T20:52:46.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 cmd [2021-05-12T20:52:46.046Z] -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:52 coverage.out [2021-05-12T20:52:46.046Z] -rw-r--r-- 1 jenkins jenkins 809 May 12 20:52 go.mod [2021-05-12T20:52:46.046Z] -rw-r--r-- 1 jenkins jenkins 23036 May 12 20:50 go.sum [2021-05-12T20:52:46.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 internal [2021-05-12T20:52:46.046Z] -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:46.431Z] + 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=6d23b80da3d6d084643c753e6704b2add1fc5b67 --label arch=arm64 --label version=0.0.0 . [2021-05-12T20:52:47.032Z] Sending build context to Docker daemon 8.646MB [2021-05-12T20:52:47.032Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:52:47.032Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:52:47.032Z] ---> d090d4fe11d9 [2021-05-12T20:52:47.032Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:52:47.304Z] ---> Running in ab3237081586 [2021-05-12T20:52:47.590Z] Removing intermediate container ab3237081586 [2021-05-12T20:52:47.590Z] ---> 7b471310b226 [2021-05-12T20:52:47.590Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:52:47.861Z] ---> Running in d7b766d21a29 [2021-05-12T20:52:48.132Z] Removing intermediate container d7b766d21a29 [2021-05-12T20:52:48.132Z] ---> df8dcbebd87e [2021-05-12T20:52:48.132Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:52:48.404Z] ---> Running in 1741a1b77ae5 [2021-05-12T20:52:48.999Z] Removing intermediate container 1741a1b77ae5 [2021-05-12T20:52:48.999Z] ---> eafd83ba13c4 [2021-05-12T20:52:48.999Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:52:48.999Z] ---> Running in 8f995507f042 [2021-05-12T20:52:51.621Z] Removing intermediate container 8f995507f042 [2021-05-12T20:52:51.621Z] ---> e6a4e470fe15 [2021-05-12T20:52:51.621Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:52:51.621Z] ---> Running in 42ba834edf7a [2021-05-12T20:52:52.610Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:52:53.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:52:54.575Z] OK: 145 MiB in 53 packages [2021-05-12T20:52:55.559Z] Removing intermediate container 42ba834edf7a [2021-05-12T20:52:55.559Z] ---> 60d8d94b2548 [2021-05-12T20:52:55.559Z] Step 8/25 : COPY . . [2021-05-12T20:52:56.993Z] ---> ea9ef9446dcf [2021-05-12T20:52:56.993Z] Step 9/25 : RUN go mod download [2021-05-12T20:52:57.137Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:52:57.267Z] ---> Running in 4f2da655ef29 [2021-05-12T20:52:59.913Z] Removing intermediate container 4f2da655ef29 [2021-05-12T20:52:59.913Z] ---> a7889d3fb4c8 [2021-05-12T20:52:59.913Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:52:59.913Z] ---> Running in 2aeaf356fafa [2021-05-12T20:53:00.186Z] Removing intermediate container 2aeaf356fafa [2021-05-12T20:53:00.186Z] ---> af4acf6eeead [2021-05-12T20:53:00.186Z] Step 11/25 : RUN $MAKE [2021-05-12T20:53:00.459Z] ---> Running in c72d84e8a2d8 [2021-05-12T20:53:01.442Z] 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-05-12T20:53:03.889Z] Removing intermediate container 5440b41b9b92 [2021-05-12T20:53:03.889Z] ---> 8f347eac643d [2021-05-12T20:53:03.889Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:53:03.889Z] 3.12: Pulling from library/alpine [2021-05-12T20:53:03.889Z] 339de151aab4: Pulling fs layer [2021-05-12T20:53:04.207Z] 339de151aab4: Verifying Checksum [2021-05-12T20:53:04.207Z] 339de151aab4: Download complete [2021-05-12T20:53:04.479Z] 339de151aab4: Pull complete [2021-05-12T20:53:04.767Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:53:04.767Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:53:04.767Z] ---> 13621d1b12d4 [2021-05-12T20:53:04.767Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:53:04.767Z] ---> Running in d18f2f39d97e [2021-05-12T20:53:05.354Z] Removing intermediate container d18f2f39d97e [2021-05-12T20:53:05.354Z] ---> 35a3fc1bfe9a [2021-05-12T20:53:05.354Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:53:05.354Z] ---> Running in 023bc6ab66b8 [2021-05-12T20:53:06.342Z] Removing intermediate container 023bc6ab66b8 [2021-05-12T20:53:06.342Z] ---> ea3d90250fa3 [2021-05-12T20:53:06.342Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:53:06.342Z] ---> Running in c90a88c380fa [2021-05-12T20:53:06.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:53:07.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:53:08.097Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:53:08.097Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:53:08.368Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:53:08.368Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:53:09.336Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:53:09.336Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:53:09.336Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:53:09.336Z] OK: 8 MiB in 20 packages [2021-05-12T20:53:10.384Z] Removing intermediate container c90a88c380fa [2021-05-12T20:53:10.384Z] ---> b18ec7b27555 [2021-05-12T20:53:10.384Z] Step 16/25 : WORKDIR / [2021-05-12T20:53:10.384Z] ---> Running in 6acdfcf7a8b9 [2021-05-12T20:53:10.690Z] Removing intermediate container 6acdfcf7a8b9 [2021-05-12T20:53:10.690Z] ---> fbc09df33ff5 [2021-05-12T20:53:10.690Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:53:11.285Z] ---> 378772a33cf7 [2021-05-12T20:53:11.285Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:53:11.580Z] ---> f60400413b43 [2021-05-12T20:53:11.580Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:53:12.560Z] ---> c7a01da515fb [2021-05-12T20:53:12.560Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:53:12.560Z] ---> Running in 19d9d4752ea3 [2021-05-12T20:53:12.829Z] Removing intermediate container 19d9d4752ea3 [2021-05-12T20:53:12.829Z] ---> a6333f1bc5f8 [2021-05-12T20:53:12.829Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:53:12.829Z] ---> Running in a2d3ac6dd511 [2021-05-12T20:53:13.096Z] Removing intermediate container a2d3ac6dd511 [2021-05-12T20:53:13.096Z] ---> ba8e85d1956d [2021-05-12T20:53:13.096Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:53:13.363Z] ---> Running in 28113566d0f1 [2021-05-12T20:53:13.638Z] Removing intermediate container 28113566d0f1 [2021-05-12T20:53:13.638Z] ---> dc93f5eabcda [2021-05-12T20:53:13.638Z] Step 23/25 : LABEL arch=amd64 [2021-05-12T20:53:13.638Z] ---> Running in 7103fbe3ce8b [2021-05-12T20:53:13.638Z] Removing intermediate container 7103fbe3ce8b [2021-05-12T20:53:13.638Z] ---> eeb65c94d754 [2021-05-12T20:53:13.638Z] Step 24/25 : LABEL git_sha=6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:53:13.907Z] ---> Running in 809a7b2ceaa2 [2021-05-12T20:53:14.201Z] Removing intermediate container 809a7b2ceaa2 [2021-05-12T20:53:14.201Z] ---> 596715006e00 [2021-05-12T20:53:14.201Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:53:14.473Z] ---> Running in 4b1ccced6009 [2021-05-12T20:53:14.743Z] Removing intermediate container 4b1ccced6009 [2021-05-12T20:53:14.743Z] ---> d29b66596997 [2021-05-12T20:53:14.743Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:53:14.743Z] Successfully built d29b66596997 [2021-05-12T20:53:14.743Z] 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] libraryResource [Pipeline] sh [2021-05-12T20:53:15.667Z] ---> job-cost.sh [2021-05-12T20:53:15.667Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cd1P [2021-05-12T20:53:48.325Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:53:58.004Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:54:01.380Z] Removing intermediate container c72d84e8a2d8 [2021-05-12T20:54:01.380Z] ---> 586c67d62f76 [2021-05-12T20:54:01.380Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:54:01.975Z] 3.12: Pulling from library/alpine [2021-05-12T20:54:01.975Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:54:02.247Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:54:02.247Z] d2f70382dc9a: Download complete [2021-05-12T20:54:02.850Z] d2f70382dc9a: Pull complete [2021-05-12T20:54:02.850Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:54:02.850Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:54:02.850Z] ---> 9852663dfa18 [2021-05-12T20:54:02.850Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:54:03.448Z] ---> Running in 9fb218eff13c [2021-05-12T20:54:03.723Z] Removing intermediate container 9fb218eff13c [2021-05-12T20:54:03.723Z] ---> ddb38eec9fbf [2021-05-12T20:54:03.723Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:54:04.014Z] ---> Running in f287c8822a38 [2021-05-12T20:54:06.004Z] Removing intermediate container f287c8822a38 [2021-05-12T20:54:06.004Z] ---> 71e32f19305a [2021-05-12T20:54:06.004Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:54:06.004Z] ---> Running in 87e6a96363ec [2021-05-12T20:54:07.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:54:08.027Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:54:08.618Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:54:08.618Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:54:08.894Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:54:08.894Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:54:09.164Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:54:09.164Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:54:09.443Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:54:09.443Z] OK: 8 MiB in 20 packages [2021-05-12T20:54:10.419Z] Removing intermediate container 87e6a96363ec [2021-05-12T20:54:10.419Z] ---> 0110946e7c4a [2021-05-12T20:54:10.419Z] Step 16/25 : WORKDIR / [2021-05-12T20:54:10.690Z] ---> Running in 92158178aa5a [2021-05-12T20:54:11.283Z] Removing intermediate container 92158178aa5a [2021-05-12T20:54:11.283Z] ---> 5117fe5f299f [2021-05-12T20:54:11.283Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:54:11.880Z] ---> 4ab72c492f17 [2021-05-12T20:54:11.880Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:54:12.855Z] ---> 0fac76b7e611 [2021-05-12T20:54:12.855Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:54:14.285Z] ---> ae44d24a7b03 [2021-05-12T20:54:14.285Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:54:14.285Z] ---> Running in 3298e00d44ea [2021-05-12T20:54:14.879Z] Removing intermediate container 3298e00d44ea [2021-05-12T20:54:14.879Z] ---> 3d257f2f4bc3 [2021-05-12T20:54:14.879Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:54:14.879Z] ---> Running in b39e01766015 [2021-05-12T20:54:15.476Z] Removing intermediate container b39e01766015 [2021-05-12T20:54:15.476Z] ---> 6d5a7250b250 [2021-05-12T20:54:15.476Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:54:15.476Z] ---> Running in 6cab2042888b [2021-05-12T20:54:16.072Z] Removing intermediate container 6cab2042888b [2021-05-12T20:54:16.072Z] ---> cf8a7b1eb67a [2021-05-12T20:54:16.072Z] Step 23/25 : LABEL arch=arm64 [2021-05-12T20:54:16.072Z] ---> Running in 94aff23e6679 [2021-05-12T20:54:16.670Z] Removing intermediate container 94aff23e6679 [2021-05-12T20:54:16.670Z] ---> 75bf0d9a74e8 [2021-05-12T20:54:16.670Z] Step 24/25 : LABEL git_sha=6d23b80da3d6d084643c753e6704b2add1fc5b67 [2021-05-12T20:54:16.670Z] ---> Running in 783c04b632d8 [2021-05-12T20:54:17.264Z] Removing intermediate container 783c04b632d8 [2021-05-12T20:54:17.264Z] ---> 48d5d97b9050 [2021-05-12T20:54:17.264Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:54:17.264Z] ---> Running in 73c152fa1f4f [2021-05-12T20:54:17.858Z] Removing intermediate container 73c152fa1f4f [2021-05-12T20:54:17.858Z] ---> 271ce52ae141 [2021-05-12T20:54:17.858Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:54:17.858Z] Successfully built 271ce52ae141 [2021-05-12T20:54:17.858Z] 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] libraryResource [Pipeline] sh [2021-05-12T20:54:18.594Z] ---> job-cost.sh [2021-05-12T20:54:18.594Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MXyr [2021-05-12T20:54:20.844Z] lf-activate-venv(): INFO: Adding /tmp/venv-cd1P/bin to PATH [2021-05-12T20:54:20.844Z] INFO: No Stack... [2021-05-12T20:54:21.460Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:54:22.457Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:54:22.813Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-12T20:54:22.813Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:54:22.953Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [2021-05-12T20:54:22.960Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] did not exist. Created. [2021-05-12T20:54:22.961Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:54:23.403Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:54:23.564Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:54:23.585Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:55:15.089Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:57:06.900Z] lf-activate-venv(): INFO: Adding /tmp/venv-MXyr/bin to PATH [2021-05-12T20:57:06.900Z] INFO: No Stack... [2021-05-12T20:57:06.900Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:57:06.900Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:57:07.264Z] + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 [2021-05-12T20:57:07.264Z] [Pipeline] lock [2021-05-12T20:57:07.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [2021-05-12T20:57:07.417Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] did not exist. Created. [2021-05-12T20:57:07.417Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:57:07.858Z] /w/workspace/device-virtual-go/1@tmp/durable-23421775/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-23421775/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:57:08.255Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:57:08.296Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:57:08.470Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:57:08.498Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-206-1-stack-cost] [Pipeline] // lock [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] wrap [2021-05-12T20:57:09.311Z] provisioning config files... [2021-05-12T20:57:09.322Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-206@tmp/config8234256409198154905tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:57:09.695Z] + set +x [2021-05-12T20:57:09.695Z] + curl -s https://codecov.io/bash [2021-05-12T20:57:09.695Z] + bash -s -- [2021-05-12T20:57:09.965Z] [2021-05-12T20:57:09.965Z] _____ _ [2021-05-12T20:57:09.965Z] / ____| | | [2021-05-12T20:57:09.965Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:57:09.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:57:09.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:57:09.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:57:09.965Z] Bash-1.0.2 [2021-05-12T20:57:09.965Z] [2021-05-12T20:57:09.965Z] [2021-05-12T20:57:09.965Z] ==> git version 2.24.3 found [2021-05-12T20:57:09.965Z] ==> 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-05-12T20:57:09.965Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:57:09.965Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:57:09.965Z] ==> Jenkins CI detected. [2021-05-12T20:57:09.965Z] project root: . [2021-05-12T20:57:09.965Z] --> token set from env [2021-05-12T20:57:09.965Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:57:09.965Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:57:09.965Z] ==> Python coveragepy not found [2021-05-12T20:57:09.965Z] ==> Searching for coverage reports in: [2021-05-12T20:57:09.965Z] + . [2021-05-12T20:57:09.965Z] -> Found 1 reports [2021-05-12T20:57:09.965Z] ==> Detecting git/mercurial file structure [2021-05-12T20:57:09.965Z] ==> Reading reports [2021-05-12T20:57:09.965Z] + ./coverage.out bytes=47247 [2021-05-12T20:57:09.965Z] ==> Appending adjustments [2021-05-12T20:57:09.965Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:57:10.231Z] + Found adjustments [2021-05-12T20:57:10.231Z] ==> Gzipping contents [2021-05-12T20:57:10.231Z] 8.0K /tmp/codecov.HviIAQ.gz [2021-05-12T20:57:10.231Z] ==> Uploading reports [2021-05-12T20:57:10.231Z] url: https://codecov.io [2021-05-12T20:57:10.231Z] query: branch=PR-206&commit=6d23b80da3d6d084643c753e6704b2add1fc5b67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=206&job=&cmd_args= [2021-05-12T20:57:10.231Z] -> Pinging Codecov [2021-05-12T20:57:10.231Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-206&commit=6d23b80da3d6d084643c753e6704b2add1fc5b67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-206%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=206&job=&cmd_args= [2021-05-12T20:57:10.818Z] -> Uploading to [2021-05-12T20:57:10.818Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/6d23b80da3d6d084643c753e6704b2add1fc5b67/0047520c-f0c8-464d-9012-850040f02025.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T205710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4dbeb2f3dc89b9a21807bc5d73e1cb419c1b4101509e46d2d1144df327d91b99 [2021-05-12T20:57:10.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:57:10.818Z] Dload Upload Total Spent Left Speed [2021-05-12T20:57:11.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5781 0 0 100 5781 0 14248 --:--:-- --:--:-- --:--:-- 14238 [2021-05-12T20:57:11.081Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6d23b80da3d6d084643c753e6704b2add1fc5b67 [Pipeline] } [2021-05-12T20:57:11.120Z] Deleting 1 temporary files [Pipeline] // wrap [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:12.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:13.359Z] ---> package-listing.sh [2021-05-12T20:57:13.359Z] ++ facter osfamily [2021-05-12T20:57:13.359Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:57:13.359Z] + OS_FAMILY=redhat [2021-05-12T20:57:13.359Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-206 [2021-05-12T20:57:13.359Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:57:13.359Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:57:13.359Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:57:13.359Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:57:13.359Z] + '[' /w/workspace/foundry_device-virtual-go_PR-206 ']' [2021-05-12T20:57:13.359Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:57:13.359Z] + case "${OS_FAMILY}" in [2021-05-12T20:57:13.359Z] + rpm -qa [2021-05-12T20:57:13.359Z] + sort [2021-05-12T20:57:18.683Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:57:18.683Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:57:18.683Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:57:18.683Z] + '[' /w/workspace/foundry_device-virtual-go_PR-206 ']' [2021-05-12T20:57:18.683Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-206/archives/ [2021-05-12T20:57:18.683Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-206/archives/ [Pipeline] echo [2021-05-12T20:57:18.724Z] 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:57:19.041Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:57:19.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:57:19.384Z] [2021-05-12T20:57:19.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:57:19.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:57:19.747Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:57:19.747Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:57:19.747Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:57:19.747Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:57:19.747Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:57:19.747Z] 93b61091891f: Pulling fs layer [2021-05-12T20:57:19.747Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:57:19.747Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:57:19.747Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:57:19.747Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:57:19.747Z] 46f8f816bc3b: Waiting [2021-05-12T20:57:19.747Z] 5e14af77c1be: Waiting [2021-05-12T20:57:19.747Z] 93b61091891f: Waiting [2021-05-12T20:57:19.747Z] 01666e4c0597: Waiting [2021-05-12T20:57:19.747Z] 93b9cdb0e59b: Waiting [2021-05-12T20:57:19.747Z] aa168da1d23b: Waiting [2021-05-12T20:57:19.747Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:57:19.747Z] 36b3adc4ff6f: Download complete [2021-05-12T20:57:19.747Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:57:19.747Z] 46f8f816bc3b: Download complete [2021-05-12T20:57:19.747Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:57:19.747Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:57:19.747Z] 93b9cdb0e59b: Download complete [2021-05-12T20:57:20.013Z] 5e14af77c1be: Download complete [2021-05-12T20:57:20.013Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:57:20.013Z] 01666e4c0597: Download complete [2021-05-12T20:57:20.013Z] 93b61091891f: Verifying Checksum [2021-05-12T20:57:20.013Z] 93b61091891f: Download complete [2021-05-12T20:57:20.013Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:57:20.013Z] 8ad3a11d3b57: Download complete [2021-05-12T20:57:20.280Z] df20fa9351a1: Pull complete [2021-05-12T20:57:20.547Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:57:21.132Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:57:21.397Z] 46f8f816bc3b: Pull complete [2021-05-12T20:57:22.388Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:57:22.388Z] aa168da1d23b: Download complete [2021-05-12T20:57:22.388Z] 93b61091891f: Pull complete [2021-05-12T20:57:22.652Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:57:22.652Z] 5e14af77c1be: Pull complete [2021-05-12T20:57:22.918Z] 01666e4c0597: Pull complete [2021-05-12T20:57:29.579Z] aa168da1d23b: Pull complete [2021-05-12T20:57:29.579Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:57:29.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:57:29.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:57:29.840Z] prd-centos7-docker-4c-2g-4889 does not seem to be running inside a container [2021-05-12T20:57:29.889Z] $ 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-206/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-206 -v /w/workspace/foundry_device-virtual-go_PR-206:/w/workspace/foundry_device-virtual-go_PR-206:rw,z -v /w/workspace/foundry_device-virtual-go_PR-206@tmp:/w/workspace/foundry_device-virtual-go_PR-206@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:57:35.147Z] $ docker top 9da4f0093c65f789e78875332ff90688348deef33b2d7c886ef21efb923608fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:57:35.628Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:57:35.951Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:57:36.280Z] + ls /var/log/sa-host [2021-05-12T20:57:36.280Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:57:36.280Z] file_magic: OK [2021-05-12T20:57:36.280Z] HZ: Using current value: 100 [2021-05-12T20:57:36.280Z] file_header: OK [2021-05-12T20:57:36.280Z] 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-05-12T20:57:36.280Z] Statistics: [2021-05-12T20:57:36.280Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:57:36.280Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:57:36.280Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:57:36.280Z] file_magic: OK [2021-05-12T20:57:36.280Z] HZ: Using current value: 100 [2021-05-12T20:57:36.280Z] file_header: OK [2021-05-12T20:57:36.280Z] 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-05-12T20:57:36.280Z] Statistics: [2021-05-12T20:57:36.280Z] Hnuu...uuuununununu... [2021-05-12T20:57:36.280Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:57:36.521Z] provisioning config files... [2021-05-12T20:57:36.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-206@tmp/config9029089298538648125tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:57:36.599Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:36.944Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:57:36.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:57:37.045Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:37.428Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:57:37.509Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:37.851Z] ---> sudo-logs.sh [2021-05-12T20:57:37.851Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:57:37.957Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:38.295Z] ---> job-cost.sh [2021-05-12T20:57:38.295Z] lf-activate-venv: SKIPPING [2021-05-12T20:57:38.295Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:57:38.295Z] INFO: Retrieving Stack Cost... [2021-05-12T20:57:39.244Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:57:39.506Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:57:39.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:57:39.881Z] ---> logs-deploy.sh [2021-05-12T20:57:39.881Z] lf-activate-venv: SKIPPING [2021-05-12T20:57:39.881Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-206/1 [2021-05-12T20:57:39.881Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:57:41.806Z] Archives upload complete. [2021-05-12T20:57:41.806Z] INFO: archiving logs to Nexus