Pull request #216 updated 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 jim-wang-intel for edgexfoundry/device-virtual-go Loading trusted files from base branch master at f702dbdc581d304739c2d941e7f0fa4986f2eae4 rather than c83b18edb69fbe9e1419882e95cca370495189e2 Obtained Jenkinsfile from f702dbdc581d304739c2d941e7f0fa4986f2eae4 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-ssh3908043612487714372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh4954632911592839596.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-216/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-216/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1828667040923138615.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh6240149426935845090.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-216/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-216/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5413082326369466574.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-84 in /w/workspace/foundry_device-virtual-go_PR-216 [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-216 # 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-216@tmp/jenkins-gitclient-ssh5744367989577011946.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f702dbdc581d304739c2d941e7f0fa4986f2eae4 into PR head commit c83b18edb69fbe9e1419882e95cca370495189e2 Merge succeeded, producing c83b18edb69fbe9e1419882e95cca370495189e2 Checking out Revision c83b18edb69fbe9e1419882e95cca370495189e2 (PR-216) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-216@tmp/jenkins-gitclient-ssh309901777369378258.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # 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-216@tmp/jenkins-gitclient-ssh8192907302496868110.key > git merge f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # timeout=10 Commit message: "refactor: Remove retry items of SecretStore config and update secret path go-mod-bootstrap has implemented the addition of prefix /v1/secret/edgex/ for the Path property of SecretStore config section, so we just use the service specific secret path in Toml files" First time build. Skipping changelog. > git rev-list --no-walk 679f62370e0b29f4e17d0f00e690ab27e02493d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T15:18:05.616Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T15:18:05.743Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T15:18:05.780Z] ========================================================= [2021-06-02T15:18:05.780Z] EdgeX Global Pipelines Version Info [2021-06-02T15:18:05.780Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:18:07.237Z] ------------------- [2021-06-02T15:18:07.238Z] stable info: [2021-06-02T15:18:07.238Z] ------------------- [2021-06-02T15:18:07.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T15:18:07.238Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T15:18:07.238Z] Message: update stable to v1.0.193 [2021-06-02T15:18:07.814Z] ------------------- [2021-06-02T15:18:07.814Z] experimental info: [2021-06-02T15:18:07.814Z] ------------------- [2021-06-02T15:18:07.814Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T15:18:07.814Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T15:18:07.814Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T15:18:07.955Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-02T15:18:07.980Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-02T15:18:08.004Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T15:18:08.028Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T15:18:08.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T15:18:08.077Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T15:18:08.110Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T15:18:08.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T15:18:08.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T15:18:08.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T15:18:08.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T15:18:08.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-02T15:18:08.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T15:18:08.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T15:18:08.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T15:18:08.344Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T15:18:08.369Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T15:18:08.394Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T15:18:08.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T15:18:08.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T15:18:08.465Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-02T15:18:08.490Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-02T15:18:08.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T15:18:08.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T15:18:08.563Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-02T15:18:08.586Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T15:18:08.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2021-06-02T15:18:08.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2021-06-02T15:18:08.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2021-06-02T15:18:08.715Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c83b18edb69fbe9e1419882e95cca370495189e2 [Pipeline] echo [2021-06-02T15:18:08.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c83b18e [Pipeline] echo [2021-06-02T15:18:08.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T15:18:08.848Z] provisioning config files... [2021-06-02T15:18:08.864Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-216@tmp/config6064102498387015111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:18:09.179Z] ---> docker-login.sh [2021-06-02T15:18:09.180Z] nexus3.edgexfoundry.org:10001 [2021-06-02T15:18:09.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:18:09.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:18:09.441Z] Configure a credential helper to remove this warning. See [2021-06-02T15:18:09.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:18:09.441Z] [2021-06-02T15:18:09.441Z] Login Succeeded [2021-06-02T15:18:09.441Z] nexus3.edgexfoundry.org:10002 [2021-06-02T15:18:09.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:18:09.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:18:09.702Z] Configure a credential helper to remove this warning. See [2021-06-02T15:18:09.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:18:09.702Z] [2021-06-02T15:18:09.702Z] Login Succeeded [2021-06-02T15:18:09.702Z] nexus3.edgexfoundry.org:10003 [2021-06-02T15:18:09.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:18:09.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:18:09.702Z] Configure a credential helper to remove this warning. See [2021-06-02T15:18:09.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:18:09.702Z] [2021-06-02T15:18:09.702Z] Login Succeeded [2021-06-02T15:18:09.702Z] nexus3.edgexfoundry.org:10004 [2021-06-02T15:18:09.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:18:09.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:18:09.965Z] Configure a credential helper to remove this warning. See [2021-06-02T15:18:09.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:18:09.965Z] [2021-06-02T15:18:09.965Z] Login Succeeded [2021-06-02T15:18:09.965Z] docker.io [2021-06-02T15:18:09.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:18:10.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:18:10.226Z] Configure a credential helper to remove this warning. See [2021-06-02T15:18:10.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:18:10.226Z] [2021-06-02T15:18:10.226Z] Login Succeeded [2021-06-02T15:18:10.226Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T15:18:10.234Z] 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-02T15:18:10.756Z] + git log --format=format:%s -1 c83b18edb69fbe9e1419882e95cca370495189e2 [Pipeline] echo [2021-06-02T15:18:10.797Z] GIT_COMMIT: c83b18edb69fbe9e1419882e95cca370495189e2, Commit Message: refactor: Remove retry items of SecretStore config and update secret path go-mod-bootstrap has implemented the addition of prefix /v1/secret/edgex/ for the Path property of SecretStore config section, so we just use the service specific secret path in Toml files [Pipeline] echo [2021-06-02T15:18:10.811Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:18:11.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T15:18:11.392Z] [2021-06-02T15:18:11.392Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:18:11.710Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T15:18:11.710Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T15:18:11.710Z] 31603596830f: Pulling fs layer [2021-06-02T15:18:11.710Z] 54011a49482f: Pulling fs layer [2021-06-02T15:18:11.710Z] a6820b24f6d8: Pulling fs layer [2021-06-02T15:18:11.710Z] f581987b2513: Pulling fs layer [2021-06-02T15:18:11.710Z] f581987b2513: Waiting [2021-06-02T15:18:11.710Z] 54011a49482f: Verifying Checksum [2021-06-02T15:18:11.710Z] 54011a49482f: Download complete [2021-06-02T15:18:11.974Z] 31603596830f: Verifying Checksum [2021-06-02T15:18:11.974Z] 31603596830f: Download complete [2021-06-02T15:18:11.974Z] f581987b2513: Verifying Checksum [2021-06-02T15:18:11.974Z] f581987b2513: Download complete [2021-06-02T15:18:11.974Z] a6820b24f6d8: Verifying Checksum [2021-06-02T15:18:11.974Z] a6820b24f6d8: Download complete [2021-06-02T15:18:12.239Z] 31603596830f: Pull complete [2021-06-02T15:18:12.239Z] 54011a49482f: Pull complete [2021-06-02T15:18:12.814Z] a6820b24f6d8: Pull complete [2021-06-02T15:18:13.075Z] f581987b2513: Pull complete [2021-06-02T15:18:13.075Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T15:18:13.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T15:18:13.075Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T15:18:13.155Z] prd-centos7-docker-4c-2g-84 does not seem to be running inside a container [2021-06-02T15:18:13.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-216 -v /w/workspace/foundry_device-virtual-go_PR-216:/w/workspace/foundry_device-virtual-go_PR-216:rw,z -v /w/workspace/foundry_device-virtual-go_PR-216@tmp:/w/workspace/foundry_device-virtual-go_PR-216@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-02T15:18:14.197Z] $ docker top aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T15:18:14.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T15:18:14.326Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T15:18:14.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T15:18:14.439Z] $ docker exec aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 ssh-agent [2021-06-02T15:18:14.548Z] SSH_AUTH_SOCK=/tmp/ssh-Rs5QyzhZpk7c/agent.14 [2021-06-02T15:18:14.548Z] SSH_AGENT_PID=20 [2021-06-02T15:18:14.557Z] Running ssh-add (command line suppressed) [2021-06-02T15:18:14.642Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-216@tmp/private_key_2839315712882247479.key (/w/workspace/foundry_device-virtual-go_PR-216@tmp/private_key_2839315712882247479.key) [2021-06-02T15:18:14.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T15:18:14.966Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T15:18:14.980Z] $ docker exec --env ******** --env ******** aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 ssh-agent -k [2021-06-02T15:18:15.073Z] unset SSH_AUTH_SOCK; [2021-06-02T15:18:15.073Z] unset SSH_AGENT_PID; [2021-06-02T15:18:15.073Z] echo Agent pid 20 killed; [2021-06-02T15:18:15.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T15:18:15.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T15:18:15.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T15:18:15.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T15:18:15.237Z] $ docker exec aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 ssh-agent [2021-06-02T15:18:15.349Z] SSH_AUTH_SOCK=/tmp/ssh-N77pkVHRx1V9/agent.53 [2021-06-02T15:18:15.349Z] SSH_AGENT_PID=59 [2021-06-02T15:18:15.357Z] Running ssh-add (command line suppressed) [2021-06-02T15:18:15.448Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-216@tmp/private_key_2370233765445261338.key (/w/workspace/foundry_device-virtual-go_PR-216@tmp/private_key_2370233765445261338.key) [2021-06-02T15:18:15.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T15:18:15.760Z] + git semver init [2021-06-02T15:18:15.760Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T15:18:15.760Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-216/.git [2021-06-02T15:18:15.760Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-216 [2021-06-02T15:18:15.761Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T15:18:15.761Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T15:18:15.761Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T15:18:15.761Z] # $SEMVER_BRANCH = PR-216 [2021-06-02T15:18:15.761Z] # $SEMVER_TEMP = /tmp/semver-637523541 [2021-06-02T15:18:15.761Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-02T15:18:16.717Z] # '/tmp/semver-637523541' -> '/w/workspace/foundry_device-virtual-go_PR-216/.semver' [2021-06-02T15:18:16.717Z] # -> Force: false [2021-06-02T15:18:16.717Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-216/.semver [Pipeline] } [2021-06-02T15:18:16.726Z] $ docker exec --env ******** --env ******** aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 ssh-agent -k [2021-06-02T15:18:16.826Z] unset SSH_AUTH_SOCK; [2021-06-02T15:18:16.827Z] unset SSH_AGENT_PID; [2021-06-02T15:18:16.827Z] echo Agent pid 59 killed; [2021-06-02T15:18:16.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T15:18:17.181Z] + git semver [Pipeline] } [2021-06-02T15:18:17.193Z] $ docker stop --time=1 aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 [2021-06-02T15:18:18.557Z] $ docker rm -f aaa70b6989cba0b0da7385272202f01a84357829be11e02a7d456a670b964196 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T15:18:18.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T15:18:19.218Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T15:18:19.221Z] [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-02T15:18:34.498Z] Still waiting to schedule task [2021-06-02T15:18:34.499Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T15:18:34.502Z] Still waiting to schedule task [2021-06-02T15:18:34.502Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-83’ [2021-06-02T15:20:56.789Z] Running on prd-centos7-docker-4c-2g-85 in /w/workspace/foundry_device-virtual-go_PR-216 [Pipeline] { [Pipeline] ws [2021-06-02T15:20:56.810Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2021-06-02T15:20:56.930Z] The recommended git tool is: git [2021-06-02T15:20:59.087Z] using credential edgex-jenkins-ssh [2021-06-02T15:20:59.099Z] Cloning the remote Git repository [2021-06-02T15:20:58.921Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:20:58.993Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2021-06-02T15:20:59.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:20:59.048Z] > git --version # timeout=10 [2021-06-02T15:20:59.056Z] > git --version # 'git version 2.24.4' [2021-06-02T15:20:59.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:20:59.105Z] [INFO] Currently running in a labeled security context [2021-06-02T15:20:59.105Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T15:20:59.105Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/4@tmp/jenkins-gitclient-ssh1955830434235823634.key [2021-06-02T15:20:59.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T15:21:00.824Z] Merging remotes/origin/master commit f702dbdc581d304739c2d941e7f0fa4986f2eae4 into PR head commit c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:21:00.918Z] Merge succeeded, producing c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:21:00.919Z] Checking out Revision c83b18edb69fbe9e1419882e95cca370495189e2 (PR-216) [2021-06-02T15:21:00.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T15:21:00.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T15:21:00.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T15:21:00.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:21:00.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:21:00.242Z] [INFO] Currently running in a labeled security context [2021-06-02T15:21:00.242Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T15:21:00.242Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/4@tmp/jenkins-gitclient-ssh7716950856603810498.key [2021-06-02T15:21:00.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T15:21:00.776Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T15:21:00.787Z] > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # timeout=10 [2021-06-02T15:21:00.826Z] > git remote # timeout=10 [2021-06-02T15:21:00.832Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T15:21:00.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:21:00.839Z] [INFO] Currently running in a labeled security context [2021-06-02T15:21:00.839Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T15:21:00.839Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/4@tmp/jenkins-gitclient-ssh4223341327231383620.key [2021-06-02T15:21:00.849Z] > git merge f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 [2021-06-02T15:21:00.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T15:21:00.873Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T15:21:00.885Z] > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # timeout=10 [2021-06-02T15:21:04.482Z] Commit message: "refactor: Remove retry items of SecretStore config and update secret path go-mod-bootstrap has implemented the addition of prefix /v1/secret/edgex/ for the Path property of SecretStore config section, so we just use the service specific secret path in Toml files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T15:21:05.685Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T15:21:06.019Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T15:21:06.319Z] + sudo service docker restart [2021-06-02T15:21:06.319Z] + true [2021-06-02T15:21:06.319Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T15:21:24.513Z] provisioning config files... [2021-06-02T15:21:24.535Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config8494087636079077310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:21:24.856Z] ---> docker-login.sh [2021-06-02T15:21:24.856Z] nexus3.edgexfoundry.org:10001 [2021-06-02T15:21:24.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:21:25.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:21:25.119Z] Configure a credential helper to remove this warning. See [2021-06-02T15:21:25.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:21:25.119Z] [2021-06-02T15:21:25.119Z] Login Succeeded [2021-06-02T15:21:25.119Z] nexus3.edgexfoundry.org:10002 [2021-06-02T15:21:25.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:21:25.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:21:25.383Z] Configure a credential helper to remove this warning. See [2021-06-02T15:21:25.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:21:25.383Z] [2021-06-02T15:21:25.383Z] Login Succeeded [2021-06-02T15:21:25.383Z] nexus3.edgexfoundry.org:10003 [2021-06-02T15:21:25.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:21:25.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:21:25.383Z] Configure a credential helper to remove this warning. See [2021-06-02T15:21:25.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:21:25.383Z] [2021-06-02T15:21:25.383Z] Login Succeeded [2021-06-02T15:21:25.383Z] nexus3.edgexfoundry.org:10004 [2021-06-02T15:21:25.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:21:25.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:21:25.645Z] Configure a credential helper to remove this warning. See [2021-06-02T15:21:25.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:21:25.645Z] [2021-06-02T15:21:25.645Z] Login Succeeded [2021-06-02T15:21:25.645Z] docker.io [2021-06-02T15:21:25.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:21:25.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:21:25.907Z] Configure a credential helper to remove this warning. See [2021-06-02T15:21:25.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:21:25.907Z] [2021-06-02T15:21:25.907Z] Login Succeeded [2021-06-02T15:21:25.907Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T15:21:25.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T15:21:26.144Z] ========================================================= [2021-06-02T15:21:26.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T15:21:26.144Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:21:26.455Z] + 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-02T15:21:26.455Z] Sending build context to Docker daemon 8.607MB [2021-06-02T15:21:26.455Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T15:21:26.455Z] Step 2/8 : FROM ${BASE} [2021-06-02T15:21:26.719Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T15:21:26.719Z] 540db60ca938: Pulling fs layer [2021-06-02T15:21:26.719Z] adcc1eea9eea: Pulling fs layer [2021-06-02T15:21:26.719Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T15:21:26.719Z] 0510c868ecb4: Pulling fs layer [2021-06-02T15:21:26.719Z] afea3b2eda06: Pulling fs layer [2021-06-02T15:21:26.719Z] 7809a108b3ef: Pulling fs layer [2021-06-02T15:21:26.719Z] f706445af74f: Pulling fs layer [2021-06-02T15:21:26.719Z] 0510c868ecb4: Waiting [2021-06-02T15:21:26.719Z] afea3b2eda06: Waiting [2021-06-02T15:21:26.719Z] 7809a108b3ef: Waiting [2021-06-02T15:21:26.719Z] f706445af74f: Waiting [2021-06-02T15:21:26.719Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T15:21:26.719Z] 4c4ab2625f07: Download complete [2021-06-02T15:21:26.719Z] adcc1eea9eea: Verifying Checksum [2021-06-02T15:21:26.719Z] adcc1eea9eea: Download complete [2021-06-02T15:21:26.719Z] afea3b2eda06: Verifying Checksum [2021-06-02T15:21:26.719Z] afea3b2eda06: Download complete [2021-06-02T15:21:26.719Z] 7809a108b3ef: Verifying Checksum [2021-06-02T15:21:26.720Z] 7809a108b3ef: Download complete [2021-06-02T15:21:26.720Z] 540db60ca938: Verifying Checksum [2021-06-02T15:21:26.720Z] 540db60ca938: Download complete [2021-06-02T15:21:26.988Z] 540db60ca938: Pull complete [2021-06-02T15:21:26.988Z] adcc1eea9eea: Pull complete [2021-06-02T15:21:27.253Z] 4c4ab2625f07: Pull complete [2021-06-02T15:21:28.659Z] f706445af74f: Verifying Checksum [2021-06-02T15:21:28.659Z] f706445af74f: Download complete [2021-06-02T15:21:29.607Z] 0510c868ecb4: Verifying Checksum [2021-06-02T15:21:29.607Z] 0510c868ecb4: Download complete [2021-06-02T15:21:32.947Z] 0510c868ecb4: Pull complete [2021-06-02T15:21:32.947Z] afea3b2eda06: Pull complete [2021-06-02T15:21:32.947Z] 7809a108b3ef: Pull complete [2021-06-02T15:21:33.899Z] f706445af74f: Pull complete [2021-06-02T15:21:33.899Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T15:21:33.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T15:21:33.899Z] ---> b068be0155e3 [2021-06-02T15:21:33.899Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-02T15:21:38.113Z] ---> Running in 5573c4d1484d [2021-06-02T15:21:38.113Z] Removing intermediate container 5573c4d1484d [2021-06-02T15:21:38.113Z] ---> 1e1253dd51cf [2021-06-02T15:21:38.113Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:21:38.113Z] ---> Running in 1f6cff3bd78d [2021-06-02T15:21:38.376Z] Removing intermediate container 1f6cff3bd78d [2021-06-02T15:21:38.376Z] ---> fdd1b9e3eb1f [2021-06-02T15:21:38.376Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T15:21:38.376Z] ---> Running in 5dd6cec1df70 [2021-06-02T15:21:38.640Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T15:21:39.586Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T15:21:39.850Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-02T15:21:39.850Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-02T15:21:40.110Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-02T15:21:40.110Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-02T15:21:40.110Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T15:21:40.379Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-02T15:21:40.379Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-02T15:21:40.641Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-02T15:21:40.641Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-02T15:21:40.904Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-02T15:21:40.904Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-02T15:21:41.165Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-02T15:21:41.165Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-02T15:21:41.165Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T15:21:41.165Z] OK: 156 MiB in 53 packages [2021-06-02T15:21:41.741Z] Removing intermediate container 5dd6cec1df70 [2021-06-02T15:21:41.741Z] ---> 94b2099ac78e [2021-06-02T15:21:41.741Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-02T15:21:41.741Z] ---> Running in f385fa80014b [2021-06-02T15:21:41.741Z] Removing intermediate container f385fa80014b [2021-06-02T15:21:41.741Z] ---> 584962f88856 [2021-06-02T15:21:41.741Z] Step 7/8 : COPY . . [2021-06-02T15:21:42.006Z] ---> b11999a1ae34 [2021-06-02T15:21:42.006Z] Step 8/8 : RUN go mod download [2021-06-02T15:21:42.006Z] ---> Running in 6ceb829c03c8 [2021-06-02T15:21:54.299Z] Removing intermediate container 6ceb829c03c8 [2021-06-02T15:21:54.299Z] ---> 149c839bd8c8 [2021-06-02T15:21:54.299Z] Successfully built 149c839bd8c8 [2021-06-02T15:21:54.299Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:21:54.600Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T15:21:54.600Z] . [Pipeline] withDockerContainer [2021-06-02T15:21:54.674Z] prd-centos7-docker-4c-2g-85 does not seem to be running inside a container [2021-06-02T15:21:54.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** ci-base-image-x86_64 cat [2021-06-02T15:21:55.072Z] $ docker top c9f313c6968887ff27cd365a371f3952026f90cd232c34d8b53e2d03ebb8fb63 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T15:21:55.446Z] + go version [2021-06-02T15:21:55.446Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T15:21:55.454Z] $ docker stop --time=1 c9f313c6968887ff27cd365a371f3952026f90cd232c34d8b53e2d03ebb8fb63 [2021-06-02T15:21:56.622Z] $ docker rm -f c9f313c6968887ff27cd365a371f3952026f90cd232c34d8b53e2d03ebb8fb63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:21:57.179Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T15:21:57.179Z] . [Pipeline] withDockerContainer [2021-06-02T15:21:57.253Z] prd-centos7-docker-4c-2g-85 does not seem to be running inside a container [2021-06-02T15:21:57.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** ci-base-image-x86_64 cat [2021-06-02T15:21:57.825Z] $ docker top 069b6b4a176b75b0ec04569a7ececf93fdc66db7899ec8a18aa390e141bcc9e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T15:21:58.266Z] + go mod tidy [Pipeline] sh [2021-06-02T15:21:58.834Z] + make test [2021-06-02T15:21:58.834Z] go mod tidy [2021-06-02T15:21:58.834Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-02T15:21:59.418Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-02T15:22:17.723Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-02T15:22:17.987Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.272s coverage: 63.8% of statements [2021-06-02T15:22:18.252Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T15:22:24.919Z] gofmt -l . [2021-06-02T15:22:24.919Z] [ "`gofmt -l .`" = "" ] [2021-06-02T15:22:24.919Z] ./bin/test-attribution-txt.sh [2021-06-02T15:22:25.497Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T15:22:25.766Z] $ docker stop --time=1 069b6b4a176b75b0ec04569a7ececf93fdc66db7899ec8a18aa390e141bcc9e7 [2021-06-02T15:22:27.268Z] $ docker rm -f 069b6b4a176b75b0ec04569a7ececf93fdc66db7899ec8a18aa390e141bcc9e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T15:22:27.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T15:22:28.000Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-02T15:22:31.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T15:22:31.936Z] + ls -al . [2021-06-02T15:22:31.936Z] total 132 [2021-06-02T15:22:31.936Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 2 15:22 . [2021-06-02T15:22:31.936Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 2 15:20 .. [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 2 15:21 Attribution.txt [2021-06-02T15:22:31.936Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 15:21 bin [2021-06-02T15:22:31.936Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 2 15:21 cmd [2021-06-02T15:22:31.936Z] -rw-r--r--. 1 jenkins jenkins 47247 Jun 2 15:22 coverage.out [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 2 15:21 Dockerfile [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 2 15:21 Dockerfile.build [2021-06-02T15:22:31.936Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 2 15:21 .git [2021-06-02T15:22:31.936Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 15:21 .github [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 2 15:21 .gitignore [2021-06-02T15:22:31.936Z] -rw-r--r--. 1 jenkins jenkins 809 Jun 2 15:22 go.mod [2021-06-02T15:22:31.936Z] -rw-r--r--. 1 jenkins jenkins 23009 Jun 2 15:21 go.sum [2021-06-02T15:22:31.936Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 2 15:21 internal [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 2 15:21 Jenkinsfile [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 2 15:21 LICENSE [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 2 15:21 Makefile [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 2 15:21 README.md [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 2 15:18 VERSION [2021-06-02T15:22:31.936Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 2 15:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:22:32.241Z] + 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=c83b18edb69fbe9e1419882e95cca370495189e2 --label arch=amd64 --label version=0.0.0 . [2021-06-02T15:22:32.241Z] Sending build context to Docker daemon 8.678MB [2021-06-02T15:22:32.241Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T15:22:32.241Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-02T15:22:32.241Z] ---> 149c839bd8c8 [2021-06-02T15:22:32.241Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T15:22:32.505Z] ---> Running in f26b41a91daf [2021-06-02T15:22:32.505Z] Removing intermediate container f26b41a91daf [2021-06-02T15:22:32.505Z] ---> 0dd745f9e5b4 [2021-06-02T15:22:32.505Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T15:22:32.505Z] ---> Running in 0b01bee95ff1 [2021-06-02T15:22:32.505Z] Removing intermediate container 0b01bee95ff1 [2021-06-02T15:22:32.505Z] ---> 3b6bebdd772b [2021-06-02T15:22:32.505Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-02T15:22:32.770Z] ---> Running in 2c2ddacf22cd [2021-06-02T15:22:32.770Z] Removing intermediate container 2c2ddacf22cd [2021-06-02T15:22:32.770Z] ---> 9f3be4ba34b7 [2021-06-02T15:22:32.770Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:22:32.770Z] ---> Running in 08dd90cf80eb [2021-06-02T15:22:33.358Z] Removing intermediate container 08dd90cf80eb [2021-06-02T15:22:33.358Z] ---> 0f2c6a174cb3 [2021-06-02T15:22:33.358Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T15:22:33.358Z] ---> Running in 8aa80090e6fd [2021-06-02T15:22:33.620Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T15:22:34.560Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T15:22:34.826Z] OK: 156 MiB in 53 packages [2021-06-02T15:22:35.090Z] Removing intermediate container 8aa80090e6fd [2021-06-02T15:22:35.090Z] ---> 0ed21d612848 [2021-06-02T15:22:35.090Z] Step 8/26 : COPY . . [2021-06-02T15:22:35.356Z] ---> 2cf4423a0be6 [2021-06-02T15:22:35.356Z] Step 9/26 : RUN go mod tidy [2021-06-02T15:22:35.356Z] ---> Running in 26c3239f0f5b [2021-06-02T15:22:35.928Z] Removing intermediate container 26c3239f0f5b [2021-06-02T15:22:35.928Z] ---> 359129ecd52b [2021-06-02T15:22:35.928Z] Step 10/26 : RUN go mod download [2021-06-02T15:22:35.928Z] ---> Running in 5e41ba47a091 [2021-06-02T15:22:36.505Z] Removing intermediate container 5e41ba47a091 [2021-06-02T15:22:36.505Z] ---> 82ba110a0bcd [2021-06-02T15:22:36.505Z] Step 11/26 : ARG MAKE='make build' [2021-06-02T15:22:36.505Z] ---> Running in 8100b8347b78 [2021-06-02T15:22:36.773Z] Removing intermediate container 8100b8347b78 [2021-06-02T15:22:36.774Z] ---> 8a258e0ab8e1 [2021-06-02T15:22:36.774Z] Step 12/26 : RUN $MAKE [2021-06-02T15:22:36.774Z] ---> Running in b13e1f898da4 [2021-06-02T15:22:37.037Z] go mod tidy [2021-06-02T15:22:37.144Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-86 in /w/workspace/foundry_device-virtual-go_PR-216 [Pipeline] { [Pipeline] ws [2021-06-02T15:22:37.171Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2021-06-02T15:22:37.304Z] 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-02T15:22:37.418Z] The recommended git tool is: git [2021-06-02T15:22:43.591Z] using credential edgex-jenkins-ssh [2021-06-02T15:22:43.611Z] Cloning the remote Git repository [2021-06-02T15:22:43.680Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:22:43.815Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2021-06-02T15:22:43.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:22:43.890Z] > git --version # timeout=10 [2021-06-02T15:22:43.912Z] > git --version # 'git version 2.17.1' [2021-06-02T15:22:43.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:22:43.994Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T15:22:46.278Z] Merging remotes/origin/master commit f702dbdc581d304739c2d941e7f0fa4986f2eae4 into PR head commit c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:22:45.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T15:22:45.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T15:22:45.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-02T15:22:45.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-02T15:22:45.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:22:45.687Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T15:22:46.291Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T15:22:46.319Z] > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # timeout=10 [2021-06-02T15:22:46.507Z] Merge succeeded, producing c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:22:46.508Z] Checking out Revision c83b18edb69fbe9e1419882e95cca370495189e2 (PR-216) [2021-06-02T15:22:46.401Z] > git remote # timeout=10 [2021-06-02T15:22:46.421Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T15:22:46.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T15:22:46.457Z] > git merge f702dbdc581d304739c2d941e7f0fa4986f2eae4 # timeout=10 [2021-06-02T15:22:46.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T15:22:46.508Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T15:22:46.538Z] > git checkout -f c83b18edb69fbe9e1419882e95cca370495189e2 # timeout=10 [2021-06-02T15:22:50.839Z] Commit message: "refactor: Remove retry items of SecretStore config and update secret path go-mod-bootstrap has implemented the addition of prefix /v1/secret/edgex/ for the Path property of SecretStore config section, so we just use the service specific secret path in Toml files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T15:22:52.249Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T15:22:52.664Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T15:22:53.002Z] + sudo service docker restart [2021-06-02T15:22:53.002Z] + true [2021-06-02T15:22:55.540Z] Removing intermediate container b13e1f898da4 [2021-06-02T15:22:55.540Z] ---> ea1cb6768029 [2021-06-02T15:22:55.540Z] Step 13/26 : FROM alpine:3.12 [2021-06-02T15:22:55.540Z] 3.12: Pulling from library/alpine [2021-06-02T15:22:55.540Z] 339de151aab4: Pulling fs layer [2021-06-02T15:22:55.540Z] 339de151aab4: Verifying Checksum [2021-06-02T15:22:55.540Z] 339de151aab4: Download complete [2021-06-02T15:22:55.540Z] 339de151aab4: Pull complete [2021-06-02T15:22:55.540Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T15:22:55.540Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T15:22:55.540Z] ---> 13621d1b12d4 [2021-06-02T15:22:55.540Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-02T15:22:55.540Z] ---> Running in 68a188f92bc2 [2021-06-02T15:22:55.540Z] Removing intermediate container 68a188f92bc2 [2021-06-02T15:22:55.540Z] ---> d9c0742c0665 [2021-06-02T15:22:55.540Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:22:55.540Z] ---> Running in 41db780faeda [2021-06-02T15:22:55.540Z] Removing intermediate container 41db780faeda [2021-06-02T15:22:55.540Z] ---> 4834e416254c [2021-06-02T15:22:55.540Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T15:22:55.540Z] ---> Running in 24590ac13fa7 [2021-06-02T15:22:55.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-02T15:22:55.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-02T15:22:55.800Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T15:22:55.800Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T15:22:55.800Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T15:22:56.061Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T15:22:57.014Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T15:22:57.014Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T15:22:57.014Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T15:22:57.014Z] OK: 8 MiB in 20 packages [2021-06-02T15:22:57.283Z] Removing intermediate container 24590ac13fa7 [2021-06-02T15:22:57.283Z] ---> 954d771067be [2021-06-02T15:22:57.283Z] Step 17/26 : WORKDIR / [2021-06-02T15:22:57.283Z] ---> Running in a6d7a297fffe [2021-06-02T15:22:57.283Z] Removing intermediate container a6d7a297fffe [2021-06-02T15:22:57.283Z] ---> 87b91e18d488 [2021-06-02T15:22:57.283Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-02T15:22:57.549Z] ---> e087e79c7488 [2021-06-02T15:22:57.549Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-02T15:22:57.549Z] ---> 080df334bf13 [2021-06-02T15:22:57.549Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-02T15:22:58.123Z] ---> 406b8893a030 [2021-06-02T15:22:58.123Z] Step 21/26 : EXPOSE 59900 [2021-06-02T15:22:58.123Z] ---> Running in bcbcf6c5439b [2021-06-02T15:22:58.123Z] Removing intermediate container bcbcf6c5439b [2021-06-02T15:22:58.123Z] ---> af80df197090 [2021-06-02T15:22:58.123Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-02T15:22:58.383Z] ---> Running in 6b8cf771dd27 [2021-06-02T15:22:58.383Z] Removing intermediate container 6b8cf771dd27 [2021-06-02T15:22:58.383Z] ---> f4762db5f095 [2021-06-02T15:22:58.383Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T15:22:58.383Z] ---> Running in eef53b7053b7 [2021-06-02T15:22:58.383Z] Removing intermediate container eef53b7053b7 [2021-06-02T15:22:58.383Z] ---> d75453c54be8 [2021-06-02T15:22:58.383Z] Step 24/26 : LABEL arch=amd64 [2021-06-02T15:22:58.383Z] ---> Running in f59c90bbb076 [2021-06-02T15:22:58.644Z] Removing intermediate container f59c90bbb076 [2021-06-02T15:22:58.644Z] ---> 96195c3656a2 [2021-06-02T15:22:58.644Z] Step 25/26 : LABEL git_sha=c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:22:58.644Z] ---> Running in 8d06bdd5de3a [2021-06-02T15:22:58.644Z] Removing intermediate container 8d06bdd5de3a [2021-06-02T15:22:58.644Z] ---> 198d33fa9bd0 [2021-06-02T15:22:58.644Z] Step 26/26 : LABEL version=0.0.0 [2021-06-02T15:22:58.644Z] ---> Running in a9ca60e9a47f [2021-06-02T15:22:58.905Z] Removing intermediate container a9ca60e9a47f [2021-06-02T15:22:58.905Z] ---> deaca7aac644 [2021-06-02T15:22:58.905Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T15:22:58.905Z] Successfully built deaca7aac644 [2021-06-02T15:22:58.905Z] 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-02T15:22:59.711Z] ---> job-cost.sh [2021-06-02T15:22:59.711Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SUOj [2021-06-02T15:23:09.753Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T15:23:11.354Z] provisioning config files... [2021-06-02T15:23:11.381Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config5804282050553858654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:23:11.764Z] ---> docker-login.sh [2021-06-02T15:23:11.764Z] nexus3.edgexfoundry.org:10001 [2021-06-02T15:23:12.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:23:13.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:23:13.019Z] Configure a credential helper to remove this warning. See [2021-06-02T15:23:13.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:23:13.019Z] [2021-06-02T15:23:13.019Z] Login Succeeded [2021-06-02T15:23:13.019Z] nexus3.edgexfoundry.org:10002 [2021-06-02T15:23:13.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:23:13.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:23:13.617Z] Configure a credential helper to remove this warning. See [2021-06-02T15:23:13.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:23:13.617Z] [2021-06-02T15:23:13.617Z] Login Succeeded [2021-06-02T15:23:13.617Z] nexus3.edgexfoundry.org:10003 [2021-06-02T15:23:14.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:23:14.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:23:14.220Z] Configure a credential helper to remove this warning. See [2021-06-02T15:23:14.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:23:14.220Z] [2021-06-02T15:23:14.220Z] Login Succeeded [2021-06-02T15:23:14.220Z] nexus3.edgexfoundry.org:10004 [2021-06-02T15:23:14.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:23:15.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:23:15.092Z] Configure a credential helper to remove this warning. See [2021-06-02T15:23:15.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:23:15.092Z] [2021-06-02T15:23:15.092Z] Login Succeeded [2021-06-02T15:23:15.092Z] docker.io [2021-06-02T15:23:15.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T15:23:15.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T15:23:15.968Z] Configure a credential helper to remove this warning. See [2021-06-02T15:23:15.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T15:23:15.968Z] [2021-06-02T15:23:15.968Z] Login Succeeded [2021-06-02T15:23:15.968Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T15:23:15.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T15:23:16.350Z] ========================================================= [2021-06-02T15:23:16.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T15:23:16.350Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:23:16.697Z] + 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-02T15:23:17.302Z] Sending build context to Docker daemon 8.606MB [2021-06-02T15:23:17.302Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T15:23:17.302Z] Step 2/8 : FROM ${BASE} [2021-06-02T15:23:17.302Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T15:23:17.302Z] 595b0fe564bb: Pulling fs layer [2021-06-02T15:23:17.302Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T15:23:17.302Z] 316046926c0a: Pulling fs layer [2021-06-02T15:23:17.302Z] 4ebd0625c992: Pulling fs layer [2021-06-02T15:23:17.302Z] 207e8628e3a3: Pulling fs layer [2021-06-02T15:23:17.302Z] c791037a9be2: Pulling fs layer [2021-06-02T15:23:17.302Z] ffd874e62e21: Pulling fs layer [2021-06-02T15:23:17.302Z] 4ebd0625c992: Waiting [2021-06-02T15:23:17.302Z] 207e8628e3a3: Waiting [2021-06-02T15:23:17.302Z] c791037a9be2: Waiting [2021-06-02T15:23:17.302Z] ffd874e62e21: Waiting [2021-06-02T15:23:17.302Z] 316046926c0a: Verifying Checksum [2021-06-02T15:23:17.302Z] 316046926c0a: Download complete [2021-06-02T15:23:17.576Z] 7186ed65a4f7: Download complete [2021-06-02T15:23:17.576Z] 207e8628e3a3: Verifying Checksum [2021-06-02T15:23:17.576Z] c791037a9be2: Verifying Checksum [2021-06-02T15:23:17.576Z] c791037a9be2: Download complete [2021-06-02T15:23:18.180Z] 595b0fe564bb: Verifying Checksum [2021-06-02T15:23:18.180Z] 595b0fe564bb: Download complete [2021-06-02T15:23:18.781Z] 595b0fe564bb: Pull complete [2021-06-02T15:23:19.374Z] 7186ed65a4f7: Pull complete [2021-06-02T15:23:19.644Z] 316046926c0a: Pull complete [2021-06-02T15:23:20.618Z] ffd874e62e21: Download complete [2021-06-02T15:23:22.588Z] 4ebd0625c992: Verifying Checksum [2021-06-02T15:23:22.588Z] 4ebd0625c992: Download complete [2021-06-02T15:23:24.691Z] lf-activate-venv(): INFO: Adding /tmp/venv-SUOj/bin to PATH [2021-06-02T15:23:24.691Z] INFO: No Stack... [2021-06-02T15:23:24.691Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T15:23:24.691Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T15:23:24.987Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2021-06-02T15:23:24.987Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T15:23:25.017Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] [2021-06-02T15:23:25.027Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] did not exist. Created. [2021-06-02T15:23:25.027Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T15:23:25.348Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T15:23:25.415Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T15:23:25.425Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T15:23:32.785Z] 4ebd0625c992: Pull complete [2021-06-02T15:23:33.062Z] 207e8628e3a3: Pull complete [2021-06-02T15:23:33.336Z] c791037a9be2: Pull complete [2021-06-02T15:23:37.885Z] ffd874e62e21: Pull complete [2021-06-02T15:23:37.885Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T15:23:37.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T15:23:37.885Z] ---> cfc18b08335c [2021-06-02T15:23:37.885Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-02T15:23:39.325Z] ---> Running in d132961775e6 [2021-06-02T15:23:39.598Z] Removing intermediate container d132961775e6 [2021-06-02T15:23:39.598Z] ---> 76da072184f9 [2021-06-02T15:23:39.598Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:23:39.869Z] ---> Running in 0dd59f5c0094 [2021-06-02T15:23:42.499Z] Removing intermediate container 0dd59f5c0094 [2021-06-02T15:23:42.499Z] ---> ed132b4937c9 [2021-06-02T15:23:42.499Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-02T15:23:42.499Z] ---> Running in 21691b29b411 [2021-06-02T15:23:43.478Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T15:23:44.448Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T15:23:45.041Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-02T15:23:45.312Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-02T15:23:45.312Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-02T15:23:45.312Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-02T15:23:45.582Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T15:23:45.582Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-02T15:23:45.854Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-02T15:23:46.126Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-02T15:23:46.127Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-02T15:23:46.127Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-02T15:23:46.397Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-02T15:23:46.397Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-02T15:23:46.397Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-02T15:23:46.677Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T15:23:46.677Z] OK: 145 MiB in 53 packages [2021-06-02T15:23:48.128Z] Removing intermediate container 21691b29b411 [2021-06-02T15:23:48.128Z] ---> 51fa973a488d [2021-06-02T15:23:48.128Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-02T15:23:48.128Z] ---> Running in 7a3e42f5c363 [2021-06-02T15:23:48.729Z] Removing intermediate container 7a3e42f5c363 [2021-06-02T15:23:48.729Z] ---> e2282e3b582f [2021-06-02T15:23:48.729Z] Step 7/8 : COPY . . [2021-06-02T15:23:49.716Z] ---> 7e75986ed99e [2021-06-02T15:23:49.716Z] Step 8/8 : RUN go mod download [2021-06-02T15:23:49.992Z] ---> Running in 14c5f55b6fdc [2021-06-02T15:24:16.770Z] Removing intermediate container 14c5f55b6fdc [2021-06-02T15:24:16.770Z] ---> 9b54713616da [2021-06-02T15:24:16.770Z] Successfully built 9b54713616da [2021-06-02T15:24:16.770Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:24:17.110Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T15:24:17.110Z] . [Pipeline] withDockerContainer [2021-06-02T15:24:17.377Z] prd-ubuntu18.04-docker-arm64-4c-16g-86 does not seem to be running inside a container [2021-06-02T15:24:17.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-arm64 cat [2021-06-02T15:24:18.871Z] $ docker top 1654df242fefc84e44b5f0af827650fc9961a5fe5ac73e84bb32cec68c4bcaa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T15:24:19.796Z] + go version [2021-06-02T15:24:19.796Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T15:24:19.816Z] $ docker stop --time=1 1654df242fefc84e44b5f0af827650fc9961a5fe5ac73e84bb32cec68c4bcaa8 [2021-06-02T15:24:21.612Z] $ docker rm -f 1654df242fefc84e44b5f0af827650fc9961a5fe5ac73e84bb32cec68c4bcaa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:24:22.318Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T15:24:22.318Z] . [Pipeline] withDockerContainer [2021-06-02T15:24:22.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-86 does not seem to be running inside a container [2021-06-02T15:24:22.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-arm64 cat [2021-06-02T15:24:24.122Z] $ docker top b4924c06913e986865b664bdc3fe987855f297bca9aa8a1a55fb357d7d5299ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T15:24:25.064Z] + go mod tidy [Pipeline] sh [2021-06-02T15:24:26.330Z] + make test [2021-06-02T15:24:26.330Z] go mod tidy [2021-06-02T15:24:26.936Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-02T15:24:27.928Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-02T15:25:36.127Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-02T15:25:36.127Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.717s coverage: 63.8% of statements [2021-06-02T15:25:36.127Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T15:26:03.130Z] gofmt -l . [2021-06-02T15:26:03.130Z] [ "`gofmt -l .`" = "" ] [2021-06-02T15:26:03.130Z] ./bin/test-attribution-txt.sh [2021-06-02T15:26:03.130Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-02T15:26:03.152Z] $ docker stop --time=1 b4924c06913e986865b664bdc3fe987855f297bca9aa8a1a55fb357d7d5299ea [2021-06-02T15:26:05.114Z] $ docker rm -f b4924c06913e986865b664bdc3fe987855f297bca9aa8a1a55fb357d7d5299ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T15:26:06.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T15:26:06.044Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T15:26:06.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T15:26:07.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T15:26:07.426Z] + ls -al . [2021-06-02T15:26:07.426Z] total 156 [2021-06-02T15:26:07.426Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 15:26 . [2021-06-02T15:26:07.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:22 .. [2021-06-02T15:26:07.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 15:22 .git [2021-06-02T15:26:07.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 15:22 .github [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 2 15:22 .gitignore [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 2 15:22 Attribution.txt [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 2 15:22 Dockerfile [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 2 15:22 Dockerfile.build [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 15:22 Jenkinsfile [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 15:22 LICENSE [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 2 15:22 Makefile [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 2 15:22 README.md [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 15:18 VERSION [2021-06-02T15:26:07.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 15:22 bin [2021-06-02T15:26:07.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:22 cmd [2021-06-02T15:26:07.426Z] -rw-r--r-- 1 jenkins jenkins 47247 Jun 2 15:25 coverage.out [2021-06-02T15:26:07.426Z] -rw-r--r-- 1 jenkins jenkins 809 Jun 2 15:26 go.mod [2021-06-02T15:26:07.426Z] -rw-r--r-- 1 jenkins jenkins 23009 Jun 2 15:24 go.sum [2021-06-02T15:26:07.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:22 internal [2021-06-02T15:26:07.426Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 15:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:26:07.773Z] + 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=c83b18edb69fbe9e1419882e95cca370495189e2 --label arch=arm64 --label version=0.0.0 . [2021-06-02T15:26:08.372Z] Sending build context to Docker daemon 8.677MB [2021-06-02T15:26:08.373Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T15:26:08.373Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-02T15:26:08.373Z] ---> 9b54713616da [2021-06-02T15:26:08.373Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T15:26:08.646Z] ---> Running in b068a4b36266 [2021-06-02T15:26:09.243Z] Removing intermediate container b068a4b36266 [2021-06-02T15:26:09.243Z] ---> 20003ea8bd5f [2021-06-02T15:26:09.243Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T15:26:09.243Z] ---> Running in d433adb25016 [2021-06-02T15:26:09.838Z] Removing intermediate container d433adb25016 [2021-06-02T15:26:09.838Z] ---> 62d37445d4ef [2021-06-02T15:26:09.838Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-02T15:26:09.838Z] ---> Running in 3ebc2c51f980 [2021-06-02T15:26:10.438Z] Removing intermediate container 3ebc2c51f980 [2021-06-02T15:26:10.438Z] ---> fa5820743da5 [2021-06-02T15:26:10.438Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:26:10.438Z] ---> Running in fe3269413786 [2021-06-02T15:26:13.066Z] Removing intermediate container fe3269413786 [2021-06-02T15:26:13.066Z] ---> 98251cb1dbe8 [2021-06-02T15:26:13.066Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T15:26:13.066Z] ---> Running in 9c3b5ce70e3a [2021-06-02T15:26:14.043Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T15:26:14.707Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T15:26:15.748Z] OK: 145 MiB in 53 packages [2021-06-02T15:26:16.740Z] Removing intermediate container 9c3b5ce70e3a [2021-06-02T15:26:16.740Z] ---> a4af59f8739f [2021-06-02T15:26:16.740Z] Step 8/26 : COPY . . [2021-06-02T15:26:18.178Z] ---> 7c15df93e799 [2021-06-02T15:26:18.178Z] Step 9/26 : RUN go mod tidy [2021-06-02T15:26:18.178Z] ---> Running in 87cc5f67f76d [2021-06-02T15:26:20.793Z] Removing intermediate container 87cc5f67f76d [2021-06-02T15:26:20.793Z] ---> 9f59fd6346fc [2021-06-02T15:26:20.793Z] Step 10/26 : RUN go mod download [2021-06-02T15:26:21.065Z] ---> Running in f8e9ec39221f [2021-06-02T15:26:23.683Z] Removing intermediate container f8e9ec39221f [2021-06-02T15:26:23.683Z] ---> de1db3a56e31 [2021-06-02T15:26:23.683Z] Step 11/26 : ARG MAKE='make build' [2021-06-02T15:26:23.683Z] ---> Running in 3795e41c0fa4 [2021-06-02T15:26:23.957Z] Removing intermediate container 3795e41c0fa4 [2021-06-02T15:26:23.957Z] ---> 734f9a7468d3 [2021-06-02T15:26:23.957Z] Step 12/26 : RUN $MAKE [2021-06-02T15:26:23.957Z] ---> Running in 8e43b3b40ce9 [2021-06-02T15:26:25.394Z] go mod tidy [2021-06-02T15:26:25.667Z] 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-02T15:27:22.220Z] Removing intermediate container 8e43b3b40ce9 [2021-06-02T15:27:22.220Z] ---> 2d5a3c74f877 [2021-06-02T15:27:22.220Z] Step 13/26 : FROM alpine:3.12 [2021-06-02T15:27:22.220Z] 3.12: Pulling from library/alpine [2021-06-02T15:27:22.220Z] d2f70382dc9a: Pulling fs layer [2021-06-02T15:27:22.220Z] d2f70382dc9a: Download complete [2021-06-02T15:27:22.220Z] d2f70382dc9a: Pull complete [2021-06-02T15:27:22.220Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T15:27:22.220Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T15:27:22.221Z] ---> 9852663dfa18 [2021-06-02T15:27:22.221Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-02T15:27:22.221Z] ---> Running in 18049bfab5ef [2021-06-02T15:27:22.221Z] Removing intermediate container 18049bfab5ef [2021-06-02T15:27:22.221Z] ---> c07c26ae0efa [2021-06-02T15:27:22.221Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T15:27:22.221Z] ---> Running in 76ee3354d345 [2021-06-02T15:27:22.221Z] Removing intermediate container 76ee3354d345 [2021-06-02T15:27:22.221Z] ---> cf8f3cb292c0 [2021-06-02T15:27:22.221Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T15:27:22.221Z] ---> Running in 7759f9cbc629 [2021-06-02T15:27:22.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-02T15:27:22.490Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-02T15:27:23.465Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T15:27:23.465Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T15:27:23.465Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T15:27:23.465Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T15:27:23.733Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T15:27:23.733Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T15:27:24.006Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T15:27:24.006Z] OK: 8 MiB in 20 packages [2021-06-02T15:27:25.440Z] Removing intermediate container 7759f9cbc629 [2021-06-02T15:27:25.440Z] ---> 6b00de1ad5ee [2021-06-02T15:27:25.440Z] Step 17/26 : WORKDIR / [2021-06-02T15:27:25.440Z] ---> Running in e076bc6f9213 [2021-06-02T15:27:25.711Z] Removing intermediate container e076bc6f9213 [2021-06-02T15:27:25.711Z] ---> efe42ae89eb6 [2021-06-02T15:27:25.711Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-02T15:27:26.691Z] ---> ab5c6330ab6d [2021-06-02T15:27:26.691Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-02T15:27:27.666Z] ---> c2b665fb00e6 [2021-06-02T15:27:27.666Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-02T15:27:29.094Z] ---> 85239b2a7d39 [2021-06-02T15:27:29.094Z] Step 21/26 : EXPOSE 59900 [2021-06-02T15:27:29.094Z] ---> Running in b294a4113af8 [2021-06-02T15:27:29.367Z] Removing intermediate container b294a4113af8 [2021-06-02T15:27:29.367Z] ---> 932aed101404 [2021-06-02T15:27:29.367Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-02T15:27:29.640Z] ---> Running in b257ab4a06bd [2021-06-02T15:27:30.235Z] Removing intermediate container b257ab4a06bd [2021-06-02T15:27:30.235Z] ---> f34557d4e029 [2021-06-02T15:27:30.235Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-02T15:27:30.235Z] ---> Running in 6f24c514853b [2021-06-02T15:27:30.828Z] Removing intermediate container 6f24c514853b [2021-06-02T15:27:30.828Z] ---> 6012cf5b56f3 [2021-06-02T15:27:30.828Z] Step 24/26 : LABEL arch=arm64 [2021-06-02T15:27:30.828Z] ---> Running in b47c7cdb9975 [2021-06-02T15:27:31.422Z] Removing intermediate container b47c7cdb9975 [2021-06-02T15:27:31.422Z] ---> 007d801ca53f [2021-06-02T15:27:31.422Z] Step 25/26 : LABEL git_sha=c83b18edb69fbe9e1419882e95cca370495189e2 [2021-06-02T15:27:31.422Z] ---> Running in 468c4f2f7b9e [2021-06-02T15:27:32.017Z] Removing intermediate container 468c4f2f7b9e [2021-06-02T15:27:32.017Z] ---> c0528def1e59 [2021-06-02T15:27:32.017Z] Step 26/26 : LABEL version=0.0.0 [2021-06-02T15:27:32.290Z] ---> Running in f112704fae8d [2021-06-02T15:27:32.562Z] Removing intermediate container f112704fae8d [2021-06-02T15:27:32.563Z] ---> 7529d8009503 [2021-06-02T15:27:32.563Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T15:27:32.563Z] Successfully built 7529d8009503 [2021-06-02T15:27:32.563Z] 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-02T15:27:33.547Z] ---> job-cost.sh [2021-06-02T15:27:33.548Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4v2a [2021-06-02T15:28:12.495Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T15:29:34.252Z] lf-activate-venv(): INFO: Adding /tmp/venv-4v2a/bin to PATH [2021-06-02T15:29:34.252Z] INFO: No Stack... [2021-06-02T15:29:34.844Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T15:29:35.444Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T15:29:35.803Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2021-06-02T15:29:35.803Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T15:29:35.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] [2021-06-02T15:29:35.879Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] did not exist. Created. [2021-06-02T15:29:35.879Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-216-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T15:29:36.253Z] /w/workspace/device-virtual-go/4@tmp/durable-6ac3aea5/script.sh: 1: /w/workspace/device-virtual-go/4@tmp/durable-6ac3aea5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T15:29:36.611Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T15:29:36.634Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T15:29:36.777Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T15:29:36.790Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-216-4-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-02T15:29:37.410Z] provisioning config files... [2021-06-02T15:29:37.419Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-216@tmp/config8001730688013718025tmp [Pipeline] { [Pipeline] sh [2021-06-02T15:29:37.737Z] + set +x [2021-06-02T15:29:37.737Z] + curl -s https://codecov.io/bash [2021-06-02T15:29:37.737Z] + bash -s -- [2021-06-02T15:29:37.737Z] [2021-06-02T15:29:37.737Z] _____ _ [2021-06-02T15:29:37.737Z] / ____| | | [2021-06-02T15:29:37.737Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T15:29:37.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T15:29:37.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T15:29:37.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T15:29:37.737Z] Bash-1.0.3 [2021-06-02T15:29:37.737Z] [2021-06-02T15:29:37.737Z] [2021-06-02T15:29:37.737Z] ==> git version 2.24.4 found [2021-06-02T15:29:37.737Z] ==> 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-02T15:29:37.737Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-02T15:29:37.737Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T15:29:37.737Z] ==> Jenkins CI detected. [2021-06-02T15:29:37.737Z] project root: . [2021-06-02T15:29:37.737Z] --> token set from env [2021-06-02T15:29:37.737Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T15:29:37.737Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T15:29:37.999Z] ==> Python coveragepy not found [2021-06-02T15:29:37.999Z] ==> Searching for coverage reports in: [2021-06-02T15:29:37.999Z] + . [2021-06-02T15:29:37.999Z] -> Found 1 reports [2021-06-02T15:29:37.999Z] ==> Detecting git/mercurial file structure [2021-06-02T15:29:37.999Z] ==> Reading reports [2021-06-02T15:29:37.999Z] + ./coverage.out bytes=47247 [2021-06-02T15:29:37.999Z] ==> Appending adjustments [2021-06-02T15:29:37.999Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T15:29:37.999Z] + Found adjustments [2021-06-02T15:29:37.999Z] ==> Gzipping contents [2021-06-02T15:29:37.999Z] 8.0K /tmp/codecov.aELXNx.gz [2021-06-02T15:29:37.999Z] ==> Uploading reports [2021-06-02T15:29:37.999Z] url: https://codecov.io [2021-06-02T15:29:37.999Z] query: branch=PR-216&commit=c83b18edb69fbe9e1419882e95cca370495189e2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-216%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-06-02T15:29:37.999Z] -> Pinging Codecov [2021-06-02T15:29:37.999Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-216&commit=c83b18edb69fbe9e1419882e95cca370495189e2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-216%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=216&job=&cmd_args= [2021-06-02T15:29:38.573Z] -> Uploading to [2021-06-02T15:29:38.573Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/5E52B4B073DB2E39498172D8E973AA87/c83b18edb69fbe9e1419882e95cca370495189e2/95860a97-96bb-4334-ab84-d028fd0e5004.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T152938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e548ec437e1a9831f2fe6fe44c3dfb7fafe5f02b0b3584ad36969a41def5a702 [2021-06-02T15:29:38.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T15:29:38.573Z] Dload Upload Total Spent Left Speed [2021-06-02T15:29:38.834Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5765 0 0 100 5765 0 14180 --:--:-- --:--:-- --:--:-- 14164 [2021-06-02T15:29:38.834Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c83b18edb69fbe9e1419882e95cca370495189e2 [Pipeline] } [2021-06-02T15:29:38.843Z] 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-02T15:29:40.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:41.289Z] ---> package-listing.sh [2021-06-02T15:29:41.289Z] ++ facter osfamily [2021-06-02T15:29:41.289Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T15:29:41.557Z] + OS_FAMILY=redhat [2021-06-02T15:29:41.557Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-216 [2021-06-02T15:29:41.557Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T15:29:41.557Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T15:29:41.557Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T15:29:41.557Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T15:29:41.557Z] + '[' /w/workspace/foundry_device-virtual-go_PR-216 ']' [2021-06-02T15:29:41.557Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T15:29:41.557Z] + case "${OS_FAMILY}" in [2021-06-02T15:29:41.557Z] + rpm -qa [2021-06-02T15:29:41.557Z] + sort [2021-06-02T15:29:42.140Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T15:29:42.140Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T15:29:42.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T15:29:42.140Z] + '[' /w/workspace/foundry_device-virtual-go_PR-216 ']' [2021-06-02T15:29:42.140Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-216/archives/ [2021-06-02T15:29:42.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-216/archives/ [Pipeline] echo [2021-06-02T15:29:42.159Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T15:29:42.474Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:29:43.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T15:29:43.046Z] [2021-06-02T15:29:43.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T15:29:43.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T15:29:43.365Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T15:29:43.365Z] df20fa9351a1: Pulling fs layer [2021-06-02T15:29:43.365Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T15:29:43.365Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T15:29:43.365Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T15:29:43.365Z] 93b61091891f: Pulling fs layer [2021-06-02T15:29:43.365Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T15:29:43.365Z] 5e14af77c1be: Pulling fs layer [2021-06-02T15:29:43.365Z] 01666e4c0597: Pulling fs layer [2021-06-02T15:29:43.365Z] aa168da1d23b: Pulling fs layer [2021-06-02T15:29:43.365Z] 93b61091891f: Waiting [2021-06-02T15:29:43.365Z] 93b9cdb0e59b: Waiting [2021-06-02T15:29:43.365Z] 5e14af77c1be: Waiting [2021-06-02T15:29:43.365Z] 01666e4c0597: Waiting [2021-06-02T15:29:43.365Z] aa168da1d23b: Waiting [2021-06-02T15:29:43.365Z] 46f8f816bc3b: Waiting [2021-06-02T15:29:43.365Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T15:29:43.365Z] 36b3adc4ff6f: Download complete [2021-06-02T15:29:43.365Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T15:29:43.365Z] 46f8f816bc3b: Download complete [2021-06-02T15:29:43.630Z] df20fa9351a1: Verifying Checksum [2021-06-02T15:29:43.630Z] df20fa9351a1: Download complete [2021-06-02T15:29:43.630Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T15:29:43.630Z] 93b9cdb0e59b: Download complete [2021-06-02T15:29:43.630Z] 93b61091891f: Verifying Checksum [2021-06-02T15:29:43.630Z] 93b61091891f: Download complete [2021-06-02T15:29:43.630Z] 5e14af77c1be: Verifying Checksum [2021-06-02T15:29:43.630Z] 5e14af77c1be: Download complete [2021-06-02T15:29:43.630Z] 01666e4c0597: Verifying Checksum [2021-06-02T15:29:43.630Z] 01666e4c0597: Download complete [2021-06-02T15:29:43.630Z] df20fa9351a1: Pull complete [2021-06-02T15:29:43.892Z] 36b3adc4ff6f: Pull complete [2021-06-02T15:29:43.892Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T15:29:43.892Z] 8ad3a11d3b57: Download complete [2021-06-02T15:29:44.483Z] 8ad3a11d3b57: Pull complete [2021-06-02T15:29:44.483Z] 46f8f816bc3b: Pull complete [2021-06-02T15:29:44.743Z] 93b61091891f: Pull complete [2021-06-02T15:29:44.743Z] 93b9cdb0e59b: Pull complete [2021-06-02T15:29:45.005Z] 5e14af77c1be: Pull complete [2021-06-02T15:29:45.005Z] 01666e4c0597: Pull complete [2021-06-02T15:29:45.585Z] aa168da1d23b: Verifying Checksum [2021-06-02T15:29:45.585Z] aa168da1d23b: Download complete [2021-06-02T15:29:49.831Z] aa168da1d23b: Pull complete [2021-06-02T15:29:49.831Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T15:29:49.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T15:29:49.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T15:29:49.919Z] prd-centos7-docker-4c-2g-84 does not seem to be running inside a container [2021-06-02T15:29:49.961Z] $ 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-216/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-216 -v /w/workspace/foundry_device-virtual-go_PR-216:/w/workspace/foundry_device-virtual-go_PR-216:rw,z -v /w/workspace/foundry_device-virtual-go_PR-216@tmp:/w/workspace/foundry_device-virtual-go_PR-216@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-02T15:29:52.392Z] $ docker top b74c6d9751e50f9a397d85619ab9486e7bfbceceb81987c525e85d3463706bb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T15:29:52.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T15:29:53.095Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T15:29:53.392Z] + ls /var/log/sa-host [2021-06-02T15:29:53.393Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T15:29:53.393Z] file_magic: OK [2021-06-02T15:29:53.393Z] HZ: Using current value: 100 [2021-06-02T15:29:53.393Z] file_header: OK [2021-06-02T15:29:53.393Z] 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-02T15:29:53.393Z] Statistics: [2021-06-02T15:29:53.393Z] HRHnuu...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-02T15:29:53.393Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T15:29:53.393Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T15:29:53.393Z] file_magic: OK [2021-06-02T15:29:53.393Z] HZ: Using current value: 100 [2021-06-02T15:29:53.393Z] file_header: OK [2021-06-02T15:29:53.393Z] 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-02T15:29:53.393Z] Statistics: [2021-06-02T15:29:53.393Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T15:29:53.393Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T15:29:53.639Z] provisioning config files... [2021-06-02T15:29:53.656Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-216@tmp/config8276105924653800246tmp [Pipeline] { [Pipeline] echo [2021-06-02T15:29:53.692Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:53.994Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T15:29:54.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T15:29:54.044Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:54.360Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T15:29:54.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:54.672Z] ---> sudo-logs.sh [2021-06-02T15:29:54.672Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T15:29:54.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:55.012Z] ---> job-cost.sh [2021-06-02T15:29:55.012Z] lf-activate-venv: SKIPPING [2021-06-02T15:29:55.012Z] DEBUG: total: 0.18000000715255737 [2021-06-02T15:29:55.012Z] INFO: Retrieving Stack Cost... [2021-06-02T15:29:55.961Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T15:29:56.538Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T15:29:56.552Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T15:29:56.869Z] ---> logs-deploy.sh [2021-06-02T15:29:56.869Z] lf-activate-venv: SKIPPING [2021-06-02T15:29:56.869Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-216/4 [2021-06-02T15:29:56.869Z] INFO: archiving workspace using pattern(s): [2021-06-02T15:29:57.822Z] Archives upload complete. [2021-06-02T15:29:57.822Z] INFO: archiving logs to Nexus