Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from acdd4826cae80a3b8a1f7d698808ff3080e1060b 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43347 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 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 Fetching without tags Checking out Revision acdd4826cae80a3b8a1f7d698808ff3080e1060b (master) > 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 acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 Commit message: "Merge pull request #553 from weichou1229/issue-552" > git rev-list --no-walk 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T17:34:01.222Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T17:34:01.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T17:34:01.581Z] ========================================================= [2020-09-15T17:34:01.581Z] EdgeX Global Pipelines Version Info [2020-09-15T17:34:01.581Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:34:03.038Z] ------------------- [2020-09-15T17:34:03.038Z] stable info: [2020-09-15T17:34:03.038Z] ------------------- [2020-09-15T17:34:03.038Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-15T17:34:03.038Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-15T17:34:03.038Z] Message: update stable to v1.0.119 [2020-09-15T17:34:03.981Z] ------------------- [2020-09-15T17:34:03.981Z] experimental info: [2020-09-15T17:34:03.981Z] ------------------- [2020-09-15T17:34:03.981Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T17:34:03.981Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-15T17:34:03.981Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T17:34:04.319Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-15T17:34:04.414Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-15T17:34:04.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T17:34:04.745Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T17:34:04.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T17:34:04.921Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-15T17:34:05.020Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T17:34:05.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-15T17:34:05.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-15T17:34:05.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T17:34:05.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T17:34:05.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-15T17:34:05.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T17:34:05.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T17:34:05.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-15T17:34:05.808Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T17:34:05.892Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T17:34:05.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T17:34:06.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T17:34:06.148Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T17:34:06.233Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-15T17:34:06.319Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-15T17:34:06.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-15T17:34:06.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-15T17:34:06.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-15T17:34:06.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acdd4826cae80a3b8a1f7d698808ff3080e1060b [Pipeline] echo [2020-09-15T17:34:06.741Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acdd482 [Pipeline] echo [2020-09-15T17:34:06.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T17:34:07.379Z] + git log --format=format:%s -1 acdd4826cae80a3b8a1f7d698808ff3080e1060b [Pipeline] echo [2020-09-15T17:34:07.435Z] GIT_COMMIT: acdd4826cae80a3b8a1f7d698808ff3080e1060b, Commit Message: Merge pull request #553 from weichou1229/issue-552 [Pipeline] echo [2020-09-15T17:34:07.480Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:34:08.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:34:09.426Z] [2020-09-15T17:34:09.426Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:34:09.780Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:34:09.780Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T17:34:09.780Z] 31603596830f: Pulling fs layer [2020-09-15T17:34:09.780Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T17:34:09.780Z] 6ca5941a6612: Pulling fs layer [2020-09-15T17:34:09.780Z] ecc8261a40a4: Pulling fs layer [2020-09-15T17:34:09.780Z] ecc8261a40a4: Waiting [2020-09-15T17:34:09.780Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T17:34:09.780Z] 2a8b12db71e7: Download complete [2020-09-15T17:34:10.046Z] 31603596830f: Download complete [2020-09-15T17:34:10.046Z] ecc8261a40a4: Verifying Checksum [2020-09-15T17:34:10.046Z] ecc8261a40a4: Download complete [2020-09-15T17:34:10.046Z] 6ca5941a6612: Verifying Checksum [2020-09-15T17:34:10.046Z] 6ca5941a6612: Download complete [2020-09-15T17:34:10.308Z] 31603596830f: Pull complete [2020-09-15T17:34:10.572Z] 2a8b12db71e7: Pull complete [2020-09-15T17:34:11.154Z] 6ca5941a6612: Pull complete [2020-09-15T17:34:11.729Z] ecc8261a40a4: Pull complete [2020-09-15T17:34:11.729Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T17:34:11.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:34:11.729Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T17:34:11.834Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:34:11.884Z] $ 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-15T17:34:13.536Z] $ docker top 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T17:34:13.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T17:34:13.923Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T17:34:14.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T17:34:14.123Z] $ docker exec 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 ssh-agent [2020-09-15T17:34:14.270Z] SSH_AUTH_SOCK=/tmp/ssh-8HAaOmXUiNKK/agent.11 [2020-09-15T17:34:14.270Z] SSH_AGENT_PID=17 [2020-09-15T17:34:14.281Z] Running ssh-add (command line suppressed) [2020-09-15T17:34:14.389Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2040305321279926780.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2040305321279926780.key) [2020-09-15T17:34:14.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T17:34:14.779Z] + git describe --exact-match --tags HEAD [2020-09-15T17:34:14.780Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T17:34:14.813Z] $ docker exec --env ******** --env ******** 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 ssh-agent -k [2020-09-15T17:34:14.923Z] unset SSH_AUTH_SOCK; [2020-09-15T17:34:14.924Z] unset SSH_AGENT_PID; [2020-09-15T17:34:14.924Z] echo Agent pid 17 killed; [2020-09-15T17:34:14.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T17:34:15.073Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T17:34:15.073Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T17:34:15.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T17:34:15.269Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T17:34:15.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T17:34:15.426Z] $ docker exec 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 ssh-agent [2020-09-15T17:34:15.574Z] SSH_AUTH_SOCK=/tmp/ssh-hWYjyLxlPTCp/agent.46 [2020-09-15T17:34:15.574Z] SSH_AGENT_PID=51 [2020-09-15T17:34:15.581Z] Running ssh-add (command line suppressed) [2020-09-15T17:34:15.690Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1989306739725808439.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1989306739725808439.key) [2020-09-15T17:34:15.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T17:34:16.066Z] + git semver init [2020-09-15T17:34:16.066Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T17:34:16.066Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T17:34:16.066Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T17:34:16.066Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T17:34:16.066Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T17:34:16.066Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T17:34:16.066Z] # $SEMVER_BRANCH = master [2020-09-15T17:34:16.066Z] # $SEMVER_TEMP = /tmp/semver-884140930 [2020-09-15T17:34:16.066Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-15T17:34:16.639Z] # '/tmp/semver-884140930' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-15T17:34:16.639Z] # -> Force: false [2020-09-15T17:34:16.639Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T17:34:16.653Z] $ docker exec --env ******** --env ******** 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 ssh-agent -k [2020-09-15T17:34:16.758Z] unset SSH_AUTH_SOCK; [2020-09-15T17:34:16.759Z] unset SSH_AGENT_PID; [2020-09-15T17:34:16.759Z] echo Agent pid 51 killed; [2020-09-15T17:34:16.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T17:34:17.276Z] + git semver [Pipeline] } [2020-09-15T17:34:17.293Z] $ docker stop --time=1 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 [2020-09-15T17:34:18.641Z] $ docker rm -f 5b54abd0750e263e068c2d146ae2a26e1f4f9f6575ca6978f2bf5b45b4a825a8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T17:34:19.416Z] Stashed 31 file(s) [Pipeline] echo [2020-09-15T17:34:19.419Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.12 [Pipeline] echo [2020-09-15T17:34:19.504Z] Archived original version: [1.2.4-dev.12] [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-15T17:34:34.876Z] Still waiting to schedule task [2020-09-15T17:34:34.876Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-15T17:34:34.879Z] Still waiting to schedule task [2020-09-15T17:34:34.879Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-43346’ is offline [2020-09-15T17:36:32.769Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43348 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T17:36:32.830Z] Running in /w/workspace/device-sdk-go/62 [Pipeline] { [Pipeline] checkout [2020-09-15T17:36:37.881Z] using credential edgex-jenkins-ssh [2020-09-15T17:36:37.937Z] Cloning the remote Git repository [2020-09-15T17:36:37.937Z] Cloning with configured refspecs honoured and without tags [2020-09-15T17:36:38.005Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:38.107Z] > git init /w/workspace/device-sdk-go/62 # timeout=10 [2020-09-15T17:36:38.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:38.158Z] > git --version # timeout=10 [2020-09-15T17:36:39.157Z] Fetching without tags [2020-09-15T17:36:38.177Z] > git --version # 'git version 2.17.1' [2020-09-15T17:36:38.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T17:36:38.222Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:39.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T17:36:39.099Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:39.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T17:36:39.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:39.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T17:36:39.183Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:39.605Z] Checking out Revision acdd4826cae80a3b8a1f7d698808ff3080e1060b (master) [2020-09-15T17:36:39.629Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T17:36:39.651Z] > git checkout -f acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 [2020-09-15T17:36:44.146Z] Commit message: "Merge pull request #553 from weichou1229/issue-552" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T17:36:45.389Z] ========================================================= [2020-09-15T17:36:45.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-15T17:36:45.389Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:36:46.523Z] + 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-15T17:36:47.521Z] Sending build context to Docker daemon 3.148MB [2020-09-15T17:36:47.521Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T17:36:47.521Z] Step 2/8 : FROM ${BASE} [2020-09-15T17:36:47.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T17:36:47.800Z] b538f80385f9: Pulling fs layer [2020-09-15T17:36:47.800Z] 74f711af9a0d: Pulling fs layer [2020-09-15T17:36:47.800Z] 99f96fe45779: Pulling fs layer [2020-09-15T17:36:47.800Z] 8529a6b9a6be: Pulling fs layer [2020-09-15T17:36:47.800Z] 45590311c82a: Pulling fs layer [2020-09-15T17:36:47.800Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-15T17:36:47.800Z] 209524e5b208: Pulling fs layer [2020-09-15T17:36:47.800Z] 8529a6b9a6be: Waiting [2020-09-15T17:36:47.800Z] 45590311c82a: Waiting [2020-09-15T17:36:47.800Z] 69ca0ff8b7b3: Waiting [2020-09-15T17:36:47.800Z] 209524e5b208: Waiting [2020-09-15T17:36:47.800Z] 99f96fe45779: Verifying Checksum [2020-09-15T17:36:47.800Z] 99f96fe45779: Download complete [2020-09-15T17:36:47.800Z] 74f711af9a0d: Verifying Checksum [2020-09-15T17:36:47.800Z] 74f711af9a0d: Download complete [2020-09-15T17:36:47.800Z] 45590311c82a: Verifying Checksum [2020-09-15T17:36:47.800Z] 45590311c82a: Download complete [2020-09-15T17:36:47.800Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-15T17:36:47.800Z] 69ca0ff8b7b3: Download complete [2020-09-15T17:36:47.800Z] b538f80385f9: Verifying Checksum [2020-09-15T17:36:47.800Z] b538f80385f9: Download complete [2020-09-15T17:36:48.269Z] Running on prd-centos7-docker-4c-2g-43349 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-15T17:36:48.320Z] Running in /w/workspace/device-sdk-go/62 [Pipeline] { [Pipeline] checkout [2020-09-15T17:36:48.414Z] b538f80385f9: Pull complete [2020-09-15T17:36:49.021Z] 74f711af9a0d: Pull complete [2020-09-15T17:36:49.636Z] 99f96fe45779: Pull complete [2020-09-15T17:36:50.229Z] 209524e5b208: Download complete [2020-09-15T17:36:51.164Z] using credential edgex-jenkins-ssh [2020-09-15T17:36:51.214Z] Cloning the remote Git repository [2020-09-15T17:36:51.214Z] Cloning with configured refspecs honoured and without tags [2020-09-15T17:36:51.668Z] 8529a6b9a6be: Verifying Checksum [2020-09-15T17:36:51.669Z] 8529a6b9a6be: Download complete [2020-09-15T17:36:51.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:51.310Z] > git init /w/workspace/device-sdk-go/62 # timeout=10 [2020-09-15T17:36:51.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:51.385Z] > git --version # timeout=10 [2020-09-15T17:36:51.395Z] > git --version # 'git version 2.16.5' [2020-09-15T17:36:51.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T17:36:51.426Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:52.003Z] Fetching without tags [2020-09-15T17:36:52.419Z] Checking out Revision acdd4826cae80a3b8a1f7d698808ff3080e1060b (master) [2020-09-15T17:36:51.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T17:36:51.986Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:51.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T17:36:52.009Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T17:36:52.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T17:36:52.013Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T17:36:52.430Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T17:36:52.436Z] > git checkout -f acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 [2020-09-15T17:36:56.055Z] Commit message: "Merge pull request #553 from weichou1229/issue-552" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T17:36:56.934Z] ========================================================= [2020-09-15T17:36:56.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-15T17:36:56.934Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:36:57.550Z] + 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-15T17:36:58.128Z] Sending build context to Docker daemon 3.148MB [2020-09-15T17:36:58.128Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T17:36:58.128Z] Step 2/8 : FROM ${BASE} [2020-09-15T17:36:58.128Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T17:36:58.128Z] df20fa9351a1: Pulling fs layer [2020-09-15T17:36:58.128Z] ed8968b2872e: Pulling fs layer [2020-09-15T17:36:58.128Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T17:36:58.128Z] e871e8e8d7a9: Pulling fs layer [2020-09-15T17:36:58.128Z] e73272ec9a57: Pulling fs layer [2020-09-15T17:36:58.128Z] 1e910a182e73: Pulling fs layer [2020-09-15T17:36:58.128Z] 4e634b169226: Pulling fs layer [2020-09-15T17:36:58.128Z] 1e910a182e73: Waiting [2020-09-15T17:36:58.128Z] e871e8e8d7a9: Waiting [2020-09-15T17:36:58.128Z] 4e634b169226: Waiting [2020-09-15T17:36:58.128Z] e73272ec9a57: Waiting [2020-09-15T17:36:58.128Z] a92cc7c5fd73: Verifying Checksum [2020-09-15T17:36:58.128Z] a92cc7c5fd73: Download complete [2020-09-15T17:36:58.128Z] ed8968b2872e: Verifying Checksum [2020-09-15T17:36:58.128Z] ed8968b2872e: Download complete [2020-09-15T17:36:58.128Z] e73272ec9a57: Verifying Checksum [2020-09-15T17:36:58.128Z] e73272ec9a57: Download complete [2020-09-15T17:36:58.128Z] 1e910a182e73: Verifying Checksum [2020-09-15T17:36:58.128Z] 1e910a182e73: Download complete [2020-09-15T17:36:58.128Z] df20fa9351a1: Verifying Checksum [2020-09-15T17:36:58.128Z] df20fa9351a1: Download complete [2020-09-15T17:36:58.391Z] df20fa9351a1: Pull complete [2020-09-15T17:36:58.654Z] ed8968b2872e: Pull complete [2020-09-15T17:36:58.654Z] a92cc7c5fd73: Pull complete [2020-09-15T17:36:59.606Z] 4e634b169226: Verifying Checksum [2020-09-15T17:36:59.607Z] 4e634b169226: Download complete [2020-09-15T17:37:00.558Z] e871e8e8d7a9: Verifying Checksum [2020-09-15T17:37:00.558Z] e871e8e8d7a9: Download complete [2020-09-15T17:37:01.831Z] 8529a6b9a6be: Pull complete [2020-09-15T17:37:02.108Z] 45590311c82a: Pull complete [2020-09-15T17:37:02.383Z] 69ca0ff8b7b3: Pull complete [2020-09-15T17:37:04.793Z] e871e8e8d7a9: Pull complete [2020-09-15T17:37:04.793Z] e73272ec9a57: Pull complete [2020-09-15T17:37:05.061Z] 1e910a182e73: Pull complete [2020-09-15T17:37:06.713Z] 209524e5b208: Pull complete [2020-09-15T17:37:06.713Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-15T17:37:06.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-15T17:37:06.713Z] ---> 5bddaf1c2fca [2020-09-15T17:37:06.713Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:37:09.333Z] ---> Running in c029d518bfd4 [2020-09-15T17:37:09.333Z] Removing intermediate container c029d518bfd4 [2020-09-15T17:37:09.333Z] ---> 8f45c79d0d30 [2020-09-15T17:37:09.333Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T17:37:09.607Z] ---> Running in 2dffcd13e4b7 [2020-09-15T17:37:12.232Z] Removing intermediate container 2dffcd13e4b7 [2020-09-15T17:37:12.232Z] ---> c418300bb5e6 [2020-09-15T17:37:12.232Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T17:37:12.511Z] ---> Running in 68948e43b294 [2020-09-15T17:37:13.222Z] 4e634b169226: Pull complete [2020-09-15T17:37:13.485Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-15T17:37:13.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-15T17:37:13.485Z] ---> f7629b54cfaa [2020-09-15T17:37:13.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:37:13.747Z] ---> Running in a20b4a770979 [2020-09-15T17:37:13.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T17:37:14.010Z] Removing intermediate container a20b4a770979 [2020-09-15T17:37:14.010Z] ---> bb24c6b1923f [2020-09-15T17:37:14.010Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T17:37:14.010Z] ---> Running in 779a1e9c838d [2020-09-15T17:37:14.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T17:37:15.130Z] OK: 142 MiB in 39 packages [2020-09-15T17:37:15.408Z] Removing intermediate container 779a1e9c838d [2020-09-15T17:37:15.408Z] ---> 8241501a1589 [2020-09-15T17:37:15.408Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T17:37:15.408Z] ---> Running in 64e6019206be [2020-09-15T17:37:15.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T17:37:16.559Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T17:37:16.582Z] Removing intermediate container 68948e43b294 [2020-09-15T17:37:16.582Z] ---> 8d3bdd407bb6 [2020-09-15T17:37:16.582Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T17:37:16.582Z] ---> Running in a6c882c96350 [2020-09-15T17:37:16.871Z] Removing intermediate container a6c882c96350 [2020-09-15T17:37:16.871Z] ---> 8dcafff90fef [2020-09-15T17:37:16.871Z] Step 7/8 : COPY . . [2020-09-15T17:37:17.132Z] OK: 166 MiB in 39 packages [2020-09-15T17:37:17.394Z] Removing intermediate container 64e6019206be [2020-09-15T17:37:17.394Z] ---> 756bc7489e76 [2020-09-15T17:37:17.394Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T17:37:17.656Z] ---> Running in ba0562492d8e [2020-09-15T17:37:17.656Z] Removing intermediate container ba0562492d8e [2020-09-15T17:37:17.656Z] ---> 843f2998e6f9 [2020-09-15T17:37:17.656Z] Step 7/8 : COPY . . [2020-09-15T17:37:18.310Z] ---> a07e828388d7 [2020-09-15T17:37:18.310Z] Step 8/8 : RUN go mod download [2020-09-15T17:37:18.310Z] ---> Running in 2a912a250eb2 [2020-09-15T17:37:19.053Z] ---> 551b839a38d9 [2020-09-15T17:37:19.053Z] Step 8/8 : RUN go mod download [2020-09-15T17:37:19.053Z] ---> Running in 33e7a87e4934 [2020-09-15T17:37:31.316Z] Removing intermediate container 33e7a87e4934 [2020-09-15T17:37:31.316Z] ---> d3c50b3c9b3b [2020-09-15T17:37:31.316Z] Successfully built d3c50b3c9b3b [2020-09-15T17:37:31.316Z] 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-15T17:37:32.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T17:37:33.184Z] + ls -al . [2020-09-15T17:37:33.184Z] total 64 [2020-09-15T17:37:33.184Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 17:36 . [2020-09-15T17:37:33.184Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 15 17:36 .. [2020-09-15T17:37:33.184Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 17:36 bin [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 17:36 Dockerfile.build [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 17:36 .dockerignore [2020-09-15T17:37:33.184Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 17:36 example [2020-09-15T17:37:33.184Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 15 17:36 .git [2020-09-15T17:37:33.184Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 17:36 .github [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 17:36 .gitignore [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 15 17:36 go.mod [2020-09-15T17:37:33.184Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 17:36 internal [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 17:36 Jenkinsfile [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 17:36 LICENSE [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 17:36 Makefile [2020-09-15T17:37:33.184Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 17:36 openapi [2020-09-15T17:37:33.184Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 17:36 pkg [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 17:36 README.md [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 17:36 RELEASE-NOTES.txt [2020-09-15T17:37:33.184Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 15 17:36 .semver [2020-09-15T17:37:33.184Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 17:36 snap [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 15 17:34 VERSION [2020-09-15T17:37:33.184Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 17:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:37:33.400Z] Removing intermediate container 2a912a250eb2 [2020-09-15T17:37:33.400Z] ---> 858b35206dfb [2020-09-15T17:37:33.400Z] Successfully built 858b35206dfb [2020-09-15T17:37:33.400Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [2020-09-15T17:37:33.553Z] + 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=acdd4826cae80a3b8a1f7d698808ff3080e1060b --label arch=amd64 --label version=1.2.4-dev.12 . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-09-15T17:37:33.820Z] Sending build context to Docker daemon 3.148MB [2020-09-15T17:37:33.820Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T17:37:33.820Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T17:37:33.820Z] ---> d3c50b3c9b3b [2020-09-15T17:37:33.820Z] Step 3/24 : ARG MAKE='make build' Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-15T17:37:34.081Z] ---> Running in 70226120839a [2020-09-15T17:37:34.081Z] Removing intermediate container 70226120839a [2020-09-15T17:37:34.081Z] ---> 99ce2b7b2e50 [2020-09-15T17:37:34.081Z] Step 4/24 : WORKDIR /device-sdk-go [Pipeline] sh [2020-09-15T17:37:34.342Z] ---> Running in 740de2ac687c [2020-09-15T17:37:34.342Z] Removing intermediate container 740de2ac687c [2020-09-15T17:37:34.342Z] ---> 952f485be67f [2020-09-15T17:37:34.342Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:37:34.342Z] ---> Running in eab1dc718eff [2020-09-15T17:37:34.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T17:37:34.605Z] Removing intermediate container eab1dc718eff [2020-09-15T17:37:34.605Z] ---> df7bfd9e7cb3 [2020-09-15T17:37:34.605Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T17:37:34.605Z] ---> Running in ec2764b1f0bf [2020-09-15T17:37:34.737Z] + ls -al . [2020-09-15T17:37:34.737Z] total 104 [2020-09-15T17:37:34.737Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 17:36 . [2020-09-15T17:37:34.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:36 .. [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 17:36 .dockerignore [2020-09-15T17:37:34.737Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 17:36 .git [2020-09-15T17:37:34.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 17:36 .github [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 17:36 .gitignore [2020-09-15T17:37:34.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 17:36 .semver [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 17:36 Dockerfile.build [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 17:36 Jenkinsfile [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 17:36 LICENSE [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 17:36 Makefile [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 17:36 README.md [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 17:36 RELEASE-NOTES.txt [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 17:34 VERSION [2020-09-15T17:37:34.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 17:36 bin [2020-09-15T17:37:34.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:36 example [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 15 17:36 go.mod [2020-09-15T17:37:34.737Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 17:36 internal [2020-09-15T17:37:34.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:36 openapi [2020-09-15T17:37:34.737Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 17:36 pkg [2020-09-15T17:37:34.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 17:36 snap [2020-09-15T17:37:34.737Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 17:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:37:35.083Z] + 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=acdd4826cae80a3b8a1f7d698808ff3080e1060b --label arch=arm64 --label version=1.2.4-dev.12 . [2020-09-15T17:37:35.790Z] Sending build context to Docker daemon 3.148MB [2020-09-15T17:37:35.790Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T17:37:35.790Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T17:37:35.790Z] ---> 858b35206dfb [2020-09-15T17:37:35.790Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T17:37:35.790Z] ---> Running in e77a1c7c950c [2020-09-15T17:37:36.400Z] Removing intermediate container e77a1c7c950c [2020-09-15T17:37:36.400Z] ---> 6feb3d285b5f [2020-09-15T17:37:36.400Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T17:37:36.400Z] ---> Running in 47b6de62a0d6 [2020-09-15T17:37:36.527Z] Removing intermediate container ec2764b1f0bf [2020-09-15T17:37:36.527Z] ---> b778d5468222 [2020-09-15T17:37:36.527Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T17:37:36.527Z] ---> Running in c5a908010272 [2020-09-15T17:37:36.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T17:37:36.993Z] Removing intermediate container 47b6de62a0d6 [2020-09-15T17:37:36.993Z] ---> 59603c6e4f0a [2020-09-15T17:37:36.993Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:37:36.993Z] ---> Running in 145a4ed05f65 [2020-09-15T17:37:37.472Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T17:37:37.595Z] Removing intermediate container 145a4ed05f65 [2020-09-15T17:37:37.595Z] ---> ff0729e740a4 [2020-09-15T17:37:37.596Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T17:37:37.596Z] ---> Running in 14406c9626e3 [2020-09-15T17:37:37.736Z] OK: 166 MiB in 39 packages [2020-09-15T17:37:38.006Z] Removing intermediate container c5a908010272 [2020-09-15T17:37:38.006Z] ---> 0386e598e2e6 [2020-09-15T17:37:38.006Z] Step 8/24 : COPY . . [2020-09-15T17:37:39.407Z] ---> 4ba899e4715a [2020-09-15T17:37:39.407Z] Step 9/24 : RUN ${MAKE} [2020-09-15T17:37:39.407Z] ---> Running in 4f7a056ae7ef [2020-09-15T17:37:39.991Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-15T17:37:40.228Z] Removing intermediate container 14406c9626e3 [2020-09-15T17:37:40.228Z] ---> c6f835a28e89 [2020-09-15T17:37:40.228Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T17:37:40.228Z] ---> Running in fe351df7073d [2020-09-15T17:37:41.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T17:37:42.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T17:37:43.233Z] OK: 142 MiB in 39 packages [2020-09-15T17:37:44.209Z] Removing intermediate container fe351df7073d [2020-09-15T17:37:44.209Z] ---> e5cbe3360e62 [2020-09-15T17:37:44.209Z] Step 8/24 : COPY . . [2020-09-15T17:37:45.650Z] ---> 42acb17e4929 [2020-09-15T17:37:45.650Z] Step 9/24 : RUN ${MAKE} [2020-09-15T17:37:45.650Z] ---> Running in 65e146c87dfb [2020-09-15T17:37:47.083Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-15T17:37:48.230Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T17:37:49.618Z] Removing intermediate container 4f7a056ae7ef [2020-09-15T17:37:49.618Z] ---> b724496f56f2 [2020-09-15T17:37:49.618Z] Step 10/24 : FROM scratch [2020-09-15T17:37:49.618Z] ---> [2020-09-15T17:37:49.618Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:37:49.618Z] ---> Running in a9b91efcad6d [2020-09-15T17:37:49.618Z] Removing intermediate container a9b91efcad6d [2020-09-15T17:37:49.618Z] ---> 5eb29e276661 [2020-09-15T17:37:49.618Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T17:37:49.618Z] ---> Running in 8509e164ec64 [2020-09-15T17:37:49.880Z] Removing intermediate container 8509e164ec64 [2020-09-15T17:37:49.880Z] ---> 747dcc162f71 [2020-09-15T17:37:49.880Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T17:37:49.880Z] ---> Running in 10e5479417d7 [2020-09-15T17:37:49.880Z] Removing intermediate container 10e5479417d7 [2020-09-15T17:37:49.880Z] ---> 7c302d09996b [2020-09-15T17:37:49.880Z] Step 14/24 : WORKDIR / [2020-09-15T17:37:49.880Z] ---> Running in 1f73c6367ade [2020-09-15T17:37:50.143Z] Removing intermediate container 1f73c6367ade [2020-09-15T17:37:50.143Z] ---> a151b465eef4 [2020-09-15T17:37:50.143Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T17:37:50.719Z] ---> 1253fd85a6ce [2020-09-15T17:37:50.719Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T17:37:50.719Z] ---> 07d92c4900ba [2020-09-15T17:37:50.719Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T17:37:50.980Z] ---> 43678facf6de [2020-09-15T17:37:50.980Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T17:37:51.242Z] ---> fdcd65fc0ce2 [2020-09-15T17:37:51.242Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T17:37:51.503Z] ---> a49d16ab5fb7 [2020-09-15T17:37:51.504Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T17:37:51.504Z] ---> Running in 750a5e52b942 [2020-09-15T17:37:51.765Z] Removing intermediate container 750a5e52b942 [2020-09-15T17:37:51.765Z] ---> 019ed636e32f [2020-09-15T17:37:51.765Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T17:37:51.765Z] ---> Running in 3432f7edc991 [2020-09-15T17:37:52.026Z] Removing intermediate container 3432f7edc991 [2020-09-15T17:37:52.026Z] ---> f4a1708ecd82 [2020-09-15T17:37:52.026Z] Step 22/24 : LABEL arch=amd64 [2020-09-15T17:37:52.026Z] ---> Running in fa0ce8762402 [2020-09-15T17:37:52.026Z] Removing intermediate container fa0ce8762402 [2020-09-15T17:37:52.026Z] ---> bd784cb53365 [2020-09-15T17:37:52.026Z] Step 23/24 : LABEL git_sha=acdd4826cae80a3b8a1f7d698808ff3080e1060b [2020-09-15T17:37:52.288Z] ---> Running in 32f294a7b699 [2020-09-15T17:37:52.288Z] Removing intermediate container 32f294a7b699 [2020-09-15T17:37:52.288Z] ---> 2c20ab2c6e51 [2020-09-15T17:37:52.288Z] Step 24/24 : LABEL version=1.2.4-dev.12 [2020-09-15T17:37:52.288Z] ---> Running in c66ae92ff1b4 [2020-09-15T17:37:52.580Z] Removing intermediate container c66ae92ff1b4 [2020-09-15T17:37:52.580Z] ---> 1aec05840f61 [2020-09-15T17:37:52.580Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T17:37:52.580Z] Successfully built 1aec05840f61 [2020-09-15T17:37:52.580Z] 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-15T17:38:09.299Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T17:38:11.283Z] Removing intermediate container 65e146c87dfb [2020-09-15T17:38:11.283Z] ---> 7b3833091204 [2020-09-15T17:38:11.283Z] Step 10/24 : FROM scratch [2020-09-15T17:38:11.283Z] ---> [2020-09-15T17:38:11.283Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T17:38:11.556Z] ---> Running in e1a87e657bf8 [2020-09-15T17:38:12.151Z] Removing intermediate container e1a87e657bf8 [2020-09-15T17:38:12.151Z] ---> 280aca94bb0d [2020-09-15T17:38:12.151Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T17:38:12.151Z] ---> Running in b76390a6e55f [2020-09-15T17:38:12.425Z] Removing intermediate container b76390a6e55f [2020-09-15T17:38:12.425Z] ---> 6f12c56b852f [2020-09-15T17:38:12.425Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T17:38:12.697Z] ---> Running in b36432c43e95 [2020-09-15T17:38:12.967Z] Removing intermediate container b36432c43e95 [2020-09-15T17:38:12.967Z] ---> d28fbc70589a [2020-09-15T17:38:12.967Z] Step 14/24 : WORKDIR / [2020-09-15T17:38:12.967Z] ---> Running in 4958162da820 [2020-09-15T17:38:13.562Z] Removing intermediate container 4958162da820 [2020-09-15T17:38:13.562Z] ---> 3d2ded5bd9ef [2020-09-15T17:38:13.562Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T17:38:14.544Z] ---> 4bf11f0451f2 [2020-09-15T17:38:14.544Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T17:38:15.521Z] ---> b28ed1d564ac [2020-09-15T17:38:15.521Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T17:38:16.118Z] ---> 59fa8822ddab [2020-09-15T17:38:16.118Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T17:38:16.722Z] ---> 8c7a4393fcbf [2020-09-15T17:38:16.722Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T17:38:17.317Z] ---> 32aa6393b553 [2020-09-15T17:38:17.317Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T17:38:17.592Z] ---> Running in 736d81864e44 [2020-09-15T17:38:18.188Z] Removing intermediate container 736d81864e44 [2020-09-15T17:38:18.188Z] ---> 616b4bac6457 [2020-09-15T17:38:18.188Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T17:38:18.188Z] ---> Running in c7b69d0f411f [2020-09-15T17:38:18.785Z] Removing intermediate container c7b69d0f411f [2020-09-15T17:38:18.785Z] ---> 2c038ee69cf7 [2020-09-15T17:38:18.785Z] Step 22/24 : LABEL arch=arm64 [2020-09-15T17:38:18.785Z] ---> Running in bc3c5b5e1650 [2020-09-15T17:38:19.379Z] Removing intermediate container bc3c5b5e1650 [2020-09-15T17:38:19.379Z] ---> 82c0084a6b11 [2020-09-15T17:38:19.379Z] Step 23/24 : LABEL git_sha=acdd4826cae80a3b8a1f7d698808ff3080e1060b [2020-09-15T17:38:19.379Z] ---> Running in cf555c407dfd [2020-09-15T17:38:19.655Z] Removing intermediate container cf555c407dfd [2020-09-15T17:38:19.655Z] ---> 841360b6a48a [2020-09-15T17:38:19.655Z] Step 24/24 : LABEL version=1.2.4-dev.12 [2020-09-15T17:38:19.927Z] ---> Running in 18ca3c92f653 [2020-09-15T17:38:20.518Z] Removing intermediate container 18ca3c92f653 [2020-09-15T17:38:20.518Z] ---> 4abcbf9b2e1d [2020-09-15T17:38:20.518Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T17:38:20.518Z] Successfully built 4abcbf9b2e1d [2020-09-15T17:38:20.518Z] 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-15T17:38:23.607Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-15T17:38:23.609Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-15T17:38:23.697Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:38:24.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T17:38:24.074Z] [2020-09-15T17:38:24.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:38:24.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T17:38:24.430Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-15T17:38:24.430Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-15T17:38:24.430Z] 408f87550127: Pulling fs layer [2020-09-15T17:38:24.430Z] fe522b08c979: Pulling fs layer [2020-09-15T17:38:24.430Z] 221eaa008020: Pulling fs layer [2020-09-15T17:38:24.430Z] 2a4607e5d6b9: Pulling fs layer [2020-09-15T17:38:24.430Z] 8f79b27c4fd2: Pulling fs layer [2020-09-15T17:38:24.430Z] e5c8dbe1645b: Pulling fs layer [2020-09-15T17:38:24.430Z] 23e8b3b47431: Pulling fs layer [2020-09-15T17:38:24.430Z] 5c568d65a230: Pulling fs layer [2020-09-15T17:38:24.430Z] 8f79b27c4fd2: Waiting [2020-09-15T17:38:24.430Z] e5c8dbe1645b: Waiting [2020-09-15T17:38:24.430Z] 23e8b3b47431: Waiting [2020-09-15T17:38:24.430Z] 5c568d65a230: Waiting [2020-09-15T17:38:24.430Z] 221eaa008020: Waiting [2020-09-15T17:38:24.430Z] 2a4607e5d6b9: Waiting [2020-09-15T17:38:24.430Z] fe522b08c979: Verifying Checksum [2020-09-15T17:38:24.430Z] fe522b08c979: Download complete [2020-09-15T17:38:24.430Z] 408f87550127: Download complete [2020-09-15T17:38:24.430Z] 2a4607e5d6b9: Verifying Checksum [2020-09-15T17:38:24.430Z] 2a4607e5d6b9: Download complete [2020-09-15T17:38:24.430Z] 8f79b27c4fd2: Verifying Checksum [2020-09-15T17:38:24.430Z] 8f79b27c4fd2: Download complete [2020-09-15T17:38:24.430Z] cbdbe7a5bc2a: Verifying Checksum [2020-09-15T17:38:24.430Z] cbdbe7a5bc2a: Download complete [2020-09-15T17:38:24.695Z] cbdbe7a5bc2a: Pull complete [2020-09-15T17:38:24.956Z] 408f87550127: Pull complete [2020-09-15T17:38:24.956Z] fe522b08c979: Pull complete [2020-09-15T17:38:25.533Z] e5c8dbe1645b: Verifying Checksum [2020-09-15T17:38:25.533Z] e5c8dbe1645b: Download complete [2020-09-15T17:38:26.929Z] 23e8b3b47431: Verifying Checksum [2020-09-15T17:38:26.929Z] 23e8b3b47431: Download complete [2020-09-15T17:38:26.929Z] 5c568d65a230: Verifying Checksum [2020-09-15T17:38:26.929Z] 5c568d65a230: Download complete [2020-09-15T17:38:28.340Z] 221eaa008020: Verifying Checksum [2020-09-15T17:38:28.340Z] 221eaa008020: Download complete [2020-09-15T17:38:33.664Z] 221eaa008020: Pull complete [2020-09-15T17:38:33.664Z] 2a4607e5d6b9: Pull complete [2020-09-15T17:38:33.664Z] 8f79b27c4fd2: Pull complete [2020-09-15T17:38:35.586Z] e5c8dbe1645b: Pull complete [2020-09-15T17:38:38.901Z] 23e8b3b47431: Pull complete [2020-09-15T17:38:39.846Z] 5c568d65a230: Pull complete [2020-09-15T17:38:39.846Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-15T17:38:40.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-15T17:38:40.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-15T17:38:40.276Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:38:40.323Z] $ 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-15T17:38:41.445Z] $ docker top 69e8d68764c5935bafa0d0e64a6309a920f8b4783d9205b3d573ccf0949520f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T17:38:41.994Z] + snyk monitor '--org=edgex-jenkins' [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/afbc799b-7b55-48ca-a519-4545fa0b4fde [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] Snyk CLI supports Node.js 8 and higher. [2020-09-15T17:38:48.595Z] 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-15T17:38:48.595Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-15T17:38:48.595Z] [2020-09-15T17:38:48.595Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-15T17:38:48.595Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-15T17:38:48.611Z] $ docker stop --time=1 69e8d68764c5935bafa0d0e64a6309a920f8b4783d9205b3d573ccf0949520f5 [2020-09-15T17:38:50.615Z] $ docker rm -f 69e8d68764c5935bafa0d0e64a6309a920f8b4783d9205b3d573ccf0949520f5 [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-15T17:38:52.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:38:52.516Z] . [Pipeline] withDockerContainer [2020-09-15T17:38:52.615Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:38:52.662Z] $ 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-15T17:38:53.317Z] $ docker top c1661c233788d51d4840131708fe0964e1312a50ef3930f5a3c1d6b6967e0c98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T17:38:53.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T17:38:53.686Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T17:38:53.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T17:38:53.941Z] $ docker exec c1661c233788d51d4840131708fe0964e1312a50ef3930f5a3c1d6b6967e0c98 ssh-agent [2020-09-15T17:38:54.100Z] SSH_AUTH_SOCK=/tmp/ssh-V2G96LJUmGTh/agent.12 [2020-09-15T17:38:54.100Z] SSH_AGENT_PID=17 [2020-09-15T17:38:54.107Z] Running ssh-add (command line suppressed) [2020-09-15T17:38:54.238Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1924349977518923019.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1924349977518923019.key) [2020-09-15T17:38:54.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T17:38:54.630Z] + git semver tag [2020-09-15T17:38:54.630Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T17:38:54.630Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T17:38:54.630Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T17:38:54.630Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T17:38:54.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T17:38:54.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T17:38:54.630Z] # $SEMVER_BRANCH = master [2020-09-15T17:38:54.630Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T17:38:54.630Z] # acdd4826cae80a3b8a1f7d698808ff3080e1060b HEAD [2020-09-15T17:38:54.630Z] # -> Force: false [2020-09-15T17:38:54.630Z] # d9e90d6013149fdfc7a4a23920ed8e078491b2c8 refs/tags/v1.2.4-dev.12 [Pipeline] } [2020-09-15T17:38:54.644Z] $ docker exec --env ******** --env ******** c1661c233788d51d4840131708fe0964e1312a50ef3930f5a3c1d6b6967e0c98 ssh-agent -k [2020-09-15T17:38:54.757Z] unset SSH_AUTH_SOCK; [2020-09-15T17:38:54.757Z] unset SSH_AGENT_PID; [2020-09-15T17:38:54.757Z] echo Agent pid 17 killed; [2020-09-15T17:38:54.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T17:38:55.296Z] + git semver [Pipeline] } [2020-09-15T17:38:55.314Z] $ docker stop --time=1 c1661c233788d51d4840131708fe0964e1312a50ef3930f5a3c1d6b6967e0c98 [2020-09-15T17:38:56.648Z] $ docker rm -f c1661c233788d51d4840131708fe0964e1312a50ef3930f5a3c1d6b6967e0c98 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:38:57.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T17:38:57.290Z] [2020-09-15T17:38:57.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:38:57.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T17:38:57.638Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-15T17:38:57.638Z] ab5ef0e58194: Pulling fs layer [2020-09-15T17:38:57.638Z] 9712f1f96733: Pulling fs layer [2020-09-15T17:38:57.638Z] 63f879dbbcfc: Pulling fs layer [2020-09-15T17:38:57.638Z] 0d9ebad4ef96: Pulling fs layer [2020-09-15T17:38:57.638Z] e9a5061849ea: Pulling fs layer [2020-09-15T17:38:57.638Z] d747dcd14b5f: Pulling fs layer [2020-09-15T17:38:57.638Z] 2de7ff778b66: Pulling fs layer [2020-09-15T17:38:57.638Z] e9a5061849ea: Waiting [2020-09-15T17:38:57.638Z] d747dcd14b5f: Waiting [2020-09-15T17:38:57.638Z] 2de7ff778b66: Waiting [2020-09-15T17:38:57.638Z] 0d9ebad4ef96: Waiting [2020-09-15T17:38:57.638Z] 9712f1f96733: Verifying Checksum [2020-09-15T17:38:57.638Z] 9712f1f96733: Download complete [2020-09-15T17:38:59.032Z] 63f879dbbcfc: Verifying Checksum [2020-09-15T17:38:59.032Z] 63f879dbbcfc: Download complete [2020-09-15T17:38:59.032Z] e9a5061849ea: Verifying Checksum [2020-09-15T17:38:59.032Z] e9a5061849ea: Download complete [2020-09-15T17:38:59.032Z] d747dcd14b5f: Verifying Checksum [2020-09-15T17:38:59.032Z] d747dcd14b5f: Download complete [2020-09-15T17:38:59.676Z] 2de7ff778b66: Verifying Checksum [2020-09-15T17:38:59.676Z] 2de7ff778b66: Download complete [2020-09-15T17:38:59.938Z] 0d9ebad4ef96: Verifying Checksum [2020-09-15T17:38:59.938Z] 0d9ebad4ef96: Download complete [2020-09-15T17:38:59.938Z] ab5ef0e58194: Verifying Checksum [2020-09-15T17:38:59.938Z] ab5ef0e58194: Download complete [2020-09-15T17:39:04.172Z] ab5ef0e58194: Pull complete [2020-09-15T17:39:04.433Z] 9712f1f96733: Pull complete [2020-09-15T17:39:07.759Z] 63f879dbbcfc: Pull complete [2020-09-15T17:39:13.165Z] 0d9ebad4ef96: Pull complete [2020-09-15T17:39:14.317Z] e9a5061849ea: Pull complete [2020-09-15T17:39:14.317Z] d747dcd14b5f: Pull complete [2020-09-15T17:39:18.094Z] 2de7ff778b66: Pull complete [2020-09-15T17:39:18.094Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-15T17:39:18.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-15T17:39:18.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-15T17:39:18.285Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:39:18.330Z] $ 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-15T17:39:20.781Z] $ docker top 69bf202a33aa93bcb7405b0e423eed86f893a55b7bd5513cd138bdc7c5f9c6be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-15T17:39:21.034Z] provisioning config files... [2020-09-15T17:39:21.048Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4180459751102919407tmp [2020-09-15T17:39:21.068Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8203292179075386550tmp [2020-09-15T17:39:21.084Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7145333005155778163tmp [Pipeline] { [Pipeline] echo [2020-09-15T17:39:21.151Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:39:21.476Z] ---> sigul-configuration.sh [2020-09-15T17:39:21.476Z] gpg: directory `/root/.gnupg' created [2020-09-15T17:39:21.476Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-15T17:39:21.476Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-15T17:39:21.476Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-15T17:39:21.476Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-15T17:39:21.476Z] gpg: CAST5 encrypted data [2020-09-15T17:39:21.737Z] gpg: encrypted with 1 passphrase [2020-09-15T17:39:21.737Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-15T17:39:22.040Z] + mkdir /home/jenkins [2020-09-15T17:39:22.040Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-15T17:39:22.335Z] + 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-15T17:39:22.347Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:39:22.642Z] ---> sigul-install.sh [2020-09-15T17:39:27.931Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-15T17:39:28.225Z] + git tag --list [2020-09-15T17:39:28.225Z] v1.2.4-dev.12 [Pipeline] sh [2020-09-15T17:39:28.520Z] + lftools sign git-tag v1.2.4-dev.12 [2020-09-15T17:39:29.905Z] Signing Git tag with Sigul... [2020-09-15T17:39:29.905Z] Signing v1.2.4-dev.12 [Pipeline] echo [2020-09-15T17:39:30.863Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:39:31.157Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-15T17:39:31.172Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-15T17:39:31.271Z] $ docker stop --time=1 69bf202a33aa93bcb7405b0e423eed86f893a55b7bd5513cd138bdc7c5f9c6be [2020-09-15T17:39:33.281Z] $ docker rm -f 69bf202a33aa93bcb7405b0e423eed86f893a55b7bd5513cd138bdc7c5f9c6be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:39:34.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:39:34.097Z] . [Pipeline] withDockerContainer [2020-09-15T17:39:34.196Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:39:34.239Z] $ 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-15T17:39:34.896Z] $ docker top 7cf929e99055ea3aa927ed6ca976b673f0e039f4f7d077908466051be00b64aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T17:39:35.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T17:39:35.197Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T17:39:35.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T17:39:35.380Z] $ docker exec 7cf929e99055ea3aa927ed6ca976b673f0e039f4f7d077908466051be00b64aa ssh-agent [2020-09-15T17:39:35.548Z] SSH_AUTH_SOCK=/tmp/ssh-83LUm1ifOIie/agent.12 [2020-09-15T17:39:35.548Z] SSH_AGENT_PID=18 [2020-09-15T17:39:35.555Z] Running ssh-add (command line suppressed) [2020-09-15T17:39:35.679Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8435956451470701138.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8435956451470701138.key) [2020-09-15T17:39:35.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T17:39:36.067Z] + git semver bump pre [2020-09-15T17:39:36.067Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T17:39:36.067Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T17:39:36.067Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T17:39:36.067Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T17:39:36.067Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T17:39:36.067Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T17:39:36.067Z] # $SEMVER_BRANCH = master [2020-09-15T17:39:36.067Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-15T17:39:36.067Z] 1.2.4-dev.13 [Pipeline] } [2020-09-15T17:39:36.081Z] $ docker exec --env ******** --env ******** 7cf929e99055ea3aa927ed6ca976b673f0e039f4f7d077908466051be00b64aa ssh-agent -k [2020-09-15T17:39:36.233Z] unset SSH_AUTH_SOCK; [2020-09-15T17:39:36.234Z] unset SSH_AGENT_PID; [2020-09-15T17:39:36.234Z] echo Agent pid 18 killed; [2020-09-15T17:39:36.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T17:39:36.778Z] + git semver [Pipeline] } [2020-09-15T17:39:36.804Z] $ docker stop --time=1 7cf929e99055ea3aa927ed6ca976b673f0e039f4f7d077908466051be00b64aa [2020-09-15T17:39:38.179Z] $ docker rm -f 7cf929e99055ea3aa927ed6ca976b673f0e039f4f7d077908466051be00b64aa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:39:38.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T17:39:38.716Z] . [Pipeline] withDockerContainer [2020-09-15T17:39:38.811Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:39:38.861Z] $ 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-15T17:39:39.461Z] $ docker top a6a332e5c86aef724b7748d2877c42eddbbc0c2d5925e427a6c90ecf639e6976 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T17:39:39.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T17:39:39.751Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T17:39:39.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T17:39:39.947Z] $ docker exec a6a332e5c86aef724b7748d2877c42eddbbc0c2d5925e427a6c90ecf639e6976 ssh-agent [2020-09-15T17:39:40.115Z] SSH_AUTH_SOCK=/tmp/ssh-2nccS5ONlAfe/agent.11 [2020-09-15T17:39:40.115Z] SSH_AGENT_PID=17 [2020-09-15T17:39:40.121Z] Running ssh-add (command line suppressed) [2020-09-15T17:39:40.254Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6083781216118446141.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6083781216118446141.key) [2020-09-15T17:39:40.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T17:39:40.641Z] + git semver push [2020-09-15T17:39:40.641Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T17:39:40.641Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-15T17:39:40.641Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T17:39:40.641Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T17:39:40.641Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T17:39:40.641Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T17:39:40.641Z] # $SEMVER_BRANCH = master [2020-09-15T17:39:40.641Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-15T17:39:47.259Z] $ docker exec --env ******** --env ******** a6a332e5c86aef724b7748d2877c42eddbbc0c2d5925e427a6c90ecf639e6976 ssh-agent -k [2020-09-15T17:39:47.389Z] unset SSH_AUTH_SOCK; [2020-09-15T17:39:47.389Z] unset SSH_AGENT_PID; [2020-09-15T17:39:47.389Z] echo Agent pid 17 killed; [2020-09-15T17:39:47.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T17:39:47.902Z] + git semver [Pipeline] } [2020-09-15T17:39:47.919Z] $ docker stop --time=1 a6a332e5c86aef724b7748d2877c42eddbbc0c2d5925e427a6c90ecf639e6976 [2020-09-15T17:39:49.236Z] $ docker rm -f a6a332e5c86aef724b7748d2877c42eddbbc0c2d5925e427a6c90ecf639e6976 [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-15T17:39:50.933Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:39:51.497Z] ---> package-listing.sh [2020-09-15T17:39:51.497Z] ++ facter osfamily [2020-09-15T17:39:51.497Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T17:39:51.497Z] + OS_FAMILY=redhat [2020-09-15T17:39:51.497Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-15T17:39:51.497Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T17:39:51.497Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T17:39:51.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T17:39:51.497Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T17:39:51.497Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T17:39:51.497Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T17:39:51.497Z] + case "${OS_FAMILY}" in [2020-09-15T17:39:51.497Z] + rpm -qa [2020-09-15T17:39:51.497Z] + sort [2020-09-15T17:39:55.716Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T17:39:55.716Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T17:39:55.716Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T17:39:55.716Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-15T17:39:55.716Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-15T17:39:55.716Z] + 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-15T17:39:56.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T17:39:56.221Z] [2020-09-15T17:39:56.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T17:39:56.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T17:39:56.566Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T17:39:56.566Z] df20fa9351a1: Pulling fs layer [2020-09-15T17:39:56.566Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T17:39:56.566Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T17:39:56.566Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T17:39:56.566Z] 0dadc02b9964: Pulling fs layer [2020-09-15T17:39:56.566Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T17:39:56.566Z] 7a184a31f384: Pulling fs layer [2020-09-15T17:39:56.566Z] 0879bd2ef858: Pulling fs layer [2020-09-15T17:39:56.566Z] ce6a7cf60c04: Waiting [2020-09-15T17:39:56.566Z] 7a184a31f384: Waiting [2020-09-15T17:39:56.566Z] 0879bd2ef858: Waiting [2020-09-15T17:39:56.566Z] 46f8f816bc3b: Waiting [2020-09-15T17:39:56.566Z] 0dadc02b9964: Waiting [2020-09-15T17:39:56.566Z] 36b3adc4ff6f: Verifying Checksum [2020-09-15T17:39:56.566Z] 36b3adc4ff6f: Download complete [2020-09-15T17:39:56.566Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T17:39:56.566Z] 46f8f816bc3b: Download complete [2020-09-15T17:39:56.566Z] df20fa9351a1: Verifying Checksum [2020-09-15T17:39:56.566Z] df20fa9351a1: Download complete [2020-09-15T17:39:56.566Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T17:39:56.566Z] ce6a7cf60c04: Download complete [2020-09-15T17:39:56.566Z] 7a184a31f384: Verifying Checksum [2020-09-15T17:39:56.566Z] 7a184a31f384: Download complete [2020-09-15T17:39:56.827Z] 0dadc02b9964: Verifying Checksum [2020-09-15T17:39:56.827Z] 0dadc02b9964: Download complete [2020-09-15T17:39:56.827Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T17:39:56.827Z] 8ad3a11d3b57: Download complete [2020-09-15T17:39:57.090Z] df20fa9351a1: Pull complete [2020-09-15T17:39:57.090Z] 36b3adc4ff6f: Pull complete [2020-09-15T17:39:57.354Z] 0879bd2ef858: Verifying Checksum [2020-09-15T17:39:57.354Z] 0879bd2ef858: Download complete [2020-09-15T17:39:57.615Z] 8ad3a11d3b57: Pull complete [2020-09-15T17:39:57.876Z] 46f8f816bc3b: Pull complete [2020-09-15T17:39:58.141Z] 0dadc02b9964: Pull complete [2020-09-15T17:39:58.141Z] ce6a7cf60c04: Pull complete [2020-09-15T17:39:58.410Z] 7a184a31f384: Pull complete [2020-09-15T17:40:00.469Z] 0879bd2ef858: Pull complete [2020-09-15T17:40:00.469Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T17:40:00.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T17:40:00.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T17:40:00.619Z] prd-centos7-docker-4c-2g-43347 does not seem to be running inside a container [2020-09-15T17:40:00.666Z] $ 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-15T17:40:03.888Z] $ docker top 5e7cdbb569fa36869e9eb954b572ab0015ada659bbd808287e8eca19e30df384 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T17:40:04.422Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T17:40:04.716Z] + ls /var/log/sa-host [2020-09-15T17:40:04.717Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T17:40:04.717Z] file_magic: OK [2020-09-15T17:40:04.717Z] HZ: Using current value: 100 [2020-09-15T17:40:04.717Z] file_header: OK [2020-09-15T17:40:04.717Z] 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-15T17:40:04.717Z] Statistics: [2020-09-15T17:40:04.717Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T17:40:04.717Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T17:40:04.717Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T17:40:04.717Z] file_magic: OK [2020-09-15T17:40:04.717Z] HZ: Using current value: 100 [2020-09-15T17:40:04.717Z] file_header: OK [2020-09-15T17:40:04.717Z] 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-15T17:40:04.717Z] Statistics: [2020-09-15T17:40:04.717Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T17:40:04.717Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T17:40:04.780Z] provisioning config files... [2020-09-15T17:40:04.797Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config958744265610107948tmp [Pipeline] { [Pipeline] echo [2020-09-15T17:40:04.875Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:40:05.168Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T17:40:05.179Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T17:40:05.476Z] ---> logs-deploy.sh [2020-09-15T17:40:05.476Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/62 [2020-09-15T17:40:05.476Z] INFO: archiving workspace using pattern(s): [2020-09-15T17:40:06.862Z] Archives upload complete. [2020-09-15T17:40:06.862Z] INFO: archiving logs to Nexus