lenny-intel commented: recheck 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 38065012ac25631435502f8862b32f6f6c310cb2+8a9f53767de23efea08b28f521ee9bca65565c85 (b61c9883515eed207cfad85fcdd8422f16ea94f9) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh5386423224550976183.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh7900303192290253895.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-221/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-221/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6425050919503375990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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 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-ssh5641234635809279133.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-221/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > 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-221/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4006868307933634825.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-1112 in /w/workspace/foundry_device-virtual-go_PR-221 [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-221 # 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-221@tmp/jenkins-gitclient-ssh3315101484461108368.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8a9f53767de23efea08b28f521ee9bca65565c85 into PR head commit 38065012ac25631435502f8862b32f6f6c310cb2 Merge succeeded, producing 38065012ac25631435502f8862b32f6f6c310cb2 Checking out Revision 38065012ac25631435502f8862b32f6f6c310cb2 (PR-221) > 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-221@tmp/jenkins-gitclient-ssh4543331361004417246.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # 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-221@tmp/jenkins-gitclient-ssh409372004467986300.key > git merge 8a9f53767de23efea08b28f521ee9bca65565c85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" > git rev-list --no-walk 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T00:33:55.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T00:33:56.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T00:33:56.074Z] ========================================================= [2021-06-09T00:33:56.074Z] EdgeX Global Pipelines Version Info [2021-06-09T00:33:56.074Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:34:01.125Z] ------------------- [2021-06-09T00:34:01.125Z] stable info: [2021-06-09T00:34:01.125Z] ------------------- [2021-06-09T00:34:01.125Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T00:34:01.125Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:34:01.125Z] Message: update stable to v1.0.194 [2021-06-09T00:34:01.125Z] ------------------- [2021-06-09T00:34:01.125Z] experimental info: [2021-06-09T00:34:01.125Z] ------------------- [2021-06-09T00:34:01.125Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T00:34:01.125Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:34:01.125Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T00:34:01.279Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-09T00:34:01.309Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-09T00:34:01.345Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T00:34:01.379Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T00:34:01.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T00:34:01.440Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T00:34:01.470Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T00:34:03.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T00:34:03.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-09T00:34:03.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T00:34:03.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T00:34:03.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-09T00:34:04.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T00:34:04.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T00:34:04.061Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T00:34:04.099Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T00:34:04.143Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:34:04.172Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:34:04.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T00:34:04.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T00:34:04.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-09T00:34:06.382Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-09T00:34:06.412Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T00:34:06.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T00:34:06.552Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T00:34:06.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T00:34:06.615Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo [2021-06-09T00:34:06.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo [2021-06-09T00:34:06.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo [2021-06-09T00:34:06.754Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38065012ac25631435502f8862b32f6f6c310cb2 [Pipeline] echo [2021-06-09T00:34:06.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3806501 [Pipeline] echo [2021-06-09T00:34:06.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:34:09.046Z] provisioning config files... [2021-06-09T00:34:09.075Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-221@tmp/config5282405253339920994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:34:09.432Z] ---> docker-login.sh [2021-06-09T00:34:09.432Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:34:09.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:34:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:34:12.406Z] Configure a credential helper to remove this warning. See [2021-06-09T00:34:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:34:12.406Z] [2021-06-09T00:34:12.406Z] Login Succeeded [2021-06-09T00:34:12.406Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:34:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:34:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:34:12.406Z] Configure a credential helper to remove this warning. See [2021-06-09T00:34:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:34:12.406Z] [2021-06-09T00:34:12.406Z] Login Succeeded [2021-06-09T00:34:12.406Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:34:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:34:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:34:12.406Z] Configure a credential helper to remove this warning. See [2021-06-09T00:34:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:34:12.406Z] [2021-06-09T00:34:12.406Z] Login Succeeded [2021-06-09T00:34:12.406Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:34:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:34:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:34:12.406Z] Configure a credential helper to remove this warning. See [2021-06-09T00:34:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:34:12.406Z] [2021-06-09T00:34:12.406Z] Login Succeeded [2021-06-09T00:34:12.406Z] docker.io [2021-06-09T00:34:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:34:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:34:12.406Z] Configure a credential helper to remove this warning. See [2021-06-09T00:34:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:34:12.406Z] [2021-06-09T00:34:12.406Z] Login Succeeded [2021-06-09T00:34:12.406Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:34:12.438Z] 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-09T00:34:15.252Z] + git log --format=format:%s -1 38065012ac25631435502f8862b32f6f6c310cb2 [Pipeline] echo [2021-06-09T00:34:15.349Z] GIT_COMMIT: 38065012ac25631435502f8862b32f6f6c310cb2, Commit Message: refactor: Change PublishTopicPrefix value to be 'edgex/events/device' [Pipeline] echo [2021-06-09T00:34:15.372Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:34:20.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:34:20.152Z] [2021-06-09T00:34:20.152Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:34:20.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:34:20.553Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T00:34:20.553Z] 31603596830f: Pulling fs layer [2021-06-09T00:34:20.553Z] 54011a49482f: Pulling fs layer [2021-06-09T00:34:20.553Z] a6820b24f6d8: Pulling fs layer [2021-06-09T00:34:20.553Z] f581987b2513: Pulling fs layer [2021-06-09T00:34:20.553Z] f581987b2513: Waiting [2021-06-09T00:34:20.553Z] 54011a49482f: Verifying Checksum [2021-06-09T00:34:20.553Z] 54011a49482f: Download complete [2021-06-09T00:34:22.910Z] 31603596830f: Verifying Checksum [2021-06-09T00:34:22.910Z] 31603596830f: Download complete [2021-06-09T00:34:22.910Z] a6820b24f6d8: Verifying Checksum [2021-06-09T00:34:22.910Z] a6820b24f6d8: Download complete [2021-06-09T00:34:22.910Z] f581987b2513: Verifying Checksum [2021-06-09T00:34:22.910Z] f581987b2513: Download complete [2021-06-09T00:34:22.910Z] 31603596830f: Pull complete [2021-06-09T00:34:22.910Z] 54011a49482f: Pull complete [2021-06-09T00:34:22.910Z] a6820b24f6d8: Pull complete [2021-06-09T00:34:22.910Z] f581987b2513: Pull complete [2021-06-09T00:34:22.910Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T00:34:22.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:34:22.910Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T00:34:23.076Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-06-09T00:34:23.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-221 -v /w/workspace/foundry_device-virtual-go_PR-221:/w/workspace/foundry_device-virtual-go_PR-221:rw,z -v /w/workspace/foundry_device-virtual-go_PR-221@tmp:/w/workspace/foundry_device-virtual-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T00:34:25.447Z] $ docker top c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T00:34:25.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:34:25.690Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:34:25.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:34:25.827Z] $ docker exec c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a ssh-agent [2021-06-09T00:34:28.042Z] SSH_AUTH_SOCK=/tmp/ssh-njieV9knvVwY/agent.14 [2021-06-09T00:34:28.042Z] SSH_AGENT_PID=21 [2021-06-09T00:34:28.061Z] Running ssh-add (command line suppressed) [2021-06-09T00:34:28.165Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-221@tmp/private_key_4235122904585690747.key (/w/workspace/foundry_device-virtual-go_PR-221@tmp/private_key_4235122904585690747.key) [2021-06-09T00:34:28.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:34:31.713Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T00:34:31.760Z] $ docker exec --env ******** --env ******** c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a ssh-agent -k [2021-06-09T00:34:31.865Z] unset SSH_AUTH_SOCK; [2021-06-09T00:34:31.866Z] unset SSH_AGENT_PID; [2021-06-09T00:34:31.866Z] echo Agent pid 21 killed; [2021-06-09T00:34:31.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T00:34:31.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:34:31.979Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:34:34.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:34:34.536Z] $ docker exec c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a ssh-agent [2021-06-09T00:34:34.685Z] SSH_AUTH_SOCK=/tmp/ssh-4BVb6mMKs4yY/agent.53 [2021-06-09T00:34:34.685Z] SSH_AGENT_PID=60 [2021-06-09T00:34:34.708Z] Running ssh-add (command line suppressed) [2021-06-09T00:34:34.810Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-221@tmp/private_key_7161320020295929999.key (/w/workspace/foundry_device-virtual-go_PR-221@tmp/private_key_7161320020295929999.key) [2021-06-09T00:34:34.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:34:38.565Z] + git semver init [2021-06-09T00:34:38.565Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T00:34:38.565Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-221/.git [2021-06-09T00:34:38.565Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-221 [2021-06-09T00:34:38.565Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T00:34:38.565Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T00:34:38.565Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T00:34:38.565Z] # $SEMVER_BRANCH = PR-221 [2021-06-09T00:34:38.565Z] # $SEMVER_TEMP = /tmp/semver-000453220 [2021-06-09T00:34:38.565Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-09T00:34:38.565Z] # '/tmp/semver-000453220' -> '/w/workspace/foundry_device-virtual-go_PR-221/.semver' [2021-06-09T00:34:38.565Z] # -> Force: false [2021-06-09T00:34:38.565Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-221/.semver [Pipeline] } [2021-06-09T00:34:38.598Z] $ docker exec --env ******** --env ******** c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a ssh-agent -k [2021-06-09T00:34:38.721Z] unset SSH_AUTH_SOCK; [2021-06-09T00:34:38.722Z] unset SSH_AGENT_PID; [2021-06-09T00:34:38.722Z] echo Agent pid 60 killed; [2021-06-09T00:34:42.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T00:34:42.600Z] + git semver [Pipeline] } [2021-06-09T00:34:44.894Z] $ docker stop --time=1 c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a [2021-06-09T00:34:47.414Z] $ docker rm -f c45cb111ade43173e7ddd07de0fe78baa17194855f5310c73291f5611c99835a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:34:49.877Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T00:34:50.286Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T00:34:50.290Z] [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-09T00:34:55.035Z] Running on prd-centos7-docker-4c-2g-1119 in /w/workspace/foundry_device-virtual-go_PR-221 [Pipeline] { [Pipeline] ws [2021-06-09T00:34:55.102Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T00:34:55.236Z] The recommended git tool is: git [2021-06-09T00:35:07.707Z] Still waiting to schedule task [2021-06-09T00:35:07.707Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-09T00:35:13.378Z] using credential edgex-jenkins-ssh [2021-06-09T00:35:13.392Z] Cloning the remote Git repository [2021-06-09T00:35:13.414Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:35:13.483Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-09T00:35:13.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:35:13.531Z] > git --version # timeout=10 [2021-06-09T00:35:13.539Z] > git --version # 'git version 2.24.4' [2021-06-09T00:35:13.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:13.570Z] [INFO] Currently running in a labeled security context [2021-06-09T00:35:13.570Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:35:13.571Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh1907807373274952162.key [2021-06-09T00:35:13.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:35:17.406Z] Merging remotes/origin/master commit 8a9f53767de23efea08b28f521ee9bca65565c85 into PR head commit 38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:35:16.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-09T00:35:16.931Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:35:16.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-09T00:35:16.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:35:16.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:16.955Z] [INFO] Currently running in a labeled security context [2021-06-09T00:35:16.955Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:35:16.956Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh3445716483419348385.key [2021-06-09T00:35:16.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:35:17.412Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:35:17.421Z] > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 [2021-06-09T00:35:19.695Z] Merge succeeded, producing 38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:35:19.695Z] Checking out Revision 38065012ac25631435502f8862b32f6f6c310cb2 (PR-221) [2021-06-09T00:35:19.648Z] > git remote # timeout=10 [2021-06-09T00:35:19.658Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:35:19.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:35:19.663Z] [INFO] Currently running in a labeled security context [2021-06-09T00:35:19.663Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:35:19.663Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh89178732063883064.key [2021-06-09T00:35:19.669Z] > git merge 8a9f53767de23efea08b28f521ee9bca65565c85 # timeout=10 [2021-06-09T00:35:19.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:35:19.697Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:35:19.702Z] > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 [2021-06-09T00:35:23.349Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:35:28.711Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:35:29.056Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:35:29.361Z] + sudo service docker restart [2021-06-09T00:35:29.361Z] + true [2021-06-09T00:35:29.361Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:35:46.625Z] provisioning config files... [2021-06-09T00:35:46.644Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6387571756695512149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:35:47.018Z] ---> docker-login.sh [2021-06-09T00:35:47.018Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:35:47.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:35:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:35:49.301Z] Configure a credential helper to remove this warning. See [2021-06-09T00:35:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:35:49.301Z] [2021-06-09T00:35:49.301Z] Login Succeeded [2021-06-09T00:35:49.301Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:35:49.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:35:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:35:49.301Z] Configure a credential helper to remove this warning. See [2021-06-09T00:35:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:35:49.301Z] [2021-06-09T00:35:49.301Z] Login Succeeded [2021-06-09T00:35:49.301Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:35:49.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:35:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:35:49.301Z] Configure a credential helper to remove this warning. See [2021-06-09T00:35:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:35:49.301Z] [2021-06-09T00:35:49.301Z] Login Succeeded [2021-06-09T00:35:49.301Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:35:49.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:35:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:35:49.301Z] Configure a credential helper to remove this warning. See [2021-06-09T00:35:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:35:49.301Z] [2021-06-09T00:35:49.301Z] Login Succeeded [2021-06-09T00:35:49.301Z] docker.io [2021-06-09T00:35:49.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:35:49.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:35:49.301Z] Configure a credential helper to remove this warning. See [2021-06-09T00:35:49.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:35:49.301Z] [2021-06-09T00:35:49.301Z] Login Succeeded [2021-06-09T00:35:49.301Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:35:49.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T00:35:49.570Z] ========================================================= [2021-06-09T00:35:49.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T00:35:49.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:35:52.067Z] + 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-09T00:35:52.067Z] Sending build context to Docker daemon 8.609MB [2021-06-09T00:35:52.067Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:35:52.067Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:35:52.067Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T00:35:52.067Z] 540db60ca938: Pulling fs layer [2021-06-09T00:35:52.067Z] adcc1eea9eea: Pulling fs layer [2021-06-09T00:35:52.067Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T00:35:52.067Z] 0510c868ecb4: Pulling fs layer [2021-06-09T00:35:52.067Z] afea3b2eda06: Pulling fs layer [2021-06-09T00:35:52.067Z] 7809a108b3ef: Pulling fs layer [2021-06-09T00:35:52.067Z] f706445af74f: Pulling fs layer [2021-06-09T00:35:52.067Z] afea3b2eda06: Waiting [2021-06-09T00:35:52.067Z] 7809a108b3ef: Waiting [2021-06-09T00:35:52.067Z] f706445af74f: Waiting [2021-06-09T00:35:52.067Z] 0510c868ecb4: Waiting [2021-06-09T00:35:52.067Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T00:35:52.067Z] 4c4ab2625f07: Download complete [2021-06-09T00:35:52.067Z] adcc1eea9eea: Verifying Checksum [2021-06-09T00:35:52.067Z] adcc1eea9eea: Download complete [2021-06-09T00:35:52.067Z] afea3b2eda06: Verifying Checksum [2021-06-09T00:35:52.067Z] afea3b2eda06: Download complete [2021-06-09T00:35:52.067Z] 7809a108b3ef: Verifying Checksum [2021-06-09T00:35:52.067Z] 7809a108b3ef: Download complete [2021-06-09T00:35:52.067Z] 540db60ca938: Verifying Checksum [2021-06-09T00:35:52.067Z] 540db60ca938: Download complete [2021-06-09T00:35:52.067Z] 540db60ca938: Pull complete [2021-06-09T00:35:52.067Z] adcc1eea9eea: Pull complete [2021-06-09T00:35:52.067Z] 4c4ab2625f07: Pull complete [2021-06-09T00:35:52.327Z] f706445af74f: Verifying Checksum [2021-06-09T00:35:52.327Z] f706445af74f: Download complete [2021-06-09T00:35:52.899Z] 0510c868ecb4: Verifying Checksum [2021-06-09T00:35:52.899Z] 0510c868ecb4: Download complete [2021-06-09T00:35:56.535Z] 0510c868ecb4: Pull complete [2021-06-09T00:35:56.535Z] afea3b2eda06: Pull complete [2021-06-09T00:35:56.535Z] 7809a108b3ef: Pull complete [2021-06-09T00:35:57.485Z] f706445af74f: Pull complete [2021-06-09T00:35:57.485Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T00:35:57.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T00:35:57.485Z] ---> b068be0155e3 [2021-06-09T00:35:57.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-09T00:36:01.957Z] ---> Running in 8d42b9fd2b2c [2021-06-09T00:36:01.957Z] Removing intermediate container 8d42b9fd2b2c [2021-06-09T00:36:01.957Z] ---> 6f86ec1579d6 [2021-06-09T00:36:01.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:36:01.957Z] ---> Running in 1cac1f8bdb90 [2021-06-09T00:36:01.957Z] Removing intermediate container 1cac1f8bdb90 [2021-06-09T00:36:01.957Z] ---> 9426a1ec48b9 [2021-06-09T00:36:01.957Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T00:36:01.957Z] ---> Running in 4c158b1d6d45 [2021-06-09T00:36:02.238Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:36:03.189Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:36:03.453Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-09T00:36:03.717Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-09T00:36:03.717Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-09T00:36:03.717Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:36:03.980Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T00:36:03.980Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-09T00:36:03.980Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-09T00:36:04.553Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-09T00:36:04.553Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-09T00:36:04.553Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-09T00:36:04.553Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-09T00:36:07.066Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-09T00:36:07.066Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:36:07.066Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:36:07.066Z] OK: 156 MiB in 53 packages [2021-06-09T00:36:07.066Z] Removing intermediate container 4c158b1d6d45 [2021-06-09T00:36:07.066Z] ---> a2e014aa018f [2021-06-09T00:36:07.066Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-09T00:36:07.066Z] ---> Running in 927b91b57ddd [2021-06-09T00:36:07.066Z] Removing intermediate container 927b91b57ddd [2021-06-09T00:36:07.066Z] ---> ddc58cbc37d2 [2021-06-09T00:36:07.066Z] Step 7/8 : COPY . . [2021-06-09T00:36:07.066Z] ---> 7cb5e8debbd8 [2021-06-09T00:36:07.066Z] Step 8/8 : RUN go mod download [2021-06-09T00:36:07.066Z] ---> Running in 50852908a65f [2021-06-09T00:36:20.268Z] Removing intermediate container 50852908a65f [2021-06-09T00:36:20.268Z] ---> 679e233576b4 [2021-06-09T00:36:20.268Z] Successfully built 679e233576b4 [2021-06-09T00:36:20.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:36:20.574Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:36:20.574Z] . [Pipeline] withDockerContainer [2021-06-09T00:36:20.646Z] prd-centos7-docker-4c-2g-1119 does not seem to be running inside a container [2021-06-09T00:36:20.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:36:21.112Z] $ docker top 537c950bbf10db50b4f52d55520f098ceaf558adc6550bb0efc957c6926e7e0d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:36:21.503Z] + go version [2021-06-09T00:36:21.503Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T00:36:21.521Z] $ docker stop --time=1 537c950bbf10db50b4f52d55520f098ceaf558adc6550bb0efc957c6926e7e0d [2021-06-09T00:36:22.740Z] $ docker rm -f 537c950bbf10db50b4f52d55520f098ceaf558adc6550bb0efc957c6926e7e0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:36:25.219Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:36:25.219Z] . [Pipeline] withDockerContainer [2021-06-09T00:36:25.301Z] prd-centos7-docker-4c-2g-1119 does not seem to be running inside a container [2021-06-09T00:36:25.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T00:36:25.695Z] $ docker top 7cc4ada697dd0d7ee25d1fb42bf1e7af89e9261c140a99bc387bc5f78b900504 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:36:26.090Z] + go mod tidy [Pipeline] sh [2021-06-09T00:36:26.662Z] + make test [2021-06-09T00:36:26.662Z] go mod tidy [2021-06-09T00:36:26.662Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-09T00:36:27.275Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-09T00:36:48.073Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-09T00:36:48.073Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.266s coverage: 63.8% of statements [2021-06-09T00:36:48.073Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:36:52.722Z] gofmt -l . [2021-06-09T00:36:52.722Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:36:52.722Z] ./bin/test-attribution-txt.sh [2021-06-09T00:36:53.304Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T00:36:53.580Z] $ docker stop --time=1 7cc4ada697dd0d7ee25d1fb42bf1e7af89e9261c140a99bc387bc5f78b900504 [2021-06-09T00:36:55.277Z] $ docker rm -f 7cc4ada697dd0d7ee25d1fb42bf1e7af89e9261c140a99bc387bc5f78b900504 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:36:55.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:36:55.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T00:37:01.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:37:01.855Z] + ls -al . [2021-06-09T00:37:01.855Z] total 132 [2021-06-09T00:37:01.855Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 9 00:36 . [2021-06-09T00:37:01.855Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 00:35 .. [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 9 00:35 Attribution.txt [2021-06-09T00:37:01.855Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 00:35 bin [2021-06-09T00:37:01.855Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 9 00:35 cmd [2021-06-09T00:37:01.855Z] -rw-r--r--. 1 jenkins jenkins 47247 Jun 9 00:36 coverage.out [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 9 00:35 Dockerfile [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 9 00:35 Dockerfile.build [2021-06-09T00:37:01.855Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 00:35 .git [2021-06-09T00:37:01.855Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 00:35 .github [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 9 00:35 .gitignore [2021-06-09T00:37:01.855Z] -rw-r--r--. 1 jenkins jenkins 809 Jun 9 00:36 go.mod [2021-06-09T00:37:01.855Z] -rw-r--r--. 1 jenkins jenkins 23009 Jun 9 00:36 go.sum [2021-06-09T00:37:01.855Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 9 00:35 internal [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 9 00:35 Jenkinsfile [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 9 00:35 LICENSE [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 9 00:35 Makefile [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 9 00:35 README.md [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 00:34 VERSION [2021-06-09T00:37:01.855Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 9 00:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:37:02.164Z] + 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=38065012ac25631435502f8862b32f6f6c310cb2 --label arch=amd64 --label version=0.0.0 . [2021-06-09T00:37:02.164Z] Sending build context to Docker daemon 8.681MB [2021-06-09T00:37:02.164Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:37:02.164Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-09T00:37:02.164Z] ---> 679e233576b4 [2021-06-09T00:37:02.164Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:37:02.164Z] ---> Running in 67dbd9ecafcc [2021-06-09T00:37:02.425Z] Removing intermediate container 67dbd9ecafcc [2021-06-09T00:37:02.425Z] ---> 0d1e000171df [2021-06-09T00:37:02.425Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:37:02.425Z] ---> Running in a27d1c26e680 [2021-06-09T00:37:02.425Z] Removing intermediate container a27d1c26e680 [2021-06-09T00:37:02.425Z] ---> 8049ba876d0c [2021-06-09T00:37:02.425Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-09T00:37:02.425Z] ---> Running in 461d966cb2ae [2021-06-09T00:37:02.685Z] Removing intermediate container 461d966cb2ae [2021-06-09T00:37:02.685Z] ---> 73c50f302153 [2021-06-09T00:37:02.685Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:37:02.685Z] ---> Running in ef10bd01a7da [2021-06-09T00:37:02.950Z] Removing intermediate container ef10bd01a7da [2021-06-09T00:37:02.950Z] ---> 05e877e4f35d [2021-06-09T00:37:02.950Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:37:02.950Z] ---> Running in f8401dab1b1b [2021-06-09T00:37:03.209Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:37:04.154Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:37:04.415Z] OK: 156 MiB in 53 packages [2021-06-09T00:37:06.645Z] Removing intermediate container f8401dab1b1b [2021-06-09T00:37:06.645Z] ---> 852837a99493 [2021-06-09T00:37:06.645Z] Step 8/26 : COPY . . [2021-06-09T00:37:06.645Z] ---> 80ae57857585 [2021-06-09T00:37:06.645Z] Step 9/26 : RUN go mod tidy [2021-06-09T00:37:06.645Z] ---> Running in bce952855e37 [2021-06-09T00:37:06.645Z] Removing intermediate container bce952855e37 [2021-06-09T00:37:06.645Z] ---> add1f0e34c2d [2021-06-09T00:37:06.645Z] Step 10/26 : RUN go mod download [2021-06-09T00:37:06.645Z] ---> Running in 5d3dbebf002e [2021-06-09T00:37:06.645Z] Removing intermediate container 5d3dbebf002e [2021-06-09T00:37:06.645Z] ---> 9972dad0372b [2021-06-09T00:37:06.645Z] Step 11/26 : ARG MAKE='make build' [2021-06-09T00:37:06.645Z] ---> Running in fefe764f40a2 [2021-06-09T00:37:06.645Z] Removing intermediate container fefe764f40a2 [2021-06-09T00:37:06.645Z] ---> af06806a812f [2021-06-09T00:37:06.645Z] Step 12/26 : RUN $MAKE [2021-06-09T00:37:06.645Z] ---> Running in cda2d2b5e79f [2021-06-09T00:37:06.645Z] go mod tidy [2021-06-09T00:37:06.916Z] 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-09T00:37:23.847Z] Removing intermediate container cda2d2b5e79f [2021-06-09T00:37:23.847Z] ---> 0d3e253ba94f [2021-06-09T00:37:23.847Z] Step 13/26 : FROM alpine:3.12 [2021-06-09T00:37:23.847Z] 3.12: Pulling from library/alpine [2021-06-09T00:37:23.847Z] 339de151aab4: Pulling fs layer [2021-06-09T00:37:23.847Z] 339de151aab4: Verifying Checksum [2021-06-09T00:37:23.847Z] 339de151aab4: Download complete [2021-06-09T00:37:23.847Z] 339de151aab4: Pull complete [2021-06-09T00:37:23.847Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:37:23.847Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:37:23.847Z] ---> 13621d1b12d4 [2021-06-09T00:37:23.847Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-09T00:37:23.847Z] ---> Running in 68e8e3130023 [2021-06-09T00:37:23.847Z] Removing intermediate container 68e8e3130023 [2021-06-09T00:37:23.847Z] ---> fa824cfcfce8 [2021-06-09T00:37:23.847Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:37:23.847Z] ---> Running in 96d5cc260d39 [2021-06-09T00:37:23.847Z] Removing intermediate container 96d5cc260d39 [2021-06-09T00:37:23.847Z] ---> 6048ebc91bb0 [2021-06-09T00:37:23.847Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T00:37:23.847Z] ---> Running in 940eea18c4aa [2021-06-09T00:37:24.119Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:37:26.830Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:37:26.830Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T00:37:26.830Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T00:37:26.830Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:37:26.830Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:37:26.830Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T00:37:26.830Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T00:37:26.830Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:37:26.830Z] OK: 8 MiB in 20 packages [2021-06-09T00:37:27.147Z] Removing intermediate container 940eea18c4aa [2021-06-09T00:37:27.147Z] ---> cdb1525a9685 [2021-06-09T00:37:27.147Z] Step 17/26 : WORKDIR / [2021-06-09T00:37:27.147Z] ---> Running in 98477eebab0c [2021-06-09T00:37:27.147Z] Removing intermediate container 98477eebab0c [2021-06-09T00:37:27.147Z] ---> 2c0cbffb084b [2021-06-09T00:37:27.147Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-09T00:37:27.410Z] ---> f67e6a8ef912 [2021-06-09T00:37:27.410Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-09T00:37:27.410Z] ---> 262b5e871179 [2021-06-09T00:37:27.410Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-09T00:37:30.146Z] ---> 8bc9317aad26 [2021-06-09T00:37:30.146Z] Step 21/26 : EXPOSE 59900 [2021-06-09T00:37:30.146Z] ---> Running in 8990566d4fec [2021-06-09T00:37:30.146Z] Removing intermediate container 8990566d4fec [2021-06-09T00:37:30.146Z] ---> e00e8502ba23 [2021-06-09T00:37:30.146Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-09T00:37:30.146Z] ---> Running in 7490357dae97 [2021-06-09T00:37:30.146Z] Removing intermediate container 7490357dae97 [2021-06-09T00:37:30.146Z] ---> b9b1da5bf39f [2021-06-09T00:37:30.146Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T00:37:30.146Z] ---> Running in 98d5172548eb [2021-06-09T00:37:30.146Z] Removing intermediate container 98d5172548eb [2021-06-09T00:37:30.146Z] ---> d8cfbf81e37a [2021-06-09T00:37:30.146Z] Step 24/26 : LABEL arch=amd64 [2021-06-09T00:37:30.146Z] ---> Running in 8b6634b3c487 [2021-06-09T00:37:30.146Z] Removing intermediate container 8b6634b3c487 [2021-06-09T00:37:30.146Z] ---> 2c21ba0f91cd [2021-06-09T00:37:30.146Z] Step 25/26 : LABEL git_sha=38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:37:30.146Z] ---> Running in 6be333377f22 [2021-06-09T00:37:30.146Z] Removing intermediate container 6be333377f22 [2021-06-09T00:37:30.146Z] ---> 41da95331a8c [2021-06-09T00:37:30.146Z] Step 26/26 : LABEL version=0.0.0 [2021-06-09T00:37:30.146Z] ---> Running in afb09b4f7735 [2021-06-09T00:37:30.146Z] Removing intermediate container afb09b4f7735 [2021-06-09T00:37:30.146Z] ---> 2abf30af4a29 [2021-06-09T00:37:30.146Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T00:37:30.146Z] Successfully built 2abf30af4a29 [2021-06-09T00:37:30.146Z] 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-09T00:37:37.734Z] ---> job-cost.sh [2021-06-09T00:37:37.734Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-spqy [2021-06-09T00:37:44.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:37:56.672Z] lf-activate-venv(): INFO: Adding /tmp/venv-spqy/bin to PATH [2021-06-09T00:37:56.672Z] INFO: No Stack... [2021-06-09T00:37:59.628Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:37:59.628Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:38:00.018Z] + cut -d, -f6 [2021-06-09T00:38:00.018Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2021-06-09T00:38:02.327Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] [2021-06-09T00:38:02.349Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] did not exist. Created. [2021-06-09T00:38:02.350Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:38:02.728Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T00:38:02.828Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:38:02.839Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T00:38:23.726Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1129 in /w/workspace/foundry_device-virtual-go_PR-221 [Pipeline] { [Pipeline] ws [2021-06-09T00:38:23.762Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-06-09T00:38:24.000Z] The recommended git tool is: git [2021-06-09T00:38:49.072Z] using credential edgex-jenkins-ssh [2021-06-09T00:38:49.107Z] Cloning the remote Git repository [2021-06-09T00:38:49.167Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:38:51.457Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-09T00:38:51.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:38:51.569Z] > git --version # timeout=10 [2021-06-09T00:38:51.587Z] > git --version # 'git version 2.17.1' [2021-06-09T00:38:51.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:38:51.678Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:38:53.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-09T00:38:53.255Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:38:56.823Z] Merging remotes/origin/master commit 8a9f53767de23efea08b28f521ee9bca65565c85 into PR head commit 38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:38:54.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-09T00:38:54.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-09T00:38:54.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:38:54.161Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:38:57.087Z] Merge succeeded, producing 38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:38:57.087Z] Checking out Revision 38065012ac25631435502f8862b32f6f6c310cb2 (PR-221) [2021-06-09T00:38:56.838Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:38:56.853Z] > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 [2021-06-09T00:38:56.993Z] > git remote # timeout=10 [2021-06-09T00:38:57.012Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:38:57.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:38:57.036Z] > git merge 8a9f53767de23efea08b28f521ee9bca65565c85 # timeout=10 [2021-06-09T00:38:57.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:38:57.088Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:38:57.099Z] > git checkout -f 38065012ac25631435502f8862b32f6f6c310cb2 # timeout=10 [2021-06-09T00:39:08.082Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:39:13.825Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:39:16.557Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:39:18.963Z] + + sudotrue service [2021-06-09T00:39:18.963Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:39:37.882Z] provisioning config files... [2021-06-09T00:39:37.926Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6067317748547269425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:39:38.311Z] ---> docker-login.sh [2021-06-09T00:39:38.312Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:39:41.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:39:41.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:39:41.262Z] Configure a credential helper to remove this warning. See [2021-06-09T00:39:41.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:39:41.262Z] [2021-06-09T00:39:41.262Z] Login Succeeded [2021-06-09T00:39:41.262Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:39:41.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:39:41.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:39:41.262Z] Configure a credential helper to remove this warning. See [2021-06-09T00:39:41.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:39:41.262Z] [2021-06-09T00:39:41.262Z] Login Succeeded [2021-06-09T00:39:41.262Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:39:41.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:39:41.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:39:41.262Z] Configure a credential helper to remove this warning. See [2021-06-09T00:39:41.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:39:41.262Z] [2021-06-09T00:39:41.262Z] Login Succeeded [2021-06-09T00:39:41.262Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:39:41.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:39:41.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:39:41.262Z] Configure a credential helper to remove this warning. See [2021-06-09T00:39:41.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:39:41.262Z] [2021-06-09T00:39:41.262Z] Login Succeeded [2021-06-09T00:39:41.262Z] docker.io [2021-06-09T00:39:41.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:39:43.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:39:43.905Z] Configure a credential helper to remove this warning. See [2021-06-09T00:39:43.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:39:43.905Z] [2021-06-09T00:39:43.905Z] Login Succeeded [2021-06-09T00:39:43.905Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:39:43.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T00:39:44.272Z] ========================================================= [2021-06-09T00:39:44.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T00:39:44.272Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:39:46.646Z] + 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-09T00:39:46.646Z] Sending build context to Docker daemon 8.608MB [2021-06-09T00:39:46.646Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:39:46.646Z] Step 2/8 : FROM ${BASE} [2021-06-09T00:39:46.646Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T00:39:46.646Z] 595b0fe564bb: Pulling fs layer [2021-06-09T00:39:46.646Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T00:39:46.646Z] 316046926c0a: Pulling fs layer [2021-06-09T00:39:46.646Z] 4ebd0625c992: Pulling fs layer [2021-06-09T00:39:46.646Z] 207e8628e3a3: Pulling fs layer [2021-06-09T00:39:46.646Z] c791037a9be2: Pulling fs layer [2021-06-09T00:39:46.646Z] ffd874e62e21: Pulling fs layer [2021-06-09T00:39:46.646Z] 4ebd0625c992: Waiting [2021-06-09T00:39:46.646Z] 207e8628e3a3: Waiting [2021-06-09T00:39:46.646Z] c791037a9be2: Waiting [2021-06-09T00:39:46.646Z] 316046926c0a: Verifying Checksum [2021-06-09T00:39:46.646Z] 316046926c0a: Download complete [2021-06-09T00:39:46.646Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T00:39:46.646Z] 7186ed65a4f7: Download complete [2021-06-09T00:39:46.646Z] 207e8628e3a3: Download complete [2021-06-09T00:39:46.646Z] c791037a9be2: Download complete [2021-06-09T00:39:46.646Z] 595b0fe564bb: Verifying Checksum [2021-06-09T00:39:46.646Z] 595b0fe564bb: Download complete [2021-06-09T00:39:46.646Z] 595b0fe564bb: Pull complete [2021-06-09T00:39:46.646Z] 7186ed65a4f7: Pull complete [2021-06-09T00:39:49.429Z] 316046926c0a: Pull complete [2021-06-09T00:39:49.429Z] ffd874e62e21: Verifying Checksum [2021-06-09T00:39:49.429Z] ffd874e62e21: Download complete [2021-06-09T00:39:49.429Z] 4ebd0625c992: Verifying Checksum [2021-06-09T00:39:49.429Z] 4ebd0625c992: Download complete [2021-06-09T00:39:59.649Z] 4ebd0625c992: Pull complete [2021-06-09T00:39:59.924Z] 207e8628e3a3: Pull complete [2021-06-09T00:40:00.532Z] c791037a9be2: Pull complete [2021-06-09T00:40:04.051Z] ffd874e62e21: Pull complete [2021-06-09T00:40:04.051Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T00:40:04.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T00:40:04.051Z] ---> cfc18b08335c [2021-06-09T00:40:04.051Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-09T00:40:05.516Z] ---> Running in 398096669f0d [2021-06-09T00:40:05.796Z] Removing intermediate container 398096669f0d [2021-06-09T00:40:05.797Z] ---> 1888006f5e3a [2021-06-09T00:40:05.797Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:40:05.797Z] ---> Running in f74bcd461d4a [2021-06-09T00:40:09.402Z] Removing intermediate container f74bcd461d4a [2021-06-09T00:40:09.402Z] ---> 657d34ed8d4d [2021-06-09T00:40:09.402Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T00:40:09.402Z] ---> Running in 667ac458f4c8 [2021-06-09T00:40:09.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:40:10.832Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:40:11.812Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-09T00:40:11.812Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-09T00:40:12.085Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-09T00:40:12.085Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:40:12.085Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T00:40:12.356Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-09T00:40:12.356Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-09T00:40:13.779Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-09T00:40:13.779Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-09T00:40:13.779Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-09T00:40:14.049Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-09T00:40:19.148Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-09T00:40:19.148Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:40:19.148Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:40:19.148Z] OK: 145 MiB in 53 packages [2021-06-09T00:40:19.148Z] Removing intermediate container 667ac458f4c8 [2021-06-09T00:40:19.148Z] ---> 3cad4c2dfc28 [2021-06-09T00:40:19.148Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-09T00:40:19.148Z] ---> Running in 7cd318a303ea [2021-06-09T00:40:19.148Z] Removing intermediate container 7cd318a303ea [2021-06-09T00:40:19.148Z] ---> e0ecb98a1d9f [2021-06-09T00:40:19.148Z] Step 7/8 : COPY . . [2021-06-09T00:40:19.148Z] ---> c775628b1c15 [2021-06-09T00:40:19.148Z] Step 8/8 : RUN go mod download [2021-06-09T00:40:19.148Z] ---> Running in 9e641d17efe4 [2021-06-09T00:40:47.583Z] Removing intermediate container 9e641d17efe4 [2021-06-09T00:40:47.583Z] ---> 4d437a1371e6 [2021-06-09T00:40:47.583Z] Successfully built 4d437a1371e6 [2021-06-09T00:40:47.583Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:40:47.948Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:40:47.948Z] . [Pipeline] withDockerContainer [2021-06-09T00:40:50.284Z] prd-ubuntu18.04-docker-arm64-4c-16g-1129 does not seem to be running inside a container [2021-06-09T00:40:50.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:40:53.627Z] $ docker top 9f938266ed1e960fdc53ca2c38d8bab94dcf4099ea3b0d53c894b279b58c0135 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:40:56.793Z] + go version [2021-06-09T00:40:56.794Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T00:40:56.814Z] $ docker stop --time=1 9f938266ed1e960fdc53ca2c38d8bab94dcf4099ea3b0d53c894b279b58c0135 [2021-06-09T00:40:59.729Z] $ docker rm -f 9f938266ed1e960fdc53ca2c38d8bab94dcf4099ea3b0d53c894b279b58c0135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:41:00.576Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:41:00.576Z] . [Pipeline] withDockerContainer [2021-06-09T00:41:00.861Z] prd-ubuntu18.04-docker-arm64-4c-16g-1129 does not seem to be running inside a container [2021-06-09T00:41:00.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:41:03.571Z] $ docker top 40017f17d152fe88d3097349445519bf702365277156a3923d5b8fb750ef12d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:41:04.571Z] + go mod tidy [Pipeline] sh [2021-06-09T00:41:08.001Z] + make test [2021-06-09T00:41:08.001Z] go mod tidy [2021-06-09T00:41:08.001Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-09T00:41:08.001Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-09T00:42:16.060Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-09T00:42:16.060Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.838s coverage: 63.8% of statements [2021-06-09T00:42:16.060Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:42:46.208Z] gofmt -l . [2021-06-09T00:42:46.208Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:42:46.208Z] ./bin/test-attribution-txt.sh [2021-06-09T00:42:46.208Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T00:42:46.227Z] $ docker stop --time=1 40017f17d152fe88d3097349445519bf702365277156a3923d5b8fb750ef12d9 [2021-06-09T00:42:48.232Z] $ docker rm -f 40017f17d152fe88d3097349445519bf702365277156a3923d5b8fb750ef12d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:42:49.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:42:49.218Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T00:42:49.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:42:50.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:42:50.659Z] + ls -al . [2021-06-09T00:42:50.659Z] total 156 [2021-06-09T00:42:50.659Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 9 00:42 . [2021-06-09T00:42:50.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 00:38 .. [2021-06-09T00:42:50.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 00:39 .git [2021-06-09T00:42:50.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:38 .github [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 9 00:38 .gitignore [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 9 00:38 Attribution.txt [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 9 00:38 Dockerfile [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 9 00:38 Dockerfile.build [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 9 00:38 Jenkinsfile [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 00:38 LICENSE [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 9 00:38 Makefile [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 9 00:38 README.md [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 00:34 VERSION [2021-06-09T00:42:50.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:38 bin [2021-06-09T00:42:50.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 00:38 cmd [2021-06-09T00:42:50.659Z] -rw-r--r-- 1 jenkins jenkins 47247 Jun 9 00:42 coverage.out [2021-06-09T00:42:50.659Z] -rw-r--r-- 1 jenkins jenkins 809 Jun 9 00:42 go.mod [2021-06-09T00:42:50.659Z] -rw-r--r-- 1 jenkins jenkins 23009 Jun 9 00:41 go.sum [2021-06-09T00:42:50.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 00:38 internal [2021-06-09T00:42:50.659Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 9 00:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:42:51.012Z] + 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=38065012ac25631435502f8862b32f6f6c310cb2 --label arch=arm64 --label version=0.0.0 . [2021-06-09T00:42:51.613Z] Sending build context to Docker daemon 8.68MB [2021-06-09T00:42:51.613Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:42:51.613Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-09T00:42:51.613Z] ---> 4d437a1371e6 [2021-06-09T00:42:51.613Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:42:51.886Z] ---> Running in 4d706c262af6 [2021-06-09T00:42:52.157Z] Removing intermediate container 4d706c262af6 [2021-06-09T00:42:52.157Z] ---> d44f2869d3b4 [2021-06-09T00:42:52.157Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:42:52.428Z] ---> Running in 33a2f83ce62c [2021-06-09T00:42:53.022Z] Removing intermediate container 33a2f83ce62c [2021-06-09T00:42:53.022Z] ---> e7326315dcfa [2021-06-09T00:42:53.022Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-09T00:42:53.022Z] ---> Running in 20a57f492258 [2021-06-09T00:42:53.617Z] Removing intermediate container 20a57f492258 [2021-06-09T00:42:53.617Z] ---> 52ec63ccedb4 [2021-06-09T00:42:53.617Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:42:53.617Z] ---> Running in 40542d292377 [2021-06-09T00:42:56.240Z] Removing intermediate container 40542d292377 [2021-06-09T00:42:56.240Z] ---> 717e33b3982d [2021-06-09T00:42:56.240Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:42:56.240Z] ---> Running in 644dda7f60fb [2021-06-09T00:42:57.228Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:42:58.670Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:42:59.649Z] OK: 145 MiB in 53 packages [2021-06-09T00:43:00.634Z] Removing intermediate container 644dda7f60fb [2021-06-09T00:43:00.634Z] ---> 16f116b7b6e8 [2021-06-09T00:43:00.634Z] Step 8/26 : COPY . . [2021-06-09T00:43:02.078Z] ---> 0013a732da21 [2021-06-09T00:43:02.078Z] Step 9/26 : RUN go mod tidy [2021-06-09T00:43:02.078Z] ---> Running in 9635d44c61cc [2021-06-09T00:43:05.501Z] Removing intermediate container 9635d44c61cc [2021-06-09T00:43:05.501Z] ---> ab05550f7aec [2021-06-09T00:43:05.501Z] Step 10/26 : RUN go mod download [2021-06-09T00:43:05.501Z] ---> Running in 571fbecc71a3 [2021-06-09T00:43:08.821Z] Removing intermediate container 571fbecc71a3 [2021-06-09T00:43:08.821Z] ---> af0e0a611ea6 [2021-06-09T00:43:08.821Z] Step 11/26 : ARG MAKE='make build' [2021-06-09T00:43:08.821Z] ---> Running in 2f34b8b0153e [2021-06-09T00:43:08.821Z] Removing intermediate container 2f34b8b0153e [2021-06-09T00:43:08.821Z] ---> f0beebc04d2e [2021-06-09T00:43:08.821Z] Step 12/26 : RUN $MAKE [2021-06-09T00:43:08.821Z] ---> Running in cf045be4ab5c [2021-06-09T00:43:09.818Z] go mod tidy [2021-06-09T00:43:10.424Z] 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-09T00:44:07.444Z] Removing intermediate container cf045be4ab5c [2021-06-09T00:44:07.444Z] ---> 95f3e86ba72d [2021-06-09T00:44:07.444Z] Step 13/26 : FROM alpine:3.12 [2021-06-09T00:44:07.444Z] 3.12: Pulling from library/alpine [2021-06-09T00:44:07.444Z] d2f70382dc9a: Pulling fs layer [2021-06-09T00:44:07.444Z] d2f70382dc9a: Verifying Checksum [2021-06-09T00:44:07.444Z] d2f70382dc9a: Download complete [2021-06-09T00:44:07.444Z] d2f70382dc9a: Pull complete [2021-06-09T00:44:07.444Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:44:07.444Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:44:07.444Z] ---> 9852663dfa18 [2021-06-09T00:44:07.444Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-09T00:44:07.444Z] ---> Running in c4377b2fd513 [2021-06-09T00:44:07.718Z] Removing intermediate container c4377b2fd513 [2021-06-09T00:44:07.718Z] ---> b0d0ee3d275f [2021-06-09T00:44:07.718Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:44:07.988Z] ---> Running in 03c4e5aabe6e [2021-06-09T00:44:09.958Z] Removing intermediate container 03c4e5aabe6e [2021-06-09T00:44:09.958Z] ---> b4ed278aefb0 [2021-06-09T00:44:09.958Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T00:44:09.958Z] ---> Running in 05d56a6eb8fe [2021-06-09T00:44:11.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:44:11.987Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:44:12.584Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T00:44:12.855Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T00:44:12.855Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:44:12.855Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:44:13.128Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T00:44:13.128Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T00:44:13.400Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:44:13.400Z] OK: 8 MiB in 20 packages [2021-06-09T00:44:14.388Z] Removing intermediate container 05d56a6eb8fe [2021-06-09T00:44:14.388Z] ---> b1840dfdaefc [2021-06-09T00:44:14.388Z] Step 17/26 : WORKDIR / [2021-06-09T00:44:14.663Z] ---> Running in ce636212aa0d [2021-06-09T00:44:15.261Z] Removing intermediate container ce636212aa0d [2021-06-09T00:44:15.261Z] ---> 8d5a1ca7bef0 [2021-06-09T00:44:15.261Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-09T00:44:15.884Z] ---> 0d802f70be19 [2021-06-09T00:44:15.884Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-09T00:44:16.871Z] ---> 36091865bb2d [2021-06-09T00:44:16.871Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-09T00:44:18.851Z] ---> 5ba2ca285f47 [2021-06-09T00:44:18.851Z] Step 21/26 : EXPOSE 59900 [2021-06-09T00:44:18.851Z] ---> Running in c09c4735ac44 [2021-06-09T00:44:19.126Z] Removing intermediate container c09c4735ac44 [2021-06-09T00:44:19.126Z] ---> 4811f87d8b85 [2021-06-09T00:44:19.126Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-09T00:44:19.403Z] ---> Running in e7d3943fab5c [2021-06-09T00:44:20.003Z] Removing intermediate container e7d3943fab5c [2021-06-09T00:44:20.003Z] ---> 12d782dffeb6 [2021-06-09T00:44:20.003Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T00:44:20.003Z] ---> Running in 2156673a8db4 [2021-06-09T00:44:20.600Z] Removing intermediate container 2156673a8db4 [2021-06-09T00:44:20.600Z] ---> 67489c448c12 [2021-06-09T00:44:20.600Z] Step 24/26 : LABEL arch=arm64 [2021-06-09T00:44:20.600Z] ---> Running in 7b90a55588d7 [2021-06-09T00:44:23.585Z] Removing intermediate container 7b90a55588d7 [2021-06-09T00:44:23.585Z] ---> 66b998e6ade6 [2021-06-09T00:44:23.585Z] Step 25/26 : LABEL git_sha=38065012ac25631435502f8862b32f6f6c310cb2 [2021-06-09T00:44:23.585Z] ---> Running in 365b9d116daf [2021-06-09T00:44:23.585Z] Removing intermediate container 365b9d116daf [2021-06-09T00:44:23.585Z] ---> 63ec6c2c3912 [2021-06-09T00:44:23.585Z] Step 26/26 : LABEL version=0.0.0 [2021-06-09T00:44:23.585Z] ---> Running in eb1a43e83d54 [2021-06-09T00:44:23.585Z] Removing intermediate container eb1a43e83d54 [2021-06-09T00:44:23.585Z] ---> 9d445d600ddd [2021-06-09T00:44:23.585Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T00:44:23.585Z] Successfully built 9d445d600ddd [2021-06-09T00:44:23.585Z] 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-09T00:44:24.188Z] ---> job-cost.sh [2021-06-09T00:44:24.188Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BAM9 [2021-06-09T00:45:02.978Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:46:47.412Z] lf-activate-venv(): INFO: Adding /tmp/venv-BAM9/bin to PATH [2021-06-09T00:46:47.412Z] INFO: No Stack... [2021-06-09T00:46:47.412Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T00:46:47.412Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:46:47.788Z] + + cutcat -d, /w/workspace/device-virtual-go/2/archives/cost.csv -f6 [2021-06-09T00:46:47.789Z] [Pipeline] lock [2021-06-09T00:46:47.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] [2021-06-09T00:46:47.866Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] did not exist. Created. [2021-06-09T00:46:47.867Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:46:50.166Z] /w/workspace/device-virtual-go/2@tmp/durable-07f8fe9a/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-07f8fe9a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T00:46:50.514Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T00:46:50.549Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T00:46:50.706Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:46:50.716Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-221-2-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-09T00:46:53.367Z] provisioning config files... [2021-06-09T00:46:53.378Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-221@tmp/config6588135565818854761tmp [Pipeline] { [Pipeline] sh [2021-06-09T00:46:53.704Z] + set +x [2021-06-09T00:46:53.704Z] + bash -s -- [2021-06-09T00:46:53.704Z] + curl -s https://codecov.io/bash [2021-06-09T00:46:53.704Z] [2021-06-09T00:46:53.704Z] _____ _ [2021-06-09T00:46:53.704Z] / ____| | | [2021-06-09T00:46:53.704Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T00:46:53.704Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T00:46:53.704Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T00:46:53.704Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T00:46:53.704Z] Bash-1.0.3 [2021-06-09T00:46:53.704Z] [2021-06-09T00:46:53.704Z] [2021-06-09T00:46:53.704Z] ==> git version 2.24.4 found [2021-06-09T00:46:53.704Z] ==> 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-09T00:46:53.704Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T00:46:53.704Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T00:46:53.704Z] ==> Jenkins CI detected. [2021-06-09T00:46:53.704Z] project root: . [2021-06-09T00:46:53.704Z] --> token set from env [2021-06-09T00:46:53.704Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T00:46:53.704Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T00:46:53.704Z] ==> Python coveragepy not found [2021-06-09T00:46:53.704Z] ==> Searching for coverage reports in: [2021-06-09T00:46:53.704Z] + . [2021-06-09T00:46:53.704Z] -> Found 1 reports [2021-06-09T00:46:53.704Z] ==> Detecting git/mercurial file structure [2021-06-09T00:46:56.023Z] ==> Reading reports [2021-06-09T00:46:56.023Z] + ./coverage.out bytes=47247 [2021-06-09T00:46:56.023Z] ==> Appending adjustments [2021-06-09T00:46:56.023Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T00:46:56.023Z] + Found adjustments [2021-06-09T00:46:56.023Z] ==> Gzipping contents [2021-06-09T00:46:56.023Z] 8.0K /tmp/codecov.2OGMco.gz [2021-06-09T00:46:56.023Z] ==> Uploading reports [2021-06-09T00:46:56.023Z] url: https://codecov.io [2021-06-09T00:46:56.023Z] query: branch=PR-221&commit=38065012ac25631435502f8862b32f6f6c310cb2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=221&job=&cmd_args= [2021-06-09T00:46:56.023Z] -> Pinging Codecov [2021-06-09T00:46:56.023Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-221&commit=38065012ac25631435502f8862b32f6f6c310cb2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=221&job=&cmd_args= [2021-06-09T00:46:56.023Z] -> Uploading to [2021-06-09T00:46:56.023Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/5E52B4B073DB2E39498172D8E973AA87/38065012ac25631435502f8862b32f6f6c310cb2/be45f7bc-8ed4-40db-b6dc-97d4be3cd3ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T004654Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a3ada92044c09cada1f2cff26bf915d69284436a69ac0f402795a9c48f23adc [2021-06-09T00:46:56.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T00:46:56.023Z] Dload Upload Total Spent Left Speed [2021-06-09T00:46:56.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5763 0 0 100 5763 0 18032 --:--:-- --:--:-- --:--:-- 18065 [2021-06-09T00:46:56.023Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/38065012ac25631435502f8862b32f6f6c310cb2 [Pipeline] } [2021-06-09T00:46:56.044Z] 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-09T00:47:01.860Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:04.709Z] ---> package-listing.sh [2021-06-09T00:47:04.709Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T00:47:04.709Z] ++ facter osfamily [2021-06-09T00:47:04.973Z] + OS_FAMILY=redhat [2021-06-09T00:47:04.973Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-221 [2021-06-09T00:47:04.973Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T00:47:04.973Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T00:47:04.973Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T00:47:04.973Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T00:47:04.973Z] + '[' /w/workspace/foundry_device-virtual-go_PR-221 ']' [2021-06-09T00:47:04.973Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T00:47:04.973Z] + case "${OS_FAMILY}" in [2021-06-09T00:47:04.973Z] + rpm -qa [2021-06-09T00:47:04.973Z] + sort [2021-06-09T00:47:07.585Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T00:47:07.585Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T00:47:07.585Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T00:47:07.585Z] + '[' /w/workspace/foundry_device-virtual-go_PR-221 ']' [2021-06-09T00:47:07.585Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-221/archives/ [2021-06-09T00:47:07.585Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-221/archives/ [Pipeline] echo [2021-06-09T00:47:07.608Z] 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T00:47:07.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:47:10.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:47:10.615Z] [2021-06-09T00:47:10.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:47:10.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:47:10.937Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T00:47:10.937Z] df20fa9351a1: Pulling fs layer [2021-06-09T00:47:10.937Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T00:47:10.937Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T00:47:10.937Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T00:47:10.937Z] 93b61091891f: Pulling fs layer [2021-06-09T00:47:10.937Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T00:47:10.937Z] 5e14af77c1be: Pulling fs layer [2021-06-09T00:47:10.937Z] 01666e4c0597: Pulling fs layer [2021-06-09T00:47:10.937Z] aa168da1d23b: Pulling fs layer [2021-06-09T00:47:10.937Z] 93b9cdb0e59b: Waiting [2021-06-09T00:47:10.937Z] 5e14af77c1be: Waiting [2021-06-09T00:47:10.937Z] 01666e4c0597: Waiting [2021-06-09T00:47:10.937Z] aa168da1d23b: Waiting [2021-06-09T00:47:10.937Z] 46f8f816bc3b: Waiting [2021-06-09T00:47:10.937Z] 93b61091891f: Waiting [2021-06-09T00:47:10.937Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T00:47:10.937Z] 36b3adc4ff6f: Download complete [2021-06-09T00:47:10.937Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T00:47:10.937Z] 46f8f816bc3b: Download complete [2021-06-09T00:47:10.937Z] df20fa9351a1: Verifying Checksum [2021-06-09T00:47:10.937Z] df20fa9351a1: Download complete [2021-06-09T00:47:10.937Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T00:47:10.937Z] 93b9cdb0e59b: Download complete [2021-06-09T00:47:13.350Z] 5e14af77c1be: Verifying Checksum [2021-06-09T00:47:13.350Z] 5e14af77c1be: Download complete [2021-06-09T00:47:13.350Z] 93b61091891f: Verifying Checksum [2021-06-09T00:47:13.350Z] 93b61091891f: Download complete [2021-06-09T00:47:13.350Z] 01666e4c0597: Verifying Checksum [2021-06-09T00:47:13.350Z] 01666e4c0597: Download complete [2021-06-09T00:47:13.350Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T00:47:13.350Z] 8ad3a11d3b57: Download complete [2021-06-09T00:47:13.350Z] df20fa9351a1: Pull complete [2021-06-09T00:47:13.350Z] 36b3adc4ff6f: Pull complete [2021-06-09T00:47:13.350Z] 8ad3a11d3b57: Pull complete [2021-06-09T00:47:13.350Z] 46f8f816bc3b: Pull complete [2021-06-09T00:47:13.350Z] 93b61091891f: Pull complete [2021-06-09T00:47:13.350Z] 93b9cdb0e59b: Pull complete [2021-06-09T00:47:13.350Z] aa168da1d23b: Verifying Checksum [2021-06-09T00:47:13.350Z] aa168da1d23b: Download complete [2021-06-09T00:47:13.350Z] 5e14af77c1be: Pull complete [2021-06-09T00:47:13.350Z] 01666e4c0597: Pull complete [2021-06-09T00:47:19.349Z] aa168da1d23b: Pull complete [2021-06-09T00:47:19.349Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T00:47:19.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:47:19.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T00:47:19.437Z] prd-centos7-docker-4c-2g-1112 does not seem to be running inside a container [2021-06-09T00:47:19.481Z] $ 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-221/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-221 -v /w/workspace/foundry_device-virtual-go_PR-221:/w/workspace/foundry_device-virtual-go_PR-221:rw,z -v /w/workspace/foundry_device-virtual-go_PR-221@tmp:/w/workspace/foundry_device-virtual-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T00:47:22.695Z] $ docker top d668f9c680fc3c76f82c5dc0ff5168006acd09dda30c784d3905720a5aa44120 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:47:23.127Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T00:47:23.428Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T00:47:23.753Z] + ls /var/log/sa-host [2021-06-09T00:47:23.753Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T00:47:23.753Z] file_magic: OK [2021-06-09T00:47:23.753Z] HZ: Using current value: 100 [2021-06-09T00:47:23.753Z] file_header: OK [2021-06-09T00:47:23.753Z] 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-09T00:47:23.753Z] Statistics: [2021-06-09T00:47:23.753Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:47:23.753Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T00:47:23.753Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T00:47:23.753Z] file_magic: OK [2021-06-09T00:47:23.753Z] HZ: Using current value: 100 [2021-06-09T00:47:23.753Z] file_header: OK [2021-06-09T00:47:23.753Z] 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-09T00:47:23.753Z] Statistics: [2021-06-09T00:47:23.753Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:47:23.753Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:47:26.413Z] provisioning config files... [2021-06-09T00:47:26.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-221@tmp/config4349081333423678036tmp [Pipeline] { [Pipeline] echo [2021-06-09T00:47:26.554Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:28.941Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T00:47:28.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:29.346Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T00:47:29.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:31.756Z] ---> sudo-logs.sh [2021-06-09T00:47:31.757Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T00:47:31.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:32.086Z] ---> job-cost.sh [2021-06-09T00:47:32.087Z] lf-activate-venv: SKIPPING [2021-06-09T00:47:32.087Z] DEBUG: total: 0.18000000715255737 [2021-06-09T00:47:32.087Z] INFO: Retrieving Stack Cost... [2021-06-09T00:47:34.353Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:47:34.353Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T00:47:34.368Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:47:34.671Z] ---> logs-deploy.sh [2021-06-09T00:47:34.671Z] lf-activate-venv: SKIPPING [2021-06-09T00:47:34.671Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-221/2 [2021-06-09T00:47:34.671Z] INFO: archiving workspace using pattern(s):