Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 34586eebf1e8dc7164860841d693f6652cfed50d 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43273 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 34586eebf1e8dc7164860841d693f6652cfed50d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 Commit message: "Merge pull request #570 from hahattan/issue-472" > git rev-list --no-walk 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T10:25:36.890Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T10:25:37.173Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T10:25:37.276Z] ========================================================= [2020-09-15T10:25:37.276Z] EdgeX Global Pipelines Version Info [2020-09-15T10:25:37.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:25:40.000Z] ------------------- [2020-09-15T10:25:40.000Z] stable info: [2020-09-15T10:25:40.000Z] ------------------- [2020-09-15T10:25:40.000Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-15T10:25:40.000Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-15T10:25:40.000Z] Message: update stable to v1.0.119 [2020-09-15T10:25:40.974Z] ------------------- [2020-09-15T10:25:40.974Z] experimental info: [2020-09-15T10:25:40.974Z] ------------------- [2020-09-15T10:25:40.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T10:25:40.974Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-15T10:25:40.974Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T10:25:41.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-15T10:25:41.468Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-15T10:25:41.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T10:25:41.670Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T10:25:41.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T10:25:41.859Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-15T10:25:41.948Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T10:25:42.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-15T10:25:42.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-15T10:25:42.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T10:25:42.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T10:25:42.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-15T10:25:42.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T10:25:42.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T10:25:42.730Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-15T10:25:42.819Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T10:25:42.913Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T10:25:43.047Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T10:25:43.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T10:25:43.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T10:25:43.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-15T10:25:43.480Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-15T10:25:43.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-15T10:25:43.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-15T10:25:43.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-15T10:25:43.847Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34586eebf1e8dc7164860841d693f6652cfed50d [Pipeline] echo [2020-09-15T10:25:43.943Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34586ee [Pipeline] echo [2020-09-15T10:25:44.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T10:25:44.904Z] + git log --format=format:%s -1 34586eebf1e8dc7164860841d693f6652cfed50d [Pipeline] echo [2020-09-15T10:25:44.989Z] GIT_COMMIT: 34586eebf1e8dc7164860841d693f6652cfed50d, Commit Message: Merge pull request #570 from hahattan/issue-472 [Pipeline] echo [2020-09-15T10:25:45.036Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:25:46.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:25:46.718Z] [2020-09-15T10:25:46.718Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:25:47.140Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:25:47.140Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T10:25:47.140Z] 31603596830f: Pulling fs layer [2020-09-15T10:25:47.140Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T10:25:47.140Z] 6ca5941a6612: Pulling fs layer [2020-09-15T10:25:47.140Z] ecc8261a40a4: Pulling fs layer [2020-09-15T10:25:47.140Z] ecc8261a40a4: Waiting [2020-09-15T10:25:47.140Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T10:25:47.140Z] 2a8b12db71e7: Download complete [2020-09-15T10:25:47.436Z] 31603596830f: Verifying Checksum [2020-09-15T10:25:47.436Z] 31603596830f: Download complete [2020-09-15T10:25:48.049Z] ecc8261a40a4: Verifying Checksum [2020-09-15T10:25:48.049Z] ecc8261a40a4: Download complete [2020-09-15T10:25:48.049Z] 6ca5941a6612: Verifying Checksum [2020-09-15T10:25:48.049Z] 6ca5941a6612: Download complete [2020-09-15T10:25:48.049Z] 31603596830f: Pull complete [2020-09-15T10:25:48.318Z] 2a8b12db71e7: Pull complete [2020-09-15T10:25:49.331Z] 6ca5941a6612: Pull complete [2020-09-15T10:25:49.597Z] ecc8261a40a4: Pull complete [2020-09-15T10:25:49.597Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T10:25:49.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:25:49.597Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T10:25:49.770Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:25:49.927Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T10:25:52.255Z] $ docker top 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T10:25:52.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T10:25:52.676Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T10:25:52.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T10:25:52.969Z] $ docker exec 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 ssh-agent [2020-09-15T10:25:53.200Z] SSH_AUTH_SOCK=/tmp/ssh-esL441TZsKnR/agent.11 [2020-09-15T10:25:53.200Z] SSH_AGENT_PID=16 [2020-09-15T10:25:53.218Z] Running ssh-add (command line suppressed) [2020-09-15T10:25:53.391Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8195922816803112602.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8195922816803112602.key) [2020-09-15T10:25:53.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T10:25:53.825Z] + git describe --exact-match --tags HEAD [2020-09-15T10:25:53.825Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T10:25:53.859Z] $ docker exec --env ******** --env ******** 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 ssh-agent -k [2020-09-15T10:25:54.077Z] unset SSH_AUTH_SOCK; [2020-09-15T10:25:54.078Z] unset SSH_AGENT_PID; [2020-09-15T10:25:54.078Z] echo Agent pid 16 killed; [2020-09-15T10:25:54.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T10:25:54.265Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T10:25:54.265Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T10:25:54.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T10:25:54.378Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T10:25:54.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T10:25:54.616Z] $ docker exec 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 ssh-agent [2020-09-15T10:25:54.850Z] SSH_AUTH_SOCK=/tmp/ssh-ivCpqfM1UNjL/agent.44 [2020-09-15T10:25:54.850Z] SSH_AGENT_PID=49 [2020-09-15T10:25:54.858Z] Running ssh-add (command line suppressed) [2020-09-15T10:25:55.038Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1881703322536354026.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1881703322536354026.key) [2020-09-15T10:25:55.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T10:25:55.481Z] + git semver init [2020-09-15T10:25:55.481Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T10:25:55.481Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T10:25:55.481Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T10:25:55.481Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T10:25:55.481Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T10:25:55.481Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T10:25:55.481Z] # $SEMVER_BRANCH = master [2020-09-15T10:25:55.481Z] # $SEMVER_TEMP = /tmp/semver-196410169 [2020-09-15T10:25:55.481Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-15T10:25:56.474Z] # '/tmp/semver-196410169' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-15T10:25:56.474Z] # -> Force: false [2020-09-15T10:25:56.474Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T10:25:56.505Z] $ docker exec --env ******** --env ******** 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 ssh-agent -k [2020-09-15T10:25:56.802Z] unset SSH_AUTH_SOCK; [2020-09-15T10:25:56.802Z] unset SSH_AGENT_PID; [2020-09-15T10:25:56.802Z] echo Agent pid 49 killed; [2020-09-15T10:25:56.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T10:25:57.361Z] + git semver [Pipeline] } [2020-09-15T10:25:57.395Z] $ docker stop --time=1 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 [2020-09-15T10:25:58.903Z] $ docker rm -f 1f6383da1437574c27bf9423147ef819ccd34ca000aa1c3484c065bf3bdd6308 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T10:26:00.214Z] Stashed 30 file(s) [Pipeline] echo [2020-09-15T10:26:00.217Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.11 [Pipeline] echo [2020-09-15T10:26:00.347Z] Archived original version: [1.2.4-dev.11] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-15T10:26:00.943Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43265 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T10:26:01.008Z] Running in /w/workspace/device-sdk-go/61 [Pipeline] { [Pipeline] checkout [2020-09-15T10:26:05.702Z] using credential edgex-jenkins-ssh [2020-09-15T10:26:05.754Z] Cloning the remote Git repository [2020-09-15T10:26:05.754Z] Cloning with configured refspecs honoured and without tags [2020-09-15T10:26:05.827Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:26:05.959Z] > git init /w/workspace/device-sdk-go/61 # timeout=10 [2020-09-15T10:26:07.141Z] Fetching without tags [2020-09-15T10:26:06.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:26:06.054Z] > git --version # timeout=10 [2020-09-15T10:26:06.077Z] > git --version # 'git version 2.17.1' [2020-09-15T10:26:06.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T10:26:06.221Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:26:07.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T10:26:07.089Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:26:07.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T10:26:07.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:26:07.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T10:26:07.180Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:26:07.591Z] Checking out Revision 34586eebf1e8dc7164860841d693f6652cfed50d (master) [2020-09-15T10:26:07.617Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T10:26:07.641Z] > git checkout -f 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 [2020-09-15T10:26:12.171Z] Commit message: "Merge pull request #570 from hahattan/issue-472" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T10:26:13.510Z] ========================================================= [2020-09-15T10:26:13.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-15T10:26:13.510Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:26:14.656Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-15T10:26:15.642Z] Sending build context to Docker daemon 3.143MB [2020-09-15T10:26:15.642Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T10:26:15.642Z] Step 2/8 : FROM ${BASE} [2020-09-15T10:26:15.900Z] Still waiting to schedule task [2020-09-15T10:26:15.900Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-15T10:26:15.919Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T10:26:15.919Z] b538f80385f9: Pulling fs layer [2020-09-15T10:26:15.919Z] 74f711af9a0d: Pulling fs layer [2020-09-15T10:26:15.919Z] 99f96fe45779: Pulling fs layer [2020-09-15T10:26:15.919Z] 8529a6b9a6be: Pulling fs layer [2020-09-15T10:26:15.919Z] 45590311c82a: Pulling fs layer [2020-09-15T10:26:15.919Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-15T10:26:15.919Z] 209524e5b208: Pulling fs layer [2020-09-15T10:26:15.919Z] 8529a6b9a6be: Waiting [2020-09-15T10:26:15.919Z] 45590311c82a: Waiting [2020-09-15T10:26:15.919Z] 69ca0ff8b7b3: Waiting [2020-09-15T10:26:15.919Z] 209524e5b208: Waiting [2020-09-15T10:26:15.919Z] 99f96fe45779: Verifying Checksum [2020-09-15T10:26:15.919Z] 99f96fe45779: Download complete [2020-09-15T10:26:15.919Z] 74f711af9a0d: Verifying Checksum [2020-09-15T10:26:15.919Z] 74f711af9a0d: Download complete [2020-09-15T10:26:16.235Z] 45590311c82a: Verifying Checksum [2020-09-15T10:26:16.235Z] 45590311c82a: Download complete [2020-09-15T10:26:16.235Z] 69ca0ff8b7b3: Download complete [2020-09-15T10:26:16.235Z] b538f80385f9: Download complete [2020-09-15T10:26:16.840Z] b538f80385f9: Pull complete [2020-09-15T10:26:17.452Z] 74f711af9a0d: Pull complete [2020-09-15T10:26:17.728Z] 99f96fe45779: Pull complete [2020-09-15T10:26:18.337Z] 209524e5b208: Verifying Checksum [2020-09-15T10:26:18.337Z] 209524e5b208: Download complete [2020-09-15T10:26:19.783Z] 8529a6b9a6be: Verifying Checksum [2020-09-15T10:26:19.783Z] 8529a6b9a6be: Download complete [2020-09-15T10:26:29.995Z] 8529a6b9a6be: Pull complete [2020-09-15T10:26:30.596Z] 45590311c82a: Pull complete [2020-09-15T10:26:30.867Z] 69ca0ff8b7b3: Pull complete [2020-09-15T10:26:35.180Z] 209524e5b208: Pull complete [2020-09-15T10:26:35.180Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-15T10:26:35.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-15T10:26:35.180Z] ---> 5bddaf1c2fca [2020-09-15T10:26:35.180Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:26:37.811Z] ---> Running in 69c56e687e7f [2020-09-15T10:26:37.811Z] Removing intermediate container 69c56e687e7f [2020-09-15T10:26:37.811Z] ---> 3d71725f23fc [2020-09-15T10:26:37.811Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T10:26:38.089Z] ---> Running in 270454eded61 [2020-09-15T10:26:40.747Z] Removing intermediate container 270454eded61 [2020-09-15T10:26:40.747Z] ---> b1f5535e6cc5 [2020-09-15T10:26:40.747Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T10:26:40.747Z] ---> Running in df9e16923db1 [2020-09-15T10:26:42.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T10:26:43.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T10:26:44.600Z] OK: 142 MiB in 39 packages [2020-09-15T10:26:45.583Z] Removing intermediate container df9e16923db1 [2020-09-15T10:26:45.583Z] ---> 66371c6848cf [2020-09-15T10:26:45.583Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T10:26:45.583Z] ---> Running in 7c216eb02f18 [2020-09-15T10:26:46.178Z] Removing intermediate container 7c216eb02f18 [2020-09-15T10:26:46.178Z] ---> 58dc6255f8a4 [2020-09-15T10:26:46.178Z] Step 7/8 : COPY . . [2020-09-15T10:26:47.607Z] ---> 46059e738c15 [2020-09-15T10:26:47.607Z] Step 8/8 : RUN go mod download [2020-09-15T10:26:47.607Z] ---> Running in b2e75fc0c6ca [2020-09-15T10:27:02.687Z] Removing intermediate container b2e75fc0c6ca [2020-09-15T10:27:02.687Z] ---> 5a49dd0213aa [2020-09-15T10:27:02.687Z] Successfully built 5a49dd0213aa [2020-09-15T10:27:02.687Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T10:27:06.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T10:27:07.399Z] + ls -al . [2020-09-15T10:27:07.399Z] total 104 [2020-09-15T10:27:07.399Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 10:26 . [2020-09-15T10:27:07.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:26 .. [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 10:26 .dockerignore [2020-09-15T10:27:07.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 10:26 .git [2020-09-15T10:27:07.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:26 .github [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 10:26 .gitignore [2020-09-15T10:27:07.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 10:26 .semver [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 10:26 Dockerfile.build [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 10:26 Jenkinsfile [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 10:26 LICENSE [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 10:26 Makefile [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 10:26 README.md [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 10:26 RELEASE-NOTES.txt [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 10:25 VERSION [2020-09-15T10:27:07.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:26 bin [2020-09-15T10:27:07.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:26 example [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 15 10:26 go.mod [2020-09-15T10:27:07.399Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 10:26 internal [2020-09-15T10:27:07.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:26 openapi [2020-09-15T10:27:07.399Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 10:26 pkg [2020-09-15T10:27:07.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:26 snap [2020-09-15T10:27:07.399Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 10:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:27:07.825Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=34586eebf1e8dc7164860841d693f6652cfed50d --label arch=arm64 --label version=1.2.4-dev.11 . [2020-09-15T10:27:08.429Z] Sending build context to Docker daemon 3.143MB [2020-09-15T10:27:08.429Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T10:27:08.429Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T10:27:08.429Z] ---> 5a49dd0213aa [2020-09-15T10:27:08.429Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T10:27:08.713Z] ---> Running in dfd9ebe20044 [2020-09-15T10:27:08.988Z] Removing intermediate container dfd9ebe20044 [2020-09-15T10:27:08.988Z] ---> eb71a65d4cdf [2020-09-15T10:27:08.988Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T10:27:08.988Z] ---> Running in a13d8eab8e82 [2020-09-15T10:27:09.583Z] Removing intermediate container a13d8eab8e82 [2020-09-15T10:27:09.583Z] ---> 2f546b4b97de [2020-09-15T10:27:09.583Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:27:09.854Z] ---> Running in 0f8034f77cf3 [2020-09-15T10:27:10.125Z] Removing intermediate container 0f8034f77cf3 [2020-09-15T10:27:10.125Z] ---> fb2d9688498c [2020-09-15T10:27:10.125Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T10:27:10.401Z] ---> Running in e3f015c02995 [2020-09-15T10:27:13.014Z] Removing intermediate container e3f015c02995 [2020-09-15T10:27:13.014Z] ---> ac2867c82b82 [2020-09-15T10:27:13.014Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T10:27:13.014Z] ---> Running in c6a8e37522f3 [2020-09-15T10:27:14.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T10:27:17.054Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T10:27:19.654Z] OK: 142 MiB in 39 packages [2020-09-15T10:27:20.252Z] Removing intermediate container c6a8e37522f3 [2020-09-15T10:27:20.252Z] ---> b37e18317846 [2020-09-15T10:27:20.252Z] Step 8/24 : COPY . . [2020-09-15T10:27:21.254Z] ---> 4d910358d89f [2020-09-15T10:27:21.254Z] Step 9/24 : RUN ${MAKE} [2020-09-15T10:27:21.526Z] ---> Running in 312250c85a14 [2020-09-15T10:27:22.952Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-15T10:27:45.125Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T10:27:47.134Z] Removing intermediate container 312250c85a14 [2020-09-15T10:27:47.134Z] ---> 59b806bdd03e [2020-09-15T10:27:47.134Z] Step 10/24 : FROM scratch [2020-09-15T10:27:47.134Z] ---> [2020-09-15T10:27:47.134Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:27:47.134Z] ---> Running in 178d8b832790 [2020-09-15T10:27:47.729Z] Removing intermediate container 178d8b832790 [2020-09-15T10:27:47.729Z] ---> 71a09182d6fe [2020-09-15T10:27:47.729Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T10:27:47.729Z] ---> Running in 2324b2995d81 [2020-09-15T10:27:48.323Z] Removing intermediate container 2324b2995d81 [2020-09-15T10:27:48.323Z] ---> 3f37301e7e2d [2020-09-15T10:27:48.323Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T10:27:48.323Z] ---> Running in d58753213186 [2020-09-15T10:27:48.597Z] Removing intermediate container d58753213186 [2020-09-15T10:27:48.597Z] ---> d2152351f3cd [2020-09-15T10:27:48.597Z] Step 14/24 : WORKDIR / [2020-09-15T10:27:48.869Z] ---> Running in a1620612bcc8 [2020-09-15T10:27:49.141Z] Removing intermediate container a1620612bcc8 [2020-09-15T10:27:49.141Z] ---> cf5c678e0b2b [2020-09-15T10:27:49.141Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T10:27:50.135Z] ---> cf6951504eb3 [2020-09-15T10:27:50.135Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T10:27:51.116Z] ---> f291322ae513 [2020-09-15T10:27:51.116Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T10:27:51.748Z] ---> 43bddd67c1e8 [2020-09-15T10:27:51.748Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T10:27:52.347Z] ---> 650114b5cb55 [2020-09-15T10:27:52.347Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T10:27:52.937Z] ---> e660129596c4 [2020-09-15T10:27:52.937Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T10:27:53.210Z] ---> Running in 57bad4d0da3c [2020-09-15T10:27:53.484Z] Removing intermediate container 57bad4d0da3c [2020-09-15T10:27:53.484Z] ---> 78e517cef6a4 [2020-09-15T10:27:53.484Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T10:27:53.769Z] ---> Running in fbb727e29614 [2020-09-15T10:27:53.815Z] Running on prd-centos7-docker-4c-2g-43283 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T10:27:53.867Z] Running in /w/workspace/device-sdk-go/61 [Pipeline] { [Pipeline] checkout [2020-09-15T10:27:54.360Z] Removing intermediate container fbb727e29614 [2020-09-15T10:27:54.360Z] ---> 11ce61de3b7b [2020-09-15T10:27:54.360Z] Step 22/24 : LABEL arch=arm64 [2020-09-15T10:27:54.360Z] ---> Running in f471e5748922 [2020-09-15T10:27:54.966Z] Removing intermediate container f471e5748922 [2020-09-15T10:27:54.966Z] ---> 2120f8ccab71 [2020-09-15T10:27:54.966Z] Step 23/24 : LABEL git_sha=34586eebf1e8dc7164860841d693f6652cfed50d [2020-09-15T10:27:54.966Z] ---> Running in d728d6d4eaf1 [2020-09-15T10:27:55.237Z] Removing intermediate container d728d6d4eaf1 [2020-09-15T10:27:55.237Z] ---> 436334b914b9 [2020-09-15T10:27:55.237Z] Step 24/24 : LABEL version=1.2.4-dev.11 [2020-09-15T10:27:55.509Z] ---> Running in 457d660df556 [2020-09-15T10:27:55.780Z] Removing intermediate container 457d660df556 [2020-09-15T10:27:55.781Z] ---> fbd5aa7a4508 [2020-09-15T10:27:55.781Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T10:27:55.781Z] Successfully built fbd5aa7a4508 [2020-09-15T10:27:55.781Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-15T10:28:01.538Z] using credential edgex-jenkins-ssh [2020-09-15T10:28:01.601Z] Cloning the remote Git repository [2020-09-15T10:28:01.601Z] Cloning with configured refspecs honoured and without tags [2020-09-15T10:28:01.636Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:28:01.749Z] > git init /w/workspace/device-sdk-go/61 # timeout=10 [2020-09-15T10:28:02.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:28:02.184Z] > git --version # timeout=10 [2020-09-15T10:28:02.239Z] > git --version # 'git version 2.16.5' [2020-09-15T10:28:02.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T10:28:02.328Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:28:03.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T10:28:03.966Z] Fetching without tags [2020-09-15T10:28:04.393Z] Checking out Revision 34586eebf1e8dc7164860841d693f6652cfed50d (master) [2020-09-15T10:28:03.917Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:28:03.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T10:28:03.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T10:28:03.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T10:28:03.985Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T10:28:04.407Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T10:28:04.430Z] > git checkout -f 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 [2020-09-15T10:28:08.306Z] Commit message: "Merge pull request #570 from hahattan/issue-472" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T10:28:09.376Z] ========================================================= [2020-09-15T10:28:09.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-15T10:28:09.376Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:28:10.524Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-15T10:28:11.695Z] Sending build context to Docker daemon 3.141MB [2020-09-15T10:28:11.695Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T10:28:11.695Z] Step 2/8 : FROM ${BASE} [2020-09-15T10:28:11.695Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T10:28:11.695Z] df20fa9351a1: Pulling fs layer [2020-09-15T10:28:11.695Z] ed8968b2872e: Pulling fs layer [2020-09-15T10:28:11.695Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T10:28:11.695Z] e871e8e8d7a9: Pulling fs layer [2020-09-15T10:28:11.695Z] e73272ec9a57: Pulling fs layer [2020-09-15T10:28:11.695Z] 1e910a182e73: Pulling fs layer [2020-09-15T10:28:11.695Z] 4e634b169226: Pulling fs layer [2020-09-15T10:28:11.695Z] e871e8e8d7a9: Waiting [2020-09-15T10:28:11.695Z] e73272ec9a57: Waiting [2020-09-15T10:28:11.695Z] 1e910a182e73: Waiting [2020-09-15T10:28:11.695Z] a92cc7c5fd73: Verifying Checksum [2020-09-15T10:28:11.695Z] a92cc7c5fd73: Download complete [2020-09-15T10:28:11.695Z] ed8968b2872e: Verifying Checksum [2020-09-15T10:28:11.695Z] ed8968b2872e: Download complete [2020-09-15T10:28:11.964Z] e73272ec9a57: Verifying Checksum [2020-09-15T10:28:11.964Z] e73272ec9a57: Download complete [2020-09-15T10:28:11.964Z] 1e910a182e73: Verifying Checksum [2020-09-15T10:28:11.964Z] 1e910a182e73: Download complete [2020-09-15T10:28:12.311Z] df20fa9351a1: Verifying Checksum [2020-09-15T10:28:12.312Z] df20fa9351a1: Download complete [2020-09-15T10:28:12.976Z] df20fa9351a1: Pull complete [2020-09-15T10:28:13.261Z] ed8968b2872e: Pull complete [2020-09-15T10:28:13.536Z] a92cc7c5fd73: Pull complete [2020-09-15T10:28:17.917Z] 4e634b169226: Verifying Checksum [2020-09-15T10:28:17.917Z] 4e634b169226: Download complete [2020-09-15T10:28:21.450Z] e871e8e8d7a9: Verifying Checksum [2020-09-15T10:28:21.450Z] e871e8e8d7a9: Download complete [2020-09-15T10:28:32.047Z] e871e8e8d7a9: Pull complete [2020-09-15T10:28:32.047Z] e73272ec9a57: Pull complete [2020-09-15T10:28:32.047Z] 1e910a182e73: Pull complete [2020-09-15T10:28:34.713Z] 4e634b169226: Pull complete [2020-09-15T10:28:34.713Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-15T10:28:35.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-15T10:28:35.003Z] ---> f7629b54cfaa [2020-09-15T10:28:35.003Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:28:35.587Z] ---> Running in 6d05ec5677ee [2020-09-15T10:28:35.587Z] Removing intermediate container 6d05ec5677ee [2020-09-15T10:28:35.587Z] ---> e67d29a518e2 [2020-09-15T10:28:35.587Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T10:28:35.860Z] ---> Running in 1afb53a19884 [2020-09-15T10:28:37.894Z] Removing intermediate container 1afb53a19884 [2020-09-15T10:28:37.894Z] ---> 5f2915a42991 [2020-09-15T10:28:37.894Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T10:28:37.894Z] ---> Running in 0549e8e8a512 [2020-09-15T10:28:38.484Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T10:28:39.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T10:28:40.466Z] OK: 166 MiB in 39 packages [2020-09-15T10:28:41.051Z] Removing intermediate container 0549e8e8a512 [2020-09-15T10:28:41.051Z] ---> af3f7a928d9b [2020-09-15T10:28:41.051Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T10:28:41.051Z] ---> Running in 8e1e94bd9215 [2020-09-15T10:28:41.318Z] Removing intermediate container 8e1e94bd9215 [2020-09-15T10:28:41.318Z] ---> 628abf5c592f [2020-09-15T10:28:41.318Z] Step 7/8 : COPY . . [2020-09-15T10:28:42.276Z] ---> d725921d1707 [2020-09-15T10:28:42.276Z] Step 8/8 : RUN go mod download [2020-09-15T10:28:42.548Z] ---> Running in 45ad58d3d239 [2020-09-15T10:28:55.106Z] Removing intermediate container 45ad58d3d239 [2020-09-15T10:28:55.106Z] ---> b599693a493f [2020-09-15T10:28:55.106Z] Successfully built b599693a493f [2020-09-15T10:28:55.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T10:28:56.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T10:28:56.506Z] + ls -al . [2020-09-15T10:28:56.507Z] total 64 [2020-09-15T10:28:56.507Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 10:28 . [2020-09-15T10:28:56.507Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 15 10:28 .. [2020-09-15T10:28:56.507Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 10:28 bin [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 10:28 Dockerfile.build [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 10:28 .dockerignore [2020-09-15T10:28:56.507Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 10:28 example [2020-09-15T10:28:56.507Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 15 10:28 .git [2020-09-15T10:28:56.507Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 10:28 .github [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 10:28 .gitignore [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 15 10:28 go.mod [2020-09-15T10:28:56.507Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 10:28 internal [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 10:28 Jenkinsfile [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 10:28 LICENSE [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 10:28 Makefile [2020-09-15T10:28:56.507Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 10:28 openapi [2020-09-15T10:28:56.507Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 10:28 pkg [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 10:28 README.md [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 10:28 RELEASE-NOTES.txt [2020-09-15T10:28:56.507Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 15 10:28 .semver [2020-09-15T10:28:56.507Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 10:28 snap [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 15 10:25 VERSION [2020-09-15T10:28:56.507Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 10:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:28:56.884Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=34586eebf1e8dc7164860841d693f6652cfed50d --label arch=amd64 --label version=1.2.4-dev.11 . [2020-09-15T10:28:57.153Z] Sending build context to Docker daemon 3.141MB [2020-09-15T10:28:57.153Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T10:28:57.153Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T10:28:57.153Z] ---> b599693a493f [2020-09-15T10:28:57.153Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T10:28:57.420Z] ---> Running in ecbfbddc73b2 [2020-09-15T10:28:57.690Z] Removing intermediate container ecbfbddc73b2 [2020-09-15T10:28:57.690Z] ---> a1e10a82fdc0 [2020-09-15T10:28:57.690Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T10:28:57.690Z] ---> Running in a626d5787c3c [2020-09-15T10:28:57.955Z] Removing intermediate container a626d5787c3c [2020-09-15T10:28:57.955Z] ---> 8d30eb3338bb [2020-09-15T10:28:57.955Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:28:57.955Z] ---> Running in ade2f71a2eef [2020-09-15T10:28:58.221Z] Removing intermediate container ade2f71a2eef [2020-09-15T10:28:58.221Z] ---> 709c91565986 [2020-09-15T10:28:58.221Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T10:28:58.221Z] ---> Running in 3c888292e990 [2020-09-15T10:29:00.260Z] Removing intermediate container 3c888292e990 [2020-09-15T10:29:00.260Z] ---> 298c0e6aeef0 [2020-09-15T10:29:00.260Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T10:29:00.552Z] ---> Running in b7b493c1651b [2020-09-15T10:29:01.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T10:29:01.786Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T10:29:02.405Z] OK: 166 MiB in 39 packages [2020-09-15T10:29:02.989Z] Removing intermediate container b7b493c1651b [2020-09-15T10:29:02.989Z] ---> c068509f40b1 [2020-09-15T10:29:02.989Z] Step 8/24 : COPY . . [2020-09-15T10:29:03.600Z] ---> 99d1daa5baef [2020-09-15T10:29:03.600Z] Step 9/24 : RUN ${MAKE} [2020-09-15T10:29:03.885Z] ---> Running in c4aaa96903db [2020-09-15T10:29:04.480Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-15T10:29:19.962Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T10:29:21.370Z] Removing intermediate container c4aaa96903db [2020-09-15T10:29:21.370Z] ---> ce936438ea4e [2020-09-15T10:29:21.370Z] Step 10/24 : FROM scratch [2020-09-15T10:29:21.370Z] ---> [2020-09-15T10:29:21.370Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T10:29:21.370Z] ---> Running in eee6885cc513 [2020-09-15T10:29:21.370Z] Removing intermediate container eee6885cc513 [2020-09-15T10:29:21.370Z] ---> 7d22fd4104ad [2020-09-15T10:29:21.370Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T10:29:21.370Z] ---> Running in a426ffceabe5 [2020-09-15T10:29:21.635Z] Removing intermediate container a426ffceabe5 [2020-09-15T10:29:21.635Z] ---> 6077abc82062 [2020-09-15T10:29:21.635Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T10:29:21.635Z] ---> Running in 4aea2500f484 [2020-09-15T10:29:21.898Z] Removing intermediate container 4aea2500f484 [2020-09-15T10:29:21.898Z] ---> dd38a309b246 [2020-09-15T10:29:21.898Z] Step 14/24 : WORKDIR / [2020-09-15T10:29:21.898Z] ---> Running in 8fddf3729fd5 [2020-09-15T10:29:21.898Z] Removing intermediate container 8fddf3729fd5 [2020-09-15T10:29:21.898Z] ---> c00772b96e9b [2020-09-15T10:29:21.898Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T10:29:22.867Z] ---> 9020cdac1cfa [2020-09-15T10:29:22.867Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T10:29:23.177Z] ---> 86d33c876d21 [2020-09-15T10:29:23.177Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T10:29:23.460Z] ---> 6011f459cef0 [2020-09-15T10:29:23.460Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T10:29:23.732Z] ---> b47b85a3076d [2020-09-15T10:29:23.732Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T10:29:24.075Z] ---> 28e22b4c88c9 [2020-09-15T10:29:24.075Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T10:29:24.075Z] ---> Running in e82583d0b4d9 [2020-09-15T10:29:24.339Z] Removing intermediate container e82583d0b4d9 [2020-09-15T10:29:24.339Z] ---> 8c8ad34bda26 [2020-09-15T10:29:24.339Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T10:29:24.339Z] ---> Running in 3df9ce719c5d [2020-09-15T10:29:24.606Z] Removing intermediate container 3df9ce719c5d [2020-09-15T10:29:24.606Z] ---> c8e79a96abe2 [2020-09-15T10:29:24.606Z] Step 22/24 : LABEL arch=amd64 [2020-09-15T10:29:24.606Z] ---> Running in 1f080715747b [2020-09-15T10:29:24.873Z] Removing intermediate container 1f080715747b [2020-09-15T10:29:24.873Z] ---> d1c370309199 [2020-09-15T10:29:24.873Z] Step 23/24 : LABEL git_sha=34586eebf1e8dc7164860841d693f6652cfed50d [2020-09-15T10:29:24.873Z] ---> Running in dac45bbcbe0e [2020-09-15T10:29:25.142Z] Removing intermediate container dac45bbcbe0e [2020-09-15T10:29:25.142Z] ---> 023d3cb6ab5b [2020-09-15T10:29:25.142Z] Step 24/24 : LABEL version=1.2.4-dev.11 [2020-09-15T10:29:25.142Z] ---> Running in b788f168eefd [2020-09-15T10:29:25.406Z] Removing intermediate container b788f168eefd [2020-09-15T10:29:25.406Z] ---> 19071aaeb12b [2020-09-15T10:29:25.406Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T10:29:25.406Z] Successfully built 19071aaeb12b [2020-09-15T10:29:25.406Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-15T10:29:27.603Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-15T10:29:27.605Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-15T10:29:27.661Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:29:28.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T10:29:28.305Z] [2020-09-15T10:29:28.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:29:28.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T10:29:28.696Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-15T10:29:28.696Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-15T10:29:28.696Z] 408f87550127: Pulling fs layer [2020-09-15T10:29:28.696Z] fe522b08c979: Pulling fs layer [2020-09-15T10:29:28.696Z] 221eaa008020: Pulling fs layer [2020-09-15T10:29:28.696Z] 2a4607e5d6b9: Pulling fs layer [2020-09-15T10:29:28.696Z] 8f79b27c4fd2: Pulling fs layer [2020-09-15T10:29:28.696Z] e5c8dbe1645b: Pulling fs layer [2020-09-15T10:29:28.696Z] 23e8b3b47431: Pulling fs layer [2020-09-15T10:29:28.696Z] 5c568d65a230: Pulling fs layer [2020-09-15T10:29:28.696Z] 221eaa008020: Waiting [2020-09-15T10:29:28.696Z] 2a4607e5d6b9: Waiting [2020-09-15T10:29:28.696Z] 8f79b27c4fd2: Waiting [2020-09-15T10:29:28.696Z] e5c8dbe1645b: Waiting [2020-09-15T10:29:28.696Z] 23e8b3b47431: Waiting [2020-09-15T10:29:28.696Z] 5c568d65a230: Waiting [2020-09-15T10:29:28.696Z] fe522b08c979: Verifying Checksum [2020-09-15T10:29:28.696Z] fe522b08c979: Download complete [2020-09-15T10:29:29.011Z] 408f87550127: Verifying Checksum [2020-09-15T10:29:29.011Z] 408f87550127: Download complete [2020-09-15T10:29:29.011Z] 2a4607e5d6b9: Verifying Checksum [2020-09-15T10:29:29.011Z] 2a4607e5d6b9: Download complete [2020-09-15T10:29:29.011Z] 8f79b27c4fd2: Verifying Checksum [2020-09-15T10:29:29.011Z] 8f79b27c4fd2: Download complete [2020-09-15T10:29:29.011Z] cbdbe7a5bc2a: Download complete [2020-09-15T10:29:30.033Z] cbdbe7a5bc2a: Pull complete [2020-09-15T10:29:30.297Z] 408f87550127: Pull complete [2020-09-15T10:29:30.297Z] fe522b08c979: Pull complete [2020-09-15T10:29:31.328Z] e5c8dbe1645b: Verifying Checksum [2020-09-15T10:29:31.328Z] e5c8dbe1645b: Download complete [2020-09-15T10:29:33.949Z] 23e8b3b47431: Verifying Checksum [2020-09-15T10:29:33.949Z] 23e8b3b47431: Download complete [2020-09-15T10:29:35.933Z] 5c568d65a230: Verifying Checksum [2020-09-15T10:29:35.933Z] 5c568d65a230: Download complete [2020-09-15T10:29:37.908Z] 221eaa008020: Download complete [2020-09-15T10:29:46.163Z] 221eaa008020: Pull complete [2020-09-15T10:29:46.163Z] 2a4607e5d6b9: Pull complete [2020-09-15T10:29:46.440Z] 8f79b27c4fd2: Pull complete [2020-09-15T10:29:49.057Z] e5c8dbe1645b: Pull complete [2020-09-15T10:29:52.490Z] 23e8b3b47431: Pull complete [2020-09-15T10:29:55.100Z] 5c568d65a230: Pull complete [2020-09-15T10:29:55.100Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-15T10:29:55.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T10:29:55.101Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-15T10:29:55.455Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:29:55.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-15T10:29:56.864Z] $ docker top 2af57f1e32e9c4ce4ccab9a3a51c24c8e0c580787e8a9966161c02c86f33c315 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T10:29:57.409Z] + snyk monitor '--org=edgex-jenkins' [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/2e2e68c3-0064-4b8b-8a81-bbe6c903c878 [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] Snyk CLI supports Node.js 8 and higher. [2020-09-15T10:30:04.153Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-15T10:30:04.153Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-15T10:30:04.153Z] [2020-09-15T10:30:04.153Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-15T10:30:04.153Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-15T10:30:04.204Z] $ docker stop --time=1 2af57f1e32e9c4ce4ccab9a3a51c24c8e0c580787e8a9966161c02c86f33c315 [2020-09-15T10:30:06.409Z] $ docker rm -f 2af57f1e32e9c4ce4ccab9a3a51c24c8e0c580787e8a9966161c02c86f33c315 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:30:08.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:30:08.427Z] . [Pipeline] withDockerContainer [2020-09-15T10:30:08.758Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:30:08.920Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T10:30:10.487Z] $ docker top f354c1642589f2f30f6395fec6ac3aeeb6d6c97b3f17c147fed59fcc3aa737f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T10:30:10.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T10:30:10.839Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T10:30:11.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T10:30:11.277Z] $ docker exec f354c1642589f2f30f6395fec6ac3aeeb6d6c97b3f17c147fed59fcc3aa737f2 ssh-agent [2020-09-15T10:30:11.519Z] SSH_AUTH_SOCK=/tmp/ssh-Gfq17lVxhRT4/agent.11 [2020-09-15T10:30:11.519Z] SSH_AGENT_PID=17 [2020-09-15T10:30:11.527Z] Running ssh-add (command line suppressed) [2020-09-15T10:30:11.715Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3377428061064672703.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3377428061064672703.key) [2020-09-15T10:30:11.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T10:30:12.488Z] + git semver tag [2020-09-15T10:30:12.488Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T10:30:12.488Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T10:30:12.488Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T10:30:12.488Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T10:30:12.488Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T10:30:12.488Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T10:30:12.488Z] # $SEMVER_BRANCH = master [2020-09-15T10:30:12.488Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T10:30:12.488Z] # 34586eebf1e8dc7164860841d693f6652cfed50d HEAD [2020-09-15T10:30:12.488Z] # -> Force: false [2020-09-15T10:30:12.488Z] # 36a3aea23c46612fb4de32d74de78d47cee030ba refs/tags/v1.2.4-dev.11 [Pipeline] } [2020-09-15T10:30:12.556Z] $ docker exec --env ******** --env ******** f354c1642589f2f30f6395fec6ac3aeeb6d6c97b3f17c147fed59fcc3aa737f2 ssh-agent -k [2020-09-15T10:30:12.773Z] unset SSH_AUTH_SOCK; [2020-09-15T10:30:12.773Z] unset SSH_AGENT_PID; [2020-09-15T10:30:12.773Z] echo Agent pid 17 killed; [2020-09-15T10:30:12.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T10:30:13.464Z] + git semver [Pipeline] } [2020-09-15T10:30:13.489Z] $ docker stop --time=1 f354c1642589f2f30f6395fec6ac3aeeb6d6c97b3f17c147fed59fcc3aa737f2 [2020-09-15T10:30:15.047Z] $ docker rm -f f354c1642589f2f30f6395fec6ac3aeeb6d6c97b3f17c147fed59fcc3aa737f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:30:16.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T10:30:16.074Z] [2020-09-15T10:30:16.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:30:16.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T10:30:16.464Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-15T10:30:16.464Z] ab5ef0e58194: Pulling fs layer [2020-09-15T10:30:16.464Z] 9712f1f96733: Pulling fs layer [2020-09-15T10:30:16.464Z] 63f879dbbcfc: Pulling fs layer [2020-09-15T10:30:16.464Z] 0d9ebad4ef96: Pulling fs layer [2020-09-15T10:30:16.464Z] e9a5061849ea: Pulling fs layer [2020-09-15T10:30:16.464Z] d747dcd14b5f: Pulling fs layer [2020-09-15T10:30:16.464Z] 2de7ff778b66: Pulling fs layer [2020-09-15T10:30:16.464Z] 0d9ebad4ef96: Waiting [2020-09-15T10:30:16.464Z] d747dcd14b5f: Waiting [2020-09-15T10:30:16.464Z] e9a5061849ea: Waiting [2020-09-15T10:30:16.464Z] 2de7ff778b66: Waiting [2020-09-15T10:30:16.464Z] 9712f1f96733: Verifying Checksum [2020-09-15T10:30:16.464Z] 9712f1f96733: Download complete [2020-09-15T10:30:22.209Z] 63f879dbbcfc: Verifying Checksum [2020-09-15T10:30:22.209Z] 63f879dbbcfc: Download complete [2020-09-15T10:30:22.497Z] e9a5061849ea: Download complete [2020-09-15T10:30:22.497Z] d747dcd14b5f: Verifying Checksum [2020-09-15T10:30:22.497Z] d747dcd14b5f: Download complete [2020-09-15T10:30:24.002Z] 2de7ff778b66: Verifying Checksum [2020-09-15T10:30:24.002Z] 2de7ff778b66: Download complete [2020-09-15T10:30:24.586Z] 0d9ebad4ef96: Verifying Checksum [2020-09-15T10:30:24.586Z] 0d9ebad4ef96: Download complete [2020-09-15T10:30:25.184Z] ab5ef0e58194: Verifying Checksum [2020-09-15T10:30:25.184Z] ab5ef0e58194: Download complete [2020-09-15T10:30:32.007Z] ab5ef0e58194: Pull complete [2020-09-15T10:30:32.007Z] 9712f1f96733: Pull complete [2020-09-15T10:30:34.606Z] 63f879dbbcfc: Pull complete [2020-09-15T10:30:42.974Z] 0d9ebad4ef96: Pull complete [2020-09-15T10:30:44.935Z] e9a5061849ea: Pull complete [2020-09-15T10:30:44.935Z] d747dcd14b5f: Pull complete [2020-09-15T10:30:48.299Z] 2de7ff778b66: Pull complete [2020-09-15T10:30:48.299Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-15T10:30:48.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T10:30:48.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-15T10:30:48.623Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:30:48.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-15T10:30:52.393Z] $ docker top f306bebb8220f035cf3c02acfe35ee7fc0299445fd662ca891aa3eeb4a2b5756 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-15T10:30:52.721Z] provisioning config files... [2020-09-15T10:30:52.741Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4006442353436763355tmp [2020-09-15T10:30:52.783Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2707466125136655314tmp [2020-09-15T10:30:52.823Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1880411927394810112tmp [Pipeline] { [Pipeline] echo [2020-09-15T10:30:52.908Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:30:53.290Z] ---> sigul-configuration.sh [2020-09-15T10:30:53.556Z] gpg: directory `/root/.gnupg' created [2020-09-15T10:30:53.556Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-15T10:30:53.556Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-15T10:30:53.556Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-15T10:30:53.556Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-15T10:30:53.556Z] gpg: CAST5 encrypted data [2020-09-15T10:30:53.556Z] gpg: encrypted with 1 passphrase [2020-09-15T10:30:53.556Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-15T10:30:53.934Z] + mkdir /home/jenkins [2020-09-15T10:30:53.934Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-15T10:30:54.316Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-09-15T10:30:54.356Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:30:54.985Z] ---> sigul-install.sh [2020-09-15T10:31:01.846Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-15T10:31:02.506Z] + git tag --list [2020-09-15T10:31:02.507Z] v1.2.4-dev.11 [Pipeline] sh [2020-09-15T10:31:02.847Z] + lftools sign git-tag v1.2.4-dev.11 [2020-09-15T10:31:04.806Z] Signing Git tag with Sigul... [2020-09-15T10:31:04.806Z] Signing v1.2.4-dev.11 [Pipeline] echo [2020-09-15T10:31:06.257Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:31:06.953Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-15T10:31:06.962Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-15T10:31:07.071Z] $ docker stop --time=1 f306bebb8220f035cf3c02acfe35ee7fc0299445fd662ca891aa3eeb4a2b5756 [2020-09-15T10:31:09.308Z] $ docker rm -f f306bebb8220f035cf3c02acfe35ee7fc0299445fd662ca891aa3eeb4a2b5756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:31:10.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:31:10.253Z] . [Pipeline] withDockerContainer [2020-09-15T10:31:10.406Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:31:10.492Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T10:31:11.481Z] $ docker top b4faf50905ff7d51d9f00699c4670cab8835f141af84da7d25d50ba31fba21ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T10:31:11.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T10:31:11.883Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T10:31:12.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T10:31:12.217Z] $ docker exec b4faf50905ff7d51d9f00699c4670cab8835f141af84da7d25d50ba31fba21ca ssh-agent [2020-09-15T10:31:12.496Z] SSH_AUTH_SOCK=/tmp/ssh-U0GC8lY618kA/agent.11 [2020-09-15T10:31:12.496Z] SSH_AGENT_PID=17 [2020-09-15T10:31:12.518Z] Running ssh-add (command line suppressed) [2020-09-15T10:31:12.725Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8348707673148845087.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8348707673148845087.key) [2020-09-15T10:31:12.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T10:31:13.248Z] + git semver bump pre [2020-09-15T10:31:13.248Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T10:31:13.248Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T10:31:13.248Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T10:31:13.248Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T10:31:13.248Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T10:31:13.248Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T10:31:13.248Z] # $SEMVER_BRANCH = master [2020-09-15T10:31:13.248Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T10:31:13.518Z] 1.2.4-dev.12 [Pipeline] } [2020-09-15T10:31:13.538Z] $ docker exec --env ******** --env ******** b4faf50905ff7d51d9f00699c4670cab8835f141af84da7d25d50ba31fba21ca ssh-agent -k [2020-09-15T10:31:13.760Z] unset SSH_AUTH_SOCK; [2020-09-15T10:31:13.761Z] unset SSH_AGENT_PID; [2020-09-15T10:31:13.761Z] echo Agent pid 17 killed; [2020-09-15T10:31:13.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T10:31:14.800Z] + git semver [Pipeline] } [2020-09-15T10:31:14.824Z] $ docker stop --time=1 b4faf50905ff7d51d9f00699c4670cab8835f141af84da7d25d50ba31fba21ca [2020-09-15T10:31:16.338Z] $ docker rm -f b4faf50905ff7d51d9f00699c4670cab8835f141af84da7d25d50ba31fba21ca [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:31:16.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T10:31:16.894Z] . [Pipeline] withDockerContainer [2020-09-15T10:31:17.097Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:31:17.196Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T10:31:18.193Z] $ docker top 7a755510d305157cd57a18f8b454e0ddb3932fe1bdc6517d7dfe7b11793adbd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T10:31:18.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T10:31:18.607Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T10:31:18.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T10:31:18.885Z] $ docker exec 7a755510d305157cd57a18f8b454e0ddb3932fe1bdc6517d7dfe7b11793adbd3 ssh-agent [2020-09-15T10:31:19.116Z] SSH_AUTH_SOCK=/tmp/ssh-6bkgf1CUe5MJ/agent.11 [2020-09-15T10:31:19.116Z] SSH_AGENT_PID=17 [2020-09-15T10:31:19.124Z] Running ssh-add (command line suppressed) [2020-09-15T10:31:19.278Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2860127818563846005.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2860127818563846005.key) [2020-09-15T10:31:19.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T10:31:19.708Z] + git semver push [2020-09-15T10:31:19.708Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T10:31:19.708Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T10:31:19.708Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T10:31:19.708Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T10:31:19.708Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T10:31:19.708Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T10:31:19.708Z] # $SEMVER_BRANCH = master [2020-09-15T10:31:19.708Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T10:31:28.290Z] $ docker exec --env ******** --env ******** 7a755510d305157cd57a18f8b454e0ddb3932fe1bdc6517d7dfe7b11793adbd3 ssh-agent -k [2020-09-15T10:31:28.564Z] unset SSH_AUTH_SOCK; [2020-09-15T10:31:28.567Z] unset SSH_AGENT_PID; [2020-09-15T10:31:28.567Z] echo Agent pid 17 killed; [2020-09-15T10:31:28.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T10:31:29.258Z] + git semver [Pipeline] } [2020-09-15T10:31:29.283Z] $ docker stop --time=1 7a755510d305157cd57a18f8b454e0ddb3932fe1bdc6517d7dfe7b11793adbd3 [2020-09-15T10:31:30.846Z] $ docker rm -f 7a755510d305157cd57a18f8b454e0ddb3932fe1bdc6517d7dfe7b11793adbd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:31:32.508Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:31:33.088Z] ---> package-listing.sh [2020-09-15T10:31:33.088Z] ++ facter osfamily [2020-09-15T10:31:33.088Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T10:31:33.354Z] + OS_FAMILY=redhat [2020-09-15T10:31:33.354Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T10:31:33.354Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T10:31:33.354Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T10:31:33.354Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T10:31:33.354Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T10:31:33.354Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T10:31:33.354Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T10:31:33.354Z] + case "${OS_FAMILY}" in [2020-09-15T10:31:33.354Z] + sort [2020-09-15T10:31:33.354Z] + rpm -qa [2020-09-15T10:31:37.583Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T10:31:37.583Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T10:31:37.583Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T10:31:37.583Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T10:31:37.583Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-15T10:31:37.583Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:31:38.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T10:31:38.683Z] [2020-09-15T10:31:38.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T10:31:39.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T10:31:39.042Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T10:31:39.042Z] df20fa9351a1: Pulling fs layer [2020-09-15T10:31:39.042Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T10:31:39.042Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T10:31:39.042Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T10:31:39.042Z] 0dadc02b9964: Pulling fs layer [2020-09-15T10:31:39.042Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T10:31:39.042Z] 46f8f816bc3b: Waiting [2020-09-15T10:31:39.042Z] 0dadc02b9964: Waiting [2020-09-15T10:31:39.042Z] 7a184a31f384: Pulling fs layer [2020-09-15T10:31:39.042Z] 0879bd2ef858: Pulling fs layer [2020-09-15T10:31:39.042Z] 0879bd2ef858: Waiting [2020-09-15T10:31:39.042Z] 7a184a31f384: Waiting [2020-09-15T10:31:39.042Z] 36b3adc4ff6f: Verifying Checksum [2020-09-15T10:31:39.042Z] 36b3adc4ff6f: Download complete [2020-09-15T10:31:39.357Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T10:31:39.357Z] 46f8f816bc3b: Download complete [2020-09-15T10:31:39.357Z] df20fa9351a1: Verifying Checksum [2020-09-15T10:31:39.357Z] df20fa9351a1: Download complete [2020-09-15T10:31:39.357Z] 0dadc02b9964: Verifying Checksum [2020-09-15T10:31:39.357Z] 0dadc02b9964: Download complete [2020-09-15T10:31:39.357Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T10:31:39.357Z] ce6a7cf60c04: Download complete [2020-09-15T10:31:39.631Z] 7a184a31f384: Verifying Checksum [2020-09-15T10:31:39.631Z] 7a184a31f384: Download complete [2020-09-15T10:31:39.907Z] df20fa9351a1: Pull complete [2020-09-15T10:31:40.203Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T10:31:40.203Z] 8ad3a11d3b57: Download complete [2020-09-15T10:31:40.483Z] 36b3adc4ff6f: Pull complete [2020-09-15T10:31:41.460Z] 0879bd2ef858: Verifying Checksum [2020-09-15T10:31:41.460Z] 0879bd2ef858: Download complete [2020-09-15T10:31:41.741Z] 8ad3a11d3b57: Pull complete [2020-09-15T10:31:42.010Z] 46f8f816bc3b: Pull complete [2020-09-15T10:31:43.002Z] 0dadc02b9964: Pull complete [2020-09-15T10:31:43.275Z] ce6a7cf60c04: Pull complete [2020-09-15T10:31:43.275Z] 7a184a31f384: Pull complete [2020-09-15T10:31:47.901Z] 0879bd2ef858: Pull complete [2020-09-15T10:31:47.901Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T10:31:47.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T10:31:47.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T10:31:48.074Z] prd-centos7-docker-4c-2g-43273 does not seem to be running inside a container [2020-09-15T10:31:48.189Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-15T10:31:51.107Z] $ docker top a851027a3fb07576ca738737d0a1e93bfce8250702375bd56a64ce6d2f4c3dc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T10:31:51.849Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T10:31:52.351Z] + ls /var/log/sa-host [2020-09-15T10:31:52.352Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T10:31:52.352Z] file_magic: OK [2020-09-15T10:31:52.352Z] HZ: Using current value: 100 [2020-09-15T10:31:52.352Z] file_header: OK [2020-09-15T10:31:52.352Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-15T10:31:52.352Z] Statistics: [2020-09-15T10:31:52.352Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T10:31:52.352Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T10:31:52.352Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T10:31:52.352Z] file_magic: OK [2020-09-15T10:31:52.352Z] HZ: Using current value: 100 [2020-09-15T10:31:52.352Z] file_header: OK [2020-09-15T10:31:52.352Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-15T10:31:52.352Z] Statistics: [2020-09-15T10:31:52.352Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T10:31:52.352Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T10:31:52.440Z] provisioning config files... [2020-09-15T10:31:52.486Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5176529935563940506tmp [Pipeline] { [Pipeline] echo [2020-09-15T10:31:52.591Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:31:53.026Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T10:31:53.086Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T10:31:53.508Z] ---> logs-deploy.sh [2020-09-15T10:31:53.508Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/61 [2020-09-15T10:31:53.508Z] INFO: archiving workspace using pattern(s): [2020-09-15T10:31:55.214Z] Archives upload complete. [2020-09-15T10:31:55.727Z] INFO: archiving logs to Nexus