Pull request #199 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from c04e4a688faf959e97f5f207619e9c458df08276+f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (ee1a72c44497e56cef82c422eb019f8a46b7945c) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4108’ is offline; ‘prd-centos7-docker-4c-2g-4113’ is offline; ‘prd-centos7-docker-4c-2g-4116’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4123 in /w/workspace/foundry_device-virtual-go_PR-199 [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-199 # 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/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit c04e4a688faf959e97f5f207619e9c458df08276 Merge succeeded, producing c04e4a688faf959e97f5f207619e9c458df08276 Checking out Revision c04e4a688faf959e97f5f207619e9c458df08276 (PR-199) > git config core.sparsecheckout # timeout=10 > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # 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 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" First time build. Skipping changelog. > git rev-list --no-walk c6ae27ab0623a0b969459dcbc41cff03ced793e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T17:34:54.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T17:34:54.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T17:34:54.259Z] ========================================================= [2021-05-10T17:34:54.259Z] EdgeX Global Pipelines Version Info [2021-05-10T17:34:54.259Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:34:55.787Z] ------------------- [2021-05-10T17:34:55.787Z] stable info: [2021-05-10T17:34:55.787Z] ------------------- [2021-05-10T17:34:55.787Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T17:34:55.787Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T17:34:55.787Z] Message: update stable to v1.0.191 [2021-05-10T17:34:56.732Z] ------------------- [2021-05-10T17:34:56.732Z] experimental info: [2021-05-10T17:34:56.732Z] ------------------- [2021-05-10T17:34:56.732Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T17:34:56.732Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T17:34:56.732Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T17:34:56.863Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-10T17:34:56.890Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-10T17:34:56.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T17:34:56.941Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T17:34:56.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T17:34:57.007Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T17:34:57.030Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T17:34:57.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T17:34:57.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T17:34:57.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T17:34:57.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T17:34:57.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-10T17:34:57.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T17:34:57.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T17:34:57.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T17:34:57.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T17:34:57.302Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:34:57.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T17:34:57.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T17:34:57.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T17:34:57.428Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T17:34:57.455Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T17:34:57.480Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T17:34:57.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T17:34:57.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T17:34:57.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T17:34:57.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2021-05-10T17:34:57.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2021-05-10T17:34:57.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2021-05-10T17:34:57.700Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c04e4a688faf959e97f5f207619e9c458df08276 [Pipeline] echo [2021-05-10T17:34:57.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c04e4a6 [Pipeline] echo [2021-05-10T17:34:57.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T17:34:57.869Z] provisioning config files... [2021-05-10T17:34:57.911Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config359244623352979584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:34:58.247Z] ---> docker-login.sh [2021-05-10T17:34:58.247Z] nexus3.edgexfoundry.org:10001 [2021-05-10T17:34:58.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:34:58.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:34:58.773Z] Configure a credential helper to remove this warning. See [2021-05-10T17:34:58.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:34:58.773Z] [2021-05-10T17:34:58.773Z] Login Succeeded [2021-05-10T17:34:58.773Z] nexus3.edgexfoundry.org:10002 [2021-05-10T17:34:58.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:34:58.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:34:58.773Z] Configure a credential helper to remove this warning. See [2021-05-10T17:34:58.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:34:58.773Z] [2021-05-10T17:34:58.773Z] Login Succeeded [2021-05-10T17:34:58.773Z] nexus3.edgexfoundry.org:10003 [2021-05-10T17:34:59.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:34:59.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:34:59.041Z] Configure a credential helper to remove this warning. See [2021-05-10T17:34:59.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:34:59.041Z] [2021-05-10T17:34:59.041Z] Login Succeeded [2021-05-10T17:34:59.041Z] nexus3.edgexfoundry.org:10004 [2021-05-10T17:34:59.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:34:59.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:34:59.302Z] Configure a credential helper to remove this warning. See [2021-05-10T17:34:59.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:34:59.302Z] [2021-05-10T17:34:59.302Z] Login Succeeded [2021-05-10T17:34:59.302Z] docker.io [2021-05-10T17:34:59.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:34:59.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:34:59.564Z] Configure a credential helper to remove this warning. See [2021-05-10T17:34:59.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:34:59.564Z] [2021-05-10T17:34:59.564Z] Login Succeeded [2021-05-10T17:34:59.564Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T17:34:59.575Z] 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-05-10T17:35:00.017Z] + git log --format=format:%s -1 c04e4a688faf959e97f5f207619e9c458df08276 [Pipeline] echo [2021-05-10T17:35:00.105Z] GIT_COMMIT: c04e4a688faf959e97f5f207619e9c458df08276, Commit Message: refactor: Updated to latest SDK and update MessageQue type to be `redis` [Pipeline] echo [2021-05-10T17:35:00.119Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:35:00.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:35:00.683Z] [2021-05-10T17:35:00.683Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:35:00.998Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:35:00.998Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T17:35:00.998Z] 31603596830f: Pulling fs layer [2021-05-10T17:35:00.998Z] 54011a49482f: Pulling fs layer [2021-05-10T17:35:00.998Z] a6820b24f6d8: Pulling fs layer [2021-05-10T17:35:00.998Z] f581987b2513: Pulling fs layer [2021-05-10T17:35:00.998Z] f581987b2513: Waiting [2021-05-10T17:35:00.998Z] 54011a49482f: Verifying Checksum [2021-05-10T17:35:00.998Z] 54011a49482f: Download complete [2021-05-10T17:35:01.262Z] f581987b2513: Verifying Checksum [2021-05-10T17:35:01.263Z] f581987b2513: Download complete [2021-05-10T17:35:01.263Z] a6820b24f6d8: Verifying Checksum [2021-05-10T17:35:01.263Z] a6820b24f6d8: Download complete [2021-05-10T17:35:01.527Z] 31603596830f: Verifying Checksum [2021-05-10T17:35:01.527Z] 31603596830f: Download complete [2021-05-10T17:35:01.790Z] 31603596830f: Pull complete [2021-05-10T17:35:02.052Z] 54011a49482f: Pull complete [2021-05-10T17:35:03.021Z] a6820b24f6d8: Pull complete [2021-05-10T17:35:03.021Z] f581987b2513: Pull complete [2021-05-10T17:35:03.021Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T17:35:03.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T17:35:03.021Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T17:35:03.143Z] prd-centos7-docker-4c-2g-4123 does not seem to be running inside a container [2021-05-10T17:35:03.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T17:35:05.492Z] $ docker top 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T17:35:05.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:35:05.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:35:06.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:35:06.017Z] $ docker exec 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 ssh-agent [2021-05-10T17:35:06.188Z] SSH_AUTH_SOCK=/tmp/ssh-4I5hriVGf1Bp/agent.12 [2021-05-10T17:35:06.188Z] SSH_AGENT_PID=18 [2021-05-10T17:35:06.205Z] Running ssh-add (command line suppressed) [2021-05-10T17:35:06.326Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_4501406216723159586.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_4501406216723159586.key) [2021-05-10T17:35:06.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:35:06.693Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T17:35:06.716Z] $ docker exec --env ******** --env ******** 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 ssh-agent -k [2021-05-10T17:35:06.827Z] unset SSH_AUTH_SOCK; [2021-05-10T17:35:06.828Z] unset SSH_AGENT_PID; [2021-05-10T17:35:06.828Z] echo Agent pid 18 killed; [2021-05-10T17:35:06.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T17:35:06.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T17:35:06.950Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T17:35:07.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T17:35:07.153Z] $ docker exec 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 ssh-agent [2021-05-10T17:35:07.315Z] SSH_AUTH_SOCK=/tmp/ssh-IXSr0iJms2i2/agent.47 [2021-05-10T17:35:07.316Z] SSH_AGENT_PID=53 [2021-05-10T17:35:07.323Z] Running ssh-add (command line suppressed) [2021-05-10T17:35:07.441Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_3311830000092126163.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_3311830000092126163.key) [2021-05-10T17:35:07.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T17:35:07.809Z] + git semver init [2021-05-10T17:35:07.809Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T17:35:07.809Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.git [2021-05-10T17:35:07.809Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T17:35:07.809Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T17:35:07.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T17:35:07.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T17:35:07.809Z] # $SEMVER_BRANCH = PR-199 [2021-05-10T17:35:07.809Z] # $SEMVER_TEMP = /tmp/semver-476223877 [2021-05-10T17:35:07.809Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-10T17:35:08.384Z] # '/tmp/semver-476223877' -> '/w/workspace/foundry_device-virtual-go_PR-199/.semver' [2021-05-10T17:35:08.384Z] # -> Force: false [2021-05-10T17:35:08.384Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.semver [Pipeline] } [2021-05-10T17:35:08.399Z] $ docker exec --env ******** --env ******** 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 ssh-agent -k [2021-05-10T17:35:08.517Z] unset SSH_AUTH_SOCK; [2021-05-10T17:35:08.523Z] unset SSH_AGENT_PID; [2021-05-10T17:35:08.523Z] echo Agent pid 53 killed; [2021-05-10T17:35:08.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T17:35:08.915Z] + git semver [Pipeline] } [2021-05-10T17:35:08.935Z] $ docker stop --time=1 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 [2021-05-10T17:35:10.397Z] $ docker rm -f 2afbf2d095730f0b0e72d4aa9ce6c3afbaa46f79071066f9f3635ce2395264e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:35:10.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T17:35:11.239Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T17:35:11.243Z] [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-05-10T17:35:26.474Z] Still waiting to schedule task [2021-05-10T17:35:26.475Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4105’ is offline; ‘prd-centos7-docker-4c-2g-4108’ is offline; ‘prd-centos7-docker-4c-2g-4109’ is offline; ‘prd-centos7-docker-4c-2g-4116’ is offline; ‘prd-centos7-docker-4c-2g-4120’ is offline; ‘prd-centos7-docker-4c-2g-4122’ is offline; ‘prd-centos7-docker-4c-2g-4124’ is offline; ‘prd-centos7-docker-4c-2g-4126’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4117’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4119’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4125’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T17:35:26.477Z] Still waiting to schedule task [2021-05-10T17:35:26.478Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4105’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4108’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4109’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4116’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4120’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4122’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4124’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4126’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4117’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4119’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4125’ is offline [2021-05-10T17:36:35.882Z] Running on prd-centos7-docker-4c-2g-4129 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T17:36:35.902Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2021-05-10T17:36:38.870Z] using credential edgex-jenkins-ssh [2021-05-10T17:36:38.883Z] Cloning the remote Git repository [2021-05-10T17:36:38.911Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:36:38.981Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2021-05-10T17:36:39.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:36:39.053Z] > git --version # timeout=10 [2021-05-10T17:36:39.062Z] > git --version # 'git version 2.24.3' [2021-05-10T17:36:39.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:36:39.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:36:39.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T17:36:39.692Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:36:39.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T17:36:39.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:36:39.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:36:39.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:36:42.624Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:36:42.710Z] Merge succeeded, producing c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:36:42.710Z] Checking out Revision c04e4a688faf959e97f5f207619e9c458df08276 (PR-199) [2021-05-10T17:36:42.635Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:36:42.642Z] > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 [2021-05-10T17:36:42.677Z] > git remote # timeout=10 [2021-05-10T17:36:42.684Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:36:42.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:36:42.693Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T17:36:42.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:36:42.713Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:36:42.718Z] > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 [2021-05-10T17:36:46.528Z] Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:36:47.688Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:36:48.036Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:36:48.376Z] + sudo service docker restart [2021-05-10T17:36:48.376Z] + true [2021-05-10T17:36:48.376Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T17:36:49.821Z] provisioning config files... [2021-05-10T17:36:49.870Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config6963582353210469540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:36:50.198Z] ---> docker-login.sh [2021-05-10T17:36:50.198Z] nexus3.edgexfoundry.org:10001 [2021-05-10T17:36:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:36:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:36:50.460Z] Configure a credential helper to remove this warning. See [2021-05-10T17:36:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:36:50.460Z] [2021-05-10T17:36:50.460Z] Login Succeeded [2021-05-10T17:36:50.726Z] nexus3.edgexfoundry.org:10002 [2021-05-10T17:36:50.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:36:50.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:36:50.727Z] Configure a credential helper to remove this warning. See [2021-05-10T17:36:50.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:36:50.727Z] [2021-05-10T17:36:50.727Z] Login Succeeded [2021-05-10T17:36:50.727Z] nexus3.edgexfoundry.org:10003 [2021-05-10T17:36:50.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:36:50.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:36:50.994Z] Configure a credential helper to remove this warning. See [2021-05-10T17:36:50.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:36:50.994Z] [2021-05-10T17:36:50.994Z] Login Succeeded [2021-05-10T17:36:50.994Z] nexus3.edgexfoundry.org:10004 [2021-05-10T17:36:51.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:36:51.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:36:51.258Z] Configure a credential helper to remove this warning. See [2021-05-10T17:36:51.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:36:51.258Z] [2021-05-10T17:36:51.258Z] Login Succeeded [2021-05-10T17:36:51.258Z] docker.io [2021-05-10T17:36:51.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:36:51.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:36:51.785Z] Configure a credential helper to remove this warning. See [2021-05-10T17:36:51.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:36:51.785Z] [2021-05-10T17:36:51.785Z] Login Succeeded [2021-05-10T17:36:51.785Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T17:36:51.795Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T17:36:52.000Z] ========================================================= [2021-05-10T17:36:52.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T17:36:52.000Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:36:52.318Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T17:36:52.579Z] Sending build context to Docker daemon 9.193MB [2021-05-10T17:36:52.580Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T17:36:52.580Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:36:52.580Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T17:36:52.580Z] 540db60ca938: Pulling fs layer [2021-05-10T17:36:52.580Z] adcc1eea9eea: Pulling fs layer [2021-05-10T17:36:52.580Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T17:36:52.580Z] 0510c868ecb4: Pulling fs layer [2021-05-10T17:36:52.580Z] afea3b2eda06: Pulling fs layer [2021-05-10T17:36:52.580Z] 7809a108b3ef: Pulling fs layer [2021-05-10T17:36:52.580Z] f706445af74f: Pulling fs layer [2021-05-10T17:36:52.580Z] 7809a108b3ef: Waiting [2021-05-10T17:36:52.580Z] 0510c868ecb4: Waiting [2021-05-10T17:36:52.580Z] afea3b2eda06: Waiting [2021-05-10T17:36:52.580Z] f706445af74f: Waiting [2021-05-10T17:36:52.580Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T17:36:52.580Z] 4c4ab2625f07: Download complete [2021-05-10T17:36:52.580Z] adcc1eea9eea: Verifying Checksum [2021-05-10T17:36:52.580Z] adcc1eea9eea: Download complete [2021-05-10T17:36:52.845Z] afea3b2eda06: Verifying Checksum [2021-05-10T17:36:52.845Z] afea3b2eda06: Download complete [2021-05-10T17:36:52.845Z] 7809a108b3ef: Verifying Checksum [2021-05-10T17:36:52.845Z] 7809a108b3ef: Download complete [2021-05-10T17:36:52.845Z] 540db60ca938: Verifying Checksum [2021-05-10T17:36:52.845Z] 540db60ca938: Download complete [2021-05-10T17:36:53.118Z] 540db60ca938: Pull complete [2021-05-10T17:36:53.389Z] adcc1eea9eea: Pull complete [2021-05-10T17:36:53.653Z] 4c4ab2625f07: Pull complete [2021-05-10T17:36:55.064Z] f706445af74f: Verifying Checksum [2021-05-10T17:36:55.064Z] f706445af74f: Download complete [2021-05-10T17:36:55.651Z] 0510c868ecb4: Verifying Checksum [2021-05-10T17:36:55.651Z] 0510c868ecb4: Download complete [2021-05-10T17:37:02.367Z] 0510c868ecb4: Pull complete [2021-05-10T17:37:02.367Z] afea3b2eda06: Pull complete [2021-05-10T17:37:02.635Z] 7809a108b3ef: Pull complete [2021-05-10T17:37:09.270Z] f706445af74f: Pull complete [2021-05-10T17:37:09.270Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T17:37:09.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T17:37:09.270Z] ---> b068be0155e3 [2021-05-10T17:37:09.270Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T17:37:10.224Z] ---> Running in 7644871c4ef8 [2021-05-10T17:37:10.490Z] Removing intermediate container 7644871c4ef8 [2021-05-10T17:37:10.490Z] ---> 0c6c91078c80 [2021-05-10T17:37:10.490Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:37:10.490Z] ---> Running in 2611b141248d [2021-05-10T17:37:11.917Z] Removing intermediate container 2611b141248d [2021-05-10T17:37:11.917Z] ---> 94b892284ea1 [2021-05-10T17:37:11.917Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T17:37:11.918Z] ---> Running in 05ce6484b5e4 [2021-05-10T17:37:12.498Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T17:37:14.441Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T17:37:15.019Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T17:37:15.284Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T17:37:15.547Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T17:37:15.547Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:37:15.811Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T17:37:16.072Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T17:37:16.073Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T17:37:16.650Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T17:37:16.912Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T17:37:17.175Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T17:37:17.175Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T17:37:17.438Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T17:37:17.713Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:37:17.713Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:37:17.977Z] OK: 156 MiB in 53 packages [2021-05-10T17:37:18.555Z] Removing intermediate container 05ce6484b5e4 [2021-05-10T17:37:18.555Z] ---> f26cd06a13f6 [2021-05-10T17:37:18.555Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T17:37:18.817Z] ---> Running in bb006504b6c1 [2021-05-10T17:37:18.817Z] Removing intermediate container bb006504b6c1 [2021-05-10T17:37:18.817Z] ---> 44ff8d17a9b3 [2021-05-10T17:37:18.817Z] Step 7/8 : COPY . . [2021-05-10T17:37:19.762Z] ---> 9ddf4aa4c3a0 [2021-05-10T17:37:19.762Z] Step 8/8 : RUN go mod download [2021-05-10T17:37:19.762Z] ---> Running in f65a4a0076ea [2021-05-10T17:37:33.537Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4131 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T17:37:33.557Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2021-05-10T17:37:38.799Z] using credential edgex-jenkins-ssh [2021-05-10T17:37:38.815Z] Cloning the remote Git repository [2021-05-10T17:37:38.949Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:37:39.111Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2021-05-10T17:37:39.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:37:39.204Z] > git --version # timeout=10 [2021-05-10T17:37:39.220Z] > git --version # 'git version 2.17.1' [2021-05-10T17:37:39.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:37:39.299Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:37:41.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T17:37:41.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T17:37:41.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T17:37:41.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T17:37:41.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:37:41.289Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T17:37:44.066Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:37:44.303Z] Merge succeeded, producing c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:37:44.304Z] Checking out Revision c04e4a688faf959e97f5f207619e9c458df08276 (PR-199) [2021-05-10T17:37:44.123Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:37:44.150Z] > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 [2021-05-10T17:37:44.239Z] > git remote # timeout=10 [2021-05-10T17:37:44.257Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T17:37:44.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T17:37:44.279Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T17:37:44.300Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T17:37:44.323Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T17:37:44.344Z] > git checkout -f c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 [2021-05-10T17:37:46.423Z] Removing intermediate container f65a4a0076ea [2021-05-10T17:37:46.423Z] ---> c53049a7142a [2021-05-10T17:37:46.423Z] Successfully built c53049a7142a [2021-05-10T17:37:46.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:37:46.745Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:37:46.745Z] . [Pipeline] withDockerContainer [2021-05-10T17:37:46.869Z] prd-centos7-docker-4c-2g-4129 does not seem to be running inside a container [2021-05-10T17:37:46.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:37:47.726Z] $ docker top fc2a25477330616d4ba3dc5834012aa80169479a140514c5c7c0d085cf6be034 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:37:48.165Z] + go version [2021-05-10T17:37:48.165Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T17:37:48.185Z] $ docker stop --time=1 fc2a25477330616d4ba3dc5834012aa80169479a140514c5c7c0d085cf6be034 [2021-05-10T17:37:48.488Z] Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" [2021-05-10T17:37:49.565Z] $ docker rm -f fc2a25477330616d4ba3dc5834012aa80169479a140514c5c7c0d085cf6be034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:37:51.016Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T17:37:51.016Z] . [Pipeline] withDockerContainer [2021-05-10T17:37:51.671Z] prd-centos7-docker-4c-2g-4129 does not seem to be running inside a container [2021-05-10T17:37:51.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T17:37:51.891Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-10T17:37:52.423Z] $ docker top abb0c41c3835d16dfac0190d19dfe26363eee6fb9ab655419d225c27dc147bff -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-10T17:37:52.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T17:37:52.980Z] + go mod tidy [2021-05-10T17:37:53.277Z] + sudo service docker restart [2021-05-10T17:37:53.277Z] + true [Pipeline] sh [2021-05-10T17:37:54.238Z] + make test [2021-05-10T17:37:54.238Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T17:37:55.905Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T17:37:55.946Z] provisioning config files... [2021-05-10T17:37:56.023Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config5594739036755055612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:37:56.398Z] ---> docker-login.sh [2021-05-10T17:37:56.398Z] nexus3.edgexfoundry.org:10001 [2021-05-10T17:37:56.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:37:57.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:37:57.608Z] Configure a credential helper to remove this warning. See [2021-05-10T17:37:57.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:37:57.608Z] [2021-05-10T17:37:57.608Z] Login Succeeded [2021-05-10T17:37:57.608Z] nexus3.edgexfoundry.org:10002 [2021-05-10T17:37:57.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:37:58.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:37:58.164Z] Configure a credential helper to remove this warning. See [2021-05-10T17:37:58.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:37:58.164Z] [2021-05-10T17:37:58.164Z] Login Succeeded [2021-05-10T17:37:58.164Z] nexus3.edgexfoundry.org:10003 [2021-05-10T17:37:58.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:37:58.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:37:58.718Z] Configure a credential helper to remove this warning. See [2021-05-10T17:37:58.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:37:58.718Z] [2021-05-10T17:37:58.718Z] Login Succeeded [2021-05-10T17:37:58.718Z] nexus3.edgexfoundry.org:10004 [2021-05-10T17:37:58.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:37:59.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:37:59.275Z] Configure a credential helper to remove this warning. See [2021-05-10T17:37:59.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:37:59.275Z] [2021-05-10T17:37:59.275Z] Login Succeeded [2021-05-10T17:37:59.275Z] docker.io [2021-05-10T17:37:59.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T17:38:00.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T17:38:00.142Z] Configure a credential helper to remove this warning. See [2021-05-10T17:38:00.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T17:38:00.142Z] [2021-05-10T17:38:00.142Z] Login Succeeded [2021-05-10T17:38:00.142Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T17:38:00.161Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T17:38:00.472Z] ========================================================= [2021-05-10T17:38:00.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T17:38:00.472Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:38:00.823Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T17:38:01.099Z] Sending build context to Docker daemon 9.192MB [2021-05-10T17:38:01.099Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T17:38:01.099Z] Step 2/8 : FROM ${BASE} [2021-05-10T17:38:01.375Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T17:38:01.375Z] 595b0fe564bb: Pulling fs layer [2021-05-10T17:38:01.375Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T17:38:01.375Z] 316046926c0a: Pulling fs layer [2021-05-10T17:38:01.375Z] 4ebd0625c992: Pulling fs layer [2021-05-10T17:38:01.375Z] 207e8628e3a3: Pulling fs layer [2021-05-10T17:38:01.375Z] c791037a9be2: Pulling fs layer [2021-05-10T17:38:01.375Z] ffd874e62e21: Pulling fs layer [2021-05-10T17:38:01.375Z] 4ebd0625c992: Waiting [2021-05-10T17:38:01.375Z] 207e8628e3a3: Waiting [2021-05-10T17:38:01.375Z] c791037a9be2: Waiting [2021-05-10T17:38:01.375Z] 316046926c0a: Verifying Checksum [2021-05-10T17:38:01.375Z] 316046926c0a: Download complete [2021-05-10T17:38:01.375Z] 7186ed65a4f7: Download complete [2021-05-10T17:38:01.375Z] 207e8628e3a3: Download complete [2021-05-10T17:38:01.375Z] c791037a9be2: Download complete [2021-05-10T17:38:01.648Z] 595b0fe564bb: Download complete [2021-05-10T17:38:02.251Z] 595b0fe564bb: Pull complete [2021-05-10T17:38:02.857Z] 7186ed65a4f7: Pull complete [2021-05-10T17:38:03.129Z] 316046926c0a: Pull complete [2021-05-10T17:38:04.560Z] ffd874e62e21: Verifying Checksum [2021-05-10T17:38:04.560Z] ffd874e62e21: Download complete [2021-05-10T17:38:06.532Z] 4ebd0625c992: Verifying Checksum [2021-05-10T17:38:06.532Z] 4ebd0625c992: Download complete [2021-05-10T17:38:16.697Z] 4ebd0625c992: Pull complete [2021-05-10T17:38:16.971Z] 207e8628e3a3: Pull complete [2021-05-10T17:38:17.244Z] c791037a9be2: Pull complete [2021-05-10T17:38:18.052Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T17:38:18.052Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.473s coverage: 63.8% of statements [2021-05-10T17:38:18.052Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:38:21.568Z] ffd874e62e21: Pull complete [2021-05-10T17:38:21.568Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T17:38:21.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T17:38:21.568Z] ---> cfc18b08335c [2021-05-10T17:38:21.568Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T17:38:24.192Z] ---> Running in 951ba8347da2 [2021-05-10T17:38:24.192Z] Removing intermediate container 951ba8347da2 [2021-05-10T17:38:24.192Z] ---> 6e15f9de34a3 [2021-05-10T17:38:24.192Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:38:24.192Z] ---> Running in 20627cb9d315 [2021-05-10T17:38:26.821Z] Removing intermediate container 20627cb9d315 [2021-05-10T17:38:26.821Z] ---> 9b27db9a62b4 [2021-05-10T17:38:26.821Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T17:38:26.821Z] ---> Running in 15e42328fc2b [2021-05-10T17:38:27.804Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T17:38:28.114Z] gofmt -l . [2021-05-10T17:38:28.114Z] [ "`gofmt -l .`" = "" ] [2021-05-10T17:38:28.114Z] ./bin/test-attribution-txt.sh [2021-05-10T17:38:29.067Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T17:38:29.351Z] $ docker stop --time=1 abb0c41c3835d16dfac0190d19dfe26363eee6fb9ab655419d225c27dc147bff [2021-05-10T17:38:29.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T17:38:30.355Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T17:38:30.628Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T17:38:30.899Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T17:38:30.899Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T17:38:31.170Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T17:38:31.434Z] $ docker rm -f abb0c41c3835d16dfac0190d19dfe26363eee6fb9ab655419d225c27dc147bff [2021-05-10T17:38:31.442Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T17:38:31.442Z] (7/13) Installing openssh-client (8.4_p1-r3) [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:38:32.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:38:32.412Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T17:38:32.412Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T17:38:32.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-10T17:38:32.681Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T17:38:32.681Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T17:38:32.958Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T17:38:33.228Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T17:38:33.529Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T17:38:33.529Z] OK: 145 MiB in 53 packages [Pipeline] sh [2021-05-10T17:38:35.004Z] Removing intermediate container 15e42328fc2b [2021-05-10T17:38:35.004Z] ---> 3795ab99b56b [2021-05-10T17:38:35.004Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T17:38:35.004Z] ---> Running in 9ba7abad5203 [2021-05-10T17:38:35.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T17:38:35.453Z] + ls -al . [2021-05-10T17:38:35.453Z] total 132 [2021-05-10T17:38:35.453Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 10 17:38 . [2021-05-10T17:38:35.453Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 17:36 .. [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 10 17:36 Attribution.txt [2021-05-10T17:38:35.453Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 17:36 bin [2021-05-10T17:38:35.453Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 17:36 cmd [2021-05-10T17:38:35.453Z] -rw-r--r--. 1 jenkins jenkins 47247 May 10 17:38 coverage.out [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 10 17:36 Dockerfile [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 998 May 10 17:36 Dockerfile.build [2021-05-10T17:38:35.453Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 17:36 .git [2021-05-10T17:38:35.453Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 17:36 .github [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 277 May 10 17:36 .gitignore [2021-05-10T17:38:35.453Z] -rw-r--r--. 1 jenkins jenkins 809 May 10 17:38 go.mod [2021-05-10T17:38:35.453Z] -rw-r--r--. 1 jenkins jenkins 23532 May 10 17:37 go.sum [2021-05-10T17:38:35.453Z] drwxrwxr-x. 3 jenkins jenkins 20 May 10 17:36 internal [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 660 May 10 17:36 Jenkinsfile [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 17:36 LICENSE [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 17:36 Makefile [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 10 17:36 README.md [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 17:35 VERSION [2021-05-10T17:38:35.453Z] -rw-rw-r--. 1 jenkins jenkins 235 May 10 17:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:38:35.601Z] Removing intermediate container 9ba7abad5203 [2021-05-10T17:38:35.601Z] ---> 1d26b50d8b89 [2021-05-10T17:38:35.601Z] Step 7/8 : COPY . . [2021-05-10T17:38:35.776Z] + 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=c04e4a688faf959e97f5f207619e9c458df08276 --label arch=amd64 --label version=0.0.0 . [2021-05-10T17:38:36.038Z] Sending build context to Docker daemon 9.266MB [2021-05-10T17:38:36.038Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T17:38:36.038Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T17:38:36.038Z] ---> c53049a7142a [2021-05-10T17:38:36.038Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T17:38:36.304Z] ---> Running in ab786a1089ba [2021-05-10T17:38:36.304Z] Removing intermediate container ab786a1089ba [2021-05-10T17:38:36.304Z] ---> 04d38daa1b65 [2021-05-10T17:38:36.304Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T17:38:36.584Z] ---> Running in e7b42d65f8ee [2021-05-10T17:38:36.584Z] Removing intermediate container e7b42d65f8ee [2021-05-10T17:38:36.584Z] ---> d9929f36fea7 [2021-05-10T17:38:36.584Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T17:38:36.584Z] ---> Running in 325b6ef4f011 [2021-05-10T17:38:36.857Z] Removing intermediate container 325b6ef4f011 [2021-05-10T17:38:36.857Z] ---> 5fd5fec20693 [2021-05-10T17:38:36.857Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:38:36.857Z] ---> Running in 6467918ee1ac [2021-05-10T17:38:37.044Z] ---> fa77e38b3c71 [2021-05-10T17:38:37.044Z] Step 8/8 : RUN go mod download [2021-05-10T17:38:37.315Z] ---> Running in e8e659227039 [2021-05-10T17:38:38.258Z] Removing intermediate container 6467918ee1ac [2021-05-10T17:38:38.258Z] ---> 0092c798ee02 [2021-05-10T17:38:38.258Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T17:38:38.258Z] ---> Running in f744ac5dca08 [2021-05-10T17:38:38.520Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T17:38:40.448Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T17:38:41.023Z] OK: 156 MiB in 53 packages [2021-05-10T17:38:41.601Z] Removing intermediate container f744ac5dca08 [2021-05-10T17:38:41.601Z] ---> cebcb9ed6dad [2021-05-10T17:38:41.601Z] Step 8/25 : COPY . . [2021-05-10T17:38:42.176Z] ---> 8ea17fac7dc4 [2021-05-10T17:38:42.176Z] Step 9/25 : RUN go mod download [2021-05-10T17:38:42.450Z] ---> Running in 9857b7ba1658 [2021-05-10T17:38:43.868Z] Removing intermediate container 9857b7ba1658 [2021-05-10T17:38:43.868Z] ---> 6663e6f5a9fb [2021-05-10T17:38:43.868Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T17:38:43.868Z] ---> Running in ccff433c43be [2021-05-10T17:38:44.134Z] Removing intermediate container ccff433c43be [2021-05-10T17:38:44.134Z] ---> 2427be6c14d8 [2021-05-10T17:38:44.134Z] Step 11/25 : RUN $MAKE [2021-05-10T17:38:44.134Z] ---> Running in f138b15d45fc [2021-05-10T17:38:44.716Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T17:39:03.040Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T17:39:06.357Z] Removing intermediate container f138b15d45fc [2021-05-10T17:39:06.357Z] ---> ca944195df47 [2021-05-10T17:39:06.357Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T17:39:06.620Z] 3.12: Pulling from library/alpine [2021-05-10T17:39:06.883Z] 339de151aab4: Pulling fs layer [2021-05-10T17:39:06.883Z] 339de151aab4: Download complete [2021-05-10T17:39:07.146Z] 339de151aab4: Pull complete [2021-05-10T17:39:07.146Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T17:39:07.146Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T17:39:07.146Z] ---> 13621d1b12d4 [2021-05-10T17:39:07.146Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T17:39:07.409Z] ---> Running in 7c71b0712787 [2021-05-10T17:39:07.678Z] Removing intermediate container 7c71b0712787 [2021-05-10T17:39:07.678Z] ---> c18b033a4f95 [2021-05-10T17:39:07.678Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:39:07.678Z] ---> Running in 7dd830742909 [2021-05-10T17:39:08.634Z] Removing intermediate container 7dd830742909 [2021-05-10T17:39:08.634Z] ---> cb6fc51c6f29 [2021-05-10T17:39:08.634Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T17:39:08.634Z] ---> Running in d820c26cb248 [2021-05-10T17:39:09.209Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T17:39:09.651Z] Removing intermediate container e8e659227039 [2021-05-10T17:39:09.651Z] ---> 5bdfd8e567ef [2021-05-10T17:39:09.651Z] Successfully built 5bdfd8e567ef [2021-05-10T17:39:09.651Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:39:10.001Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:39:10.001Z] . [Pipeline] withDockerContainer [2021-05-10T17:39:10.272Z] prd-ubuntu18.04-docker-arm64-4c-16g-4131 does not seem to be running inside a container [2021-05-10T17:39:10.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T17:39:10.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T17:39:11.181Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T17:39:11.444Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T17:39:11.706Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T17:39:11.706Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T17:39:11.886Z] $ docker top a2bc18176937c1032b9df430f846eba0984654e089afd5b41b36515757dc9f7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:39:12.852Z] + go version [2021-05-10T17:39:12.852Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T17:39:12.878Z] $ docker stop --time=1 a2bc18176937c1032b9df430f846eba0984654e089afd5b41b36515757dc9f7a [2021-05-10T17:39:13.098Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T17:39:13.098Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T17:39:13.362Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T17:39:13.362Z] OK: 8 MiB in 20 packages [2021-05-10T17:39:13.937Z] Removing intermediate container d820c26cb248 [2021-05-10T17:39:13.937Z] ---> 135c1f3c9922 [2021-05-10T17:39:13.937Z] Step 16/25 : WORKDIR / [2021-05-10T17:39:13.937Z] ---> Running in 6324604891da [2021-05-10T17:39:14.200Z] Removing intermediate container 6324604891da [2021-05-10T17:39:14.200Z] ---> 5555beedc523 [2021-05-10T17:39:14.200Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T17:39:14.462Z] ---> 26c7117d5bdd [2021-05-10T17:39:14.462Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T17:39:14.724Z] ---> a18196c52810 [2021-05-10T17:39:14.724Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-10T17:39:14.824Z] $ docker rm -f a2bc18176937c1032b9df430f846eba0984654e089afd5b41b36515757dc9f7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:39:15.305Z] ---> d01872fe66ea [2021-05-10T17:39:15.305Z] Step 20/25 : EXPOSE 49990 [2021-05-10T17:39:15.305Z] ---> Running in 737a64db57b0 [2021-05-10T17:39:15.574Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T17:39:15.574Z] . [2021-05-10T17:39:15.579Z] Removing intermediate container 737a64db57b0 [2021-05-10T17:39:15.579Z] ---> af7721559923 [2021-05-10T17:39:15.579Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T17:39:15.579Z] ---> Running in d852003c9ae5 [Pipeline] withDockerContainer [2021-05-10T17:39:15.841Z] Removing intermediate container d852003c9ae5 [2021-05-10T17:39:15.841Z] ---> 8371f17b5324 [2021-05-10T17:39:15.841Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T17:39:15.841Z] ---> Running in 35eb6c1a7c94 [2021-05-10T17:39:15.855Z] prd-ubuntu18.04-docker-arm64-4c-16g-4131 does not seem to be running inside a container [2021-05-10T17:39:15.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T17:39:16.103Z] Removing intermediate container 35eb6c1a7c94 [2021-05-10T17:39:16.104Z] ---> dead8cd7d1a2 [2021-05-10T17:39:16.104Z] Step 23/25 : LABEL arch=amd64 [2021-05-10T17:39:16.104Z] ---> Running in a58291ff9ac8 [2021-05-10T17:39:16.366Z] Removing intermediate container a58291ff9ac8 [2021-05-10T17:39:16.366Z] ---> 40bc6b0a6fe1 [2021-05-10T17:39:16.366Z] Step 24/25 : LABEL git_sha=c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:39:16.366Z] ---> Running in 240b04674cda [2021-05-10T17:39:16.628Z] Removing intermediate container 240b04674cda [2021-05-10T17:39:16.628Z] ---> 831c8d81cd03 [2021-05-10T17:39:16.628Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T17:39:16.628Z] ---> Running in 4da3952bb106 [2021-05-10T17:39:16.891Z] Removing intermediate container 4da3952bb106 [2021-05-10T17:39:16.891Z] ---> a969be20d6d2 [2021-05-10T17:39:16.891Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T17:39:16.891Z] Successfully built a969be20d6d2 [2021-05-10T17:39:16.891Z] Successfully tagged docker-device-virtual-go:latest [2021-05-10T17:39:17.426Z] $ docker top 16ea470a5142233bf7258260b1dcb089c60cd452927e82483a2942706b935aa2 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:39:18.300Z] ---> job-cost.sh [2021-05-10T17:39:18.300Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c9PC [2021-05-10T17:39:18.347Z] + go mod tidy [Pipeline] sh [2021-05-10T17:39:19.600Z] + make test [2021-05-10T17:39:19.600Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T17:39:20.577Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-10T17:39:33.251Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:40:05.450Z] lf-activate-venv(): INFO: Adding /tmp/venv-c9PC/bin to PATH [2021-05-10T17:40:05.450Z] INFO: No Stack... [2021-05-10T17:40:05.450Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T17:40:05.450Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:40:05.771Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2021-05-10T17:40:05.771Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T17:40:05.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [2021-05-10T17:40:05.871Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] did not exist. Created. [2021-05-10T17:40:05.871Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:40:06.199Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T17:40:06.332Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:40:06.345Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T17:40:28.697Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T17:40:28.697Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.702s coverage: 63.8% of statements [2021-05-10T17:40:28.697Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T17:40:55.555Z] gofmt -l . [2021-05-10T17:40:55.555Z] [ "`gofmt -l .`" = "" ] [2021-05-10T17:40:55.555Z] ./bin/test-attribution-txt.sh [2021-05-10T17:40:55.555Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T17:40:55.576Z] $ docker stop --time=1 16ea470a5142233bf7258260b1dcb089c60cd452927e82483a2942706b935aa2 [2021-05-10T17:40:57.591Z] $ docker rm -f 16ea470a5142233bf7258260b1dcb089c60cd452927e82483a2942706b935aa2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T17:40:58.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T17:40:58.527Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T17:40:59.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T17:40:59.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T17:41:00.293Z] + ls -al . [2021-05-10T17:41:00.293Z] total 156 [2021-05-10T17:41:00.293Z] drwxrwxr-x 7 jenkins jenkins 4096 May 10 17:40 . [2021-05-10T17:41:00.293Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:37 .. [2021-05-10T17:41:00.293Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:37 .git [2021-05-10T17:41:00.293Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:37 .github [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 277 May 10 17:37 .gitignore [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 10 17:37 Attribution.txt [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 17:37 Dockerfile [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 998 May 10 17:37 Dockerfile.build [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 17:37 Jenkinsfile [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 17:37 LICENSE [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 17:37 Makefile [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 10 17:37 README.md [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:35 VERSION [2021-05-10T17:41:00.293Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:37 bin [2021-05-10T17:41:00.293Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:37 cmd [2021-05-10T17:41:00.293Z] -rw-r--r-- 1 jenkins jenkins 47247 May 10 17:40 coverage.out [2021-05-10T17:41:00.293Z] -rw-r--r-- 1 jenkins jenkins 809 May 10 17:40 go.mod [2021-05-10T17:41:00.293Z] -rw-r--r-- 1 jenkins jenkins 23532 May 10 17:39 go.sum [2021-05-10T17:41:00.293Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:37 internal [2021-05-10T17:41:00.293Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 17:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:41:00.686Z] + 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=c04e4a688faf959e97f5f207619e9c458df08276 --label arch=arm64 --label version=0.0.0 . [2021-05-10T17:41:01.302Z] Sending build context to Docker daemon 9.265MB [2021-05-10T17:41:01.302Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T17:41:01.302Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T17:41:01.302Z] ---> 5bdfd8e567ef [2021-05-10T17:41:01.302Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T17:41:01.581Z] ---> Running in a07b885e96e7 [2021-05-10T17:41:02.179Z] Removing intermediate container a07b885e96e7 [2021-05-10T17:41:02.179Z] ---> 754ddf52abb3 [2021-05-10T17:41:02.179Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T17:41:02.179Z] ---> Running in 83001331ccb4 [2021-05-10T17:41:02.775Z] Removing intermediate container 83001331ccb4 [2021-05-10T17:41:02.775Z] ---> ba6eae47030e [2021-05-10T17:41:02.775Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T17:41:02.775Z] ---> Running in be03638426b4 [2021-05-10T17:41:03.372Z] Removing intermediate container be03638426b4 [2021-05-10T17:41:03.372Z] ---> 06987b19420f [2021-05-10T17:41:03.372Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:41:03.372Z] ---> Running in 6294ba363edb [2021-05-10T17:41:05.366Z] Removing intermediate container 6294ba363edb [2021-05-10T17:41:05.366Z] ---> 1e8ced591016 [2021-05-10T17:41:05.366Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T17:41:05.643Z] ---> Running in 581a35359254 [2021-05-10T17:41:06.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T17:41:10.014Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T17:41:16.711Z] OK: 145 MiB in 53 packages [2021-05-10T17:41:17.688Z] Removing intermediate container 581a35359254 [2021-05-10T17:41:17.688Z] ---> fa16d4a528d2 [2021-05-10T17:41:17.688Z] Step 8/25 : COPY . . [2021-05-10T17:41:19.123Z] ---> c2c56962a7af [2021-05-10T17:41:19.123Z] Step 9/25 : RUN go mod download [2021-05-10T17:41:19.123Z] ---> Running in f84d9b135d1b [2021-05-10T17:41:21.746Z] Removing intermediate container f84d9b135d1b [2021-05-10T17:41:21.746Z] ---> d4a2225f6fdd [2021-05-10T17:41:21.746Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T17:41:21.746Z] ---> Running in 5a9126e9622f [2021-05-10T17:41:22.017Z] Removing intermediate container 5a9126e9622f [2021-05-10T17:41:22.017Z] ---> fc9b9a2ab9d5 [2021-05-10T17:41:22.017Z] Step 11/25 : RUN $MAKE [2021-05-10T17:41:22.017Z] ---> Running in a88254547c5f [2021-05-10T17:41:23.456Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T17:42:10.452Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T17:42:18.721Z] Removing intermediate container a88254547c5f [2021-05-10T17:42:18.721Z] ---> fc1f8e080b6b [2021-05-10T17:42:18.721Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T17:42:19.311Z] 3.12: Pulling from library/alpine [2021-05-10T17:42:19.311Z] d2f70382dc9a: Pulling fs layer [2021-05-10T17:42:19.585Z] d2f70382dc9a: Verifying Checksum [2021-05-10T17:42:19.585Z] d2f70382dc9a: Download complete [2021-05-10T17:42:20.197Z] d2f70382dc9a: Pull complete [2021-05-10T17:42:20.197Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T17:42:20.197Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T17:42:20.197Z] ---> 9852663dfa18 [2021-05-10T17:42:20.197Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T17:42:20.469Z] ---> Running in 72ec8a8b3a7c [2021-05-10T17:42:21.066Z] Removing intermediate container 72ec8a8b3a7c [2021-05-10T17:42:21.066Z] ---> b4e2c6fb3a65 [2021-05-10T17:42:21.066Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T17:42:21.066Z] ---> Running in 2807472bf6d1 [2021-05-10T17:42:23.035Z] Removing intermediate container 2807472bf6d1 [2021-05-10T17:42:23.035Z] ---> 987559ae9c34 [2021-05-10T17:42:23.035Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T17:42:23.035Z] ---> Running in f7e1cb21a00d [2021-05-10T17:42:24.015Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T17:42:25.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T17:42:26.867Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T17:42:26.867Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T17:42:26.867Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T17:42:27.137Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T17:42:27.411Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T17:42:27.680Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T17:42:27.953Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T17:42:27.953Z] OK: 8 MiB in 20 packages [2021-05-10T17:42:29.387Z] Removing intermediate container f7e1cb21a00d [2021-05-10T17:42:29.387Z] ---> b5c63f426278 [2021-05-10T17:42:29.387Z] Step 16/25 : WORKDIR / [2021-05-10T17:42:29.387Z] ---> Running in e61b0b3cbe6d [2021-05-10T17:42:29.660Z] Removing intermediate container e61b0b3cbe6d [2021-05-10T17:42:29.660Z] ---> 7d2ee4a7509f [2021-05-10T17:42:29.660Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T17:42:30.264Z] ---> 260b645774ad [2021-05-10T17:42:30.264Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T17:42:31.241Z] ---> f80df30e0533 [2021-05-10T17:42:31.241Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-10T17:42:32.687Z] ---> 2eb0e149104e [2021-05-10T17:42:32.687Z] Step 20/25 : EXPOSE 49990 [2021-05-10T17:42:32.687Z] ---> Running in 2b500e77b267 [2021-05-10T17:42:32.960Z] Removing intermediate container 2b500e77b267 [2021-05-10T17:42:32.960Z] ---> b9aa7413cbf5 [2021-05-10T17:42:32.960Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T17:42:32.960Z] ---> Running in b8da5205b470 [2021-05-10T17:42:33.556Z] Removing intermediate container b8da5205b470 [2021-05-10T17:42:33.556Z] ---> e31d47ee463a [2021-05-10T17:42:33.556Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T17:42:33.556Z] ---> Running in e1827c65df87 [2021-05-10T17:42:34.151Z] Removing intermediate container e1827c65df87 [2021-05-10T17:42:34.151Z] ---> 234cab5fdf20 [2021-05-10T17:42:34.151Z] Step 23/25 : LABEL arch=arm64 [2021-05-10T17:42:34.151Z] ---> Running in de8e49208c66 [2021-05-10T17:42:34.747Z] Removing intermediate container de8e49208c66 [2021-05-10T17:42:34.747Z] ---> 285ec3d5c1ea [2021-05-10T17:42:34.747Z] Step 24/25 : LABEL git_sha=c04e4a688faf959e97f5f207619e9c458df08276 [2021-05-10T17:42:34.747Z] ---> Running in 877e7d55b4de [2021-05-10T17:42:35.342Z] Removing intermediate container 877e7d55b4de [2021-05-10T17:42:35.342Z] ---> 0aaf63578380 [2021-05-10T17:42:35.342Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T17:42:35.342Z] ---> Running in 7e922a01049f [2021-05-10T17:42:35.617Z] Removing intermediate container 7e922a01049f [2021-05-10T17:42:35.617Z] ---> 7f0d93e263b6 [2021-05-10T17:42:35.617Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T17:42:35.891Z] Successfully built 7f0d93e263b6 [2021-05-10T17:42:35.891Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:42:36.358Z] ---> job-cost.sh [2021-05-10T17:42:36.358Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c4tK [2021-05-10T17:43:15.346Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T17:44:37.072Z] lf-activate-venv(): INFO: Adding /tmp/venv-c4tK/bin to PATH [2021-05-10T17:44:37.072Z] INFO: No Stack... [2021-05-10T17:44:38.490Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T17:44:38.762Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T17:44:39.106Z] + + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2021-05-10T17:44:39.106Z] cut -d, -f6 [Pipeline] lock [2021-05-10T17:44:39.218Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [2021-05-10T17:44:39.226Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] did not exist. Created. [2021-05-10T17:44:39.227Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T17:44:39.596Z] /w/workspace/device-virtual-go/4@tmp/durable-64987bdd/script.sh: 1: /w/workspace/device-virtual-go/4@tmp/durable-64987bdd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T17:44:39.943Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T17:44:39.981Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T17:44:40.129Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T17:44:40.143Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T17:44:40.627Z] provisioning config files... [2021-05-10T17:44:40.638Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config9006833405112561535tmp [Pipeline] { [Pipeline] sh [2021-05-10T17:44:40.962Z] + set +x [2021-05-10T17:44:40.962Z] + curl -s https://codecov.io/bash [2021-05-10T17:44:40.962Z] + bash -s -- [2021-05-10T17:44:41.236Z] [2021-05-10T17:44:41.236Z] _____ _ [2021-05-10T17:44:41.236Z] / ____| | | [2021-05-10T17:44:41.236Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T17:44:41.236Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T17:44:41.236Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T17:44:41.236Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T17:44:41.236Z] Bash-1.0.2 [2021-05-10T17:44:41.236Z] [2021-05-10T17:44:41.236Z] [2021-05-10T17:44:41.236Z] ==> git version 2.24.3 found [2021-05-10T17:44:41.236Z] ==> 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-05-10T17:44:41.236Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T17:44:41.236Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T17:44:41.236Z] ==> Jenkins CI detected. [2021-05-10T17:44:41.236Z] project root: . [2021-05-10T17:44:41.236Z] --> token set from env [2021-05-10T17:44:41.236Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T17:44:41.236Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T17:44:41.236Z] ==> Python coveragepy not found [2021-05-10T17:44:41.236Z] ==> Searching for coverage reports in: [2021-05-10T17:44:41.236Z] + . [2021-05-10T17:44:41.236Z] -> Found 1 reports [2021-05-10T17:44:41.236Z] ==> Detecting git/mercurial file structure [2021-05-10T17:44:41.236Z] ==> Reading reports [2021-05-10T17:44:41.236Z] + ./coverage.out bytes=47247 [2021-05-10T17:44:41.236Z] ==> Appending adjustments [2021-05-10T17:44:41.236Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T17:44:41.502Z] + Found adjustments [2021-05-10T17:44:41.502Z] ==> Gzipping contents [2021-05-10T17:44:41.502Z] 8.0K /tmp/codecov.PKuXH4.gz [2021-05-10T17:44:41.502Z] ==> Uploading reports [2021-05-10T17:44:41.502Z] url: https://codecov.io [2021-05-10T17:44:41.502Z] query: branch=PR-199&commit=c04e4a688faf959e97f5f207619e9c458df08276&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-199%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2021-05-10T17:44:41.502Z] -> Pinging Codecov [2021-05-10T17:44:41.502Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-199&commit=c04e4a688faf959e97f5f207619e9c458df08276&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-199%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2021-05-10T17:44:42.079Z] -> Uploading to [2021-05-10T17:44:42.079Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/5E52B4B073DB2E39498172D8E973AA87/c04e4a688faf959e97f5f207619e9c458df08276/829b4c57-ba2a-46d5-8b1d-fe6ea5cffe79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T174441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=368a585de97b8c1bbeed82e7bbf1a9c010b8b7b6c2faaf1653fb8e3c5a75f567 [2021-05-10T17:44:42.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T17:44:42.079Z] Dload Upload Total Spent Left Speed [2021-05-10T17:44:42.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5747 0 0 100 5747 0 14048 --:--:-- --:--:-- --:--:-- 14085 [2021-05-10T17:44:42.343Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c04e4a688faf959e97f5f207619e9c458df08276 [Pipeline] } [2021-05-10T17:44:42.354Z] 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] { (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-05-10T17:44:43.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:44:44.099Z] ---> package-listing.sh [2021-05-10T17:44:44.099Z] ++ facter osfamily [2021-05-10T17:44:44.099Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T17:44:44.099Z] + OS_FAMILY=redhat [2021-05-10T17:44:44.099Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T17:44:44.099Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T17:44:44.099Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T17:44:44.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T17:44:44.099Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T17:44:44.099Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T17:44:44.099Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T17:44:44.099Z] + case "${OS_FAMILY}" in [2021-05-10T17:44:44.099Z] + rpm -qa [2021-05-10T17:44:44.099Z] + sort [2021-05-10T17:44:48.421Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T17:44:48.421Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T17:44:48.421Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T17:44:48.421Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T17:44:48.421Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-199/archives/ [2021-05-10T17:44:48.421Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-199/archives/ [Pipeline] echo [2021-05-10T17:44:48.456Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T17:44:48.747Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:44:49.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:44:49.068Z] [2021-05-10T17:44:49.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T17:44:49.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:44:49.392Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T17:44:49.392Z] df20fa9351a1: Pulling fs layer [2021-05-10T17:44:49.392Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T17:44:49.392Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T17:44:49.392Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T17:44:49.392Z] 93b61091891f: Pulling fs layer [2021-05-10T17:44:49.392Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T17:44:49.392Z] 5e14af77c1be: Pulling fs layer [2021-05-10T17:44:49.392Z] 01666e4c0597: Pulling fs layer [2021-05-10T17:44:49.392Z] aa168da1d23b: Pulling fs layer [2021-05-10T17:44:49.392Z] 93b9cdb0e59b: Waiting [2021-05-10T17:44:49.392Z] 5e14af77c1be: Waiting [2021-05-10T17:44:49.392Z] 46f8f816bc3b: Waiting [2021-05-10T17:44:49.392Z] 01666e4c0597: Waiting [2021-05-10T17:44:49.392Z] 93b61091891f: Waiting [2021-05-10T17:44:49.392Z] aa168da1d23b: Waiting [2021-05-10T17:44:49.654Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T17:44:49.654Z] 36b3adc4ff6f: Download complete [2021-05-10T17:44:49.918Z] df20fa9351a1: Verifying Checksum [2021-05-10T17:44:49.918Z] df20fa9351a1: Download complete [2021-05-10T17:44:49.918Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T17:44:49.918Z] 46f8f816bc3b: Download complete [2021-05-10T17:44:49.918Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T17:44:49.918Z] 93b9cdb0e59b: Download complete [2021-05-10T17:44:49.918Z] 5e14af77c1be: Download complete [2021-05-10T17:44:49.918Z] 01666e4c0597: Verifying Checksum [2021-05-10T17:44:49.918Z] 01666e4c0597: Download complete [2021-05-10T17:44:50.181Z] df20fa9351a1: Pull complete [2021-05-10T17:44:50.181Z] 93b61091891f: Verifying Checksum [2021-05-10T17:44:50.181Z] 93b61091891f: Download complete [2021-05-10T17:44:50.449Z] 36b3adc4ff6f: Pull complete [2021-05-10T17:44:50.449Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T17:44:50.449Z] 8ad3a11d3b57: Download complete [2021-05-10T17:44:51.029Z] 8ad3a11d3b57: Pull complete [2021-05-10T17:44:51.298Z] 46f8f816bc3b: Pull complete [2021-05-10T17:44:51.564Z] 93b61091891f: Pull complete [2021-05-10T17:44:51.564Z] 93b9cdb0e59b: Pull complete [2021-05-10T17:44:51.833Z] 5e14af77c1be: Pull complete [2021-05-10T17:44:51.834Z] 01666e4c0597: Pull complete [2021-05-10T17:44:53.784Z] aa168da1d23b: Verifying Checksum [2021-05-10T17:44:53.784Z] aa168da1d23b: Download complete [2021-05-10T17:45:00.445Z] aa168da1d23b: Pull complete [2021-05-10T17:45:00.445Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T17:45:00.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T17:45:00.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T17:45:00.641Z] prd-centos7-docker-4c-2g-4123 does not seem to be running inside a container [2021-05-10T17:45:00.692Z] $ 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-199/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-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T17:45:04.906Z] $ docker top b6508f607e583dacba4d6aaad5f468e1d2e273b1589e1df730ce8fad394fd212 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T17:45:05.326Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T17:45:05.626Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T17:45:05.926Z] + ls /var/log/sa-host [2021-05-10T17:45:05.926Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T17:45:05.927Z] file_magic: OK [2021-05-10T17:45:05.927Z] HZ: Using current value: 100 [2021-05-10T17:45:05.927Z] file_header: OK [2021-05-10T17:45:05.927Z] 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-05-10T17:45:05.927Z] Statistics: [2021-05-10T17:45:05.927Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T17:45:05.927Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T17:45:05.927Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T17:45:05.927Z] file_magic: OK [2021-05-10T17:45:05.927Z] HZ: Using current value: 100 [2021-05-10T17:45:05.927Z] file_header: OK [2021-05-10T17:45:05.927Z] 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-05-10T17:45:05.927Z] Statistics: [2021-05-10T17:45:05.927Z] Hnuu...uuuununununu... [2021-05-10T17:45:05.927Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T17:45:06.108Z] provisioning config files... [2021-05-10T17:45:06.124Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config5514719577625825978tmp [Pipeline] { [Pipeline] echo [2021-05-10T17:45:06.148Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:45:06.447Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T17:45:06.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T17:45:06.501Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:45:06.801Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T17:45:06.812Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:45:07.117Z] ---> sudo-logs.sh [2021-05-10T17:45:07.117Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T17:45:07.153Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:45:07.453Z] ---> job-cost.sh [2021-05-10T17:45:07.453Z] lf-activate-venv: SKIPPING [2021-05-10T17:45:07.453Z] DEBUG: total: 0.20999999344348907 [2021-05-10T17:45:07.453Z] INFO: Retrieving Stack Cost... [2021-05-10T17:45:08.848Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T17:45:09.111Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T17:45:09.129Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T17:45:09.431Z] ---> logs-deploy.sh [2021-05-10T17:45:09.431Z] lf-activate-venv: SKIPPING [2021-05-10T17:45:09.431Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-199/4 [2021-05-10T17:45:09.431Z] INFO: archiving workspace using pattern(s): [2021-05-10T17:45:11.350Z] Archives upload complete. [2021-05-10T17:45:11.350Z] INFO: archiving logs to Nexus