Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5bf229cf24b8f9ed794e66431934aece6c25b156 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1053’ is offline Running on prd-centos7-docker-4c-2g-1056 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching without tags Checking out Revision 5bf229cf24b8f9ed794e66431934aece6c25b156 (master) Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # 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/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 Commit message: "Merge pull request #131 from cloudxxx8/issue-130" > git rev-list --no-walk 60862a1890d94a51ede0363f4d0c53c3372f6de9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-23T18:47:55.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-23T18:47:55.534Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-23T18:47:55.636Z] ========================================================= [2020-09-23T18:47:55.637Z] EdgeX Global Pipelines Version Info [2020-09-23T18:47:55.637Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:47:57.069Z] ------------------- [2020-09-23T18:47:57.069Z] stable info: [2020-09-23T18:47:57.069Z] ------------------- [2020-09-23T18:47:57.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-23T18:47:57.069Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-23T18:47:57.069Z] Message: update stable to v1.0.128 [2020-09-23T18:47:58.013Z] ------------------- [2020-09-23T18:47:58.013Z] experimental info: [2020-09-23T18:47:58.013Z] ------------------- [2020-09-23T18:47:58.013Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-23T18:47:58.013Z] Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [2020-09-23T18:47:58.013Z] Message: update experimental to v1.0.128 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-23T18:47:58.335Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-09-23T18:47:58.421Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-09-23T18:47:58.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-23T18:47:58.614Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-23T18:47:58.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-23T18:47:58.811Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-23T18:47:58.899Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-23T18:47:58.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-23T18:47:59.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-23T18:47:59.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-23T18:47:59.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-23T18:47:59.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-09-23T18:47:59.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-23T18:47:59.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-23T18:47:59.596Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-23T18:47:59.681Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-23T18:47:59.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-23T18:47:59.863Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-23T18:47:59.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-23T18:48:00.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-23T18:48:00.114Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-23T18:48:00.199Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-23T18:48:00.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-23T18:48:00.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-23T18:48:00.572Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-23T18:48:00.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-23T18:48:00.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-23T18:48:00.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-23T18:48:00.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bf229cf24b8f9ed794e66431934aece6c25b156 [Pipeline] echo [2020-09-23T18:48:01.095Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bf229c [Pipeline] echo [2020-09-23T18:48:01.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-23T18:48:01.793Z] + git log --format=format:%s -1 5bf229cf24b8f9ed794e66431934aece6c25b156 [Pipeline] echo [2020-09-23T18:48:01.871Z] GIT_COMMIT: 5bf229cf24b8f9ed794e66431934aece6c25b156, Commit Message: Merge pull request #131 from cloudxxx8/issue-130 [Pipeline] echo [2020-09-23T18:48:01.927Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:48:02.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:48:02.756Z] [2020-09-23T18:48:02.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:48:03.106Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:48:03.106Z] latest: Pulling from edgex-devops/git-semver [2020-09-23T18:48:03.106Z] 31603596830f: Pulling fs layer [2020-09-23T18:48:03.106Z] 2a8b12db71e7: Pulling fs layer [2020-09-23T18:48:03.106Z] 6ca5941a6612: Pulling fs layer [2020-09-23T18:48:03.106Z] ecc8261a40a4: Pulling fs layer [2020-09-23T18:48:03.106Z] ecc8261a40a4: Waiting [2020-09-23T18:48:03.106Z] 2a8b12db71e7: Verifying Checksum [2020-09-23T18:48:03.106Z] 2a8b12db71e7: Download complete [2020-09-23T18:48:03.377Z] 31603596830f: Verifying Checksum [2020-09-23T18:48:03.377Z] 31603596830f: Download complete [2020-09-23T18:48:03.377Z] ecc8261a40a4: Verifying Checksum [2020-09-23T18:48:03.377Z] ecc8261a40a4: Download complete [2020-09-23T18:48:03.377Z] 6ca5941a6612: Verifying Checksum [2020-09-23T18:48:03.377Z] 6ca5941a6612: Download complete [2020-09-23T18:48:03.640Z] 31603596830f: Pull complete [2020-09-23T18:48:03.640Z] 2a8b12db71e7: Pull complete [2020-09-23T18:48:04.589Z] 6ca5941a6612: Pull complete [2020-09-23T18:48:04.589Z] ecc8261a40a4: Pull complete [2020-09-23T18:48:04.850Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-23T18:48:04.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:48:04.850Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-23T18:48:04.954Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:48:05.004Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-23T18:48:06.819Z] $ docker top d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-23T18:48:07.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-23T18:48:07.178Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-23T18:48:07.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-23T18:48:07.394Z] $ docker exec d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad ssh-agent [2020-09-23T18:48:07.554Z] SSH_AUTH_SOCK=/tmp/ssh-DwgWv7zGHE1U/agent.13 [2020-09-23T18:48:07.554Z] SSH_AGENT_PID=18 [2020-09-23T18:48:07.643Z] Running ssh-add (command line suppressed) [2020-09-23T18:48:07.804Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7206885918387637444.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7206885918387637444.key) [2020-09-23T18:48:07.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-23T18:48:08.196Z] + git describe --exact-match --tags HEAD [2020-09-23T18:48:08.196Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-23T18:48:08.225Z] $ docker exec --env ******** --env ******** d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad ssh-agent -k [2020-09-23T18:48:08.344Z] unset SSH_AUTH_SOCK; [2020-09-23T18:48:08.344Z] unset SSH_AGENT_PID; [2020-09-23T18:48:08.344Z] echo Agent pid 18 killed; [2020-09-23T18:48:08.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-23T18:48:08.477Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-23T18:48:08.477Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-23T18:48:08.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-23T18:48:08.574Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-23T18:48:08.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-23T18:48:08.740Z] $ docker exec d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad ssh-agent [2020-09-23T18:48:08.896Z] SSH_AUTH_SOCK=/tmp/ssh-pqnpwxuER1Wu/agent.48 [2020-09-23T18:48:08.896Z] SSH_AGENT_PID=54 [2020-09-23T18:48:08.903Z] Running ssh-add (command line suppressed) [2020-09-23T18:48:09.019Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5315452525530678194.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5315452525530678194.key) [2020-09-23T18:48:09.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-23T18:48:09.399Z] + git semver init [2020-09-23T18:48:09.399Z] # -> Open(): unable to determine branch for HEAD [2020-09-23T18:48:09.399Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-09-23T18:48:09.399Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-09-23T18:48:09.399Z] # $SEMVER_REMOTE_NAME = origin [2020-09-23T18:48:09.399Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-23T18:48:09.399Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-23T18:48:09.399Z] # $SEMVER_BRANCH = master [2020-09-23T18:48:09.399Z] # $SEMVER_TEMP = /tmp/semver-551436743 [2020-09-23T18:48:09.399Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-09-23T18:48:09.666Z] # '/tmp/semver-551436743' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2020-09-23T18:48:09.666Z] # -> Force: false [2020-09-23T18:48:09.666Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-09-23T18:48:09.681Z] $ docker exec --env ******** --env ******** d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad ssh-agent -k [2020-09-23T18:48:09.796Z] unset SSH_AUTH_SOCK; [2020-09-23T18:48:09.796Z] unset SSH_AGENT_PID; [2020-09-23T18:48:09.796Z] echo Agent pid 54 killed; [2020-09-23T18:48:09.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-23T18:48:10.336Z] + git semver [Pipeline] } [2020-09-23T18:48:10.356Z] $ docker stop --time=1 d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad [2020-09-23T18:48:11.715Z] $ docker rm -f d5739c8b3beab97cf40dede7bc4410d5ce0b5b89de1db75cbae82649788ab5ad [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-23T18:48:12.396Z] Stashed 24 file(s) [Pipeline] echo [2020-09-23T18:48:12.399Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.6 [Pipeline] echo [2020-09-23T18:48:12.491Z] Archived original version: [1.2.4-dev.6] [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 [2020-09-23T18:48:27.882Z] Still waiting to schedule task [2020-09-23T18:48:27.882Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-23T18:48:27.884Z] Still waiting to schedule task [2020-09-23T18:48:27.884Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-23T18:50:25.701Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1057 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-09-23T18:50:25.803Z] Running in /w/workspace/device-virtual-go/27 [Pipeline] { [Pipeline] checkout [2020-09-23T18:50:31.129Z] using credential edgex-jenkins-ssh [2020-09-23T18:50:31.205Z] Cloning the remote Git repository [2020-09-23T18:50:31.205Z] Cloning with configured refspecs honoured and without tags [2020-09-23T18:50:32.239Z] Fetching without tags [2020-09-23T18:50:31.277Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:50:31.382Z] > git init /w/workspace/device-virtual-go/27 # timeout=10 [2020-09-23T18:50:31.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:50:31.437Z] > git --version # timeout=10 [2020-09-23T18:50:31.457Z] > git --version # 'git version 2.17.1' [2020-09-23T18:50:31.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-23T18:50:31.519Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:50:32.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-23T18:50:32.185Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:50:32.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-23T18:50:32.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:50:32.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-23T18:50:32.269Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:50:32.717Z] Checking out Revision 5bf229cf24b8f9ed794e66431934aece6c25b156 (master) [2020-09-23T18:50:32.744Z] > git config core.sparsecheckout # timeout=10 [2020-09-23T18:50:32.766Z] > git checkout -f 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 [2020-09-23T18:50:37.258Z] Commit message: "Merge pull request #131 from cloudxxx8/issue-130" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-23T18:50:38.368Z] ========================================================= [2020-09-23T18:50:38.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-23T18:50:38.368Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:50:39.285Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-23T18:50:40.274Z] Sending build context to Docker daemon 549.4kB [2020-09-23T18:50:40.274Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-23T18:50:40.274Z] Step 2/8 : FROM ${BASE} [2020-09-23T18:50:40.553Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-23T18:50:40.553Z] b538f80385f9: Pulling fs layer [2020-09-23T18:50:40.553Z] 74f711af9a0d: Pulling fs layer [2020-09-23T18:50:40.553Z] 99f96fe45779: Pulling fs layer [2020-09-23T18:50:40.553Z] 8529a6b9a6be: Pulling fs layer [2020-09-23T18:50:40.553Z] 45590311c82a: Pulling fs layer [2020-09-23T18:50:40.553Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-23T18:50:40.553Z] 209524e5b208: Pulling fs layer [2020-09-23T18:50:40.553Z] 8529a6b9a6be: Waiting [2020-09-23T18:50:40.553Z] 45590311c82a: Waiting [2020-09-23T18:50:40.553Z] 69ca0ff8b7b3: Waiting [2020-09-23T18:50:40.553Z] 209524e5b208: Waiting [2020-09-23T18:50:40.553Z] 99f96fe45779: Download complete [2020-09-23T18:50:40.553Z] 74f711af9a0d: Verifying Checksum [2020-09-23T18:50:40.553Z] 74f711af9a0d: Download complete [2020-09-23T18:50:40.553Z] 45590311c82a: Download complete [2020-09-23T18:50:41.532Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-23T18:50:41.532Z] 69ca0ff8b7b3: Download complete [2020-09-23T18:50:41.532Z] b538f80385f9: Verifying Checksum [2020-09-23T18:50:41.532Z] b538f80385f9: Download complete [2020-09-23T18:50:42.128Z] b538f80385f9: Pull complete [2020-09-23T18:50:42.816Z] 74f711af9a0d: Pull complete [2020-09-23T18:50:43.101Z] 99f96fe45779: Pull complete [2020-09-23T18:50:44.084Z] 209524e5b208: Verifying Checksum [2020-09-23T18:50:45.064Z] 8529a6b9a6be: Verifying Checksum [2020-09-23T18:50:45.064Z] 8529a6b9a6be: Download complete [2020-09-23T18:50:57.487Z] 8529a6b9a6be: Pull complete [2020-09-23T18:50:57.487Z] 45590311c82a: Pull complete [2020-09-23T18:50:57.487Z] 69ca0ff8b7b3: Pull complete [2020-09-23T18:51:00.139Z] 209524e5b208: Pull complete [2020-09-23T18:51:00.139Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-23T18:51:00.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-23T18:51:00.139Z] ---> 5bddaf1c2fca [2020-09-23T18:51:00.139Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-23T18:51:02.782Z] ---> Running in e47de001fdb2 [2020-09-23T18:51:03.073Z] Removing intermediate container e47de001fdb2 [2020-09-23T18:51:03.073Z] ---> 83169e0dbe3d [2020-09-23T18:51:03.073Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-23T18:51:03.368Z] ---> Running in 57c1acbc4251 [2020-09-23T18:51:06.031Z] Removing intermediate container 57c1acbc4251 [2020-09-23T18:51:06.031Z] ---> b7149f94ef4d [2020-09-23T18:51:06.031Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-23T18:51:06.031Z] ---> Running in b628d53eeee1 [2020-09-23T18:51:07.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-23T18:51:08.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-23T18:51:09.052Z] (1/14) Installing libmagic (5.38-r0) [2020-09-23T18:51:09.326Z] (2/14) Installing file (5.38-r0) [2020-09-23T18:51:09.326Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-23T18:51:09.600Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-23T18:51:15.001Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-23T18:51:15.001Z] (6/14) Installing patch (2.7.6-r6) [2020-09-23T18:51:15.001Z] (7/14) Installing build-base (0.5-r2) [2020-09-23T18:51:15.001Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-23T18:51:15.001Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-23T18:51:15.001Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-23T18:51:15.594Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-23T18:51:15.594Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-23T18:51:15.594Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-23T18:51:15.872Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-23T18:51:15.872Z] Executing busybox-1.31.1-r16.trigger [2020-09-23T18:51:15.872Z] OK: 221 MiB in 53 packages [2020-09-23T18:51:20.194Z] Removing intermediate container b628d53eeee1 [2020-09-23T18:51:20.194Z] ---> 59c32bb9a487 [2020-09-23T18:51:20.194Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-23T18:51:20.194Z] ---> Running in 6704dd77ca5c [2020-09-23T18:51:20.788Z] Removing intermediate container 6704dd77ca5c [2020-09-23T18:51:20.788Z] ---> 0e97e896a75f [2020-09-23T18:51:20.788Z] Step 7/8 : COPY . . [2020-09-23T18:51:21.413Z] ---> 9befbf513491 [2020-09-23T18:51:21.413Z] Step 8/8 : RUN go mod download [2020-09-23T18:51:21.714Z] ---> Running in 14186e8ae922 [2020-09-23T18:51:30.794Z] Running on prd-centos7-docker-4c-2g-1058 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-09-23T18:51:30.862Z] Running in /w/workspace/device-virtual-go/27 [Pipeline] { [Pipeline] checkout [2020-09-23T18:51:36.880Z] Removing intermediate container 14186e8ae922 [2020-09-23T18:51:36.880Z] ---> edc591bc5792 [2020-09-23T18:51:36.880Z] Successfully built edc591bc5792 [2020-09-23T18:51:36.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:51:37.297Z] + docker inspect -f . ci-base-image-arm64 [2020-09-23T18:51:37.297Z] . [Pipeline] withDockerContainer [2020-09-23T18:51:37.586Z] prd-ubuntu18.04-docker-arm64-4c-16g-1057 does not seem to be running inside a container [2020-09-23T18:51:37.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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 ******** ci-base-image-arm64 cat [2020-09-23T18:51:39.498Z] $ docker top 5672f3797017a4c90602ebde77fd6c46a0cad77e12ee74d0db9090a6aad0a720 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-23T18:51:40.091Z] using credential edgex-jenkins-ssh [2020-09-23T18:51:40.169Z] Cloning the remote Git repository [2020-09-23T18:51:40.169Z] Cloning with configured refspecs honoured and without tags [2020-09-23T18:51:40.898Z] + go version [2020-09-23T18:51:40.898Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-23T18:51:40.928Z] $ docker stop --time=1 5672f3797017a4c90602ebde77fd6c46a0cad77e12ee74d0db9090a6aad0a720 [2020-09-23T18:51:41.507Z] Fetching without tags [2020-09-23T18:51:40.261Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:51:40.368Z] > git init /w/workspace/device-virtual-go/27 # timeout=10 [2020-09-23T18:51:40.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:51:40.525Z] > git --version # timeout=10 [2020-09-23T18:51:40.598Z] > git --version # 'git version 2.16.5' [2020-09-23T18:51:40.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-23T18:51:40.686Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:51:41.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-23T18:51:41.429Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:51:41.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-09-23T18:51:41.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-09-23T18:51:41.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-23T18:51:41.530Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-23T18:51:42.013Z] Checking out Revision 5bf229cf24b8f9ed794e66431934aece6c25b156 (master) [2020-09-23T18:51:42.846Z] $ docker rm -f 5672f3797017a4c90602ebde77fd6c46a0cad77e12ee74d0db9090a6aad0a720 [2020-09-23T18:51:42.046Z] > git config core.sparsecheckout # timeout=10 [2020-09-23T18:51:42.074Z] > git checkout -f 5bf229cf24b8f9ed794e66431934aece6c25b156 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-23T18:51:45.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-23T18:51:46.250Z] + ls -al . [2020-09-23T18:51:46.250Z] total 88 [2020-09-23T18:51:46.250Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:50 . [2020-09-23T18:51:46.250Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:50 .. [2020-09-23T18:51:46.250Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:50 .git [2020-09-23T18:51:46.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:50 .github [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 23 18:50 .gitignore [2020-09-23T18:51:46.250Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:50 .semver [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 6036 Sep 23 18:50 Attribution.txt [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 1834 Sep 23 18:50 Dockerfile [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 957 Sep 23 18:50 Dockerfile.build [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 23 18:50 Jenkinsfile [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 18:50 LICENSE [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 873 Sep 23 18:50 Makefile [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 918 Sep 23 18:50 README.md [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 23 18:48 VERSION [2020-09-23T18:51:46.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:50 bin [2020-09-23T18:51:46.250Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:50 cmd [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 862 Sep 23 18:50 go.mod [2020-09-23T18:51:46.250Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:50 internal [2020-09-23T18:51:46.250Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 23 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:51:46.599Z] + 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=5bf229cf24b8f9ed794e66431934aece6c25b156 --label arch=arm64 --label version=1.2.4-dev.6 . [2020-09-23T18:51:46.872Z] Sending build context to Docker daemon 549.4kB [2020-09-23T18:51:46.872Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-23T18:51:46.872Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-23T18:51:46.872Z] ---> edc591bc5792 [2020-09-23T18:51:46.872Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-23T18:51:47.061Z] Commit message: "Merge pull request #131 from cloudxxx8/issue-130" [2020-09-23T18:51:47.144Z] ---> Running in 18c0580cc279 [2020-09-23T18:51:47.418Z] Removing intermediate container 18c0580cc279 [2020-09-23T18:51:47.418Z] ---> 5168068494cc [2020-09-23T18:51:47.418Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-09-23T18:51:47.693Z] ---> Running in 47f389e0535d [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-23T18:51:47.975Z] Removing intermediate container 47f389e0535d [2020-09-23T18:51:47.975Z] ---> 3deaa984b047 [2020-09-23T18:51:47.975Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [Pipeline] echo [2020-09-23T18:51:48.249Z] ========================================================= [2020-09-23T18:51:48.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-23T18:51:48.249Z] ========================================================= [2020-09-23T18:51:48.258Z] ---> Running in d89c56413324 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:51:48.549Z] Removing intermediate container d89c56413324 [2020-09-23T18:51:48.549Z] ---> 25e14f9bc8ac [2020-09-23T18:51:48.549Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-23T18:51:48.827Z] ---> Running in dff61ec97de3 [2020-09-23T18:51:49.521Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-23T18:51:50.160Z] Sending build context to Docker daemon 549.4kB [2020-09-23T18:51:50.160Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-23T18:51:50.160Z] Step 2/8 : FROM ${BASE} [2020-09-23T18:51:50.437Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-23T18:51:50.437Z] df20fa9351a1: Pulling fs layer [2020-09-23T18:51:50.437Z] ed8968b2872e: Pulling fs layer [2020-09-23T18:51:50.437Z] a92cc7c5fd73: Pulling fs layer [2020-09-23T18:51:50.437Z] e871e8e8d7a9: Pulling fs layer [2020-09-23T18:51:50.437Z] e73272ec9a57: Pulling fs layer [2020-09-23T18:51:50.437Z] 1e910a182e73: Pulling fs layer [2020-09-23T18:51:50.437Z] 4e634b169226: Pulling fs layer [2020-09-23T18:51:50.437Z] e871e8e8d7a9: Waiting [2020-09-23T18:51:50.437Z] e73272ec9a57: Waiting [2020-09-23T18:51:50.437Z] 1e910a182e73: Waiting [2020-09-23T18:51:50.437Z] 4e634b169226: Waiting [2020-09-23T18:51:50.437Z] a92cc7c5fd73: Verifying Checksum [2020-09-23T18:51:50.437Z] a92cc7c5fd73: Download complete [2020-09-23T18:51:50.761Z] ed8968b2872e: Verifying Checksum [2020-09-23T18:51:50.761Z] ed8968b2872e: Download complete [2020-09-23T18:51:50.761Z] e73272ec9a57: Verifying Checksum [2020-09-23T18:51:50.761Z] e73272ec9a57: Download complete [2020-09-23T18:51:50.761Z] 1e910a182e73: Verifying Checksum [2020-09-23T18:51:50.761Z] 1e910a182e73: Download complete [2020-09-23T18:51:51.121Z] df20fa9351a1: Verifying Checksum [2020-09-23T18:51:51.121Z] df20fa9351a1: Download complete [2020-09-23T18:51:51.441Z] Removing intermediate container dff61ec97de3 [2020-09-23T18:51:51.441Z] ---> 07b6c1ce0f69 [2020-09-23T18:51:51.441Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-23T18:51:51.441Z] ---> Running in 7867606f4ec7 [2020-09-23T18:51:51.748Z] df20fa9351a1: Pull complete [2020-09-23T18:51:52.401Z] ed8968b2872e: Pull complete [2020-09-23T18:51:52.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-23T18:51:52.697Z] a92cc7c5fd73: Pull complete [2020-09-23T18:51:53.391Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-23T18:51:54.367Z] OK: 221 MiB in 53 packages [2020-09-23T18:51:55.366Z] Removing intermediate container 7867606f4ec7 [2020-09-23T18:51:55.366Z] ---> 3d18cad7cd4a [2020-09-23T18:51:55.366Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-23T18:51:55.366Z] ---> Running in 708efee00036 [2020-09-23T18:51:55.402Z] 4e634b169226: Verifying Checksum [2020-09-23T18:51:55.402Z] 4e634b169226: Download complete [2020-09-23T18:51:55.969Z] Removing intermediate container 708efee00036 [2020-09-23T18:51:55.970Z] ---> bae0e49aae5c [2020-09-23T18:51:55.970Z] Step 9/22 : COPY . . [2020-09-23T18:51:56.566Z] ---> c47dc221213a [2020-09-23T18:51:56.566Z] Step 10/22 : ARG MAKE='make build' [2020-09-23T18:51:56.840Z] ---> Running in 6447f35c3b88 [2020-09-23T18:51:57.114Z] Removing intermediate container 6447f35c3b88 [2020-09-23T18:51:57.114Z] ---> fee0f701cccc [2020-09-23T18:51:57.114Z] Step 11/22 : RUN $MAKE [2020-09-23T18:51:57.388Z] ---> Running in 1b5bd406c22b [2020-09-23T18:51:58.124Z] e871e8e8d7a9: Verifying Checksum [2020-09-23T18:51:58.124Z] e871e8e8d7a9: Download complete [2020-09-23T18:51:58.829Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.6" -o cmd/device-virtual ./cmd [2020-09-23T18:52:11.665Z] e871e8e8d7a9: Pull complete [2020-09-23T18:52:11.665Z] e73272ec9a57: Pull complete [2020-09-23T18:52:11.665Z] 1e910a182e73: Pull complete [2020-09-23T18:52:18.837Z] 4e634b169226: Pull complete [2020-09-23T18:52:18.837Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-23T18:52:18.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-23T18:52:18.837Z] ---> f7629b54cfaa [2020-09-23T18:52:18.837Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-23T18:52:18.837Z] ---> Running in b97b6632268a [2020-09-23T18:52:19.121Z] Removing intermediate container b97b6632268a [2020-09-23T18:52:19.121Z] ---> 2c62c153cd6c [2020-09-23T18:52:19.121Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-23T18:52:19.121Z] ---> Running in 3be9a2f1b13f [2020-09-23T18:52:21.412Z] Removing intermediate container 3be9a2f1b13f [2020-09-23T18:52:21.412Z] ---> 83046eb3a9d4 [2020-09-23T18:52:21.412Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-23T18:52:21.718Z] ---> Running in 71c85aa60383 [2020-09-23T18:52:23.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-23T18:52:23.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-23T18:52:24.459Z] (1/14) Installing libmagic (5.38-r0) [2020-09-23T18:52:24.459Z] (2/14) Installing file (5.38-r0) [2020-09-23T18:52:24.459Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-23T18:52:24.735Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-23T18:52:31.279Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-23T18:52:31.523Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-23T18:52:31.523Z] (6/14) Installing patch (2.7.6-r6) [2020-09-23T18:52:31.523Z] (7/14) Installing build-base (0.5-r2) [2020-09-23T18:52:31.523Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-23T18:52:31.523Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-23T18:52:31.523Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-23T18:52:31.523Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-23T18:52:31.819Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-23T18:52:31.819Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-23T18:52:31.819Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-23T18:52:32.119Z] Executing busybox-1.31.1-r16.trigger [2020-09-23T18:52:32.119Z] OK: 237 MiB in 53 packages [2020-09-23T18:52:35.585Z] Removing intermediate container 71c85aa60383 [2020-09-23T18:52:35.585Z] ---> 36008bb9f718 [2020-09-23T18:52:35.585Z] Step 6/8 : WORKDIR /device-virtual-go [2020-09-23T18:52:35.585Z] ---> Running in 1e2bf81a2ee0 [2020-09-23T18:52:35.880Z] Removing intermediate container 1e2bf81a2ee0 [2020-09-23T18:52:35.880Z] ---> 1bcf8b8aa37a [2020-09-23T18:52:35.880Z] Step 7/8 : COPY . . [2020-09-23T18:52:36.280Z] ---> 7ef2fb94e3ab [2020-09-23T18:52:36.280Z] Step 8/8 : RUN go mod download [2020-09-23T18:52:36.553Z] ---> Running in 35dbdd9d5134 [2020-09-23T18:52:36.702Z] Removing intermediate container 1b5bd406c22b [2020-09-23T18:52:36.703Z] ---> d9bc1b711af1 [2020-09-23T18:52:36.703Z] Step 12/22 : FROM alpine [2020-09-23T18:52:36.978Z] latest: Pulling from library/alpine [2020-09-23T18:52:37.253Z] b538f80385f9: Already exists [2020-09-23T18:52:37.253Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-23T18:52:37.253Z] Status: Downloaded newer image for alpine:latest [2020-09-23T18:52:37.253Z] ---> 62ee0e9f8440 [2020-09-23T18:52:37.253Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-23T18:52:37.528Z] ---> Running in ac0de81df68d [2020-09-23T18:52:37.806Z] Removing intermediate container ac0de81df68d [2020-09-23T18:52:37.806Z] ---> ed758c141b93 [2020-09-23T18:52:37.806Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-23T18:52:38.080Z] ---> Running in 4fcbed825148 [2020-09-23T18:52:38.355Z] Removing intermediate container 4fcbed825148 [2020-09-23T18:52:38.355Z] ---> e1cf57fb5288 [2020-09-23T18:52:38.355Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-23T18:52:40.348Z] ---> d37b7a3ee36e [2020-09-23T18:52:40.348Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-23T18:52:40.624Z] ---> f8529953d986 [2020-09-23T18:52:40.624Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-23T18:52:41.611Z] ---> 90677822d032 [2020-09-23T18:52:41.611Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-23T18:52:41.611Z] ---> Running in dc65f1083097 [2020-09-23T18:52:41.884Z] Removing intermediate container dc65f1083097 [2020-09-23T18:52:41.884Z] ---> 4f135e23fa1f [2020-09-23T18:52:41.884Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-23T18:52:42.158Z] ---> Running in bd26aa357044 [2020-09-23T18:52:42.433Z] Removing intermediate container bd26aa357044 [2020-09-23T18:52:42.433Z] ---> 846492db6db6 [2020-09-23T18:52:42.433Z] Step 20/22 : LABEL arch=arm64 [2020-09-23T18:52:42.704Z] ---> Running in 661cab7fcef8 [2020-09-23T18:52:42.974Z] Removing intermediate container 661cab7fcef8 [2020-09-23T18:52:42.974Z] ---> ac3223edb990 [2020-09-23T18:52:42.974Z] Step 21/22 : LABEL git_sha=5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:52:43.245Z] ---> Running in d3863b3e6fe1 [2020-09-23T18:52:43.517Z] Removing intermediate container d3863b3e6fe1 [2020-09-23T18:52:43.517Z] ---> 9c04d4305943 [2020-09-23T18:52:43.517Z] Step 22/22 : LABEL version=1.2.4-dev.6 [2020-09-23T18:52:43.790Z] ---> Running in eb4dc153ced4 [2020-09-23T18:52:44.061Z] Removing intermediate container eb4dc153ced4 [2020-09-23T18:52:44.061Z] ---> f4d389ed2b10 [2020-09-23T18:52:44.061Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-23T18:52:44.061Z] Successfully built f4d389ed2b10 [2020-09-23T18:52:44.061Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-23T18:52:44.763Z] provisioning config files... [2020-09-23T18:52:44.826Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config5838102920298757346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:52:45.246Z] ---> docker-login.sh [2020-09-23T18:52:45.246Z] nexus3.edgexfoundry.org:10001 [2020-09-23T18:52:45.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:52:45.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:52:45.798Z] Configure a credential helper to remove this warning. See [2020-09-23T18:52:45.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:52:45.798Z] [2020-09-23T18:52:45.798Z] Login Succeeded [2020-09-23T18:52:45.798Z] nexus3.edgexfoundry.org:10002 [2020-09-23T18:52:46.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:52:46.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:52:46.347Z] Configure a credential helper to remove this warning. See [2020-09-23T18:52:46.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:52:46.347Z] [2020-09-23T18:52:46.347Z] Login Succeeded [2020-09-23T18:52:46.347Z] nexus3.edgexfoundry.org:10003 [2020-09-23T18:52:46.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:52:46.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:52:46.901Z] Configure a credential helper to remove this warning. See [2020-09-23T18:52:46.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:52:46.901Z] [2020-09-23T18:52:46.901Z] Login Succeeded [2020-09-23T18:52:46.901Z] nexus3.edgexfoundry.org:10004 [2020-09-23T18:52:47.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:52:47.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:52:47.456Z] Configure a credential helper to remove this warning. See [2020-09-23T18:52:47.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:52:47.456Z] [2020-09-23T18:52:47.456Z] Login Succeeded [2020-09-23T18:52:47.456Z] docker.io [2020-09-23T18:52:47.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:52:48.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:52:48.713Z] Configure a credential helper to remove this warning. See [2020-09-23T18:52:48.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:52:48.713Z] [2020-09-23T18:52:48.713Z] Login Succeeded [2020-09-23T18:52:48.713Z] ---> docker-login.sh ends [Pipeline] } [2020-09-23T18:52:48.730Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-23T18:52:48.982Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2020-09-23T18:52:48.982Z] 5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:52:48.982Z] latest [2020-09-23T18:52:48.982Z] 1.2.4-dev.6 [2020-09-23T18:52:48.982Z] 5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:52:48.982Z] master [2020-09-23T18:52:48.982Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:49.537Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:49.881Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:52:49.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-09-23T18:52:49.881Z] 7c4d64132163: Preparing [2020-09-23T18:52:49.881Z] 70c375f00f4c: Preparing [2020-09-23T18:52:49.881Z] 6abea4538cc3: Preparing [2020-09-23T18:52:49.881Z] e2f13739ad41: Preparing [2020-09-23T18:52:50.152Z] e2f13739ad41: Layer already exists [2020-09-23T18:52:50.152Z] 7c4d64132163: Pushed [2020-09-23T18:52:50.152Z] 70c375f00f4c: Pushed [2020-09-23T18:52:52.814Z] 6abea4538cc3: Pushed [2020-09-23T18:52:53.115Z] 5bf229cf24b8f9ed794e66431934aece6c25b156: digest: sha256:e65b954a8ee2207bc70f54255b3b4fc0e1300fd283927c54fac235bd5beb7e5d size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:53.531Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:53.935Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-09-23T18:52:53.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-09-23T18:52:53.936Z] 7c4d64132163: Preparing [2020-09-23T18:52:53.936Z] 70c375f00f4c: Preparing [2020-09-23T18:52:53.936Z] 6abea4538cc3: Preparing [2020-09-23T18:52:53.936Z] e2f13739ad41: Preparing [2020-09-23T18:52:53.936Z] 6abea4538cc3: Layer already exists [2020-09-23T18:52:53.936Z] e2f13739ad41: Layer already exists [2020-09-23T18:52:53.936Z] 7c4d64132163: Layer already exists [2020-09-23T18:52:54.220Z] 70c375f00f4c: Layer already exists [2020-09-23T18:52:54.220Z] latest: digest: sha256:e65b954a8ee2207bc70f54255b3b4fc0e1300fd283927c54fac235bd5beb7e5d size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:54.647Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:55.067Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.6 [2020-09-23T18:52:55.067Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-09-23T18:52:55.067Z] 7c4d64132163: Preparing [2020-09-23T18:52:55.067Z] 70c375f00f4c: Preparing [2020-09-23T18:52:55.067Z] 6abea4538cc3: Preparing [2020-09-23T18:52:55.067Z] e2f13739ad41: Preparing [2020-09-23T18:52:55.128Z] Removing intermediate container 35dbdd9d5134 [2020-09-23T18:52:55.128Z] ---> a2c6f44a221a [2020-09-23T18:52:55.128Z] Successfully built a2c6f44a221a [2020-09-23T18:52:55.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:55.344Z] 6abea4538cc3: Layer already exists [2020-09-23T18:52:55.344Z] 7c4d64132163: Layer already exists [2020-09-23T18:52:55.344Z] e2f13739ad41: Layer already exists [2020-09-23T18:52:55.344Z] 70c375f00f4c: Layer already exists [2020-09-23T18:52:55.344Z] 1.2.4-dev.6: digest: sha256:e65b954a8ee2207bc70f54255b3b4fc0e1300fd283927c54fac235bd5beb7e5d size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:55.821Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-23T18:52:55.959Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:56.109Z] . [Pipeline] withDockerContainer [2020-09-23T18:52:56.328Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:52:56.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-09-23T18:52:56.328Z] 7c4d64132163: Preparing [2020-09-23T18:52:56.328Z] 70c375f00f4c: Preparing [2020-09-23T18:52:56.328Z] 6abea4538cc3: Preparing [2020-09-23T18:52:56.328Z] e2f13739ad41: Preparing [2020-09-23T18:52:56.328Z] 70c375f00f4c: Layer already exists [2020-09-23T18:52:56.328Z] e2f13739ad41: Layer already exists [2020-09-23T18:52:56.328Z] 7c4d64132163: Layer already exists [2020-09-23T18:52:56.328Z] 6abea4538cc3: Layer already exists [2020-09-23T18:52:56.533Z] prd-centos7-docker-4c-2g-1058 does not seem to be running inside a container [2020-09-23T18:52:56.600Z] 5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6: digest: sha256:e65b954a8ee2207bc70f54255b3b4fc0e1300fd283927c54fac235bd5beb7e5d size: 1155 [2020-09-23T18:52:56.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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 ******** ci-base-image-x86_64 cat [2020-09-23T18:52:58.441Z] $ docker top 2a49cc96731f7b082b091addd2e0275ab2cc23d4980d0e6244a5341a1f963490 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:52:59.408Z] + go version [2020-09-23T18:52:59.408Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-23T18:52:59.469Z] $ docker stop --time=1 2a49cc96731f7b082b091addd2e0275ab2cc23d4980d0e6244a5341a1f963490 [2020-09-23T18:52:59.511Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2020-09-23T18:53:00.992Z] $ docker rm -f 2a49cc96731f7b082b091addd2e0275ab2cc23d4980d0e6244a5341a1f963490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [2020-09-23T18:53:01.579Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2020-09-23T18:53:01.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-09-23T18:53:01.579Z] 7c4d64132163: Preparing [2020-09-23T18:53:01.579Z] 70c375f00f4c: Preparing [2020-09-23T18:53:01.579Z] 6abea4538cc3: Preparing [2020-09-23T18:53:01.579Z] e2f13739ad41: Preparing [2020-09-23T18:53:01.579Z] 70c375f00f4c: Layer already exists [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-23T18:53:01.854Z] 7c4d64132163: Layer already exists [2020-09-23T18:53:01.854Z] 6abea4538cc3: Layer already exists [2020-09-23T18:53:01.854Z] e2f13739ad41: Layer already exists [2020-09-23T18:53:01.854Z] master: digest: sha256:e65b954a8ee2207bc70f54255b3b4fc0e1300fd283927c54fac235bd5beb7e5d size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-23T18:53:02.280Z] ===================================================== [2020-09-23T18:53:02.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] echo [2020-09-23T18:53:02.474Z] taggedImages: [2020-09-23T18:53:02.474Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:53:02.475Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-09-23T18:53:02.475Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.6 [2020-09-23T18:53:02.475Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:53:02.475Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-23T18:53:02.678Z] + ls -al . [2020-09-23T18:53:02.678Z] total 60 [2020-09-23T18:53:02.678Z] drwxrwxr-x. 8 jenkins jenkins 4096 Sep 23 18:51 . [2020-09-23T18:53:02.678Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 23 18:51 .. [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 6036 Sep 23 18:51 Attribution.txt [2020-09-23T18:53:02.678Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 23 18:51 bin [2020-09-23T18:53:02.678Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 18:51 cmd [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 1834 Sep 23 18:51 Dockerfile [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 957 Sep 23 18:51 Dockerfile.build [2020-09-23T18:53:02.678Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 23 18:51 .git [2020-09-23T18:53:02.678Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 23 18:51 .github [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 258 Sep 23 18:51 .gitignore [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 862 Sep 23 18:51 go.mod [2020-09-23T18:53:02.678Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 23 18:51 internal [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 660 Sep 23 18:51 Jenkinsfile [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 18:51 LICENSE [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 873 Sep 23 18:51 Makefile [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 918 Sep 23 18:51 README.md [2020-09-23T18:53:02.678Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 23 18:51 .semver [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 23 18:48 VERSION [2020-09-23T18:53:02.678Z] -rw-rw-r--. 1 jenkins jenkins 235 Sep 23 18:51 version.go [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-09-23T18:53:03.152Z] + 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=5bf229cf24b8f9ed794e66431934aece6c25b156 --label arch=amd64 --label version=1.2.4-dev.6 . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-09-23T18:53:03.437Z] Sending build context to Docker daemon 549.4kB [2020-09-23T18:53:03.437Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-23T18:53:03.437Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-23T18:53:03.437Z] ---> a2c6f44a221a [2020-09-23T18:53:03.437Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-09-23T18:53:03.726Z] ---> Running in 9f88d2e261f7 [Pipeline] } [2020-09-23T18:53:03.990Z] Removing intermediate container 9f88d2e261f7 [2020-09-23T18:53:03.990Z] ---> db3d89f704da [2020-09-23T18:53:03.990Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-23T18:53:03.990Z] ---> Running in 39845058e247 [2020-09-23T18:53:04.259Z] Removing intermediate container 39845058e247 [2020-09-23T18:53:04.259Z] ---> a64b51ec86b2 [2020-09-23T18:53:04.259Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-09-23T18:53:04.259Z] ---> Running in 0cba7267a7ed [2020-09-23T18:53:04.259Z] Removing intermediate container 0cba7267a7ed [2020-09-23T18:53:04.259Z] ---> 3e2f56f3d478 [2020-09-23T18:53:04.259Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-23T18:53:04.534Z] ---> Running in 1032c5d609b1 [2020-09-23T18:53:05.546Z] Removing intermediate container 1032c5d609b1 [2020-09-23T18:53:05.546Z] ---> 87c8eabc12df [2020-09-23T18:53:05.546Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-23T18:53:05.827Z] ---> Running in fe5eea272241 [2020-09-23T18:53:06.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-23T18:53:07.012Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-23T18:53:07.619Z] OK: 237 MiB in 53 packages [2020-09-23T18:53:08.221Z] Removing intermediate container fe5eea272241 [2020-09-23T18:53:08.221Z] ---> abbb62d50137 [2020-09-23T18:53:08.221Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-09-23T18:53:08.510Z] ---> Running in 25467f87dd85 [2020-09-23T18:53:08.783Z] Removing intermediate container 25467f87dd85 [2020-09-23T18:53:08.783Z] ---> 033e77e98a36 [2020-09-23T18:53:08.783Z] Step 9/22 : COPY . . [2020-09-23T18:53:09.495Z] ---> eb48002ffbda [2020-09-23T18:53:09.495Z] Step 10/22 : ARG MAKE='make build' [2020-09-23T18:53:09.495Z] ---> Running in c7b07a43541f [2020-09-23T18:53:09.820Z] Removing intermediate container c7b07a43541f [2020-09-23T18:53:09.820Z] ---> ca4892adb241 [2020-09-23T18:53:09.820Z] Step 11/22 : RUN $MAKE [2020-09-23T18:53:10.160Z] ---> Running in 5456d585f468 [2020-09-23T18:53:10.818Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.6" -o cmd/device-virtual ./cmd [2020-09-23T18:53:33.923Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-23T18:53:36.738Z] Removing intermediate container 5456d585f468 [2020-09-23T18:53:36.738Z] ---> d2f60c5c5b33 [2020-09-23T18:53:36.738Z] Step 12/22 : FROM alpine [2020-09-23T18:53:36.738Z] latest: Pulling from library/alpine [2020-09-23T18:53:37.032Z] df20fa9351a1: Already exists [2020-09-23T18:53:37.032Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-23T18:53:37.424Z] Status: Downloaded newer image for alpine:latest [2020-09-23T18:53:37.424Z] ---> a24bb4013296 [2020-09-23T18:53:37.424Z] Step 13/22 : ENV APP_PORT=49990 [2020-09-23T18:53:37.424Z] ---> Running in b0d7e04a3f0e [2020-09-23T18:53:37.758Z] Removing intermediate container b0d7e04a3f0e [2020-09-23T18:53:37.758Z] ---> 3d88aaea7080 [2020-09-23T18:53:37.758Z] Step 14/22 : EXPOSE $APP_PORT [2020-09-23T18:53:37.758Z] ---> Running in cbe74c1ddf63 [2020-09-23T18:53:38.075Z] Removing intermediate container cbe74c1ddf63 [2020-09-23T18:53:38.075Z] ---> e85133a5b15f [2020-09-23T18:53:38.075Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-09-23T18:53:38.766Z] ---> 2ae591a92991 [2020-09-23T18:53:38.766Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-09-23T18:53:39.068Z] ---> 174ada87eff5 [2020-09-23T18:53:39.068Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-09-23T18:53:39.701Z] ---> b9653eaeb9b4 [2020-09-23T18:53:39.701Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-09-23T18:53:39.701Z] ---> Running in 4306db8097f0 [2020-09-23T18:53:40.319Z] Removing intermediate container 4306db8097f0 [2020-09-23T18:53:40.319Z] ---> 6e3a47f52d75 [2020-09-23T18:53:40.319Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-23T18:53:40.319Z] ---> Running in 6efec67f74df [2020-09-23T18:53:40.628Z] Removing intermediate container 6efec67f74df [2020-09-23T18:53:40.628Z] ---> d7b165110e57 [2020-09-23T18:53:40.628Z] Step 20/22 : LABEL arch=amd64 [2020-09-23T18:53:40.628Z] ---> Running in aae050b17018 [2020-09-23T18:53:40.937Z] Removing intermediate container aae050b17018 [2020-09-23T18:53:40.937Z] ---> 391a6ced0279 [2020-09-23T18:53:40.937Z] Step 21/22 : LABEL git_sha=5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:53:40.937Z] ---> Running in 44727934ff34 [2020-09-23T18:53:41.214Z] Removing intermediate container 44727934ff34 [2020-09-23T18:53:41.214Z] ---> 8ed1431c07b8 [2020-09-23T18:53:41.214Z] Step 22/22 : LABEL version=1.2.4-dev.6 [2020-09-23T18:53:41.506Z] ---> Running in cdca0f500851 [2020-09-23T18:53:41.802Z] Removing intermediate container cdca0f500851 [2020-09-23T18:53:41.802Z] ---> 58e62eb69973 [2020-09-23T18:53:41.802Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-23T18:53:41.802Z] Successfully built 58e62eb69973 [2020-09-23T18:53:41.802Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-23T18:53:42.267Z] provisioning config files... [2020-09-23T18:53:42.381Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config694849311654505431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:53:43.421Z] ---> docker-login.sh [2020-09-23T18:53:43.422Z] nexus3.edgexfoundry.org:10001 [2020-09-23T18:53:44.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:53:44.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:53:44.665Z] Configure a credential helper to remove this warning. See [2020-09-23T18:53:44.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:53:44.665Z] [2020-09-23T18:53:44.665Z] Login Succeeded [2020-09-23T18:53:44.665Z] nexus3.edgexfoundry.org:10002 [2020-09-23T18:53:45.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:53:45.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:53:45.637Z] Configure a credential helper to remove this warning. See [2020-09-23T18:53:45.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:53:45.638Z] [2020-09-23T18:53:45.638Z] Login Succeeded [2020-09-23T18:53:45.638Z] nexus3.edgexfoundry.org:10003 [2020-09-23T18:53:45.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:53:46.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:53:46.562Z] Configure a credential helper to remove this warning. See [2020-09-23T18:53:46.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:53:46.562Z] [2020-09-23T18:53:46.562Z] Login Succeeded [2020-09-23T18:53:46.562Z] nexus3.edgexfoundry.org:10004 [2020-09-23T18:53:46.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:53:46.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:53:46.883Z] Configure a credential helper to remove this warning. See [2020-09-23T18:53:46.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:53:46.883Z] [2020-09-23T18:53:46.883Z] Login Succeeded [2020-09-23T18:53:46.883Z] docker.io [2020-09-23T18:53:46.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-23T18:53:47.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-23T18:53:47.514Z] Configure a credential helper to remove this warning. See [2020-09-23T18:53:47.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-23T18:53:47.514Z] [2020-09-23T18:53:47.514Z] Login Succeeded [2020-09-23T18:53:47.514Z] ---> docker-login.sh ends [Pipeline] } [2020-09-23T18:53:47.553Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-23T18:53:47.793Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2020-09-23T18:53:47.794Z] 5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:53:47.794Z] latest [2020-09-23T18:53:47.794Z] 1.2.4-dev.6 [2020-09-23T18:53:47.794Z] 5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:53:47.794Z] master [2020-09-23T18:53:47.794Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:48.425Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:48.836Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:53:48.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-09-23T18:53:48.836Z] 6c5c31a0c064: Preparing [2020-09-23T18:53:48.836Z] 22d041cf9a8e: Preparing [2020-09-23T18:53:48.836Z] 7967f8ae8581: Preparing [2020-09-23T18:53:48.836Z] 50644c29ef5a: Preparing [2020-09-23T18:53:48.836Z] 50644c29ef5a: Layer already exists [2020-09-23T18:53:49.138Z] 22d041cf9a8e: Pushed [2020-09-23T18:53:49.138Z] 6c5c31a0c064: Pushed [2020-09-23T18:53:51.249Z] 7967f8ae8581: Pushed [2020-09-23T18:53:51.249Z] 5bf229cf24b8f9ed794e66431934aece6c25b156: digest: sha256:ed202f95c46fc7c701a57e84fadd20f7085a24a4c5c3c70c0ea55dce63c7becc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:51.683Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:52.082Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-09-23T18:53:52.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-09-23T18:53:52.082Z] 6c5c31a0c064: Preparing [2020-09-23T18:53:52.082Z] 22d041cf9a8e: Preparing [2020-09-23T18:53:52.082Z] 7967f8ae8581: Preparing [2020-09-23T18:53:52.082Z] 50644c29ef5a: Preparing [2020-09-23T18:53:52.082Z] 22d041cf9a8e: Layer already exists [2020-09-23T18:53:52.082Z] 6c5c31a0c064: Layer already exists [2020-09-23T18:53:52.082Z] 50644c29ef5a: Layer already exists [2020-09-23T18:53:52.082Z] 7967f8ae8581: Layer already exists [2020-09-23T18:53:52.082Z] latest: digest: sha256:ed202f95c46fc7c701a57e84fadd20f7085a24a4c5c3c70c0ea55dce63c7becc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:52.568Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:52.998Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.6 [2020-09-23T18:53:52.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-09-23T18:53:52.998Z] 6c5c31a0c064: Preparing [2020-09-23T18:53:52.998Z] 22d041cf9a8e: Preparing [2020-09-23T18:53:52.998Z] 7967f8ae8581: Preparing [2020-09-23T18:53:52.998Z] 50644c29ef5a: Preparing [2020-09-23T18:53:52.998Z] 22d041cf9a8e: Layer already exists [2020-09-23T18:53:52.998Z] 7967f8ae8581: Layer already exists [2020-09-23T18:53:52.998Z] 50644c29ef5a: Layer already exists [2020-09-23T18:53:52.998Z] 6c5c31a0c064: Layer already exists [2020-09-23T18:53:52.998Z] 1.2.4-dev.6: digest: sha256:ed202f95c46fc7c701a57e84fadd20f7085a24a4c5c3c70c0ea55dce63c7becc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:53.409Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:53.867Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:53:53.867Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-09-23T18:53:53.867Z] 6c5c31a0c064: Preparing [2020-09-23T18:53:53.867Z] 22d041cf9a8e: Preparing [2020-09-23T18:53:53.867Z] 7967f8ae8581: Preparing [2020-09-23T18:53:53.867Z] 50644c29ef5a: Preparing [2020-09-23T18:53:53.867Z] 6c5c31a0c064: Layer already exists [2020-09-23T18:53:53.867Z] 22d041cf9a8e: Layer already exists [2020-09-23T18:53:53.867Z] 50644c29ef5a: Layer already exists [2020-09-23T18:53:53.867Z] 7967f8ae8581: Layer already exists [2020-09-23T18:53:53.867Z] 5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6: digest: sha256:ed202f95c46fc7c701a57e84fadd20f7085a24a4c5c3c70c0ea55dce63c7becc size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:54.599Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:53:55.662Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2020-09-23T18:53:55.662Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-09-23T18:53:55.662Z] 6c5c31a0c064: Preparing [2020-09-23T18:53:55.662Z] 22d041cf9a8e: Preparing [2020-09-23T18:53:55.662Z] 7967f8ae8581: Preparing [2020-09-23T18:53:55.662Z] 50644c29ef5a: Preparing [2020-09-23T18:53:55.662Z] 22d041cf9a8e: Layer already exists [2020-09-23T18:53:55.662Z] 6c5c31a0c064: Layer already exists [2020-09-23T18:53:55.662Z] 7967f8ae8581: Layer already exists [2020-09-23T18:53:55.662Z] 50644c29ef5a: Layer already exists [2020-09-23T18:53:55.662Z] master: digest: sha256:ed202f95c46fc7c701a57e84fadd20f7085a24a4c5c3c70c0ea55dce63c7becc size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-23T18:53:55.923Z] ===================================================== [Pipeline] echo [2020-09-23T18:53:55.985Z] taggedImages: [2020-09-23T18:53:55.985Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:53:55.985Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-09-23T18:53:55.985Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.6 [2020-09-23T18:53:55.985Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156-1.2.4-dev.6 [2020-09-23T18:53:55.985Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-23T18:54:02.314Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-23T18:54:02.316Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-23T18:54:02.470Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:02.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-23T18:54:02.932Z] [2020-09-23T18:54:02.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:03.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-23T18:54:03.320Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-23T18:54:03.320Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-23T18:54:03.320Z] 408f87550127: Pulling fs layer [2020-09-23T18:54:03.320Z] fe522b08c979: Pulling fs layer [2020-09-23T18:54:03.320Z] 221eaa008020: Pulling fs layer [2020-09-23T18:54:03.320Z] 2a4607e5d6b9: Pulling fs layer [2020-09-23T18:54:03.320Z] 8f79b27c4fd2: Pulling fs layer [2020-09-23T18:54:03.320Z] e5c8dbe1645b: Pulling fs layer [2020-09-23T18:54:03.320Z] 23e8b3b47431: Pulling fs layer [2020-09-23T18:54:03.320Z] 5c568d65a230: Pulling fs layer [2020-09-23T18:54:03.320Z] 8f79b27c4fd2: Waiting [2020-09-23T18:54:03.320Z] e5c8dbe1645b: Waiting [2020-09-23T18:54:03.320Z] 23e8b3b47431: Waiting [2020-09-23T18:54:03.320Z] 5c568d65a230: Waiting [2020-09-23T18:54:03.320Z] 221eaa008020: Waiting [2020-09-23T18:54:03.320Z] 2a4607e5d6b9: Waiting [2020-09-23T18:54:03.320Z] fe522b08c979: Download complete [2020-09-23T18:54:03.320Z] 408f87550127: Download complete [2020-09-23T18:54:03.320Z] 2a4607e5d6b9: Verifying Checksum [2020-09-23T18:54:03.320Z] 2a4607e5d6b9: Download complete [2020-09-23T18:54:03.320Z] 8f79b27c4fd2: Verifying Checksum [2020-09-23T18:54:03.320Z] 8f79b27c4fd2: Download complete [2020-09-23T18:54:03.320Z] cbdbe7a5bc2a: Verifying Checksum [2020-09-23T18:54:03.320Z] cbdbe7a5bc2a: Download complete [2020-09-23T18:54:03.600Z] cbdbe7a5bc2a: Pull complete [2020-09-23T18:54:03.871Z] 408f87550127: Pull complete [2020-09-23T18:54:04.147Z] fe522b08c979: Pull complete [2020-09-23T18:54:04.736Z] e5c8dbe1645b: Verifying Checksum [2020-09-23T18:54:04.736Z] e5c8dbe1645b: Download complete [2020-09-23T18:54:06.159Z] 23e8b3b47431: Verifying Checksum [2020-09-23T18:54:06.159Z] 23e8b3b47431: Download complete [2020-09-23T18:54:06.159Z] 5c568d65a230: Verifying Checksum [2020-09-23T18:54:06.159Z] 5c568d65a230: Download complete [2020-09-23T18:54:07.124Z] 221eaa008020: Download complete [2020-09-23T18:54:12.473Z] 221eaa008020: Pull complete [2020-09-23T18:54:12.473Z] 2a4607e5d6b9: Pull complete [2020-09-23T18:54:12.473Z] 8f79b27c4fd2: Pull complete [2020-09-23T18:54:15.110Z] e5c8dbe1645b: Pull complete [2020-09-23T18:54:18.434Z] 23e8b3b47431: Pull complete [2020-09-23T18:54:19.838Z] 5c568d65a230: Pull complete [2020-09-23T18:54:19.838Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-23T18:54:19.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-23T18:54:19.838Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-23T18:54:20.025Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:54:20.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-23T18:54:21.227Z] $ docker top c5d7350efe4630dcd1837562ada419e4469029873f5ee93b428e6a1c6bacf787 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-23T18:54:21.756Z] + snyk monitor '--org=edgex-jenkins' [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e9ed56aa-4cb6-4ef1-ba2c-55d0921d65a3 [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] Snyk CLI supports Node.js 8 and higher. [2020-09-23T18:54:36.698Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-23T18:54:36.698Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-23T18:54:36.698Z] [2020-09-23T18:54:36.698Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-23T18:54:36.698Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-23T18:54:36.715Z] $ docker stop --time=1 c5d7350efe4630dcd1837562ada419e4469029873f5ee93b428e6a1c6bacf787 [2020-09-23T18:54:38.935Z] $ docker rm -f c5d7350efe4630dcd1837562ada419e4469029873f5ee93b428e6a1c6bacf787 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:40.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:54:40.400Z] [2020-09-23T18:54:40.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:40.755Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:54:40.755Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-23T18:54:40.755Z] e7c96db7181b: Pulling fs layer [2020-09-23T18:54:40.755Z] 1868ca2cb446: Pulling fs layer [2020-09-23T18:54:40.755Z] 136be5d0fe8e: Pulling fs layer [2020-09-23T18:54:40.755Z] 894bfe63afcb: Pulling fs layer [2020-09-23T18:54:40.755Z] 894bfe63afcb: Waiting [2020-09-23T18:54:40.755Z] 1868ca2cb446: Verifying Checksum [2020-09-23T18:54:40.755Z] 1868ca2cb446: Download complete [2020-09-23T18:54:40.755Z] 136be5d0fe8e: Verifying Checksum [2020-09-23T18:54:40.755Z] 136be5d0fe8e: Download complete [2020-09-23T18:54:40.755Z] e7c96db7181b: Verifying Checksum [2020-09-23T18:54:40.755Z] e7c96db7181b: Download complete [2020-09-23T18:54:41.018Z] 894bfe63afcb: Verifying Checksum [2020-09-23T18:54:41.018Z] 894bfe63afcb: Download complete [2020-09-23T18:54:41.283Z] e7c96db7181b: Pull complete [2020-09-23T18:54:41.283Z] 1868ca2cb446: Pull complete [2020-09-23T18:54:41.550Z] 136be5d0fe8e: Pull complete [2020-09-23T18:54:41.813Z] 894bfe63afcb: Pull complete [2020-09-23T18:54:41.813Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-23T18:54:41.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:54:41.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-23T18:54:41.919Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:54:41.970Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-23T18:54:43.332Z] $ docker top 94ad53edf002bdeddbb70890d55cfefab582e23ebe221f867992657dfd60fbd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-23T18:54:43.865Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:54:43.865Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-23T18:54:48.267Z] $ docker stop --time=1 94ad53edf002bdeddbb70890d55cfefab582e23ebe221f867992657dfd60fbd0 [2020-09-23T18:54:49.625Z] $ docker rm -f 94ad53edf002bdeddbb70890d55cfefab582e23ebe221f867992657dfd60fbd0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:50.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:54:50.096Z] . [Pipeline] withDockerContainer [2020-09-23T18:54:50.191Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:54:50.240Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-23T18:54:50.813Z] $ docker top 2164258e02d3ebd31f44d5a1782aa5f607996957f3b39cbfa4da350da6db602d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-23T18:54:51.346Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:54:51.346Z] + tee [2020-09-23T18:54:51.346Z] clair timeout 1m0s [2020-09-23T18:54:51.346Z] docker timeout: 1m0s [2020-09-23T18:54:51.346Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-23T18:54:52.043Z] $ docker stop --time=1 2164258e02d3ebd31f44d5a1782aa5f607996957f3b39cbfa4da350da6db602d [2020-09-23T18:54:53.409Z] $ docker rm -f 2164258e02d3ebd31f44d5a1782aa5f607996957f3b39cbfa4da350da6db602d [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-23T18:54:53.889Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo [2020-09-23T18:54:53.903Z] Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_5bf229cf24b8f9ed794e66431934aece6c25b156.html [Pipeline] writeFile [Pipeline] step [2020-09-23T18:54:53.964Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:54:54.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:54:54.314Z] . [Pipeline] withDockerContainer [2020-09-23T18:54:54.406Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:54:54.447Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-23T18:54:55.349Z] $ docker top 07cd4ac62e67efcba11502a272fae2c7f7141e81b7d25ddf018e873c29c167ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-23T18:54:56.047Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:54:56.047Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-23T18:54:59.582Z] $ docker stop --time=1 07cd4ac62e67efcba11502a272fae2c7f7141e81b7d25ddf018e873c29c167ff [2020-09-23T18:55:00.909Z] $ docker rm -f 07cd4ac62e67efcba11502a272fae2c7f7141e81b7d25ddf018e873c29c167ff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:01.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-23T18:55:01.375Z] . [Pipeline] withDockerContainer [2020-09-23T18:55:01.471Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:55:01.521Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-23T18:55:02.092Z] $ docker top b66fa9607ac0fddf58a493ab9a82777576980e20d159a5223a7dab4cc2756cb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-23T18:55:02.620Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:5bf229cf24b8f9ed794e66431934aece6c25b156 [2020-09-23T18:55:02.620Z] + tee [2020-09-23T18:55:02.620Z] clair timeout 1m0s [2020-09-23T18:55:02.620Z] docker timeout: 1m0s [2020-09-23T18:55:02.620Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-23T18:55:03.348Z] $ docker stop --time=1 b66fa9607ac0fddf58a493ab9a82777576980e20d159a5223a7dab4cc2756cb7 [2020-09-23T18:55:05.003Z] $ docker rm -f b66fa9607ac0fddf58a493ab9a82777576980e20d159a5223a7dab4cc2756cb7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-23T18:55:05.470Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo [2020-09-23T18:55:05.484Z] Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_5bf229cf24b8f9ed794e66431934aece6c25b156.html [Pipeline] writeFile [Pipeline] step [2020-09-23T18:55:05.575Z] Archiving artifacts [Pipeline] } [Pipeline] // script [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:06.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:55:06.826Z] . [Pipeline] withDockerContainer [2020-09-23T18:55:06.969Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:55:07.023Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-23T18:55:07.729Z] $ docker top 93906b1b4539078e4a573452c41b830a39dc1fdb8a3a41f77e1612aee79450ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-23T18:55:08.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-23T18:55:08.028Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-23T18:55:08.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-23T18:55:08.239Z] $ docker exec 93906b1b4539078e4a573452c41b830a39dc1fdb8a3a41f77e1612aee79450ad ssh-agent [2020-09-23T18:55:08.409Z] SSH_AUTH_SOCK=/tmp/ssh-Mq0joA2yf8a5/agent.12 [2020-09-23T18:55:08.409Z] SSH_AGENT_PID=17 [2020-09-23T18:55:08.417Z] Running ssh-add (command line suppressed) [2020-09-23T18:55:08.541Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4069991522453454997.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4069991522453454997.key) [2020-09-23T18:55:08.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-23T18:55:08.940Z] + git semver tag [2020-09-23T18:55:08.940Z] # -> Open(): unable to determine branch for HEAD [2020-09-23T18:55:08.940Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-09-23T18:55:08.940Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-09-23T18:55:08.940Z] # $SEMVER_REMOTE_NAME = origin [2020-09-23T18:55:08.940Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-23T18:55:08.940Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-23T18:55:08.940Z] # $SEMVER_BRANCH = master [2020-09-23T18:55:08.940Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-09-23T18:55:08.940Z] # 5bf229cf24b8f9ed794e66431934aece6c25b156 HEAD [2020-09-23T18:55:08.940Z] # -> Force: false [2020-09-23T18:55:08.940Z] # 9c48b0ab824c5135898004bd03c4599f102bbd2b refs/tags/v1.2.4-dev.6 [Pipeline] } [2020-09-23T18:55:08.954Z] $ docker exec --env ******** --env ******** 93906b1b4539078e4a573452c41b830a39dc1fdb8a3a41f77e1612aee79450ad ssh-agent -k [2020-09-23T18:55:09.068Z] unset SSH_AUTH_SOCK; [2020-09-23T18:55:09.068Z] unset SSH_AGENT_PID; [2020-09-23T18:55:09.068Z] echo Agent pid 17 killed; [2020-09-23T18:55:09.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-23T18:55:09.608Z] + git semver [Pipeline] } [2020-09-23T18:55:09.628Z] $ docker stop --time=1 93906b1b4539078e4a573452c41b830a39dc1fdb8a3a41f77e1612aee79450ad [2020-09-23T18:55:10.956Z] $ docker rm -f 93906b1b4539078e4a573452c41b830a39dc1fdb8a3a41f77e1612aee79450ad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:11.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-23T18:55:11.586Z] [2020-09-23T18:55:11.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:11.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-23T18:55:11.937Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-23T18:55:11.937Z] ab5ef0e58194: Pulling fs layer [2020-09-23T18:55:11.937Z] 9712f1f96733: Pulling fs layer [2020-09-23T18:55:11.937Z] 63f879dbbcfc: Pulling fs layer [2020-09-23T18:55:11.937Z] 0d9ebad4ef96: Pulling fs layer [2020-09-23T18:55:11.937Z] e9a5061849ea: Pulling fs layer [2020-09-23T18:55:11.937Z] d747dcd14b5f: Pulling fs layer [2020-09-23T18:55:11.937Z] 2de7ff778b66: Pulling fs layer [2020-09-23T18:55:11.937Z] e9a5061849ea: Waiting [2020-09-23T18:55:11.937Z] 0d9ebad4ef96: Waiting [2020-09-23T18:55:11.937Z] 2de7ff778b66: Waiting [2020-09-23T18:55:11.937Z] d747dcd14b5f: Waiting [2020-09-23T18:55:11.937Z] 9712f1f96733: Verifying Checksum [2020-09-23T18:55:11.937Z] 9712f1f96733: Download complete [2020-09-23T18:55:13.327Z] 63f879dbbcfc: Verifying Checksum [2020-09-23T18:55:13.327Z] 63f879dbbcfc: Download complete [2020-09-23T18:55:13.592Z] e9a5061849ea: Verifying Checksum [2020-09-23T18:55:13.592Z] e9a5061849ea: Download complete [2020-09-23T18:55:13.592Z] d747dcd14b5f: Download complete [2020-09-23T18:55:14.169Z] 2de7ff778b66: Verifying Checksum [2020-09-23T18:55:14.169Z] 2de7ff778b66: Download complete [2020-09-23T18:55:14.169Z] 0d9ebad4ef96: Download complete [2020-09-23T18:55:14.435Z] ab5ef0e58194: Verifying Checksum [2020-09-23T18:55:14.435Z] ab5ef0e58194: Download complete [2020-09-23T18:55:18.689Z] ab5ef0e58194: Pull complete [2020-09-23T18:55:18.689Z] 9712f1f96733: Pull complete [2020-09-23T18:55:21.251Z] 63f879dbbcfc: Pull complete [2020-09-23T18:55:27.869Z] 0d9ebad4ef96: Pull complete [2020-09-23T18:55:28.816Z] e9a5061849ea: Pull complete [2020-09-23T18:55:28.816Z] d747dcd14b5f: Pull complete [2020-09-23T18:55:31.387Z] 2de7ff778b66: Pull complete [2020-09-23T18:55:31.387Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-23T18:55:31.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-23T18:55:31.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-23T18:55:31.569Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:55:31.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-23T18:55:35.753Z] $ docker top f151c5c96f9b02fe19e767068aeff18222deab69fcb16293bb4184e8658d30e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-23T18:55:35.988Z] provisioning config files... [2020-09-23T18:55:36.002Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8447667617429938483tmp [2020-09-23T18:55:36.022Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7955324840103158514tmp [2020-09-23T18:55:36.036Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2874553733049968631tmp [Pipeline] { [Pipeline] echo [2020-09-23T18:55:36.100Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:55:36.396Z] ---> sigul-configuration.sh [2020-09-23T18:55:36.396Z] gpg: directory `/root/.gnupg' created [2020-09-23T18:55:36.396Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-23T18:55:36.396Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-23T18:55:36.396Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-23T18:55:36.396Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-23T18:55:36.396Z] gpg: CAST5 encrypted data [2020-09-23T18:55:36.657Z] gpg: encrypted with 1 passphrase [2020-09-23T18:55:36.657Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-23T18:55:36.954Z] + mkdir /home/jenkins [2020-09-23T18:55:36.954Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-23T18:55:37.254Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-09-23T18:55:37.265Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:55:37.566Z] ---> sigul-install.sh [2020-09-23T18:55:44.166Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-23T18:55:44.467Z] + git tag --list [2020-09-23T18:55:44.467Z] v1.2.4-dev.6 [Pipeline] sh [2020-09-23T18:55:44.807Z] + lftools sign git-tag v1.2.4-dev.6 [2020-09-23T18:55:46.203Z] Signing Git tag with Sigul... [2020-09-23T18:55:46.203Z] Signing v1.2.4-dev.6 [Pipeline] echo [2020-09-23T18:55:47.160Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:55:47.459Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-23T18:55:47.469Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-23T18:55:47.570Z] $ docker stop --time=1 f151c5c96f9b02fe19e767068aeff18222deab69fcb16293bb4184e8658d30e2 [2020-09-23T18:55:49.375Z] $ docker rm -f f151c5c96f9b02fe19e767068aeff18222deab69fcb16293bb4184e8658d30e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:50.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:55:50.257Z] . [Pipeline] withDockerContainer [2020-09-23T18:55:50.358Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:55:50.407Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-23T18:55:51.007Z] $ docker top 918c4a1d808d29b9fa274dcd932a980659c1aae1728b776eaac229f04b9236d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-23T18:55:51.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-23T18:55:51.355Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-23T18:55:51.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-23T18:55:51.550Z] $ docker exec 918c4a1d808d29b9fa274dcd932a980659c1aae1728b776eaac229f04b9236d9 ssh-agent [2020-09-23T18:55:51.721Z] SSH_AUTH_SOCK=/tmp/ssh-Wnof3GDOoqP5/agent.12 [2020-09-23T18:55:51.721Z] SSH_AGENT_PID=17 [2020-09-23T18:55:51.728Z] Running ssh-add (command line suppressed) [2020-09-23T18:55:51.860Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7713492644596319578.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7713492644596319578.key) [2020-09-23T18:55:51.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-23T18:55:52.257Z] + git semver bump pre [2020-09-23T18:55:52.258Z] # -> Open(): unable to determine branch for HEAD [2020-09-23T18:55:52.258Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-09-23T18:55:52.258Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-09-23T18:55:52.258Z] # $SEMVER_REMOTE_NAME = origin [2020-09-23T18:55:52.258Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-23T18:55:52.258Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-23T18:55:52.258Z] # $SEMVER_BRANCH = master [2020-09-23T18:55:52.258Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-09-23T18:55:52.258Z] 1.2.4-dev.7 [Pipeline] } [2020-09-23T18:55:52.272Z] $ docker exec --env ******** --env ******** 918c4a1d808d29b9fa274dcd932a980659c1aae1728b776eaac229f04b9236d9 ssh-agent -k [2020-09-23T18:55:52.403Z] unset SSH_AUTH_SOCK; [2020-09-23T18:55:52.403Z] unset SSH_AGENT_PID; [2020-09-23T18:55:52.403Z] echo Agent pid 17 killed; [2020-09-23T18:55:52.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-23T18:55:52.937Z] + git semver [Pipeline] } [2020-09-23T18:55:52.954Z] $ docker stop --time=1 918c4a1d808d29b9fa274dcd932a980659c1aae1728b776eaac229f04b9236d9 [2020-09-23T18:55:54.307Z] $ docker rm -f 918c4a1d808d29b9fa274dcd932a980659c1aae1728b776eaac229f04b9236d9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:55:54.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-23T18:55:54.865Z] . [Pipeline] withDockerContainer [2020-09-23T18:55:54.964Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:55:55.011Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-23T18:55:55.631Z] $ docker top e3582965895127253e3a0608ae0a39408c01d472670ed38b051eced370207d2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-23T18:55:55.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-23T18:55:55.909Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-23T18:55:56.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-23T18:55:56.092Z] $ docker exec e3582965895127253e3a0608ae0a39408c01d472670ed38b051eced370207d2c ssh-agent [2020-09-23T18:55:56.265Z] SSH_AUTH_SOCK=/tmp/ssh-aPA58NzC6bf0/agent.13 [2020-09-23T18:55:56.265Z] SSH_AGENT_PID=19 [2020-09-23T18:55:56.272Z] Running ssh-add (command line suppressed) [2020-09-23T18:55:56.401Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2498243636507493773.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2498243636507493773.key) [2020-09-23T18:55:56.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-23T18:55:56.810Z] + git semver push [2020-09-23T18:55:56.810Z] # -> Open(): unable to determine branch for HEAD [2020-09-23T18:55:56.810Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-09-23T18:55:56.810Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-09-23T18:55:56.810Z] # $SEMVER_REMOTE_NAME = origin [2020-09-23T18:55:56.810Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-23T18:55:56.810Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-23T18:55:56.810Z] # $SEMVER_BRANCH = master [2020-09-23T18:55:56.810Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-09-23T18:56:03.431Z] $ docker exec --env ******** --env ******** e3582965895127253e3a0608ae0a39408c01d472670ed38b051eced370207d2c ssh-agent -k [2020-09-23T18:56:03.627Z] unset SSH_AUTH_SOCK; [2020-09-23T18:56:03.627Z] unset SSH_AGENT_PID; [2020-09-23T18:56:03.627Z] echo Agent pid 19 killed; [2020-09-23T18:56:03.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-23T18:56:04.178Z] + git semver [Pipeline] } [2020-09-23T18:56:04.196Z] $ docker stop --time=1 e3582965895127253e3a0608ae0a39408c01d472670ed38b051eced370207d2c [2020-09-23T18:56:05.572Z] $ docker rm -f e3582965895127253e3a0608ae0a39408c01d472670ed38b051eced370207d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2020-09-23T18:56:06.910Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:56:07.479Z] ---> package-listing.sh [2020-09-23T18:56:07.479Z] ++ facter osfamily [2020-09-23T18:56:07.479Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-23T18:56:07.479Z] + OS_FAMILY=redhat [2020-09-23T18:56:07.479Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2020-09-23T18:56:07.479Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-23T18:56:07.479Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-23T18:56:07.479Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-23T18:56:07.479Z] + PACKAGES=/tmp/packages_start.txt [2020-09-23T18:56:07.479Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-09-23T18:56:07.479Z] + PACKAGES=/tmp/packages_end.txt [2020-09-23T18:56:07.479Z] + case "${OS_FAMILY}" in [2020-09-23T18:56:07.479Z] + rpm -qa [2020-09-23T18:56:07.479Z] + sort [2020-09-23T18:56:11.695Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-23T18:56:11.695Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-23T18:56:11.695Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-23T18:56:11.695Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-09-23T18:56:11.695Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2020-09-23T18:56:11.695Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:56:12.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-23T18:56:12.350Z] [2020-09-23T18:56:12.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-23T18:56:12.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-23T18:56:12.758Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-23T18:56:12.758Z] df20fa9351a1: Pulling fs layer [2020-09-23T18:56:12.758Z] 36b3adc4ff6f: Pulling fs layer [2020-09-23T18:56:12.758Z] 8ad3a11d3b57: Pulling fs layer [2020-09-23T18:56:12.758Z] 46f8f816bc3b: Pulling fs layer [2020-09-23T18:56:12.758Z] 0dadc02b9964: Pulling fs layer [2020-09-23T18:56:12.758Z] ce6a7cf60c04: Pulling fs layer [2020-09-23T18:56:12.758Z] 7a184a31f384: Pulling fs layer [2020-09-23T18:56:12.758Z] 0879bd2ef858: Pulling fs layer [2020-09-23T18:56:12.758Z] 0dadc02b9964: Waiting [2020-09-23T18:56:12.758Z] ce6a7cf60c04: Waiting [2020-09-23T18:56:12.758Z] 7a184a31f384: Waiting [2020-09-23T18:56:12.758Z] 0879bd2ef858: Waiting [2020-09-23T18:56:12.758Z] 46f8f816bc3b: Waiting [2020-09-23T18:56:12.758Z] 36b3adc4ff6f: Verifying Checksum [2020-09-23T18:56:12.758Z] 36b3adc4ff6f: Download complete [2020-09-23T18:56:12.758Z] 46f8f816bc3b: Verifying Checksum [2020-09-23T18:56:12.758Z] 46f8f816bc3b: Download complete [2020-09-23T18:56:13.024Z] df20fa9351a1: Verifying Checksum [2020-09-23T18:56:13.024Z] df20fa9351a1: Download complete [2020-09-23T18:56:13.024Z] ce6a7cf60c04: Verifying Checksum [2020-09-23T18:56:13.024Z] ce6a7cf60c04: Download complete [2020-09-23T18:56:13.024Z] 7a184a31f384: Verifying Checksum [2020-09-23T18:56:13.024Z] 7a184a31f384: Download complete [2020-09-23T18:56:13.024Z] 0dadc02b9964: Verifying Checksum [2020-09-23T18:56:13.024Z] 0dadc02b9964: Download complete [2020-09-23T18:56:13.024Z] 8ad3a11d3b57: Verifying Checksum [2020-09-23T18:56:13.024Z] 8ad3a11d3b57: Download complete [2020-09-23T18:56:13.288Z] df20fa9351a1: Pull complete [2020-09-23T18:56:13.551Z] 0879bd2ef858: Download complete [2020-09-23T18:56:13.551Z] 36b3adc4ff6f: Pull complete [2020-09-23T18:56:14.134Z] 8ad3a11d3b57: Pull complete [2020-09-23T18:56:14.395Z] 46f8f816bc3b: Pull complete [2020-09-23T18:56:14.657Z] 0dadc02b9964: Pull complete [2020-09-23T18:56:14.657Z] ce6a7cf60c04: Pull complete [2020-09-23T18:56:14.922Z] 7a184a31f384: Pull complete [2020-09-23T18:56:18.248Z] 0879bd2ef858: Pull complete [2020-09-23T18:56:18.248Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-23T18:56:18.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-23T18:56:18.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-23T18:56:18.382Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-23T18:56:18.426Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-23T18:56:21.097Z] $ docker top 6557604ce4e1f5f26eb7501b9e8b5613e6ccf412089ada7065bc8a083eef987e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-23T18:56:21.606Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-23T18:56:21.905Z] + ls /var/log/sa-host [2020-09-23T18:56:21.905Z] + sadf -c /var/log/sa-host/sa05 [2020-09-23T18:56:21.905Z] file_magic: OK [2020-09-23T18:56:21.905Z] HZ: Using current value: 100 [2020-09-23T18:56:21.905Z] file_header: OK [2020-09-23T18:56:21.905Z] 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 [2020-09-23T18:56:21.905Z] Statistics: [2020-09-23T18:56:21.905Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-23T18:56:21.905Z] File successfully converted to sysstat format version 12.2.1 [2020-09-23T18:56:21.905Z] + sadf -c /var/log/sa-host/sa23 [2020-09-23T18:56:21.905Z] file_magic: OK [2020-09-23T18:56:21.905Z] HZ: Using current value: 100 [2020-09-23T18:56:21.905Z] file_header: OK [2020-09-23T18:56:21.905Z] 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 [2020-09-23T18:56:21.905Z] Statistics: [2020-09-23T18:56:21.905Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-23T18:56:21.905Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-23T18:56:21.964Z] provisioning config files... [2020-09-23T18:56:21.979Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3137962339834542853tmp [Pipeline] { [Pipeline] echo [2020-09-23T18:56:22.062Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:56:22.356Z] ---> create-netrc.sh [Pipeline] echo [2020-09-23T18:56:22.367Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-23T18:56:22.667Z] ---> logs-deploy.sh [2020-09-23T18:56:22.667Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/27 [2020-09-23T18:56:22.667Z] INFO: archiving workspace using pattern(s): [2020-09-23T18:56:24.057Z] Archives upload complete. [2020-09-23T18:56:24.057Z] INFO: archiving logs to Nexus