Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c9d1bc531ce8d239853a83473b53448fb6f2334c 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-9371 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 repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 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 --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision c9d1bc531ce8d239853a83473b53448fb6f2334c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 Commit message: "Merge pull request #143 from weichou1229/issue-142" > git rev-list --no-walk 5333790cbfc620bb38957914a0d65453366236ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-28T02:59:34.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-28T02:59:35.156Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-28T02:59:35.257Z] ========================================================= [2020-10-28T02:59:35.257Z] EdgeX Global Pipelines Version Info [2020-10-28T02:59:35.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-28T02:59:38.085Z] ------------------- [2020-10-28T02:59:38.085Z] stable info: [2020-10-28T02:59:38.085Z] ------------------- [2020-10-28T02:59:38.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-28T02:59:38.085Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-28T02:59:38.085Z] Message: update stable to v1.0.148 [2020-10-28T02:59:39.106Z] ------------------- [2020-10-28T02:59:39.106Z] experimental info: [2020-10-28T02:59:39.106Z] ------------------- [2020-10-28T02:59:39.106Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-28T02:59:39.106Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-28T02:59:39.106Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-28T02:59:39.538Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2020-10-28T02:59:39.641Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2020-10-28T02:59:39.747Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-28T02:59:39.864Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-28T02:59:39.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-28T02:59:40.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-28T02:59:40.198Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-28T02:59:40.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-28T02:59:40.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-28T02:59:40.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-28T02:59:40.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-28T02:59:40.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2020-10-28T02:59:40.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-28T02:59:41.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-28T02:59:41.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T02:59:41.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T02:59:41.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T02:59:41.515Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T02:59:41.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-28T02:59:41.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-28T02:59:41.860Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-28T02:59:41.978Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-28T02:59:42.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-28T02:59:42.182Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-28T02:59:42.284Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-28T02:59:42.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-10-28T02:59:42.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-10-28T02:59:42.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-10-28T02:59:42.749Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] echo [2020-10-28T02:59:42.843Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9d1bc5 [Pipeline] echo [2020-10-28T02:59:43.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T02:59:43.711Z] + git log --format=format:%s -1 c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] echo [2020-10-28T02:59:43.794Z] GIT_COMMIT: c9d1bc531ce8d239853a83473b53448fb6f2334c, Commit Message: Merge pull request #143 from weichou1229/issue-142 [Pipeline] echo [2020-10-28T02:59:43.839Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:59:44.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:59:45.212Z] [2020-10-28T02:59:45.212Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T02:59:45.645Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:59:45.919Z] latest: Pulling from edgex-devops/git-semver [2020-10-28T02:59:45.919Z] 31603596830f: Pulling fs layer [2020-10-28T02:59:45.919Z] 2a8b12db71e7: Pulling fs layer [2020-10-28T02:59:45.919Z] 6ca5941a6612: Pulling fs layer [2020-10-28T02:59:45.919Z] ecc8261a40a4: Pulling fs layer [2020-10-28T02:59:45.919Z] ecc8261a40a4: Waiting [2020-10-28T02:59:45.919Z] 2a8b12db71e7: Verifying Checksum [2020-10-28T02:59:45.919Z] 2a8b12db71e7: Download complete [2020-10-28T02:59:46.223Z] 31603596830f: Verifying Checksum [2020-10-28T02:59:46.223Z] 31603596830f: Download complete [2020-10-28T02:59:46.851Z] ecc8261a40a4: Verifying Checksum [2020-10-28T02:59:46.851Z] ecc8261a40a4: Download complete [2020-10-28T02:59:46.851Z] 6ca5941a6612: Verifying Checksum [2020-10-28T02:59:46.851Z] 6ca5941a6612: Download complete [2020-10-28T02:59:46.851Z] 31603596830f: Pull complete [2020-10-28T02:59:47.124Z] 2a8b12db71e7: Pull complete [2020-10-28T02:59:48.663Z] 6ca5941a6612: Pull complete [2020-10-28T02:59:48.930Z] ecc8261a40a4: Pull complete [2020-10-28T02:59:48.930Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-28T02:59:48.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T02:59:48.930Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-28T02:59:49.337Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T02:59:49.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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-10-28T02:59:52.286Z] $ docker top 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T02:59:52.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T02:59:52.788Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T02:59:53.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T02:59:53.202Z] $ docker exec 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent [2020-10-28T02:59:53.559Z] SSH_AUTH_SOCK=/tmp/ssh-hPjMiANU0TZd/agent.11 [2020-10-28T02:59:53.559Z] SSH_AGENT_PID=16 [2020-10-28T02:59:53.581Z] Running ssh-add (command line suppressed) [2020-10-28T02:59:53.873Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8046375772082364625.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8046375772082364625.key) [2020-10-28T02:59:54.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T02:59:55.283Z] + git tag --points-at HEAD [Pipeline] } [2020-10-28T02:59:55.351Z] $ docker exec --env ******** --env ******** 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent -k [2020-10-28T02:59:55.703Z] unset SSH_AUTH_SOCK; [2020-10-28T02:59:55.704Z] unset SSH_AGENT_PID; [2020-10-28T02:59:55.704Z] echo Agent pid 16 killed; [2020-10-28T02:59:55.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-28T02:59:56.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T02:59:56.016Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T02:59:56.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T02:59:56.426Z] $ docker exec 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent [2020-10-28T02:59:56.908Z] SSH_AUTH_SOCK=/tmp/ssh-TktRvUydEQo0/agent.46 [2020-10-28T02:59:56.908Z] SSH_AGENT_PID=51 [2020-10-28T02:59:56.925Z] Running ssh-add (command line suppressed) [2020-10-28T02:59:57.372Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5977255900593347844.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5977255900593347844.key) [2020-10-28T02:59:57.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T02:59:58.377Z] + git semver init [2020-10-28T02:59:58.377Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T02:59:58.377Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-10-28T02:59:58.377Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-10-28T02:59:58.377Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T02:59:58.377Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T02:59:58.377Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T02:59:58.377Z] # $SEMVER_BRANCH = master [2020-10-28T02:59:58.377Z] # $SEMVER_TEMP = /tmp/semver-548670879 [2020-10-28T02:59:58.377Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-10-28T02:59:59.159Z] # '/tmp/semver-548670879' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2020-10-28T02:59:59.159Z] # -> Force: false [2020-10-28T02:59:59.159Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-10-28T02:59:59.233Z] $ docker exec --env ******** --env ******** 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent -k [2020-10-28T02:59:59.495Z] unset SSH_AUTH_SOCK; [2020-10-28T02:59:59.496Z] unset SSH_AGENT_PID; [2020-10-28T02:59:59.496Z] echo Agent pid 51 killed; [2020-10-28T02:59:59.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T03:00:00.559Z] + git semver [Pipeline] } [2020-10-28T03:00:00.605Z] $ docker stop --time=1 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c [2020-10-28T03:00:02.664Z] $ docker rm -f 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T03:00:03.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-28T03:00:04.913Z] Stashed 1 file(s) [Pipeline] echo [2020-10-28T03:00:04.916Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.9 [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-10-28T03:00:20.476Z] Still waiting to schedule task [2020-10-28T03:00:20.476Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9372’ is offline; ‘prd-centos7-docker-4c-2g-9373’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-28T03:00:20.478Z] Still waiting to schedule task [2020-10-28T03:00:20.478Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-28T03:01:23.482Z] Running on prd-centos7-docker-4c-2g-9375 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-10-28T03:01:23.551Z] Running in /w/workspace/device-virtual-go/30 [Pipeline] { [Pipeline] checkout [2020-10-28T03:01:27.350Z] using credential edgex-jenkins-ssh [2020-10-28T03:01:27.416Z] Cloning the remote Git repository [2020-10-28T03:01:27.487Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:01:27.566Z] > git init /w/workspace/device-virtual-go/30 # timeout=10 [2020-10-28T03:01:27.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:01:27.618Z] > git --version # timeout=10 [2020-10-28T03:01:27.624Z] > git --version # 'git version 2.16.5' [2020-10-28T03:01:27.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:01:27.652Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:01:28.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:01:28.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:01:28.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:01:28.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:01:28.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:01:28.263Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T03:01:28.727Z] Checking out Revision c9d1bc531ce8d239853a83473b53448fb6f2334c (master) [2020-10-28T03:01:28.742Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:01:28.747Z] > git checkout -f c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-10-28T03:01:33.226Z] Commit message: "Merge pull request #143 from weichou1229/issue-142" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T03:01:34.020Z] ========================================================= [2020-10-28T03:01:34.020Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-28T03:01:34.020Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:01:34.748Z] + 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-10-28T03:01:35.019Z] Sending build context to Docker daemon 459.8kB [2020-10-28T03:01:35.294Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T03:01:35.294Z] Step 2/8 : FROM ${BASE} [2020-10-28T03:01:35.294Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-28T03:01:35.294Z] df20fa9351a1: Pulling fs layer [2020-10-28T03:01:35.294Z] ed8968b2872e: Pulling fs layer [2020-10-28T03:01:35.294Z] a92cc7c5fd73: Pulling fs layer [2020-10-28T03:01:35.294Z] e871e8e8d7a9: Pulling fs layer [2020-10-28T03:01:35.294Z] e73272ec9a57: Pulling fs layer [2020-10-28T03:01:35.294Z] 1e910a182e73: Pulling fs layer [2020-10-28T03:01:35.294Z] 4e634b169226: Pulling fs layer [2020-10-28T03:01:35.294Z] e871e8e8d7a9: Waiting [2020-10-28T03:01:35.294Z] 4e634b169226: Waiting [2020-10-28T03:01:35.294Z] e73272ec9a57: Waiting [2020-10-28T03:01:35.294Z] 1e910a182e73: Waiting [2020-10-28T03:01:35.294Z] a92cc7c5fd73: Verifying Checksum [2020-10-28T03:01:35.294Z] a92cc7c5fd73: Download complete [2020-10-28T03:01:35.294Z] ed8968b2872e: Verifying Checksum [2020-10-28T03:01:35.294Z] ed8968b2872e: Download complete [2020-10-28T03:01:35.294Z] e73272ec9a57: Verifying Checksum [2020-10-28T03:01:35.294Z] e73272ec9a57: Download complete [2020-10-28T03:01:35.294Z] 1e910a182e73: Verifying Checksum [2020-10-28T03:01:35.294Z] 1e910a182e73: Download complete [2020-10-28T03:01:35.294Z] df20fa9351a1: Verifying Checksum [2020-10-28T03:01:35.294Z] df20fa9351a1: Download complete [2020-10-28T03:01:35.563Z] df20fa9351a1: Pull complete [2020-10-28T03:01:35.829Z] ed8968b2872e: Pull complete [2020-10-28T03:01:36.174Z] a92cc7c5fd73: Pull complete [2020-10-28T03:01:37.581Z] 4e634b169226: Verifying Checksum [2020-10-28T03:01:37.581Z] 4e634b169226: Download complete [2020-10-28T03:01:38.550Z] e871e8e8d7a9: Verifying Checksum [2020-10-28T03:01:38.550Z] e871e8e8d7a9: Download complete [2020-10-28T03:01:43.983Z] e871e8e8d7a9: Pull complete [2020-10-28T03:01:43.983Z] e73272ec9a57: Pull complete [2020-10-28T03:01:44.253Z] 1e910a182e73: Pull complete [2020-10-28T03:01:49.622Z] 4e634b169226: Pull complete [2020-10-28T03:01:49.622Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-28T03:01:49.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-28T03:01:49.622Z] ---> f7629b54cfaa [2020-10-28T03:01:49.622Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T03:01:49.622Z] ---> Running in 61c1a60ff416 [2020-10-28T03:01:49.622Z] Removing intermediate container 61c1a60ff416 [2020-10-28T03:01:49.622Z] ---> 123f560599ad [2020-10-28T03:01:49.622Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:01:49.622Z] ---> Running in 93b96cc197e2 [2020-10-28T03:01:51.044Z] Removing intermediate container 93b96cc197e2 [2020-10-28T03:01:51.044Z] ---> 20e44656b0e9 [2020-10-28T03:01:51.044Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T03:01:51.044Z] ---> Running in 230e91fb76f3 [2020-10-28T03:01:52.004Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T03:01:54.570Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T03:01:55.967Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T03:01:56.229Z] (2/14) Installing file (5.38-r0) [2020-10-28T03:01:56.229Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T03:01:56.229Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T03:02:01.673Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T03:02:01.673Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T03:02:01.673Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T03:02:01.673Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T03:02:01.673Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T03:02:01.673Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T03:02:01.937Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T03:02:01.937Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T03:02:02.200Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-28T03:02:02.200Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-28T03:02:02.466Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T03:02:02.466Z] OK: 237 MiB in 53 packages [2020-10-28T03:02:05.086Z] Removing intermediate container 230e91fb76f3 [2020-10-28T03:02:05.086Z] ---> 2a501cc0680e [2020-10-28T03:02:05.086Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T03:02:05.353Z] ---> Running in 115360043ffc [2020-10-28T03:02:05.353Z] Removing intermediate container 115360043ffc [2020-10-28T03:02:05.353Z] ---> 59ef9b88c492 [2020-10-28T03:02:05.353Z] Step 7/8 : COPY . . [2020-10-28T03:02:06.313Z] ---> 3fecc46504f9 [2020-10-28T03:02:06.313Z] Step 8/8 : RUN go mod download [2020-10-28T03:02:06.313Z] ---> Running in 5a101a97a59e [2020-10-28T03:02:08.443Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9376 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2020-10-28T03:02:08.503Z] Running in /w/workspace/device-virtual-go/30 [Pipeline] { [Pipeline] checkout [2020-10-28T03:02:14.011Z] using credential edgex-jenkins-ssh [2020-10-28T03:02:14.072Z] Cloning the remote Git repository [2020-10-28T03:02:14.132Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:02:14.245Z] > git init /w/workspace/device-virtual-go/30 # timeout=10 [2020-10-28T03:02:14.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:02:14.316Z] > git --version # timeout=10 [2020-10-28T03:02:14.339Z] > git --version # 'git version 2.17.1' [2020-10-28T03:02:14.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:02:14.403Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:02:15.865Z] Checking out Revision c9d1bc531ce8d239853a83473b53448fb6f2334c (master) [2020-10-28T03:02:15.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:02:15.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T03:02:15.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-10-28T03:02:15.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-10-28T03:02:15.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T03:02:15.421Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T03:02:15.885Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T03:02:15.920Z] > git checkout -f c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 [2020-10-28T03:02:20.392Z] Commit message: "Merge pull request #143 from weichou1229/issue-142" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T03:02:21.260Z] ========================================================= [2020-10-28T03:02:21.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-28T03:02:21.260Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:02:22.200Z] + 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-10-28T03:02:22.810Z] Sending build context to Docker daemon 459.8kB [2020-10-28T03:02:23.084Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-28T03:02:23.084Z] Step 2/8 : FROM ${BASE} [2020-10-28T03:02:23.359Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-28T03:02:23.359Z] b538f80385f9: Pulling fs layer [2020-10-28T03:02:23.359Z] 74f711af9a0d: Pulling fs layer [2020-10-28T03:02:23.359Z] 99f96fe45779: Pulling fs layer [2020-10-28T03:02:23.359Z] 8529a6b9a6be: Pulling fs layer [2020-10-28T03:02:23.359Z] 45590311c82a: Pulling fs layer [2020-10-28T03:02:23.359Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-28T03:02:23.359Z] 209524e5b208: Pulling fs layer [2020-10-28T03:02:23.359Z] 8529a6b9a6be: Waiting [2020-10-28T03:02:23.359Z] 45590311c82a: Waiting [2020-10-28T03:02:23.359Z] 69ca0ff8b7b3: Waiting [2020-10-28T03:02:23.359Z] 209524e5b208: Waiting [2020-10-28T03:02:23.359Z] 99f96fe45779: Verifying Checksum [2020-10-28T03:02:23.359Z] 99f96fe45779: Download complete [2020-10-28T03:02:23.359Z] 74f711af9a0d: Verifying Checksum [2020-10-28T03:02:23.359Z] 74f711af9a0d: Download complete [2020-10-28T03:02:23.359Z] 45590311c82a: Download complete [2020-10-28T03:02:23.359Z] 69ca0ff8b7b3: Download complete [2020-10-28T03:02:23.640Z] b538f80385f9: Verifying Checksum [2020-10-28T03:02:23.640Z] b538f80385f9: Download complete [2020-10-28T03:02:24.246Z] b538f80385f9: Pull complete [2020-10-28T03:02:24.943Z] 74f711af9a0d: Pull complete [2020-10-28T03:02:25.243Z] 99f96fe45779: Pull complete [2020-10-28T03:02:25.525Z] 209524e5b208: Verifying Checksum [2020-10-28T03:02:25.525Z] 209524e5b208: Download complete [2020-10-28T03:02:26.993Z] 8529a6b9a6be: Download complete [2020-10-28T03:02:28.430Z] Removing intermediate container 5a101a97a59e [2020-10-28T03:02:28.430Z] ---> 96785d796540 [2020-10-28T03:02:28.430Z] Successfully built 96785d796540 [2020-10-28T03:02:28.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:02:28.930Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T03:02:28.930Z] . [Pipeline] withDockerContainer [2020-10-28T03:02:29.052Z] prd-centos7-docker-4c-2g-9375 does not seem to be running inside a container [2020-10-28T03:02:29.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/30 -v /w/workspace/device-virtual-go/30:/w/workspace/device-virtual-go/30:rw,z -v /w/workspace/device-virtual-go/30@tmp:/w/workspace/device-virtual-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-28T03:02:30.012Z] $ docker top faf28d31f48024ef85aa68eecc5802cc4dfd9aa9bd66436c8dd86c1f23643ed1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:02:30.552Z] + go version [2020-10-28T03:02:30.552Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-28T03:02:30.570Z] $ docker stop --time=1 faf28d31f48024ef85aa68eecc5802cc4dfd9aa9bd66436c8dd86c1f23643ed1 [2020-10-28T03:02:31.923Z] $ docker rm -f faf28d31f48024ef85aa68eecc5802cc4dfd9aa9bd66436c8dd86c1f23643ed1 [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] sh [2020-10-28T03:02:35.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T03:02:35.598Z] + ls -al . [2020-10-28T03:02:35.599Z] total 56 [2020-10-28T03:02:35.599Z] drwxrwxr-x. 7 jenkins jenkins 268 Oct 28 03:01 . [2020-10-28T03:02:35.599Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 03:01 .. [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 6713 Oct 28 03:01 Attribution.txt [2020-10-28T03:02:35.599Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 03:01 bin [2020-10-28T03:02:35.599Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 03:01 cmd [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 1834 Oct 28 03:01 Dockerfile [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 957 Oct 28 03:01 Dockerfile.build [2020-10-28T03:02:35.599Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 03:01 .git [2020-10-28T03:02:35.599Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 03:01 .github [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 258 Oct 28 03:01 .gitignore [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 862 Oct 28 03:01 go.mod [2020-10-28T03:02:35.599Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 03:01 internal [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 660 Oct 28 03:01 Jenkinsfile [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 03:01 LICENSE [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 873 Oct 28 03:01 Makefile [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 918 Oct 28 03:01 README.md [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 28 03:00 VERSION [2020-10-28T03:02:35.599Z] -rw-rw-r--. 1 jenkins jenkins 235 Oct 28 03:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:02:35.919Z] + 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=c9d1bc531ce8d239853a83473b53448fb6f2334c --label arch=amd64 --label version=1.2.4-dev.9 . [2020-10-28T03:02:35.919Z] Sending build context to Docker daemon 459.8kB [2020-10-28T03:02:36.185Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T03:02:36.185Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T03:02:36.185Z] ---> 96785d796540 [2020-10-28T03:02:36.185Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T03:02:36.185Z] ---> Running in c63305fc9fcc [2020-10-28T03:02:36.450Z] Removing intermediate container c63305fc9fcc [2020-10-28T03:02:36.450Z] ---> b30761b768c6 [2020-10-28T03:02:36.450Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T03:02:36.450Z] ---> Running in d129c70084b2 [2020-10-28T03:02:36.722Z] Removing intermediate container d129c70084b2 [2020-10-28T03:02:36.722Z] ---> 39f0ad296a4f [2020-10-28T03:02:36.722Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T03:02:36.722Z] ---> Running in 3041a816fda0 [2020-10-28T03:02:36.988Z] Removing intermediate container 3041a816fda0 [2020-10-28T03:02:36.988Z] ---> b55e29539e7b [2020-10-28T03:02:36.988Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:02:36.988Z] ---> Running in f483df013263 [2020-10-28T03:02:37.183Z] 8529a6b9a6be: Pull complete [2020-10-28T03:02:37.183Z] 45590311c82a: Pull complete [2020-10-28T03:02:37.788Z] 69ca0ff8b7b3: Pull complete [2020-10-28T03:02:37.952Z] Removing intermediate container f483df013263 [2020-10-28T03:02:37.952Z] ---> e53acd0fc8dc [2020-10-28T03:02:37.952Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T03:02:37.952Z] ---> Running in 1677ccda18a4 [2020-10-28T03:02:38.532Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T03:02:39.111Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T03:02:39.693Z] OK: 237 MiB in 53 packages [2020-10-28T03:02:39.956Z] Removing intermediate container 1677ccda18a4 [2020-10-28T03:02:39.956Z] ---> 6ff407834eb5 [2020-10-28T03:02:39.956Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T03:02:40.219Z] ---> Running in f2c84247c2be [2020-10-28T03:02:40.219Z] Removing intermediate container f2c84247c2be [2020-10-28T03:02:40.219Z] ---> 3ed0ff434d70 [2020-10-28T03:02:40.219Z] Step 9/22 : COPY . . [2020-10-28T03:02:41.167Z] ---> fc51d7e752d9 [2020-10-28T03:02:41.167Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T03:02:41.167Z] ---> Running in 63398aad25ae [2020-10-28T03:02:41.167Z] Removing intermediate container 63398aad25ae [2020-10-28T03:02:41.167Z] ---> b6a2830c57ec [2020-10-28T03:02:41.167Z] Step 11/22 : RUN $MAKE [2020-10-28T03:02:41.167Z] ---> Running in 40ea983392a2 [2020-10-28T03:02:41.216Z] 209524e5b208: Pull complete [2020-10-28T03:02:41.216Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-28T03:02:41.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-28T03:02:41.216Z] ---> 5bddaf1c2fca [2020-10-28T03:02:41.216Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-28T03:02:41.763Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.9" -o cmd/device-virtual ./cmd [2020-10-28T03:02:43.867Z] ---> Running in 1634ed49d8cc [2020-10-28T03:02:44.474Z] Removing intermediate container 1634ed49d8cc [2020-10-28T03:02:44.474Z] ---> 0dc2799ec35b [2020-10-28T03:02:44.474Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:02:44.474Z] ---> Running in 9ab2916976c6 [2020-10-28T03:02:47.117Z] Removing intermediate container 9ab2916976c6 [2020-10-28T03:02:47.117Z] ---> b43ee37b385e [2020-10-28T03:02:47.117Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-28T03:02:47.117Z] ---> Running in b791f785a892 [2020-10-28T03:02:48.587Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T03:02:49.567Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T03:02:49.841Z] (1/14) Installing libmagic (5.38-r0) [2020-10-28T03:02:50.116Z] (2/14) Installing file (5.38-r0) [2020-10-28T03:02:50.116Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-28T03:02:50.389Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-28T03:02:53.018Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-28T03:02:53.018Z] (6/14) Installing patch (2.7.6-r6) [2020-10-28T03:02:53.018Z] (7/14) Installing build-base (0.5-r2) [2020-10-28T03:02:53.018Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-28T03:02:53.295Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-28T03:02:53.295Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-28T03:02:53.571Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-28T03:02:53.844Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-28T03:02:53.844Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-28T03:02:53.844Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-28T03:02:54.118Z] Executing busybox-1.31.1-r16.trigger [2020-10-28T03:02:54.118Z] OK: 221 MiB in 53 packages [2020-10-28T03:02:56.830Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T03:02:58.467Z] Removing intermediate container b791f785a892 [2020-10-28T03:02:58.467Z] ---> dbe6a926cc91 [2020-10-28T03:02:58.467Z] Step 6/8 : WORKDIR /device-virtual-go [2020-10-28T03:02:58.467Z] ---> Running in f1b136e26328 [2020-10-28T03:02:58.741Z] Removing intermediate container f1b136e26328 [2020-10-28T03:02:58.741Z] ---> 774c2ed33fe2 [2020-10-28T03:02:58.741Z] Step 7/8 : COPY . . [2020-10-28T03:02:58.757Z] Removing intermediate container 40ea983392a2 [2020-10-28T03:02:58.757Z] ---> 22464b627e28 [2020-10-28T03:02:58.757Z] Step 12/22 : FROM alpine [2020-10-28T03:02:59.022Z] latest: Pulling from library/alpine [2020-10-28T03:02:59.286Z] 188c0c94c7c5: Pulling fs layer [2020-10-28T03:02:59.286Z] 188c0c94c7c5: Verifying Checksum [2020-10-28T03:02:59.286Z] 188c0c94c7c5: Download complete [2020-10-28T03:02:59.548Z] 188c0c94c7c5: Pull complete [2020-10-28T03:02:59.548Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T03:02:59.548Z] Status: Downloaded newer image for alpine:latest [2020-10-28T03:02:59.548Z] ---> d6e46aa2470d [2020-10-28T03:02:59.548Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T03:02:59.739Z] ---> 4acee0164e22 [2020-10-28T03:02:59.739Z] Step 8/8 : RUN go mod download [2020-10-28T03:02:59.739Z] ---> Running in 8a03bd3becb4 [2020-10-28T03:02:59.812Z] ---> Running in 139c195307f3 [2020-10-28T03:02:59.812Z] Removing intermediate container 139c195307f3 [2020-10-28T03:02:59.812Z] ---> 891226af307c [2020-10-28T03:02:59.812Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T03:02:59.812Z] ---> Running in b87f5a2260bb [2020-10-28T03:03:00.077Z] Removing intermediate container b87f5a2260bb [2020-10-28T03:03:00.077Z] ---> 2ce9828481e8 [2020-10-28T03:03:00.077Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T03:03:00.661Z] ---> 04db8b19ac1f [2020-10-28T03:03:00.661Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T03:03:00.925Z] ---> b1fcb0647b8d [2020-10-28T03:03:00.925Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T03:03:01.188Z] ---> 36ae01572141 [2020-10-28T03:03:01.188Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T03:03:01.188Z] ---> Running in 304e6b844f2c [2020-10-28T03:03:01.453Z] Removing intermediate container 304e6b844f2c [2020-10-28T03:03:01.453Z] ---> 9b6f57a8aabd [2020-10-28T03:03:01.453Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T03:03:01.453Z] ---> Running in 3e74c84afd44 [2020-10-28T03:03:01.720Z] Removing intermediate container 3e74c84afd44 [2020-10-28T03:03:01.720Z] ---> aef131abc6da [2020-10-28T03:03:01.720Z] Step 20/22 : LABEL arch=amd64 [2020-10-28T03:03:01.720Z] ---> Running in ba3e312c84c3 [2020-10-28T03:03:01.982Z] Removing intermediate container ba3e312c84c3 [2020-10-28T03:03:01.982Z] ---> e7e5877c3f65 [2020-10-28T03:03:01.982Z] Step 21/22 : LABEL git_sha=c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:03:01.982Z] ---> Running in 5d4ff67573db [2020-10-28T03:03:02.244Z] Removing intermediate container 5d4ff67573db [2020-10-28T03:03:02.244Z] ---> 1a9159d831b5 [2020-10-28T03:03:02.244Z] Step 22/22 : LABEL version=1.2.4-dev.9 [2020-10-28T03:03:02.244Z] ---> Running in c779ec9cf6aa [2020-10-28T03:03:02.506Z] Removing intermediate container c779ec9cf6aa [2020-10-28T03:03:02.506Z] ---> 645b3b9da494 [2020-10-28T03:03:02.506Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T03:03:02.506Z] Successfully built 645b3b9da494 [2020-10-28T03:03:02.506Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-10-28T03:03:03.047Z] provisioning config files... [2020-10-28T03:03:03.104Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config6746758620963237932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:03:03.476Z] ---> docker-login.sh [2020-10-28T03:03:03.476Z] nexus3.edgexfoundry.org:10001 [2020-10-28T03:03:03.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:03:03.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:03:03.739Z] Configure a credential helper to remove this warning. See [2020-10-28T03:03:03.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:03:03.739Z] [2020-10-28T03:03:03.739Z] Login Succeeded [2020-10-28T03:03:03.739Z] nexus3.edgexfoundry.org:10002 [2020-10-28T03:03:04.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:03:04.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:03:04.010Z] Configure a credential helper to remove this warning. See [2020-10-28T03:03:04.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:03:04.010Z] [2020-10-28T03:03:04.010Z] Login Succeeded [2020-10-28T03:03:04.010Z] nexus3.edgexfoundry.org:10003 [2020-10-28T03:03:04.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:03:04.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:03:04.280Z] Configure a credential helper to remove this warning. See [2020-10-28T03:03:04.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:03:04.280Z] [2020-10-28T03:03:04.280Z] Login Succeeded [2020-10-28T03:03:04.280Z] nexus3.edgexfoundry.org:10004 [2020-10-28T03:03:04.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:03:04.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:03:04.547Z] Configure a credential helper to remove this warning. See [2020-10-28T03:03:04.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:03:04.547Z] [2020-10-28T03:03:04.547Z] Login Succeeded [2020-10-28T03:03:04.547Z] docker.io [2020-10-28T03:03:04.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:03:04.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:03:04.810Z] Configure a credential helper to remove this warning. See [2020-10-28T03:03:04.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:03:04.810Z] [2020-10-28T03:03:04.810Z] Login Succeeded [2020-10-28T03:03:04.810Z] ---> docker-login.sh ends [Pipeline] } [2020-10-28T03:03:04.819Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T03:03:05.045Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2020-10-28T03:03:05.045Z] c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:03:05.045Z] latest [2020-10-28T03:03:05.045Z] 1.2.4-dev.9 [2020-10-28T03:03:05.045Z] c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:03:05.045Z] master [2020-10-28T03:03:05.045Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:05.583Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:05.905Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:03:05.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-10-28T03:03:05.906Z] a5b5d5222bc2: Preparing [2020-10-28T03:03:05.906Z] 47424ad20eb8: Preparing [2020-10-28T03:03:05.906Z] 96f72d69197f: Preparing [2020-10-28T03:03:05.906Z] ace0eda3e3be: Preparing [2020-10-28T03:03:05.906Z] ace0eda3e3be: Layer already exists [2020-10-28T03:03:06.171Z] 47424ad20eb8: Pushed [2020-10-28T03:03:06.171Z] a5b5d5222bc2: Pushed [2020-10-28T03:03:07.575Z] 96f72d69197f: Pushed [2020-10-28T03:03:07.575Z] c9d1bc531ce8d239853a83473b53448fb6f2334c: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:07.900Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:08.304Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-10-28T03:03:08.304Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-10-28T03:03:08.304Z] a5b5d5222bc2: Preparing [2020-10-28T03:03:08.304Z] 47424ad20eb8: Preparing [2020-10-28T03:03:08.304Z] 96f72d69197f: Preparing [2020-10-28T03:03:08.304Z] ace0eda3e3be: Preparing [2020-10-28T03:03:08.304Z] 96f72d69197f: Layer already exists [2020-10-28T03:03:08.304Z] a5b5d5222bc2: Layer already exists [2020-10-28T03:03:08.304Z] 47424ad20eb8: Layer already exists [2020-10-28T03:03:08.304Z] ace0eda3e3be: Layer already exists [2020-10-28T03:03:08.304Z] latest: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:08.679Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:09.011Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 [2020-10-28T03:03:09.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-10-28T03:03:09.011Z] a5b5d5222bc2: Preparing [2020-10-28T03:03:09.011Z] 47424ad20eb8: Preparing [2020-10-28T03:03:09.011Z] 96f72d69197f: Preparing [2020-10-28T03:03:09.011Z] ace0eda3e3be: Preparing [2020-10-28T03:03:09.011Z] 47424ad20eb8: Layer already exists [2020-10-28T03:03:09.011Z] a5b5d5222bc2: Layer already exists [2020-10-28T03:03:09.011Z] ace0eda3e3be: Layer already exists [2020-10-28T03:03:09.011Z] 96f72d69197f: Layer already exists [2020-10-28T03:03:09.011Z] 1.2.4-dev.9: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:09.346Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:09.660Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:03:09.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-10-28T03:03:09.661Z] a5b5d5222bc2: Preparing [2020-10-28T03:03:09.661Z] 47424ad20eb8: Preparing [2020-10-28T03:03:09.661Z] 96f72d69197f: Preparing [2020-10-28T03:03:09.661Z] ace0eda3e3be: Preparing [2020-10-28T03:03:09.661Z] 96f72d69197f: Layer already exists [2020-10-28T03:03:09.661Z] 47424ad20eb8: Layer already exists [2020-10-28T03:03:09.661Z] a5b5d5222bc2: Layer already exists [2020-10-28T03:03:09.661Z] ace0eda3e3be: Layer already exists [2020-10-28T03:03:09.661Z] c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:09.982Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:10.298Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2020-10-28T03:03:10.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2020-10-28T03:03:10.299Z] a5b5d5222bc2: Preparing [2020-10-28T03:03:10.299Z] 47424ad20eb8: Preparing [2020-10-28T03:03:10.299Z] 96f72d69197f: Preparing [2020-10-28T03:03:10.299Z] ace0eda3e3be: Preparing [2020-10-28T03:03:10.299Z] 96f72d69197f: Layer already exists [2020-10-28T03:03:10.299Z] 47424ad20eb8: Layer already exists [2020-10-28T03:03:10.299Z] a5b5d5222bc2: Layer already exists [2020-10-28T03:03:10.299Z] ace0eda3e3be: Layer already exists [2020-10-28T03:03:10.299Z] master: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T03:03:10.512Z] ===================================================== [Pipeline] echo [2020-10-28T03:03:10.565Z] taggedImages: [2020-10-28T03:03:10.565Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:03:10.565Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2020-10-28T03:03:10.565Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 [2020-10-28T03:03:10.565Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:03:10.565Z] - 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] } [2020-10-28T03:03:26.579Z] Removing intermediate container 8a03bd3becb4 [2020-10-28T03:03:26.579Z] ---> bd10fa374880 [2020-10-28T03:03:26.579Z] Successfully built bd10fa374880 [2020-10-28T03:03:26.579Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:26.994Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T03:03:26.994Z] . [Pipeline] withDockerContainer [2020-10-28T03:03:27.286Z] prd-ubuntu18.04-docker-arm64-4c-16g-9376 does not seem to be running inside a container [2020-10-28T03:03:27.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/30 -v /w/workspace/device-virtual-go/30:/w/workspace/device-virtual-go/30:rw,z -v /w/workspace/device-virtual-go/30@tmp:/w/workspace/device-virtual-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-28T03:03:29.189Z] $ docker top 77d96de49bec185d5241b69cc067684f57d956b808bdbcdf2c338b8623b300d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:03:30.618Z] + go version [2020-10-28T03:03:30.618Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-28T03:03:30.649Z] $ docker stop --time=1 77d96de49bec185d5241b69cc067684f57d956b808bdbcdf2c338b8623b300d3 [2020-10-28T03:03:32.532Z] $ docker rm -f 77d96de49bec185d5241b69cc067684f57d956b808bdbcdf2c338b8623b300d3 [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-10-28T03:03:33.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T03:03:34.152Z] + ls -al . [2020-10-28T03:03:34.152Z] total 84 [2020-10-28T03:03:34.152Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 28 03:02 . [2020-10-28T03:03:34.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 03:02 .. [2020-10-28T03:03:34.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 03:02 .git [2020-10-28T03:03:34.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:02 .github [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 258 Oct 28 03:02 .gitignore [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 6713 Oct 28 03:02 Attribution.txt [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 1834 Oct 28 03:02 Dockerfile [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 957 Oct 28 03:02 Dockerfile.build [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 28 03:02 Jenkinsfile [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 03:02 LICENSE [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 873 Oct 28 03:02 Makefile [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 918 Oct 28 03:02 README.md [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 28 03:00 VERSION [2020-10-28T03:03:34.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:02 bin [2020-10-28T03:03:34.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:02 cmd [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 862 Oct 28 03:02 go.mod [2020-10-28T03:03:34.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:02 internal [2020-10-28T03:03:34.152Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 28 03:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:03:34.504Z] + 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=c9d1bc531ce8d239853a83473b53448fb6f2334c --label arch=arm64 --label version=1.2.4-dev.9 . [2020-10-28T03:03:34.777Z] Sending build context to Docker daemon 459.8kB [2020-10-28T03:03:35.051Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-28T03:03:35.051Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-28T03:03:35.051Z] ---> bd10fa374880 [2020-10-28T03:03:35.051Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-28T03:03:35.051Z] ---> Running in 28216b6caaa9 [2020-10-28T03:03:35.715Z] Removing intermediate container 28216b6caaa9 [2020-10-28T03:03:35.715Z] ---> f749ec8cc533 [2020-10-28T03:03:35.715Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T03:03:35.715Z] ---> Running in e819c3fb1093 [2020-10-28T03:03:35.987Z] Removing intermediate container e819c3fb1093 [2020-10-28T03:03:35.987Z] ---> e1ef356fb0df [2020-10-28T03:03:35.987Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-10-28T03:03:36.266Z] ---> Running in 1e1e51ebb9db [2020-10-28T03:03:36.867Z] Removing intermediate container 1e1e51ebb9db [2020-10-28T03:03:36.867Z] ---> 5999b87ea578 [2020-10-28T03:03:36.867Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T03:03:36.867Z] ---> Running in b4c260ef1f6d [2020-10-28T03:03:39.488Z] Removing intermediate container b4c260ef1f6d [2020-10-28T03:03:39.488Z] ---> 1e7f9ace934f [2020-10-28T03:03:39.488Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T03:03:39.488Z] ---> Running in c10bf1c1d094 [2020-10-28T03:03:40.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T03:03:41.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T03:03:42.122Z] OK: 221 MiB in 53 packages [2020-10-28T03:03:43.572Z] Removing intermediate container c10bf1c1d094 [2020-10-28T03:03:43.572Z] ---> 80504f8e7cdf [2020-10-28T03:03:43.572Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-10-28T03:03:43.572Z] ---> Running in 4bccf8136d18 [2020-10-28T03:03:44.167Z] Removing intermediate container 4bccf8136d18 [2020-10-28T03:03:44.167Z] ---> b43585a2d68f [2020-10-28T03:03:44.167Z] Step 9/22 : COPY . . [2020-10-28T03:03:45.149Z] ---> a936a37f1f5e [2020-10-28T03:03:45.149Z] Step 10/22 : ARG MAKE='make build' [2020-10-28T03:03:45.149Z] ---> Running in 439845dce76f [2020-10-28T03:03:45.747Z] Removing intermediate container 439845dce76f [2020-10-28T03:03:45.747Z] ---> c1cc3b96f66e [2020-10-28T03:03:45.747Z] Step 11/22 : RUN $MAKE [2020-10-28T03:03:45.747Z] ---> Running in db834e12ee2b [2020-10-28T03:03:47.194Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.4-dev.9" -o cmd/device-virtual ./cmd [2020-10-28T03:04:26.319Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-28T03:04:29.734Z] Removing intermediate container db834e12ee2b [2020-10-28T03:04:29.734Z] ---> bc838c7f9c21 [2020-10-28T03:04:29.734Z] Step 12/22 : FROM alpine [2020-10-28T03:04:29.734Z] latest: Pulling from library/alpine [2020-10-28T03:04:29.734Z] 5f621e34cdf4: Pulling fs layer [2020-10-28T03:04:30.008Z] 5f621e34cdf4: Verifying Checksum [2020-10-28T03:04:30.008Z] 5f621e34cdf4: Download complete [2020-10-28T03:04:30.610Z] 5f621e34cdf4: Pull complete [2020-10-28T03:04:30.610Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T03:04:30.610Z] Status: Downloaded newer image for alpine:latest [2020-10-28T03:04:30.610Z] ---> 2e77e061c27f [2020-10-28T03:04:30.610Z] Step 13/22 : ENV APP_PORT=49990 [2020-10-28T03:04:30.887Z] ---> Running in a8d03e7aa658 [2020-10-28T03:04:31.498Z] Removing intermediate container a8d03e7aa658 [2020-10-28T03:04:31.498Z] ---> 5e99620142f3 [2020-10-28T03:04:31.498Z] Step 14/22 : EXPOSE $APP_PORT [2020-10-28T03:04:31.498Z] ---> Running in bc7a3de784f8 [2020-10-28T03:04:32.100Z] Removing intermediate container bc7a3de784f8 [2020-10-28T03:04:32.100Z] ---> 5e019f376c12 [2020-10-28T03:04:32.100Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-10-28T03:04:34.102Z] ---> 4fd4b7092c4f [2020-10-28T03:04:34.102Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-10-28T03:04:34.379Z] ---> b7c0740b5202 [2020-10-28T03:04:34.379Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-10-28T03:04:35.375Z] ---> 21a12356b382 [2020-10-28T03:04:35.375Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2020-10-28T03:04:35.375Z] ---> Running in 00aa6cd58188 [2020-10-28T03:04:35.981Z] Removing intermediate container 00aa6cd58188 [2020-10-28T03:04:35.981Z] ---> be3aa5d5ec8d [2020-10-28T03:04:35.981Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-28T03:04:35.981Z] ---> Running in 72a691312564 [2020-10-28T03:04:36.581Z] Removing intermediate container 72a691312564 [2020-10-28T03:04:36.581Z] ---> a78cf18cfb44 [2020-10-28T03:04:36.581Z] Step 20/22 : LABEL arch=arm64 [2020-10-28T03:04:36.581Z] ---> Running in 2ca403bffdfb [2020-10-28T03:04:37.181Z] Removing intermediate container 2ca403bffdfb [2020-10-28T03:04:37.181Z] ---> 85cefae8b558 [2020-10-28T03:04:37.181Z] Step 21/22 : LABEL git_sha=c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:04:37.181Z] ---> Running in cd8ac675ab11 [2020-10-28T03:04:37.463Z] Removing intermediate container cd8ac675ab11 [2020-10-28T03:04:37.463Z] ---> 2657ca8c3e11 [2020-10-28T03:04:37.463Z] Step 22/22 : LABEL version=1.2.4-dev.9 [2020-10-28T03:04:37.736Z] ---> Running in e1292fe447d0 [2020-10-28T03:04:38.012Z] Removing intermediate container e1292fe447d0 [2020-10-28T03:04:38.012Z] ---> d7f2d8570d6d [2020-10-28T03:04:38.012Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T03:04:38.286Z] Successfully built d7f2d8570d6d [2020-10-28T03:04:38.286Z] 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-10-28T03:04:38.717Z] provisioning config files... [2020-10-28T03:04:38.774Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config5173872316686989712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:04:39.178Z] ---> docker-login.sh [2020-10-28T03:04:39.178Z] nexus3.edgexfoundry.org:10001 [2020-10-28T03:04:39.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:04:39.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:04:39.727Z] Configure a credential helper to remove this warning. See [2020-10-28T03:04:39.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:04:39.727Z] [2020-10-28T03:04:39.727Z] Login Succeeded [2020-10-28T03:04:39.727Z] nexus3.edgexfoundry.org:10002 [2020-10-28T03:04:40.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:04:40.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:04:40.276Z] Configure a credential helper to remove this warning. See [2020-10-28T03:04:40.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:04:40.276Z] [2020-10-28T03:04:40.276Z] Login Succeeded [2020-10-28T03:04:40.276Z] nexus3.edgexfoundry.org:10003 [2020-10-28T03:04:40.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:04:40.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:04:40.873Z] Configure a credential helper to remove this warning. See [2020-10-28T03:04:40.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:04:40.873Z] [2020-10-28T03:04:40.873Z] Login Succeeded [2020-10-28T03:04:40.873Z] nexus3.edgexfoundry.org:10004 [2020-10-28T03:04:41.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:04:41.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:04:41.470Z] Configure a credential helper to remove this warning. See [2020-10-28T03:04:41.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:04:41.470Z] [2020-10-28T03:04:41.470Z] Login Succeeded [2020-10-28T03:04:41.470Z] docker.io [2020-10-28T03:04:42.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T03:04:42.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T03:04:42.338Z] Configure a credential helper to remove this warning. See [2020-10-28T03:04:42.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T03:04:42.338Z] [2020-10-28T03:04:42.338Z] Login Succeeded [2020-10-28T03:04:42.338Z] ---> docker-login.sh ends [Pipeline] } [2020-10-28T03:04:42.356Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T03:04:42.559Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2020-10-28T03:04:42.559Z] c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:04:42.559Z] latest [2020-10-28T03:04:42.559Z] 1.2.4-dev.9 [2020-10-28T03:04:42.559Z] c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:04:42.559Z] master [2020-10-28T03:04:42.559Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:43.100Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:43.452Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:04:43.452Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-10-28T03:04:43.452Z] 7b0ec33a604f: Preparing [2020-10-28T03:04:43.452Z] 26ac096c54c7: Preparing [2020-10-28T03:04:43.452Z] acfea53904ed: Preparing [2020-10-28T03:04:43.452Z] cd3761cfa1d9: Preparing [2020-10-28T03:04:43.734Z] cd3761cfa1d9: Layer already exists [2020-10-28T03:04:43.734Z] 26ac096c54c7: Pushed [2020-10-28T03:04:43.734Z] 7b0ec33a604f: Pushed [2020-10-28T03:04:47.123Z] acfea53904ed: Pushed [2020-10-28T03:04:47.124Z] c9d1bc531ce8d239853a83473b53448fb6f2334c: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:47.474Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:47.820Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-10-28T03:04:47.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-10-28T03:04:47.820Z] 7b0ec33a604f: Preparing [2020-10-28T03:04:47.820Z] 26ac096c54c7: Preparing [2020-10-28T03:04:47.820Z] acfea53904ed: Preparing [2020-10-28T03:04:47.820Z] cd3761cfa1d9: Preparing [2020-10-28T03:04:48.097Z] acfea53904ed: Layer already exists [2020-10-28T03:04:48.097Z] 7b0ec33a604f: Layer already exists [2020-10-28T03:04:48.097Z] cd3761cfa1d9: Layer already exists [2020-10-28T03:04:48.097Z] 26ac096c54c7: Layer already exists [2020-10-28T03:04:48.097Z] latest: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:48.456Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:48.804Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.9 [2020-10-28T03:04:48.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-10-28T03:04:48.805Z] 7b0ec33a604f: Preparing [2020-10-28T03:04:48.805Z] 26ac096c54c7: Preparing [2020-10-28T03:04:48.805Z] acfea53904ed: Preparing [2020-10-28T03:04:48.805Z] cd3761cfa1d9: Preparing [2020-10-28T03:04:49.080Z] 7b0ec33a604f: Layer already exists [2020-10-28T03:04:49.080Z] acfea53904ed: Layer already exists [2020-10-28T03:04:49.080Z] cd3761cfa1d9: Layer already exists [2020-10-28T03:04:49.080Z] 26ac096c54c7: Layer already exists [2020-10-28T03:04:49.080Z] 1.2.4-dev.9: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:49.433Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:49.780Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:04:49.780Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-10-28T03:04:49.780Z] 7b0ec33a604f: Preparing [2020-10-28T03:04:49.780Z] 26ac096c54c7: Preparing [2020-10-28T03:04:49.780Z] acfea53904ed: Preparing [2020-10-28T03:04:49.780Z] cd3761cfa1d9: Preparing [2020-10-28T03:04:49.780Z] cd3761cfa1d9: Layer already exists [2020-10-28T03:04:49.780Z] 7b0ec33a604f: Layer already exists [2020-10-28T03:04:49.780Z] acfea53904ed: Layer already exists [2020-10-28T03:04:49.780Z] 26ac096c54c7: Layer already exists [2020-10-28T03:04:50.054Z] c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:50.413Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:50.776Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2020-10-28T03:04:50.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2020-10-28T03:04:50.776Z] 7b0ec33a604f: Preparing [2020-10-28T03:04:50.776Z] 26ac096c54c7: Preparing [2020-10-28T03:04:50.776Z] acfea53904ed: Preparing [2020-10-28T03:04:50.776Z] cd3761cfa1d9: Preparing [2020-10-28T03:04:51.058Z] 7b0ec33a604f: Layer already exists [2020-10-28T03:04:51.058Z] cd3761cfa1d9: Layer already exists [2020-10-28T03:04:51.058Z] 26ac096c54c7: Layer already exists [2020-10-28T03:04:51.058Z] acfea53904ed: Layer already exists [2020-10-28T03:04:51.058Z] master: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T03:04:51.291Z] ===================================================== [Pipeline] echo [2020-10-28T03:04:51.352Z] taggedImages: [2020-10-28T03:04:51.352Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:04:51.352Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2020-10-28T03:04:51.352Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.9 [2020-10-28T03:04:51.352Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [2020-10-28T03:04:51.352Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64: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-10-28T03:04:53.582Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-10-28T03:04:53.584Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-10-28T03:04:53.672Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:54.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T03:04:54.402Z] [2020-10-28T03:04:54.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:04:54.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T03:04:55.171Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-10-28T03:04:55.171Z] cbdbe7a5bc2a: Pulling fs layer [2020-10-28T03:04:55.171Z] 408f87550127: Pulling fs layer [2020-10-28T03:04:55.171Z] fe522b08c979: Pulling fs layer [2020-10-28T03:04:55.171Z] 221eaa008020: Pulling fs layer [2020-10-28T03:04:55.171Z] 2a4607e5d6b9: Pulling fs layer [2020-10-28T03:04:55.171Z] 8f79b27c4fd2: Pulling fs layer [2020-10-28T03:04:55.171Z] e5c8dbe1645b: Pulling fs layer [2020-10-28T03:04:55.171Z] 23e8b3b47431: Pulling fs layer [2020-10-28T03:04:55.171Z] 5c568d65a230: Pulling fs layer [2020-10-28T03:04:55.171Z] 2a4607e5d6b9: Waiting [2020-10-28T03:04:55.171Z] 8f79b27c4fd2: Waiting [2020-10-28T03:04:55.171Z] e5c8dbe1645b: Waiting [2020-10-28T03:04:55.171Z] 23e8b3b47431: Waiting [2020-10-28T03:04:55.171Z] 5c568d65a230: Waiting [2020-10-28T03:04:55.171Z] 221eaa008020: Waiting [2020-10-28T03:04:55.171Z] fe522b08c979: Verifying Checksum [2020-10-28T03:04:55.171Z] fe522b08c979: Download complete [2020-10-28T03:04:55.171Z] 408f87550127: Verifying Checksum [2020-10-28T03:04:55.171Z] 408f87550127: Download complete [2020-10-28T03:04:55.171Z] 2a4607e5d6b9: Verifying Checksum [2020-10-28T03:04:55.171Z] 2a4607e5d6b9: Download complete [2020-10-28T03:04:55.171Z] 8f79b27c4fd2: Verifying Checksum [2020-10-28T03:04:55.171Z] 8f79b27c4fd2: Download complete [2020-10-28T03:04:55.463Z] cbdbe7a5bc2a: Download complete [2020-10-28T03:04:56.577Z] cbdbe7a5bc2a: Pull complete [2020-10-28T03:04:56.863Z] 408f87550127: Pull complete [2020-10-28T03:04:57.157Z] fe522b08c979: Pull complete [2020-10-28T03:04:58.808Z] e5c8dbe1645b: Verifying Checksum [2020-10-28T03:04:58.808Z] e5c8dbe1645b: Download complete [2020-10-28T03:05:02.783Z] 23e8b3b47431: Verifying Checksum [2020-10-28T03:05:02.783Z] 23e8b3b47431: Download complete [2020-10-28T03:05:03.820Z] 5c568d65a230: Download complete [2020-10-28T03:05:07.489Z] 221eaa008020: Verifying Checksum [2020-10-28T03:05:07.489Z] 221eaa008020: Download complete [2020-10-28T03:05:20.507Z] 221eaa008020: Pull complete [2020-10-28T03:05:20.507Z] 2a4607e5d6b9: Pull complete [2020-10-28T03:05:20.507Z] 8f79b27c4fd2: Pull complete [2020-10-28T03:05:23.386Z] e5c8dbe1645b: Pull complete [2020-10-28T03:05:27.092Z] 23e8b3b47431: Pull complete [2020-10-28T03:05:30.703Z] 5c568d65a230: Pull complete [2020-10-28T03:05:30.703Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-10-28T03:05:30.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T03:05:30.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-10-28T03:05:31.456Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:05:31.874Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-10-28T03:05:33.905Z] $ docker top 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:05:34.674Z] + snyk monitor '--org=edgex-jenkins' [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/1ce86ab4-ae77-4598-b3ca-d159c44c7493 [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] Snyk CLI supports Node.js 8 and higher. [2020-10-28T03:05:57.468Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-10-28T03:05:57.468Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-10-28T03:05:57.468Z] [2020-10-28T03:05:57.468Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-10-28T03:05:57.468Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [2020-10-28T03:05:57.468Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-10-28T03:05:57.468Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-10-28T03:05:57.581Z] $ docker stop --time=1 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e [2020-10-28T03:06:01.300Z] $ docker rm -f 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:03.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:06:03.412Z] [2020-10-28T03:06:03.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:04.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:06:04.232Z] latest: Pulling from edgex-devops/edgex-klar [2020-10-28T03:06:04.232Z] e7c96db7181b: Pulling fs layer [2020-10-28T03:06:04.232Z] 1868ca2cb446: Pulling fs layer [2020-10-28T03:06:04.232Z] 136be5d0fe8e: Pulling fs layer [2020-10-28T03:06:04.753Z] 894bfe63afcb: Pulling fs layer [2020-10-28T03:06:04.753Z] 894bfe63afcb: Waiting [2020-10-28T03:06:04.753Z] 1868ca2cb446: Verifying Checksum [2020-10-28T03:06:04.753Z] 1868ca2cb446: Download complete [2020-10-28T03:06:04.753Z] 136be5d0fe8e: Verifying Checksum [2020-10-28T03:06:04.753Z] 136be5d0fe8e: Download complete [2020-10-28T03:06:05.118Z] e7c96db7181b: Verifying Checksum [2020-10-28T03:06:05.118Z] e7c96db7181b: Download complete [2020-10-28T03:06:05.854Z] 894bfe63afcb: Download complete [2020-10-28T03:06:06.134Z] e7c96db7181b: Pull complete [2020-10-28T03:06:06.440Z] 1868ca2cb446: Pull complete [2020-10-28T03:06:06.869Z] 136be5d0fe8e: Pull complete [2020-10-28T03:06:08.442Z] 894bfe63afcb: Pull complete [2020-10-28T03:06:08.442Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-10-28T03:06:08.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:06:08.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-10-28T03:06:09.188Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:06:09.608Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T03:06:13.389Z] $ docker top 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T03:06:15.704Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:06:15.704Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T03:06:22.085Z] $ docker stop --time=1 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 [2020-10-28T03:06:25.561Z] $ docker rm -f 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:27.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:06:27.754Z] . [Pipeline] withDockerContainer [2020-10-28T03:06:29.240Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:06:29.536Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T03:06:35.720Z] $ docker top b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T03:06:38.040Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:06:38.040Z] + tee [2020-10-28T03:06:38.040Z] clair timeout 1m0s [2020-10-28T03:06:38.040Z] docker timeout: 1m0s [2020-10-28T03:06:38.040Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T03:06:40.530Z] $ docker stop --time=1 b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 [2020-10-28T03:06:43.406Z] $ docker rm -f b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T03:06:44.657Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo [2020-10-28T03:06:44.703Z] Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_c9d1bc531ce8d239853a83473b53448fb6f2334c.html [Pipeline] writeFile [Pipeline] step [2020-10-28T03:06:44.791Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:06:45.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:06:45.835Z] . [Pipeline] withDockerContainer [2020-10-28T03:06:46.620Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:06:46.808Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T03:06:50.138Z] $ docker top 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T03:06:53.120Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:06:53.120Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T03:06:57.479Z] $ docker stop --time=1 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 [2020-10-28T03:07:00.405Z] $ docker rm -f 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:07:01.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T03:07:02.381Z] . [Pipeline] withDockerContainer [2020-10-28T03:07:03.172Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:07:03.441Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T03:07:05.450Z] $ docker top 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T03:07:06.419Z] + tee [2020-10-28T03:07:06.419Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [2020-10-28T03:07:06.419Z] clair timeout 1m0s [2020-10-28T03:07:06.419Z] docker timeout: 1m0s [2020-10-28T03:07:06.419Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T03:07:07.645Z] $ docker stop --time=1 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 [2020-10-28T03:07:09.665Z] $ docker rm -f 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T03:07:10.326Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo [2020-10-28T03:07:10.353Z] Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_c9d1bc531ce8d239853a83473b53448fb6f2334c.html [Pipeline] writeFile [Pipeline] step [2020-10-28T03:07:10.418Z] 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] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-10-28T03:07:11.847Z] + git log --format=format:%s -1 c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:07:12.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:07:12.369Z] . [Pipeline] withDockerContainer [2020-10-28T03:07:12.554Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:07:12.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T03:07:13.921Z] $ docker top 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T03:07:14.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T03:07:14.442Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T03:07:14.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T03:07:14.887Z] $ docker exec 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 ssh-agent [2020-10-28T03:07:15.306Z] SSH_AUTH_SOCK=/tmp/ssh-MVo70mrvFS6e/agent.12 [2020-10-28T03:07:15.306Z] SSH_AGENT_PID=18 [2020-10-28T03:07:15.324Z] Running ssh-add (command line suppressed) [2020-10-28T03:07:15.703Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2405193845171046221.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2405193845171046221.key) [2020-10-28T03:07:15.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T03:07:16.413Z] + git semver tag [2020-10-28T03:07:16.692Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T03:07:16.692Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-10-28T03:07:16.692Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-10-28T03:07:16.692Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T03:07:16.692Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T03:07:16.692Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T03:07:16.692Z] # $SEMVER_BRANCH = master [2020-10-28T03:07:16.692Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-10-28T03:07:16.692Z] # c9d1bc531ce8d239853a83473b53448fb6f2334c HEAD [2020-10-28T03:07:16.692Z] # -> Force: false [2020-10-28T03:07:16.692Z] # 94fd30f7d1eed31cca1852dd2a1a279fb76c1429 refs/tags/v1.2.4-dev.9 [Pipeline] } [2020-10-28T03:07:16.716Z] $ docker exec --env ******** --env ******** 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 ssh-agent -k [2020-10-28T03:07:17.103Z] unset SSH_AUTH_SOCK; [2020-10-28T03:07:17.152Z] unset SSH_AGENT_PID; [2020-10-28T03:07:17.152Z] echo Agent pid 18 killed; [2020-10-28T03:07:17.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T03:07:17.875Z] + git semver [Pipeline] } [2020-10-28T03:07:17.937Z] $ docker stop --time=1 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 [2020-10-28T03:07:19.784Z] $ docker rm -f 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:07:20.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T03:07:20.568Z] [2020-10-28T03:07:20.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:07:21.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T03:07:21.405Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-10-28T03:07:21.405Z] ab5ef0e58194: Pulling fs layer [2020-10-28T03:07:21.405Z] 9712f1f96733: Pulling fs layer [2020-10-28T03:07:21.405Z] 63f879dbbcfc: Pulling fs layer [2020-10-28T03:07:21.405Z] 0d9ebad4ef96: Pulling fs layer [2020-10-28T03:07:21.405Z] e9a5061849ea: Pulling fs layer [2020-10-28T03:07:21.405Z] d747dcd14b5f: Pulling fs layer [2020-10-28T03:07:21.405Z] 2de7ff778b66: Pulling fs layer [2020-10-28T03:07:21.405Z] 0d9ebad4ef96: Waiting [2020-10-28T03:07:21.405Z] e9a5061849ea: Waiting [2020-10-28T03:07:21.405Z] d747dcd14b5f: Waiting [2020-10-28T03:07:21.405Z] 2de7ff778b66: Waiting [2020-10-28T03:07:21.405Z] 9712f1f96733: Verifying Checksum [2020-10-28T03:07:21.405Z] 9712f1f96733: Download complete [2020-10-28T03:07:26.947Z] 63f879dbbcfc: Verifying Checksum [2020-10-28T03:07:26.947Z] 63f879dbbcfc: Download complete [2020-10-28T03:07:26.947Z] e9a5061849ea: Verifying Checksum [2020-10-28T03:07:26.947Z] e9a5061849ea: Download complete [2020-10-28T03:07:26.947Z] d747dcd14b5f: Verifying Checksum [2020-10-28T03:07:26.947Z] d747dcd14b5f: Download complete [2020-10-28T03:07:29.035Z] 2de7ff778b66: Verifying Checksum [2020-10-28T03:07:29.035Z] 2de7ff778b66: Download complete [2020-10-28T03:07:29.679Z] 0d9ebad4ef96: Verifying Checksum [2020-10-28T03:07:29.679Z] 0d9ebad4ef96: Download complete [2020-10-28T03:07:31.681Z] ab5ef0e58194: Verifying Checksum [2020-10-28T03:07:31.681Z] ab5ef0e58194: Download complete [2020-10-28T03:07:40.147Z] ab5ef0e58194: Pull complete [2020-10-28T03:07:40.147Z] 9712f1f96733: Pull complete [2020-10-28T03:07:41.844Z] 63f879dbbcfc: Pull complete [2020-10-28T03:07:57.678Z] 0d9ebad4ef96: Pull complete [2020-10-28T03:07:57.678Z] e9a5061849ea: Pull complete [2020-10-28T03:07:57.678Z] d747dcd14b5f: Pull complete [2020-10-28T03:08:01.537Z] 2de7ff778b66: Pull complete [2020-10-28T03:08:01.537Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-10-28T03:08:01.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T03:08:01.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-10-28T03:08:01.987Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:08:02.166Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-10-28T03:08:05.900Z] $ docker top 875514cbb1ff9cf1c0c2fa15e6a94435925887863bf6bbf16733a81a3f2e9900 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-10-28T03:08:06.229Z] provisioning config files... [2020-10-28T03:08:06.294Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2762261219613850096tmp [2020-10-28T03:08:06.370Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1151935814626843797tmp [2020-10-28T03:08:06.453Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3335957116683616232tmp [Pipeline] { [Pipeline] echo [2020-10-28T03:08:06.527Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:08:07.419Z] ---> sigul-configuration.sh [2020-10-28T03:08:07.419Z] gpg: directory `/root/.gnupg' created [2020-10-28T03:08:07.419Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-10-28T03:08:07.419Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-10-28T03:08:07.419Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-10-28T03:08:07.419Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-10-28T03:08:07.419Z] gpg: CAST5 encrypted data [2020-10-28T03:08:07.419Z] gpg: encrypted with 1 passphrase [2020-10-28T03:08:07.419Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-10-28T03:08:08.223Z] + mkdir /home/jenkins [2020-10-28T03:08:08.223Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-10-28T03:08:09.079Z] + 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-10-28T03:08:09.098Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:08:09.834Z] ---> sigul-install.sh [2020-10-28T03:08:18.393Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-10-28T03:08:19.056Z] + git tag --list [2020-10-28T03:08:19.057Z] v1.0.0 [2020-10-28T03:08:19.057Z] v1.1.0 [2020-10-28T03:08:19.057Z] v1.1.1 [2020-10-28T03:08:19.057Z] v1.2.0 [2020-10-28T03:08:19.057Z] v1.2.1 [2020-10-28T03:08:19.057Z] v1.2.2 [2020-10-28T03:08:19.057Z] v1.2.3 [2020-10-28T03:08:19.057Z] v1.2.3-dev.1 [2020-10-28T03:08:19.057Z] v1.2.3-dev.2 [2020-10-28T03:08:19.057Z] v1.2.4-dev.1 [2020-10-28T03:08:19.057Z] v1.2.4-dev.2 [2020-10-28T03:08:19.057Z] v1.2.4-dev.3 [2020-10-28T03:08:19.057Z] v1.2.4-dev.4 [2020-10-28T03:08:19.057Z] v1.2.4-dev.5 [2020-10-28T03:08:19.057Z] v1.2.4-dev.6 [2020-10-28T03:08:19.057Z] v1.2.4-dev.7 [2020-10-28T03:08:19.057Z] v1.2.4-dev.8 [2020-10-28T03:08:19.057Z] v1.2.4-dev.9 [Pipeline] sh [2020-10-28T03:08:19.832Z] + lftools sign git-tag v1.2.4-dev.9 [2020-10-28T03:08:22.114Z] Signing Git tag with Sigul... [2020-10-28T03:08:22.114Z] Signing v1.2.4-dev.9 [Pipeline] echo [2020-10-28T03:08:24.144Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:08:24.461Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-10-28T03:08:24.474Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-10-28T03:08:24.597Z] $ docker stop --time=1 875514cbb1ff9cf1c0c2fa15e6a94435925887863bf6bbf16733a81a3f2e9900 [2020-10-28T03:08:26.555Z] $ docker rm -f 875514cbb1ff9cf1c0c2fa15e6a94435925887863bf6bbf16733a81a3f2e9900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:08:27.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:08:27.934Z] . [Pipeline] withDockerContainer [2020-10-28T03:08:28.469Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:08:28.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T03:08:30.796Z] $ docker top 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T03:08:31.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T03:08:31.285Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T03:08:31.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T03:08:31.737Z] $ docker exec 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 ssh-agent [2020-10-28T03:08:32.705Z] SSH_AUTH_SOCK=/tmp/ssh-VjsXWDKtaxiK/agent.11 [2020-10-28T03:08:32.705Z] SSH_AGENT_PID=16 [2020-10-28T03:08:32.721Z] Running ssh-add (command line suppressed) [2020-10-28T03:08:32.999Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3702831272917271979.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3702831272917271979.key) [2020-10-28T03:08:33.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T03:08:33.525Z] + git semver bump pre [2020-10-28T03:08:33.800Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T03:08:33.800Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-10-28T03:08:33.800Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-10-28T03:08:33.800Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T03:08:33.800Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T03:08:33.800Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T03:08:33.800Z] # $SEMVER_BRANCH = master [2020-10-28T03:08:33.800Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2020-10-28T03:08:33.800Z] 1.2.4-dev.10 [Pipeline] } [2020-10-28T03:08:33.824Z] $ docker exec --env ******** --env ******** 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 ssh-agent -k [2020-10-28T03:08:34.098Z] unset SSH_AUTH_SOCK; [2020-10-28T03:08:34.099Z] unset SSH_AGENT_PID; [2020-10-28T03:08:34.099Z] echo Agent pid 16 killed; [2020-10-28T03:08:34.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T03:08:34.692Z] + git semver [Pipeline] } [2020-10-28T03:08:35.066Z] $ docker stop --time=1 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 [2020-10-28T03:08:36.814Z] $ docker rm -f 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:08:37.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T03:08:37.630Z] . [Pipeline] withDockerContainer [2020-10-28T03:08:37.813Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:08:37.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T03:08:39.440Z] $ docker top 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T03:08:40.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T03:08:40.039Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T03:08:40.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T03:08:40.706Z] $ docker exec 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a ssh-agent [2020-10-28T03:08:41.039Z] SSH_AUTH_SOCK=/tmp/ssh-TcPrO1GAzDHY/agent.13 [2020-10-28T03:08:41.039Z] SSH_AGENT_PID=18 [2020-10-28T03:08:41.067Z] Running ssh-add (command line suppressed) [2020-10-28T03:08:41.634Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5043402446995078085.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5043402446995078085.key) [2020-10-28T03:08:41.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T03:08:42.524Z] + git semver push [2020-10-28T03:08:42.524Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T03:08:42.524Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2020-10-28T03:08:42.524Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2020-10-28T03:08:42.524Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T03:08:42.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T03:08:42.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T03:08:42.524Z] # $SEMVER_BRANCH = master [2020-10-28T03:08:42.524Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2020-10-28T03:08:51.303Z] $ docker exec --env ******** --env ******** 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a ssh-agent -k [2020-10-28T03:08:51.664Z] unset SSH_AUTH_SOCK; [2020-10-28T03:08:51.666Z] unset SSH_AGENT_PID; [2020-10-28T03:08:51.666Z] echo Agent pid 18 killed; [2020-10-28T03:08:51.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T03:08:53.121Z] + git semver [Pipeline] } [2020-10-28T03:08:53.259Z] $ docker stop --time=1 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a [2020-10-28T03:08:55.051Z] $ docker rm -f 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a [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-10-28T03:08:56.935Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:08:58.047Z] ---> package-listing.sh [2020-10-28T03:08:58.047Z] ++ facter osfamily [2020-10-28T03:08:58.047Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-28T03:08:58.047Z] + OS_FAMILY=redhat [2020-10-28T03:08:58.047Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2020-10-28T03:08:58.047Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-28T03:08:58.047Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-28T03:08:58.047Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-28T03:08:58.047Z] + PACKAGES=/tmp/packages_start.txt [2020-10-28T03:08:58.047Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-10-28T03:08:58.047Z] + PACKAGES=/tmp/packages_end.txt [2020-10-28T03:08:58.047Z] + case "${OS_FAMILY}" in [2020-10-28T03:08:58.047Z] + rpm -qa [2020-10-28T03:08:58.047Z] + sort [2020-10-28T03:09:02.610Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-28T03:09:02.610Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-28T03:09:02.610Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-28T03:09:02.610Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2020-10-28T03:09:02.610Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2020-10-28T03:09:02.610Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2020-10-28T03:09:02.631Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-28T03:09:03.042Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:09:03.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:03.999Z] [2020-10-28T03:09:03.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-28T03:09:04.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:04.511Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-28T03:09:04.511Z] df20fa9351a1: Pulling fs layer [2020-10-28T03:09:04.511Z] 36b3adc4ff6f: Pulling fs layer [2020-10-28T03:09:04.511Z] 8ad3a11d3b57: Pulling fs layer [2020-10-28T03:09:04.511Z] 46f8f816bc3b: Pulling fs layer [2020-10-28T03:09:04.511Z] 93b61091891f: Pulling fs layer [2020-10-28T03:09:04.511Z] 93b9cdb0e59b: Pulling fs layer [2020-10-28T03:09:04.511Z] 5e14af77c1be: Pulling fs layer [2020-10-28T03:09:04.511Z] 01666e4c0597: Pulling fs layer [2020-10-28T03:09:04.511Z] aa168da1d23b: Pulling fs layer [2020-10-28T03:09:04.511Z] 46f8f816bc3b: Waiting [2020-10-28T03:09:04.511Z] 93b61091891f: Waiting [2020-10-28T03:09:04.511Z] 93b9cdb0e59b: Waiting [2020-10-28T03:09:04.511Z] 5e14af77c1be: Waiting [2020-10-28T03:09:04.511Z] 01666e4c0597: Waiting [2020-10-28T03:09:04.511Z] aa168da1d23b: Waiting [2020-10-28T03:09:04.790Z] 36b3adc4ff6f: Download complete [2020-10-28T03:09:04.790Z] 46f8f816bc3b: Verifying Checksum [2020-10-28T03:09:04.790Z] 46f8f816bc3b: Download complete [2020-10-28T03:09:05.119Z] df20fa9351a1: Verifying Checksum [2020-10-28T03:09:05.119Z] df20fa9351a1: Download complete [2020-10-28T03:09:05.119Z] 93b9cdb0e59b: Verifying Checksum [2020-10-28T03:09:05.119Z] 93b9cdb0e59b: Download complete [2020-10-28T03:09:05.119Z] 5e14af77c1be: Download complete [2020-10-28T03:09:05.428Z] 01666e4c0597: Verifying Checksum [2020-10-28T03:09:05.428Z] 01666e4c0597: Download complete [2020-10-28T03:09:05.428Z] 93b61091891f: Verifying Checksum [2020-10-28T03:09:05.428Z] 93b61091891f: Download complete [2020-10-28T03:09:06.102Z] df20fa9351a1: Pull complete [2020-10-28T03:09:06.391Z] 36b3adc4ff6f: Pull complete [2020-10-28T03:09:06.695Z] 8ad3a11d3b57: Verifying Checksum [2020-10-28T03:09:06.695Z] 8ad3a11d3b57: Download complete [2020-10-28T03:09:08.348Z] 8ad3a11d3b57: Pull complete [2020-10-28T03:09:08.629Z] 46f8f816bc3b: Pull complete [2020-10-28T03:09:09.270Z] 93b61091891f: Pull complete [2020-10-28T03:09:09.270Z] 93b9cdb0e59b: Pull complete [2020-10-28T03:09:09.663Z] 5e14af77c1be: Pull complete [2020-10-28T03:09:09.972Z] 01666e4c0597: Pull complete [2020-10-28T03:09:17.742Z] aa168da1d23b: Verifying Checksum [2020-10-28T03:09:17.742Z] aa168da1d23b: Download complete [2020-10-28T03:09:28.151Z] aa168da1d23b: Pull complete [2020-10-28T03:09:28.151Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-28T03:09:28.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T03:09:28.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-28T03:09:28.470Z] prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container [2020-10-28T03:09:28.648Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-28T03:09:31.559Z] $ docker top 80e10e1620755bbcb7ce7eb4b4a9d3fae1d2601b1bd5898629c188f352a6b2f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T03:09:32.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-28T03:09:33.142Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-28T03:09:33.710Z] + ls /var/log/sa-host [2020-10-28T03:09:33.710Z] + sadf -c /var/log/sa-host/sa05 [2020-10-28T03:09:33.987Z] file_magic: OK [2020-10-28T03:09:33.987Z] HZ: Using current value: 100 [2020-10-28T03:09:33.987Z] file_header: OK [2020-10-28T03:09:33.987Z] 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-10-28T03:09:33.987Z] Statistics: [2020-10-28T03:09:33.987Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T03:09:33.987Z] File successfully converted to sysstat format version 12.2.1 [2020-10-28T03:09:33.987Z] + sadf -c /var/log/sa-host/sa28 [2020-10-28T03:09:33.987Z] file_magic: OK [2020-10-28T03:09:33.987Z] HZ: Using current value: 100 [2020-10-28T03:09:33.987Z] file_header: OK [2020-10-28T03:09:33.987Z] 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-10-28T03:09:33.987Z] Statistics: [2020-10-28T03:09:33.987Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T03:09:33.987Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-28T03:09:34.282Z] provisioning config files... [2020-10-28T03:09:34.309Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3260321388322859470tmp [Pipeline] { [Pipeline] echo [2020-10-28T03:09:34.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:35.215Z] ---> create-netrc.sh [Pipeline] } [2020-10-28T03:09:35.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-28T03:09:35.344Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:36.089Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-28T03:09:36.110Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:36.837Z] ---> sudo-logs.sh [2020-10-28T03:09:36.837Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-28T03:09:37.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:37.662Z] ---> job-cost.sh [2020-10-28T03:09:37.973Z] lf-activate-venv: SKIPPING [2020-10-28T03:09:37.973Z] INFO: No Stack... [2020-10-28T03:09:39.445Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-28T03:09:39.711Z] INFO: Archiving Costs [Pipeline] echo [2020-10-28T03:09:39.730Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T03:09:40.376Z] ---> logs-deploy.sh [2020-10-28T03:09:40.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/30 [2020-10-28T03:09:40.376Z] INFO: archiving workspace using pattern(s): [2020-10-28T03:09:43.074Z] Archives upload complete. [2020-10-28T03:09:43.074Z] INFO: archiving logs to Nexus