Pull request #158 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6351328c949a469bd22588a888be6a21996686ca+d98ab64770a8aa8499d3ed372f913abb779305df (f647762f54576725f2064a2157640be221526b80) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18194 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:37:27.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:37:28.210Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:37:28.295Z] ========================================================= [2021-01-04T16:37:28.295Z] EdgeX Global Pipelines Version Info [2021-01-04T16:37:28.295Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e9fbb1aef84366bf56d8a545e22566b09eb166f3 # timeout=10 [2021-01-04T16:37:29.766Z] ------------------- [2021-01-04T16:37:29.766Z] stable info: [2021-01-04T16:37:29.766Z] ------------------- [2021-01-04T16:37:29.766Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:37:29.766Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:37:29.766Z] Message: update stable to v1.0.173 [2021-01-04T16:37:30.715Z] ------------------- [2021-01-04T16:37:30.715Z] experimental info: [2021-01-04T16:37:30.715Z] ------------------- [2021-01-04T16:37:30.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:37:30.715Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:37:30.715Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:37:30.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-01-04T16:37:31.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-01-04T16:37:31.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:37:31.257Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:37:31.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:37:31.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:37:31.569Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:37:31.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:37:31.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T16:37:31.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:37:31.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:37:32.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-01-04T16:37:32.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:37:32.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:37:32.303Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:37:32.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:37:32.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:37:32.647Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:37:32.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:37:32.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T16:37:32.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T16:37:33.023Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T16:37:33.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:37:33.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:37:33.288Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:37:33.391Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:37:33.479Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:37:33.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2021-01-04T16:37:33.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2021-01-04T16:37:33.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2021-01-04T16:37:33.842Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6351328c949a469bd22588a888be6a21996686ca [Pipeline] echo [2021-01-04T16:37:33.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6351328 [Pipeline] echo [2021-01-04T16:37:34.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:37:34.190Z] provisioning config files... [2021-01-04T16:37:34.234Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2420224018819544702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:37:34.584Z] ---> docker-login.sh [2021-01-04T16:37:34.584Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:37:34.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:37:35.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:37:35.111Z] Configure a credential helper to remove this warning. See [2021-01-04T16:37:35.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:37:35.111Z] [2021-01-04T16:37:35.111Z] Login Succeeded [2021-01-04T16:37:35.111Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:37:35.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:37:35.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:37:35.111Z] Configure a credential helper to remove this warning. See [2021-01-04T16:37:35.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:37:35.111Z] [2021-01-04T16:37:35.111Z] Login Succeeded [2021-01-04T16:37:35.111Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:37:35.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:37:35.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:37:35.373Z] Configure a credential helper to remove this warning. See [2021-01-04T16:37:35.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:37:35.373Z] [2021-01-04T16:37:35.373Z] Login Succeeded [2021-01-04T16:37:35.373Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:37:35.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:37:35.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:37:35.636Z] Configure a credential helper to remove this warning. See [2021-01-04T16:37:35.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:37:35.636Z] [2021-01-04T16:37:35.636Z] Login Succeeded [2021-01-04T16:37:35.636Z] docker.io [2021-01-04T16:37:35.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:37:35.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:37:35.898Z] Configure a credential helper to remove this warning. See [2021-01-04T16:37:35.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:37:35.898Z] [2021-01-04T16:37:35.898Z] Login Succeeded [2021-01-04T16:37:35.898Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:37:35.907Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:37:36.670Z] + git log --format=format:%s -1 6351328c949a469bd22588a888be6a21996686ca [Pipeline] echo [2021-01-04T16:37:36.737Z] GIT_COMMIT: 6351328c949a469bd22588a888be6a21996686ca, Commit Message: ci: standardize dockerfiles [Pipeline] echo [2021-01-04T16:37:36.781Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:37:37.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:37:37.394Z] [2021-01-04T16:37:37.394Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:37:37.748Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:37:37.748Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:37:37.748Z] 31603596830f: Pulling fs layer [2021-01-04T16:37:37.748Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:37:37.748Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:37:37.748Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:37:37.748Z] ecc8261a40a4: Waiting [2021-01-04T16:37:37.748Z] 2a8b12db71e7: Download complete [2021-01-04T16:37:37.748Z] 31603596830f: Verifying Checksum [2021-01-04T16:37:37.748Z] 31603596830f: Download complete [2021-01-04T16:37:38.010Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:37:38.010Z] ecc8261a40a4: Download complete [2021-01-04T16:37:38.010Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:37:38.010Z] 6ca5941a6612: Download complete [2021-01-04T16:37:38.275Z] 31603596830f: Pull complete [2021-01-04T16:37:38.275Z] 2a8b12db71e7: Pull complete [2021-01-04T16:37:39.225Z] 6ca5941a6612: Pull complete [2021-01-04T16:37:39.225Z] ecc8261a40a4: Pull complete [2021-01-04T16:37:39.225Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:37:39.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:37:39.488Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:37:39.593Z] prd-centos7-docker-4c-2g-18194 does not seem to be running inside a container [2021-01-04T16:37:39.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:37:41.926Z] $ docker top e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:37:42.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:37:42.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:37:42.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:37:42.572Z] $ docker exec e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent [2021-01-04T16:37:42.747Z] SSH_AUTH_SOCK=/tmp/ssh-Vknk5OCrvm9B/agent.11 [2021-01-04T16:37:42.747Z] SSH_AGENT_PID=16 [2021-01-04T16:37:42.759Z] Running ssh-add (command line suppressed) [2021-01-04T16:37:42.886Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4718242737783450421.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4718242737783450421.key) [2021-01-04T16:37:42.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:37:43.283Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:37:43.308Z] $ docker exec --env ******** --env ******** e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent -k [2021-01-04T16:37:43.417Z] unset SSH_AUTH_SOCK; [2021-01-04T16:37:43.417Z] unset SSH_AGENT_PID; [2021-01-04T16:37:43.417Z] echo Agent pid 16 killed; [2021-01-04T16:37:43.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:37:43.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:37:43.615Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:37:43.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:37:43.795Z] $ docker exec e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent [2021-01-04T16:37:43.958Z] SSH_AUTH_SOCK=/tmp/ssh-zdc3Lt2O6aXT/agent.46 [2021-01-04T16:37:43.958Z] SSH_AGENT_PID=52 [2021-01-04T16:37:43.964Z] Running ssh-add (command line suppressed) [2021-01-04T16:37:44.081Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_214708265469354494.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_214708265469354494.key) [2021-01-04T16:37:44.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:37:44.476Z] + git semver init [2021-01-04T16:37:44.476Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:37:44.476Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.git [2021-01-04T16:37:44.476Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-158 [2021-01-04T16:37:44.476Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:37:44.477Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:37:44.477Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:37:44.477Z] # $SEMVER_BRANCH = PR-158 [2021-01-04T16:37:44.477Z] # $SEMVER_TEMP = /tmp/semver-147798748 [2021-01-04T16:37:44.477Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-01-04T16:37:44.739Z] # '/tmp/semver-147798748' -> '/w/workspace/foundry_device-virtual-go_PR-158/.semver' [2021-01-04T16:37:44.739Z] # -> Force: false [2021-01-04T16:37:44.739Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.semver [Pipeline] } [2021-01-04T16:37:44.790Z] $ docker exec --env ******** --env ******** e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 ssh-agent -k [2021-01-04T16:37:44.947Z] unset SSH_AUTH_SOCK; [2021-01-04T16:37:44.948Z] unset SSH_AGENT_PID; [2021-01-04T16:37:44.948Z] echo Agent pid 52 killed; [2021-01-04T16:37:44.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:37:45.466Z] + git semver [Pipeline] } [2021-01-04T16:37:45.486Z] $ docker stop --time=1 e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 [2021-01-04T16:37:46.957Z] $ docker rm -f e729cf4af89000ff1f25293e228347a9ab9bc99f5cda7fe3c84edf2b7d02c1f6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:37:47.414Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:37:47.865Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:37:47.868Z] [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-01-04T16:38:03.374Z] Still waiting to schedule task [2021-01-04T16:38:03.375Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T16:38:03.377Z] Still waiting to schedule task [2021-01-04T16:38:03.377Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T16:39:49.837Z] Running on prd-centos7-docker-4c-2g-18196 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws [2021-01-04T16:39:49.889Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-01-04T16:39:52.685Z] using credential edgex-jenkins-ssh [2021-01-04T16:39:52.750Z] Cloning the remote Git repository [2021-01-04T16:39:52.786Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:39:52.870Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-01-04T16:39:52.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:39:52.940Z] > git --version # timeout=10 [2021-01-04T16:39:52.947Z] > git --version # 'git version 2.24.3' [2021-01-04T16:39:52.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:39:52.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:39:53.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-01-04T16:39:53.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:39:53.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-01-04T16:39:53.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:39:53.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:39:53.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:39:53.987Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca [2021-01-04T16:39:54.074Z] Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca [2021-01-04T16:39:54.075Z] Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) [2021-01-04T16:39:53.999Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:39:54.007Z] > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 [2021-01-04T16:39:54.045Z] > git remote # timeout=10 [2021-01-04T16:39:54.051Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T16:39:54.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:39:54.059Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2021-01-04T16:39:54.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T16:39:54.080Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:39:54.085Z] > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 [2021-01-04T16:39:57.766Z] Commit message: "ci: standardize dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:39:58.988Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:39:59.325Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:39:59.625Z] + sudo service docker restart [2021-01-04T16:39:59.625Z] + true [2021-01-04T16:39:59.625Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:40:00.638Z] provisioning config files... [2021-01-04T16:40:00.673Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3384881986791527377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:40:01.029Z] ---> docker-login.sh [2021-01-04T16:40:01.030Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:40:01.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:40:01.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:40:01.556Z] Configure a credential helper to remove this warning. See [2021-01-04T16:40:01.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:40:01.556Z] [2021-01-04T16:40:01.556Z] Login Succeeded [2021-01-04T16:40:01.556Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:40:01.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:40:01.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:40:01.821Z] Configure a credential helper to remove this warning. See [2021-01-04T16:40:01.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:40:01.821Z] [2021-01-04T16:40:01.821Z] Login Succeeded [2021-01-04T16:40:01.821Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:40:01.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:40:01.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:40:01.821Z] Configure a credential helper to remove this warning. See [2021-01-04T16:40:01.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:40:01.821Z] [2021-01-04T16:40:01.821Z] Login Succeeded [2021-01-04T16:40:01.821Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:40:02.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:40:02.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:40:02.088Z] Configure a credential helper to remove this warning. See [2021-01-04T16:40:02.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:40:02.088Z] [2021-01-04T16:40:02.088Z] Login Succeeded [2021-01-04T16:40:02.088Z] docker.io [2021-01-04T16:40:02.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:40:02.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:40:02.616Z] Configure a credential helper to remove this warning. See [2021-01-04T16:40:02.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:40:02.616Z] [2021-01-04T16:40:02.616Z] Login Succeeded [2021-01-04T16:40:02.616Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:40:02.627Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:40:02.959Z] ========================================================= [2021-01-04T16:40:02.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:40:02.959Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:40:03.444Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T16:40:03.444Z] Sending build context to Docker daemon 488.4kB [2021-01-04T16:40:03.444Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:40:03.444Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:40:03.707Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:40:03.707Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:40:03.707Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:40:03.707Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:40:03.707Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:40:03.707Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:40:03.707Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:40:03.707Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:40:03.707Z] bca2f99d35d6: Waiting [2021-01-04T16:40:03.707Z] 93359f2a8cfa: Waiting [2021-01-04T16:40:03.707Z] 7c6f9722023f: Waiting [2021-01-04T16:40:03.707Z] a35cf1a2eb13: Waiting [2021-01-04T16:40:03.707Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:40:03.707Z] de9db76c5a1d: Download complete [2021-01-04T16:40:03.707Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:40:03.707Z] 0ef7d3d256c8: Download complete [2021-01-04T16:40:03.707Z] 93359f2a8cfa: Download complete [2021-01-04T16:40:04.286Z] 7c6f9722023f: Verifying Checksum [2021-01-04T16:40:04.286Z] 7c6f9722023f: Download complete [2021-01-04T16:40:04.286Z] 188c0c94c7c5: Download complete [2021-01-04T16:40:04.552Z] 188c0c94c7c5: Pull complete [2021-01-04T16:40:04.821Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:40:04.821Z] de9db76c5a1d: Pull complete [2021-01-04T16:40:07.391Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:40:07.391Z] a35cf1a2eb13: Download complete [2021-01-04T16:40:09.340Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:40:09.340Z] bca2f99d35d6: Download complete [2021-01-04T16:40:16.017Z] bca2f99d35d6: Pull complete [2021-01-04T16:40:16.017Z] 93359f2a8cfa: Pull complete [2021-01-04T16:40:16.017Z] 7c6f9722023f: Pull complete [2021-01-04T16:40:24.249Z] a35cf1a2eb13: Pull complete [2021-01-04T16:40:24.249Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:40:24.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:40:24.249Z] ---> a62c8e92a672 [2021-01-04T16:40:24.249Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T16:40:24.249Z] ---> Running in 3c0ee725d869 [2021-01-04T16:40:24.249Z] Removing intermediate container 3c0ee725d869 [2021-01-04T16:40:24.249Z] ---> 6693d2975997 [2021-01-04T16:40:24.249Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:40:24.249Z] ---> Running in 2bf39d43df2f [2021-01-04T16:40:25.650Z] Removing intermediate container 2bf39d43df2f [2021-01-04T16:40:25.650Z] ---> c75ee00be5cf [2021-01-04T16:40:25.650Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T16:40:25.650Z] ---> Running in 55ea239b91d8 [2021-01-04T16:40:25.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:40:26.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:40:27.815Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T16:40:28.079Z] (2/14) Installing file (5.38-r0) [2021-01-04T16:40:28.079Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T16:40:28.344Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T16:40:32.577Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T16:40:32.577Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T16:40:32.577Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T16:40:32.577Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T16:40:32.577Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T16:40:32.577Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T16:40:33.161Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T16:40:33.161Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T16:40:33.161Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T16:40:33.424Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T16:40:33.425Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T16:40:33.425Z] OK: 237 MiB in 53 packages [2021-01-04T16:40:36.779Z] Removing intermediate container 55ea239b91d8 [2021-01-04T16:40:36.779Z] ---> e768df60043b [2021-01-04T16:40:36.779Z] Step 6/8 : WORKDIR /device-virtual-go [2021-01-04T16:40:36.779Z] ---> Running in c92c355b4d1c [2021-01-04T16:40:37.049Z] Removing intermediate container c92c355b4d1c [2021-01-04T16:40:37.049Z] ---> d101f8f4bc12 [2021-01-04T16:40:37.049Z] Step 7/8 : COPY . . [2021-01-04T16:40:38.004Z] ---> 675a9c42d442 [2021-01-04T16:40:38.004Z] Step 8/8 : RUN go mod download [2021-01-04T16:40:38.004Z] ---> Running in 7e228d7c7768 [2021-01-04T16:41:00.040Z] Removing intermediate container 7e228d7c7768 [2021-01-04T16:41:00.040Z] ---> e352fb382cfc [2021-01-04T16:41:00.040Z] Successfully built e352fb382cfc [2021-01-04T16:41:00.040Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:41:00.361Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:41:00.361Z] . [Pipeline] withDockerContainer [2021-01-04T16:41:00.649Z] prd-centos7-docker-4c-2g-18196 does not seem to be running inside a container [2021-01-04T16:41:00.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:41:01.832Z] $ docker top 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:41:02.361Z] + go version [2021-01-04T16:41:02.361Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T16:41:02.388Z] $ docker stop --time=1 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc [2021-01-04T16:41:03.778Z] $ docker rm -f 26afae6f89be211c26261bb34e267b9a9e9ef447a3f48145092f20c7665a41dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:41:04.635Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:41:04.635Z] . [Pipeline] withDockerContainer [2021-01-04T16:41:04.777Z] prd-centos7-docker-4c-2g-18196 does not seem to be running inside a container [2021-01-04T16:41:04.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:41:05.427Z] $ docker top 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:41:05.909Z] + make test [2021-01-04T16:41:05.909Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:41:07.328Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-01-04T16:41:25.220Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18197 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws [2021-01-04T16:41:25.286Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-01-04T16:41:25.685Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-01-04T16:41:25.685Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.380s coverage: 64.4% of statements [2021-01-04T16:41:25.953Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:41:29.342Z] gofmt -l . [2021-01-04T16:41:29.342Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:41:29.342Z] ./bin/test-attribution-txt.sh [2021-01-04T16:41:30.328Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:41:30.610Z] $ docker stop --time=1 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 [2021-01-04T16:41:30.708Z] using credential edgex-jenkins-ssh [2021-01-04T16:41:30.773Z] Cloning the remote Git repository [2021-01-04T16:41:30.845Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:41:30.958Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-01-04T16:41:31.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:41:31.060Z] > git --version # timeout=10 [2021-01-04T16:41:31.084Z] > git --version # 'git version 2.17.1' [2021-01-04T16:41:31.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:41:31.158Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:41:32.394Z] $ docker rm -f 30cd739a90267da20a1a41e0f6a7a2b16e0660cafd50abc3207de2d286b3dc22 [2021-01-04T16:41:32.598Z] Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit 6351328c949a469bd22588a888be6a21996686ca [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:41:32.855Z] Merge succeeded, producing 6351328c949a469bd22588a888be6a21996686ca [2021-01-04T16:41:32.856Z] Checking out Revision 6351328c949a469bd22588a888be6a21996686ca (PR-158) [2021-01-04T16:41:31.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-01-04T16:41:31.915Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:41:31.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-01-04T16:41:31.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-01-04T16:41:31.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:41:31.989Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:41:32.628Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:41:32.665Z] > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 [2021-01-04T16:41:32.756Z] > git remote # timeout=10 [2021-01-04T16:41:32.773Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T16:41:32.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:41:32.804Z] > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 [2021-01-04T16:41:32.834Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T16:41:32.866Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:41:32.886Z] > git checkout -f 6351328c949a469bd22588a888be6a21996686ca # timeout=10 [2021-01-04T16:41:32.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:41:33.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-04T16:41:34.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:41:35.171Z] + ls -al . [2021-01-04T16:41:35.171Z] total 124 [2021-01-04T16:41:35.172Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jan 4 16:41 . [2021-01-04T16:41:35.172Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 16:39 .. [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 6713 Jan 4 16:39 Attribution.txt [2021-01-04T16:41:35.172Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:39 bin [2021-01-04T16:41:35.172Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:39 cmd [2021-01-04T16:41:35.172Z] -rw-r--r--. 1 jenkins jenkins 47242 Jan 4 16:41 coverage.out [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 1851 Jan 4 16:39 Dockerfile [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 961 Jan 4 16:39 Dockerfile.build [2021-01-04T16:41:35.172Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 16:39 .git [2021-01-04T16:41:35.172Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:39 .github [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 258 Jan 4 16:39 .gitignore [2021-01-04T16:41:35.172Z] -rw-r--r--. 1 jenkins jenkins 863 Jan 4 16:41 go.mod [2021-01-04T16:41:35.172Z] -rw-r--r--. 1 jenkins jenkins 16360 Jan 4 16:41 go.sum [2021-01-04T16:41:35.172Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 4 16:39 internal [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 660 Jan 4 16:39 Jenkinsfile [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:39 LICENSE [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 873 Jan 4 16:39 Makefile [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 918 Jan 4 16:39 README.md [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 16:37 VERSION [2021-01-04T16:41:35.172Z] -rw-rw-r--. 1 jenkins jenkins 235 Jan 4 16:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:41:35.485Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6351328c949a469bd22588a888be6a21996686ca --label arch=amd64 --label version=0.0.0 . [2021-01-04T16:41:35.485Z] Sending build context to Docker daemon 553.5kB [2021-01-04T16:41:35.748Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:41:35.748Z] Step 2/22 : FROM ${BASE} AS builder [2021-01-04T16:41:35.748Z] ---> e352fb382cfc [2021-01-04T16:41:35.748Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-01-04T16:41:36.010Z] ---> Running in 34f6149c0381 [2021-01-04T16:41:36.010Z] Removing intermediate container 34f6149c0381 [2021-01-04T16:41:36.010Z] ---> 2abfa1208dc3 [2021-01-04T16:41:36.010Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:41:36.010Z] ---> Running in 635956d0c82c [2021-01-04T16:41:36.273Z] Removing intermediate container 635956d0c82c [2021-01-04T16:41:36.273Z] ---> 5837b160a31d [2021-01-04T16:41:36.273Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-01-04T16:41:36.273Z] ---> Running in bdcc6b51e86c [2021-01-04T16:41:36.536Z] Removing intermediate container bdcc6b51e86c [2021-01-04T16:41:36.536Z] ---> f606d9a09823 [2021-01-04T16:41:36.536Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:41:36.536Z] ---> Running in 0b08bf66e120 [2021-01-04T16:41:37.402Z] Commit message: "ci: standardize dockerfiles" [2021-01-04T16:41:37.493Z] Removing intermediate container 0b08bf66e120 [2021-01-04T16:41:37.493Z] ---> 95cbc882f447 [2021-01-04T16:41:37.493Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:41:37.493Z] ---> Running in 381a5f63ade5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:41:38.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:41:38.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:41:38.868Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:41:39.340Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:41:39.614Z] OK: 237 MiB in 53 packages [2021-01-04T16:41:39.695Z] + true [2021-01-04T16:41:39.695Z] + sudo service docker restart [2021-01-04T16:41:39.882Z] Removing intermediate container 381a5f63ade5 [2021-01-04T16:41:39.882Z] ---> 8e43a46f56fd [2021-01-04T16:41:39.882Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-01-04T16:41:39.882Z] ---> Running in d3bc4ba5c801 [2021-01-04T16:41:40.146Z] Removing intermediate container d3bc4ba5c801 [2021-01-04T16:41:40.146Z] ---> 688112cc6642 [2021-01-04T16:41:40.146Z] Step 9/22 : COPY . . [2021-01-04T16:41:41.096Z] ---> 6547ff156973 [2021-01-04T16:41:41.096Z] Step 10/22 : ARG MAKE='make build' [2021-01-04T16:41:41.096Z] ---> Running in 45276d621110 [2021-01-04T16:41:41.096Z] Removing intermediate container 45276d621110 [2021-01-04T16:41:41.096Z] ---> 010988ad9d32 [2021-01-04T16:41:41.096Z] Step 11/22 : RUN $MAKE [2021-01-04T16:41:41.359Z] ---> Running in 8f3518d0d9f7 [2021-01-04T16:41:41.639Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:41:42.397Z] provisioning config files... [2021-01-04T16:41:42.446Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3526367136371099691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:41:42.852Z] ---> docker-login.sh [2021-01-04T16:41:42.852Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:41:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:41:44.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:41:44.122Z] Configure a credential helper to remove this warning. See [2021-01-04T16:41:44.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:41:44.122Z] [2021-01-04T16:41:44.122Z] Login Succeeded [2021-01-04T16:41:44.122Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:41:44.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:41:44.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:41:44.671Z] Configure a credential helper to remove this warning. See [2021-01-04T16:41:44.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:41:44.671Z] [2021-01-04T16:41:44.671Z] Login Succeeded [2021-01-04T16:41:44.671Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:41:44.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:41:45.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:41:45.218Z] Configure a credential helper to remove this warning. See [2021-01-04T16:41:45.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:41:45.218Z] [2021-01-04T16:41:45.218Z] Login Succeeded [2021-01-04T16:41:45.218Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:41:45.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:41:45.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:41:45.766Z] Configure a credential helper to remove this warning. See [2021-01-04T16:41:45.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:41:45.766Z] [2021-01-04T16:41:45.766Z] Login Succeeded [2021-01-04T16:41:45.766Z] docker.io [2021-01-04T16:41:46.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:41:46.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:41:46.639Z] Configure a credential helper to remove this warning. See [2021-01-04T16:41:46.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:41:46.639Z] [2021-01-04T16:41:46.639Z] Login Succeeded [2021-01-04T16:41:46.639Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:41:46.656Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:41:47.098Z] ========================================================= [2021-01-04T16:41:47.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:41:47.098Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:41:47.479Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T16:41:47.756Z] Sending build context to Docker daemon 487.4kB [2021-01-04T16:41:47.756Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:41:47.756Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:41:48.033Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:41:48.033Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:41:48.033Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:41:48.033Z] 18c013af1878: Pulling fs layer [2021-01-04T16:41:48.033Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:41:48.033Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:41:48.033Z] b116817d02f9: Pulling fs layer [2021-01-04T16:41:48.033Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:41:48.033Z] 00ac8860ef70: Waiting [2021-01-04T16:41:48.033Z] 63d7cb157983: Waiting [2021-01-04T16:41:48.033Z] b116817d02f9: Waiting [2021-01-04T16:41:48.033Z] 745a02a5169b: Waiting [2021-01-04T16:41:48.033Z] a4357932f1b6: Verifying Checksum [2021-01-04T16:41:48.033Z] a4357932f1b6: Download complete [2021-01-04T16:41:48.033Z] 18c013af1878: Verifying Checksum [2021-01-04T16:41:48.033Z] 18c013af1878: Download complete [2021-01-04T16:41:48.033Z] 63d7cb157983: Verifying Checksum [2021-01-04T16:41:48.033Z] 63d7cb157983: Download complete [2021-01-04T16:41:48.033Z] b116817d02f9: Download complete [2021-01-04T16:41:48.033Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T16:41:48.033Z] 5f621e34cdf4: Download complete [2021-01-04T16:41:49.024Z] 5f621e34cdf4: Pull complete [2021-01-04T16:41:49.642Z] a4357932f1b6: Pull complete [2021-01-04T16:41:49.925Z] 18c013af1878: Pull complete [2021-01-04T16:41:51.387Z] 745a02a5169b: Verifying Checksum [2021-01-04T16:41:51.387Z] 745a02a5169b: Download complete [2021-01-04T16:41:51.988Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:41:51.988Z] 00ac8860ef70: Download complete [2021-01-04T16:41:56.750Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:41:58.144Z] Removing intermediate container 8f3518d0d9f7 [2021-01-04T16:41:58.144Z] ---> af932ab1294c [2021-01-04T16:41:58.144Z] Step 12/22 : FROM alpine:3.12 [2021-01-04T16:41:58.407Z] 3.12: Pulling from library/alpine [2021-01-04T16:41:58.670Z] 801bfaa63ef2: Pulling fs layer [2021-01-04T16:41:59.249Z] 801bfaa63ef2: Verifying Checksum [2021-01-04T16:41:59.249Z] 801bfaa63ef2: Download complete [2021-01-04T16:41:59.511Z] 801bfaa63ef2: Pull complete [2021-01-04T16:41:59.511Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:41:59.511Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:41:59.511Z] ---> 389fef711851 [2021-01-04T16:41:59.511Z] Step 13/22 : ENV APP_PORT=49990 [2021-01-04T16:41:59.776Z] ---> Running in 328f618e772f [2021-01-04T16:41:59.776Z] Removing intermediate container 328f618e772f [2021-01-04T16:41:59.776Z] ---> 2c3c2f1f9214 [2021-01-04T16:41:59.776Z] Step 14/22 : EXPOSE $APP_PORT [2021-01-04T16:42:00.039Z] ---> Running in 173fca36c36a [2021-01-04T16:42:00.039Z] Removing intermediate container 173fca36c36a [2021-01-04T16:42:00.039Z] ---> 9c40fa8d97a0 [2021-01-04T16:42:00.040Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-01-04T16:42:00.621Z] ---> 35c7ba1057e3 [2021-01-04T16:42:00.621Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-01-04T16:42:00.886Z] ---> 2efd0659f4f5 [2021-01-04T16:42:00.886Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-01-04T16:42:01.154Z] ---> abccb17e13fc [2021-01-04T16:42:01.154Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-01-04T16:42:01.421Z] ---> Running in 080de8b44dda [2021-01-04T16:42:01.687Z] Removing intermediate container 080de8b44dda [2021-01-04T16:42:01.687Z] ---> 35fb879bf991 [2021-01-04T16:42:01.687Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:42:01.687Z] ---> Running in 98162ddb9f43 [2021-01-04T16:42:01.687Z] Removing intermediate container 98162ddb9f43 [2021-01-04T16:42:01.687Z] ---> ca4552ea6d71 [2021-01-04T16:42:01.687Z] Step 20/22 : LABEL arch=amd64 [2021-01-04T16:42:01.952Z] ---> Running in 2a954deb030c [2021-01-04T16:42:01.953Z] Removing intermediate container 2a954deb030c [2021-01-04T16:42:01.953Z] ---> f15ae3530bd4 [2021-01-04T16:42:01.953Z] Step 21/22 : LABEL git_sha=6351328c949a469bd22588a888be6a21996686ca [2021-01-04T16:42:02.179Z] 00ac8860ef70: Pull complete [2021-01-04T16:42:02.216Z] ---> Running in 1a9cb742c29d [2021-01-04T16:42:02.216Z] Removing intermediate container 1a9cb742c29d [2021-01-04T16:42:02.216Z] ---> 669b23a52fbe [2021-01-04T16:42:02.216Z] Step 22/22 : LABEL version=0.0.0 [2021-01-04T16:42:02.481Z] ---> Running in 9f488ff60363 [2021-01-04T16:42:02.481Z] Removing intermediate container 9f488ff60363 [2021-01-04T16:42:02.481Z] ---> 7db198eee16a [2021-01-04T16:42:02.481Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:42:02.481Z] Successfully built 7db198eee16a [2021-01-04T16:42:02.481Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-01-04T16:42:02.782Z] 63d7cb157983: Pull complete Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-01-04T16:42:03.073Z] b116817d02f9: Pull complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T16:42:07.408Z] 745a02a5169b: Pull complete [2021-01-04T16:42:07.408Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:42:07.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:42:07.408Z] ---> b7e6874047d6 [2021-01-04T16:42:07.408Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T16:42:10.044Z] ---> Running in 595be6cd95e2 [2021-01-04T16:42:10.044Z] Removing intermediate container 595be6cd95e2 [2021-01-04T16:42:10.044Z] ---> 5db5ffb5c13b [2021-01-04T16:42:10.044Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:42:10.317Z] ---> Running in 3123233a6b35 [2021-01-04T16:42:12.291Z] Removing intermediate container 3123233a6b35 [2021-01-04T16:42:12.291Z] ---> 29aab0913896 [2021-01-04T16:42:12.291Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T16:42:12.569Z] ---> Running in d78b55f4a16e [2021-01-04T16:42:13.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:42:14.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:42:14.740Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T16:42:15.010Z] (2/14) Installing file (5.38-r0) [2021-01-04T16:42:15.010Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T16:42:15.280Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T16:42:21.958Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T16:42:21.958Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T16:42:21.958Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T16:42:21.958Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T16:42:21.958Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T16:42:21.958Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T16:42:21.958Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T16:42:21.958Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T16:42:22.234Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T16:42:22.234Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T16:42:22.506Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T16:42:22.506Z] OK: 221 MiB in 53 packages [2021-01-04T16:42:26.801Z] Removing intermediate container d78b55f4a16e [2021-01-04T16:42:26.801Z] ---> 18a4f1c920bf [2021-01-04T16:42:26.801Z] Step 6/8 : WORKDIR /device-virtual-go [2021-01-04T16:42:26.801Z] ---> Running in c51ca634f393 [2021-01-04T16:42:26.801Z] Removing intermediate container c51ca634f393 [2021-01-04T16:42:26.802Z] ---> db1bd64dc802 [2021-01-04T16:42:26.802Z] Step 7/8 : COPY . . [2021-01-04T16:42:27.397Z] ---> fdbd203fd35b [2021-01-04T16:42:27.397Z] Step 8/8 : RUN go mod download [2021-01-04T16:42:27.681Z] ---> Running in 6dfde5fcbb5c [2021-01-04T16:42:49.976Z] Removing intermediate container 6dfde5fcbb5c [2021-01-04T16:42:49.976Z] ---> fb8bca12396d [2021-01-04T16:42:49.976Z] Successfully built fb8bca12396d [2021-01-04T16:42:50.246Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:42:50.584Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:42:50.584Z] . [Pipeline] withDockerContainer [2021-01-04T16:42:50.831Z] prd-ubuntu18.04-docker-arm64-4c-16g-18197 does not seem to be running inside a container [2021-01-04T16:42:50.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:42:52.422Z] $ docker top 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:42:53.434Z] + go version [2021-01-04T16:42:53.435Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:42:53.459Z] $ docker stop --time=1 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e [2021-01-04T16:42:55.386Z] $ docker rm -f 5e147f7eeb3f5d79cc5e7809c69c6c46e367b0e8b2f03b9e2025017e58d22b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:42:56.425Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:42:56.425Z] . [Pipeline] withDockerContainer [2021-01-04T16:42:56.657Z] prd-ubuntu18.04-docker-arm64-4c-16g-18197 does not seem to be running inside a container [2021-01-04T16:42:56.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:42:58.225Z] $ docker top ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:42:59.210Z] + make test [2021-01-04T16:42:59.210Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:43:00.216Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-01-04T16:43:47.386Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-01-04T16:43:47.386Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.504s coverage: 64.4% of statements [2021-01-04T16:43:47.386Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:43:54.123Z] gofmt -l . [2021-01-04T16:43:54.123Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:43:54.123Z] ./bin/test-attribution-txt.sh [2021-01-04T16:43:55.562Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:43:55.859Z] $ docker stop --time=1 ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 [2021-01-04T16:43:57.913Z] $ docker rm -f ea46e3157a845a6724601a897115d8d51593d0557f9356eede6c49d1f2ffd408 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:43:58.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:43:58.964Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:43:59.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:44:00.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:44:01.049Z] + ls -al . [2021-01-04T16:44:01.049Z] total 148 [2021-01-04T16:44:01.050Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 4 16:43 . [2021-01-04T16:44:01.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:41 .. [2021-01-04T16:44:01.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:41 .git [2021-01-04T16:44:01.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:41 .github [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 258 Jan 4 16:41 .gitignore [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 6713 Jan 4 16:41 Attribution.txt [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 1851 Jan 4 16:41 Dockerfile [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 961 Jan 4 16:41 Dockerfile.build [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 4 16:41 Jenkinsfile [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:41 LICENSE [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 873 Jan 4 16:41 Makefile [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 918 Jan 4 16:41 README.md [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:37 VERSION [2021-01-04T16:44:01.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:41 bin [2021-01-04T16:44:01.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:41 cmd [2021-01-04T16:44:01.050Z] -rw-r--r-- 1 jenkins jenkins 47242 Jan 4 16:43 coverage.out [2021-01-04T16:44:01.050Z] -rw-r--r-- 1 jenkins jenkins 863 Jan 4 16:43 go.mod [2021-01-04T16:44:01.050Z] -rw-r--r-- 1 jenkins jenkins 16360 Jan 4 16:43 go.sum [2021-01-04T16:44:01.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:41 internal [2021-01-04T16:44:01.050Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 4 16:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:01.433Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6351328c949a469bd22588a888be6a21996686ca --label arch=arm64 --label version=0.0.0 . [2021-01-04T16:44:01.733Z] Sending build context to Docker daemon 552.4kB [2021-01-04T16:44:01.733Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:44:01.733Z] Step 2/22 : FROM ${BASE} AS builder [2021-01-04T16:44:01.733Z] ---> fb8bca12396d [2021-01-04T16:44:01.733Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-01-04T16:44:02.006Z] ---> Running in 6405c7b5947a [2021-01-04T16:44:02.610Z] Removing intermediate container 6405c7b5947a [2021-01-04T16:44:02.610Z] ---> 73e74bff4f13 [2021-01-04T16:44:02.610Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:44:02.610Z] ---> Running in e2e7cf49a432 [2021-01-04T16:44:03.208Z] Removing intermediate container e2e7cf49a432 [2021-01-04T16:44:03.208Z] ---> 35fb4857949b [2021-01-04T16:44:03.208Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-01-04T16:44:03.208Z] ---> Running in bcbd6e13eeed [2021-01-04T16:44:03.803Z] Removing intermediate container bcbd6e13eeed [2021-01-04T16:44:03.803Z] ---> 92336144c1ad [2021-01-04T16:44:03.803Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:44:03.803Z] ---> Running in 625c88b45fae [2021-01-04T16:44:05.782Z] Removing intermediate container 625c88b45fae [2021-01-04T16:44:05.782Z] ---> 66f384d0fbb8 [2021-01-04T16:44:05.782Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:44:05.782Z] ---> Running in fa34c881509f [2021-01-04T16:44:07.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:44:07.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:44:08.495Z] OK: 221 MiB in 53 packages [2021-01-04T16:44:09.479Z] Removing intermediate container fa34c881509f [2021-01-04T16:44:09.479Z] ---> b811595c2a1a [2021-01-04T16:44:09.479Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-01-04T16:44:09.479Z] ---> Running in 21d4d05da803 [2021-01-04T16:44:10.073Z] Removing intermediate container 21d4d05da803 [2021-01-04T16:44:10.073Z] ---> 569d9f307e5f [2021-01-04T16:44:10.073Z] Step 9/22 : COPY . . [2021-01-04T16:44:11.052Z] ---> c7e096e3a940 [2021-01-04T16:44:11.052Z] Step 10/22 : ARG MAKE='make build' [2021-01-04T16:44:11.052Z] ---> Running in bf6d41887781 [2021-01-04T16:44:11.649Z] Removing intermediate container bf6d41887781 [2021-01-04T16:44:11.649Z] ---> c73b318f192a [2021-01-04T16:44:11.649Z] Step 11/22 : RUN $MAKE [2021-01-04T16:44:11.649Z] ---> Running in f748be6462ce [2021-01-04T16:44:12.639Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-01-04T16:44:45.054Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:44:53.325Z] Removing intermediate container f748be6462ce [2021-01-04T16:44:53.325Z] ---> ceb265bcfd9d [2021-01-04T16:44:53.325Z] Step 12/22 : FROM alpine:3.12 [2021-01-04T16:44:53.325Z] 3.12: Pulling from library/alpine [2021-01-04T16:44:53.325Z] 159e5727ea61: Pulling fs layer [2021-01-04T16:44:53.325Z] 159e5727ea61: Verifying Checksum [2021-01-04T16:44:53.325Z] 159e5727ea61: Download complete [2021-01-04T16:44:53.929Z] 159e5727ea61: Pull complete [2021-01-04T16:44:53.929Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:44:53.929Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:44:53.929Z] ---> afeebe901d6b [2021-01-04T16:44:53.929Z] Step 13/22 : ENV APP_PORT=49990 [2021-01-04T16:44:54.200Z] ---> Running in 2d349c8419a0 [2021-01-04T16:44:54.479Z] Removing intermediate container 2d349c8419a0 [2021-01-04T16:44:54.479Z] ---> d86677b79de5 [2021-01-04T16:44:54.479Z] Step 14/22 : EXPOSE $APP_PORT [2021-01-04T16:44:54.759Z] ---> Running in 1993faa4f16f [2021-01-04T16:44:55.031Z] Removing intermediate container 1993faa4f16f [2021-01-04T16:44:55.031Z] ---> 792cd4b438f9 [2021-01-04T16:44:55.031Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-01-04T16:44:57.027Z] ---> 5de22a6ce817 [2021-01-04T16:44:57.027Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-01-04T16:44:57.623Z] ---> f3ed1ca811bc [2021-01-04T16:44:57.623Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-01-04T16:44:58.220Z] ---> 7bb55b427e75 [2021-01-04T16:44:58.220Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-01-04T16:44:58.220Z] ---> Running in 4993d6a2efa4 [2021-01-04T16:44:58.818Z] Removing intermediate container 4993d6a2efa4 [2021-01-04T16:44:58.818Z] ---> 5edbd040acfb [2021-01-04T16:44:58.818Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:44:58.818Z] ---> Running in 0a1d8f838f91 [2021-01-04T16:44:59.414Z] Removing intermediate container 0a1d8f838f91 [2021-01-04T16:44:59.414Z] ---> 8c23b6c98cd8 [2021-01-04T16:44:59.414Z] Step 20/22 : LABEL arch=arm64 [2021-01-04T16:44:59.414Z] ---> Running in 1ad9e4258386 [2021-01-04T16:45:00.015Z] Removing intermediate container 1ad9e4258386 [2021-01-04T16:45:00.015Z] ---> 6775a2d4c3e8 [2021-01-04T16:45:00.015Z] Step 21/22 : LABEL git_sha=6351328c949a469bd22588a888be6a21996686ca [2021-01-04T16:45:00.015Z] ---> Running in 6703eb6a8e3a [2021-01-04T16:45:00.619Z] Removing intermediate container 6703eb6a8e3a [2021-01-04T16:45:00.619Z] ---> 9c3ebebe540f [2021-01-04T16:45:00.619Z] Step 22/22 : LABEL version=0.0.0 [2021-01-04T16:45:00.619Z] ---> Running in 1f06f42e908e [2021-01-04T16:45:00.893Z] Removing intermediate container 1f06f42e908e [2021-01-04T16:45:00.893Z] ---> 9e5f43ae4b3c [2021-01-04T16:45:00.893Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:45:01.167Z] Successfully built 9e5f43ae4b3c [2021-01-04T16:45:01.167Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] wrap [2021-01-04T16:45:03.156Z] provisioning config files... [2021-01-04T16:45:03.175Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config5980696230131606379tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:45:03.618Z] + set +x [2021-01-04T16:45:03.618Z] + curl -s https://codecov.io/bash [2021-01-04T16:45:03.618Z] + bash -s -- [2021-01-04T16:45:03.882Z] [2021-01-04T16:45:03.882Z] _____ _ [2021-01-04T16:45:03.882Z] / ____| | | [2021-01-04T16:45:03.882Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:45:03.883Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:45:03.883Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:45:03.883Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:45:03.883Z] Bash-20201231-23d4836 [2021-01-04T16:45:03.883Z] [2021-01-04T16:45:03.883Z] [2021-01-04T16:45:03.883Z] ==> git version 2.24.3 found [2021-01-04T16:45:03.883Z] ==> 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-01-04T16:45:03.883Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:45:03.883Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:45:03.883Z] ==> Jenkins CI detected. [2021-01-04T16:45:03.883Z] project root: . [2021-01-04T16:45:03.883Z] --> token set from env [2021-01-04T16:45:03.883Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:45:03.883Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:45:03.883Z] ==> Python coveragepy not found [2021-01-04T16:45:03.883Z] ==> Searching for coverage reports in: [2021-01-04T16:45:03.883Z] + . [2021-01-04T16:45:03.883Z] -> Found 1 reports [2021-01-04T16:45:03.883Z] ==> Detecting git/mercurial file structure [2021-01-04T16:45:03.883Z] ==> Reading reports [2021-01-04T16:45:04.147Z] + ./coverage.out bytes=47242 [2021-01-04T16:45:04.147Z] ==> Appending adjustments [2021-01-04T16:45:04.147Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:45:04.147Z] + Found adjustments [2021-01-04T16:45:04.147Z] ==> Gzipping contents [2021-01-04T16:45:04.147Z] 8.0K /tmp/codecov.Gamz5z.gz [2021-01-04T16:45:04.147Z] ==> Uploading reports [2021-01-04T16:45:04.147Z] url: https://codecov.io [2021-01-04T16:45:04.147Z] query: branch=PR-158&commit=6351328c949a469bd22588a888be6a21996686ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2021-01-04T16:45:04.147Z] -> Pinging Codecov [2021-01-04T16:45:04.147Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-158&commit=6351328c949a469bd22588a888be6a21996686ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= [2021-01-04T16:45:04.412Z] -> Uploading to [2021-01-04T16:45:04.412Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/5E52B4B073DB2E39498172D8E973AA87/6351328c949a469bd22588a888be6a21996686ca/427887a8-03e1-4b89-8553-f72c193de2fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T164504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c1855842690428262ff8c6f9c25dad7f1d30e3c0c228e42f272e29d8e3af704 [2021-01-04T16:45:04.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:45:04.412Z] Dload Upload Total Spent Left Speed [2021-01-04T16:45:04.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5807 0 0 100 5807 0 12924 --:--:-- --:--:-- --:--:-- 12904 [2021-01-04T16:45:04.937Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6351328c949a469bd22588a888be6a21996686ca [Pipeline] } [2021-01-04T16:45:04.948Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-04T16:45:07.866Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:08.183Z] ---> package-listing.sh [2021-01-04T16:45:08.183Z] ++ facter osfamily [2021-01-04T16:45:08.183Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:45:08.183Z] + OS_FAMILY=redhat [2021-01-04T16:45:08.183Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-158 [2021-01-04T16:45:08.183Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:45:08.183Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:45:08.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:45:08.183Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:45:08.183Z] + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' [2021-01-04T16:45:08.183Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:45:08.183Z] + case "${OS_FAMILY}" in [2021-01-04T16:45:08.183Z] + rpm -qa [2021-01-04T16:45:08.183Z] + sort [2021-01-04T16:45:13.549Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:45:13.549Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:45:13.549Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:45:13.549Z] + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' [2021-01-04T16:45:13.549Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-158/archives/ [2021-01-04T16:45:13.549Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-158/archives/ [Pipeline] echo [2021-01-04T16:45:13.565Z] 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T16:45:13.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:14.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:45:14.214Z] [2021-01-04T16:45:14.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:14.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:45:14.611Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:45:14.611Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:45:14.611Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:45:14.611Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:45:14.611Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:45:14.611Z] 93b61091891f: Pulling fs layer [2021-01-04T16:45:14.611Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:45:14.611Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:45:14.611Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:45:14.611Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:45:14.611Z] 5e14af77c1be: Waiting [2021-01-04T16:45:14.611Z] 01666e4c0597: Waiting [2021-01-04T16:45:14.611Z] aa168da1d23b: Waiting [2021-01-04T16:45:14.611Z] 46f8f816bc3b: Waiting [2021-01-04T16:45:14.611Z] 93b61091891f: Waiting [2021-01-04T16:45:14.611Z] 93b9cdb0e59b: Waiting [2021-01-04T16:45:14.611Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:45:14.611Z] 36b3adc4ff6f: Download complete [2021-01-04T16:45:14.611Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:45:14.611Z] 46f8f816bc3b: Download complete [2021-01-04T16:45:14.611Z] df20fa9351a1: Download complete [2021-01-04T16:45:14.889Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:45:14.889Z] 93b9cdb0e59b: Download complete [2021-01-04T16:45:14.889Z] 5e14af77c1be: Verifying Checksum [2021-01-04T16:45:14.889Z] 5e14af77c1be: Download complete [2021-01-04T16:45:14.889Z] 01666e4c0597: Download complete [2021-01-04T16:45:14.889Z] 93b61091891f: Download complete [2021-01-04T16:45:15.154Z] df20fa9351a1: Pull complete [2021-01-04T16:45:15.154Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T16:45:15.154Z] 8ad3a11d3b57: Download complete [2021-01-04T16:45:15.425Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:45:16.015Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:45:16.015Z] 46f8f816bc3b: Pull complete [2021-01-04T16:45:16.979Z] 93b61091891f: Pull complete [2021-01-04T16:45:16.979Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:45:16.979Z] 5e14af77c1be: Pull complete [2021-01-04T16:45:17.240Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:45:17.240Z] aa168da1d23b: Download complete [2021-01-04T16:45:17.240Z] 01666e4c0597: Pull complete [2021-01-04T16:45:24.978Z] aa168da1d23b: Pull complete [2021-01-04T16:45:24.978Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:45:24.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:45:24.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:45:25.208Z] prd-centos7-docker-4c-2g-18194 does not seem to be running inside a container [2021-01-04T16:45:25.326Z] $ 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-158/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-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T16:45:28.618Z] $ docker top ab2398c1329192d0d239dc1d614950e35a1ff4a6d253ae7afdc65a4cb305bf35 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:45:29.084Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:45:29.380Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:45:29.679Z] + ls /var/log/sa-host [2021-01-04T16:45:29.679Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:45:29.679Z] file_magic: OK [2021-01-04T16:45:29.679Z] HZ: Using current value: 100 [2021-01-04T16:45:29.679Z] file_header: OK [2021-01-04T16:45:29.679Z] 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-01-04T16:45:29.679Z] Statistics: [2021-01-04T16:45:29.679Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:45:29.679Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:45:29.679Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:45:29.679Z] file_magic: OK [2021-01-04T16:45:29.679Z] HZ: Using current value: 100 [2021-01-04T16:45:29.679Z] file_header: OK [2021-01-04T16:45:29.679Z] 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-01-04T16:45:29.679Z] Statistics: [2021-01-04T16:45:29.679Z] Hnuu...uuuununununu... [2021-01-04T16:45:29.679Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:45:29.876Z] provisioning config files... [2021-01-04T16:45:29.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2421135130369696051tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:45:29.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:30.279Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:45:30.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:45:30.445Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:30.747Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:45:30.758Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:31.062Z] ---> sudo-logs.sh [2021-01-04T16:45:31.062Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:45:31.075Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:31.379Z] ---> job-cost.sh [2021-01-04T16:45:31.379Z] lf-activate-venv: SKIPPING [2021-01-04T16:45:31.379Z] INFO: No Stack... [2021-01-04T16:45:32.327Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:45:32.901Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:45:32.914Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:33.210Z] ---> logs-deploy.sh [2021-01-04T16:45:33.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-158/3 [2021-01-04T16:45:33.210Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:45:35.140Z] Archives upload complete. [2021-01-04T16:45:35.140Z] INFO: archiving logs to Nexus