Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d2a82bb439231391dc6396d5809f0a851a47c98+f9181e51cc24c5c8d60c5f317d7638268e956055 (c1065060bb7c000b382ed1ca567fa2b3e26a879f) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2131924304048121638.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7661946364283766985.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-232/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-232/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7148338663491432818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-232/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2743208857958703099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7086836862338369707.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-232/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-232/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh962820479789759002.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-510 in /w/workspace/foundry_device-virtual-go_PR-232 [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-232 # 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-232@tmp/jenkins-gitclient-ssh4434694902010720128.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 0d2a82bb439231391dc6396d5809f0a851a47c98 Merge succeeded, producing 0d2a82bb439231391dc6396d5809f0a851a47c98 Checking out Revision 0d2a82bb439231391dc6396d5809f0a851a47c98 (PR-232) > 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-232@tmp/jenkins-gitclient-ssh2248141037052041976.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # 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-232@tmp/jenkins-gitclient-ssh7143571107522091628.key > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T11:04:23.139Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T11:04:23.380Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T11:04:23.528Z] ========================================================= [2021-06-28T11:04:23.528Z] EdgeX Global Pipelines Version Info [2021-06-28T11:04:23.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:04:25.041Z] ------------------- [2021-06-28T11:04:25.041Z] stable info: [2021-06-28T11:04:25.041Z] ------------------- [2021-06-28T11:04:25.041Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T11:04:25.041Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T11:04:25.041Z] Message: update stable to v1.0.195 [2021-06-28T11:04:25.619Z] ------------------- [2021-06-28T11:04:25.619Z] experimental info: [2021-06-28T11:04:25.619Z] ------------------- [2021-06-28T11:04:25.619Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T11:04:25.619Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T11:04:25.619Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T11:04:25.886Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-28T11:04:25.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-28T11:04:26.007Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T11:04:26.062Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T11:04:26.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T11:04:26.188Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T11:04:26.249Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T11:04:26.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T11:04:26.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T11:04:26.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T11:04:26.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T11:04:26.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-28T11:04:26.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T11:04:26.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T11:04:26.802Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T11:04:26.858Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T11:04:26.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T11:04:26.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T11:04:27.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T11:04:27.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T11:04:27.159Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T11:04:27.217Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T11:04:27.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T11:04:27.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T11:04:27.389Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T11:04:27.458Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T11:04:27.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo [2021-06-28T11:04:27.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo [2021-06-28T11:04:27.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo [2021-06-28T11:04:27.704Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d2a82bb439231391dc6396d5809f0a851a47c98 [Pipeline] echo [2021-06-28T11:04:27.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d2a82b [Pipeline] echo [2021-06-28T11:04:27.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T11:04:27.999Z] provisioning config files... [2021-06-28T11:04:28.018Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-232@tmp/config2554423939390634795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:04:28.394Z] ---> docker-login.sh [2021-06-28T11:04:28.395Z] nexus3.edgexfoundry.org:10001 [2021-06-28T11:04:28.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:04:28.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:04:28.657Z] Configure a credential helper to remove this warning. See [2021-06-28T11:04:28.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:04:28.657Z] [2021-06-28T11:04:28.657Z] Login Succeeded [2021-06-28T11:04:28.657Z] nexus3.edgexfoundry.org:10002 [2021-06-28T11:04:28.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:04:28.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:04:28.920Z] Configure a credential helper to remove this warning. See [2021-06-28T11:04:28.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:04:28.920Z] [2021-06-28T11:04:28.920Z] Login Succeeded [2021-06-28T11:04:28.920Z] nexus3.edgexfoundry.org:10003 [2021-06-28T11:04:28.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:04:28.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:04:28.920Z] Configure a credential helper to remove this warning. See [2021-06-28T11:04:28.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:04:28.920Z] [2021-06-28T11:04:28.920Z] Login Succeeded [2021-06-28T11:04:28.920Z] nexus3.edgexfoundry.org:10004 [2021-06-28T11:04:29.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:04:29.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:04:29.191Z] Configure a credential helper to remove this warning. See [2021-06-28T11:04:29.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:04:29.191Z] [2021-06-28T11:04:29.191Z] Login Succeeded [2021-06-28T11:04:29.191Z] docker.io [2021-06-28T11:04:29.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:04:29.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:04:29.452Z] Configure a credential helper to remove this warning. See [2021-06-28T11:04:29.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:04:29.452Z] [2021-06-28T11:04:29.452Z] Login Succeeded [2021-06-28T11:04:29.452Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T11:04:29.477Z] 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-28T11:04:30.322Z] + git log --format=format:%s -1 0d2a82bb439231391dc6396d5809f0a851a47c98 [Pipeline] echo [2021-06-28T11:04:30.391Z] GIT_COMMIT: 0d2a82bb439231391dc6396d5809f0a851a47c98, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-06-28T11:04:30.433Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:04:31.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T11:04:31.285Z] [2021-06-28T11:04:31.285Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:04:31.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T11:04:31.643Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T11:04:31.643Z] 31603596830f: Pulling fs layer [2021-06-28T11:04:31.643Z] 54011a49482f: Pulling fs layer [2021-06-28T11:04:31.643Z] a6820b24f6d8: Pulling fs layer [2021-06-28T11:04:31.643Z] f581987b2513: Pulling fs layer [2021-06-28T11:04:31.643Z] f581987b2513: Waiting [2021-06-28T11:04:31.643Z] 54011a49482f: Verifying Checksum [2021-06-28T11:04:31.643Z] 54011a49482f: Download complete [2021-06-28T11:04:31.908Z] 31603596830f: Verifying Checksum [2021-06-28T11:04:31.908Z] 31603596830f: Download complete [2021-06-28T11:04:31.908Z] f581987b2513: Verifying Checksum [2021-06-28T11:04:31.908Z] f581987b2513: Download complete [2021-06-28T11:04:31.908Z] a6820b24f6d8: Verifying Checksum [2021-06-28T11:04:31.908Z] a6820b24f6d8: Download complete [2021-06-28T11:04:31.908Z] 31603596830f: Pull complete [2021-06-28T11:04:32.170Z] 54011a49482f: Pull complete [2021-06-28T11:04:32.961Z] a6820b24f6d8: Pull complete [2021-06-28T11:04:32.961Z] f581987b2513: Pull complete [2021-06-28T11:04:32.961Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T11:04:32.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T11:04:32.961Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T11:04:33.086Z] prd-centos7-docker-4c-2g-510 does not seem to be running inside a container [2021-06-28T11:04:33.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-232 -v /w/workspace/foundry_device-virtual-go_PR-232:/w/workspace/foundry_device-virtual-go_PR-232:rw,z -v /w/workspace/foundry_device-virtual-go_PR-232@tmp:/w/workspace/foundry_device-virtual-go_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-28T11:04:34.133Z] $ docker top c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T11:04:34.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T11:04:34.410Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T11:04:34.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T11:04:34.534Z] $ docker exec c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 ssh-agent [2021-06-28T11:04:34.663Z] SSH_AUTH_SOCK=/tmp/ssh-jIThUENFxf2Z/agent.13 [2021-06-28T11:04:34.663Z] SSH_AGENT_PID=19 [2021-06-28T11:04:34.673Z] Running ssh-add (command line suppressed) [2021-06-28T11:04:34.776Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-232@tmp/private_key_1273532215189678632.key (/w/workspace/foundry_device-virtual-go_PR-232@tmp/private_key_1273532215189678632.key) [2021-06-28T11:04:34.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T11:04:35.155Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T11:04:35.180Z] $ docker exec --env ******** --env ******** c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 ssh-agent -k [2021-06-28T11:04:35.293Z] unset SSH_AUTH_SOCK; [2021-06-28T11:04:35.293Z] unset SSH_AGENT_PID; [2021-06-28T11:04:35.293Z] echo Agent pid 19 killed; [2021-06-28T11:04:35.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T11:04:35.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T11:04:35.392Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T11:04:35.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T11:04:35.521Z] $ docker exec c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 ssh-agent [2021-06-28T11:04:35.637Z] SSH_AUTH_SOCK=/tmp/ssh-xnnAYrqJ4h1B/agent.51 [2021-06-28T11:04:35.637Z] SSH_AGENT_PID=57 [2021-06-28T11:04:35.643Z] Running ssh-add (command line suppressed) [2021-06-28T11:04:35.749Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-232@tmp/private_key_1198163904137656700.key (/w/workspace/foundry_device-virtual-go_PR-232@tmp/private_key_1198163904137656700.key) [2021-06-28T11:04:35.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T11:04:36.118Z] + git semver init [2021-06-28T11:04:36.118Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T11:04:36.118Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-232/.git [2021-06-28T11:04:36.118Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-232 [2021-06-28T11:04:36.118Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T11:04:36.118Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T11:04:36.118Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T11:04:36.118Z] # $SEMVER_BRANCH = PR-232 [2021-06-28T11:04:36.118Z] # $SEMVER_TEMP = /tmp/semver-686486421 [2021-06-28T11:04:36.119Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-28T11:04:37.071Z] # '/tmp/semver-686486421' -> '/w/workspace/foundry_device-virtual-go_PR-232/.semver' [2021-06-28T11:04:37.071Z] # -> Force: false [2021-06-28T11:04:37.071Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-232/.semver [Pipeline] } [2021-06-28T11:04:37.088Z] $ docker exec --env ******** --env ******** c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 ssh-agent -k [2021-06-28T11:04:37.205Z] unset SSH_AUTH_SOCK; [2021-06-28T11:04:37.206Z] unset SSH_AGENT_PID; [2021-06-28T11:04:37.206Z] echo Agent pid 57 killed; [2021-06-28T11:04:37.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T11:04:37.657Z] + git semver [Pipeline] } [2021-06-28T11:04:37.697Z] $ docker stop --time=1 c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 [2021-06-28T11:04:39.041Z] $ docker rm -f c964a9cf91eb699ec9f547aceec1447f7b588a69874e1e886ea50610a1afae79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T11:04:39.543Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T11:04:39.908Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T11:04:39.931Z] [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-28T11:04:55.681Z] Still waiting to schedule task [2021-06-28T11:04:55.682Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-28T11:04:55.707Z] Still waiting to schedule task [2021-06-28T11:04:55.708Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-28T11:07:04.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-512 in /w/workspace/foundry_device-virtual-go_PR-232 [Pipeline] { [Pipeline] ws [2021-06-28T11:07:05.062Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T11:07:05.435Z] The recommended git tool is: git [2021-06-28T11:07:10.820Z] using credential edgex-jenkins-ssh [2021-06-28T11:07:10.838Z] Cloning the remote Git repository [2021-06-28T11:07:10.949Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:11.111Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-28T11:07:11.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:11.175Z] > git --version # timeout=10 [2021-06-28T11:07:11.192Z] > git --version # 'git version 2.17.1' [2021-06-28T11:07:11.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:11.274Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T11:07:12.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-28T11:07:12.911Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T11:07:12.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-28T11:07:12.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:12.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:12.980Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T11:07:13.453Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:07:13.642Z] Merge succeeded, producing 0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:07:13.643Z] Checking out Revision 0d2a82bb439231391dc6396d5809f0a851a47c98 (PR-232) [2021-06-28T11:07:13.460Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T11:07:13.473Z] > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # timeout=10 [2021-06-28T11:07:13.547Z] > git remote # timeout=10 [2021-06-28T11:07:13.570Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T11:07:13.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:13.595Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-28T11:07:13.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T11:07:13.637Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T11:07:13.647Z] > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # timeout=10 [2021-06-28T11:07:17.887Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-28T11:07:17.931Z] > git --version # timeout=10 [2021-06-28T11:07:17.940Z] > git --version # 'git version 2.17.1' [2021-06-28T11:07:17.950Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T11:07:19.234Z] Running on prd-centos7-docker-4c-2g-513 in /w/workspace/foundry_device-virtual-go_PR-232 [Pipeline] { [Pipeline] ws [2021-06-28T11:07:19.459Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T11:07:19.618Z] The recommended git tool is: git [2021-06-28T11:07:19.706Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T11:07:20.133Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T11:07:20.502Z] + true [2021-06-28T11:07:20.502Z] + sudo service docker restart [2021-06-28T11:07:21.988Z] using credential edgex-jenkins-ssh [2021-06-28T11:07:22.005Z] Cloning the remote Git repository [2021-06-28T11:07:22.025Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:22.100Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-06-28T11:07:22.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:22.130Z] > git --version # timeout=10 [2021-06-28T11:07:22.139Z] > git --version # 'git version 2.24.4' [2021-06-28T11:07:22.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:22.163Z] [INFO] Currently running in a labeled security context [2021-06-28T11:07:22.163Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T11:07:22.163Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7425743432212228876.key [2021-06-28T11:07:22.172Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T11:07:22.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-28T11:07:22.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T11:07:23.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-28T11:07:23.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-28T11:07:23.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:23.017Z] [INFO] Currently running in a labeled security context [2021-06-28T11:07:23.017Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T11:07:23.018Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh1880431958659617116.key [2021-06-28T11:07:23.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T11:07:23.386Z] Merging remotes/origin/master commit f9181e51cc24c5c8d60c5f317d7638268e956055 into PR head commit 0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:07:23.471Z] Merge succeeded, producing 0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:07:23.472Z] Checking out Revision 0d2a82bb439231391dc6396d5809f0a851a47c98 (PR-232) [2021-06-28T11:07:23.391Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T11:07:23.400Z] > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # timeout=10 [2021-06-28T11:07:23.432Z] > git remote # timeout=10 [2021-06-28T11:07:23.440Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T11:07:23.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T11:07:23.445Z] [INFO] Currently running in a labeled security context [2021-06-28T11:07:23.445Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T11:07:23.445Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh3726867991260770152.key [2021-06-28T11:07:23.449Z] > git merge f9181e51cc24c5c8d60c5f317d7638268e956055 # timeout=10 [2021-06-28T11:07:23.461Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T11:07:23.471Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T11:07:23.476Z] > git checkout -f 0d2a82bb439231391dc6396d5809f0a851a47c98 # timeout=10 [2021-06-28T11:07:27.114Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-28T11:07:27.131Z] > git --version # timeout=10 [2021-06-28T11:07:27.140Z] > git --version # 'git version 2.24.4' [2021-06-28T11:07:27.146Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T11:07:28.459Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T11:07:28.810Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T11:07:29.146Z] + sudo service docker restart [2021-06-28T11:07:29.147Z] + true [2021-06-28T11:07:29.147Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T11:07:38.926Z] provisioning config files... [2021-06-28T11:07:38.957Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5620252587918530293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:07:39.437Z] ---> docker-login.sh [2021-06-28T11:07:39.437Z] nexus3.edgexfoundry.org:10001 [2021-06-28T11:07:40.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:40.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:40.696Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:40.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:40.696Z] [2021-06-28T11:07:40.696Z] Login Succeeded [2021-06-28T11:07:40.696Z] nexus3.edgexfoundry.org:10002 [2021-06-28T11:07:41.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:41.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:41.295Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:41.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:41.295Z] [2021-06-28T11:07:41.295Z] Login Succeeded [2021-06-28T11:07:41.295Z] nexus3.edgexfoundry.org:10003 [2021-06-28T11:07:41.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:41.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:41.900Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:41.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:41.900Z] [2021-06-28T11:07:41.900Z] Login Succeeded [2021-06-28T11:07:41.900Z] nexus3.edgexfoundry.org:10004 [2021-06-28T11:07:42.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:42.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:42.457Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:42.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:42.457Z] [2021-06-28T11:07:42.457Z] Login Succeeded [2021-06-28T11:07:42.457Z] docker.io [2021-06-28T11:07:42.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:43.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:43.333Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:43.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:43.333Z] [2021-06-28T11:07:43.333Z] Login Succeeded [2021-06-28T11:07:43.333Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T11:07:43.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T11:07:44.004Z] ========================================================= [2021-06-28T11:07:44.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T11:07:44.004Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:07:44.434Z] + 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-28T11:07:44.735Z] Sending build context to Docker daemon 8.635MB [2021-06-28T11:07:45.014Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T11:07:45.014Z] Step 2/8 : FROM ${BASE} [2021-06-28T11:07:45.290Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T11:07:45.290Z] 595b0fe564bb: Pulling fs layer [2021-06-28T11:07:45.290Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T11:07:45.290Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T11:07:45.290Z] ba82ee9f976e: Pulling fs layer [2021-06-28T11:07:45.290Z] 506bd15cee9f: Pulling fs layer [2021-06-28T11:07:45.290Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T11:07:45.290Z] 618dc40b7e24: Pulling fs layer [2021-06-28T11:07:45.290Z] 506bd15cee9f: Waiting [2021-06-28T11:07:45.290Z] 75a0a4a0db45: Waiting [2021-06-28T11:07:45.290Z] 618dc40b7e24: Waiting [2021-06-28T11:07:45.290Z] ba82ee9f976e: Waiting [2021-06-28T11:07:45.290Z] 5b7225fbf94c: Verifying Checksum [2021-06-28T11:07:45.290Z] 5b7225fbf94c: Download complete [2021-06-28T11:07:45.290Z] 3088b5b3c5c0: Download complete [2021-06-28T11:07:45.290Z] 506bd15cee9f: Verifying Checksum [2021-06-28T11:07:45.290Z] 506bd15cee9f: Download complete [2021-06-28T11:07:45.290Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T11:07:45.290Z] 75a0a4a0db45: Download complete [2021-06-28T11:07:45.290Z] 595b0fe564bb: Verifying Checksum [2021-06-28T11:07:45.290Z] 595b0fe564bb: Download complete [2021-06-28T11:07:45.904Z] 595b0fe564bb: Pull complete [2021-06-28T11:07:46.509Z] 3088b5b3c5c0: Pull complete [2021-06-28T11:07:47.110Z] 5b7225fbf94c: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T11:07:47.383Z] provisioning config files... [2021-06-28T11:07:47.398Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6629805382650075988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:07:47.726Z] 618dc40b7e24: Download complete [2021-06-28T11:07:47.783Z] ---> docker-login.sh [2021-06-28T11:07:47.783Z] nexus3.edgexfoundry.org:10001 [2021-06-28T11:07:48.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:48.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:48.045Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:48.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:48.045Z] [2021-06-28T11:07:48.045Z] Login Succeeded [2021-06-28T11:07:48.045Z] nexus3.edgexfoundry.org:10002 [2021-06-28T11:07:48.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:48.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:48.318Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:48.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:48.318Z] [2021-06-28T11:07:48.318Z] Login Succeeded [2021-06-28T11:07:48.318Z] nexus3.edgexfoundry.org:10003 [2021-06-28T11:07:48.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:48.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:48.318Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:48.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:48.318Z] [2021-06-28T11:07:48.318Z] Login Succeeded [2021-06-28T11:07:48.318Z] nexus3.edgexfoundry.org:10004 [2021-06-28T11:07:48.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:48.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:48.581Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:48.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:48.581Z] [2021-06-28T11:07:48.581Z] Login Succeeded [2021-06-28T11:07:48.581Z] docker.io [2021-06-28T11:07:48.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T11:07:48.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T11:07:48.843Z] Configure a credential helper to remove this warning. See [2021-06-28T11:07:48.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T11:07:48.843Z] [2021-06-28T11:07:48.843Z] Login Succeeded [2021-06-28T11:07:48.843Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T11:07:48.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-28T11:07:49.167Z] ba82ee9f976e: Verifying Checksum [2021-06-28T11:07:49.167Z] ba82ee9f976e: Download complete [Pipeline] echo [2021-06-28T11:07:49.220Z] ========================================================= [2021-06-28T11:07:49.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T11:07:49.220Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:07:49.578Z] + 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-28T11:07:49.578Z] Sending build context to Docker daemon 8.636MB [2021-06-28T11:07:49.578Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T11:07:49.578Z] Step 2/8 : FROM ${BASE} [2021-06-28T11:07:49.842Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T11:07:49.842Z] 540db60ca938: Pulling fs layer [2021-06-28T11:07:49.842Z] adcc1eea9eea: Pulling fs layer [2021-06-28T11:07:49.842Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T11:07:49.842Z] 0510c868ecb4: Pulling fs layer [2021-06-28T11:07:49.842Z] afea3b2eda06: Pulling fs layer [2021-06-28T11:07:49.842Z] 7809a108b3ef: Pulling fs layer [2021-06-28T11:07:49.842Z] f706445af74f: Pulling fs layer [2021-06-28T11:07:49.842Z] afea3b2eda06: Waiting [2021-06-28T11:07:49.842Z] 7809a108b3ef: Waiting [2021-06-28T11:07:49.842Z] f706445af74f: Waiting [2021-06-28T11:07:49.842Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T11:07:49.842Z] 4c4ab2625f07: Download complete [2021-06-28T11:07:49.842Z] adcc1eea9eea: Verifying Checksum [2021-06-28T11:07:49.842Z] adcc1eea9eea: Download complete [2021-06-28T11:07:49.842Z] afea3b2eda06: Verifying Checksum [2021-06-28T11:07:49.842Z] afea3b2eda06: Download complete [2021-06-28T11:07:49.842Z] 7809a108b3ef: Verifying Checksum [2021-06-28T11:07:49.842Z] 7809a108b3ef: Download complete [2021-06-28T11:07:49.842Z] 540db60ca938: Verifying Checksum [2021-06-28T11:07:49.842Z] 540db60ca938: Download complete [2021-06-28T11:07:50.167Z] 540db60ca938: Pull complete [2021-06-28T11:07:50.167Z] adcc1eea9eea: Pull complete [2021-06-28T11:07:50.435Z] 4c4ab2625f07: Pull complete [2021-06-28T11:07:51.023Z] f706445af74f: Verifying Checksum [2021-06-28T11:07:51.023Z] f706445af74f: Download complete [2021-06-28T11:07:51.979Z] 0510c868ecb4: Verifying Checksum [2021-06-28T11:07:51.979Z] 0510c868ecb4: Download complete [2021-06-28T11:07:55.331Z] 0510c868ecb4: Pull complete [2021-06-28T11:07:55.331Z] afea3b2eda06: Pull complete [2021-06-28T11:07:55.331Z] 7809a108b3ef: Pull complete [2021-06-28T11:07:56.739Z] f706445af74f: Pull complete [2021-06-28T11:07:56.739Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T11:07:56.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T11:07:56.739Z] ---> b068be0155e3 [2021-06-28T11:07:56.739Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-28T11:08:00.967Z] ---> Running in fcc85abb82ac [2021-06-28T11:08:00.967Z] Removing intermediate container fcc85abb82ac [2021-06-28T11:08:00.967Z] ---> 89508adef9b9 [2021-06-28T11:08:00.967Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:08:00.967Z] ---> Running in 2dfab6bf0457 [2021-06-28T11:08:01.233Z] Removing intermediate container 2dfab6bf0457 [2021-06-28T11:08:01.233Z] ---> 6061976519ce [2021-06-28T11:08:01.233Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-28T11:08:01.233Z] ---> Running in bb24f1b331d2 [2021-06-28T11:08:01.501Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T11:08:01.596Z] ba82ee9f976e: Pull complete [2021-06-28T11:08:01.596Z] 506bd15cee9f: Pull complete [2021-06-28T11:08:01.596Z] 75a0a4a0db45: Pull complete [2021-06-28T11:08:02.451Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T11:08:02.713Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T11:08:02.976Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T11:08:02.976Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T11:08:02.976Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T11:08:03.237Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T11:08:03.237Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T11:08:03.498Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T11:08:03.761Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T11:08:03.761Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T11:08:03.761Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T11:08:04.025Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T11:08:04.025Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T11:08:04.025Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T11:08:04.290Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T11:08:04.290Z] OK: 156 MiB in 53 packages [2021-06-28T11:08:04.560Z] Removing intermediate container bb24f1b331d2 [2021-06-28T11:08:04.560Z] ---> 95ef81a94990 [2021-06-28T11:08:04.560Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-28T11:08:04.560Z] ---> Running in 7d23f00b2854 [2021-06-28T11:08:04.821Z] Removing intermediate container 7d23f00b2854 [2021-06-28T11:08:04.821Z] ---> d50aa95f522c [2021-06-28T11:08:04.821Z] Step 7/8 : COPY . . [2021-06-28T11:08:05.084Z] ---> ea0d2cd8594b [2021-06-28T11:08:05.084Z] Step 8/8 : RUN go mod download [2021-06-28T11:08:05.084Z] ---> Running in e94aa93fbd44 [2021-06-28T11:08:05.908Z] 618dc40b7e24: Pull complete [2021-06-28T11:08:05.908Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T11:08:05.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T11:08:05.908Z] ---> a36622ca3599 [2021-06-28T11:08:05.908Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-28T11:08:05.908Z] ---> Running in 68de64438fee [2021-06-28T11:08:06.503Z] Removing intermediate container 68de64438fee [2021-06-28T11:08:06.503Z] ---> 38db9fa4cd96 [2021-06-28T11:08:06.503Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:08:06.778Z] ---> Running in 928d74590b58 [2021-06-28T11:08:08.760Z] Removing intermediate container 928d74590b58 [2021-06-28T11:08:08.760Z] ---> 6e91476fbeec [2021-06-28T11:08:08.760Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-28T11:08:09.038Z] ---> Running in 1fe82e3bdb4c [2021-06-28T11:08:10.018Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T11:08:10.992Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T11:08:12.960Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T11:08:12.960Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T11:08:12.960Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T11:08:12.960Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T11:08:12.960Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T11:08:13.231Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T11:08:13.231Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T11:08:13.502Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T11:08:13.502Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T11:08:13.773Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T11:08:13.773Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T11:08:13.773Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T11:08:14.052Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T11:08:14.052Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T11:08:14.052Z] OK: 145 MiB in 53 packages [2021-06-28T11:08:15.493Z] Removing intermediate container 1fe82e3bdb4c [2021-06-28T11:08:15.493Z] ---> 28b755a185f3 [2021-06-28T11:08:15.493Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-28T11:08:15.766Z] ---> Running in 225b074d62d6 [2021-06-28T11:08:16.039Z] Removing intermediate container 225b074d62d6 [2021-06-28T11:08:16.039Z] ---> 96dcb5c3ef22 [2021-06-28T11:08:16.039Z] Step 7/8 : COPY . . [2021-06-28T11:08:17.472Z] ---> 515ba2e628a2 [2021-06-28T11:08:17.472Z] Step 8/8 : RUN go mod download [2021-06-28T11:08:17.472Z] ---> Running in e01cfbd720a2 [2021-06-28T11:08:20.027Z] Removing intermediate container e94aa93fbd44 [2021-06-28T11:08:20.027Z] ---> b71474d82c66 [2021-06-28T11:08:20.027Z] Successfully built b71474d82c66 [2021-06-28T11:08:20.027Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:08:20.376Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T11:08:20.376Z] . [Pipeline] withDockerContainer [2021-06-28T11:08:20.486Z] prd-centos7-docker-4c-2g-513 does not seem to be running inside a container [2021-06-28T11:08:20.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T11:08:20.959Z] $ docker top 171b84191493ee6cab0e3efca0ae7e7a61d08dd8a27c160da9cd44f5826a9bb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T11:08:21.393Z] + go version [2021-06-28T11:08:21.394Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T11:08:21.423Z] $ docker stop --time=1 171b84191493ee6cab0e3efca0ae7e7a61d08dd8a27c160da9cd44f5826a9bb1 [2021-06-28T11:08:22.641Z] $ docker rm -f 171b84191493ee6cab0e3efca0ae7e7a61d08dd8a27c160da9cd44f5826a9bb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:08:23.493Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T11:08:23.493Z] . [Pipeline] withDockerContainer [2021-06-28T11:08:23.603Z] prd-centos7-docker-4c-2g-513 does not seem to be running inside a container [2021-06-28T11:08:23.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T11:08:24.041Z] $ docker top cfbd7cf208d9480f2e6926e12f282f8b28775c7b876ff9aab0b1ebc5c59b3739 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T11:08:24.526Z] + go mod tidy [Pipeline] sh [2021-06-28T11:08:25.117Z] + make test [2021-06-28T11:08:25.117Z] go mod tidy [2021-06-28T11:08:25.117Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T11:08:25.693Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-28T11:08:43.943Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-28T11:08:44.297Z] Removing intermediate container e01cfbd720a2 [2021-06-28T11:08:44.297Z] ---> 62774a64cdcf [2021-06-28T11:08:44.297Z] Successfully built 62774a64cdcf [2021-06-28T11:08:44.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:08:44.519Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.258s coverage: 63.8% of statements [2021-06-28T11:08:44.519Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T11:08:44.669Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T11:08:44.669Z] . [Pipeline] withDockerContainer [2021-06-28T11:08:44.952Z] prd-ubuntu18.04-docker-arm64-4c-16g-512 does not seem to be running inside a container [2021-06-28T11:08:45.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T11:08:46.623Z] $ docker top 203fbe5634ee0a17150e5e70291b5237c47620e1e7236dff49f960ca31fc6c1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T11:08:47.665Z] + go version [2021-06-28T11:08:47.665Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T11:08:47.703Z] $ docker stop --time=1 203fbe5634ee0a17150e5e70291b5237c47620e1e7236dff49f960ca31fc6c1c [2021-06-28T11:08:49.563Z] $ docker rm -f 203fbe5634ee0a17150e5e70291b5237c47620e1e7236dff49f960ca31fc6c1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:08:50.807Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T11:08:50.808Z] . [Pipeline] withDockerContainer [2021-06-28T11:08:51.133Z] gofmt -l . [2021-06-28T11:08:51.133Z] [ "`gofmt -l .`" = "" ] [2021-06-28T11:08:51.133Z] ./bin/test-attribution-txt.sh [2021-06-28T11:08:51.144Z] prd-ubuntu18.04-docker-arm64-4c-16g-512 does not seem to be running inside a container [2021-06-28T11:08:51.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T11:08:51.402Z] ./bin/test-go-mod-tidy.sh [2021-06-28T11:08:52.904Z] $ docker top 01b2603ff12e19f44aa8386a94decb7005735c596b49e504618d0cf045d7a3e3 -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-28T11:08:53.304Z] $ docker stop --time=1 cfbd7cf208d9480f2e6926e12f282f8b28775c7b876ff9aab0b1ebc5c59b3739 [2021-06-28T11:08:54.835Z] $ docker rm -f cfbd7cf208d9480f2e6926e12f282f8b28775c7b876ff9aab0b1ebc5c59b3739 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-06-28T11:08:55.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T11:08:55.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-28T11:08:55.713Z] + go mod tidy [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2021-06-28T11:08:59.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T11:08:59.314Z] + make test [2021-06-28T11:08:59.314Z] go mod tidy [2021-06-28T11:08:59.378Z] + ls -al . [2021-06-28T11:08:59.378Z] total 132 [2021-06-28T11:08:59.378Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 28 11:08 . [2021-06-28T11:08:59.378Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 11:07 .. [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 28 11:07 Attribution.txt [2021-06-28T11:08:59.378Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 28 11:07 bin [2021-06-28T11:08:59.378Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 11:07 cmd [2021-06-28T11:08:59.378Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 28 11:08 coverage.out [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 28 11:07 Dockerfile [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 28 11:07 Dockerfile.build [2021-06-28T11:08:59.378Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 11:07 .git [2021-06-28T11:08:59.378Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 11:07 .github [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 28 11:07 .gitignore [2021-06-28T11:08:59.378Z] -rw-r--r--. 1 jenkins jenkins 795 Jun 28 11:08 go.mod [2021-06-28T11:08:59.378Z] -rw-r--r--. 1 jenkins jenkins 22824 Jun 28 11:08 go.sum [2021-06-28T11:08:59.378Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 28 11:07 internal [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 28 11:07 Jenkinsfile [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 11:07 LICENSE [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 28 11:07 Makefile [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 28 11:07 README.md [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 11:04 VERSION [2021-06-28T11:08:59.378Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 28 11:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:08:59.714Z] + 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=0d2a82bb439231391dc6396d5809f0a851a47c98 --label arch=amd64 --label version=0.0.0 . [2021-06-28T11:08:59.714Z] Sending build context to Docker daemon 8.708MB [2021-06-28T11:08:59.714Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T11:08:59.714Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-28T11:08:59.714Z] ---> b71474d82c66 [2021-06-28T11:08:59.714Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T11:08:59.714Z] ---> Running in 237ba519ad90 [2021-06-28T11:08:59.925Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T11:08:59.976Z] Removing intermediate container 237ba519ad90 [2021-06-28T11:08:59.976Z] ---> f42899e9d845 [2021-06-28T11:08:59.976Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T11:08:59.976Z] ---> Running in db31ef1362dc [2021-06-28T11:08:59.976Z] Removing intermediate container db31ef1362dc [2021-06-28T11:08:59.976Z] ---> 35bafdba7024 [2021-06-28T11:08:59.977Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-28T11:08:59.977Z] ---> Running in f47c9d6f273b [2021-06-28T11:09:00.238Z] Removing intermediate container f47c9d6f273b [2021-06-28T11:09:00.238Z] ---> 990d28a731e4 [2021-06-28T11:09:00.238Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:09:00.238Z] ---> Running in 462d51beb8e2 [2021-06-28T11:09:00.501Z] Removing intermediate container 462d51beb8e2 [2021-06-28T11:09:00.501Z] ---> ba014a4def56 [2021-06-28T11:09:00.501Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T11:09:00.501Z] ---> Running in 384295085e01 [2021-06-28T11:09:00.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T11:09:01.367Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-28T11:09:01.704Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T11:09:02.284Z] OK: 156 MiB in 53 packages [2021-06-28T11:09:02.284Z] Removing intermediate container 384295085e01 [2021-06-28T11:09:02.284Z] ---> b8c1d45276d5 [2021-06-28T11:09:02.284Z] Step 8/26 : COPY . . [2021-06-28T11:09:02.547Z] ---> 20da423af762 [2021-06-28T11:09:02.547Z] Step 9/26 : RUN go mod tidy [2021-06-28T11:09:02.815Z] ---> Running in 8ddfb4147df5 [2021-06-28T11:09:03.392Z] Removing intermediate container 8ddfb4147df5 [2021-06-28T11:09:03.392Z] ---> df7e234d2f8b [2021-06-28T11:09:03.392Z] Step 10/26 : RUN go mod download [2021-06-28T11:09:03.392Z] ---> Running in 119bd64ec37c [2021-06-28T11:09:03.968Z] Removing intermediate container 119bd64ec37c [2021-06-28T11:09:03.968Z] ---> 39386e99f771 [2021-06-28T11:09:03.968Z] Step 11/26 : ARG MAKE='make build' [2021-06-28T11:09:03.968Z] ---> Running in 8e736b739389 [2021-06-28T11:09:03.968Z] Removing intermediate container 8e736b739389 [2021-06-28T11:09:03.968Z] ---> 91812f76a565 [2021-06-28T11:09:03.968Z] Step 12/26 : RUN $MAKE [2021-06-28T11:09:03.968Z] ---> Running in bce59532a539 [2021-06-28T11:09:04.240Z] go mod tidy [2021-06-28T11:09:04.510Z] 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-28T11:09:19.510Z] Removing intermediate container bce59532a539 [2021-06-28T11:09:19.510Z] ---> dc94f2277247 [2021-06-28T11:09:19.510Z] Step 13/26 : FROM alpine:3.12 [2021-06-28T11:09:20.084Z] 3.12: Pulling from library/alpine [2021-06-28T11:09:20.084Z] 339de151aab4: Pulling fs layer [2021-06-28T11:09:20.346Z] 339de151aab4: Verifying Checksum [2021-06-28T11:09:20.346Z] 339de151aab4: Download complete [2021-06-28T11:09:20.346Z] 339de151aab4: Pull complete [2021-06-28T11:09:20.346Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T11:09:20.346Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T11:09:20.346Z] ---> 13621d1b12d4 [2021-06-28T11:09:20.346Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-28T11:09:20.609Z] ---> Running in c29f67d38e93 [2021-06-28T11:09:20.609Z] Removing intermediate container c29f67d38e93 [2021-06-28T11:09:20.609Z] ---> ac529eaa9e5b [2021-06-28T11:09:20.609Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:09:20.609Z] ---> Running in 2199a26a841b [2021-06-28T11:09:21.189Z] Removing intermediate container 2199a26a841b [2021-06-28T11:09:21.189Z] ---> 69257a63cdb4 [2021-06-28T11:09:21.189Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T11:09:21.189Z] ---> Running in 178b9f0f2000 [2021-06-28T11:09:21.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T11:09:22.025Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T11:09:22.286Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T11:09:22.547Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T11:09:22.547Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T11:09:22.547Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T11:09:23.943Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T11:09:23.943Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T11:09:23.943Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T11:09:23.943Z] OK: 8 MiB in 20 packages [2021-06-28T11:09:24.209Z] Removing intermediate container 178b9f0f2000 [2021-06-28T11:09:24.209Z] ---> 38c719a2cb71 [2021-06-28T11:09:24.209Z] Step 17/26 : WORKDIR / [2021-06-28T11:09:24.209Z] ---> Running in 21e6f1974db0 [2021-06-28T11:09:24.209Z] Removing intermediate container 21e6f1974db0 [2021-06-28T11:09:24.209Z] ---> 5f48b770af05 [2021-06-28T11:09:24.209Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-28T11:09:24.471Z] ---> f7870bc21888 [2021-06-28T11:09:24.471Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-28T11:09:24.471Z] ---> 27a81b2f2b2b [2021-06-28T11:09:24.471Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-28T11:09:25.044Z] ---> 92b312986270 [2021-06-28T11:09:25.044Z] Step 21/26 : EXPOSE 59900 [2021-06-28T11:09:25.044Z] ---> Running in c1f16c381792 [2021-06-28T11:09:25.044Z] Removing intermediate container c1f16c381792 [2021-06-28T11:09:25.044Z] ---> 0667a08c3ee2 [2021-06-28T11:09:25.044Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-28T11:09:25.308Z] ---> Running in f8c4c319cead [2021-06-28T11:09:25.308Z] Removing intermediate container f8c4c319cead [2021-06-28T11:09:25.308Z] ---> aef6120ba5e4 [2021-06-28T11:09:25.308Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-28T11:09:25.308Z] ---> Running in ee0046cabc18 [2021-06-28T11:09:25.308Z] Removing intermediate container ee0046cabc18 [2021-06-28T11:09:25.308Z] ---> 3d972828e8da [2021-06-28T11:09:25.308Z] Step 24/26 : LABEL arch=amd64 [2021-06-28T11:09:25.308Z] ---> Running in d5fe9c431807 [2021-06-28T11:09:25.570Z] Removing intermediate container d5fe9c431807 [2021-06-28T11:09:25.571Z] ---> 5695b198c4eb [2021-06-28T11:09:25.571Z] Step 25/26 : LABEL git_sha=0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:09:25.571Z] ---> Running in 8353c1a1c842 [2021-06-28T11:09:25.571Z] Removing intermediate container 8353c1a1c842 [2021-06-28T11:09:25.571Z] ---> fd11af4c326e [2021-06-28T11:09:25.571Z] Step 26/26 : LABEL version=0.0.0 [2021-06-28T11:09:25.571Z] ---> Running in 8a2db40479c9 [2021-06-28T11:09:25.832Z] Removing intermediate container 8a2db40479c9 [2021-06-28T11:09:25.832Z] ---> af9fe767417a [2021-06-28T11:09:25.832Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T11:09:25.832Z] Successfully built af9fe767417a [2021-06-28T11:09:25.832Z] 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-28T11:09:27.089Z] ---> job-cost.sh [2021-06-28T11:09:27.089Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PKDK [2021-06-28T11:09:35.298Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T11:09:50.246Z] lf-activate-venv(): INFO: Adding /tmp/venv-PKDK/bin to PATH [2021-06-28T11:09:50.246Z] INFO: No Stack... [2021-06-28T11:09:50.246Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T11:09:50.246Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T11:09:50.576Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-28T11:09:50.576Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T11:09:50.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [2021-06-28T11:09:50.642Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] did not exist. Created. [2021-06-28T11:09:50.642Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T11:09:51.069Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T11:09:51.156Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T11:09:51.174Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T11:10:09.445Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-28T11:10:09.445Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.729s coverage: 63.8% of statements [2021-06-28T11:10:09.445Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T11:10:31.663Z] gofmt -l . [2021-06-28T11:10:31.663Z] [ "`gofmt -l .`" = "" ] [2021-06-28T11:10:31.663Z] ./bin/test-attribution-txt.sh [2021-06-28T11:10:32.637Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-28T11:10:32.947Z] $ docker stop --time=1 01b2603ff12e19f44aa8386a94decb7005735c596b49e504618d0cf045d7a3e3 [2021-06-28T11:10:35.020Z] $ docker rm -f 01b2603ff12e19f44aa8386a94decb7005735c596b49e504618d0cf045d7a3e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T11:10:35.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T11:10:36.002Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T11:10:36.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T11:10:37.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T11:10:37.872Z] + ls -al . [2021-06-28T11:10:37.872Z] total 156 [2021-06-28T11:10:37.872Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 28 11:10 . [2021-06-28T11:10:37.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 11:07 .. [2021-06-28T11:10:37.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 11:07 .git [2021-06-28T11:10:37.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 11:07 .github [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 28 11:07 .gitignore [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 28 11:07 Attribution.txt [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 28 11:07 Dockerfile [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 28 11:07 Dockerfile.build [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 11:07 Jenkinsfile [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 11:07 LICENSE [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 28 11:07 Makefile [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 28 11:07 README.md [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 11:04 VERSION [2021-06-28T11:10:37.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 11:07 bin [2021-06-28T11:10:37.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 11:07 cmd [2021-06-28T11:10:37.872Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 28 11:10 coverage.out [2021-06-28T11:10:37.872Z] -rw-r--r-- 1 jenkins jenkins 795 Jun 28 11:10 go.mod [2021-06-28T11:10:37.872Z] -rw-r--r-- 1 jenkins jenkins 22824 Jun 28 11:08 go.sum [2021-06-28T11:10:37.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 11:07 internal [2021-06-28T11:10:37.872Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 28 11:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:10:38.265Z] + 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=0d2a82bb439231391dc6396d5809f0a851a47c98 --label arch=arm64 --label version=0.0.0 . [2021-06-28T11:10:38.548Z] Sending build context to Docker daemon 8.707MB [2021-06-28T11:10:38.825Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T11:10:38.825Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-28T11:10:38.825Z] ---> 62774a64cdcf [2021-06-28T11:10:38.825Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T11:10:39.099Z] ---> Running in f9cfb8a717e6 [2021-06-28T11:10:39.707Z] Removing intermediate container f9cfb8a717e6 [2021-06-28T11:10:39.707Z] ---> c0902d575843 [2021-06-28T11:10:39.707Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T11:10:39.707Z] ---> Running in 2e50c7bb4437 [2021-06-28T11:10:40.303Z] Removing intermediate container 2e50c7bb4437 [2021-06-28T11:10:40.303Z] ---> b63ebd06859a [2021-06-28T11:10:40.303Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-28T11:10:40.576Z] ---> Running in 0577af8192f4 [2021-06-28T11:10:41.171Z] Removing intermediate container 0577af8192f4 [2021-06-28T11:10:41.171Z] ---> 57ece3f7ec32 [2021-06-28T11:10:41.171Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:10:41.447Z] ---> Running in d1ed4967530e [2021-06-28T11:10:43.426Z] Removing intermediate container d1ed4967530e [2021-06-28T11:10:43.426Z] ---> 4b5b1a09eaf1 [2021-06-28T11:10:43.426Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T11:10:43.701Z] ---> Running in 03bc2bd6f84c [2021-06-28T11:10:45.132Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T11:10:45.723Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T11:10:46.693Z] OK: 145 MiB in 53 packages [2021-06-28T11:10:48.124Z] Removing intermediate container 03bc2bd6f84c [2021-06-28T11:10:48.124Z] ---> 4a95ec201a25 [2021-06-28T11:10:48.124Z] Step 8/26 : COPY . . [2021-06-28T11:10:49.102Z] ---> d09dbc280129 [2021-06-28T11:10:49.102Z] Step 9/26 : RUN go mod tidy [2021-06-28T11:10:49.373Z] ---> Running in 998433390bbe [2021-06-28T11:10:52.003Z] Removing intermediate container 998433390bbe [2021-06-28T11:10:52.003Z] ---> 7c2bf352325a [2021-06-28T11:10:52.003Z] Step 10/26 : RUN go mod download [2021-06-28T11:10:52.290Z] ---> Running in 626ab06c46e6 [2021-06-28T11:10:54.912Z] Removing intermediate container 626ab06c46e6 [2021-06-28T11:10:54.912Z] ---> 14eed54b0b32 [2021-06-28T11:10:54.912Z] Step 11/26 : ARG MAKE='make build' [2021-06-28T11:10:54.912Z] ---> Running in 97bd5a14a479 [2021-06-28T11:10:56.350Z] Removing intermediate container 97bd5a14a479 [2021-06-28T11:10:56.350Z] ---> b43c89993274 [2021-06-28T11:10:56.350Z] Step 12/26 : RUN $MAKE [2021-06-28T11:10:56.350Z] ---> Running in 8753379ae6c6 [2021-06-28T11:10:57.799Z] go mod tidy [2021-06-28T11:10:58.074Z] 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-28T11:11:54.638Z] Removing intermediate container 8753379ae6c6 [2021-06-28T11:11:54.638Z] ---> c712c019df5a [2021-06-28T11:11:54.638Z] Step 13/26 : FROM alpine:3.12 [2021-06-28T11:11:54.638Z] 3.12: Pulling from library/alpine [2021-06-28T11:11:54.638Z] d2f70382dc9a: Pulling fs layer [2021-06-28T11:11:54.638Z] d2f70382dc9a: Verifying Checksum [2021-06-28T11:11:54.638Z] d2f70382dc9a: Download complete [2021-06-28T11:11:54.638Z] d2f70382dc9a: Pull complete [2021-06-28T11:11:54.638Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T11:11:54.638Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T11:11:54.638Z] ---> c4fd0aeabfcf [2021-06-28T11:11:54.638Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-28T11:11:54.638Z] ---> Running in 3a924332539c [2021-06-28T11:11:54.638Z] Removing intermediate container 3a924332539c [2021-06-28T11:11:54.638Z] ---> 425551a8f092 [2021-06-28T11:11:54.638Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T11:11:54.638Z] ---> Running in ff3bffea5a67 [2021-06-28T11:11:54.638Z] Removing intermediate container ff3bffea5a67 [2021-06-28T11:11:54.638Z] ---> 3be2b24c385e [2021-06-28T11:11:54.638Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T11:11:54.638Z] ---> Running in 3a235ad7dcde [2021-06-28T11:11:54.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T11:11:54.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T11:11:54.638Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T11:11:54.638Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T11:11:54.638Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T11:11:54.638Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T11:11:54.638Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T11:11:54.638Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T11:11:54.638Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T11:11:54.638Z] OK: 8 MiB in 20 packages [2021-06-28T11:11:56.075Z] Removing intermediate container 3a235ad7dcde [2021-06-28T11:11:56.075Z] ---> 88a204f78734 [2021-06-28T11:11:56.076Z] Step 17/26 : WORKDIR / [2021-06-28T11:11:56.076Z] ---> Running in debe02fd50fb [2021-06-28T11:11:56.349Z] Removing intermediate container debe02fd50fb [2021-06-28T11:11:56.349Z] ---> fc185a9f5d52 [2021-06-28T11:11:56.349Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-28T11:11:57.340Z] ---> 21942ec4a72b [2021-06-28T11:11:57.340Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-28T11:11:57.937Z] ---> d7d8d37fc55b [2021-06-28T11:11:57.937Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-28T11:11:59.371Z] ---> 14dda9eb0cc2 [2021-06-28T11:11:59.372Z] Step 21/26 : EXPOSE 59900 [2021-06-28T11:11:59.372Z] ---> Running in 8085ff01c982 [2021-06-28T11:11:59.965Z] Removing intermediate container 8085ff01c982 [2021-06-28T11:11:59.966Z] ---> ba19fc10f4cd [2021-06-28T11:11:59.966Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-28T11:11:59.966Z] ---> Running in 47d981704b91 [2021-06-28T11:12:00.566Z] Removing intermediate container 47d981704b91 [2021-06-28T11:12:00.566Z] ---> d8d082500b69 [2021-06-28T11:12:00.566Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-28T11:12:00.842Z] ---> Running in 210c7bfa9f86 [2021-06-28T11:12:01.115Z] Removing intermediate container 210c7bfa9f86 [2021-06-28T11:12:01.115Z] ---> 29c2d436e54c [2021-06-28T11:12:01.115Z] Step 24/26 : LABEL arch=arm64 [2021-06-28T11:12:01.388Z] ---> Running in 9601a68395fe [2021-06-28T11:12:01.983Z] Removing intermediate container 9601a68395fe [2021-06-28T11:12:01.983Z] ---> 5b87309ba271 [2021-06-28T11:12:01.983Z] Step 25/26 : LABEL git_sha=0d2a82bb439231391dc6396d5809f0a851a47c98 [2021-06-28T11:12:01.983Z] ---> Running in 4443609ec750 [2021-06-28T11:12:02.579Z] Removing intermediate container 4443609ec750 [2021-06-28T11:12:02.579Z] ---> 7f63177db97c [2021-06-28T11:12:02.579Z] Step 26/26 : LABEL version=0.0.0 [2021-06-28T11:12:02.579Z] ---> Running in 92c753d45014 [2021-06-28T11:12:03.178Z] Removing intermediate container 92c753d45014 [2021-06-28T11:12:03.178Z] ---> 5344d729b24e [2021-06-28T11:12:03.178Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T11:12:03.178Z] Successfully built 5344d729b24e [2021-06-28T11:12:03.178Z] 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-28T11:12:04.137Z] ---> job-cost.sh [2021-06-28T11:12:04.137Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W40Y [2021-06-28T11:12:43.103Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T11:14:19.884Z] lf-activate-venv(): INFO: Adding /tmp/venv-W40Y/bin to PATH [2021-06-28T11:14:19.884Z] INFO: No Stack... [2021-06-28T11:14:19.884Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T11:14:19.884Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T11:14:20.278Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-06-28T11:14:20.279Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T11:14:20.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [2021-06-28T11:14:20.384Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] did not exist. Created. [2021-06-28T11:14:20.385Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T11:14:20.847Z] /w/workspace/device-virtual-go/1@tmp/durable-e3d4f8da/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-e3d4f8da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T11:14:21.222Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T11:14:21.266Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T11:14:21.503Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T11:14:21.526Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-28T11:14:23.392Z] provisioning config files... [2021-06-28T11:14:23.403Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-232@tmp/config5199300764563777506tmp [Pipeline] { [Pipeline] sh [2021-06-28T11:14:23.825Z] + set +x [2021-06-28T11:14:23.826Z] + curl -s https://codecov.io/bash [2021-06-28T11:14:23.826Z] + bash -s -- [2021-06-28T11:14:23.826Z] [2021-06-28T11:14:23.826Z] _____ _ [2021-06-28T11:14:23.826Z] / ____| | | [2021-06-28T11:14:23.826Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T11:14:23.826Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T11:14:23.826Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T11:14:23.826Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T11:14:23.826Z] Bash-1.0.3 [2021-06-28T11:14:23.826Z] [2021-06-28T11:14:23.826Z] [2021-06-28T11:14:23.826Z] ==> git version 2.24.4 found [2021-06-28T11:14:23.826Z] ==> 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-28T11:14:23.826Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T11:14:23.826Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T11:14:23.826Z] ==> Jenkins CI detected. [2021-06-28T11:14:24.091Z] project root: . [2021-06-28T11:14:24.092Z] --> token set from env [2021-06-28T11:14:24.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T11:14:24.092Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T11:14:24.092Z] ==> Python coveragepy not found [2021-06-28T11:14:24.092Z] ==> Searching for coverage reports in: [2021-06-28T11:14:24.092Z] + . [2021-06-28T11:14:24.092Z] -> Found 1 reports [2021-06-28T11:14:24.092Z] ==> Detecting git/mercurial file structure [2021-06-28T11:14:24.092Z] ==> Reading reports [2021-06-28T11:14:24.092Z] + ./coverage.out bytes=47257 [2021-06-28T11:14:24.092Z] ==> Appending adjustments [2021-06-28T11:14:24.092Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T11:14:24.092Z] + Found adjustments [2021-06-28T11:14:24.092Z] ==> Gzipping contents [2021-06-28T11:14:24.092Z] 8.0K /tmp/codecov.qzm1pJ.gz [2021-06-28T11:14:24.092Z] ==> Uploading reports [2021-06-28T11:14:24.092Z] url: https://codecov.io [2021-06-28T11:14:24.092Z] query: branch=PR-232&commit=0d2a82bb439231391dc6396d5809f0a851a47c98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=232&job=&cmd_args= [2021-06-28T11:14:24.092Z] -> Pinging Codecov [2021-06-28T11:14:24.092Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-232&commit=0d2a82bb439231391dc6396d5809f0a851a47c98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=232&job=&cmd_args= [2021-06-28T11:14:24.668Z] -> Uploading to [2021-06-28T11:14:24.668Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/5E52B4B073DB2E39498172D8E973AA87/0d2a82bb439231391dc6396d5809f0a851a47c98/59b1907d-3ff1-4f9a-b6a0-88792ae1b28f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T111424Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7fcca569a54465226c520d9a3eadb93f33dc1d89c53a570072d86ee469fcde6b [2021-06-28T11:14:24.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T11:14:24.668Z] Dload Upload Total Spent Left Speed [2021-06-28T11:14:25.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5806 0 0 100 5806 0 17308 --:--:-- --:--:-- --:--:-- 17331 [2021-06-28T11:14:25.250Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/0d2a82bb439231391dc6396d5809f0a851a47c98 [Pipeline] } [2021-06-28T11:14:25.288Z] 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-28T11:14:28.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:28.674Z] ---> package-listing.sh [2021-06-28T11:14:28.674Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T11:14:28.674Z] ++ facter osfamily [2021-06-28T11:14:28.938Z] + OS_FAMILY=redhat [2021-06-28T11:14:28.938Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-232 [2021-06-28T11:14:28.938Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T11:14:28.938Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T11:14:28.938Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T11:14:28.938Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T11:14:28.938Z] + '[' /w/workspace/foundry_device-virtual-go_PR-232 ']' [2021-06-28T11:14:28.938Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T11:14:28.938Z] + case "${OS_FAMILY}" in [2021-06-28T11:14:28.938Z] + rpm -qa [2021-06-28T11:14:28.938Z] + sort [2021-06-28T11:14:29.518Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T11:14:29.518Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T11:14:29.518Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T11:14:29.518Z] + '[' /w/workspace/foundry_device-virtual-go_PR-232 ']' [2021-06-28T11:14:29.518Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-232/archives/ [2021-06-28T11:14:29.518Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-232/archives/ [Pipeline] echo [2021-06-28T11:14:29.554Z] 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T11:14:29.872Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:14:30.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T11:14:30.487Z] [2021-06-28T11:14:30.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T11:14:30.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T11:14:30.859Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T11:14:30.859Z] df20fa9351a1: Pulling fs layer [2021-06-28T11:14:30.859Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T11:14:30.859Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T11:14:30.859Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T11:14:30.859Z] 93b61091891f: Pulling fs layer [2021-06-28T11:14:30.859Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T11:14:30.859Z] 5e14af77c1be: Pulling fs layer [2021-06-28T11:14:30.859Z] 01666e4c0597: Pulling fs layer [2021-06-28T11:14:30.859Z] aa168da1d23b: Pulling fs layer [2021-06-28T11:14:30.859Z] 46f8f816bc3b: Waiting [2021-06-28T11:14:30.859Z] 01666e4c0597: Waiting [2021-06-28T11:14:30.859Z] 93b9cdb0e59b: Waiting [2021-06-28T11:14:30.859Z] 5e14af77c1be: Waiting [2021-06-28T11:14:30.859Z] aa168da1d23b: Waiting [2021-06-28T11:14:30.859Z] 36b3adc4ff6f: Verifying Checksum [2021-06-28T11:14:30.859Z] 36b3adc4ff6f: Download complete [2021-06-28T11:14:30.859Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T11:14:30.859Z] 46f8f816bc3b: Download complete [2021-06-28T11:14:31.121Z] df20fa9351a1: Verifying Checksum [2021-06-28T11:14:31.121Z] df20fa9351a1: Download complete [2021-06-28T11:14:31.121Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T11:14:31.121Z] 93b9cdb0e59b: Download complete [2021-06-28T11:14:31.121Z] 5e14af77c1be: Verifying Checksum [2021-06-28T11:14:31.121Z] 5e14af77c1be: Download complete [2021-06-28T11:14:31.121Z] 93b61091891f: Verifying Checksum [2021-06-28T11:14:31.121Z] 93b61091891f: Download complete [2021-06-28T11:14:31.121Z] 01666e4c0597: Verifying Checksum [2021-06-28T11:14:31.121Z] 01666e4c0597: Download complete [2021-06-28T11:14:31.385Z] df20fa9351a1: Pull complete [2021-06-28T11:14:31.385Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T11:14:31.385Z] 8ad3a11d3b57: Download complete [2021-06-28T11:14:31.385Z] 36b3adc4ff6f: Pull complete [2021-06-28T11:14:31.969Z] 8ad3a11d3b57: Pull complete [2021-06-28T11:14:32.233Z] 46f8f816bc3b: Pull complete [2021-06-28T11:14:32.497Z] 93b61091891f: Pull complete [2021-06-28T11:14:32.497Z] 93b9cdb0e59b: Pull complete [2021-06-28T11:14:32.761Z] 5e14af77c1be: Pull complete [2021-06-28T11:14:32.761Z] 01666e4c0597: Pull complete [2021-06-28T11:14:33.338Z] aa168da1d23b: Verifying Checksum [2021-06-28T11:14:33.339Z] aa168da1d23b: Download complete [2021-06-28T11:14:38.672Z] aa168da1d23b: Pull complete [2021-06-28T11:14:38.673Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T11:14:38.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T11:14:38.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T11:14:38.805Z] prd-centos7-docker-4c-2g-510 does not seem to be running inside a container [2021-06-28T11:14:38.856Z] $ 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-232/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-232 -v /w/workspace/foundry_device-virtual-go_PR-232:/w/workspace/foundry_device-virtual-go_PR-232:rw,z -v /w/workspace/foundry_device-virtual-go_PR-232@tmp:/w/workspace/foundry_device-virtual-go_PR-232@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-28T11:14:41.083Z] $ docker top 9260cbd83f706f11da5818cf8e09a17f6ed2dc15740a7bf65e0265a56ad7bc3e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T11:14:41.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T11:14:41.878Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T11:14:42.206Z] + ls /var/log/sa-host [2021-06-28T11:14:42.206Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T11:14:42.206Z] file_magic: OK [2021-06-28T11:14:42.206Z] HZ: Using current value: 100 [2021-06-28T11:14:42.206Z] file_header: OK [2021-06-28T11:14:42.206Z] 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-28T11:14:42.206Z] Statistics: [2021-06-28T11:14:42.206Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T11:14:42.206Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T11:14:42.206Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T11:14:42.206Z] file_magic: OK [2021-06-28T11:14:42.206Z] HZ: Using current value: 100 [2021-06-28T11:14:42.206Z] file_header: OK [2021-06-28T11:14:42.206Z] 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-28T11:14:42.206Z] Statistics: [2021-06-28T11:14:42.206Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T11:14:42.206Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T11:14:43.130Z] provisioning config files... [2021-06-28T11:14:43.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-232@tmp/config6792557254121710744tmp [Pipeline] { [Pipeline] echo [2021-06-28T11:14:43.234Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:43.578Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T11:14:43.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:44.121Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T11:14:44.174Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:44.517Z] ---> sudo-logs.sh [2021-06-28T11:14:44.518Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T11:14:44.631Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:44.986Z] ---> job-cost.sh [2021-06-28T11:14:44.986Z] lf-activate-venv: SKIPPING [2021-06-28T11:14:44.986Z] DEBUG: total: 0.18000000715255737 [2021-06-28T11:14:44.986Z] INFO: Retrieving Stack Cost... [2021-06-28T11:14:45.938Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T11:14:46.513Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T11:14:46.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T11:14:46.928Z] ---> logs-deploy.sh [2021-06-28T11:14:46.928Z] lf-activate-venv: SKIPPING [2021-06-28T11:14:46.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-232/1 [2021-06-28T11:14:46.928Z] INFO: archiving workspace using pattern(s): [2021-06-28T11:14:47.877Z] Archives upload complete. [2021-06-28T11:14:47.877Z] INFO: archiving logs to Nexus