Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb 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-43223 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 > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching without tags Checking out Revision 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (master) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 Commit message: "Merge pull request #588 from hahattan/issue-578" > git rev-list --no-walk 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T05:46:01.729Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T05:46:02.043Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T05:46:02.166Z] ========================================================= [2020-09-15T05:46:02.166Z] EdgeX Global Pipelines Version Info [2020-09-15T05:46:02.166Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:46:03.717Z] ------------------- [2020-09-15T05:46:03.717Z] stable info: [2020-09-15T05:46:03.717Z] ------------------- [2020-09-15T05:46:03.717Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-15T05:46:03.717Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-15T05:46:03.717Z] Message: update stable to v1.0.119 [2020-09-15T05:46:04.664Z] ------------------- [2020-09-15T05:46:04.664Z] experimental info: [2020-09-15T05:46:04.664Z] ------------------- [2020-09-15T05:46:04.664Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T05:46:04.664Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-15T05:46:04.664Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T05:46:05.119Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-15T05:46:05.234Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-15T05:46:05.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T05:46:05.465Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T05:46:05.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T05:46:05.703Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-15T05:46:05.840Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T05:46:05.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-15T05:46:06.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-15T05:46:06.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T05:46:06.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T05:46:06.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-15T05:46:06.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T05:46:06.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T05:46:06.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-15T05:46:06.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:46:07.013Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:46:07.122Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:46:07.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T05:46:07.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T05:46:07.438Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-15T05:46:07.543Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-15T05:46:07.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-15T05:46:07.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-15T05:46:07.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-15T05:46:08.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb [Pipeline] echo [2020-09-15T05:46:08.105Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3453c8b [Pipeline] echo [2020-09-15T05:46:08.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T05:46:08.856Z] + git log --format=format:%s -1 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb [Pipeline] echo [2020-09-15T05:46:08.921Z] GIT_COMMIT: 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb, Commit Message: Merge pull request #588 from hahattan/issue-578 [Pipeline] echo [2020-09-15T05:46:08.978Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:46:10.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:46:10.271Z] [2020-09-15T05:46:10.272Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:46:10.626Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:46:10.626Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T05:46:10.626Z] 31603596830f: Pulling fs layer [2020-09-15T05:46:10.626Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T05:46:10.626Z] 6ca5941a6612: Pulling fs layer [2020-09-15T05:46:10.626Z] ecc8261a40a4: Pulling fs layer [2020-09-15T05:46:10.626Z] ecc8261a40a4: Waiting [2020-09-15T05:46:10.626Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T05:46:10.626Z] 2a8b12db71e7: Download complete [2020-09-15T05:46:10.892Z] 31603596830f: Verifying Checksum [2020-09-15T05:46:10.892Z] 31603596830f: Download complete [2020-09-15T05:46:10.892Z] ecc8261a40a4: Verifying Checksum [2020-09-15T05:46:10.892Z] ecc8261a40a4: Download complete [2020-09-15T05:46:11.161Z] 31603596830f: Pull complete [2020-09-15T05:46:11.161Z] 6ca5941a6612: Verifying Checksum [2020-09-15T05:46:11.161Z] 6ca5941a6612: Download complete [2020-09-15T05:46:11.425Z] 2a8b12db71e7: Pull complete [2020-09-15T05:46:12.013Z] 6ca5941a6612: Pull complete [2020-09-15T05:46:12.275Z] ecc8261a40a4: Pull complete [2020-09-15T05:46:12.275Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T05:46:12.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:46:12.275Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T05:46:12.387Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:46:12.454Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T05:46:14.491Z] $ docker top ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T05:46:14.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:46:14.863Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:46:15.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:46:15.086Z] $ docker exec ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb ssh-agent [2020-09-15T05:46:15.252Z] SSH_AUTH_SOCK=/tmp/ssh-bHuOQBNic1pp/agent.12 [2020-09-15T05:46:15.252Z] SSH_AGENT_PID=17 [2020-09-15T05:46:15.266Z] Running ssh-add (command line suppressed) [2020-09-15T05:46:15.392Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3997693336889227861.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3997693336889227861.key) [2020-09-15T05:46:15.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:46:15.788Z] + git describe --exact-match --tags HEAD [2020-09-15T05:46:15.789Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T05:46:15.813Z] $ docker exec --env ******** --env ******** ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb ssh-agent -k [2020-09-15T05:46:15.931Z] unset SSH_AUTH_SOCK; [2020-09-15T05:46:15.931Z] unset SSH_AGENT_PID; [2020-09-15T05:46:15.931Z] echo Agent pid 17 killed; [2020-09-15T05:46:15.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T05:46:16.079Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T05:46:16.079Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T05:46:16.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:46:16.195Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:46:16.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:46:16.398Z] $ docker exec ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb ssh-agent [2020-09-15T05:46:16.594Z] SSH_AUTH_SOCK=/tmp/ssh-PhbthhUJLjjO/agent.46 [2020-09-15T05:46:16.594Z] SSH_AGENT_PID=51 [2020-09-15T05:46:16.601Z] Running ssh-add (command line suppressed) [2020-09-15T05:46:16.720Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2916406543122407804.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2916406543122407804.key) [2020-09-15T05:46:16.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:46:17.114Z] + git semver init [2020-09-15T05:46:17.114Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T05:46:17.114Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T05:46:17.114Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T05:46:17.114Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T05:46:17.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T05:46:17.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T05:46:17.114Z] # $SEMVER_BRANCH = master [2020-09-15T05:46:17.114Z] # $SEMVER_TEMP = /tmp/semver-046735262 [2020-09-15T05:46:17.114Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-15T05:46:17.692Z] # '/tmp/semver-046735262' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-15T05:46:17.692Z] # -> Force: false [2020-09-15T05:46:17.692Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T05:46:17.706Z] $ docker exec --env ******** --env ******** ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb ssh-agent -k [2020-09-15T05:46:17.823Z] unset SSH_AUTH_SOCK; [2020-09-15T05:46:17.823Z] unset SSH_AGENT_PID; [2020-09-15T05:46:17.823Z] echo Agent pid 51 killed; [2020-09-15T05:46:17.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T05:46:18.374Z] + git semver [Pipeline] } [2020-09-15T05:46:18.393Z] $ docker stop --time=1 ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb [2020-09-15T05:46:19.765Z] $ docker rm -f ae195dddf534d4184827db21bbfdf2e4fe37ee64ed782dba48cb624d88dc02fb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T05:46:20.607Z] Stashed 29 file(s) [Pipeline] echo [2020-09-15T05:46:20.610Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.10 [Pipeline] echo [2020-09-15T05:46:20.827Z] Archived original version: [1.2.4-dev.10] [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-15T05:46:36.419Z] Still waiting to schedule task [2020-09-15T05:46:36.419Z] ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43224’ is offline [2020-09-15T05:46:36.421Z] Still waiting to schedule task [2020-09-15T05:46:36.421Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ [2020-09-15T05:49:06.412Z] Running on prd-centos7-docker-4c-2g-43229 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T05:49:06.493Z] Running in /w/workspace/device-sdk-go/60 [Pipeline] { [Pipeline] checkout [2020-09-15T05:49:15.404Z] using credential edgex-jenkins-ssh [2020-09-15T05:49:15.466Z] Cloning the remote Git repository [2020-09-15T05:49:15.466Z] Cloning with configured refspecs honoured and without tags [2020-09-15T05:49:15.844Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:16.006Z] > git init /w/workspace/device-sdk-go/60 # timeout=10 [2020-09-15T05:49:16.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:16.269Z] > git --version # timeout=10 [2020-09-15T05:49:16.461Z] > git --version # 'git version 2.16.5' [2020-09-15T05:49:16.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:49:16.606Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:18.125Z] Fetching without tags [2020-09-15T05:49:17.760Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:49:17.824Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:18.044Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:49:18.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:18.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:49:18.146Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:18.700Z] Checking out Revision 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (master) [2020-09-15T05:49:18.738Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:49:18.862Z] > git checkout -f 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 [2020-09-15T05:49:23.775Z] Commit message: "Merge pull request #588 from hahattan/issue-578" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T05:49:25.146Z] ========================================================= [2020-09-15T05:49:25.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-15T05:49:25.146Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:49:26.150Z] + 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-15T05:49:26.802Z] Sending build context to Docker daemon 3.131MB [2020-09-15T05:49:26.802Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T05:49:26.802Z] Step 2/8 : FROM ${BASE} [2020-09-15T05:49:27.416Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T05:49:27.416Z] df20fa9351a1: Pulling fs layer [2020-09-15T05:49:27.416Z] ed8968b2872e: Pulling fs layer [2020-09-15T05:49:27.416Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T05:49:27.416Z] e871e8e8d7a9: Pulling fs layer [2020-09-15T05:49:27.416Z] e73272ec9a57: Pulling fs layer [2020-09-15T05:49:27.416Z] 1e910a182e73: Pulling fs layer [2020-09-15T05:49:27.416Z] 4e634b169226: Pulling fs layer [2020-09-15T05:49:27.416Z] e73272ec9a57: Waiting [2020-09-15T05:49:27.416Z] 1e910a182e73: Waiting [2020-09-15T05:49:27.416Z] 4e634b169226: Waiting [2020-09-15T05:49:27.416Z] e871e8e8d7a9: Waiting [2020-09-15T05:49:27.416Z] a92cc7c5fd73: Download complete [2020-09-15T05:49:27.416Z] ed8968b2872e: Verifying Checksum [2020-09-15T05:49:27.416Z] ed8968b2872e: Download complete [2020-09-15T05:49:27.416Z] e73272ec9a57: Verifying Checksum [2020-09-15T05:49:27.416Z] e73272ec9a57: Download complete [2020-09-15T05:49:27.416Z] 1e910a182e73: Verifying Checksum [2020-09-15T05:49:27.416Z] 1e910a182e73: Download complete [2020-09-15T05:49:27.694Z] df20fa9351a1: Verifying Checksum [2020-09-15T05:49:27.694Z] df20fa9351a1: Download complete [2020-09-15T05:49:28.333Z] df20fa9351a1: Pull complete [2020-09-15T05:49:28.621Z] ed8968b2872e: Pull complete [2020-09-15T05:49:28.945Z] a92cc7c5fd73: Pull complete [2020-09-15T05:49:31.028Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43231 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T05:49:31.079Z] Running in /w/workspace/device-sdk-go/60 [Pipeline] { [Pipeline] checkout [2020-09-15T05:49:34.400Z] 4e634b169226: Verifying Checksum [2020-09-15T05:49:34.400Z] 4e634b169226: Download complete [2020-09-15T05:49:36.187Z] using credential edgex-jenkins-ssh [2020-09-15T05:49:36.473Z] Cloning the remote Git repository [2020-09-15T05:49:36.473Z] Cloning with configured refspecs honoured and without tags [2020-09-15T05:49:36.537Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:36.653Z] > git init /w/workspace/device-sdk-go/60 # timeout=10 [2020-09-15T05:49:36.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:36.719Z] > git --version # timeout=10 [2020-09-15T05:49:36.731Z] > git --version # 'git version 2.17.1' [2020-09-15T05:49:36.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:49:36.783Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:38.346Z] Fetching without tags [2020-09-15T05:49:38.677Z] e871e8e8d7a9: Verifying Checksum [2020-09-15T05:49:38.677Z] e871e8e8d7a9: Download complete [2020-09-15T05:49:38.274Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:49:38.302Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:38.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:49:38.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:49:38.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:49:38.373Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:49:38.812Z] Checking out Revision 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (master) [2020-09-15T05:49:38.835Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:49:38.856Z] > git checkout -f 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 [2020-09-15T05:49:43.243Z] Commit message: "Merge pull request #588 from hahattan/issue-578" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T05:49:44.469Z] ========================================================= [2020-09-15T05:49:44.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-15T05:49:44.469Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:49:45.537Z] + 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-15T05:49:46.516Z] Sending build context to Docker daemon 3.131MB [2020-09-15T05:49:46.516Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T05:49:46.516Z] Step 2/8 : FROM ${BASE} [2020-09-15T05:49:46.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T05:49:46.799Z] b538f80385f9: Pulling fs layer [2020-09-15T05:49:46.799Z] 74f711af9a0d: Pulling fs layer [2020-09-15T05:49:46.799Z] 99f96fe45779: Pulling fs layer [2020-09-15T05:49:46.799Z] 8529a6b9a6be: Pulling fs layer [2020-09-15T05:49:46.799Z] 45590311c82a: Pulling fs layer [2020-09-15T05:49:46.799Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-15T05:49:46.799Z] 209524e5b208: Pulling fs layer [2020-09-15T05:49:46.799Z] 45590311c82a: Waiting [2020-09-15T05:49:46.799Z] 69ca0ff8b7b3: Waiting [2020-09-15T05:49:46.799Z] 209524e5b208: Waiting [2020-09-15T05:49:46.799Z] 8529a6b9a6be: Waiting [2020-09-15T05:49:46.799Z] 99f96fe45779: Verifying Checksum [2020-09-15T05:49:46.799Z] 99f96fe45779: Download complete [2020-09-15T05:49:46.799Z] 74f711af9a0d: Verifying Checksum [2020-09-15T05:49:46.799Z] 74f711af9a0d: Download complete [2020-09-15T05:49:46.799Z] 45590311c82a: Verifying Checksum [2020-09-15T05:49:46.799Z] 45590311c82a: Download complete [2020-09-15T05:49:46.799Z] 69ca0ff8b7b3: Download complete [2020-09-15T05:49:46.799Z] b538f80385f9: Verifying Checksum [2020-09-15T05:49:46.799Z] b538f80385f9: Download complete [2020-09-15T05:49:47.799Z] b538f80385f9: Pull complete [2020-09-15T05:49:48.399Z] 74f711af9a0d: Pull complete [2020-09-15T05:49:48.674Z] 99f96fe45779: Pull complete [2020-09-15T05:49:48.946Z] e871e8e8d7a9: Pull complete [2020-09-15T05:49:48.946Z] e73272ec9a57: Pull complete [2020-09-15T05:49:48.946Z] 1e910a182e73: Pull complete [2020-09-15T05:49:49.272Z] 209524e5b208: Verifying Checksum [2020-09-15T05:49:49.272Z] 209524e5b208: Download complete [2020-09-15T05:49:50.252Z] 8529a6b9a6be: Verifying Checksum [2020-09-15T05:49:50.252Z] 8529a6b9a6be: Download complete [2020-09-15T05:49:54.501Z] 4e634b169226: Pull complete [2020-09-15T05:49:54.501Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-15T05:49:54.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-15T05:49:54.786Z] ---> f7629b54cfaa [2020-09-15T05:49:54.786Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:49:55.143Z] ---> Running in c22391991510 [2020-09-15T05:49:55.436Z] Removing intermediate container c22391991510 [2020-09-15T05:49:55.436Z] ---> 97b14f7421df [2020-09-15T05:49:55.436Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:49:55.436Z] ---> Running in 937188e38d9c [2020-09-15T05:49:57.446Z] Removing intermediate container 937188e38d9c [2020-09-15T05:49:57.446Z] ---> 073a0b2ac423 [2020-09-15T05:49:57.446Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T05:49:57.728Z] ---> Running in f2dde32708a1 [2020-09-15T05:49:58.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T05:49:59.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T05:50:00.413Z] OK: 166 MiB in 39 packages [2020-09-15T05:50:00.434Z] 8529a6b9a6be: Pull complete [2020-09-15T05:50:00.709Z] 45590311c82a: Pull complete [2020-09-15T05:50:01.080Z] Removing intermediate container f2dde32708a1 [2020-09-15T05:50:01.080Z] ---> df9acf256a55 [2020-09-15T05:50:01.080Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T05:50:01.307Z] 69ca0ff8b7b3: Pull complete [2020-09-15T05:50:01.470Z] ---> Running in 993631d92880 [2020-09-15T05:50:01.868Z] Removing intermediate container 993631d92880 [2020-09-15T05:50:01.868Z] ---> 7163f3edd868 [2020-09-15T05:50:01.868Z] Step 7/8 : COPY . . [2020-09-15T05:50:03.373Z] ---> 4c66fdeb71d1 [2020-09-15T05:50:03.373Z] Step 8/8 : RUN go mod download [2020-09-15T05:50:03.373Z] ---> Running in b9c68c11645a [2020-09-15T05:50:05.635Z] 209524e5b208: Pull complete [2020-09-15T05:50:05.635Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-15T05:50:05.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-15T05:50:05.635Z] ---> 5bddaf1c2fca [2020-09-15T05:50:05.635Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:50:08.248Z] ---> Running in c72de0eee731 [2020-09-15T05:50:08.529Z] Removing intermediate container c72de0eee731 [2020-09-15T05:50:08.529Z] ---> ee8ae36cf290 [2020-09-15T05:50:08.529Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:50:08.529Z] ---> Running in 1281ef0fad5b [2020-09-15T05:50:11.161Z] Removing intermediate container 1281ef0fad5b [2020-09-15T05:50:11.161Z] ---> 41757bed47f4 [2020-09-15T05:50:11.161Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T05:50:11.450Z] ---> Running in 79d33376e8ef [2020-09-15T05:50:12.911Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T05:50:13.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T05:50:14.485Z] OK: 142 MiB in 39 packages [2020-09-15T05:50:15.481Z] Removing intermediate container 79d33376e8ef [2020-09-15T05:50:15.481Z] ---> d640f9047334 [2020-09-15T05:50:15.481Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T05:50:15.755Z] ---> Running in 150a49ddc3df [2020-09-15T05:50:16.358Z] Removing intermediate container 150a49ddc3df [2020-09-15T05:50:16.358Z] ---> de59e923627b [2020-09-15T05:50:16.358Z] Step 7/8 : COPY . . [2020-09-15T05:50:17.345Z] ---> 65ae0335d4b7 [2020-09-15T05:50:17.345Z] Step 8/8 : RUN go mod download [2020-09-15T05:50:17.617Z] ---> Running in 89dbe84f4ad2 [2020-09-15T05:50:18.939Z] Removing intermediate container b9c68c11645a [2020-09-15T05:50:18.939Z] ---> 9617e8b72e72 [2020-09-15T05:50:18.939Z] Successfully built 9617e8b72e72 [2020-09-15T05:50:18.939Z] 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-15T05:50:22.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T05:50:22.817Z] + ls -al . [2020-09-15T05:50:22.817Z] total 64 [2020-09-15T05:50:22.817Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 05:49 . [2020-09-15T05:50:22.817Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 15 05:49 .. [2020-09-15T05:50:22.817Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 05:49 bin [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 05:49 Dockerfile.build [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 05:49 .dockerignore [2020-09-15T05:50:22.817Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 05:49 example [2020-09-15T05:50:22.817Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 15 05:49 .git [2020-09-15T05:50:22.817Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 05:49 .github [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 05:49 .gitignore [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 15 05:49 go.mod [2020-09-15T05:50:22.817Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 05:49 internal [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 05:49 Jenkinsfile [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 05:49 LICENSE [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 05:49 Makefile [2020-09-15T05:50:22.817Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 05:49 openapi [2020-09-15T05:50:22.817Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 05:49 pkg [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 05:49 README.md [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 05:49 RELEASE-NOTES.txt [2020-09-15T05:50:22.817Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 15 05:49 .semver [2020-09-15T05:50:22.817Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 05:49 snap [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 15 05:46 VERSION [2020-09-15T05:50:22.817Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:50:23.207Z] + 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=3453c8bcbae7db027b2f999f18fb2d5ddccd55eb --label arch=amd64 --label version=1.2.4-dev.10 . [2020-09-15T05:50:23.813Z] Sending build context to Docker daemon 3.131MB [2020-09-15T05:50:23.813Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T05:50:23.813Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T05:50:23.813Z] ---> 9617e8b72e72 [2020-09-15T05:50:23.813Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T05:50:24.103Z] ---> Running in 10b5c51c2ce8 [2020-09-15T05:50:25.169Z] Removing intermediate container 10b5c51c2ce8 [2020-09-15T05:50:25.169Z] ---> b9bc924166ff [2020-09-15T05:50:25.169Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T05:50:25.508Z] ---> Running in 5c74a9d0af23 [2020-09-15T05:50:25.788Z] Removing intermediate container 5c74a9d0af23 [2020-09-15T05:50:25.788Z] ---> 38b64c982a22 [2020-09-15T05:50:25.788Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:50:25.788Z] ---> Running in 44257b3a42d8 [2020-09-15T05:50:26.066Z] Removing intermediate container 44257b3a42d8 [2020-09-15T05:50:26.066Z] ---> ecc3daac337b [2020-09-15T05:50:26.066Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:50:26.066Z] ---> Running in 97a635b28f65 [2020-09-15T05:50:28.083Z] Removing intermediate container 97a635b28f65 [2020-09-15T05:50:28.083Z] ---> 13ef2f95884a [2020-09-15T05:50:28.083Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T05:50:28.083Z] ---> Running in e96cbc3ded3f [2020-09-15T05:50:28.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T05:50:29.331Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T05:50:30.065Z] OK: 166 MiB in 39 packages [2020-09-15T05:50:31.119Z] Removing intermediate container e96cbc3ded3f [2020-09-15T05:50:31.119Z] ---> 1b9d11dcf34e [2020-09-15T05:50:31.119Z] Step 8/24 : COPY . . [2020-09-15T05:50:31.768Z] ---> e85a2d8263f7 [2020-09-15T05:50:31.768Z] Step 9/24 : RUN ${MAKE} [2020-09-15T05:50:31.768Z] ---> Running in 0fd99edfe909 [2020-09-15T05:50:32.701Z] Removing intermediate container 89dbe84f4ad2 [2020-09-15T05:50:32.701Z] ---> 7cbb812e1f25 [2020-09-15T05:50:32.701Z] Successfully built 7cbb812e1f25 [2020-09-15T05:50:32.701Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-15T05:50:32.883Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [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-15T05:50:33.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T05:50:34.134Z] + ls -al . [2020-09-15T05:50:34.134Z] total 104 [2020-09-15T05:50:34.134Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 05:49 . [2020-09-15T05:50:34.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:49 .. [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 05:49 .dockerignore [2020-09-15T05:50:34.134Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 05:49 .git [2020-09-15T05:50:34.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:49 .github [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 05:49 .gitignore [2020-09-15T05:50:34.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 05:49 .semver [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 05:49 Dockerfile.build [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 05:49 Jenkinsfile [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 05:49 LICENSE [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 05:49 Makefile [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 05:49 README.md [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 05:49 RELEASE-NOTES.txt [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 05:46 VERSION [2020-09-15T05:50:34.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:49 bin [2020-09-15T05:50:34.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:49 example [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 15 05:49 go.mod [2020-09-15T05:50:34.134Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 05:49 internal [2020-09-15T05:50:34.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:49 openapi [2020-09-15T05:50:34.134Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 05:49 pkg [2020-09-15T05:50:34.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:49 snap [2020-09-15T05:50:34.134Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:50:34.502Z] + 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=3453c8bcbae7db027b2f999f18fb2d5ddccd55eb --label arch=arm64 --label version=1.2.4-dev.10 . [2020-09-15T05:50:35.103Z] Sending build context to Docker daemon 3.131MB [2020-09-15T05:50:35.103Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T05:50:35.103Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T05:50:35.103Z] ---> 7cbb812e1f25 [2020-09-15T05:50:35.103Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T05:50:35.377Z] ---> Running in 26a9544f0c4c [2020-09-15T05:50:35.651Z] Removing intermediate container 26a9544f0c4c [2020-09-15T05:50:35.651Z] ---> 8e2b908a0252 [2020-09-15T05:50:35.923Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T05:50:35.923Z] ---> Running in 3bd5b83478de [2020-09-15T05:50:36.521Z] Removing intermediate container 3bd5b83478de [2020-09-15T05:50:36.522Z] ---> 69b7890cfc22 [2020-09-15T05:50:36.522Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:50:36.522Z] ---> Running in 52c75ddec32b [2020-09-15T05:50:37.120Z] Removing intermediate container 52c75ddec32b [2020-09-15T05:50:37.120Z] ---> 1cdf552e9c1f [2020-09-15T05:50:37.120Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:50:37.120Z] ---> Running in 7fe62e32f7c0 [2020-09-15T05:50:39.742Z] Removing intermediate container 7fe62e32f7c0 [2020-09-15T05:50:39.742Z] ---> f1baf4008037 [2020-09-15T05:50:39.742Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T05:50:39.742Z] ---> Running in a680e753a44d [2020-09-15T05:50:41.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T05:50:41.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T05:50:42.736Z] OK: 142 MiB in 39 packages [2020-09-15T05:50:43.717Z] Removing intermediate container a680e753a44d [2020-09-15T05:50:43.717Z] ---> 84bf251448b4 [2020-09-15T05:50:43.717Z] Step 8/24 : COPY . . [2020-09-15T05:50:45.153Z] ---> 5cded9b40b11 [2020-09-15T05:50:45.153Z] Step 9/24 : RUN ${MAKE} [2020-09-15T05:50:45.153Z] ---> Running in 5adab843a50a [2020-09-15T05:50:46.588Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-15T05:50:55.844Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T05:50:55.844Z] Removing intermediate container 0fd99edfe909 [2020-09-15T05:50:55.844Z] ---> 78688ca679eb [2020-09-15T05:50:55.844Z] Step 10/24 : FROM scratch [2020-09-15T05:50:55.844Z] ---> [2020-09-15T05:50:55.844Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:50:55.844Z] ---> Running in e3dfe993e084 [2020-09-15T05:50:55.844Z] Removing intermediate container e3dfe993e084 [2020-09-15T05:50:55.844Z] ---> 85390813219f [2020-09-15T05:50:55.844Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T05:50:56.109Z] ---> Running in ddee57015d77 [2020-09-15T05:50:56.378Z] Removing intermediate container ddee57015d77 [2020-09-15T05:50:56.378Z] ---> 5d2c630f4749 [2020-09-15T05:50:56.378Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T05:50:56.378Z] ---> Running in 997c24d864f2 [2020-09-15T05:50:56.643Z] Removing intermediate container 997c24d864f2 [2020-09-15T05:50:56.643Z] ---> 59c5e9207c8c [2020-09-15T05:50:56.643Z] Step 14/24 : WORKDIR / [2020-09-15T05:50:56.643Z] ---> Running in 3c43285456f7 [2020-09-15T05:50:56.913Z] Removing intermediate container 3c43285456f7 [2020-09-15T05:50:56.913Z] ---> aabb8f960539 [2020-09-15T05:50:56.913Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T05:50:57.513Z] ---> 13c87b9c98f1 [2020-09-15T05:50:57.513Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T05:50:57.778Z] ---> 322db5656d45 [2020-09-15T05:50:57.778Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T05:50:58.048Z] ---> 3e4b6b7e73d8 [2020-09-15T05:50:58.048Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T05:50:58.668Z] ---> 193e2b6c087c [2020-09-15T05:50:58.668Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T05:50:58.983Z] ---> c1326a6080db [2020-09-15T05:50:58.983Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T05:50:58.983Z] ---> Running in 58ba003d7ee6 [2020-09-15T05:50:59.399Z] Removing intermediate container 58ba003d7ee6 [2020-09-15T05:50:59.399Z] ---> e32028098f00 [2020-09-15T05:50:59.399Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T05:50:59.399Z] ---> Running in e93cf3f4f6fb [2020-09-15T05:50:59.775Z] Removing intermediate container e93cf3f4f6fb [2020-09-15T05:50:59.775Z] ---> 4566c21fc0df [2020-09-15T05:50:59.775Z] Step 22/24 : LABEL arch=amd64 [2020-09-15T05:50:59.775Z] ---> Running in 822d9048c827 [2020-09-15T05:51:00.410Z] Removing intermediate container 822d9048c827 [2020-09-15T05:51:00.410Z] ---> 1d2b5199e0f4 [2020-09-15T05:51:00.410Z] Step 23/24 : LABEL git_sha=3453c8bcbae7db027b2f999f18fb2d5ddccd55eb [2020-09-15T05:51:00.410Z] ---> Running in 7f596c34aeed [2020-09-15T05:51:00.692Z] Removing intermediate container 7f596c34aeed [2020-09-15T05:51:00.692Z] ---> 11194e0dca4a [2020-09-15T05:51:00.692Z] Step 24/24 : LABEL version=1.2.4-dev.10 [2020-09-15T05:51:00.692Z] ---> Running in 37ae0c9bec24 [2020-09-15T05:51:01.011Z] Removing intermediate container 37ae0c9bec24 [2020-09-15T05:51:01.011Z] ---> eb7b40a86b15 [2020-09-15T05:51:01.011Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T05:51:01.011Z] Successfully built eb7b40a86b15 [2020-09-15T05:51:01.011Z] 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] } [2020-09-15T05:51:13.454Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T05:51:13.454Z] Removing intermediate container 5adab843a50a [2020-09-15T05:51:13.454Z] ---> 7b324f9ad615 [2020-09-15T05:51:13.454Z] Step 10/24 : FROM scratch [2020-09-15T05:51:13.454Z] ---> [2020-09-15T05:51:13.454Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:51:13.454Z] ---> Running in 0368c585efb3 [2020-09-15T05:51:13.454Z] Removing intermediate container 0368c585efb3 [2020-09-15T05:51:13.454Z] ---> 78da883682d3 [2020-09-15T05:51:13.454Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T05:51:13.454Z] ---> Running in d726924c2257 [2020-09-15T05:51:13.726Z] Removing intermediate container d726924c2257 [2020-09-15T05:51:13.726Z] ---> a372293441e4 [2020-09-15T05:51:13.726Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T05:51:13.999Z] ---> Running in ef1b00b5893c [2020-09-15T05:51:14.271Z] Removing intermediate container ef1b00b5893c [2020-09-15T05:51:14.271Z] ---> e7badb04a5d8 [2020-09-15T05:51:14.271Z] Step 14/24 : WORKDIR / [2020-09-15T05:51:14.544Z] ---> Running in 5232297968a1 [2020-09-15T05:51:14.816Z] Removing intermediate container 5232297968a1 [2020-09-15T05:51:14.816Z] ---> 98c7082fd5ab [2020-09-15T05:51:14.816Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T05:51:16.252Z] ---> 7a363f8bc714 [2020-09-15T05:51:16.252Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T05:51:16.851Z] ---> d72bdf5c7e41 [2020-09-15T05:51:16.851Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T05:51:17.836Z] ---> 4c1f4fa91508 [2020-09-15T05:51:17.836Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T05:51:18.433Z] ---> ca2273b70d81 [2020-09-15T05:51:18.433Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T05:51:19.415Z] ---> 88e49eafdb1c [2020-09-15T05:51:19.415Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T05:51:19.415Z] ---> Running in c055fc7b5974 [2020-09-15T05:51:20.012Z] Removing intermediate container c055fc7b5974 [2020-09-15T05:51:20.012Z] ---> 075a6798fe00 [2020-09-15T05:51:20.012Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T05:51:20.012Z] ---> Running in bd58ca926408 [2020-09-15T05:51:20.610Z] Removing intermediate container bd58ca926408 [2020-09-15T05:51:20.610Z] ---> 2a36e8611c63 [2020-09-15T05:51:20.610Z] Step 22/24 : LABEL arch=arm64 [2020-09-15T05:51:20.610Z] ---> Running in 4e5e62b0003b [2020-09-15T05:51:20.885Z] Removing intermediate container 4e5e62b0003b [2020-09-15T05:51:20.885Z] ---> 859d8b4fe517 [2020-09-15T05:51:20.885Z] Step 23/24 : LABEL git_sha=3453c8bcbae7db027b2f999f18fb2d5ddccd55eb [2020-09-15T05:51:21.158Z] ---> Running in 414845f4107d [2020-09-15T05:51:21.431Z] Removing intermediate container 414845f4107d [2020-09-15T05:51:21.431Z] ---> b7396671ce5e [2020-09-15T05:51:21.431Z] Step 24/24 : LABEL version=1.2.4-dev.10 [2020-09-15T05:51:21.705Z] ---> Running in 8fe639f30d6d [2020-09-15T05:51:21.984Z] Removing intermediate container 8fe639f30d6d [2020-09-15T05:51:21.984Z] ---> d492f6fd8b96 [2020-09-15T05:51:21.984Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T05:51:21.984Z] Successfully built d492f6fd8b96 [2020-09-15T05:51:21.984Z] 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] } [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-15T05:51:24.190Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-15T05:51:24.192Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-15T05:51:24.268Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:51:24.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T05:51:24.623Z] [2020-09-15T05:51:24.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:51:24.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T05:51:24.983Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-15T05:51:24.983Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-15T05:51:24.983Z] 408f87550127: Pulling fs layer [2020-09-15T05:51:24.983Z] fe522b08c979: Pulling fs layer [2020-09-15T05:51:24.983Z] 221eaa008020: Pulling fs layer [2020-09-15T05:51:24.983Z] 2a4607e5d6b9: Pulling fs layer [2020-09-15T05:51:24.983Z] 8f79b27c4fd2: Pulling fs layer [2020-09-15T05:51:24.983Z] e5c8dbe1645b: Pulling fs layer [2020-09-15T05:51:24.983Z] 23e8b3b47431: Pulling fs layer [2020-09-15T05:51:24.983Z] 5c568d65a230: Pulling fs layer [2020-09-15T05:51:24.983Z] 8f79b27c4fd2: Waiting [2020-09-15T05:51:24.983Z] e5c8dbe1645b: Waiting [2020-09-15T05:51:24.983Z] 23e8b3b47431: Waiting [2020-09-15T05:51:24.983Z] 5c568d65a230: Waiting [2020-09-15T05:51:24.983Z] 221eaa008020: Waiting [2020-09-15T05:51:24.983Z] 2a4607e5d6b9: Waiting [2020-09-15T05:51:24.983Z] fe522b08c979: Verifying Checksum [2020-09-15T05:51:24.983Z] fe522b08c979: Download complete [2020-09-15T05:51:24.983Z] 408f87550127: Verifying Checksum [2020-09-15T05:51:24.983Z] 408f87550127: Download complete [2020-09-15T05:51:24.983Z] 2a4607e5d6b9: Verifying Checksum [2020-09-15T05:51:24.983Z] 2a4607e5d6b9: Download complete [2020-09-15T05:51:24.983Z] 8f79b27c4fd2: Verifying Checksum [2020-09-15T05:51:24.983Z] 8f79b27c4fd2: Download complete [2020-09-15T05:51:24.983Z] cbdbe7a5bc2a: Download complete [2020-09-15T05:51:25.564Z] cbdbe7a5bc2a: Pull complete [2020-09-15T05:51:25.564Z] 408f87550127: Pull complete [2020-09-15T05:51:25.827Z] e5c8dbe1645b: Verifying Checksum [2020-09-15T05:51:25.827Z] e5c8dbe1645b: Download complete [2020-09-15T05:51:25.827Z] fe522b08c979: Pull complete [2020-09-15T05:51:28.384Z] 23e8b3b47431: Verifying Checksum [2020-09-15T05:51:28.384Z] 23e8b3b47431: Download complete [2020-09-15T05:51:28.384Z] 5c568d65a230: Verifying Checksum [2020-09-15T05:51:28.384Z] 5c568d65a230: Download complete [2020-09-15T05:51:30.303Z] 221eaa008020: Download complete [2020-09-15T05:51:35.627Z] 221eaa008020: Pull complete [2020-09-15T05:51:35.888Z] 2a4607e5d6b9: Pull complete [2020-09-15T05:51:36.152Z] 8f79b27c4fd2: Pull complete [2020-09-15T05:51:38.088Z] e5c8dbe1645b: Pull complete [2020-09-15T05:51:40.647Z] 23e8b3b47431: Pull complete [2020-09-15T05:51:42.045Z] 5c568d65a230: Pull complete [2020-09-15T05:51:42.045Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-15T05:51:42.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T05:51:42.045Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-15T05:51:42.221Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:51:42.274Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-09-15T05:51:43.532Z] $ docker top 8071b5496bf132401b0b1f6240f147f5130b241e6838e4e0545153ff303ba1f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T05:51:44.074Z] + snyk monitor '--org=edgex-jenkins' [2020-09-15T05:51:59.028Z] [2020-09-15T05:51:59.028Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-15T05:51:59.028Z] [2020-09-15T05:51:59.028Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/2cef98fe-3614-4fbf-99e9-f6a3aa009a3b [2020-09-15T05:51:59.028Z] [2020-09-15T05:51:59.028Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-15T05:51:59.028Z] [2020-09-15T05:51:59.290Z] [2020-09-15T05:51:59.290Z] Snyk CLI supports Node.js 8 and higher. [2020-09-15T05:51:59.290Z] 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-15T05:51:59.290Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-15T05:51:59.290Z] [2020-09-15T05:51:59.290Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-15T05:51:59.290Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-15T05:51:59.308Z] $ docker stop --time=1 8071b5496bf132401b0b1f6240f147f5130b241e6838e4e0545153ff303ba1f7 [2020-09-15T05:52:01.284Z] $ docker rm -f 8071b5496bf132401b0b1f6240f147f5130b241e6838e4e0545153ff303ba1f7 [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-15T05:52:02.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:52:02.830Z] . [Pipeline] withDockerContainer [2020-09-15T05:52:02.924Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:52:02.967Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T05:52:03.878Z] $ docker top c0abb7a4fbfb27d868394761e596d564bc6036302f0f4c93af44f653aa9d7510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T05:52:04.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:52:04.210Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:52:04.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:52:04.478Z] $ docker exec c0abb7a4fbfb27d868394761e596d564bc6036302f0f4c93af44f653aa9d7510 ssh-agent [2020-09-15T05:52:04.636Z] SSH_AUTH_SOCK=/tmp/ssh-h5idzo60XTDy/agent.12 [2020-09-15T05:52:04.636Z] SSH_AGENT_PID=17 [2020-09-15T05:52:04.644Z] Running ssh-add (command line suppressed) [2020-09-15T05:52:04.764Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3094847788812271451.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3094847788812271451.key) [2020-09-15T05:52:04.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:52:05.146Z] + git semver tag [2020-09-15T05:52:05.146Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T05:52:05.146Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T05:52:05.146Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T05:52:05.146Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T05:52:05.146Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T05:52:05.146Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T05:52:05.146Z] # $SEMVER_BRANCH = master [2020-09-15T05:52:05.146Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T05:52:05.146Z] # 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb HEAD [2020-09-15T05:52:05.146Z] # -> Force: false [2020-09-15T05:52:05.146Z] # a41d8b42aab7258fa0ae137cc56aae1f0b5323c1 refs/tags/v1.2.4-dev.10 [Pipeline] } [2020-09-15T05:52:05.158Z] $ docker exec --env ******** --env ******** c0abb7a4fbfb27d868394761e596d564bc6036302f0f4c93af44f653aa9d7510 ssh-agent -k [2020-09-15T05:52:05.268Z] unset SSH_AUTH_SOCK; [2020-09-15T05:52:05.268Z] unset SSH_AGENT_PID; [2020-09-15T05:52:05.268Z] echo Agent pid 17 killed; [2020-09-15T05:52:05.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T05:52:05.773Z] + git semver [Pipeline] } [2020-09-15T05:52:05.790Z] $ docker stop --time=1 c0abb7a4fbfb27d868394761e596d564bc6036302f0f4c93af44f653aa9d7510 [2020-09-15T05:52:07.159Z] $ docker rm -f c0abb7a4fbfb27d868394761e596d564bc6036302f0f4c93af44f653aa9d7510 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:52:07.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T05:52:07.784Z] [2020-09-15T05:52:07.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:52:08.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T05:52:08.130Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-15T05:52:08.130Z] ab5ef0e58194: Pulling fs layer [2020-09-15T05:52:08.130Z] 9712f1f96733: Pulling fs layer [2020-09-15T05:52:08.130Z] 63f879dbbcfc: Pulling fs layer [2020-09-15T05:52:08.130Z] 0d9ebad4ef96: Pulling fs layer [2020-09-15T05:52:08.130Z] e9a5061849ea: Pulling fs layer [2020-09-15T05:52:08.130Z] d747dcd14b5f: Pulling fs layer [2020-09-15T05:52:08.130Z] 2de7ff778b66: Pulling fs layer [2020-09-15T05:52:08.130Z] 0d9ebad4ef96: Waiting [2020-09-15T05:52:08.130Z] e9a5061849ea: Waiting [2020-09-15T05:52:08.130Z] d747dcd14b5f: Waiting [2020-09-15T05:52:08.130Z] 2de7ff778b66: Waiting [2020-09-15T05:52:08.130Z] 9712f1f96733: Verifying Checksum [2020-09-15T05:52:08.130Z] 9712f1f96733: Download complete [2020-09-15T05:52:10.680Z] 63f879dbbcfc: Verifying Checksum [2020-09-15T05:52:10.680Z] 63f879dbbcfc: Download complete [2020-09-15T05:52:10.680Z] e9a5061849ea: Verifying Checksum [2020-09-15T05:52:10.680Z] e9a5061849ea: Download complete [2020-09-15T05:52:10.680Z] d747dcd14b5f: Verifying Checksum [2020-09-15T05:52:10.680Z] d747dcd14b5f: Download complete [2020-09-15T05:52:10.680Z] 2de7ff778b66: Verifying Checksum [2020-09-15T05:52:10.680Z] 2de7ff778b66: Download complete [2020-09-15T05:52:10.941Z] 0d9ebad4ef96: Verifying Checksum [2020-09-15T05:52:10.941Z] 0d9ebad4ef96: Download complete [2020-09-15T05:52:11.887Z] ab5ef0e58194: Verifying Checksum [2020-09-15T05:52:11.887Z] ab5ef0e58194: Download complete [2020-09-15T05:52:16.125Z] ab5ef0e58194: Pull complete [2020-09-15T05:52:16.125Z] 9712f1f96733: Pull complete [2020-09-15T05:52:19.450Z] 63f879dbbcfc: Pull complete [2020-09-15T05:52:24.770Z] 0d9ebad4ef96: Pull complete [2020-09-15T05:52:26.820Z] e9a5061849ea: Pull complete [2020-09-15T05:52:27.128Z] d747dcd14b5f: Pull complete [2020-09-15T05:52:29.694Z] 2de7ff778b66: Pull complete [2020-09-15T05:52:29.694Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-15T05:52:29.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T05:52:29.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-15T05:52:29.866Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:52:29.912Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-09-15T05:52:33.765Z] $ docker top 1a546569d39cfbdff355f79ad3d69f169abd9f28e12aa642f05a481483b2a1d6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-15T05:52:34.099Z] provisioning config files... [2020-09-15T05:52:34.113Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5426150227236228157tmp [2020-09-15T05:52:34.133Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1336966955862219837tmp [2020-09-15T05:52:34.149Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3700262040562909537tmp [Pipeline] { [Pipeline] echo [2020-09-15T05:52:34.245Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:52:34.546Z] ---> sigul-configuration.sh [2020-09-15T05:52:34.546Z] gpg: directory `/root/.gnupg' created [2020-09-15T05:52:34.546Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-15T05:52:34.546Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-15T05:52:34.546Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-15T05:52:34.546Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-15T05:52:34.546Z] gpg: CAST5 encrypted data [2020-09-15T05:52:34.809Z] gpg: encrypted with 1 passphrase [2020-09-15T05:52:34.809Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-15T05:52:35.108Z] + mkdir /home/jenkins [2020-09-15T05:52:35.108Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-15T05:52:35.735Z] + 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-15T05:52:35.746Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:52:36.060Z] ---> sigul-install.sh [2020-09-15T05:52:40.900Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-15T05:52:41.204Z] + git tag --list [2020-09-15T05:52:41.204Z] v1.2.4-dev.10 [Pipeline] sh [2020-09-15T05:52:41.521Z] + lftools sign git-tag v1.2.4-dev.10 [2020-09-15T05:52:42.908Z] Signing Git tag with Sigul... [2020-09-15T05:52:42.908Z] Signing v1.2.4-dev.10 [Pipeline] echo [2020-09-15T05:52:43.863Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:52:44.162Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-15T05:52:44.180Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-15T05:52:44.297Z] $ docker stop --time=1 1a546569d39cfbdff355f79ad3d69f169abd9f28e12aa642f05a481483b2a1d6 [2020-09-15T05:52:46.292Z] $ docker rm -f 1a546569d39cfbdff355f79ad3d69f169abd9f28e12aa642f05a481483b2a1d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:52:47.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:52:47.164Z] . [Pipeline] withDockerContainer [2020-09-15T05:52:47.285Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:52:47.332Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T05:52:47.959Z] $ docker top fe17b522d1eea4849aa40e7e00fb9ee24ff6d51738642912635b03d761647820 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T05:52:48.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:52:48.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:52:48.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:52:48.447Z] $ docker exec fe17b522d1eea4849aa40e7e00fb9ee24ff6d51738642912635b03d761647820 ssh-agent [2020-09-15T05:52:48.608Z] SSH_AUTH_SOCK=/tmp/ssh-6fncyX4rcl3M/agent.11 [2020-09-15T05:52:48.608Z] SSH_AGENT_PID=16 [2020-09-15T05:52:48.615Z] Running ssh-add (command line suppressed) [2020-09-15T05:52:48.737Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2368172970749772663.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2368172970749772663.key) [2020-09-15T05:52:48.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:52:49.127Z] + git semver bump pre [2020-09-15T05:52:49.127Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T05:52:49.127Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T05:52:49.127Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T05:52:49.127Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T05:52:49.127Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T05:52:49.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T05:52:49.127Z] # $SEMVER_BRANCH = master [2020-09-15T05:52:49.127Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T05:52:49.127Z] 1.2.4-dev.11 [Pipeline] } [2020-09-15T05:52:49.141Z] $ docker exec --env ******** --env ******** fe17b522d1eea4849aa40e7e00fb9ee24ff6d51738642912635b03d761647820 ssh-agent -k [2020-09-15T05:52:49.258Z] unset SSH_AUTH_SOCK; [2020-09-15T05:52:49.259Z] unset SSH_AGENT_PID; [2020-09-15T05:52:49.259Z] echo Agent pid 16 killed; [2020-09-15T05:52:49.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T05:52:49.793Z] + git semver [Pipeline] } [2020-09-15T05:52:49.811Z] $ docker stop --time=1 fe17b522d1eea4849aa40e7e00fb9ee24ff6d51738642912635b03d761647820 [2020-09-15T05:52:51.150Z] $ docker rm -f fe17b522d1eea4849aa40e7e00fb9ee24ff6d51738642912635b03d761647820 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:52:51.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:52:51.699Z] . [Pipeline] withDockerContainer [2020-09-15T05:52:51.793Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:52:51.838Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-15T05:52:52.404Z] $ docker top 12fc70ac047ba27df68ba8d6aa848e0690feda9f9f47161b98b170851341d893 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T05:52:52.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:52:52.706Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:52:52.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:52:52.887Z] $ docker exec 12fc70ac047ba27df68ba8d6aa848e0690feda9f9f47161b98b170851341d893 ssh-agent [2020-09-15T05:52:53.055Z] SSH_AUTH_SOCK=/tmp/ssh-8fXPrgWd8PlO/agent.12 [2020-09-15T05:52:53.055Z] SSH_AGENT_PID=17 [2020-09-15T05:52:53.061Z] Running ssh-add (command line suppressed) [2020-09-15T05:52:53.184Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7122324931364379615.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7122324931364379615.key) [2020-09-15T05:52:53.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:52:53.573Z] + git semver push [2020-09-15T05:52:53.573Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T05:52:53.573Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T05:52:53.573Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T05:52:53.573Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T05:52:53.573Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T05:52:53.573Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T05:52:53.573Z] # $SEMVER_BRANCH = master [2020-09-15T05:52:53.573Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T05:53:00.187Z] $ docker exec --env ******** --env ******** 12fc70ac047ba27df68ba8d6aa848e0690feda9f9f47161b98b170851341d893 ssh-agent -k [2020-09-15T05:53:00.309Z] unset SSH_AUTH_SOCK; [2020-09-15T05:53:00.309Z] unset SSH_AGENT_PID; [2020-09-15T05:53:00.309Z] echo Agent pid 17 killed; [2020-09-15T05:53:00.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T05:53:00.927Z] + git semver [Pipeline] } [2020-09-15T05:53:00.946Z] $ docker stop --time=1 12fc70ac047ba27df68ba8d6aa848e0690feda9f9f47161b98b170851341d893 [2020-09-15T05:53:02.309Z] $ docker rm -f 12fc70ac047ba27df68ba8d6aa848e0690feda9f9f47161b98b170851341d893 [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-15T05:53:03.673Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:53:04.244Z] ---> package-listing.sh [2020-09-15T05:53:04.244Z] ++ facter osfamily [2020-09-15T05:53:04.244Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T05:53:04.244Z] + OS_FAMILY=redhat [2020-09-15T05:53:04.244Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T05:53:04.244Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T05:53:04.244Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T05:53:04.244Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T05:53:04.244Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T05:53:04.244Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T05:53:04.244Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T05:53:04.244Z] + case "${OS_FAMILY}" in [2020-09-15T05:53:04.244Z] + rpm -qa [2020-09-15T05:53:04.244Z] + sort [2020-09-15T05:53:08.476Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T05:53:08.476Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T05:53:08.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T05:53:08.476Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T05:53:08.476Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-15T05:53:08.476Z] + 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-15T05:53:09.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:53:09.030Z] [2020-09-15T05:53:09.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:53:09.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:53:09.379Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T05:53:09.379Z] df20fa9351a1: Pulling fs layer [2020-09-15T05:53:09.379Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T05:53:09.379Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T05:53:09.379Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T05:53:09.379Z] 0dadc02b9964: Pulling fs layer [2020-09-15T05:53:09.379Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T05:53:09.379Z] 7a184a31f384: Pulling fs layer [2020-09-15T05:53:09.379Z] 0879bd2ef858: Pulling fs layer [2020-09-15T05:53:09.379Z] 0dadc02b9964: Waiting [2020-09-15T05:53:09.379Z] ce6a7cf60c04: Waiting [2020-09-15T05:53:09.379Z] 7a184a31f384: Waiting [2020-09-15T05:53:09.379Z] 0879bd2ef858: Waiting [2020-09-15T05:53:09.379Z] 46f8f816bc3b: Waiting [2020-09-15T05:53:09.379Z] 36b3adc4ff6f: Download complete [2020-09-15T05:53:09.379Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T05:53:09.379Z] 46f8f816bc3b: Download complete [2020-09-15T05:53:09.379Z] df20fa9351a1: Verifying Checksum [2020-09-15T05:53:09.379Z] df20fa9351a1: Download complete [2020-09-15T05:53:09.379Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T05:53:09.379Z] ce6a7cf60c04: Download complete [2020-09-15T05:53:09.379Z] 7a184a31f384: Download complete [2020-09-15T05:53:09.643Z] 0dadc02b9964: Verifying Checksum [2020-09-15T05:53:09.643Z] 0dadc02b9964: Download complete [2020-09-15T05:53:09.904Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T05:53:09.904Z] 8ad3a11d3b57: Download complete [2020-09-15T05:53:09.904Z] df20fa9351a1: Pull complete [2020-09-15T05:53:09.904Z] 36b3adc4ff6f: Pull complete [2020-09-15T05:53:10.165Z] 0879bd2ef858: Verifying Checksum [2020-09-15T05:53:10.165Z] 0879bd2ef858: Download complete [2020-09-15T05:53:10.742Z] 8ad3a11d3b57: Pull complete [2020-09-15T05:53:10.742Z] 46f8f816bc3b: Pull complete [2020-09-15T05:53:11.002Z] 0dadc02b9964: Pull complete [2020-09-15T05:53:11.266Z] ce6a7cf60c04: Pull complete [2020-09-15T05:53:11.266Z] 7a184a31f384: Pull complete [2020-09-15T05:53:14.010Z] 0879bd2ef858: Pull complete [2020-09-15T05:53:14.011Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T05:53:14.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:53:14.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T05:53:14.113Z] prd-centos7-docker-4c-2g-43223 does not seem to be running inside a container [2020-09-15T05:53:14.161Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-15T05:53:16.862Z] $ docker top 1857c06c5c23879678922063107d4d2ec320d4afd09181c6d7c07e820e9027db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T05:53:17.346Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T05:53:17.644Z] + ls /var/log/sa-host [2020-09-15T05:53:17.644Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T05:53:17.644Z] file_magic: OK [2020-09-15T05:53:17.644Z] HZ: Using current value: 100 [2020-09-15T05:53:17.644Z] file_header: OK [2020-09-15T05:53:17.644Z] 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-15T05:53:17.644Z] Statistics: [2020-09-15T05:53:17.644Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T05:53:17.644Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T05:53:17.644Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T05:53:17.644Z] file_magic: OK [2020-09-15T05:53:17.644Z] HZ: Using current value: 100 [2020-09-15T05:53:17.644Z] file_header: OK [2020-09-15T05:53:17.644Z] 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-15T05:53:17.644Z] Statistics: [2020-09-15T05:53:17.644Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T05:53:17.644Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T05:53:17.705Z] provisioning config files... [2020-09-15T05:53:17.723Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8351238667752611915tmp [Pipeline] { [Pipeline] echo [2020-09-15T05:53:17.823Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:53:18.124Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T05:53:18.135Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:53:18.430Z] ---> logs-deploy.sh [2020-09-15T05:53:18.430Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/60 [2020-09-15T05:53:18.430Z] INFO: archiving workspace using pattern(s): [2020-09-15T05:53:19.821Z] Archives upload complete. [2020-09-15T05:53:19.821Z] INFO: archiving logs to Nexus