Pull request #231 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e75a7fc32c19bcc07ee0092e1a78091e02702a2e+f9181e51cc24c5c8d60c5f317d7638268e956055 (2798ddf5dafc451cfa189a3565b32b3e75816b4a) 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-ssh3870014004515122466.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-ssh6201342492687095804.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-231/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-231/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1281332215999256253.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-231/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1800477665529529010.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-ssh5515441909170330939.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-231/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-231/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5459250050538438639.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 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-40 in /w/workspace/foundry_device-virtual-go_PR-231 [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-231 # 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-231@tmp/jenkins-gitclient-ssh5874735718788890101.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit e75a7fc32c19bcc07ee0092e1a78091e02702a2e Merge succeeded, producing e75a7fc32c19bcc07ee0092e1a78091e02702a2e Checking out Revision e75a7fc32c19bcc07ee0092e1a78091e02702a2e (PR-231) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-231@tmp/jenkins-gitclient-ssh4065308534962692887.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # 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-231@tmp/jenkins-gitclient-ssh7391585304597528177.key > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 Commit message: "docs: add Changelog for Ireland release" 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-25T10:21:50.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T10:21:50.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T10:21:50.395Z] ========================================================= [2021-06-25T10:21:50.395Z] EdgeX Global Pipelines Version Info [2021-06-25T10:21:50.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:21:51.881Z] ------------------- [2021-06-25T10:21:51.881Z] stable info: [2021-06-25T10:21:51.881Z] ------------------- [2021-06-25T10:21:51.881Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T10:21:51.881Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:21:51.881Z] Message: update stable to v1.0.195 [2021-06-25T10:21:52.459Z] ------------------- [2021-06-25T10:21:52.460Z] experimental info: [2021-06-25T10:21:52.460Z] ------------------- [2021-06-25T10:21:52.460Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T10:21:52.460Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:21:52.460Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T10:21:52.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-25T10:21:52.784Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-25T10:21:52.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T10:21:52.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T10:21:52.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T10:21:53.035Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T10:21:53.104Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T10:21:53.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T10:21:53.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-25T10:21:53.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T10:21:53.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T10:21:53.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-25T10:21:53.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T10:21:53.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T10:21:53.539Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T10:21:53.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T10:21:53.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:21:53.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:21:53.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T10:21:53.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T10:21:53.899Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-25T10:21:53.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-25T10:21:54.011Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T10:21:54.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T10:21:54.134Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T10:21:54.191Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T10:21:54.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-231 [Pipeline] echo [2021-06-25T10:21:54.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-231 [Pipeline] echo [2021-06-25T10:21:54.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-231 [Pipeline] echo [2021-06-25T10:21:54.413Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e75a7fc32c19bcc07ee0092e1a78091e02702a2e [Pipeline] echo [2021-06-25T10:21:54.474Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e75a7fc [Pipeline] echo [2021-06-25T10:21:54.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:21:54.776Z] provisioning config files... [2021-06-25T10:21:54.796Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config3144019474071652830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:21:55.190Z] ---> docker-login.sh [2021-06-25T10:21:55.190Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:21:55.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:21:55.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:21:55.454Z] Configure a credential helper to remove this warning. See [2021-06-25T10:21:55.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:21:55.454Z] [2021-06-25T10:21:55.454Z] Login Succeeded [2021-06-25T10:21:55.718Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:21:55.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:21:55.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:21:55.718Z] Configure a credential helper to remove this warning. See [2021-06-25T10:21:55.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:21:55.718Z] [2021-06-25T10:21:55.718Z] Login Succeeded [2021-06-25T10:21:55.718Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:21:55.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:21:55.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:21:55.978Z] Configure a credential helper to remove this warning. See [2021-06-25T10:21:55.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:21:55.978Z] [2021-06-25T10:21:55.978Z] Login Succeeded [2021-06-25T10:21:55.978Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:21:55.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:21:55.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:21:55.978Z] Configure a credential helper to remove this warning. See [2021-06-25T10:21:55.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:21:55.978Z] [2021-06-25T10:21:55.978Z] Login Succeeded [2021-06-25T10:21:55.978Z] docker.io [2021-06-25T10:21:56.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:21:56.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:21:56.505Z] Configure a credential helper to remove this warning. See [2021-06-25T10:21:56.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:21:56.505Z] [2021-06-25T10:21:56.505Z] Login Succeeded [2021-06-25T10:21:56.505Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:21:56.529Z] 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-25T10:21:57.424Z] + git log --format=format:%s -1 e75a7fc32c19bcc07ee0092e1a78091e02702a2e [Pipeline] echo [2021-06-25T10:21:57.508Z] GIT_COMMIT: e75a7fc32c19bcc07ee0092e1a78091e02702a2e, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T10:21:57.550Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:21:58.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:21:58.195Z] [2021-06-25T10:21:58.195Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:21:58.663Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:21:58.663Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T10:21:58.663Z] 31603596830f: Pulling fs layer [2021-06-25T10:21:58.663Z] 54011a49482f: Pulling fs layer [2021-06-25T10:21:58.663Z] a6820b24f6d8: Pulling fs layer [2021-06-25T10:21:58.663Z] f581987b2513: Pulling fs layer [2021-06-25T10:21:58.663Z] f581987b2513: Waiting [2021-06-25T10:21:58.663Z] 54011a49482f: Verifying Checksum [2021-06-25T10:21:58.663Z] 54011a49482f: Download complete [2021-06-25T10:21:58.927Z] 31603596830f: Verifying Checksum [2021-06-25T10:21:58.927Z] 31603596830f: Download complete [2021-06-25T10:21:58.927Z] f581987b2513: Verifying Checksum [2021-06-25T10:21:58.927Z] f581987b2513: Download complete [2021-06-25T10:21:58.927Z] a6820b24f6d8: Verifying Checksum [2021-06-25T10:21:58.927Z] a6820b24f6d8: Download complete [2021-06-25T10:21:59.196Z] 31603596830f: Pull complete [2021-06-25T10:21:59.196Z] 54011a49482f: Pull complete [2021-06-25T10:21:59.783Z] a6820b24f6d8: Pull complete [2021-06-25T10:22:00.046Z] f581987b2513: Pull complete [2021-06-25T10:22:00.046Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T10:22:00.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:22:00.046Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T10:22:00.162Z] prd-centos7-docker-4c-2g-40 does not seem to be running inside a container [2021-06-25T10:22:00.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-231 -v /w/workspace/foundry_device-virtual-go_PR-231:/w/workspace/foundry_device-virtual-go_PR-231:rw,z -v /w/workspace/foundry_device-virtual-go_PR-231@tmp:/w/workspace/foundry_device-virtual-go_PR-231@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:10004/edgex-devops/git-semver:latest cat [2021-06-25T10:22:01.380Z] $ docker top fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T10:22:01.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:22:01.615Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:22:01.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:22:01.721Z] $ docker exec fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a ssh-agent [2021-06-25T10:22:01.829Z] SSH_AUTH_SOCK=/tmp/ssh-rOqlrUyZTBFK/agent.13 [2021-06-25T10:22:01.829Z] SSH_AGENT_PID=19 [2021-06-25T10:22:01.838Z] Running ssh-add (command line suppressed) [2021-06-25T10:22:01.928Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_3078880233920123649.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_3078880233920123649.key) [2021-06-25T10:22:01.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:22:02.297Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T10:22:02.319Z] $ docker exec --env ******** --env ******** fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a ssh-agent -k [2021-06-25T10:22:02.410Z] unset SSH_AUTH_SOCK; [2021-06-25T10:22:02.410Z] unset SSH_AGENT_PID; [2021-06-25T10:22:02.410Z] echo Agent pid 19 killed; [2021-06-25T10:22:02.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T10:22:02.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:22:02.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:22:02.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:22:02.639Z] $ docker exec fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a ssh-agent [2021-06-25T10:22:02.761Z] SSH_AUTH_SOCK=/tmp/ssh-KJftkxpVLCCS/agent.52 [2021-06-25T10:22:02.761Z] SSH_AGENT_PID=59 [2021-06-25T10:22:02.767Z] Running ssh-add (command line suppressed) [2021-06-25T10:22:02.879Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_6885946057578670184.key (/w/workspace/foundry_device-virtual-go_PR-231@tmp/private_key_6885946057578670184.key) [2021-06-25T10:22:02.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:22:03.273Z] + git semver init [2021-06-25T10:22:03.273Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T10:22:03.273Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.git [2021-06-25T10:22:03.273Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-231 [2021-06-25T10:22:03.273Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T10:22:03.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T10:22:03.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T10:22:03.273Z] # $SEMVER_BRANCH = PR-231 [2021-06-25T10:22:03.273Z] # $SEMVER_TEMP = /tmp/semver-908836622 [2021-06-25T10:22:03.273Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-25T10:22:04.222Z] # '/tmp/semver-908836622' -> '/w/workspace/foundry_device-virtual-go_PR-231/.semver' [2021-06-25T10:22:04.222Z] # -> Force: false [2021-06-25T10:22:04.222Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-231/.semver [Pipeline] } [2021-06-25T10:22:04.259Z] $ docker exec --env ******** --env ******** fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a ssh-agent -k [2021-06-25T10:22:04.355Z] unset SSH_AUTH_SOCK; [2021-06-25T10:22:04.356Z] unset SSH_AGENT_PID; [2021-06-25T10:22:04.356Z] echo Agent pid 59 killed; [2021-06-25T10:22:04.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T10:22:04.819Z] + git semver [Pipeline] } [2021-06-25T10:22:04.846Z] $ docker stop --time=1 fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a [2021-06-25T10:22:06.242Z] $ docker rm -f fe17316d93190765f2c7c52262cb8d50f94b385b639f1ef44e14a7bfd9c3604a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:22:06.662Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T10:22:06.983Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T10:22:07.011Z] [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-25T10:22:22.617Z] Still waiting to schedule task [2021-06-25T10:22:22.618Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T10:22:22.649Z] Still waiting to schedule task [2021-06-25T10:22:22.649Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-25T10:24:37.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/foundry_device-virtual-go_PR-231 [Pipeline] { [Pipeline] ws [2021-06-25T10:24:37.370Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-25T10:24:37.624Z] The recommended git tool is: git [2021-06-25T10:24:42.698Z] using credential edgex-jenkins-ssh [2021-06-25T10:24:42.754Z] Cloning the remote Git repository [2021-06-25T10:24:42.792Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:24:42.947Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-25T10:24:43.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:24:43.078Z] > git --version # timeout=10 [2021-06-25T10:24:43.130Z] > git --version # 'git version 2.17.1' [2021-06-25T10:24:43.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:24:43.412Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:24:45.699Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:24:45.885Z] Merge succeeded, producing e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:24:45.886Z] Checking out Revision e75a7fc32c19bcc07ee0092e1a78091e02702a2e (PR-231) [2021-06-25T10:24:45.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-25T10:24:45.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:24:45.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-25T10:24:45.111Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:24:45.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:24:45.122Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:24:45.685Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:24:45.707Z] > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 [2021-06-25T10:24:45.772Z] > git remote # timeout=10 [2021-06-25T10:24:45.786Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:24:45.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:24:45.812Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-25T10:24:45.832Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:24:45.863Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:24:45.873Z] > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 [2021-06-25T10:24:50.028Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-25T10:24:50.053Z] > git --version # timeout=10 [2021-06-25T10:24:50.066Z] > git --version # 'git version 2.17.1' [2021-06-25T10:24:50.081Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:24:51.623Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:24:52.072Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:24:52.436Z] + true [2021-06-25T10:24:52.436Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:25:10.845Z] provisioning config files... [2021-06-25T10:25:10.872Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6718704714813233455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:25:11.307Z] ---> docker-login.sh [2021-06-25T10:25:11.307Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:25:12.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:25:12.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:25:12.565Z] Configure a credential helper to remove this warning. See [2021-06-25T10:25:12.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:25:12.565Z] [2021-06-25T10:25:12.565Z] Login Succeeded [2021-06-25T10:25:12.565Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:25:12.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:25:13.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:25:13.115Z] Configure a credential helper to remove this warning. See [2021-06-25T10:25:13.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:25:13.115Z] [2021-06-25T10:25:13.115Z] Login Succeeded [2021-06-25T10:25:13.115Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:25:13.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:25:13.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:25:13.667Z] Configure a credential helper to remove this warning. See [2021-06-25T10:25:13.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:25:13.667Z] [2021-06-25T10:25:13.667Z] Login Succeeded [2021-06-25T10:25:13.667Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:25:13.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:25:14.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:25:14.216Z] Configure a credential helper to remove this warning. See [2021-06-25T10:25:14.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:25:14.216Z] [2021-06-25T10:25:14.216Z] Login Succeeded [2021-06-25T10:25:14.216Z] docker.io [2021-06-25T10:25:14.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:25:15.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:25:15.087Z] Configure a credential helper to remove this warning. See [2021-06-25T10:25:15.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:25:15.087Z] [2021-06-25T10:25:15.087Z] Login Succeeded [2021-06-25T10:25:15.087Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:25:15.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:25:15.748Z] ========================================================= [2021-06-25T10:25:15.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T10:25:15.748Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:25:16.147Z] + 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-25T10:25:16.433Z] Sending build context to Docker daemon 8.642MB [2021-06-25T10:25:16.708Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:25:16.708Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:25:16.708Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T10:25:16.708Z] 595b0fe564bb: Pulling fs layer [2021-06-25T10:25:16.708Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T10:25:16.708Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T10:25:16.708Z] ba82ee9f976e: Pulling fs layer [2021-06-25T10:25:16.708Z] 506bd15cee9f: Pulling fs layer [2021-06-25T10:25:16.708Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T10:25:16.708Z] 618dc40b7e24: Pulling fs layer [2021-06-25T10:25:16.708Z] ba82ee9f976e: Waiting [2021-06-25T10:25:16.708Z] 75a0a4a0db45: Waiting [2021-06-25T10:25:16.708Z] 618dc40b7e24: Waiting [2021-06-25T10:25:16.988Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T10:25:16.988Z] 5b7225fbf94c: Download complete [2021-06-25T10:25:16.988Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T10:25:16.988Z] 3088b5b3c5c0: Download complete [2021-06-25T10:25:16.988Z] 506bd15cee9f: Verifying Checksum [2021-06-25T10:25:16.988Z] 506bd15cee9f: Download complete [2021-06-25T10:25:16.988Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T10:25:16.988Z] 75a0a4a0db45: Download complete [2021-06-25T10:25:16.988Z] 595b0fe564bb: Download complete [2021-06-25T10:25:17.610Z] 595b0fe564bb: Pull complete [2021-06-25T10:25:18.217Z] 3088b5b3c5c0: Pull complete [2021-06-25T10:25:18.490Z] 5b7225fbf94c: Pull complete [2021-06-25T10:25:19.097Z] 618dc40b7e24: Verifying Checksum [2021-06-25T10:25:19.097Z] 618dc40b7e24: Download complete [2021-06-25T10:25:20.525Z] ba82ee9f976e: Verifying Checksum [2021-06-25T10:25:20.525Z] ba82ee9f976e: Download complete [2021-06-25T10:25:30.697Z] ba82ee9f976e: Pull complete [2021-06-25T10:25:30.697Z] 506bd15cee9f: Pull complete [2021-06-25T10:25:30.973Z] 75a0a4a0db45: Pull complete [2021-06-25T10:25:35.308Z] 618dc40b7e24: Pull complete [2021-06-25T10:25:35.308Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T10:25:35.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T10:25:35.308Z] ---> a36622ca3599 [2021-06-25T10:25:35.308Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-25T10:25:36.766Z] ---> Running in e155e55bb04d [2021-06-25T10:25:37.363Z] Removing intermediate container e155e55bb04d [2021-06-25T10:25:37.363Z] ---> aae94a2ecde6 [2021-06-25T10:25:37.363Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:25:37.363Z] ---> Running in a4dacbf2af6a [2021-06-25T10:25:40.017Z] Removing intermediate container a4dacbf2af6a [2021-06-25T10:25:40.017Z] ---> cca635ba9699 [2021-06-25T10:25:40.017Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:25:40.017Z] ---> Running in ee86bd0fb4cb [2021-06-25T10:25:41.013Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:25:41.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:25:42.967Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T10:25:42.967Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T10:25:42.967Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T10:25:42.967Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:25:43.240Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T10:25:43.240Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T10:25:43.240Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T10:25:43.836Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T10:25:43.836Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T10:25:43.836Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T10:25:44.108Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T10:25:44.108Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T10:25:44.108Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:25:44.382Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:25:44.382Z] OK: 145 MiB in 53 packages [2021-06-25T10:25:45.818Z] Removing intermediate container ee86bd0fb4cb [2021-06-25T10:25:45.818Z] ---> 5ee45b1708e4 [2021-06-25T10:25:45.818Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-25T10:25:46.092Z] ---> Running in cf216f570428 [2021-06-25T10:25:46.370Z] Removing intermediate container cf216f570428 [2021-06-25T10:25:46.370Z] ---> da53468f3d58 [2021-06-25T10:25:46.370Z] Step 7/8 : COPY . . [2021-06-25T10:25:47.814Z] ---> 04b8ea560149 [2021-06-25T10:25:47.814Z] Step 8/8 : RUN go mod download [2021-06-25T10:25:47.814Z] ---> Running in 59ca5e82de28 [2021-06-25T10:25:59.911Z] Running on prd-centos7-docker-4c-2g-45 in /w/workspace/foundry_device-virtual-go_PR-231 [Pipeline] { [Pipeline] ws [2021-06-25T10:25:59.966Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-25T10:26:00.152Z] The recommended git tool is: git [2021-06-25T10:26:02.579Z] using credential edgex-jenkins-ssh [2021-06-25T10:26:02.593Z] Cloning the remote Git repository [2021-06-25T10:26:02.613Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:26:02.682Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-25T10:26:02.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:26:02.714Z] > git --version # timeout=10 [2021-06-25T10:26:02.724Z] > git --version # 'git version 2.24.4' [2021-06-25T10:26:02.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:26:02.751Z] [INFO] Currently running in a labeled security context [2021-06-25T10:26:02.751Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:26:02.751Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1924708395860092071.key [2021-06-25T10:26:02.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:26:05.320Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:26:05.425Z] Merge succeeded, producing e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:26:05.426Z] Checking out Revision e75a7fc32c19bcc07ee0092e1a78091e02702a2e (PR-231) [2021-06-25T10:26:04.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-25T10:26:04.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:26:04.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-25T10:26:04.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-25T10:26:04.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:26:04.835Z] [INFO] Currently running in a labeled security context [2021-06-25T10:26:04.836Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:26:04.836Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2079724417188003302.key [2021-06-25T10:26:04.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:26:05.327Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:26:05.334Z] > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 [2021-06-25T10:26:05.370Z] > git remote # timeout=10 [2021-06-25T10:26:05.377Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:26:05.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:26:05.386Z] [INFO] Currently running in a labeled security context [2021-06-25T10:26:05.386Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:26:05.386Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1798782272929675849.key [2021-06-25T10:26:05.395Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-25T10:26:05.410Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:26:05.426Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:26:05.434Z] > git checkout -f e75a7fc32c19bcc07ee0092e1a78091e02702a2e # timeout=10 [2021-06-25T10:26:09.035Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-25T10:26:09.067Z] > git --version # timeout=10 [2021-06-25T10:26:09.077Z] > git --version # 'git version 2.24.4' [2021-06-25T10:26:09.086Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:26:10.232Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:26:10.582Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:26:10.916Z] + true [2021-06-25T10:26:10.916Z] + sudo service docker restart [2021-06-25T10:26:10.916Z] Redirecting to /bin/systemctl restart docker.service [2021-06-25T10:26:14.679Z] Removing intermediate container 59ca5e82de28 [2021-06-25T10:26:14.679Z] ---> 8409efdaf873 [2021-06-25T10:26:14.679Z] Successfully built 8409efdaf873 [2021-06-25T10:26:14.679Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:26:15.054Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:26:15.054Z] . [Pipeline] withDockerContainer [2021-06-25T10:26:15.342Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-06-25T10:26:15.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:26:16.830Z] $ docker top b24081528616980dc21854b984afc3bc8d4a437e43250ffeb15480b52e8354dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:26:17.857Z] + go version [2021-06-25T10:26:17.857Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T10:26:17.869Z] $ docker stop --time=1 b24081528616980dc21854b984afc3bc8d4a437e43250ffeb15480b52e8354dc [2021-06-25T10:26:19.668Z] $ docker rm -f b24081528616980dc21854b984afc3bc8d4a437e43250ffeb15480b52e8354dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:26:20.783Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:26:20.783Z] . [Pipeline] withDockerContainer [2021-06-25T10:26:21.051Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-06-25T10:26:21.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:26:22.767Z] $ docker top 1a8bf40a57008d1bb4f84f0ad59f0e6816d64ae24650798647fb735f6a4a1bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:26:23.813Z] + go mod tidy [Pipeline] sh [2021-06-25T10:26:25.116Z] + make test [2021-06-25T10:26:25.116Z] go mod tidy [2021-06-25T10:26:25.716Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T10:26:27.177Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:26:29.204Z] provisioning config files... [2021-06-25T10:26:29.221Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config294579126265674528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:26:29.659Z] ---> docker-login.sh [2021-06-25T10:26:29.659Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:26:29.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:26:29.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:26:29.922Z] Configure a credential helper to remove this warning. See [2021-06-25T10:26:29.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:26:29.923Z] [2021-06-25T10:26:29.923Z] Login Succeeded [2021-06-25T10:26:29.923Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:26:30.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:26:30.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:26:30.186Z] Configure a credential helper to remove this warning. See [2021-06-25T10:26:30.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:26:30.186Z] [2021-06-25T10:26:30.186Z] Login Succeeded [2021-06-25T10:26:30.186Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:26:30.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:26:30.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:26:30.186Z] Configure a credential helper to remove this warning. See [2021-06-25T10:26:30.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:26:30.186Z] [2021-06-25T10:26:30.186Z] Login Succeeded [2021-06-25T10:26:30.186Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:26:30.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:26:30.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:26:30.448Z] Configure a credential helper to remove this warning. See [2021-06-25T10:26:30.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:26:30.448Z] [2021-06-25T10:26:30.448Z] Login Succeeded [2021-06-25T10:26:30.448Z] docker.io [2021-06-25T10:26:30.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:26:30.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:26:30.711Z] Configure a credential helper to remove this warning. See [2021-06-25T10:26:30.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:26:30.711Z] [2021-06-25T10:26:30.711Z] Login Succeeded [2021-06-25T10:26:30.975Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:26:31.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:26:31.299Z] ========================================================= [2021-06-25T10:26:31.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T10:26:31.300Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:26:31.662Z] + 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-25T10:26:31.662Z] Sending build context to Docker daemon 8.643MB [2021-06-25T10:26:31.662Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:26:31.662Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:26:31.662Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T10:26:31.662Z] 540db60ca938: Pulling fs layer [2021-06-25T10:26:31.662Z] adcc1eea9eea: Pulling fs layer [2021-06-25T10:26:31.662Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T10:26:31.662Z] 0510c868ecb4: Pulling fs layer [2021-06-25T10:26:31.662Z] afea3b2eda06: Pulling fs layer [2021-06-25T10:26:31.662Z] 7809a108b3ef: Pulling fs layer [2021-06-25T10:26:31.662Z] f706445af74f: Pulling fs layer [2021-06-25T10:26:31.662Z] afea3b2eda06: Waiting [2021-06-25T10:26:31.662Z] 7809a108b3ef: Waiting [2021-06-25T10:26:31.662Z] f706445af74f: Waiting [2021-06-25T10:26:31.662Z] 0510c868ecb4: Waiting [2021-06-25T10:26:31.928Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T10:26:31.929Z] 4c4ab2625f07: Download complete [2021-06-25T10:26:31.929Z] adcc1eea9eea: Verifying Checksum [2021-06-25T10:26:31.929Z] adcc1eea9eea: Download complete [2021-06-25T10:26:31.929Z] afea3b2eda06: Verifying Checksum [2021-06-25T10:26:31.929Z] afea3b2eda06: Download complete [2021-06-25T10:26:31.929Z] 7809a108b3ef: Verifying Checksum [2021-06-25T10:26:31.929Z] 7809a108b3ef: Download complete [2021-06-25T10:26:31.929Z] 540db60ca938: Verifying Checksum [2021-06-25T10:26:31.929Z] 540db60ca938: Download complete [2021-06-25T10:26:32.225Z] 540db60ca938: Pull complete [2021-06-25T10:26:32.225Z] adcc1eea9eea: Pull complete [2021-06-25T10:26:32.493Z] 4c4ab2625f07: Pull complete [2021-06-25T10:26:33.909Z] f706445af74f: Verifying Checksum [2021-06-25T10:26:33.909Z] f706445af74f: Download complete [2021-06-25T10:26:34.177Z] 0510c868ecb4: Verifying Checksum [2021-06-25T10:26:34.177Z] 0510c868ecb4: Download complete [2021-06-25T10:26:38.441Z] 0510c868ecb4: Pull complete [2021-06-25T10:26:38.441Z] afea3b2eda06: Pull complete [2021-06-25T10:26:38.441Z] 7809a108b3ef: Pull complete [2021-06-25T10:26:39.427Z] f706445af74f: Pull complete [2021-06-25T10:26:39.689Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T10:26:39.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T10:26:39.689Z] ---> b068be0155e3 [2021-06-25T10:26:39.689Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-25T10:26:45.009Z] ---> Running in fb6321cd4821 [2021-06-25T10:26:45.009Z] Removing intermediate container fb6321cd4821 [2021-06-25T10:26:45.009Z] ---> fc8ec4dc5827 [2021-06-25T10:26:45.009Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:26:45.009Z] ---> Running in bc036914e44a [2021-06-25T10:26:45.009Z] Removing intermediate container bc036914e44a [2021-06-25T10:26:45.009Z] ---> eb93cdf7d524 [2021-06-25T10:26:45.009Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:26:45.009Z] ---> Running in 93a19ee598f7 [2021-06-25T10:26:45.279Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:26:46.231Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:26:46.814Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T10:26:46.814Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T10:26:46.814Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T10:26:47.077Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:26:47.078Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T10:26:47.078Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T10:26:47.341Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T10:26:47.610Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T10:26:47.610Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T10:26:47.610Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T10:26:47.877Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T10:26:47.877Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T10:26:47.877Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:26:48.141Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:26:48.141Z] OK: 156 MiB in 53 packages [2021-06-25T10:26:48.404Z] Removing intermediate container 93a19ee598f7 [2021-06-25T10:26:48.404Z] ---> ddd5246c3940 [2021-06-25T10:26:48.404Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-25T10:26:48.668Z] ---> Running in 9a5ee4c37657 [2021-06-25T10:26:48.668Z] Removing intermediate container 9a5ee4c37657 [2021-06-25T10:26:48.668Z] ---> e9e7e861929b [2021-06-25T10:26:48.668Z] Step 7/8 : COPY . . [2021-06-25T10:26:48.931Z] ---> 1f09b998534e [2021-06-25T10:26:48.931Z] Step 8/8 : RUN go mod download [2021-06-25T10:26:49.196Z] ---> Running in cfc5899c5478 [2021-06-25T10:27:01.470Z] Removing intermediate container cfc5899c5478 [2021-06-25T10:27:01.470Z] ---> 727eb36f37d4 [2021-06-25T10:27:01.470Z] Successfully built 727eb36f37d4 [2021-06-25T10:27:01.471Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:27:01.830Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:27:01.830Z] . [Pipeline] withDockerContainer [2021-06-25T10:27:01.947Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-06-25T10:27:02.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:27:02.480Z] $ docker top 5417a9f31e244551a989d308441c5cad3cf3886a66496f9ad28d2075992c43cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:27:02.948Z] + go version [2021-06-25T10:27:02.948Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T10:27:02.983Z] $ docker stop --time=1 5417a9f31e244551a989d308441c5cad3cf3886a66496f9ad28d2075992c43cb [2021-06-25T10:27:04.222Z] $ docker rm -f 5417a9f31e244551a989d308441c5cad3cf3886a66496f9ad28d2075992c43cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:27:05.118Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:27:05.119Z] . [Pipeline] withDockerContainer [2021-06-25T10:27:05.239Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-06-25T10:27:05.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:27:05.711Z] $ docker top aa1fb395ea1ebe405519d0ce4690dfe593eb6dccea6234dffab3d801e922ee14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:27:06.175Z] + go mod tidy [Pipeline] sh [2021-06-25T10:27:06.778Z] + make test [2021-06-25T10:27:06.778Z] go mod tidy [2021-06-25T10:27:07.052Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T10:27:07.628Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-25T10:27:29.749Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-25T10:27:29.749Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.285s coverage: 63.8% of statements [2021-06-25T10:27:29.749Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T10:27:35.272Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-25T10:27:35.272Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.703s coverage: 63.8% of statements [2021-06-25T10:27:35.272Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T10:27:36.427Z] gofmt -l . [2021-06-25T10:27:36.427Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:27:36.427Z] ./bin/test-attribution-txt.sh [2021-06-25T10:27:37.004Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:27:37.296Z] $ docker stop --time=1 aa1fb395ea1ebe405519d0ce4690dfe593eb6dccea6234dffab3d801e922ee14 [2021-06-25T10:27:38.890Z] $ docker rm -f aa1fb395ea1ebe405519d0ce4690dfe593eb6dccea6234dffab3d801e922ee14 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:27:39.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:27:39.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-25T10:27:41.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:27:41.462Z] + ls -al . [2021-06-25T10:27:41.462Z] total 140 [2021-06-25T10:27:41.462Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 25 10:27 . [2021-06-25T10:27:41.462Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 10:26 .. [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 25 10:26 Attribution.txt [2021-06-25T10:27:41.462Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 10:26 bin [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 6810 Jun 25 10:26 CHANGELOG.md [2021-06-25T10:27:41.462Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 25 10:26 cmd [2021-06-25T10:27:41.462Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 25 10:27 coverage.out [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 25 10:26 Dockerfile [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 25 10:26 Dockerfile.build [2021-06-25T10:27:41.462Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 10:26 .git [2021-06-25T10:27:41.462Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 10:26 .github [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 25 10:26 .gitignore [2021-06-25T10:27:41.462Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 25 10:27 go.mod [2021-06-25T10:27:41.462Z] -rw-r--r--. 1 jenkins jenkins 23126 Jun 25 10:27 go.sum [2021-06-25T10:27:41.462Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 25 10:26 internal [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 25 10:26 Jenkinsfile [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 25 10:26 LICENSE [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 25 10:26 Makefile [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 25 10:26 README.md [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 10:22 VERSION [2021-06-25T10:27:41.462Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 25 10:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:27:41.808Z] + 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=e75a7fc32c19bcc07ee0092e1a78091e02702a2e --label arch=amd64 --label version=0.0.0 . [2021-06-25T10:27:41.808Z] Sending build context to Docker daemon 8.715MB [2021-06-25T10:27:41.808Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:27:41.808Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-25T10:27:41.808Z] ---> 727eb36f37d4 [2021-06-25T10:27:41.808Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T10:27:42.078Z] ---> Running in c93142b8bc3e [2021-06-25T10:27:42.078Z] Removing intermediate container c93142b8bc3e [2021-06-25T10:27:42.078Z] ---> 9a04e8ccd332 [2021-06-25T10:27:42.078Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T10:27:42.078Z] ---> Running in cb7f82d99c4a [2021-06-25T10:27:42.078Z] Removing intermediate container cb7f82d99c4a [2021-06-25T10:27:42.078Z] ---> 8098e1ca48ec [2021-06-25T10:27:42.078Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-25T10:27:42.078Z] ---> Running in 2e4d18a35744 [2021-06-25T10:27:42.343Z] Removing intermediate container 2e4d18a35744 [2021-06-25T10:27:42.343Z] ---> df44e4fa4adf [2021-06-25T10:27:42.343Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:27:42.343Z] ---> Running in f46dd39c1bd2 [2021-06-25T10:27:42.926Z] Removing intermediate container f46dd39c1bd2 [2021-06-25T10:27:42.926Z] ---> 7eee1ee04f0d [2021-06-25T10:27:42.926Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T10:27:42.926Z] ---> Running in f2f50b375a02 [2021-06-25T10:27:43.190Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:27:44.138Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:27:44.400Z] OK: 156 MiB in 53 packages [2021-06-25T10:27:44.679Z] Removing intermediate container f2f50b375a02 [2021-06-25T10:27:44.679Z] ---> 68b54f84242c [2021-06-25T10:27:44.679Z] Step 8/26 : COPY . . [2021-06-25T10:27:44.963Z] ---> 13f331a09f6f [2021-06-25T10:27:44.963Z] Step 9/26 : RUN go mod tidy [2021-06-25T10:27:44.963Z] ---> Running in c5d211a3295d [2021-06-25T10:27:45.931Z] Removing intermediate container c5d211a3295d [2021-06-25T10:27:45.931Z] ---> 48b6cb698dd5 [2021-06-25T10:27:45.931Z] Step 10/26 : RUN go mod download [2021-06-25T10:27:45.931Z] ---> Running in 83883ae17929 [2021-06-25T10:27:46.508Z] Removing intermediate container 83883ae17929 [2021-06-25T10:27:46.508Z] ---> 979bb497b8ba [2021-06-25T10:27:46.508Z] Step 11/26 : ARG MAKE='make build' [2021-06-25T10:27:46.508Z] ---> Running in 208595fd7111 [2021-06-25T10:27:46.508Z] Removing intermediate container 208595fd7111 [2021-06-25T10:27:46.508Z] ---> b6935cc07b8d [2021-06-25T10:27:46.508Z] Step 12/26 : RUN $MAKE [2021-06-25T10:27:46.508Z] ---> Running in 485a92f6ea85 [2021-06-25T10:27:46.783Z] go mod tidy [2021-06-25T10:27:47.056Z] 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-25T10:27:57.505Z] gofmt -l . [2021-06-25T10:27:57.506Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:27:57.506Z] ./bin/test-attribution-txt.sh [2021-06-25T10:27:58.938Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:27:59.549Z] $ docker stop --time=1 1a8bf40a57008d1bb4f84f0ad59f0e6816d64ae24650798647fb735f6a4a1bf7 [2021-06-25T10:28:01.557Z] $ docker rm -f 1a8bf40a57008d1bb4f84f0ad59f0e6816d64ae24650798647fb735f6a4a1bf7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:28:02.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:28:02.580Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T10:28:03.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:28:04.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:28:04.433Z] + ls -al . [2021-06-25T10:28:04.434Z] total 164 [2021-06-25T10:28:04.434Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 25 10:27 . [2021-06-25T10:28:04.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:24 .. [2021-06-25T10:28:04.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 10:24 .git [2021-06-25T10:28:04.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:24 .github [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 25 10:24 .gitignore [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 25 10:24 Attribution.txt [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 6810 Jun 25 10:24 CHANGELOG.md [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 25 10:24 Dockerfile [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 25 10:24 Dockerfile.build [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 25 10:24 Jenkinsfile [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 10:24 LICENSE [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 25 10:24 Makefile [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 25 10:24 README.md [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 10:22 VERSION [2021-06-25T10:28:04.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:24 bin [2021-06-25T10:28:04.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 10:24 cmd [2021-06-25T10:28:04.434Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 25 10:27 coverage.out [2021-06-25T10:28:04.434Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 25 10:27 go.mod [2021-06-25T10:28:04.434Z] -rw-r--r-- 1 jenkins jenkins 23126 Jun 25 10:26 go.sum [2021-06-25T10:28:04.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 10:24 internal [2021-06-25T10:28:04.434Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 25 10:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:28:04.857Z] + 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=e75a7fc32c19bcc07ee0092e1a78091e02702a2e --label arch=arm64 --label version=0.0.0 . [2021-06-25T10:28:05.262Z] Removing intermediate container 485a92f6ea85 [2021-06-25T10:28:05.262Z] ---> f758312798b3 [2021-06-25T10:28:05.262Z] Step 13/26 : FROM alpine:3.12 [2021-06-25T10:28:05.469Z] Sending build context to Docker daemon 8.714MB [2021-06-25T10:28:05.469Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:28:05.469Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-25T10:28:05.469Z] ---> 8409efdaf873 [2021-06-25T10:28:05.469Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T10:28:05.523Z] 3.12: Pulling from library/alpine [2021-06-25T10:28:05.742Z] ---> Running in cbbdb1c25371 [2021-06-25T10:28:05.789Z] 339de151aab4: Pulling fs layer [2021-06-25T10:28:05.789Z] 339de151aab4: Verifying Checksum [2021-06-25T10:28:05.789Z] 339de151aab4: Download complete [2021-06-25T10:28:06.050Z] 339de151aab4: Pull complete [2021-06-25T10:28:06.050Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:28:06.050Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:28:06.050Z] ---> 13621d1b12d4 [2021-06-25T10:28:06.050Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-25T10:28:06.050Z] ---> Running in f3637bff7166 [2021-06-25T10:28:06.314Z] Removing intermediate container f3637bff7166 [2021-06-25T10:28:06.314Z] ---> 0b7cf5267f68 [2021-06-25T10:28:06.314Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:28:06.314Z] ---> Running in 5b55f9ee0d69 [2021-06-25T10:28:06.337Z] Removing intermediate container cbbdb1c25371 [2021-06-25T10:28:06.337Z] ---> ea0624994cfd [2021-06-25T10:28:06.337Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T10:28:06.337Z] ---> Running in ab43895b0dd6 [2021-06-25T10:28:06.891Z] Removing intermediate container 5b55f9ee0d69 [2021-06-25T10:28:06.891Z] ---> 255d73eec9ab [2021-06-25T10:28:06.891Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T10:28:06.891Z] ---> Running in d007a292e6c3 [2021-06-25T10:28:06.939Z] Removing intermediate container ab43895b0dd6 [2021-06-25T10:28:06.939Z] ---> bed75e3c9286 [2021-06-25T10:28:06.939Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-25T10:28:06.939Z] ---> Running in 68a34f7093fc [2021-06-25T10:28:07.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:28:07.535Z] Removing intermediate container 68a34f7093fc [2021-06-25T10:28:07.535Z] ---> 32d3f21b2254 [2021-06-25T10:28:07.535Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:28:07.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:28:07.821Z] ---> Running in 73e7b0cae626 [2021-06-25T10:28:08.301Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T10:28:08.302Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T10:28:08.302Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:28:08.302Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:28:09.246Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T10:28:09.246Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T10:28:09.510Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:28:09.510Z] OK: 8 MiB in 20 packages [2021-06-25T10:28:09.777Z] Removing intermediate container d007a292e6c3 [2021-06-25T10:28:09.777Z] ---> 8d1eddf9cff2 [2021-06-25T10:28:09.777Z] Step 17/26 : WORKDIR / [2021-06-25T10:28:09.777Z] ---> Running in 73b2c6054477 [2021-06-25T10:28:09.777Z] Removing intermediate container 73b2c6054477 [2021-06-25T10:28:09.777Z] ---> 581d81ebd29b [2021-06-25T10:28:09.777Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-25T10:28:09.811Z] Removing intermediate container 73e7b0cae626 [2021-06-25T10:28:09.811Z] ---> 12de54234861 [2021-06-25T10:28:09.811Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T10:28:09.811Z] ---> Running in f7f7ca30b27c [2021-06-25T10:28:10.041Z] ---> 7d7f01d29be8 [2021-06-25T10:28:10.041Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-25T10:28:10.303Z] ---> a3adc69229b8 [2021-06-25T10:28:10.303Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-25T10:28:10.878Z] ---> 5c829539397a [2021-06-25T10:28:10.878Z] Step 21/26 : EXPOSE 59900 [2021-06-25T10:28:10.879Z] ---> Running in f28d6b1507e5 [2021-06-25T10:28:10.879Z] Removing intermediate container f28d6b1507e5 [2021-06-25T10:28:10.879Z] ---> fa465aec4cd7 [2021-06-25T10:28:10.879Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-25T10:28:10.879Z] ---> Running in 8f72d1a954fc [2021-06-25T10:28:10.879Z] Removing intermediate container 8f72d1a954fc [2021-06-25T10:28:10.879Z] ---> 6a7652f0bf45 [2021-06-25T10:28:10.879Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:28:11.144Z] ---> Running in 6d735ff2a7de [2021-06-25T10:28:11.144Z] Removing intermediate container 6d735ff2a7de [2021-06-25T10:28:11.144Z] ---> b0afe1d520f9 [2021-06-25T10:28:11.144Z] Step 24/26 : LABEL arch=amd64 [2021-06-25T10:28:11.144Z] ---> Running in a147d4f3d335 [2021-06-25T10:28:11.144Z] Removing intermediate container a147d4f3d335 [2021-06-25T10:28:11.144Z] ---> 23ae21ddcdfd [2021-06-25T10:28:11.144Z] Step 25/26 : LABEL git_sha=e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:28:11.144Z] ---> Running in 274a3a192b3d [2021-06-25T10:28:11.256Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:28:11.414Z] Removing intermediate container 274a3a192b3d [2021-06-25T10:28:11.414Z] ---> 222d76ca3934 [2021-06-25T10:28:11.414Z] Step 26/26 : LABEL version=0.0.0 [2021-06-25T10:28:11.414Z] ---> Running in 1f498742ad0e [2021-06-25T10:28:11.414Z] Removing intermediate container 1f498742ad0e [2021-06-25T10:28:11.414Z] ---> fe4ab6d38b21 [2021-06-25T10:28:11.414Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T10:28:11.414Z] Successfully built fe4ab6d38b21 [2021-06-25T10:28:11.414Z] 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-25T10:28:12.461Z] ---> job-cost.sh [2021-06-25T10:28:12.461Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-seim [2021-06-25T10:28:12.690Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:28:15.292Z] OK: 145 MiB in 53 packages [2021-06-25T10:28:16.275Z] Removing intermediate container f7f7ca30b27c [2021-06-25T10:28:16.275Z] ---> ec7e11042dad [2021-06-25T10:28:16.275Z] Step 8/26 : COPY . . [2021-06-25T10:28:17.715Z] ---> b3aef7c60e64 [2021-06-25T10:28:17.715Z] Step 9/26 : RUN go mod tidy [2021-06-25T10:28:17.715Z] ---> Running in 60e5d592c0af [2021-06-25T10:28:20.343Z] Removing intermediate container 60e5d592c0af [2021-06-25T10:28:20.343Z] ---> 7f1efac31ff7 [2021-06-25T10:28:20.343Z] Step 10/26 : RUN go mod download [2021-06-25T10:28:20.620Z] ---> Running in 7ee1cef3db3c [2021-06-25T10:28:22.505Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:28:23.246Z] Removing intermediate container 7ee1cef3db3c [2021-06-25T10:28:23.246Z] ---> cd7fdd539697 [2021-06-25T10:28:23.246Z] Step 11/26 : ARG MAKE='make build' [2021-06-25T10:28:23.246Z] ---> Running in 41446da335d5 [2021-06-25T10:28:23.517Z] Removing intermediate container 41446da335d5 [2021-06-25T10:28:23.517Z] ---> 4a0ce8865fa3 [2021-06-25T10:28:23.517Z] Step 12/26 : RUN $MAKE [2021-06-25T10:28:23.795Z] ---> Running in 17d513e2ef1f [2021-06-25T10:28:24.782Z] go mod tidy [2021-06-25T10:28:25.388Z] 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-25T10:28:34.794Z] lf-activate-venv(): INFO: Adding /tmp/venv-seim/bin to PATH [2021-06-25T10:28:34.794Z] INFO: No Stack... [2021-06-25T10:28:35.058Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:28:35.631Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:28:35.955Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-25T10:28:35.955Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T10:28:36.012Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] [2021-06-25T10:28:36.018Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] did not exist. Created. [2021-06-25T10:28:36.018Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:28:36.467Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T10:28:36.557Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:28:36.577Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T10:29:22.039Z] Removing intermediate container 17d513e2ef1f [2021-06-25T10:29:22.039Z] ---> 75317180fcc1 [2021-06-25T10:29:22.039Z] Step 13/26 : FROM alpine:3.12 [2021-06-25T10:29:22.039Z] 3.12: Pulling from library/alpine [2021-06-25T10:29:22.039Z] d2f70382dc9a: Pulling fs layer [2021-06-25T10:29:22.039Z] d2f70382dc9a: Verifying Checksum [2021-06-25T10:29:22.039Z] d2f70382dc9a: Download complete [2021-06-25T10:29:22.039Z] d2f70382dc9a: Pull complete [2021-06-25T10:29:22.039Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:29:22.039Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:29:22.039Z] ---> c4fd0aeabfcf [2021-06-25T10:29:22.039Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-25T10:29:22.039Z] ---> Running in d0b5586eba1f [2021-06-25T10:29:22.039Z] Removing intermediate container d0b5586eba1f [2021-06-25T10:29:22.039Z] ---> 31ecac2423f8 [2021-06-25T10:29:22.039Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:29:22.039Z] ---> Running in 1d5294549ca9 [2021-06-25T10:29:22.039Z] Removing intermediate container 1d5294549ca9 [2021-06-25T10:29:22.039Z] ---> 12a14f2137ca [2021-06-25T10:29:22.039Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T10:29:22.039Z] ---> Running in 4eabb79b32b2 [2021-06-25T10:29:22.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:29:22.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:29:22.039Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T10:29:22.039Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T10:29:22.039Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:29:22.039Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:29:22.039Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T10:29:22.039Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T10:29:22.039Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:29:22.039Z] OK: 8 MiB in 20 packages [2021-06-25T10:29:23.022Z] Removing intermediate container 4eabb79b32b2 [2021-06-25T10:29:23.022Z] ---> cbe0b6612d8e [2021-06-25T10:29:23.022Z] Step 17/26 : WORKDIR / [2021-06-25T10:29:23.022Z] ---> Running in 6031145038a1 [2021-06-25T10:29:23.621Z] Removing intermediate container 6031145038a1 [2021-06-25T10:29:23.621Z] ---> f0817649234c [2021-06-25T10:29:23.621Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-25T10:29:24.218Z] ---> 3f586d8dd7b5 [2021-06-25T10:29:24.218Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-25T10:29:25.201Z] ---> 67dfcfde089e [2021-06-25T10:29:25.201Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-25T10:29:26.649Z] ---> 337f658705e0 [2021-06-25T10:29:26.649Z] Step 21/26 : EXPOSE 59900 [2021-06-25T10:29:26.649Z] ---> Running in 6ed24a230acf [2021-06-25T10:29:27.245Z] Removing intermediate container 6ed24a230acf [2021-06-25T10:29:27.245Z] ---> 9e76028b0d0b [2021-06-25T10:29:27.245Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-25T10:29:27.245Z] ---> Running in 553efab43230 [2021-06-25T10:29:27.841Z] Removing intermediate container 553efab43230 [2021-06-25T10:29:27.841Z] ---> 25d363dca68f [2021-06-25T10:29:27.841Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:29:27.841Z] ---> Running in 522f3e7c1d13 [2021-06-25T10:29:28.436Z] Removing intermediate container 522f3e7c1d13 [2021-06-25T10:29:28.436Z] ---> 697857ac41fa [2021-06-25T10:29:28.436Z] Step 24/26 : LABEL arch=arm64 [2021-06-25T10:29:28.436Z] ---> Running in d7fa331cac24 [2021-06-25T10:29:29.031Z] Removing intermediate container d7fa331cac24 [2021-06-25T10:29:29.032Z] ---> d5b0465e77b2 [2021-06-25T10:29:29.032Z] Step 25/26 : LABEL git_sha=e75a7fc32c19bcc07ee0092e1a78091e02702a2e [2021-06-25T10:29:29.032Z] ---> Running in ec49cae2f2c2 [2021-06-25T10:29:29.630Z] Removing intermediate container ec49cae2f2c2 [2021-06-25T10:29:29.630Z] ---> 226c1101f186 [2021-06-25T10:29:29.630Z] Step 26/26 : LABEL version=0.0.0 [2021-06-25T10:29:29.630Z] ---> Running in 3e8a45238693 [2021-06-25T10:29:30.229Z] Removing intermediate container 3e8a45238693 [2021-06-25T10:29:30.230Z] ---> b10ab572368c [2021-06-25T10:29:30.230Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T10:29:30.230Z] Successfully built b10ab572368c [2021-06-25T10:29:30.230Z] 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-25T10:29:31.275Z] ---> job-cost.sh [2021-06-25T10:29:31.275Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XSxN [2021-06-25T10:30:10.267Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:31:47.051Z] lf-activate-venv(): INFO: Adding /tmp/venv-XSxN/bin to PATH [2021-06-25T10:31:47.051Z] INFO: No Stack... [2021-06-25T10:31:47.051Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T10:31:47.051Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:31:47.411Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-25T10:31:47.412Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T10:31:47.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] [2021-06-25T10:31:47.506Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] did not exist. Created. [2021-06-25T10:31:47.506Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:31:47.964Z] /w/workspace/device-virtual-go/1@tmp/durable-b0808faf/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b0808faf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T10:31:48.339Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T10:31:48.417Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T10:31:48.665Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:31:48.686Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-231-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-25T10:31:49.715Z] provisioning config files... [2021-06-25T10:31:49.731Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config6362607378884951115tmp [Pipeline] { [Pipeline] sh [2021-06-25T10:31:50.085Z] + set +x [2021-06-25T10:31:50.085Z] + curl -s https://codecov.io/bash [2021-06-25T10:31:50.085Z] + bash -s -- [2021-06-25T10:31:50.085Z] [2021-06-25T10:31:50.085Z] _____ _ [2021-06-25T10:31:50.085Z] / ____| | | [2021-06-25T10:31:50.085Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T10:31:50.085Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T10:31:50.085Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T10:31:50.085Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T10:31:50.085Z] Bash-1.0.3 [2021-06-25T10:31:50.085Z] [2021-06-25T10:31:50.085Z] [2021-06-25T10:31:50.085Z] ==> git version 2.24.4 found [2021-06-25T10:31:50.085Z] ==> 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-25T10:31:50.085Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T10:31:50.085Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T10:31:50.085Z] ==> Jenkins CI detected. [2021-06-25T10:31:50.085Z] project root: . [2021-06-25T10:31:50.085Z] --> token set from env [2021-06-25T10:31:50.085Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T10:31:50.085Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T10:31:50.085Z] ==> Python coveragepy not found [2021-06-25T10:31:50.085Z] ==> Searching for coverage reports in: [2021-06-25T10:31:50.085Z] + . [2021-06-25T10:31:50.085Z] -> Found 1 reports [2021-06-25T10:31:50.085Z] ==> Detecting git/mercurial file structure [2021-06-25T10:31:50.085Z] ==> Reading reports [2021-06-25T10:31:50.085Z] + ./coverage.out bytes=47257 [2021-06-25T10:31:50.085Z] ==> Appending adjustments [2021-06-25T10:31:50.085Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T10:31:50.347Z] + Found adjustments [2021-06-25T10:31:50.347Z] ==> Gzipping contents [2021-06-25T10:31:50.347Z] 8.0K /tmp/codecov.7SECcs.gz [2021-06-25T10:31:50.347Z] ==> Uploading reports [2021-06-25T10:31:50.347Z] url: https://codecov.io [2021-06-25T10:31:50.347Z] query: branch=PR-231&commit=e75a7fc32c19bcc07ee0092e1a78091e02702a2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-25T10:31:50.347Z] -> Pinging Codecov [2021-06-25T10:31:50.347Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-231&commit=e75a7fc32c19bcc07ee0092e1a78091e02702a2e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=231&job=&cmd_args= [2021-06-25T10:31:50.924Z] -> Uploading to [2021-06-25T10:31:50.924Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/5E52B4B073DB2E39498172D8E973AA87/e75a7fc32c19bcc07ee0092e1a78091e02702a2e/d64094c0-0bb7-4faa-a5a3-98afe4acb4d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T103150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba35a63e297daffb4f80b5da06888372fdf008f9ff0cdff831f8cfd294caf1f0 [2021-06-25T10:31:50.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T10:31:50.924Z] Dload Upload Total Spent Left Speed [2021-06-25T10:31:51.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5752 0 0 100 5752 0 11853 --:--:-- --:--:-- --:--:-- 11859 [2021-06-25T10:31:51.187Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e75a7fc32c19bcc07ee0092e1a78091e02702a2e [Pipeline] } [2021-06-25T10:31:51.223Z] 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-25T10:31:54.094Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:31:54.711Z] ---> package-listing.sh [2021-06-25T10:31:54.711Z] ++ facter osfamily [2021-06-25T10:31:54.711Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T10:31:54.975Z] + OS_FAMILY=redhat [2021-06-25T10:31:54.975Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-231 [2021-06-25T10:31:54.975Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T10:31:54.975Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T10:31:54.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T10:31:54.975Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T10:31:54.975Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-25T10:31:54.975Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T10:31:54.975Z] + case "${OS_FAMILY}" in [2021-06-25T10:31:54.975Z] + sort [2021-06-25T10:31:54.975Z] + rpm -qa [2021-06-25T10:31:55.546Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T10:31:55.546Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T10:31:55.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T10:31:55.546Z] + '[' /w/workspace/foundry_device-virtual-go_PR-231 ']' [2021-06-25T10:31:55.546Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-231/archives/ [2021-06-25T10:31:55.546Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-231/archives/ [Pipeline] echo [2021-06-25T10:31:55.584Z] 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-231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T10:31:55.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:31:56.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:31:56.532Z] [2021-06-25T10:31:56.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:31:56.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:31:57.163Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T10:31:57.163Z] df20fa9351a1: Pulling fs layer [2021-06-25T10:31:57.163Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T10:31:57.163Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T10:31:57.163Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T10:31:57.163Z] 93b61091891f: Pulling fs layer [2021-06-25T10:31:57.163Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T10:31:57.163Z] 5e14af77c1be: Pulling fs layer [2021-06-25T10:31:57.163Z] 01666e4c0597: Pulling fs layer [2021-06-25T10:31:57.163Z] aa168da1d23b: Pulling fs layer [2021-06-25T10:31:57.163Z] 46f8f816bc3b: Waiting [2021-06-25T10:31:57.163Z] 93b61091891f: Waiting [2021-06-25T10:31:57.163Z] 93b9cdb0e59b: Waiting [2021-06-25T10:31:57.163Z] 5e14af77c1be: Waiting [2021-06-25T10:31:57.163Z] 01666e4c0597: Waiting [2021-06-25T10:31:57.163Z] aa168da1d23b: Waiting [2021-06-25T10:31:57.163Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T10:31:57.163Z] 36b3adc4ff6f: Download complete [2021-06-25T10:31:57.163Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T10:31:57.163Z] 46f8f816bc3b: Download complete [2021-06-25T10:31:57.163Z] df20fa9351a1: Verifying Checksum [2021-06-25T10:31:57.163Z] df20fa9351a1: Download complete [2021-06-25T10:31:57.163Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T10:31:57.163Z] 93b9cdb0e59b: Download complete [2021-06-25T10:31:57.163Z] 5e14af77c1be: Verifying Checksum [2021-06-25T10:31:57.163Z] 5e14af77c1be: Download complete [2021-06-25T10:31:57.163Z] 93b61091891f: Verifying Checksum [2021-06-25T10:31:57.163Z] 93b61091891f: Download complete [2021-06-25T10:31:57.163Z] 01666e4c0597: Verifying Checksum [2021-06-25T10:31:57.163Z] 01666e4c0597: Download complete [2021-06-25T10:31:57.428Z] df20fa9351a1: Pull complete [2021-06-25T10:31:57.428Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T10:31:57.428Z] 8ad3a11d3b57: Download complete [2021-06-25T10:31:57.428Z] 36b3adc4ff6f: Pull complete [2021-06-25T10:31:58.022Z] 8ad3a11d3b57: Pull complete [2021-06-25T10:31:58.285Z] 46f8f816bc3b: Pull complete [2021-06-25T10:31:58.556Z] 93b61091891f: Pull complete [2021-06-25T10:31:58.556Z] 93b9cdb0e59b: Pull complete [2021-06-25T10:31:58.817Z] 5e14af77c1be: Pull complete [2021-06-25T10:31:58.817Z] 01666e4c0597: Pull complete [2021-06-25T10:31:59.765Z] aa168da1d23b: Verifying Checksum [2021-06-25T10:31:59.765Z] aa168da1d23b: Download complete [2021-06-25T10:32:06.387Z] aa168da1d23b: Pull complete [2021-06-25T10:32:06.387Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T10:32:06.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:32:06.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T10:32:06.495Z] prd-centos7-docker-4c-2g-40 does not seem to be running inside a container [2021-06-25T10:32:06.533Z] $ 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-231/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-231 -v /w/workspace/foundry_device-virtual-go_PR-231:/w/workspace/foundry_device-virtual-go_PR-231:rw,z -v /w/workspace/foundry_device-virtual-go_PR-231@tmp:/w/workspace/foundry_device-virtual-go_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T10:32:24.090Z] $ docker top bc76374988ffeb5cfe330cc1b77e236c990161c2f991d33748ef042a45c5e6a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:32:24.538Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T10:32:24.855Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T10:32:25.173Z] + ls /var/log/sa-host [2021-06-25T10:32:25.173Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T10:32:25.173Z] file_magic: OK [2021-06-25T10:32:25.173Z] HZ: Using current value: 100 [2021-06-25T10:32:25.173Z] file_header: OK [2021-06-25T10:32:25.173Z] 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-25T10:32:25.173Z] Statistics: [2021-06-25T10:32:25.173Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:32:25.173Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T10:32:25.173Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T10:32:25.173Z] file_magic: OK [2021-06-25T10:32:25.173Z] HZ: Using current value: 100 [2021-06-25T10:32:25.173Z] file_header: OK [2021-06-25T10:32:25.173Z] 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-25T10:32:25.174Z] Statistics: [2021-06-25T10:32:25.174Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:32:25.174Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:32:25.490Z] provisioning config files... [2021-06-25T10:32:25.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-231@tmp/config2949340553323359897tmp [Pipeline] { [Pipeline] echo [2021-06-25T10:32:25.569Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:25.912Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T10:32:25.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:26.454Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T10:32:26.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:26.829Z] ---> sudo-logs.sh [2021-06-25T10:32:26.829Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T10:32:26.914Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:27.252Z] ---> job-cost.sh [2021-06-25T10:32:27.252Z] lf-activate-venv: SKIPPING [2021-06-25T10:32:27.252Z] DEBUG: total: 0.18000000715255737 [2021-06-25T10:32:27.252Z] INFO: Retrieving Stack Cost... [2021-06-25T10:32:28.655Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:32:28.916Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T10:32:28.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:29.293Z] ---> logs-deploy.sh [2021-06-25T10:32:29.293Z] lf-activate-venv: SKIPPING [2021-06-25T10:32:29.293Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-231/1 [2021-06-25T10:32:29.293Z] INFO: archiving workspace using pattern(s): [2021-06-25T10:32:30.242Z] Archives upload complete. [2021-06-25T10:32:30.242Z] INFO: archiving logs to Nexus