Pull request #226 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 623b05d18bbe0b63cb8b18ad97096b46f464052e+fd53acc9c14dc637ad1d0649aa2130107251e178 (b84f88326ac47ae4ae47d06215b151ddda57a9e9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8610411220833219955.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh312797645890133157.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-226/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-226/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6773506459485091914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-226/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3368845736838812341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh75184898387289884.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-226/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-226/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1521847905147706721.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-506 in /w/workspace/foundry_device-virtual-go_PR-226 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-226 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-226@tmp/jenkins-gitclient-ssh3819975532137737388.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Merging remotes/origin/master commit fd53acc9c14dc637ad1d0649aa2130107251e178 into PR head commit 623b05d18bbe0b63cb8b18ad97096b46f464052e Merge succeeded, producing 623b05d18bbe0b63cb8b18ad97096b46f464052e Checking out Revision 623b05d18bbe0b63cb8b18ad97096b46f464052e (PR-226) Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-226@tmp/jenkins-gitclient-ssh8471074845854368397.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-226@tmp/jenkins-gitclient-ssh8748179545536361255.key > git merge fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-21T11:05:53.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-21T11:05:53.687Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-21T11:05:53.810Z] ========================================================= [2021-06-21T11:05:53.810Z] EdgeX Global Pipelines Version Info [2021-06-21T11:05:53.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:05:55.285Z] ------------------- [2021-06-21T11:05:55.285Z] stable info: [2021-06-21T11:05:55.285Z] ------------------- [2021-06-21T11:05:55.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-21T11:05:55.285Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T11:05:55.285Z] Message: update stable to v1.0.195 [2021-06-21T11:05:55.861Z] ------------------- [2021-06-21T11:05:55.861Z] experimental info: [2021-06-21T11:05:55.861Z] ------------------- [2021-06-21T11:05:55.861Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-21T11:05:55.861Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T11:05:55.861Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-21T11:05:56.113Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-21T11:05:56.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-21T11:05:56.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-21T11:05:56.305Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-21T11:05:56.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-21T11:05:56.434Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-21T11:05:56.499Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-21T11:05:56.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-21T11:05:56.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-21T11:05:56.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-21T11:05:56.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-21T11:05:56.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-21T11:05:56.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-21T11:05:56.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-21T11:05:57.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T11:05:57.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T11:05:57.138Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T11:05:57.250Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T11:05:57.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-21T11:05:57.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-21T11:05:57.448Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-21T11:05:57.514Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-21T11:05:57.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-21T11:05:57.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-21T11:05:57.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-21T11:05:57.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-21T11:05:57.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-226 [Pipeline] echo [2021-06-21T11:05:57.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-226 [Pipeline] echo [2021-06-21T11:05:57.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-226 [Pipeline] echo [2021-06-21T11:05:58.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 623b05d18bbe0b63cb8b18ad97096b46f464052e [Pipeline] echo [2021-06-21T11:05:58.087Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 623b05d [Pipeline] echo [2021-06-21T11:05:58.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T11:05:58.332Z] provisioning config files... [2021-06-21T11:05:58.354Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-226@tmp/config2628627867943022042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:05:58.732Z] ---> docker-login.sh [2021-06-21T11:05:58.732Z] nexus3.edgexfoundry.org:10001 [2021-06-21T11:05:58.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:05:58.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:05:58.997Z] Configure a credential helper to remove this warning. See [2021-06-21T11:05:58.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:05:58.997Z] [2021-06-21T11:05:58.997Z] Login Succeeded [2021-06-21T11:05:58.997Z] nexus3.edgexfoundry.org:10002 [2021-06-21T11:05:58.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:05:59.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:05:59.259Z] Configure a credential helper to remove this warning. See [2021-06-21T11:05:59.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:05:59.259Z] [2021-06-21T11:05:59.259Z] Login Succeeded [2021-06-21T11:05:59.259Z] nexus3.edgexfoundry.org:10003 [2021-06-21T11:05:59.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:05:59.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:05:59.259Z] Configure a credential helper to remove this warning. See [2021-06-21T11:05:59.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:05:59.260Z] [2021-06-21T11:05:59.260Z] Login Succeeded [2021-06-21T11:05:59.260Z] nexus3.edgexfoundry.org:10004 [2021-06-21T11:05:59.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:05:59.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:05:59.525Z] Configure a credential helper to remove this warning. See [2021-06-21T11:05:59.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:05:59.525Z] [2021-06-21T11:05:59.525Z] Login Succeeded [2021-06-21T11:05:59.525Z] docker.io [2021-06-21T11:05:59.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:05:59.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:05:59.788Z] Configure a credential helper to remove this warning. See [2021-06-21T11:05:59.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:05:59.788Z] [2021-06-21T11:05:59.788Z] Login Succeeded [2021-06-21T11:05:59.788Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T11:05:59.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T11:06:00.716Z] + git log --format=format:%s -1 623b05d18bbe0b63cb8b18ad97096b46f464052e [Pipeline] echo [2021-06-21T11:06:00.780Z] GIT_COMMIT: 623b05d18bbe0b63cb8b18ad97096b46f464052e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-06-21T11:06:00.826Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:06:01.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T11:06:01.602Z] [2021-06-21T11:06:01.602Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:06:02.053Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T11:06:02.053Z] latest: Pulling from edgex-devops/git-semver [2021-06-21T11:06:02.053Z] 31603596830f: Pulling fs layer [2021-06-21T11:06:02.053Z] 54011a49482f: Pulling fs layer [2021-06-21T11:06:02.053Z] a6820b24f6d8: Pulling fs layer [2021-06-21T11:06:02.053Z] f581987b2513: Pulling fs layer [2021-06-21T11:06:02.053Z] f581987b2513: Waiting [2021-06-21T11:06:02.053Z] 54011a49482f: Verifying Checksum [2021-06-21T11:06:02.053Z] 54011a49482f: Download complete [2021-06-21T11:06:02.322Z] 31603596830f: Verifying Checksum [2021-06-21T11:06:02.322Z] 31603596830f: Download complete [2021-06-21T11:06:02.322Z] f581987b2513: Verifying Checksum [2021-06-21T11:06:02.322Z] f581987b2513: Download complete [2021-06-21T11:06:02.322Z] a6820b24f6d8: Verifying Checksum [2021-06-21T11:06:02.322Z] a6820b24f6d8: Download complete [2021-06-21T11:06:02.322Z] 31603596830f: Pull complete [2021-06-21T11:06:02.586Z] 54011a49482f: Pull complete [2021-06-21T11:06:03.170Z] a6820b24f6d8: Pull complete [2021-06-21T11:06:03.438Z] f581987b2513: Pull complete [2021-06-21T11:06:03.438Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-21T11:06:03.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T11:06:03.438Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-21T11:06:03.560Z] prd-centos7-docker-4c-2g-506 does not seem to be running inside a container [2021-06-21T11:06:03.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-226 -v /w/workspace/foundry_device-virtual-go_PR-226:/w/workspace/foundry_device-virtual-go_PR-226:rw,z -v /w/workspace/foundry_device-virtual-go_PR-226@tmp:/w/workspace/foundry_device-virtual-go_PR-226@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-21T11:06:07.047Z] $ docker top fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-21T11:06:07.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T11:06:07.276Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T11:06:07.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T11:06:07.400Z] $ docker exec fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 ssh-agent [2021-06-21T11:06:07.523Z] SSH_AUTH_SOCK=/tmp/ssh-zmkHj7gImRbU/agent.15 [2021-06-21T11:06:07.523Z] SSH_AGENT_PID=21 [2021-06-21T11:06:07.540Z] Running ssh-add (command line suppressed) [2021-06-21T11:06:07.646Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-226@tmp/private_key_3783924775752281637.key (/w/workspace/foundry_device-virtual-go_PR-226@tmp/private_key_3783924775752281637.key) [2021-06-21T11:06:07.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T11:06:08.024Z] + git tag --points-at HEAD [Pipeline] } [2021-06-21T11:06:08.044Z] $ docker exec --env ******** --env ******** fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 ssh-agent -k [2021-06-21T11:06:08.190Z] unset SSH_AUTH_SOCK; [2021-06-21T11:06:08.190Z] unset SSH_AGENT_PID; [2021-06-21T11:06:08.190Z] echo Agent pid 21 killed; [2021-06-21T11:06:08.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-21T11:06:08.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T11:06:08.307Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T11:06:08.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T11:06:08.440Z] $ docker exec fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 ssh-agent [2021-06-21T11:06:08.567Z] SSH_AUTH_SOCK=/tmp/ssh-fopLQmGZYZg3/agent.55 [2021-06-21T11:06:08.567Z] SSH_AGENT_PID=61 [2021-06-21T11:06:08.574Z] Running ssh-add (command line suppressed) [2021-06-21T11:06:08.683Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-226@tmp/private_key_2579738538839729451.key (/w/workspace/foundry_device-virtual-go_PR-226@tmp/private_key_2579738538839729451.key) [2021-06-21T11:06:08.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T11:06:09.053Z] + git semver init [2021-06-21T11:06:09.053Z] # -> Open(): unable to determine branch for HEAD [2021-06-21T11:06:09.053Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-226/.git [2021-06-21T11:06:09.053Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-226 [2021-06-21T11:06:09.053Z] # $SEMVER_REMOTE_NAME = origin [2021-06-21T11:06:09.053Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-21T11:06:09.053Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-21T11:06:09.053Z] # $SEMVER_BRANCH = PR-226 [2021-06-21T11:06:09.053Z] # $SEMVER_TEMP = /tmp/semver-710558436 [2021-06-21T11:06:09.053Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-21T11:06:10.459Z] # '/tmp/semver-710558436' -> '/w/workspace/foundry_device-virtual-go_PR-226/.semver' [2021-06-21T11:06:10.459Z] # -> Force: false [2021-06-21T11:06:10.459Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-226/.semver [Pipeline] } [2021-06-21T11:06:10.480Z] $ docker exec --env ******** --env ******** fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 ssh-agent -k [2021-06-21T11:06:10.583Z] unset SSH_AUTH_SOCK; [2021-06-21T11:06:10.584Z] unset SSH_AGENT_PID; [2021-06-21T11:06:10.584Z] echo Agent pid 61 killed; [2021-06-21T11:06:10.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-21T11:06:11.045Z] + git semver [Pipeline] } [2021-06-21T11:06:11.082Z] $ docker stop --time=1 fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 [2021-06-21T11:06:12.675Z] $ docker rm -f fcc7eb81569bff24f6eb0ca33daa41e0fb9e8484bf5eb15fb879a35e9b4c56d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T11:06:13.128Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-21T11:06:13.610Z] Stashed 1 file(s) [Pipeline] echo [2021-06-21T11:06:13.635Z] [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-06-21T11:06:29.375Z] Still waiting to schedule task [2021-06-21T11:06:29.376Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-21T11:06:29.426Z] Still waiting to schedule task [2021-06-21T11:06:29.427Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-21T11:08:40.126Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-507 in /w/workspace/foundry_device-virtual-go_PR-226 [Pipeline] { [Pipeline] ws [2021-06-21T11:08:40.188Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-21T11:08:40.649Z] The recommended git tool is: git [2021-06-21T11:08:45.883Z] using credential edgex-jenkins-ssh [2021-06-21T11:08:45.914Z] Cloning the remote Git repository [2021-06-21T11:08:45.969Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:46.181Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-21T11:08:46.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:46.346Z] > git --version # timeout=10 [2021-06-21T11:08:46.366Z] > git --version # 'git version 2.17.1' [2021-06-21T11:08:46.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:46.444Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T11:08:47.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-21T11:08:48.558Z] Merging remotes/origin/master commit fd53acc9c14dc637ad1d0649aa2130107251e178 into PR head commit 623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:08:48.746Z] Merge succeeded, producing 623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:08:48.747Z] Checking out Revision 623b05d18bbe0b63cb8b18ad97096b46f464052e (PR-226) [2021-06-21T11:08:47.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T11:08:48.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-21T11:08:48.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:48.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:48.057Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T11:08:48.574Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T11:08:48.588Z] > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 [2021-06-21T11:08:48.660Z] > git remote # timeout=10 [2021-06-21T11:08:48.676Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T11:08:48.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:48.705Z] > git merge fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 [2021-06-21T11:08:48.729Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T11:08:48.750Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T11:08:48.770Z] > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 [2021-06-21T11:08:49.884Z] Running on prd-centos7-docker-4c-2g-508 in /w/workspace/foundry_device-virtual-go_PR-226 [Pipeline] { [Pipeline] ws [2021-06-21T11:08:49.951Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-21T11:08:50.120Z] The recommended git tool is: git [2021-06-21T11:08:52.779Z] using credential edgex-jenkins-ssh [2021-06-21T11:08:52.795Z] Cloning the remote Git repository [2021-06-21T11:08:53.070Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-21T11:08:53.120Z] > git --version # timeout=10 [2021-06-21T11:08:53.131Z] > git --version # 'git version 2.17.1' [2021-06-21T11:08:53.154Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-21T11:08:52.822Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:52.888Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-21T11:08:52.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:52.916Z] > git --version # timeout=10 [2021-06-21T11:08:52.927Z] > git --version # 'git version 2.24.4' [2021-06-21T11:08:52.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:52.952Z] [INFO] Currently running in a labeled security context [2021-06-21T11:08:52.952Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T11:08:52.952Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5651527913151341013.key [2021-06-21T11:08:52.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T11:08:54.682Z] Merging remotes/origin/master commit fd53acc9c14dc637ad1d0649aa2130107251e178 into PR head commit 623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:08:54.769Z] Merge succeeded, producing 623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:08:54.769Z] Checking out Revision 623b05d18bbe0b63cb8b18ad97096b46f464052e (PR-226) [2021-06-21T11:08:53.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-21T11:08:53.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T11:08:53.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-21T11:08:53.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-21T11:08:53.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:53.901Z] [INFO] Currently running in a labeled security context [2021-06-21T11:08:53.901Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T11:08:53.901Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5577617899826532588.key [2021-06-21T11:08:53.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T11:08:54.688Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T11:08:54.700Z] > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 [2021-06-21T11:08:54.726Z] > git remote # timeout=10 [2021-06-21T11:08:54.735Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T11:08:54.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T11:08:54.741Z] [INFO] Currently running in a labeled security context [2021-06-21T11:08:54.741Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T11:08:54.741Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6843687544879301182.key [2021-06-21T11:08:54.746Z] > git merge fd53acc9c14dc637ad1d0649aa2130107251e178 # timeout=10 [2021-06-21T11:08:54.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T11:08:54.769Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T11:08:54.775Z] > git checkout -f 623b05d18bbe0b63cb8b18ad97096b46f464052e # timeout=10 [2021-06-21T11:08:54.889Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-21T11:08:55.326Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T11:08:55.690Z] + true [2021-06-21T11:08:55.690Z] + sudo service docker restart [2021-06-21T11:08:58.446Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-21T11:08:58.470Z] > git --version # timeout=10 [2021-06-21T11:08:58.483Z] > git --version # 'git version 2.24.4' [2021-06-21T11:08:58.486Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T11:08:59.768Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-21T11:09:00.113Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T11:09:00.466Z] + sudo service docker restart [2021-06-21T11:09:00.466Z] + true [2021-06-21T11:09:00.466Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T11:09:14.193Z] provisioning config files... [2021-06-21T11:09:14.224Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8357119928801844187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:09:14.652Z] ---> docker-login.sh [2021-06-21T11:09:14.652Z] nexus3.edgexfoundry.org:10001 [2021-06-21T11:09:15.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:15.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:15.922Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:15.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:15.922Z] [2021-06-21T11:09:15.922Z] Login Succeeded [2021-06-21T11:09:15.922Z] nexus3.edgexfoundry.org:10002 [2021-06-21T11:09:16.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:16.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:16.473Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:16.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:16.473Z] [2021-06-21T11:09:16.473Z] Login Succeeded [2021-06-21T11:09:16.473Z] nexus3.edgexfoundry.org:10003 [2021-06-21T11:09:16.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:17.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:17.026Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:17.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:17.026Z] [2021-06-21T11:09:17.026Z] Login Succeeded [2021-06-21T11:09:17.026Z] nexus3.edgexfoundry.org:10004 [2021-06-21T11:09:17.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:17.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:17.577Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:17.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:17.577Z] [2021-06-21T11:09:17.577Z] Login Succeeded [2021-06-21T11:09:17.577Z] docker.io [2021-06-21T11:09:17.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:18.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:18.124Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:18.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:18.124Z] [2021-06-21T11:09:18.124Z] Login Succeeded [2021-06-21T11:09:18.124Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T11:09:18.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T11:09:18.723Z] provisioning config files... [2021-06-21T11:09:18.738Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4512715239335493805tmp [Pipeline] { [Pipeline] echo [2021-06-21T11:09:18.787Z] ========================================================= [2021-06-21T11:09:18.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-21T11:09:18.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:09:19.158Z] ---> docker-login.sh [2021-06-21T11:09:19.158Z] nexus3.edgexfoundry.org:10001 [2021-06-21T11:09:19.308Z] + 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-06-21T11:09:19.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:19.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:19.426Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:19.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:19.426Z] [2021-06-21T11:09:19.426Z] Login Succeeded [2021-06-21T11:09:19.426Z] nexus3.edgexfoundry.org:10002 [2021-06-21T11:09:19.596Z] Sending build context to Docker daemon 8.622MB [2021-06-21T11:09:19.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:19.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:19.689Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:19.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:19.689Z] [2021-06-21T11:09:19.689Z] Login Succeeded [2021-06-21T11:09:19.689Z] nexus3.edgexfoundry.org:10003 [2021-06-21T11:09:19.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:19.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:19.689Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:19.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:19.689Z] [2021-06-21T11:09:19.689Z] Login Succeeded [2021-06-21T11:09:19.689Z] nexus3.edgexfoundry.org:10004 [2021-06-21T11:09:19.877Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T11:09:19.877Z] Step 2/8 : FROM ${BASE} [2021-06-21T11:09:19.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:19.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:19.952Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:19.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:19.952Z] [2021-06-21T11:09:19.952Z] Login Succeeded [2021-06-21T11:09:19.952Z] docker.io [2021-06-21T11:09:19.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T11:09:20.157Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-21T11:09:20.157Z] 595b0fe564bb: Pulling fs layer [2021-06-21T11:09:20.157Z] 3088b5b3c5c0: Pulling fs layer [2021-06-21T11:09:20.157Z] 5b7225fbf94c: Pulling fs layer [2021-06-21T11:09:20.157Z] ba82ee9f976e: Pulling fs layer [2021-06-21T11:09:20.157Z] 506bd15cee9f: Pulling fs layer [2021-06-21T11:09:20.157Z] 75a0a4a0db45: Pulling fs layer [2021-06-21T11:09:20.157Z] 618dc40b7e24: Pulling fs layer [2021-06-21T11:09:20.157Z] 506bd15cee9f: Waiting [2021-06-21T11:09:20.157Z] 75a0a4a0db45: Waiting [2021-06-21T11:09:20.157Z] 618dc40b7e24: Waiting [2021-06-21T11:09:20.157Z] ba82ee9f976e: Waiting [2021-06-21T11:09:20.157Z] 5b7225fbf94c: Verifying Checksum [2021-06-21T11:09:20.157Z] 5b7225fbf94c: Download complete [2021-06-21T11:09:20.157Z] 3088b5b3c5c0: Verifying Checksum [2021-06-21T11:09:20.157Z] 3088b5b3c5c0: Download complete [2021-06-21T11:09:20.157Z] 506bd15cee9f: Verifying Checksum [2021-06-21T11:09:20.157Z] 506bd15cee9f: Download complete [2021-06-21T11:09:20.157Z] 75a0a4a0db45: Download complete [2021-06-21T11:09:20.157Z] 595b0fe564bb: Verifying Checksum [2021-06-21T11:09:20.157Z] 595b0fe564bb: Download complete [2021-06-21T11:09:20.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T11:09:20.214Z] Configure a credential helper to remove this warning. See [2021-06-21T11:09:20.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T11:09:20.214Z] [2021-06-21T11:09:20.214Z] Login Succeeded [2021-06-21T11:09:20.214Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T11:09:20.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T11:09:20.554Z] ========================================================= [2021-06-21T11:09:20.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-21T11:09:20.554Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:09:20.783Z] 595b0fe564bb: Pull complete [2021-06-21T11:09:20.913Z] + 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-06-21T11:09:20.913Z] Sending build context to Docker daemon 8.623MB [2021-06-21T11:09:20.913Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T11:09:20.913Z] Step 2/8 : FROM ${BASE} [2021-06-21T11:09:21.176Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-21T11:09:21.176Z] 540db60ca938: Pulling fs layer [2021-06-21T11:09:21.176Z] adcc1eea9eea: Pulling fs layer [2021-06-21T11:09:21.176Z] 4c4ab2625f07: Pulling fs layer [2021-06-21T11:09:21.176Z] 0510c868ecb4: Pulling fs layer [2021-06-21T11:09:21.176Z] afea3b2eda06: Pulling fs layer [2021-06-21T11:09:21.176Z] 7809a108b3ef: Pulling fs layer [2021-06-21T11:09:21.176Z] f706445af74f: Pulling fs layer [2021-06-21T11:09:21.176Z] 0510c868ecb4: Waiting [2021-06-21T11:09:21.176Z] afea3b2eda06: Waiting [2021-06-21T11:09:21.176Z] 7809a108b3ef: Waiting [2021-06-21T11:09:21.176Z] f706445af74f: Waiting [2021-06-21T11:09:21.393Z] 3088b5b3c5c0: Pull complete [2021-06-21T11:09:21.437Z] 4c4ab2625f07: Verifying Checksum [2021-06-21T11:09:21.437Z] 4c4ab2625f07: Download complete [2021-06-21T11:09:21.437Z] adcc1eea9eea: Verifying Checksum [2021-06-21T11:09:21.437Z] adcc1eea9eea: Download complete [2021-06-21T11:09:21.437Z] afea3b2eda06: Verifying Checksum [2021-06-21T11:09:21.437Z] afea3b2eda06: Download complete [2021-06-21T11:09:21.437Z] 7809a108b3ef: Verifying Checksum [2021-06-21T11:09:21.437Z] 7809a108b3ef: Download complete [2021-06-21T11:09:21.437Z] 540db60ca938: Verifying Checksum [2021-06-21T11:09:21.437Z] 540db60ca938: Download complete [2021-06-21T11:09:21.668Z] 5b7225fbf94c: Pull complete [2021-06-21T11:09:21.700Z] 540db60ca938: Pull complete [2021-06-21T11:09:21.701Z] adcc1eea9eea: Pull complete [2021-06-21T11:09:21.963Z] 4c4ab2625f07: Pull complete [2021-06-21T11:09:23.646Z] 618dc40b7e24: Verifying Checksum [2021-06-21T11:09:23.646Z] 618dc40b7e24: Download complete [2021-06-21T11:09:23.888Z] f706445af74f: Verifying Checksum [2021-06-21T11:09:23.888Z] f706445af74f: Download complete [2021-06-21T11:09:24.842Z] 0510c868ecb4: Verifying Checksum [2021-06-21T11:09:24.842Z] 0510c868ecb4: Download complete [2021-06-21T11:09:25.082Z] ba82ee9f976e: Download complete [2021-06-21T11:09:28.169Z] 0510c868ecb4: Pull complete [2021-06-21T11:09:28.169Z] afea3b2eda06: Pull complete [2021-06-21T11:09:28.169Z] 7809a108b3ef: Pull complete [2021-06-21T11:09:29.570Z] f706445af74f: Pull complete [2021-06-21T11:09:29.570Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-21T11:09:29.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-21T11:09:29.570Z] ---> b068be0155e3 [2021-06-21T11:09:29.570Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-21T11:09:33.797Z] ---> Running in 3792a921ecb5 [2021-06-21T11:09:33.797Z] Removing intermediate container 3792a921ecb5 [2021-06-21T11:09:33.797Z] ---> 3a78dcf17014 [2021-06-21T11:09:33.797Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:09:33.797Z] ---> Running in 9269b2064567 [2021-06-21T11:09:34.062Z] Removing intermediate container 9269b2064567 [2021-06-21T11:09:34.062Z] ---> 72d3aea789d1 [2021-06-21T11:09:34.062Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-21T11:09:34.062Z] ---> Running in 4dd6024b1ff6 [2021-06-21T11:09:34.329Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-21T11:09:35.252Z] ba82ee9f976e: Pull complete [2021-06-21T11:09:35.276Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-21T11:09:35.526Z] 506bd15cee9f: Pull complete [2021-06-21T11:09:35.541Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-21T11:09:35.800Z] 75a0a4a0db45: Pull complete [2021-06-21T11:09:35.806Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-21T11:09:35.806Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-21T11:09:35.806Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-21T11:09:36.066Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-21T11:09:36.066Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-21T11:09:36.327Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-21T11:09:36.589Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-21T11:09:36.589Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-21T11:09:36.589Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-21T11:09:36.849Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-21T11:09:36.849Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-21T11:09:36.849Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-21T11:09:37.113Z] Executing busybox-1.32.1-r6.trigger [2021-06-21T11:09:37.113Z] OK: 156 MiB in 53 packages [2021-06-21T11:09:37.385Z] Removing intermediate container 4dd6024b1ff6 [2021-06-21T11:09:37.385Z] ---> 1c9f938ca62e [2021-06-21T11:09:37.385Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-21T11:09:37.385Z] ---> Running in 8d53a7bd423d [2021-06-21T11:09:37.649Z] Removing intermediate container 8d53a7bd423d [2021-06-21T11:09:37.649Z] ---> 163f7b64f85b [2021-06-21T11:09:37.649Z] Step 7/8 : COPY . . [2021-06-21T11:09:37.916Z] ---> 9bf3cb8f5984 [2021-06-21T11:09:37.916Z] Step 8/8 : RUN go mod download [2021-06-21T11:09:37.916Z] ---> Running in eb5e2f881f3d [2021-06-21T11:09:40.129Z] 618dc40b7e24: Pull complete [2021-06-21T11:09:40.130Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-21T11:09:40.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-21T11:09:40.130Z] ---> a36622ca3599 [2021-06-21T11:09:40.130Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-21T11:09:41.576Z] ---> Running in 216680d52797 [2021-06-21T11:09:42.173Z] Removing intermediate container 216680d52797 [2021-06-21T11:09:42.173Z] ---> f711a5ff0181 [2021-06-21T11:09:42.173Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:09:42.173Z] ---> Running in a37692964f1d [2021-06-21T11:09:44.797Z] Removing intermediate container a37692964f1d [2021-06-21T11:09:44.797Z] ---> 60c352aa4109 [2021-06-21T11:09:44.797Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-21T11:09:44.797Z] ---> Running in 997c88ac7133 [2021-06-21T11:09:46.233Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-21T11:09:46.826Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-21T11:09:47.803Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-21T11:09:47.803Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-21T11:09:47.803Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-21T11:09:47.803Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-21T11:09:48.075Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-21T11:09:48.075Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-21T11:09:48.351Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-21T11:09:48.627Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-21T11:09:48.627Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-21T11:09:48.899Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-21T11:09:48.899Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-21T11:09:49.175Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-21T11:09:49.446Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-21T11:09:49.446Z] Executing busybox-1.32.1-r6.trigger [2021-06-21T11:09:49.446Z] OK: 145 MiB in 53 packages [2021-06-21T11:09:50.885Z] Removing intermediate container 997c88ac7133 [2021-06-21T11:09:50.885Z] ---> 5399c145eb31 [2021-06-21T11:09:50.885Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-21T11:09:51.159Z] ---> Running in 68008d2bea0a [2021-06-21T11:09:51.760Z] Removing intermediate container 68008d2bea0a [2021-06-21T11:09:51.760Z] ---> ee11490a0eb6 [2021-06-21T11:09:51.760Z] Step 7/8 : COPY . . [2021-06-21T11:09:52.740Z] ---> 4196e0ba4ddd [2021-06-21T11:09:52.740Z] Step 8/8 : RUN go mod download [2021-06-21T11:09:52.854Z] Removing intermediate container eb5e2f881f3d [2021-06-21T11:09:52.854Z] ---> 8166318ef4a7 [2021-06-21T11:09:52.854Z] Successfully built 8166318ef4a7 [2021-06-21T11:09:52.854Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:09:53.011Z] ---> Running in 220cd6636057 [2021-06-21T11:09:53.229Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T11:09:53.229Z] . [Pipeline] withDockerContainer [2021-06-21T11:09:53.336Z] prd-centos7-docker-4c-2g-508 does not seem to be running inside a container [2021-06-21T11:09:53.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-21T11:09:53.734Z] $ docker top 32996d441baa9a6f9c3b9071f1c26660d3f75704419249d41ccbf32f74569293 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T11:09:54.186Z] + go version [2021-06-21T11:09:54.187Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-21T11:09:54.216Z] $ docker stop --time=1 32996d441baa9a6f9c3b9071f1c26660d3f75704419249d41ccbf32f74569293 [2021-06-21T11:09:55.396Z] $ docker rm -f 32996d441baa9a6f9c3b9071f1c26660d3f75704419249d41ccbf32f74569293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:09:56.237Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T11:09:56.237Z] . [Pipeline] withDockerContainer [2021-06-21T11:09:56.350Z] prd-centos7-docker-4c-2g-508 does not seem to be running inside a container [2021-06-21T11:09:56.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-21T11:09:56.865Z] $ docker top 5f84a40bcb60fe16c607cd05aa5437ead514b2c87dfa54143a6a4539aabcf29b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T11:09:57.456Z] + go mod tidy [Pipeline] sh [2021-06-21T11:09:58.060Z] + make test [2021-06-21T11:09:58.060Z] go mod tidy [2021-06-21T11:09:58.060Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-21T11:09:58.648Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-21T11:10:16.859Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-21T11:10:16.859Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.256s coverage: 63.8% of statements [2021-06-21T11:10:16.859Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-21T11:10:19.812Z] Removing intermediate container 220cd6636057 [2021-06-21T11:10:19.812Z] ---> 3fb48bac9c97 [2021-06-21T11:10:19.812Z] Successfully built 3fb48bac9c97 [2021-06-21T11:10:19.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:10:20.198Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T11:10:20.198Z] . [Pipeline] withDockerContainer [2021-06-21T11:10:20.488Z] prd-ubuntu18.04-docker-arm64-4c-16g-507 does not seem to be running inside a container [2021-06-21T11:10:20.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T11:10:22.230Z] $ docker top 2878b4e7e000ff6a2500df761e15054082a075eeb4f054f35e0ae23a2b47b086 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T11:10:23.222Z] + go version [2021-06-21T11:10:23.222Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-21T11:10:23.268Z] $ docker stop --time=1 2878b4e7e000ff6a2500df761e15054082a075eeb4f054f35e0ae23a2b47b086 [2021-06-21T11:10:23.489Z] gofmt -l . [2021-06-21T11:10:23.489Z] [ "`gofmt -l .`" = "" ] [2021-06-21T11:10:23.489Z] ./bin/test-attribution-txt.sh [2021-06-21T11:10:24.071Z] ./bin/test-go-mod-tidy.sh [2021-06-21T11:10:25.709Z] $ docker rm -f 2878b4e7e000ff6a2500df761e15054082a075eeb4f054f35e0ae23a2b47b086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-06-21T11:10:26.046Z] $ docker stop --time=1 5f84a40bcb60fe16c607cd05aa5437ead514b2c87dfa54143a6a4539aabcf29b [2021-06-21T11:10:27.550Z] $ docker rm -f 5f84a40bcb60fe16c607cd05aa5437ead514b2c87dfa54143a6a4539aabcf29b [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-06-21T11:10:28.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:10:28.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-06-21T11:10:28.673Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T11:10:28.673Z] . [Pipeline] stage [Pipeline] { (Build) [Pipeline] withDockerContainer [2021-06-21T11:10:29.013Z] prd-ubuntu18.04-docker-arm64-4c-16g-507 does not seem to be running inside a container [2021-06-21T11:10:29.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T11:10:30.792Z] $ docker top 8f87de843959f411360399579c8f665b9a95f06f9f8c5c98dd0774f923f8d3b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T11:10:31.813Z] + go mod tidy [Pipeline] sh [Pipeline] sh [2021-06-21T11:10:34.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T11:10:34.408Z] + ls -al . [2021-06-21T11:10:34.408Z] total 132 [2021-06-21T11:10:34.408Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 21 11:10 . [2021-06-21T11:10:34.408Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 11:08 .. [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 21 11:08 Attribution.txt [2021-06-21T11:10:34.408Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 21 11:08 bin [2021-06-21T11:10:34.408Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 21 11:08 cmd [2021-06-21T11:10:34.408Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 21 11:10 coverage.out [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 21 11:08 Dockerfile [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 21 11:08 Dockerfile.build [2021-06-21T11:10:34.408Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 11:08 .git [2021-06-21T11:10:34.408Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 21 11:08 .github [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 21 11:08 .gitignore [2021-06-21T11:10:34.408Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 21 11:10 go.mod [2021-06-21T11:10:34.408Z] -rw-r--r--. 1 jenkins jenkins 22922 Jun 21 11:09 go.sum [2021-06-21T11:10:34.408Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 21 11:08 internal [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 21 11:08 Jenkinsfile [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 21 11:08 LICENSE [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 21 11:08 Makefile [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 21 11:08 README.md [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 11:06 VERSION [2021-06-21T11:10:34.408Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 21 11:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:10:34.517Z] + make test [2021-06-21T11:10:34.517Z] go mod tidy [2021-06-21T11:10:34.759Z] + 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=623b05d18bbe0b63cb8b18ad97096b46f464052e --label arch=amd64 --label version=0.0.0 . [2021-06-21T11:10:34.759Z] Sending build context to Docker daemon 8.694MB [2021-06-21T11:10:34.759Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T11:10:34.759Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-21T11:10:34.759Z] ---> 8166318ef4a7 [2021-06-21T11:10:34.759Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T11:10:34.759Z] ---> Running in a85a7a56fedd [2021-06-21T11:10:35.024Z] Removing intermediate container a85a7a56fedd [2021-06-21T11:10:35.024Z] ---> 655f2953965f [2021-06-21T11:10:35.024Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T11:10:35.024Z] ---> Running in b7edb92503c1 [2021-06-21T11:10:35.024Z] Removing intermediate container b7edb92503c1 [2021-06-21T11:10:35.024Z] ---> 4159dcc48a34 [2021-06-21T11:10:35.024Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-21T11:10:35.024Z] ---> Running in 78fd5f1522ba [2021-06-21T11:10:35.024Z] Removing intermediate container 78fd5f1522ba [2021-06-21T11:10:35.024Z] ---> 1cc71e1c4b60 [2021-06-21T11:10:35.024Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:10:35.117Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-21T11:10:35.286Z] ---> Running in c9b77b653842 [2021-06-21T11:10:35.553Z] Removing intermediate container c9b77b653842 [2021-06-21T11:10:35.553Z] ---> 0591686a3b3e [2021-06-21T11:10:35.553Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T11:10:35.553Z] ---> Running in 53689549b652 [2021-06-21T11:10:35.815Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-21T11:10:36.102Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-21T11:10:36.760Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-21T11:10:37.021Z] OK: 156 MiB in 53 packages [2021-06-21T11:10:37.286Z] Removing intermediate container 53689549b652 [2021-06-21T11:10:37.286Z] ---> 578a8f2b87d7 [2021-06-21T11:10:37.286Z] Step 8/26 : COPY . . [2021-06-21T11:10:37.551Z] ---> 87c4c93c71bc [2021-06-21T11:10:37.551Z] Step 9/26 : RUN go mod tidy [2021-06-21T11:10:37.551Z] ---> Running in f22c03133996 [2021-06-21T11:10:38.529Z] Removing intermediate container f22c03133996 [2021-06-21T11:10:38.529Z] ---> a7747c6a072f [2021-06-21T11:10:38.529Z] Step 10/26 : RUN go mod download [2021-06-21T11:10:38.529Z] ---> Running in 96f807cf050b [2021-06-21T11:10:38.790Z] Removing intermediate container 96f807cf050b [2021-06-21T11:10:38.790Z] ---> ebddb5cdd0de [2021-06-21T11:10:38.790Z] Step 11/26 : ARG MAKE='make build' [2021-06-21T11:10:38.790Z] ---> Running in 1807eb9f27b2 [2021-06-21T11:10:38.790Z] Removing intermediate container 1807eb9f27b2 [2021-06-21T11:10:38.790Z] ---> c0b493e8cc1a [2021-06-21T11:10:38.790Z] Step 12/26 : RUN $MAKE [2021-06-21T11:10:39.054Z] ---> Running in c4ebb1ae2364 [2021-06-21T11:10:39.324Z] go mod tidy [2021-06-21T11:10:39.324Z] 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-06-21T11:10:54.362Z] Removing intermediate container c4ebb1ae2364 [2021-06-21T11:10:54.362Z] ---> 03a5675756ce [2021-06-21T11:10:54.362Z] Step 13/26 : FROM alpine:3.12 [2021-06-21T11:10:54.362Z] 3.12: Pulling from library/alpine [2021-06-21T11:10:54.362Z] 339de151aab4: Pulling fs layer [2021-06-21T11:10:54.362Z] 339de151aab4: Download complete [2021-06-21T11:10:54.626Z] 339de151aab4: Pull complete [2021-06-21T11:10:54.627Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-21T11:10:54.627Z] Status: Downloaded newer image for alpine:3.12 [2021-06-21T11:10:54.627Z] ---> 13621d1b12d4 [2021-06-21T11:10:54.627Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-21T11:10:54.627Z] ---> Running in 3064bb22775a [2021-06-21T11:10:54.627Z] Removing intermediate container 3064bb22775a [2021-06-21T11:10:54.627Z] ---> 67b8d780291f [2021-06-21T11:10:54.627Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:10:54.627Z] ---> Running in c77207c7ea6d [2021-06-21T11:10:55.210Z] Removing intermediate container c77207c7ea6d [2021-06-21T11:10:55.210Z] ---> be4d3a22bbf6 [2021-06-21T11:10:55.210Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-21T11:10:55.210Z] ---> Running in 5583383830ce [2021-06-21T11:10:55.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-21T11:10:56.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-21T11:10:56.305Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-21T11:10:56.566Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-21T11:10:56.566Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-21T11:10:56.566Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-21T11:10:57.519Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-21T11:10:57.519Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-21T11:10:57.519Z] Executing busybox-1.31.1-r20.trigger [2021-06-21T11:10:57.519Z] OK: 8 MiB in 20 packages [2021-06-21T11:10:57.783Z] Removing intermediate container 5583383830ce [2021-06-21T11:10:57.783Z] ---> 0566efdcc03e [2021-06-21T11:10:57.783Z] Step 17/26 : WORKDIR / [2021-06-21T11:10:57.783Z] ---> Running in 9b366ce1c440 [2021-06-21T11:10:58.046Z] Removing intermediate container 9b366ce1c440 [2021-06-21T11:10:58.046Z] ---> 5a14a8d7f262 [2021-06-21T11:10:58.046Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-21T11:10:58.046Z] ---> d09537289667 [2021-06-21T11:10:58.046Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-21T11:10:58.308Z] ---> c352edbc2c7c [2021-06-21T11:10:58.308Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-21T11:10:58.570Z] ---> 36e909d0f309 [2021-06-21T11:10:58.570Z] Step 21/26 : EXPOSE 59900 [2021-06-21T11:10:58.570Z] ---> Running in 4d14912a6a41 [2021-06-21T11:10:58.839Z] Removing intermediate container 4d14912a6a41 [2021-06-21T11:10:58.839Z] ---> bb364765e242 [2021-06-21T11:10:58.839Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-21T11:10:58.839Z] ---> Running in aefdda652628 [2021-06-21T11:10:58.839Z] Removing intermediate container aefdda652628 [2021-06-21T11:10:58.839Z] ---> 854c40a25ed0 [2021-06-21T11:10:58.839Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-21T11:10:58.839Z] ---> Running in 427281ca4c6c [2021-06-21T11:10:58.839Z] Removing intermediate container 427281ca4c6c [2021-06-21T11:10:58.839Z] ---> 489759e0aee1 [2021-06-21T11:10:58.839Z] Step 24/26 : LABEL arch=amd64 [2021-06-21T11:10:59.101Z] ---> Running in 90c849b094c9 [2021-06-21T11:10:59.102Z] Removing intermediate container 90c849b094c9 [2021-06-21T11:10:59.102Z] ---> aebb01e73e40 [2021-06-21T11:10:59.102Z] Step 25/26 : LABEL git_sha=623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:10:59.102Z] ---> Running in ede1d7e3df22 [2021-06-21T11:10:59.102Z] Removing intermediate container ede1d7e3df22 [2021-06-21T11:10:59.102Z] ---> 98c043e64569 [2021-06-21T11:10:59.102Z] Step 26/26 : LABEL version=0.0.0 [2021-06-21T11:10:59.102Z] ---> Running in 6e2e0dd4b21b [2021-06-21T11:10:59.363Z] Removing intermediate container 6e2e0dd4b21b [2021-06-21T11:10:59.363Z] ---> e7403cc31da7 [2021-06-21T11:10:59.363Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-21T11:10:59.363Z] Successfully built e7403cc31da7 [2021-06-21T11:10:59.363Z] 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-06-21T11:11:00.720Z] ---> job-cost.sh [2021-06-21T11:11:00.720Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xmM9 [2021-06-21T11:11:08.902Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-21T11:11:23.855Z] lf-activate-venv(): INFO: Adding /tmp/venv-xmM9/bin to PATH [2021-06-21T11:11:23.855Z] INFO: No Stack... [2021-06-21T11:11:23.855Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T11:11:23.855Z] INFO: Archiving Costs [Pipeline] sh [2021-06-21T11:11:24.185Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-21T11:11:24.185Z] + cut -d, -f6 [Pipeline] lock [2021-06-21T11:11:24.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] [2021-06-21T11:11:24.257Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] did not exist. Created. [2021-06-21T11:11:24.257Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-21T11:11:24.747Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-21T11:11:24.856Z] Stashed 1 file(s) [Pipeline] } [2021-06-21T11:11:24.883Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-21T11:11:44.188Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-21T11:11:44.188Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.680s coverage: 63.8% of statements [2021-06-21T11:11:44.188Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-21T11:12:06.398Z] gofmt -l . [2021-06-21T11:12:06.398Z] [ "`gofmt -l .`" = "" ] [2021-06-21T11:12:06.398Z] ./bin/test-attribution-txt.sh [2021-06-21T11:12:07.383Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-21T11:12:07.705Z] $ docker stop --time=1 8f87de843959f411360399579c8f665b9a95f06f9f8c5c98dd0774f923f8d3b3 [2021-06-21T11:12:09.768Z] $ docker rm -f 8f87de843959f411360399579c8f665b9a95f06f9f8c5c98dd0774f923f8d3b3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T11:12:10.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-21T11:12:10.820Z] Warning: overwriting stash ‘coverage-report’ [2021-06-21T11:12:11.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T11:12:12.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T11:12:12.600Z] + ls -al . [2021-06-21T11:12:12.600Z] total 156 [2021-06-21T11:12:12.600Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 21 11:12 . [2021-06-21T11:12:12.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 11:08 .. [2021-06-21T11:12:12.600Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 11:08 .git [2021-06-21T11:12:12.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 11:08 .github [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 21 11:08 .gitignore [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 21 11:08 Attribution.txt [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 21 11:08 Dockerfile [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 21 11:08 Dockerfile.build [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 21 11:08 Jenkinsfile [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 21 11:08 LICENSE [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 21 11:08 Makefile [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 21 11:08 README.md [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 11:06 VERSION [2021-06-21T11:12:12.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 11:08 bin [2021-06-21T11:12:12.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 11:08 cmd [2021-06-21T11:12:12.600Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 21 11:11 coverage.out [2021-06-21T11:12:12.600Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 21 11:12 go.mod [2021-06-21T11:12:12.600Z] -rw-r--r-- 1 jenkins jenkins 22922 Jun 21 11:10 go.sum [2021-06-21T11:12:12.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 11:08 internal [2021-06-21T11:12:12.600Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 21 11:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:12:13.029Z] + 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=623b05d18bbe0b63cb8b18ad97096b46f464052e --label arch=arm64 --label version=0.0.0 . [2021-06-21T11:12:13.640Z] Sending build context to Docker daemon 8.693MB [2021-06-21T11:12:13.640Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T11:12:13.640Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-21T11:12:13.640Z] ---> 3fb48bac9c97 [2021-06-21T11:12:13.640Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T11:12:13.915Z] ---> Running in 5b572b306b6e [2021-06-21T11:12:14.514Z] Removing intermediate container 5b572b306b6e [2021-06-21T11:12:14.514Z] ---> 2696e617b439 [2021-06-21T11:12:14.514Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T11:12:14.514Z] ---> Running in 63354ad7e482 [2021-06-21T11:12:15.114Z] Removing intermediate container 63354ad7e482 [2021-06-21T11:12:15.114Z] ---> 2a6d4235f29a [2021-06-21T11:12:15.114Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-21T11:12:15.114Z] ---> Running in 241df06ebb53 [2021-06-21T11:12:15.710Z] Removing intermediate container 241df06ebb53 [2021-06-21T11:12:15.710Z] ---> 8327072bf14a [2021-06-21T11:12:15.710Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:12:15.710Z] ---> Running in 522136bc410f [2021-06-21T11:12:17.693Z] Removing intermediate container 522136bc410f [2021-06-21T11:12:17.693Z] ---> cbd74ff30f52 [2021-06-21T11:12:17.693Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T11:12:17.966Z] ---> Running in 6d9e0bf3a5de [2021-06-21T11:12:19.404Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-21T11:12:20.386Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-21T11:12:20.989Z] OK: 145 MiB in 53 packages [2021-06-21T11:12:21.972Z] Removing intermediate container 6d9e0bf3a5de [2021-06-21T11:12:21.972Z] ---> a8becbdff0a2 [2021-06-21T11:12:21.972Z] Step 8/26 : COPY . . [2021-06-21T11:12:23.433Z] ---> 1ae905922ce1 [2021-06-21T11:12:23.433Z] Step 9/26 : RUN go mod tidy [2021-06-21T11:12:23.433Z] ---> Running in e544f5ac8653 [2021-06-21T11:12:26.077Z] Removing intermediate container e544f5ac8653 [2021-06-21T11:12:26.077Z] ---> 2345e14695c3 [2021-06-21T11:12:26.077Z] Step 10/26 : RUN go mod download [2021-06-21T11:12:26.355Z] ---> Running in cb43db597a91 [2021-06-21T11:12:28.982Z] Removing intermediate container cb43db597a91 [2021-06-21T11:12:28.982Z] ---> 361ae59b6119 [2021-06-21T11:12:28.982Z] Step 11/26 : ARG MAKE='make build' [2021-06-21T11:12:28.982Z] ---> Running in 32d187774dc0 [2021-06-21T11:12:29.255Z] Removing intermediate container 32d187774dc0 [2021-06-21T11:12:29.255Z] ---> 05d4ca5e762a [2021-06-21T11:12:29.255Z] Step 12/26 : RUN $MAKE [2021-06-21T11:12:29.530Z] ---> Running in 48e11c933019 [2021-06-21T11:12:30.516Z] go mod tidy [2021-06-21T11:12:31.135Z] 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-06-21T11:13:27.768Z] Removing intermediate container 48e11c933019 [2021-06-21T11:13:27.768Z] ---> 4b9bb36080e3 [2021-06-21T11:13:27.768Z] Step 13/26 : FROM alpine:3.12 [2021-06-21T11:13:27.768Z] 3.12: Pulling from library/alpine [2021-06-21T11:13:27.768Z] d2f70382dc9a: Pulling fs layer [2021-06-21T11:13:27.768Z] d2f70382dc9a: Verifying Checksum [2021-06-21T11:13:27.768Z] d2f70382dc9a: Download complete [2021-06-21T11:13:27.768Z] d2f70382dc9a: Pull complete [2021-06-21T11:13:27.768Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-21T11:13:27.768Z] Status: Downloaded newer image for alpine:3.12 [2021-06-21T11:13:27.768Z] ---> c4fd0aeabfcf [2021-06-21T11:13:27.768Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-21T11:13:27.768Z] ---> Running in be984b3d5243 [2021-06-21T11:13:27.768Z] Removing intermediate container be984b3d5243 [2021-06-21T11:13:27.768Z] ---> 3399cb18c9bd [2021-06-21T11:13:27.768Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T11:13:27.768Z] ---> Running in 09b4cb1e6b2b [2021-06-21T11:13:27.768Z] Removing intermediate container 09b4cb1e6b2b [2021-06-21T11:13:27.768Z] ---> fece93ea4a1e [2021-06-21T11:13:27.768Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-21T11:13:27.768Z] ---> Running in f5c05ad64711 [2021-06-21T11:13:27.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-21T11:13:27.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-21T11:13:27.768Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-21T11:13:27.768Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-21T11:13:27.768Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-21T11:13:27.768Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-21T11:13:27.768Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-21T11:13:27.768Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-21T11:13:27.768Z] Executing busybox-1.31.1-r20.trigger [2021-06-21T11:13:27.768Z] OK: 8 MiB in 20 packages [2021-06-21T11:13:28.754Z] Removing intermediate container f5c05ad64711 [2021-06-21T11:13:28.754Z] ---> 4d0fb79ced80 [2021-06-21T11:13:28.754Z] Step 17/26 : WORKDIR / [2021-06-21T11:13:29.028Z] ---> Running in bb0a37f452e5 [2021-06-21T11:13:29.626Z] Removing intermediate container bb0a37f452e5 [2021-06-21T11:13:29.627Z] ---> 74fabf3270e4 [2021-06-21T11:13:29.627Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-21T11:13:30.224Z] ---> 27a62f67901d [2021-06-21T11:13:30.224Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-21T11:13:31.209Z] ---> 2dc1e552ada6 [2021-06-21T11:13:31.209Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-21T11:13:32.658Z] ---> 25cd460b8a09 [2021-06-21T11:13:32.658Z] Step 21/26 : EXPOSE 59900 [2021-06-21T11:13:32.658Z] ---> Running in fdfde16b24cc [2021-06-21T11:13:33.256Z] Removing intermediate container fdfde16b24cc [2021-06-21T11:13:33.256Z] ---> b79e75c894f1 [2021-06-21T11:13:33.256Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-21T11:13:33.256Z] ---> Running in 9b0579cb24fe [2021-06-21T11:13:33.856Z] Removing intermediate container 9b0579cb24fe [2021-06-21T11:13:33.856Z] ---> ad692c45383d [2021-06-21T11:13:33.856Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-21T11:13:33.856Z] ---> Running in 199904e18e08 [2021-06-21T11:13:34.454Z] Removing intermediate container 199904e18e08 [2021-06-21T11:13:34.454Z] ---> 3a17f9f69492 [2021-06-21T11:13:34.454Z] Step 24/26 : LABEL arch=arm64 [2021-06-21T11:13:34.732Z] ---> Running in 1c479fdc6f79 [2021-06-21T11:13:35.007Z] Removing intermediate container 1c479fdc6f79 [2021-06-21T11:13:35.007Z] ---> d617e9307a6b [2021-06-21T11:13:35.007Z] Step 25/26 : LABEL git_sha=623b05d18bbe0b63cb8b18ad97096b46f464052e [2021-06-21T11:13:35.283Z] ---> Running in eae1d1d6d865 [2021-06-21T11:13:35.568Z] Removing intermediate container eae1d1d6d865 [2021-06-21T11:13:35.568Z] ---> a8cf98678105 [2021-06-21T11:13:35.568Z] Step 26/26 : LABEL version=0.0.0 [2021-06-21T11:13:35.844Z] ---> Running in 5753e4566ba4 [2021-06-21T11:13:36.442Z] Removing intermediate container 5753e4566ba4 [2021-06-21T11:13:36.442Z] ---> 21a4c185c67e [2021-06-21T11:13:36.442Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-21T11:13:36.442Z] Successfully built 21a4c185c67e [2021-06-21T11:13:36.442Z] 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-06-21T11:13:37.289Z] ---> job-cost.sh [2021-06-21T11:13:37.289Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-e1M5 [2021-06-21T11:14:16.288Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-21T11:15:38.099Z] lf-activate-venv(): INFO: Adding /tmp/venv-e1M5/bin to PATH [2021-06-21T11:15:38.099Z] INFO: No Stack... [2021-06-21T11:15:38.694Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-21T11:15:39.289Z] INFO: Archiving Costs [Pipeline] sh [2021-06-21T11:15:39.667Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-21T11:15:39.668Z] + cut -d, -f6 [Pipeline] lock [2021-06-21T11:15:39.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] [2021-06-21T11:15:39.770Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] did not exist. Created. [2021-06-21T11:15:39.771Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-21T11:15:40.220Z] /w/workspace/device-virtual-go/1@tmp/durable-7d038786/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-7d038786/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-21T11:15:40.599Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-21T11:15:40.648Z] Warning: overwriting stash ‘stack-cost’ [2021-06-21T11:15:40.800Z] Stashed 1 file(s) [Pipeline] } [2021-06-21T11:15:40.819Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-226-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] configFileProvider [2021-06-21T11:15:42.393Z] provisioning config files... [2021-06-21T11:15:42.404Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-226@tmp/config104618262998881844tmp [Pipeline] { [Pipeline] sh [2021-06-21T11:15:42.845Z] + set +x [2021-06-21T11:15:42.845Z] + bash -s -- [2021-06-21T11:15:42.845Z] + curl -s https://codecov.io/bash [2021-06-21T11:15:42.845Z] [2021-06-21T11:15:42.845Z] _____ _ [2021-06-21T11:15:42.845Z] / ____| | | [2021-06-21T11:15:42.845Z] | | ___ __| | ___ ___ _____ __ [2021-06-21T11:15:42.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-21T11:15:42.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-21T11:15:42.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-21T11:15:42.845Z] Bash-1.0.3 [2021-06-21T11:15:42.845Z] [2021-06-21T11:15:42.845Z] [2021-06-21T11:15:42.845Z] ==> git version 2.24.4 found [2021-06-21T11:15:42.845Z] ==> 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-06-21T11:15:42.845Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-21T11:15:42.845Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-21T11:15:42.845Z] ==> Jenkins CI detected. [2021-06-21T11:15:42.845Z] project root: . [2021-06-21T11:15:42.845Z] --> token set from env [2021-06-21T11:15:43.111Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-21T11:15:43.111Z] ==> Running gcov in . (disable via -X gcov) [2021-06-21T11:15:43.111Z] ==> Python coveragepy not found [2021-06-21T11:15:43.111Z] ==> Searching for coverage reports in: [2021-06-21T11:15:43.111Z] + . [2021-06-21T11:15:43.111Z] -> Found 1 reports [2021-06-21T11:15:43.111Z] ==> Detecting git/mercurial file structure [2021-06-21T11:15:43.111Z] ==> Reading reports [2021-06-21T11:15:43.111Z] + ./coverage.out bytes=47257 [2021-06-21T11:15:43.111Z] ==> Appending adjustments [2021-06-21T11:15:43.111Z] https://docs.codecov.io/docs/fixing-reports [2021-06-21T11:15:43.111Z] + Found adjustments [2021-06-21T11:15:43.111Z] ==> Gzipping contents [2021-06-21T11:15:43.111Z] 8.0K /tmp/codecov.2kUn9T.gz [2021-06-21T11:15:43.111Z] ==> Uploading reports [2021-06-21T11:15:43.111Z] url: https://codecov.io [2021-06-21T11:15:43.111Z] query: branch=PR-226&commit=623b05d18bbe0b63cb8b18ad97096b46f464052e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=226&job=&cmd_args= [2021-06-21T11:15:43.111Z] -> Pinging Codecov [2021-06-21T11:15:43.111Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-226&commit=623b05d18bbe0b63cb8b18ad97096b46f464052e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=226&job=&cmd_args= [2021-06-21T11:15:43.687Z] -> Uploading to [2021-06-21T11:15:43.687Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-21/5E52B4B073DB2E39498172D8E973AA87/623b05d18bbe0b63cb8b18ad97096b46f464052e/be299e11-ea24-47ca-8d0a-e2c549aab4da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210621T111543Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ae33f0d75d18dfd351c815081f4bfd0d309d1326618a37ebdedb3b822367e70 [2021-06-21T11:15:43.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-21T11:15:43.687Z] Dload Upload Total Spent Left Speed [2021-06-21T11:15:43.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5777 0 0 100 5777 0 15431 --:--:-- --:--:-- --:--:-- 15405 [2021-06-21T11:15:43.951Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/623b05d18bbe0b63cb8b18ad97096b46f464052e [Pipeline] } [2021-06-21T11:15:44.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:15:46.664Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:15:47.312Z] ---> package-listing.sh [2021-06-21T11:15:47.312Z] ++ facter osfamily [2021-06-21T11:15:47.312Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-21T11:15:47.575Z] + OS_FAMILY=redhat [2021-06-21T11:15:47.575Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-226 [2021-06-21T11:15:47.575Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-21T11:15:47.575Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-21T11:15:47.575Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-21T11:15:47.575Z] + PACKAGES=/tmp/packages_start.txt [2021-06-21T11:15:47.575Z] + '[' /w/workspace/foundry_device-virtual-go_PR-226 ']' [2021-06-21T11:15:47.575Z] + PACKAGES=/tmp/packages_end.txt [2021-06-21T11:15:47.575Z] + case "${OS_FAMILY}" in [2021-06-21T11:15:47.575Z] + sort [2021-06-21T11:15:47.575Z] + rpm -qa [2021-06-21T11:15:48.149Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-21T11:15:48.149Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-21T11:15:48.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-21T11:15:48.149Z] + '[' /w/workspace/foundry_device-virtual-go_PR-226 ']' [2021-06-21T11:15:48.149Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-226/archives/ [2021-06-21T11:15:48.149Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-226/archives/ [Pipeline] echo [2021-06-21T11:15:48.200Z] 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-226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-21T11:15:48.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:15:49.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T11:15:49.116Z] [2021-06-21T11:15:49.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-21T11:15:49.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T11:15:49.486Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-21T11:15:49.486Z] df20fa9351a1: Pulling fs layer [2021-06-21T11:15:49.486Z] 36b3adc4ff6f: Pulling fs layer [2021-06-21T11:15:49.486Z] 8ad3a11d3b57: Pulling fs layer [2021-06-21T11:15:49.486Z] 46f8f816bc3b: Pulling fs layer [2021-06-21T11:15:49.486Z] 93b61091891f: Pulling fs layer [2021-06-21T11:15:49.486Z] 93b9cdb0e59b: Pulling fs layer [2021-06-21T11:15:49.486Z] 5e14af77c1be: Pulling fs layer [2021-06-21T11:15:49.486Z] 01666e4c0597: Pulling fs layer [2021-06-21T11:15:49.486Z] aa168da1d23b: Pulling fs layer [2021-06-21T11:15:49.486Z] 5e14af77c1be: Waiting [2021-06-21T11:15:49.486Z] 01666e4c0597: Waiting [2021-06-21T11:15:49.486Z] 46f8f816bc3b: Waiting [2021-06-21T11:15:49.486Z] aa168da1d23b: Waiting [2021-06-21T11:15:49.486Z] 93b61091891f: Waiting [2021-06-21T11:15:49.486Z] 93b9cdb0e59b: Waiting [2021-06-21T11:15:49.486Z] 36b3adc4ff6f: Verifying Checksum [2021-06-21T11:15:49.486Z] 36b3adc4ff6f: Download complete [2021-06-21T11:15:49.749Z] 46f8f816bc3b: Verifying Checksum [2021-06-21T11:15:49.749Z] 46f8f816bc3b: Download complete [2021-06-21T11:15:49.749Z] df20fa9351a1: Verifying Checksum [2021-06-21T11:15:49.749Z] df20fa9351a1: Download complete [2021-06-21T11:15:49.749Z] 93b9cdb0e59b: Verifying Checksum [2021-06-21T11:15:49.749Z] 93b9cdb0e59b: Download complete [2021-06-21T11:15:49.749Z] 93b61091891f: Verifying Checksum [2021-06-21T11:15:49.749Z] 93b61091891f: Download complete [2021-06-21T11:15:49.749Z] 5e14af77c1be: Verifying Checksum [2021-06-21T11:15:49.749Z] 5e14af77c1be: Download complete [2021-06-21T11:15:49.749Z] 01666e4c0597: Verifying Checksum [2021-06-21T11:15:49.749Z] 01666e4c0597: Download complete [2021-06-21T11:15:49.749Z] 8ad3a11d3b57: Verifying Checksum [2021-06-21T11:15:49.749Z] 8ad3a11d3b57: Download complete [2021-06-21T11:15:50.023Z] df20fa9351a1: Pull complete [2021-06-21T11:15:50.023Z] 36b3adc4ff6f: Pull complete [2021-06-21T11:15:50.608Z] 8ad3a11d3b57: Pull complete [2021-06-21T11:15:50.608Z] 46f8f816bc3b: Pull complete [2021-06-21T11:15:50.874Z] 93b61091891f: Pull complete [2021-06-21T11:15:51.141Z] 93b9cdb0e59b: Pull complete [2021-06-21T11:15:51.141Z] 5e14af77c1be: Pull complete [2021-06-21T11:15:51.405Z] 01666e4c0597: Pull complete [2021-06-21T11:15:52.354Z] aa168da1d23b: Verifying Checksum [2021-06-21T11:15:52.354Z] aa168da1d23b: Download complete [2021-06-21T11:15:57.701Z] aa168da1d23b: Pull complete [2021-06-21T11:15:57.701Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-21T11:15:57.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T11:15:57.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-21T11:15:57.824Z] prd-centos7-docker-4c-2g-506 does not seem to be running inside a container [2021-06-21T11:15:57.866Z] $ 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-226/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-226 -v /w/workspace/foundry_device-virtual-go_PR-226:/w/workspace/foundry_device-virtual-go_PR-226:rw,z -v /w/workspace/foundry_device-virtual-go_PR-226@tmp:/w/workspace/foundry_device-virtual-go_PR-226@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-21T11:15:59.868Z] $ docker top 735e9baae2827d3d778a0d795c1605f5220748841b9409948758335c4ab67898 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T11:16:00.354Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-21T11:16:00.678Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-21T11:16:01.004Z] + ls /var/log/sa-host [2021-06-21T11:16:01.004Z] + sadf -c /var/log/sa-host/sa05 [2021-06-21T11:16:01.004Z] file_magic: OK [2021-06-21T11:16:01.004Z] HZ: Using current value: 100 [2021-06-21T11:16:01.004Z] file_header: OK [2021-06-21T11:16:01.004Z] 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-06-21T11:16:01.004Z] Statistics: [2021-06-21T11:16:01.004Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T11:16:01.004Z] File successfully converted to sysstat format version 12.2.1 [2021-06-21T11:16:01.004Z] + sadf -c /var/log/sa-host/sa21 [2021-06-21T11:16:01.004Z] file_magic: OK [2021-06-21T11:16:01.004Z] HZ: Using current value: 100 [2021-06-21T11:16:01.004Z] file_header: OK [2021-06-21T11:16:01.004Z] 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-06-21T11:16:01.004Z] Statistics: [2021-06-21T11:16:01.004Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T11:16:01.004Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T11:16:01.705Z] provisioning config files... [2021-06-21T11:16:01.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-226@tmp/config5248482603045797430tmp [Pipeline] { [Pipeline] echo [2021-06-21T11:16:01.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:16:02.139Z] ---> create-netrc.sh [Pipeline] } [2021-06-21T11:16:02.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:16:02.653Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-21T11:16:02.698Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:16:03.033Z] ---> sudo-logs.sh [2021-06-21T11:16:03.033Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-21T11:16:03.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:16:03.454Z] ---> job-cost.sh [2021-06-21T11:16:03.454Z] lf-activate-venv: SKIPPING [2021-06-21T11:16:03.455Z] DEBUG: total: 0.18000000715255737 [2021-06-21T11:16:03.455Z] INFO: Retrieving Stack Cost... [2021-06-21T11:16:05.375Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T11:16:05.949Z] INFO: Archiving Costs [Pipeline] echo [2021-06-21T11:16:05.986Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T11:16:06.327Z] ---> logs-deploy.sh [2021-06-21T11:16:06.327Z] lf-activate-venv: SKIPPING [2021-06-21T11:16:06.327Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-226/1 [2021-06-21T11:16:06.327Z] INFO: archiving workspace using pattern(s): [2021-06-21T11:16:07.279Z] Archives upload complete. [2021-06-21T11:16:07.279Z] INFO: archiving logs to Nexus