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 02:59:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:59:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:59:35 ========================================================= 02:59:35 EdgeX Global Pipelines Version Info 02:59:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:59:38 ------------------- 02:59:38 stable info: 02:59:38 ------------------- 02:59:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:59:38 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 02:59:38 Message: update stable to v1.0.148 02:59:39 ------------------- 02:59:39 experimental info: 02:59:39 ------------------- 02:59:39 Commited By: **** collab-it+edgex@linuxfoundation.org 02:59:39 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 02:59:39 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:59:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:59:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:59:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:59:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 02:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:59:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] echo 02:59:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9d1bc5 [Pipeline] echo 02:59:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:43 + git log --format=format:%s -1 c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] echo 02:59:43 GIT_COMMIT: c9d1bc531ce8d239853a83473b53448fb6f2334c, Commit Message: Merge pull request #143 from weichou1229/issue-142 [Pipeline] echo 02:59:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:59:45 02:59:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:59:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:59:45 latest: Pulling from edgex-devops/git-semver 02:59:45 31603596830f: Pulling fs layer 02:59:45 2a8b12db71e7: Pulling fs layer 02:59:45 6ca5941a6612: Pulling fs layer 02:59:45 ecc8261a40a4: Pulling fs layer 02:59:45 ecc8261a40a4: Waiting 02:59:45 2a8b12db71e7: Verifying Checksum 02:59:45 2a8b12db71e7: Download complete 02:59:46 31603596830f: Verifying Checksum 02:59:46 31603596830f: Download complete 02:59:46 ecc8261a40a4: Verifying Checksum 02:59:46 ecc8261a40a4: Download complete 02:59:46 6ca5941a6612: Verifying Checksum 02:59:46 6ca5941a6612: Download complete 02:59:46 31603596830f: Pull complete 02:59:47 2a8b12db71e7: Pull complete 02:59:48 6ca5941a6612: Pull complete 02:59:48 ecc8261a40a4: Pull complete 02:59:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:59:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:59:49 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 02:59:49 $ 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 02:59:52 $ docker top 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:52 [ssh-agent] Looking for ssh-agent implementation... 02:59:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:53 $ docker exec 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent 02:59:53 SSH_AUTH_SOCK=/tmp/ssh-hPjMiANU0TZd/agent.11 02:59:53 SSH_AGENT_PID=16 02:59:53 Running ssh-add (command line suppressed) 02:59:53 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) 02:59:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:55 + git tag --points-at HEAD [Pipeline] } 02:59:55 $ docker exec --env ******** --env ******** 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent -k 02:59:55 unset SSH_AUTH_SOCK; 02:59:55 unset SSH_AGENT_PID; 02:59:55 echo Agent pid 16 killed; 02:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:56 [ssh-agent] Looking for ssh-agent implementation... 02:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:56 $ docker exec 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent 02:59:56 SSH_AUTH_SOCK=/tmp/ssh-TktRvUydEQo0/agent.46 02:59:56 SSH_AGENT_PID=51 02:59:56 Running ssh-add (command line suppressed) 02:59:57 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) 02:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:58 + git semver init 02:59:58 # -> Open(): unable to determine branch for HEAD 02:59:58 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:59:58 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:59:58 # $SEMVER_REMOTE_NAME = origin 02:59:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:59:58 # $SEMVER_USER_NAME = edgex-jenkins 02:59:58 # $SEMVER_BRANCH = master 02:59:58 # $SEMVER_TEMP = /tmp/semver-548670879 02:59:58 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:59:59 # '/tmp/semver-548670879' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 02:59:59 # -> Force: false 02:59:59 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:59:59 $ docker exec --env ******** --env ******** 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c ssh-agent -k 02:59:59 unset SSH_AUTH_SOCK; 02:59:59 unset SSH_AGENT_PID; 02:59:59 echo Agent pid 51 killed; 02:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:00 + git semver [Pipeline] } 03:00:00 $ docker stop --time=1 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c 03:00:02 $ docker rm -f 7cbeb5fce49ed1eb7419167a9012f8573e16fa51f48b2adbddd57fb32986203c [Pipeline] // withDockerContainer [Pipeline] sh 03:00:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:00:04 Stashed 1 file(s) [Pipeline] echo 03:00:04 [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 03:00:20 Still waiting to schedule task 03:00:20 ‘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’ 03:00:20 Still waiting to schedule task 03:00:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:01:23 Running on prd-centos7-docker-4c-2g-9375 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 03:01:23 Running in /w/workspace/device-virtual-go/30 [Pipeline] { [Pipeline] checkout 03:01:27 using credential edgex-jenkins-ssh 03:01:27 Cloning the remote Git repository 03:01:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:01:27 > git init /w/workspace/device-virtual-go/30 # timeout=10 03:01:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:01:27 > git --version # timeout=10 03:01:27 > git --version # 'git version 2.16.5' 03:01:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:01:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:01:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:01:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:01:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:01:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:01:28 Checking out Revision c9d1bc531ce8d239853a83473b53448fb6f2334c (master) 03:01:28 > git config core.sparsecheckout # timeout=10 03:01:28 > git checkout -f c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 03:01:33 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 03:01:34 ========================================================= 03:01:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:01:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:01:34 + 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 . 03:01:35 Sending build context to Docker daemon 459.8kB 03:01:35 Step 1/8 : ARG BASE=golang:1.15-alpine 03:01:35 Step 2/8 : FROM ${BASE} 03:01:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:01:35 df20fa9351a1: Pulling fs layer 03:01:35 ed8968b2872e: Pulling fs layer 03:01:35 a92cc7c5fd73: Pulling fs layer 03:01:35 e871e8e8d7a9: Pulling fs layer 03:01:35 e73272ec9a57: Pulling fs layer 03:01:35 1e910a182e73: Pulling fs layer 03:01:35 4e634b169226: Pulling fs layer 03:01:35 e871e8e8d7a9: Waiting 03:01:35 4e634b169226: Waiting 03:01:35 e73272ec9a57: Waiting 03:01:35 1e910a182e73: Waiting 03:01:35 a92cc7c5fd73: Verifying Checksum 03:01:35 a92cc7c5fd73: Download complete 03:01:35 ed8968b2872e: Verifying Checksum 03:01:35 ed8968b2872e: Download complete 03:01:35 e73272ec9a57: Verifying Checksum 03:01:35 e73272ec9a57: Download complete 03:01:35 1e910a182e73: Verifying Checksum 03:01:35 1e910a182e73: Download complete 03:01:35 df20fa9351a1: Verifying Checksum 03:01:35 df20fa9351a1: Download complete 03:01:35 df20fa9351a1: Pull complete 03:01:35 ed8968b2872e: Pull complete 03:01:36 a92cc7c5fd73: Pull complete 03:01:37 4e634b169226: Verifying Checksum 03:01:37 4e634b169226: Download complete 03:01:38 e871e8e8d7a9: Verifying Checksum 03:01:38 e871e8e8d7a9: Download complete 03:01:43 e871e8e8d7a9: Pull complete 03:01:43 e73272ec9a57: Pull complete 03:01:44 1e910a182e73: Pull complete 03:01:49 4e634b169226: Pull complete 03:01:49 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 03:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:01:49 ---> f7629b54cfaa 03:01:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:01:49 ---> Running in 61c1a60ff416 03:01:49 Removing intermediate container 61c1a60ff416 03:01:49 ---> 123f560599ad 03:01:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:01:49 ---> Running in 93b96cc197e2 03:01:51 Removing intermediate container 93b96cc197e2 03:01:51 ---> 20e44656b0e9 03:01:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:01:51 ---> Running in 230e91fb76f3 03:01:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:01:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:01:55 (1/14) Installing libmagic (5.38-r0) 03:01:56 (2/14) Installing file (5.38-r0) 03:01:56 (3/14) Installing libc-dev (0.7.2-r3) 03:01:56 (4/14) Installing g++ (9.3.0-r2) 03:02:01 (5/14) Installing fortify-headers (1.1-r0) 03:02:01 (6/14) Installing patch (2.7.6-r6) 03:02:01 (7/14) Installing build-base (0.5-r2) 03:02:01 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:02:01 (9/14) Installing libedit (20191231.3.1-r0) 03:02:01 (10/14) Installing openssh-client (8.3_p1-r0) 03:02:01 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:02:01 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:02:02 (13/14) Installing openssh-server (8.3_p1-r0) 03:02:02 (14/14) Installing openssh (8.3_p1-r0) 03:02:02 Executing busybox-1.31.1-r16.trigger 03:02:02 OK: 237 MiB in 53 packages 03:02:05 Removing intermediate container 230e91fb76f3 03:02:05 ---> 2a501cc0680e 03:02:05 Step 6/8 : WORKDIR /device-virtual-go 03:02:05 ---> Running in 115360043ffc 03:02:05 Removing intermediate container 115360043ffc 03:02:05 ---> 59ef9b88c492 03:02:05 Step 7/8 : COPY . . 03:02:06 ---> 3fecc46504f9 03:02:06 Step 8/8 : RUN go mod download 03:02:06 ---> Running in 5a101a97a59e 03:02:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9376 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 03:02:08 Running in /w/workspace/device-virtual-go/30 [Pipeline] { [Pipeline] checkout 03:02:14 using credential edgex-jenkins-ssh 03:02:14 Cloning the remote Git repository 03:02:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:02:14 > git init /w/workspace/device-virtual-go/30 # timeout=10 03:02:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:02:14 > git --version # timeout=10 03:02:14 > git --version # 'git version 2.17.1' 03:02:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:15 Checking out Revision c9d1bc531ce8d239853a83473b53448fb6f2334c (master) 03:02:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:02:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:02:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:02:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:02:15 > git config core.sparsecheckout # timeout=10 03:02:15 > git checkout -f c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 03:02:20 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 03:02:21 ========================================================= 03:02:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:02:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:02:22 + 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 . 03:02:22 Sending build context to Docker daemon 459.8kB 03:02:23 Step 1/8 : ARG BASE=golang:1.15-alpine 03:02:23 Step 2/8 : FROM ${BASE} 03:02:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:02:23 b538f80385f9: Pulling fs layer 03:02:23 74f711af9a0d: Pulling fs layer 03:02:23 99f96fe45779: Pulling fs layer 03:02:23 8529a6b9a6be: Pulling fs layer 03:02:23 45590311c82a: Pulling fs layer 03:02:23 69ca0ff8b7b3: Pulling fs layer 03:02:23 209524e5b208: Pulling fs layer 03:02:23 8529a6b9a6be: Waiting 03:02:23 45590311c82a: Waiting 03:02:23 69ca0ff8b7b3: Waiting 03:02:23 209524e5b208: Waiting 03:02:23 99f96fe45779: Verifying Checksum 03:02:23 99f96fe45779: Download complete 03:02:23 74f711af9a0d: Verifying Checksum 03:02:23 74f711af9a0d: Download complete 03:02:23 45590311c82a: Download complete 03:02:23 69ca0ff8b7b3: Download complete 03:02:23 b538f80385f9: Verifying Checksum 03:02:23 b538f80385f9: Download complete 03:02:24 b538f80385f9: Pull complete 03:02:24 74f711af9a0d: Pull complete 03:02:25 99f96fe45779: Pull complete 03:02:25 209524e5b208: Verifying Checksum 03:02:25 209524e5b208: Download complete 03:02:26 8529a6b9a6be: Download complete 03:02:28 Removing intermediate container 5a101a97a59e 03:02:28 ---> 96785d796540 03:02:28 Successfully built 96785d796540 03:02:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:02:28 + docker inspect -f . ci-base-image-x86_64 03:02:28 . [Pipeline] withDockerContainer 03:02:29 prd-centos7-docker-4c-2g-9375 does not seem to be running inside a container 03:02:29 $ 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 03:02:30 $ docker top faf28d31f48024ef85aa68eecc5802cc4dfd9aa9bd66436c8dd86c1f23643ed1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:30 + go version 03:02:30 go version go1.15.2 linux/amd64 [Pipeline] } 03:02:30 $ docker stop --time=1 faf28d31f48024ef85aa68eecc5802cc4dfd9aa9bd66436c8dd86c1f23643ed1 03:02:31 $ 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 03:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:02:35 + ls -al . 03:02:35 total 56 03:02:35 drwxrwxr-x. 7 jenkins jenkins 268 Oct 28 03:01 . 03:02:35 drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 03:01 .. 03:02:35 -rw-rw-r--. 1 jenkins jenkins 6713 Oct 28 03:01 Attribution.txt 03:02:35 drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 03:01 bin 03:02:35 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 03:01 cmd 03:02:35 -rw-rw-r--. 1 jenkins jenkins 1834 Oct 28 03:01 Dockerfile 03:02:35 -rw-rw-r--. 1 jenkins jenkins 957 Oct 28 03:01 Dockerfile.build 03:02:35 drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 03:01 .git 03:02:35 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 03:01 .github 03:02:35 -rw-rw-r--. 1 jenkins jenkins 258 Oct 28 03:01 .gitignore 03:02:35 -rw-rw-r--. 1 jenkins jenkins 862 Oct 28 03:01 go.mod 03:02:35 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 03:01 internal 03:02:35 -rw-rw-r--. 1 jenkins jenkins 660 Oct 28 03:01 Jenkinsfile 03:02:35 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 03:01 LICENSE 03:02:35 -rw-rw-r--. 1 jenkins jenkins 873 Oct 28 03:01 Makefile 03:02:35 -rw-rw-r--. 1 jenkins jenkins 918 Oct 28 03:01 README.md 03:02:35 -rw-rw-r--. 1 jenkins jenkins 11 Oct 28 03:00 VERSION 03:02:35 -rw-rw-r--. 1 jenkins jenkins 235 Oct 28 03:01 version.go [Pipeline] isUnix [Pipeline] sh 03:02:35 + 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 . 03:02:35 Sending build context to Docker daemon 459.8kB 03:02:36 Step 1/22 : ARG BASE=golang:1.15-alpine 03:02:36 Step 2/22 : FROM ${BASE} AS builder 03:02:36 ---> 96785d796540 03:02:36 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:02:36 ---> Running in c63305fc9fcc 03:02:36 Removing intermediate container c63305fc9fcc 03:02:36 ---> b30761b768c6 03:02:36 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:02:36 ---> Running in d129c70084b2 03:02:36 Removing intermediate container d129c70084b2 03:02:36 ---> 39f0ad296a4f 03:02:36 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 03:02:36 ---> Running in 3041a816fda0 03:02:36 Removing intermediate container 3041a816fda0 03:02:36 ---> b55e29539e7b 03:02:36 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:02:36 ---> Running in f483df013263 03:02:37 8529a6b9a6be: Pull complete 03:02:37 45590311c82a: Pull complete 03:02:37 69ca0ff8b7b3: Pull complete 03:02:37 Removing intermediate container f483df013263 03:02:37 ---> e53acd0fc8dc 03:02:37 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:02:37 ---> Running in 1677ccda18a4 03:02:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:02:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:02:39 OK: 237 MiB in 53 packages 03:02:39 Removing intermediate container 1677ccda18a4 03:02:39 ---> 6ff407834eb5 03:02:39 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:02:40 ---> Running in f2c84247c2be 03:02:40 Removing intermediate container f2c84247c2be 03:02:40 ---> 3ed0ff434d70 03:02:40 Step 9/22 : COPY . . 03:02:41 ---> fc51d7e752d9 03:02:41 Step 10/22 : ARG MAKE='make build' 03:02:41 ---> Running in 63398aad25ae 03:02:41 Removing intermediate container 63398aad25ae 03:02:41 ---> b6a2830c57ec 03:02:41 Step 11/22 : RUN $MAKE 03:02:41 ---> Running in 40ea983392a2 03:02:41 209524e5b208: Pull complete 03:02:41 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 03:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:02:41 ---> 5bddaf1c2fca 03:02:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:02:41 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 03:02:43 ---> Running in 1634ed49d8cc 03:02:44 Removing intermediate container 1634ed49d8cc 03:02:44 ---> 0dc2799ec35b 03:02:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:02:44 ---> Running in 9ab2916976c6 03:02:47 Removing intermediate container 9ab2916976c6 03:02:47 ---> b43ee37b385e 03:02:47 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:02:47 ---> Running in b791f785a892 03:02:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:02:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:02:49 (1/14) Installing libmagic (5.38-r0) 03:02:50 (2/14) Installing file (5.38-r0) 03:02:50 (3/14) Installing libc-dev (0.7.2-r3) 03:02:50 (4/14) Installing g++ (9.3.0-r2) 03:02:53 (5/14) Installing fortify-headers (1.1-r0) 03:02:53 (6/14) Installing patch (2.7.6-r6) 03:02:53 (7/14) Installing build-base (0.5-r2) 03:02:53 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:02:53 (9/14) Installing libedit (20191231.3.1-r0) 03:02:53 (10/14) Installing openssh-client (8.3_p1-r0) 03:02:53 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:02:53 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:02:53 (13/14) Installing openssh-server (8.3_p1-r0) 03:02:53 (14/14) Installing openssh (8.3_p1-r0) 03:02:54 Executing busybox-1.31.1-r16.trigger 03:02:54 OK: 221 MiB in 53 packages 03:02:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:02:58 Removing intermediate container b791f785a892 03:02:58 ---> dbe6a926cc91 03:02:58 Step 6/8 : WORKDIR /device-virtual-go 03:02:58 ---> Running in f1b136e26328 03:02:58 Removing intermediate container f1b136e26328 03:02:58 ---> 774c2ed33fe2 03:02:58 Step 7/8 : COPY . . 03:02:58 Removing intermediate container 40ea983392a2 03:02:58 ---> 22464b627e28 03:02:58 Step 12/22 : FROM alpine 03:02:59 latest: Pulling from library/alpine 03:02:59 188c0c94c7c5: Pulling fs layer 03:02:59 188c0c94c7c5: Verifying Checksum 03:02:59 188c0c94c7c5: Download complete 03:02:59 188c0c94c7c5: Pull complete 03:02:59 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:02:59 Status: Downloaded newer image for alpine:latest 03:02:59 ---> d6e46aa2470d 03:02:59 Step 13/22 : ENV APP_PORT=49990 03:02:59 ---> 4acee0164e22 03:02:59 Step 8/8 : RUN go mod download 03:02:59 ---> Running in 8a03bd3becb4 03:02:59 ---> Running in 139c195307f3 03:02:59 Removing intermediate container 139c195307f3 03:02:59 ---> 891226af307c 03:02:59 Step 14/22 : EXPOSE $APP_PORT 03:02:59 ---> Running in b87f5a2260bb 03:03:00 Removing intermediate container b87f5a2260bb 03:03:00 ---> 2ce9828481e8 03:03:00 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:03:00 ---> 04db8b19ac1f 03:03:00 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 03:03:00 ---> b1fcb0647b8d 03:03:00 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 03:03:01 ---> 36ae01572141 03:03:01 Step 18/22 : ENTRYPOINT ["/device-virtual"] 03:03:01 ---> Running in 304e6b844f2c 03:03:01 Removing intermediate container 304e6b844f2c 03:03:01 ---> 9b6f57a8aabd 03:03:01 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:03:01 ---> Running in 3e74c84afd44 03:03:01 Removing intermediate container 3e74c84afd44 03:03:01 ---> aef131abc6da 03:03:01 Step 20/22 : LABEL arch=amd64 03:03:01 ---> Running in ba3e312c84c3 03:03:01 Removing intermediate container ba3e312c84c3 03:03:01 ---> e7e5877c3f65 03:03:01 Step 21/22 : LABEL git_sha=c9d1bc531ce8d239853a83473b53448fb6f2334c 03:03:01 ---> Running in 5d4ff67573db 03:03:02 Removing intermediate container 5d4ff67573db 03:03:02 ---> 1a9159d831b5 03:03:02 Step 22/22 : LABEL version=1.2.4-dev.9 03:03:02 ---> Running in c779ec9cf6aa 03:03:02 Removing intermediate container c779ec9cf6aa 03:03:02 ---> 645b3b9da494 03:03:02 [Warning] One or more build-args [ARCH] were not consumed 03:03:02 Successfully built 645b3b9da494 03:03:02 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:03:03 provisioning config files... 03:03:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config6746758620963237932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:03 ---> docker-login.sh 03:03:03 nexus3.edgexfoundry.org:10001 03:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:03 Configure a credential helper to remove this warning. See 03:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:03 03:03:03 Login Succeeded 03:03:03 nexus3.edgexfoundry.org:10002 03:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:04 Configure a credential helper to remove this warning. See 03:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:04 03:03:04 Login Succeeded 03:03:04 nexus3.edgexfoundry.org:10003 03:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:04 Configure a credential helper to remove this warning. See 03:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:04 03:03:04 Login Succeeded 03:03:04 nexus3.edgexfoundry.org:10004 03:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:04 Configure a credential helper to remove this warning. See 03:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:04 03:03:04 Login Succeeded 03:03:04 docker.io 03:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:04 Configure a credential helper to remove this warning. See 03:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:04 03:03:04 Login Succeeded 03:03:04 ---> docker-login.sh ends [Pipeline] } 03:03:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:05 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 03:03:05 c9d1bc531ce8d239853a83473b53448fb6f2334c 03:03:05 latest 03:03:05 1.2.4-dev.9 03:03:05 c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:03:05 master 03:03:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:03:05 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh 03:03:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:03:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:03:05 a5b5d5222bc2: Preparing 03:03:05 47424ad20eb8: Preparing 03:03:05 96f72d69197f: Preparing 03:03:05 ace0eda3e3be: Preparing 03:03:05 ace0eda3e3be: Layer already exists 03:03:06 47424ad20eb8: Pushed 03:03:06 a5b5d5222bc2: Pushed 03:03:07 96f72d69197f: Pushed 03:03:07 c9d1bc531ce8d239853a83473b53448fb6f2334c: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh 03:03:07 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 03:03:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 03:03:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:03:08 a5b5d5222bc2: Preparing 03:03:08 47424ad20eb8: Preparing 03:03:08 96f72d69197f: Preparing 03:03:08 ace0eda3e3be: Preparing 03:03:08 96f72d69197f: Layer already exists 03:03:08 a5b5d5222bc2: Layer already exists 03:03:08 47424ad20eb8: Layer already exists 03:03:08 ace0eda3e3be: Layer already exists 03:03:08 latest: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh 03:03:08 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh 03:03:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 03:03:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:03:09 a5b5d5222bc2: Preparing 03:03:09 47424ad20eb8: Preparing 03:03:09 96f72d69197f: Preparing 03:03:09 ace0eda3e3be: Preparing 03:03:09 47424ad20eb8: Layer already exists 03:03:09 a5b5d5222bc2: Layer already exists 03:03:09 ace0eda3e3be: Layer already exists 03:03:09 96f72d69197f: Layer already exists 03:03:09 1.2.4-dev.9: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh 03:03:09 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 [Pipeline] isUnix [Pipeline] sh 03:03:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:03:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:03:09 a5b5d5222bc2: Preparing 03:03:09 47424ad20eb8: Preparing 03:03:09 96f72d69197f: Preparing 03:03:09 ace0eda3e3be: Preparing 03:03:09 96f72d69197f: Layer already exists 03:03:09 47424ad20eb8: Layer already exists 03:03:09 a5b5d5222bc2: Layer already exists 03:03:09 ace0eda3e3be: Layer already exists 03:03:09 c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] isUnix [Pipeline] sh 03:03:09 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 03:03:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 03:03:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:03:10 a5b5d5222bc2: Preparing 03:03:10 47424ad20eb8: Preparing 03:03:10 96f72d69197f: Preparing 03:03:10 ace0eda3e3be: Preparing 03:03:10 96f72d69197f: Layer already exists 03:03:10 47424ad20eb8: Layer already exists 03:03:10 a5b5d5222bc2: Layer already exists 03:03:10 ace0eda3e3be: Layer already exists 03:03:10 master: digest: sha256:fdc5b00d5b7a3c9b30d4d921287adcb4e63f812e2ddf56a7b39a51e1bf463070 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:10 ===================================================== [Pipeline] echo 03:03:10 taggedImages: 03:03:10 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:03:10 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 03:03:10 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.4-dev.9 03:03:10 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:03:10 - 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] } 03:03:26 Removing intermediate container 8a03bd3becb4 03:03:26 ---> bd10fa374880 03:03:26 Successfully built bd10fa374880 03:03:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:03:26 + docker inspect -f . ci-base-image-arm64 03:03:26 . [Pipeline] withDockerContainer 03:03:27 prd-ubuntu18.04-docker-arm64-4c-16g-9376 does not seem to be running inside a container 03:03:27 $ 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 03:03:29 $ docker top 77d96de49bec185d5241b69cc067684f57d956b808bdbcdf2c338b8623b300d3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:03:30 + go version 03:03:30 go version go1.15.2 linux/arm64 [Pipeline] } 03:03:30 $ docker stop --time=1 77d96de49bec185d5241b69cc067684f57d956b808bdbcdf2c338b8623b300d3 03:03:32 $ 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 03:03:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:03:34 + ls -al . 03:03:34 total 84 03:03:34 drwxrwxr-x 7 jenkins jenkins 4096 Oct 28 03:02 . 03:03:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 03:02 .. 03:03:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 03:02 .git 03:03:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:02 .github 03:03:34 -rw-rw-r-- 1 jenkins jenkins 258 Oct 28 03:02 .gitignore 03:03:34 -rw-rw-r-- 1 jenkins jenkins 6713 Oct 28 03:02 Attribution.txt 03:03:34 -rw-rw-r-- 1 jenkins jenkins 1834 Oct 28 03:02 Dockerfile 03:03:34 -rw-rw-r-- 1 jenkins jenkins 957 Oct 28 03:02 Dockerfile.build 03:03:34 -rw-rw-r-- 1 jenkins jenkins 660 Oct 28 03:02 Jenkinsfile 03:03:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 03:02 LICENSE 03:03:34 -rw-rw-r-- 1 jenkins jenkins 873 Oct 28 03:02 Makefile 03:03:34 -rw-rw-r-- 1 jenkins jenkins 918 Oct 28 03:02 README.md 03:03:34 -rw-rw-r-- 1 jenkins jenkins 11 Oct 28 03:00 VERSION 03:03:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 03:02 bin 03:03:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:02 cmd 03:03:34 -rw-rw-r-- 1 jenkins jenkins 862 Oct 28 03:02 go.mod 03:03:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 03:02 internal 03:03:34 -rw-rw-r-- 1 jenkins jenkins 235 Oct 28 03:02 version.go [Pipeline] isUnix [Pipeline] sh 03:03:34 + 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 . 03:03:34 Sending build context to Docker daemon 459.8kB 03:03:35 Step 1/22 : ARG BASE=golang:1.15-alpine 03:03:35 Step 2/22 : FROM ${BASE} AS builder 03:03:35 ---> bd10fa374880 03:03:35 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:03:35 ---> Running in 28216b6caaa9 03:03:35 Removing intermediate container 28216b6caaa9 03:03:35 ---> f749ec8cc533 03:03:35 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:03:35 ---> Running in e819c3fb1093 03:03:35 Removing intermediate container e819c3fb1093 03:03:35 ---> e1ef356fb0df 03:03:35 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 03:03:36 ---> Running in 1e1e51ebb9db 03:03:36 Removing intermediate container 1e1e51ebb9db 03:03:36 ---> 5999b87ea578 03:03:36 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:03:36 ---> Running in b4c260ef1f6d 03:03:39 Removing intermediate container b4c260ef1f6d 03:03:39 ---> 1e7f9ace934f 03:03:39 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:03:39 ---> Running in c10bf1c1d094 03:03:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:03:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:03:42 OK: 221 MiB in 53 packages 03:03:43 Removing intermediate container c10bf1c1d094 03:03:43 ---> 80504f8e7cdf 03:03:43 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:03:43 ---> Running in 4bccf8136d18 03:03:44 Removing intermediate container 4bccf8136d18 03:03:44 ---> b43585a2d68f 03:03:44 Step 9/22 : COPY . . 03:03:45 ---> a936a37f1f5e 03:03:45 Step 10/22 : ARG MAKE='make build' 03:03:45 ---> Running in 439845dce76f 03:03:45 Removing intermediate container 439845dce76f 03:03:45 ---> c1cc3b96f66e 03:03:45 Step 11/22 : RUN $MAKE 03:03:45 ---> Running in db834e12ee2b 03:03:47 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 03:04:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:04:29 Removing intermediate container db834e12ee2b 03:04:29 ---> bc838c7f9c21 03:04:29 Step 12/22 : FROM alpine 03:04:29 latest: Pulling from library/alpine 03:04:29 5f621e34cdf4: Pulling fs layer 03:04:30 5f621e34cdf4: Verifying Checksum 03:04:30 5f621e34cdf4: Download complete 03:04:30 5f621e34cdf4: Pull complete 03:04:30 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:04:30 Status: Downloaded newer image for alpine:latest 03:04:30 ---> 2e77e061c27f 03:04:30 Step 13/22 : ENV APP_PORT=49990 03:04:30 ---> Running in a8d03e7aa658 03:04:31 Removing intermediate container a8d03e7aa658 03:04:31 ---> 5e99620142f3 03:04:31 Step 14/22 : EXPOSE $APP_PORT 03:04:31 ---> Running in bc7a3de784f8 03:04:32 Removing intermediate container bc7a3de784f8 03:04:32 ---> 5e019f376c12 03:04:32 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:04:34 ---> 4fd4b7092c4f 03:04:34 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 03:04:34 ---> b7c0740b5202 03:04:34 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 03:04:35 ---> 21a12356b382 03:04:35 Step 18/22 : ENTRYPOINT ["/device-virtual"] 03:04:35 ---> Running in 00aa6cd58188 03:04:35 Removing intermediate container 00aa6cd58188 03:04:35 ---> be3aa5d5ec8d 03:04:35 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:04:35 ---> Running in 72a691312564 03:04:36 Removing intermediate container 72a691312564 03:04:36 ---> a78cf18cfb44 03:04:36 Step 20/22 : LABEL arch=arm64 03:04:36 ---> Running in 2ca403bffdfb 03:04:37 Removing intermediate container 2ca403bffdfb 03:04:37 ---> 85cefae8b558 03:04:37 Step 21/22 : LABEL git_sha=c9d1bc531ce8d239853a83473b53448fb6f2334c 03:04:37 ---> Running in cd8ac675ab11 03:04:37 Removing intermediate container cd8ac675ab11 03:04:37 ---> 2657ca8c3e11 03:04:37 Step 22/22 : LABEL version=1.2.4-dev.9 03:04:37 ---> Running in e1292fe447d0 03:04:38 Removing intermediate container e1292fe447d0 03:04:38 ---> d7f2d8570d6d 03:04:38 [Warning] One or more build-args [ARCH] were not consumed 03:04:38 Successfully built d7f2d8570d6d 03:04:38 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 03:04:38 provisioning config files... 03:04:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config5173872316686989712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:39 ---> docker-login.sh 03:04:39 nexus3.edgexfoundry.org:10001 03:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:39 Configure a credential helper to remove this warning. See 03:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:39 03:04:39 Login Succeeded 03:04:39 nexus3.edgexfoundry.org:10002 03:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:40 Configure a credential helper to remove this warning. See 03:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:40 03:04:40 Login Succeeded 03:04:40 nexus3.edgexfoundry.org:10003 03:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:40 Configure a credential helper to remove this warning. See 03:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:40 03:04:40 Login Succeeded 03:04:40 nexus3.edgexfoundry.org:10004 03:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:41 Configure a credential helper to remove this warning. See 03:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:41 03:04:41 Login Succeeded 03:04:41 docker.io 03:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:42 Configure a credential helper to remove this warning. See 03:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:42 03:04:42 Login Succeeded 03:04:42 ---> docker-login.sh ends [Pipeline] } 03:04:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:42 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 03:04:42 c9d1bc531ce8d239853a83473b53448fb6f2334c 03:04:42 latest 03:04:42 1.2.4-dev.9 03:04:42 c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:04:42 master 03:04:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:04:43 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh 03:04:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:04:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:04:43 7b0ec33a604f: Preparing 03:04:43 26ac096c54c7: Preparing 03:04:43 acfea53904ed: Preparing 03:04:43 cd3761cfa1d9: Preparing 03:04:43 cd3761cfa1d9: Layer already exists 03:04:43 26ac096c54c7: Pushed 03:04:43 7b0ec33a604f: Pushed 03:04:47 acfea53904ed: Pushed 03:04:47 c9d1bc531ce8d239853a83473b53448fb6f2334c: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh 03:04:47 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:04:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 03:04:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:04:47 7b0ec33a604f: Preparing 03:04:47 26ac096c54c7: Preparing 03:04:47 acfea53904ed: Preparing 03:04:47 cd3761cfa1d9: Preparing 03:04:48 acfea53904ed: Layer already exists 03:04:48 7b0ec33a604f: Layer already exists 03:04:48 cd3761cfa1d9: Layer already exists 03:04:48 26ac096c54c7: Layer already exists 03:04:48 latest: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh 03:04:48 + 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 03:04:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.9 03:04:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:04:48 7b0ec33a604f: Preparing 03:04:48 26ac096c54c7: Preparing 03:04:48 acfea53904ed: Preparing 03:04:48 cd3761cfa1d9: Preparing 03:04:49 7b0ec33a604f: Layer already exists 03:04:49 acfea53904ed: Layer already exists 03:04:49 cd3761cfa1d9: Layer already exists 03:04:49 26ac096c54c7: Layer already exists 03:04:49 1.2.4-dev.9: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh 03:04:49 + 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 03:04:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:04:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:04:49 7b0ec33a604f: Preparing 03:04:49 26ac096c54c7: Preparing 03:04:49 acfea53904ed: Preparing 03:04:49 cd3761cfa1d9: Preparing 03:04:49 cd3761cfa1d9: Layer already exists 03:04:49 7b0ec33a604f: Layer already exists 03:04:49 acfea53904ed: Layer already exists 03:04:49 26ac096c54c7: Layer already exists 03:04:50 c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] isUnix [Pipeline] sh 03:04:50 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 03:04:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 03:04:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:04:50 7b0ec33a604f: Preparing 03:04:50 26ac096c54c7: Preparing 03:04:50 acfea53904ed: Preparing 03:04:50 cd3761cfa1d9: Preparing 03:04:51 7b0ec33a604f: Layer already exists 03:04:51 cd3761cfa1d9: Layer already exists 03:04:51 26ac096c54c7: Layer already exists 03:04:51 acfea53904ed: Layer already exists 03:04:51 master: digest: sha256:2866e66152cdd4206d7cea8667f8cce8670e7103837795bc8d755ca759de91ce size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:51 ===================================================== [Pipeline] echo 03:04:51 taggedImages: 03:04:51 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:04:51 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 03:04:51 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.4-dev.9 03:04:51 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c-1.2.4-dev.9 03:04:51 - 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 03:04:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 03:04:53 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 03:04:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:04:54 03:04:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 03:04:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:04:55 1.317.0: Pulling from edgex-devops/edgex-snyk-go 03:04:55 cbdbe7a5bc2a: Pulling fs layer 03:04:55 408f87550127: Pulling fs layer 03:04:55 fe522b08c979: Pulling fs layer 03:04:55 221eaa008020: Pulling fs layer 03:04:55 2a4607e5d6b9: Pulling fs layer 03:04:55 8f79b27c4fd2: Pulling fs layer 03:04:55 e5c8dbe1645b: Pulling fs layer 03:04:55 23e8b3b47431: Pulling fs layer 03:04:55 5c568d65a230: Pulling fs layer 03:04:55 2a4607e5d6b9: Waiting 03:04:55 8f79b27c4fd2: Waiting 03:04:55 e5c8dbe1645b: Waiting 03:04:55 23e8b3b47431: Waiting 03:04:55 5c568d65a230: Waiting 03:04:55 221eaa008020: Waiting 03:04:55 fe522b08c979: Verifying Checksum 03:04:55 fe522b08c979: Download complete 03:04:55 408f87550127: Verifying Checksum 03:04:55 408f87550127: Download complete 03:04:55 2a4607e5d6b9: Verifying Checksum 03:04:55 2a4607e5d6b9: Download complete 03:04:55 8f79b27c4fd2: Verifying Checksum 03:04:55 8f79b27c4fd2: Download complete 03:04:55 cbdbe7a5bc2a: Download complete 03:04:56 cbdbe7a5bc2a: Pull complete 03:04:56 408f87550127: Pull complete 03:04:57 fe522b08c979: Pull complete 03:04:58 e5c8dbe1645b: Verifying Checksum 03:04:58 e5c8dbe1645b: Download complete 03:05:02 23e8b3b47431: Verifying Checksum 03:05:02 23e8b3b47431: Download complete 03:05:03 5c568d65a230: Download complete 03:05:07 221eaa008020: Verifying Checksum 03:05:07 221eaa008020: Download complete 03:05:20 221eaa008020: Pull complete 03:05:20 2a4607e5d6b9: Pull complete 03:05:20 8f79b27c4fd2: Pull complete 03:05:23 e5c8dbe1645b: Pull complete 03:05:27 23e8b3b47431: Pull complete 03:05:30 5c568d65a230: Pull complete 03:05:30 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 03:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:05:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 03:05:31 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:05:31 $ 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 03:05:33 $ docker top 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:34 + snyk monitor '--org=edgex-jenkins' 03:05:57 03:05:57 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 03:05:57 03:05:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/1ce86ab4-ae77-4598-b3ca-d159c44c7493 03:05:57 03:05:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:05:57 03:05:57 03:05:57 Snyk CLI supports Node.js 8 and higher. 03:05:57 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 03:05:57 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 03:05:57 03:05:57 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 03:05:57 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. 03:05:57 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 03:05:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:05:57 $ docker stop --time=1 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e 03:06:01 $ docker rm -f 544e72d9a5af1554586c49978a9294ed95aade66ec27615bf4c3c8414b0d117e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:06:03 03:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 03:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:06:04 latest: Pulling from edgex-devops/edgex-klar 03:06:04 e7c96db7181b: Pulling fs layer 03:06:04 1868ca2cb446: Pulling fs layer 03:06:04 136be5d0fe8e: Pulling fs layer 03:06:04 894bfe63afcb: Pulling fs layer 03:06:04 894bfe63afcb: Waiting 03:06:04 1868ca2cb446: Verifying Checksum 03:06:04 1868ca2cb446: Download complete 03:06:04 136be5d0fe8e: Verifying Checksum 03:06:04 136be5d0fe8e: Download complete 03:06:05 e7c96db7181b: Verifying Checksum 03:06:05 e7c96db7181b: Download complete 03:06:05 894bfe63afcb: Download complete 03:06:06 e7c96db7181b: Pull complete 03:06:06 1868ca2cb446: Pull complete 03:06:06 136be5d0fe8e: Pull complete 03:06:08 894bfe63afcb: Pull complete 03:06:08 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 03:06:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:06:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 03:06:09 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:06:09 $ 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 03:06:13 $ docker top 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:15 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:06:15 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:06:22 $ docker stop --time=1 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 03:06:25 $ docker rm -f 25bdc65b1ed84589f9cb3ed0743fcb6dfa030b2617b93704e26df09975e7fcc4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:06:27 . [Pipeline] withDockerContainer 03:06:29 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:06:29 $ 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 03:06:35 $ docker top b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:38 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:06:38 + tee 03:06:38 clair timeout 1m0s 03:06:38 docker timeout: 1m0s 03:06:38 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:06:40 $ docker stop --time=1 b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 03:06:43 $ docker rm -f b5ad934a17ead2e40912102039cc0e3574e87da542b969f3335c25a6c590e150 [Pipeline] // withDockerContainer [Pipeline] sh 03:06:44 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 03:06:44 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 03:06:44 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 03:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:06:45 . [Pipeline] withDockerContainer 03:06:46 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:06:46 $ 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 03:06:50 $ docker top 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:53 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:06:53 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:06:57 $ docker stop --time=1 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 03:07:00 $ docker rm -f 0eced5117ddeb9acd28c2b33034bbef4de7f57435e543fd4a4c50b0146d5dec4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:07:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:07:02 . [Pipeline] withDockerContainer 03:07:03 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:07:03 $ 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 03:07:05 $ docker top 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:06 + tee 03:07:06 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c9d1bc531ce8d239853a83473b53448fb6f2334c 03:07:06 clair timeout 1m0s 03:07:06 docker timeout: 1m0s 03:07:06 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:07:07 $ docker stop --time=1 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 03:07:09 $ docker rm -f 1fac3542e4db7d8ab2518b0da9b120180735face2e1b7c875728675a99075788 [Pipeline] // withDockerContainer [Pipeline] sh 03:07:10 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 03:07:10 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 03:07:10 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 03:07:11 + git log --format=format:%s -1 c9d1bc531ce8d239853a83473b53448fb6f2334c [Pipeline] isUnix [Pipeline] sh 03:07:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:12 . [Pipeline] withDockerContainer 03:07:12 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:07:12 $ 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 03:07:13 $ docker top 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:14 [ssh-agent] Looking for ssh-agent implementation... 03:07:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:14 $ docker exec 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 ssh-agent 03:07:15 SSH_AUTH_SOCK=/tmp/ssh-MVo70mrvFS6e/agent.12 03:07:15 SSH_AGENT_PID=18 03:07:15 Running ssh-add (command line suppressed) 03:07:15 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) 03:07:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:16 + git semver tag 03:07:16 # -> Open(): unable to determine branch for HEAD 03:07:16 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:07:16 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:07:16 # $SEMVER_REMOTE_NAME = origin 03:07:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:07:16 # $SEMVER_USER_NAME = edgex-jenkins 03:07:16 # $SEMVER_BRANCH = master 03:07:16 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:07:16 # c9d1bc531ce8d239853a83473b53448fb6f2334c HEAD 03:07:16 # -> Force: false 03:07:16 # 94fd30f7d1eed31cca1852dd2a1a279fb76c1429 refs/tags/v1.2.4-dev.9 [Pipeline] } 03:07:16 $ docker exec --env ******** --env ******** 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 ssh-agent -k 03:07:17 unset SSH_AUTH_SOCK; 03:07:17 unset SSH_AGENT_PID; 03:07:17 echo Agent pid 18 killed; 03:07:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:17 + git semver [Pipeline] } 03:07:17 $ docker stop --time=1 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 03:07:19 $ docker rm -f 2b8e97169b2b3707ec601397ef1e39e68da104cc3833fbd3aa452f96d4ec2e19 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:07:20 03:07:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:07:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:07:21 0.23.1-centos7: Pulling from edgex-lftools 03:07:21 ab5ef0e58194: Pulling fs layer 03:07:21 9712f1f96733: Pulling fs layer 03:07:21 63f879dbbcfc: Pulling fs layer 03:07:21 0d9ebad4ef96: Pulling fs layer 03:07:21 e9a5061849ea: Pulling fs layer 03:07:21 d747dcd14b5f: Pulling fs layer 03:07:21 2de7ff778b66: Pulling fs layer 03:07:21 0d9ebad4ef96: Waiting 03:07:21 e9a5061849ea: Waiting 03:07:21 d747dcd14b5f: Waiting 03:07:21 2de7ff778b66: Waiting 03:07:21 9712f1f96733: Verifying Checksum 03:07:21 9712f1f96733: Download complete 03:07:26 63f879dbbcfc: Verifying Checksum 03:07:26 63f879dbbcfc: Download complete 03:07:26 e9a5061849ea: Verifying Checksum 03:07:26 e9a5061849ea: Download complete 03:07:26 d747dcd14b5f: Verifying Checksum 03:07:26 d747dcd14b5f: Download complete 03:07:29 2de7ff778b66: Verifying Checksum 03:07:29 2de7ff778b66: Download complete 03:07:29 0d9ebad4ef96: Verifying Checksum 03:07:29 0d9ebad4ef96: Download complete 03:07:31 ab5ef0e58194: Verifying Checksum 03:07:31 ab5ef0e58194: Download complete 03:07:40 ab5ef0e58194: Pull complete 03:07:40 9712f1f96733: Pull complete 03:07:41 63f879dbbcfc: Pull complete 03:07:57 0d9ebad4ef96: Pull complete 03:07:57 e9a5061849ea: Pull complete 03:07:57 d747dcd14b5f: Pull complete 03:08:01 2de7ff778b66: Pull complete 03:08:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:08:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:08:01 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:08:02 $ 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 03:08:05 $ docker top 875514cbb1ff9cf1c0c2fa15e6a94435925887863bf6bbf16733a81a3f2e9900 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:08:06 provisioning config files... 03:08:06 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2762261219613850096tmp 03:08:06 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1151935814626843797tmp 03:08:06 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3335957116683616232tmp [Pipeline] { [Pipeline] echo 03:08:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:08:07 ---> sigul-configuration.sh 03:08:07 gpg: directory `/root/.gnupg' created 03:08:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:08:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:08:07 gpg: keyring `/root/.gnupg/secring.gpg' created 03:08:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:08:07 gpg: CAST5 encrypted data 03:08:07 gpg: encrypted with 1 passphrase 03:08:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:08:08 + mkdir /home/jenkins 03:08:08 + mkdir /home/jenkins/sigul [Pipeline] sh 03:08:09 + 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 03:08:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:08:09 ---> sigul-install.sh 03:08:18 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:08:19 + git tag --list 03:08:19 v1.0.0 03:08:19 v1.1.0 03:08:19 v1.1.1 03:08:19 v1.2.0 03:08:19 v1.2.1 03:08:19 v1.2.2 03:08:19 v1.2.3 03:08:19 v1.2.3-dev.1 03:08:19 v1.2.3-dev.2 03:08:19 v1.2.4-dev.1 03:08:19 v1.2.4-dev.2 03:08:19 v1.2.4-dev.3 03:08:19 v1.2.4-dev.4 03:08:19 v1.2.4-dev.5 03:08:19 v1.2.4-dev.6 03:08:19 v1.2.4-dev.7 03:08:19 v1.2.4-dev.8 03:08:19 v1.2.4-dev.9 [Pipeline] sh 03:08:19 + lftools sign git-tag v1.2.4-dev.9 03:08:22 Signing Git tag with Sigul... 03:08:22 Signing v1.2.4-dev.9 [Pipeline] echo 03:08:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:08:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:08:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:08:24 $ docker stop --time=1 875514cbb1ff9cf1c0c2fa15e6a94435925887863bf6bbf16733a81a3f2e9900 03:08:26 $ 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 03:08:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:08:27 . [Pipeline] withDockerContainer 03:08:28 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:08:28 $ 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 03:08:30 $ docker top 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:08:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:31 [ssh-agent] Looking for ssh-agent implementation... 03:08:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:31 $ docker exec 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 ssh-agent 03:08:32 SSH_AUTH_SOCK=/tmp/ssh-VjsXWDKtaxiK/agent.11 03:08:32 SSH_AGENT_PID=16 03:08:32 Running ssh-add (command line suppressed) 03:08:32 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) 03:08:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:33 + git semver bump pre 03:08:33 # -> Open(): unable to determine branch for HEAD 03:08:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:08:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:08:33 # $SEMVER_REMOTE_NAME = origin 03:08:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:08:33 # $SEMVER_USER_NAME = edgex-jenkins 03:08:33 # $SEMVER_BRANCH = master 03:08:33 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:08:33 1.2.4-dev.10 [Pipeline] } 03:08:33 $ docker exec --env ******** --env ******** 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 ssh-agent -k 03:08:34 unset SSH_AUTH_SOCK; 03:08:34 unset SSH_AGENT_PID; 03:08:34 echo Agent pid 16 killed; 03:08:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:34 + git semver [Pipeline] } 03:08:35 $ docker stop --time=1 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 03:08:36 $ docker rm -f 3d9eabda324fa00984c7ab509f54d17a9c9cd9dc995fc56fae321b68ac62e090 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:08:37 . [Pipeline] withDockerContainer 03:08:37 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:08:37 $ 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 03:08:39 $ docker top 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:40 [ssh-agent] Looking for ssh-agent implementation... 03:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:40 $ docker exec 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a ssh-agent 03:08:41 SSH_AUTH_SOCK=/tmp/ssh-TcPrO1GAzDHY/agent.13 03:08:41 SSH_AGENT_PID=18 03:08:41 Running ssh-add (command line suppressed) 03:08:41 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) 03:08:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:42 + git semver push 03:08:42 # -> Open(): unable to determine branch for HEAD 03:08:42 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:08:42 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:08:42 # $SEMVER_REMOTE_NAME = origin 03:08:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:08:42 # $SEMVER_USER_NAME = edgex-jenkins 03:08:42 # $SEMVER_BRANCH = master 03:08:42 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 03:08:51 $ docker exec --env ******** --env ******** 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a ssh-agent -k 03:08:51 unset SSH_AUTH_SOCK; 03:08:51 unset SSH_AGENT_PID; 03:08:51 echo Agent pid 18 killed; 03:08:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:53 + git semver [Pipeline] } 03:08:53 $ docker stop --time=1 1eea7baa3e58dec661d51bb935284983f67caf9943e3932d6d586cd670f2ca4a 03:08:55 $ 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 03:08:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:08:58 ---> package-listing.sh 03:08:58 ++ facter osfamily 03:08:58 ++ tr '[:upper:]' '[:lower:]' 03:08:58 + OS_FAMILY=redhat 03:08:58 + workspace=/w/workspace/foundry_device-virtual-go_master 03:08:58 + START_PACKAGES=/tmp/packages_start.txt 03:08:58 + END_PACKAGES=/tmp/packages_end.txt 03:08:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:08:58 + PACKAGES=/tmp/packages_start.txt 03:08:58 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:08:58 + PACKAGES=/tmp/packages_end.txt 03:08:58 + case "${OS_FAMILY}" in 03:08:58 + rpm -qa 03:08:58 + sort 03:09:02 + '[' -f /tmp/packages_start.txt ']' 03:09:02 + '[' -f /tmp/packages_end.txt ']' 03:09:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:09:02 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:09:02 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 03:09:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 03:09:02 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 03:09:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:03 03:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:09:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:04 alpine: Pulling from edgex-lftools-log-publisher 03:09:04 df20fa9351a1: Pulling fs layer 03:09:04 36b3adc4ff6f: Pulling fs layer 03:09:04 8ad3a11d3b57: Pulling fs layer 03:09:04 46f8f816bc3b: Pulling fs layer 03:09:04 93b61091891f: Pulling fs layer 03:09:04 93b9cdb0e59b: Pulling fs layer 03:09:04 5e14af77c1be: Pulling fs layer 03:09:04 01666e4c0597: Pulling fs layer 03:09:04 aa168da1d23b: Pulling fs layer 03:09:04 46f8f816bc3b: Waiting 03:09:04 93b61091891f: Waiting 03:09:04 93b9cdb0e59b: Waiting 03:09:04 5e14af77c1be: Waiting 03:09:04 01666e4c0597: Waiting 03:09:04 aa168da1d23b: Waiting 03:09:04 36b3adc4ff6f: Download complete 03:09:04 46f8f816bc3b: Verifying Checksum 03:09:04 46f8f816bc3b: Download complete 03:09:05 df20fa9351a1: Verifying Checksum 03:09:05 df20fa9351a1: Download complete 03:09:05 93b9cdb0e59b: Verifying Checksum 03:09:05 93b9cdb0e59b: Download complete 03:09:05 5e14af77c1be: Download complete 03:09:05 01666e4c0597: Verifying Checksum 03:09:05 01666e4c0597: Download complete 03:09:05 93b61091891f: Verifying Checksum 03:09:05 93b61091891f: Download complete 03:09:06 df20fa9351a1: Pull complete 03:09:06 36b3adc4ff6f: Pull complete 03:09:06 8ad3a11d3b57: Verifying Checksum 03:09:06 8ad3a11d3b57: Download complete 03:09:08 8ad3a11d3b57: Pull complete 03:09:08 46f8f816bc3b: Pull complete 03:09:09 93b61091891f: Pull complete 03:09:09 93b9cdb0e59b: Pull complete 03:09:09 5e14af77c1be: Pull complete 03:09:09 01666e4c0597: Pull complete 03:09:17 aa168da1d23b: Verifying Checksum 03:09:17 aa168da1d23b: Download complete 03:09:28 aa168da1d23b: Pull complete 03:09:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:09:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:09:28 prd-centos7-docker-4c-2g-9371 does not seem to be running inside a container 03:09:28 $ 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 03:09:31 $ docker top 80e10e1620755bbcb7ce7eb4b4a9d3fae1d2601b1bd5898629c188f352a6b2f0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:09:32 + touch /tmp/pre-build-complete [Pipeline] sh 03:09:33 + mkdir -p /var/log/sa [Pipeline] sh 03:09:33 + ls /var/log/sa-host 03:09:33 + sadf -c /var/log/sa-host/sa05 03:09:33 file_magic: OK 03:09:33 HZ: Using current value: 100 03:09:33 file_header: OK 03:09:33 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 03:09:33 Statistics: 03:09:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:09:33 File successfully converted to sysstat format version 12.2.1 03:09:33 + sadf -c /var/log/sa-host/sa28 03:09:33 file_magic: OK 03:09:33 HZ: Using current value: 100 03:09:33 file_header: OK 03:09:33 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 03:09:33 Statistics: 03:09:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:09:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:34 provisioning config files... 03:09:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3260321388322859470tmp [Pipeline] { [Pipeline] echo 03:09:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:09:35 ---> create-netrc.sh [Pipeline] } 03:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:09:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:09:36 ---> python-tools-install.sh [Pipeline] echo 03:09:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:09:36 ---> sudo-logs.sh 03:09:36 Archiving 'sudo' log.. [Pipeline] echo 03:09:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:09:37 ---> job-cost.sh 03:09:37 lf-activate-venv: SKIPPING 03:09:37 INFO: No Stack... 03:09:39 INFO: Retrieving Pricing Info for: v1-standard-2 03:09:39 INFO: Archiving Costs [Pipeline] echo 03:09:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:09:40 ---> logs-deploy.sh 03:09:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/30 03:09:40 INFO: archiving workspace using pattern(s): 03:09:43 Archives upload complete. 03:09:43 INFO: archiving logs to Nexus