Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9f44a914c3163ba6aceeb076ef4043962d95dc92 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-368 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 (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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 Commit message: "Merge pull request #592 from hahattan/fix-autodiscovery" > git rev-list --no-walk acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T08:41:58.090Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T08:41:58.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T08:41:58.628Z] ========================================================= [2020-09-18T08:41:58.628Z] EdgeX Global Pipelines Version Info [2020-09-18T08:41:58.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:42:00.765Z] ------------------- [2020-09-18T08:42:00.765Z] stable info: [2020-09-18T08:42:00.765Z] ------------------- [2020-09-18T08:42:00.765Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T08:42:00.765Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T08:42:00.765Z] Message: update stable to v1.0.122 [2020-09-18T08:42:01.718Z] ------------------- [2020-09-18T08:42:01.718Z] experimental info: [2020-09-18T08:42:01.718Z] ------------------- [2020-09-18T08:42:01.718Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T08:42:01.718Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T08:42:01.718Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T08:42:02.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-18T08:42:02.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-18T08:42:02.414Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T08:42:02.519Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T08:42:02.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T08:42:02.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T08:42:02.827Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T08:42:02.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T08:42:03.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-18T08:42:03.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T08:42:03.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T08:42:03.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-18T08:42:03.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T08:42:03.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T08:42:03.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T08:42:03.909Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:42:04.013Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:42:04.125Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:42:04.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T08:42:04.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T08:42:04.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T08:42:04.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T08:42:05.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-18T08:42:05.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-18T08:42:05.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-18T08:42:05.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f44a914c3163ba6aceeb076ef4043962d95dc92 [Pipeline] echo [2020-09-18T08:42:05.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f44a91 [Pipeline] echo [2020-09-18T08:42:05.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:42:06.220Z] + git log --format=format:%s -1 9f44a914c3163ba6aceeb076ef4043962d95dc92 [Pipeline] echo [2020-09-18T08:42:06.285Z] GIT_COMMIT: 9f44a914c3163ba6aceeb076ef4043962d95dc92, Commit Message: Merge pull request #592 from hahattan/fix-autodiscovery [Pipeline] echo [2020-09-18T08:42:06.340Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:42:07.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:42:07.602Z] [2020-09-18T08:42:07.602Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:42:07.967Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:42:07.968Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T08:42:07.968Z] 31603596830f: Pulling fs layer [2020-09-18T08:42:07.968Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T08:42:07.968Z] 6ca5941a6612: Pulling fs layer [2020-09-18T08:42:07.968Z] ecc8261a40a4: Pulling fs layer [2020-09-18T08:42:07.968Z] ecc8261a40a4: Waiting [2020-09-18T08:42:07.968Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T08:42:07.968Z] 2a8b12db71e7: Download complete [2020-09-18T08:42:08.239Z] 31603596830f: Verifying Checksum [2020-09-18T08:42:08.239Z] 31603596830f: Download complete [2020-09-18T08:42:08.506Z] ecc8261a40a4: Verifying Checksum [2020-09-18T08:42:08.506Z] ecc8261a40a4: Download complete [2020-09-18T08:42:08.506Z] 6ca5941a6612: Verifying Checksum [2020-09-18T08:42:08.506Z] 6ca5941a6612: Download complete [2020-09-18T08:42:08.506Z] 31603596830f: Pull complete [2020-09-18T08:42:08.776Z] 2a8b12db71e7: Pull complete [2020-09-18T08:42:09.355Z] 6ca5941a6612: Pull complete [2020-09-18T08:42:09.618Z] ecc8261a40a4: Pull complete [2020-09-18T08:42:09.618Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T08:42:09.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:42:09.618Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T08:42:09.727Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:42:09.781Z] $ 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-18T08:42:11.994Z] $ docker top 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T08:42:12.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:42:12.344Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:42:12.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:42:12.560Z] $ docker exec 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 ssh-agent [2020-09-18T08:42:12.722Z] SSH_AUTH_SOCK=/tmp/ssh-STvpK03pwGV8/agent.12 [2020-09-18T08:42:12.722Z] SSH_AGENT_PID=17 [2020-09-18T08:42:12.734Z] Running ssh-add (command line suppressed) [2020-09-18T08:42:12.859Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1022190123544698969.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1022190123544698969.key) [2020-09-18T08:42:12.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:42:13.250Z] + git describe --exact-match --tags HEAD [2020-09-18T08:42:13.250Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T08:42:13.279Z] $ docker exec --env ******** --env ******** 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 ssh-agent -k [2020-09-18T08:42:13.394Z] unset SSH_AUTH_SOCK; [2020-09-18T08:42:13.396Z] unset SSH_AGENT_PID; [2020-09-18T08:42:13.396Z] echo Agent pid 17 killed; [2020-09-18T08:42:13.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T08:42:13.654Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T08:42:13.654Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T08:42:13.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:42:13.762Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:42:13.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:42:13.928Z] $ docker exec 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 ssh-agent [2020-09-18T08:42:14.083Z] SSH_AUTH_SOCK=/tmp/ssh-zQrp2UFM6jBE/agent.46 [2020-09-18T08:42:14.083Z] SSH_AGENT_PID=51 [2020-09-18T08:42:14.091Z] Running ssh-add (command line suppressed) [2020-09-18T08:42:14.209Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_755376463809465127.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_755376463809465127.key) [2020-09-18T08:42:14.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:42:14.600Z] + git semver init [2020-09-18T08:42:14.600Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T08:42:14.600Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-18T08:42:14.600Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-18T08:42:14.600Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T08:42:14.600Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T08:42:14.600Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T08:42:14.600Z] # $SEMVER_BRANCH = master [2020-09-18T08:42:14.600Z] # $SEMVER_TEMP = /tmp/semver-518858895 [2020-09-18T08:42:14.600Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-18T08:42:15.178Z] # '/tmp/semver-518858895' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-18T08:42:15.178Z] # -> Force: false [2020-09-18T08:42:15.178Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-18T08:42:15.194Z] $ docker exec --env ******** --env ******** 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 ssh-agent -k [2020-09-18T08:42:15.312Z] unset SSH_AUTH_SOCK; [2020-09-18T08:42:15.313Z] unset SSH_AGENT_PID; [2020-09-18T08:42:15.313Z] echo Agent pid 51 killed; [2020-09-18T08:42:15.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T08:42:15.900Z] + git semver [Pipeline] } [2020-09-18T08:42:15.919Z] $ docker stop --time=1 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 [2020-09-18T08:42:17.310Z] $ docker rm -f 16d841d3ed922917079ab9ed3139457182cc9fef3674fabcea3c8302199736f4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T08:42:18.098Z] Stashed 32 file(s) [Pipeline] echo [2020-09-18T08:42:18.100Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.13 [Pipeline] echo [2020-09-18T08:42:18.199Z] Archived original version: [1.2.4-dev.13] [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-18T08:42:33.649Z] Still waiting to schedule task [2020-09-18T08:42:33.649Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-18T08:42:33.651Z] Still waiting to schedule task [2020-09-18T08:42:33.651Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-366’ is offline [2020-09-18T08:44:07.733Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-369 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-18T08:44:07.798Z] Running in /w/workspace/device-sdk-go/63 [Pipeline] { [Pipeline] checkout [2020-09-18T08:44:13.577Z] using credential edgex-jenkins-ssh [2020-09-18T08:44:13.643Z] Cloning the remote Git repository [2020-09-18T08:44:13.644Z] Cloning with configured refspecs honoured and without tags [2020-09-18T08:44:13.711Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:44:13.830Z] > git init /w/workspace/device-sdk-go/63 # timeout=10 [2020-09-18T08:44:13.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:44:13.910Z] > git --version # timeout=10 [2020-09-18T08:44:13.929Z] > git --version # 'git version 2.17.1' [2020-09-18T08:44:13.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:44:13.990Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:44:15.067Z] Fetching without tags [2020-09-18T08:44:14.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:44:15.016Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:44:15.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:44:15.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:44:15.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:44:15.096Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:44:15.630Z] Checking out Revision 9f44a914c3163ba6aceeb076ef4043962d95dc92 (master) [2020-09-18T08:44:15.654Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:44:15.675Z] > git checkout -f 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T08:44:20.221Z] Commit message: "Merge pull request #592 from hahattan/fix-autodiscovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T08:44:21.625Z] ========================================================= [2020-09-18T08:44:21.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T08:44:21.625Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:44:22.721Z] + 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-18T08:44:23.722Z] Sending build context to Docker daemon 3.156MB [2020-09-18T08:44:23.722Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T08:44:23.722Z] Step 2/8 : FROM ${BASE} [2020-09-18T08:44:23.998Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T08:44:23.998Z] b538f80385f9: Pulling fs layer [2020-09-18T08:44:23.998Z] 74f711af9a0d: Pulling fs layer [2020-09-18T08:44:23.998Z] 99f96fe45779: Pulling fs layer [2020-09-18T08:44:23.998Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T08:44:23.998Z] 45590311c82a: Pulling fs layer [2020-09-18T08:44:23.998Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T08:44:23.998Z] 209524e5b208: Pulling fs layer [2020-09-18T08:44:23.998Z] 8529a6b9a6be: Waiting [2020-09-18T08:44:23.998Z] 45590311c82a: Waiting [2020-09-18T08:44:23.998Z] 69ca0ff8b7b3: Waiting [2020-09-18T08:44:23.998Z] 209524e5b208: Waiting [2020-09-18T08:44:23.998Z] 99f96fe45779: Verifying Checksum [2020-09-18T08:44:23.998Z] 99f96fe45779: Download complete [2020-09-18T08:44:23.998Z] 74f711af9a0d: Download complete [2020-09-18T08:44:23.998Z] 45590311c82a: Download complete [2020-09-18T08:44:23.998Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T08:44:23.998Z] 69ca0ff8b7b3: Download complete [2020-09-18T08:44:24.986Z] b538f80385f9: Verifying Checksum [2020-09-18T08:44:24.986Z] b538f80385f9: Download complete [2020-09-18T08:44:25.582Z] b538f80385f9: Pull complete [2020-09-18T08:44:26.183Z] 74f711af9a0d: Pull complete [2020-09-18T08:44:26.458Z] 99f96fe45779: Pull complete [2020-09-18T08:44:27.059Z] 209524e5b208: Verifying Checksum [2020-09-18T08:44:27.059Z] 209524e5b208: Download complete [2020-09-18T08:44:28.503Z] 8529a6b9a6be: Download complete [2020-09-18T08:44:38.692Z] 8529a6b9a6be: Pull complete [2020-09-18T08:44:38.966Z] 45590311c82a: Pull complete [2020-09-18T08:44:39.565Z] 69ca0ff8b7b3: Pull complete [2020-09-18T08:44:42.968Z] 209524e5b208: Pull complete [2020-09-18T08:44:42.968Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T08:44:42.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T08:44:42.968Z] ---> 5bddaf1c2fca [2020-09-18T08:44:42.968Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:44:46.365Z] ---> Running in 45050ead0559 [2020-09-18T08:44:46.365Z] Removing intermediate container 45050ead0559 [2020-09-18T08:44:46.365Z] ---> 09e796685f17 [2020-09-18T08:44:46.365Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:44:46.365Z] ---> Running in c4bff70451a9 [2020-09-18T08:44:49.001Z] Removing intermediate container c4bff70451a9 [2020-09-18T08:44:49.001Z] ---> 9d2a048bd119 [2020-09-18T08:44:49.001Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T08:44:49.282Z] ---> Running in 8ba632dea3dc [2020-09-18T08:44:50.722Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T08:44:51.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T08:44:51.917Z] OK: 142 MiB in 39 packages [2020-09-18T08:44:53.366Z] Removing intermediate container 8ba632dea3dc [2020-09-18T08:44:53.366Z] ---> 3a4d7ae6dd6d [2020-09-18T08:44:53.366Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T08:44:53.366Z] ---> Running in f972958d9f00 [2020-09-18T08:44:53.964Z] Removing intermediate container f972958d9f00 [2020-09-18T08:44:53.964Z] ---> b981c966aa21 [2020-09-18T08:44:53.964Z] Step 7/8 : COPY . . [2020-09-18T08:44:55.432Z] ---> dc3e002f5594 [2020-09-18T08:44:55.432Z] Step 8/8 : RUN go mod download [2020-09-18T08:44:55.432Z] ---> Running in 04849e599898 [2020-09-18T08:45:10.563Z] Removing intermediate container 04849e599898 [2020-09-18T08:45:10.563Z] ---> 5a5d136f36ba [2020-09-18T08:45:10.563Z] Successfully built 5a5d136f36ba [2020-09-18T08:45:10.563Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:45:11.008Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T08:45:11.008Z] . [Pipeline] withDockerContainer [2020-09-18T08:45:11.289Z] prd-ubuntu18.04-docker-arm64-4c-16g-369 does not seem to be running inside a container [2020-09-18T08:45:11.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/63 -v /w/workspace/device-sdk-go/63:/w/workspace/device-sdk-go/63:rw,z -v /w/workspace/device-sdk-go/63@tmp:/w/workspace/device-sdk-go/63@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 ******** ci-base-image-arm64 cat [2020-09-18T08:45:13.292Z] $ docker top 6f5cdebe6a8200a62877ace89f48d91186d1725488a0d20a361826064d1c4457 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:45:14.696Z] + go version [2020-09-18T08:45:14.696Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T08:45:14.724Z] $ docker stop --time=1 6f5cdebe6a8200a62877ace89f48d91186d1725488a0d20a361826064d1c4457 [2020-09-18T08:45:16.684Z] $ docker rm -f 6f5cdebe6a8200a62877ace89f48d91186d1725488a0d20a361826064d1c4457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:45:18.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T08:45:18.874Z] + ls -al . [2020-09-18T08:45:18.874Z] total 104 [2020-09-18T08:45:18.874Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 08:44 . [2020-09-18T08:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:44 .. [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 08:44 .dockerignore [2020-09-18T08:45:18.874Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 08:44 .git [2020-09-18T08:45:18.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:44 .github [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 08:44 .gitignore [2020-09-18T08:45:18.874Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 08:44 .semver [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 08:44 Dockerfile.build [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 08:44 Jenkinsfile [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 08:44 LICENSE [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 08:44 Makefile [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 08:44 README.md [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 08:44 RELEASE-NOTES.txt [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 18 08:42 VERSION [2020-09-18T08:45:18.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:44 bin [2020-09-18T08:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:44 example [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 18 08:44 go.mod [2020-09-18T08:45:18.874Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 08:44 internal [2020-09-18T08:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:44 openapi [2020-09-18T08:45:18.874Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 08:44 pkg [2020-09-18T08:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:44 snap [2020-09-18T08:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 08:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:45:19.227Z] + 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=9f44a914c3163ba6aceeb076ef4043962d95dc92 --label arch=arm64 --label version=1.2.4-dev.13 . [2020-09-18T08:45:19.834Z] Sending build context to Docker daemon 3.156MB [2020-09-18T08:45:19.834Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T08:45:19.834Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T08:45:19.834Z] ---> 5a5d136f36ba [2020-09-18T08:45:19.834Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T08:45:19.834Z] ---> Running in 11b6bf29582e [2020-09-18T08:45:20.433Z] Removing intermediate container 11b6bf29582e [2020-09-18T08:45:20.433Z] ---> c4ed8c355654 [2020-09-18T08:45:20.433Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T08:45:20.433Z] ---> Running in f2cf4065dd59 [2020-09-18T08:45:21.030Z] Removing intermediate container f2cf4065dd59 [2020-09-18T08:45:21.031Z] ---> 26589a6dce28 [2020-09-18T08:45:21.031Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:45:21.031Z] ---> Running in 6dbe1a3f54c2 [2020-09-18T08:45:21.624Z] Removing intermediate container 6dbe1a3f54c2 [2020-09-18T08:45:21.624Z] ---> 9e83b9498400 [2020-09-18T08:45:21.624Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:45:21.624Z] ---> Running in 0d3e776e3d21 [2020-09-18T08:45:24.254Z] Removing intermediate container 0d3e776e3d21 [2020-09-18T08:45:24.254Z] ---> 3a200738297d [2020-09-18T08:45:24.254Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T08:45:24.254Z] ---> Running in 26d1f97a3bfc [2020-09-18T08:45:25.701Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T08:45:26.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T08:45:27.278Z] OK: 142 MiB in 39 packages [2020-09-18T08:45:28.256Z] Removing intermediate container 26d1f97a3bfc [2020-09-18T08:45:28.256Z] ---> 70c20a555583 [2020-09-18T08:45:28.256Z] Step 8/24 : COPY . . [2020-09-18T08:45:28.818Z] Running on prd-centos7-docker-4c-2g-370 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-18T08:45:28.903Z] Running in /w/workspace/device-sdk-go/63 [Pipeline] { [Pipeline] checkout [2020-09-18T08:45:29.705Z] ---> 79faf2f978c7 [2020-09-18T08:45:29.705Z] Step 9/24 : RUN ${MAKE} [2020-09-18T08:45:29.705Z] ---> Running in 2e245550e63f [2020-09-18T08:45:31.166Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-18T08:45:33.209Z] using credential edgex-jenkins-ssh [2020-09-18T08:45:33.264Z] Cloning the remote Git repository [2020-09-18T08:45:33.264Z] Cloning with configured refspecs honoured and without tags [2020-09-18T08:45:33.301Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:45:33.382Z] > git init /w/workspace/device-sdk-go/63 # timeout=10 [2020-09-18T08:45:33.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:45:33.437Z] > git --version # timeout=10 [2020-09-18T08:45:33.447Z] > git --version # 'git version 2.16.5' [2020-09-18T08:45:33.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:45:33.482Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:45:34.877Z] Fetching without tags [2020-09-18T08:45:35.297Z] Checking out Revision 9f44a914c3163ba6aceeb076ef4043962d95dc92 (master) [2020-09-18T08:45:34.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:45:34.854Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:45:34.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:45:34.883Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:45:34.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:45:34.888Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:45:35.309Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:45:35.328Z] > git checkout -f 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T08:45:39.052Z] Commit message: "Merge pull request #592 from hahattan/fix-autodiscovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T08:45:40.134Z] ========================================================= [2020-09-18T08:45:40.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T08:45:40.134Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:45:41.002Z] + 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-18T08:45:41.266Z] Sending build context to Docker daemon 3.156MB [2020-09-18T08:45:41.266Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T08:45:41.266Z] Step 2/8 : FROM ${BASE} [2020-09-18T08:45:41.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T08:45:41.536Z] df20fa9351a1: Pulling fs layer [2020-09-18T08:45:41.536Z] ed8968b2872e: Pulling fs layer [2020-09-18T08:45:41.536Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T08:45:41.536Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T08:45:41.536Z] e73272ec9a57: Pulling fs layer [2020-09-18T08:45:41.536Z] 1e910a182e73: Pulling fs layer [2020-09-18T08:45:41.536Z] 4e634b169226: Pulling fs layer [2020-09-18T08:45:41.536Z] e871e8e8d7a9: Waiting [2020-09-18T08:45:41.536Z] e73272ec9a57: Waiting [2020-09-18T08:45:41.536Z] 4e634b169226: Waiting [2020-09-18T08:45:41.536Z] 1e910a182e73: Waiting [2020-09-18T08:45:41.536Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T08:45:41.536Z] a92cc7c5fd73: Download complete [2020-09-18T08:45:41.536Z] ed8968b2872e: Download complete [2020-09-18T08:45:41.536Z] e73272ec9a57: Verifying Checksum [2020-09-18T08:45:41.536Z] e73272ec9a57: Download complete [2020-09-18T08:45:41.536Z] 1e910a182e73: Verifying Checksum [2020-09-18T08:45:41.536Z] 1e910a182e73: Download complete [2020-09-18T08:45:41.536Z] df20fa9351a1: Download complete [2020-09-18T08:45:41.809Z] df20fa9351a1: Pull complete [2020-09-18T08:45:42.071Z] ed8968b2872e: Pull complete [2020-09-18T08:45:42.071Z] a92cc7c5fd73: Pull complete [2020-09-18T08:45:44.007Z] 4e634b169226: Verifying Checksum [2020-09-18T08:45:44.007Z] 4e634b169226: Download complete [2020-09-18T08:45:44.588Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T08:45:44.588Z] e871e8e8d7a9: Download complete [2020-09-18T08:45:52.842Z] e871e8e8d7a9: Pull complete [2020-09-18T08:45:52.842Z] e73272ec9a57: Pull complete [2020-09-18T08:45:52.842Z] 1e910a182e73: Pull complete [2020-09-18T08:45:53.347Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T08:45:55.329Z] Removing intermediate container 2e245550e63f [2020-09-18T08:45:55.329Z] ---> 47610088ca82 [2020-09-18T08:45:55.329Z] Step 10/24 : FROM scratch [2020-09-18T08:45:55.329Z] ---> [2020-09-18T08:45:55.329Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:45:55.600Z] ---> Running in 15c59318ef1f [2020-09-18T08:45:55.873Z] Removing intermediate container 15c59318ef1f [2020-09-18T08:45:55.873Z] ---> 74afb4a76343 [2020-09-18T08:45:55.873Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T08:45:56.146Z] ---> Running in 144e723ee37b [2020-09-18T08:45:56.419Z] Removing intermediate container 144e723ee37b [2020-09-18T08:45:56.419Z] ---> a2e6cc94163a [2020-09-18T08:45:56.419Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T08:45:56.694Z] ---> Running in 67cffd19411e [2020-09-18T08:45:56.971Z] Removing intermediate container 67cffd19411e [2020-09-18T08:45:56.971Z] ---> 8a386ef6fce8 [2020-09-18T08:45:56.971Z] Step 14/24 : WORKDIR / [2020-09-18T08:45:56.971Z] ---> Running in b1aca46e3870 [2020-09-18T08:45:57.107Z] 4e634b169226: Pull complete [2020-09-18T08:45:57.107Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T08:45:57.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T08:45:57.107Z] ---> f7629b54cfaa [2020-09-18T08:45:57.107Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:45:57.107Z] ---> Running in 32394dd9f2ce [2020-09-18T08:45:57.381Z] Removing intermediate container 32394dd9f2ce [2020-09-18T08:45:57.381Z] ---> 3c5b471e205b [2020-09-18T08:45:57.381Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:45:57.381Z] ---> Running in 81039710f5a3 [2020-09-18T08:45:57.565Z] Removing intermediate container b1aca46e3870 [2020-09-18T08:45:57.565Z] ---> d3426a429917 [2020-09-18T08:45:57.565Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T08:45:58.551Z] ---> 09a579ad264f [2020-09-18T08:45:58.551Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T08:45:59.377Z] Removing intermediate container 81039710f5a3 [2020-09-18T08:45:59.377Z] ---> 4cc3eefa6117 [2020-09-18T08:45:59.377Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T08:45:59.377Z] ---> Running in 0775ec96fb20 [2020-09-18T08:45:59.544Z] ---> 0426307e4a38 [2020-09-18T08:45:59.545Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T08:45:59.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T08:46:00.139Z] ---> 00ef8d7d91b7 [2020-09-18T08:46:00.139Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T08:46:00.550Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T08:46:00.737Z] ---> bdb0fcd7028c [2020-09-18T08:46:00.737Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T08:46:01.127Z] OK: 166 MiB in 39 packages [2020-09-18T08:46:01.392Z] Removing intermediate container 0775ec96fb20 [2020-09-18T08:46:01.392Z] ---> 77f514183a7e [2020-09-18T08:46:01.392Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T08:46:01.659Z] ---> Running in 48aeda92d00a [2020-09-18T08:46:01.659Z] Removing intermediate container 48aeda92d00a [2020-09-18T08:46:01.659Z] ---> c4c808f72227 [2020-09-18T08:46:01.659Z] Step 7/8 : COPY . . [2020-09-18T08:46:01.719Z] ---> 700f4bc0e1df [2020-09-18T08:46:01.719Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T08:46:01.719Z] ---> Running in 79480b7ed967 [2020-09-18T08:46:02.327Z] Removing intermediate container 79480b7ed967 [2020-09-18T08:46:02.327Z] ---> 308a289b622b [2020-09-18T08:46:02.327Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T08:46:02.327Z] ---> Running in 83347539ee9e [2020-09-18T08:46:02.924Z] Removing intermediate container 83347539ee9e [2020-09-18T08:46:02.924Z] ---> 0567127f928d [2020-09-18T08:46:02.924Z] Step 22/24 : LABEL arch=arm64 [2020-09-18T08:46:02.924Z] ---> Running in 17b43c890d50 [2020-09-18T08:46:03.070Z] ---> 6b8e734d88a6 [2020-09-18T08:46:03.070Z] Step 8/8 : RUN go mod download [2020-09-18T08:46:03.070Z] ---> Running in c4cfb2d2a172 [2020-09-18T08:46:03.519Z] Removing intermediate container 17b43c890d50 [2020-09-18T08:46:03.519Z] ---> 48ba9c9e422f [2020-09-18T08:46:03.519Z] Step 23/24 : LABEL git_sha=9f44a914c3163ba6aceeb076ef4043962d95dc92 [2020-09-18T08:46:03.519Z] ---> Running in ceaa38dc6188 [2020-09-18T08:46:03.791Z] Removing intermediate container ceaa38dc6188 [2020-09-18T08:46:03.791Z] ---> 26af5415a0a3 [2020-09-18T08:46:03.791Z] Step 24/24 : LABEL version=1.2.4-dev.13 [2020-09-18T08:46:04.060Z] ---> Running in 4e3e468b4df7 [2020-09-18T08:46:04.333Z] Removing intermediate container 4e3e468b4df7 [2020-09-18T08:46:04.333Z] ---> 9c3e871d003d [2020-09-18T08:46:04.333Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T08:46:04.604Z] Successfully built 9c3e871d003d [2020-09-18T08:46:04.604Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-18T08:46:15.395Z] Removing intermediate container c4cfb2d2a172 [2020-09-18T08:46:15.395Z] ---> 1607f4d86876 [2020-09-18T08:46:15.395Z] Successfully built 1607f4d86876 [2020-09-18T08:46:15.395Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:46:15.759Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T08:46:15.759Z] . [Pipeline] withDockerContainer [2020-09-18T08:46:15.886Z] prd-centos7-docker-4c-2g-370 does not seem to be running inside a container [2020-09-18T08:46:15.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/63 -v /w/workspace/device-sdk-go/63:/w/workspace/device-sdk-go/63:rw,z -v /w/workspace/device-sdk-go/63@tmp:/w/workspace/device-sdk-go/63@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 ******** ci-base-image-x86_64 cat [2020-09-18T08:46:17.311Z] $ docker top 964bcf2f7c8cc5e317bab0384a9dc2ce272572c574205df9ebcadd4b46ac192d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:46:17.838Z] + go version [2020-09-18T08:46:17.838Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T08:46:17.854Z] $ docker stop --time=1 964bcf2f7c8cc5e317bab0384a9dc2ce272572c574205df9ebcadd4b46ac192d [2020-09-18T08:46:19.212Z] $ docker rm -f 964bcf2f7c8cc5e317bab0384a9dc2ce272572c574205df9ebcadd4b46ac192d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:46:20.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T08:46:20.610Z] + ls -al . [2020-09-18T08:46:20.610Z] total 64 [2020-09-18T08:46:20.610Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 08:45 . [2020-09-18T08:46:20.610Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 18 08:45 .. [2020-09-18T08:46:20.610Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 08:45 bin [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 08:45 Dockerfile.build [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 08:45 .dockerignore [2020-09-18T08:46:20.610Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 08:45 example [2020-09-18T08:46:20.610Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 18 08:45 .git [2020-09-18T08:46:20.610Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 08:45 .github [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 08:45 .gitignore [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 18 08:45 go.mod [2020-09-18T08:46:20.610Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 08:45 internal [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 08:45 Jenkinsfile [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 08:45 LICENSE [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 08:45 Makefile [2020-09-18T08:46:20.610Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 08:45 openapi [2020-09-18T08:46:20.610Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 08:45 pkg [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 08:45 README.md [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 08:45 RELEASE-NOTES.txt [2020-09-18T08:46:20.610Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 18 08:45 .semver [2020-09-18T08:46:20.610Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 08:45 snap [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 18 08:42 VERSION [2020-09-18T08:46:20.610Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 08:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:46:20.935Z] + 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=9f44a914c3163ba6aceeb076ef4043962d95dc92 --label arch=amd64 --label version=1.2.4-dev.13 . [2020-09-18T08:46:20.935Z] Sending build context to Docker daemon 3.156MB [2020-09-18T08:46:20.935Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T08:46:20.935Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T08:46:20.935Z] ---> 1607f4d86876 [2020-09-18T08:46:20.935Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T08:46:21.515Z] ---> Running in 134c38587f52 [2020-09-18T08:46:21.515Z] Removing intermediate container 134c38587f52 [2020-09-18T08:46:21.515Z] ---> 1edc5cff9748 [2020-09-18T08:46:21.515Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T08:46:21.515Z] ---> Running in 7defc15a45fa [2020-09-18T08:46:21.783Z] Removing intermediate container 7defc15a45fa [2020-09-18T08:46:21.783Z] ---> c9fcc2b23bea [2020-09-18T08:46:21.783Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:46:21.783Z] ---> Running in 051498e2474f [2020-09-18T08:46:22.051Z] Removing intermediate container 051498e2474f [2020-09-18T08:46:22.051Z] ---> 008ad4521bc3 [2020-09-18T08:46:22.051Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:46:22.051Z] ---> Running in 59ac4711640d [2020-09-18T08:46:23.016Z] Removing intermediate container 59ac4711640d [2020-09-18T08:46:23.016Z] ---> 38e2bc9d5e48 [2020-09-18T08:46:23.016Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T08:46:23.285Z] ---> Running in 737c484cd09c [2020-09-18T08:46:23.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T08:46:24.498Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T08:46:25.075Z] OK: 166 MiB in 39 packages [2020-09-18T08:46:25.654Z] Removing intermediate container 737c484cd09c [2020-09-18T08:46:25.654Z] ---> 085b9eaf4eb7 [2020-09-18T08:46:25.654Z] Step 8/24 : COPY . . [2020-09-18T08:46:26.612Z] ---> 76da4b0c2b5d [2020-09-18T08:46:26.612Z] Step 9/24 : RUN ${MAKE} [2020-09-18T08:46:26.612Z] ---> Running in 08c7db073705 [2020-09-18T08:46:27.196Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-18T08:46:37.890Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T08:46:39.913Z] Removing intermediate container 08c7db073705 [2020-09-18T08:46:39.913Z] ---> abede73d4563 [2020-09-18T08:46:39.913Z] Step 10/24 : FROM scratch [2020-09-18T08:46:39.913Z] ---> [2020-09-18T08:46:39.913Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:46:39.913Z] ---> Running in 884c82b47733 [2020-09-18T08:46:39.913Z] Removing intermediate container 884c82b47733 [2020-09-18T08:46:39.913Z] ---> f315820d9498 [2020-09-18T08:46:39.913Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T08:46:39.913Z] ---> Running in 5e2428c2979f [2020-09-18T08:46:40.496Z] Removing intermediate container 5e2428c2979f [2020-09-18T08:46:40.496Z] ---> 51305806efe9 [2020-09-18T08:46:40.496Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T08:46:40.496Z] ---> Running in 67e0be20701b [2020-09-18T08:46:40.762Z] Removing intermediate container 67e0be20701b [2020-09-18T08:46:40.762Z] ---> 16990dce5169 [2020-09-18T08:46:40.762Z] Step 14/24 : WORKDIR / [2020-09-18T08:46:40.762Z] ---> Running in 78c6a773b3ec [2020-09-18T08:46:41.040Z] Removing intermediate container 78c6a773b3ec [2020-09-18T08:46:41.040Z] ---> f8b4082d4534 [2020-09-18T08:46:41.040Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T08:46:41.312Z] ---> f22b732e73ec [2020-09-18T08:46:41.312Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T08:46:41.582Z] ---> 4aa7909af703 [2020-09-18T08:46:41.582Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T08:46:41.854Z] ---> f922ddf75d4a [2020-09-18T08:46:41.854Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T08:46:42.125Z] ---> 489bbcf5850c [2020-09-18T08:46:42.125Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T08:46:42.389Z] ---> 4909bedfe66c [2020-09-18T08:46:42.389Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T08:46:42.664Z] ---> Running in 9f74ae565a8f [2020-09-18T08:46:42.664Z] Removing intermediate container 9f74ae565a8f [2020-09-18T08:46:42.664Z] ---> c48aca34cb0b [2020-09-18T08:46:42.664Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T08:46:42.930Z] ---> Running in 8faa57a0b354 [2020-09-18T08:46:42.930Z] Removing intermediate container 8faa57a0b354 [2020-09-18T08:46:42.930Z] ---> f6aeaf67c991 [2020-09-18T08:46:42.930Z] Step 22/24 : LABEL arch=amd64 [2020-09-18T08:46:42.930Z] ---> Running in 1ce5ad9e9ea8 [2020-09-18T08:46:43.200Z] Removing intermediate container 1ce5ad9e9ea8 [2020-09-18T08:46:43.200Z] ---> 4544e9b2e2db [2020-09-18T08:46:43.200Z] Step 23/24 : LABEL git_sha=9f44a914c3163ba6aceeb076ef4043962d95dc92 [2020-09-18T08:46:43.200Z] ---> Running in d1775796bd1e [2020-09-18T08:46:43.471Z] Removing intermediate container d1775796bd1e [2020-09-18T08:46:43.471Z] ---> b8b0e04f30a5 [2020-09-18T08:46:43.471Z] Step 24/24 : LABEL version=1.2.4-dev.13 [2020-09-18T08:46:43.471Z] ---> Running in 068596eca0e0 [2020-09-18T08:46:43.739Z] Removing intermediate container 068596eca0e0 [2020-09-18T08:46:43.739Z] ---> 5b7b4d78b399 [2020-09-18T08:46:43.739Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T08:46:43.739Z] Successfully built 5b7b4d78b399 [2020-09-18T08:46:43.739Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-09-18T08:46:46.282Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-18T08:46:46.284Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-18T08:46:46.379Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:46:46.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-18T08:46:46.738Z] [2020-09-18T08:46:46.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:46:47.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-18T08:46:47.099Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-18T08:46:47.099Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-18T08:46:47.099Z] 408f87550127: Pulling fs layer [2020-09-18T08:46:47.099Z] fe522b08c979: Pulling fs layer [2020-09-18T08:46:47.099Z] 221eaa008020: Pulling fs layer [2020-09-18T08:46:47.099Z] 2a4607e5d6b9: Pulling fs layer [2020-09-18T08:46:47.099Z] 8f79b27c4fd2: Pulling fs layer [2020-09-18T08:46:47.099Z] e5c8dbe1645b: Pulling fs layer [2020-09-18T08:46:47.099Z] 23e8b3b47431: Pulling fs layer [2020-09-18T08:46:47.099Z] 5c568d65a230: Pulling fs layer [2020-09-18T08:46:47.099Z] 8f79b27c4fd2: Waiting [2020-09-18T08:46:47.099Z] 23e8b3b47431: Waiting [2020-09-18T08:46:47.099Z] 5c568d65a230: Waiting [2020-09-18T08:46:47.099Z] 221eaa008020: Waiting [2020-09-18T08:46:47.099Z] e5c8dbe1645b: Waiting [2020-09-18T08:46:47.099Z] 2a4607e5d6b9: Waiting [2020-09-18T08:46:47.099Z] fe522b08c979: Verifying Checksum [2020-09-18T08:46:47.099Z] fe522b08c979: Download complete [2020-09-18T08:46:47.099Z] 408f87550127: Verifying Checksum [2020-09-18T08:46:47.099Z] 408f87550127: Download complete [2020-09-18T08:46:47.099Z] 2a4607e5d6b9: Verifying Checksum [2020-09-18T08:46:47.100Z] 2a4607e5d6b9: Download complete [2020-09-18T08:46:47.100Z] 8f79b27c4fd2: Verifying Checksum [2020-09-18T08:46:47.100Z] 8f79b27c4fd2: Download complete [2020-09-18T08:46:47.373Z] cbdbe7a5bc2a: Download complete [2020-09-18T08:46:47.641Z] cbdbe7a5bc2a: Pull complete [2020-09-18T08:46:47.641Z] 408f87550127: Pull complete [2020-09-18T08:46:47.907Z] fe522b08c979: Pull complete [2020-09-18T08:46:48.489Z] e5c8dbe1645b: Verifying Checksum [2020-09-18T08:46:48.489Z] e5c8dbe1645b: Download complete [2020-09-18T08:46:50.419Z] 23e8b3b47431: Verifying Checksum [2020-09-18T08:46:50.419Z] 23e8b3b47431: Download complete [2020-09-18T08:46:50.419Z] 5c568d65a230: Verifying Checksum [2020-09-18T08:46:50.419Z] 5c568d65a230: Download complete [2020-09-18T08:46:51.820Z] 221eaa008020: Download complete [2020-09-18T08:46:57.185Z] 221eaa008020: Pull complete [2020-09-18T08:46:57.185Z] 2a4607e5d6b9: Pull complete [2020-09-18T08:46:57.185Z] 8f79b27c4fd2: Pull complete [2020-09-18T08:46:59.744Z] e5c8dbe1645b: Pull complete [2020-09-18T08:47:03.062Z] 23e8b3b47431: Pull complete [2020-09-18T08:47:04.458Z] 5c568d65a230: Pull complete [2020-09-18T08:47:04.458Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-18T08:47:04.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-18T08:47:04.458Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-18T08:47:04.633Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:47:04.686Z] $ 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-18T08:47:06.019Z] $ docker top 443469c538b2bacb9b652be175b64e75a59e21f9bb698c181e172a583a64737d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:47:06.617Z] + snyk monitor '--org=edgex-jenkins' [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/7cc326c1-8240-465b-8f7b-db8b5f7ed27f [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] Snyk CLI supports Node.js 8 and higher. [2020-09-18T08:47:11.922Z] 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-18T08:47:11.922Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-18T08:47:11.922Z] [2020-09-18T08:47:11.922Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-18T08:47:11.922Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-18T08:47:11.939Z] $ docker stop --time=1 443469c538b2bacb9b652be175b64e75a59e21f9bb698c181e172a583a64737d [2020-09-18T08:47:13.947Z] $ docker rm -f 443469c538b2bacb9b652be175b64e75a59e21f9bb698c181e172a583a64737d [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-18T08:47:15.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:47:15.636Z] . [Pipeline] withDockerContainer [2020-09-18T08:47:15.759Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:47:15.820Z] $ 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-18T08:47:16.443Z] $ docker top 8a529bced3bb10c6a197daca26ddf5171545944dc4efbbbe6c65a799bdfc386a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T08:47:16.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:47:16.772Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:47:16.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:47:16.991Z] $ docker exec 8a529bced3bb10c6a197daca26ddf5171545944dc4efbbbe6c65a799bdfc386a ssh-agent [2020-09-18T08:47:17.150Z] SSH_AUTH_SOCK=/tmp/ssh-O7SFz7GZJTw2/agent.11 [2020-09-18T08:47:17.150Z] SSH_AGENT_PID=16 [2020-09-18T08:47:17.157Z] Running ssh-add (command line suppressed) [2020-09-18T08:47:17.286Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6069144578047122553.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6069144578047122553.key) [2020-09-18T08:47:17.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:47:17.671Z] + git semver tag [2020-09-18T08:47:17.672Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T08:47:17.672Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-18T08:47:17.672Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-18T08:47:17.672Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T08:47:17.672Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T08:47:17.672Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T08:47:17.672Z] # $SEMVER_BRANCH = master [2020-09-18T08:47:17.672Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-18T08:47:17.672Z] # 9f44a914c3163ba6aceeb076ef4043962d95dc92 HEAD [2020-09-18T08:47:17.672Z] # -> Force: false [2020-09-18T08:47:17.672Z] # 4f414ed6019b67fdf304565f27a37c38ee1202f1 refs/tags/v1.2.4-dev.13 [Pipeline] } [2020-09-18T08:47:17.687Z] $ docker exec --env ******** --env ******** 8a529bced3bb10c6a197daca26ddf5171545944dc4efbbbe6c65a799bdfc386a ssh-agent -k [2020-09-18T08:47:17.805Z] unset SSH_AUTH_SOCK; [2020-09-18T08:47:17.806Z] unset SSH_AGENT_PID; [2020-09-18T08:47:17.806Z] echo Agent pid 16 killed; [2020-09-18T08:47:17.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T08:47:18.329Z] + git semver [Pipeline] } [2020-09-18T08:47:18.348Z] $ docker stop --time=1 8a529bced3bb10c6a197daca26ddf5171545944dc4efbbbe6c65a799bdfc386a [2020-09-18T08:47:19.699Z] $ docker rm -f 8a529bced3bb10c6a197daca26ddf5171545944dc4efbbbe6c65a799bdfc386a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:47:20.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-18T08:47:20.643Z] [2020-09-18T08:47:20.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:47:21.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-18T08:47:21.014Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-18T08:47:21.014Z] ab5ef0e58194: Pulling fs layer [2020-09-18T08:47:21.014Z] 9712f1f96733: Pulling fs layer [2020-09-18T08:47:21.014Z] 63f879dbbcfc: Pulling fs layer [2020-09-18T08:47:21.014Z] 0d9ebad4ef96: Pulling fs layer [2020-09-18T08:47:21.014Z] e9a5061849ea: Pulling fs layer [2020-09-18T08:47:21.014Z] d747dcd14b5f: Pulling fs layer [2020-09-18T08:47:21.014Z] 2de7ff778b66: Pulling fs layer [2020-09-18T08:47:21.014Z] 0d9ebad4ef96: Waiting [2020-09-18T08:47:21.014Z] e9a5061849ea: Waiting [2020-09-18T08:47:21.014Z] d747dcd14b5f: Waiting [2020-09-18T08:47:21.014Z] 2de7ff778b66: Waiting [2020-09-18T08:47:21.014Z] 9712f1f96733: Verifying Checksum [2020-09-18T08:47:21.014Z] 9712f1f96733: Download complete [2020-09-18T08:47:22.947Z] 63f879dbbcfc: Verifying Checksum [2020-09-18T08:47:22.947Z] 63f879dbbcfc: Download complete [2020-09-18T08:47:22.947Z] e9a5061849ea: Verifying Checksum [2020-09-18T08:47:22.947Z] e9a5061849ea: Download complete [2020-09-18T08:47:22.947Z] d747dcd14b5f: Verifying Checksum [2020-09-18T08:47:22.947Z] d747dcd14b5f: Download complete [2020-09-18T08:47:23.212Z] 2de7ff778b66: Verifying Checksum [2020-09-18T08:47:23.212Z] 2de7ff778b66: Download complete [2020-09-18T08:47:23.787Z] 0d9ebad4ef96: Verifying Checksum [2020-09-18T08:47:23.787Z] 0d9ebad4ef96: Download complete [2020-09-18T08:47:24.361Z] ab5ef0e58194: Verifying Checksum [2020-09-18T08:47:24.361Z] ab5ef0e58194: Download complete [2020-09-18T08:47:28.589Z] ab5ef0e58194: Pull complete [2020-09-18T08:47:28.589Z] 9712f1f96733: Pull complete [2020-09-18T08:47:31.147Z] 63f879dbbcfc: Pull complete [2020-09-18T08:47:37.926Z] 0d9ebad4ef96: Pull complete [2020-09-18T08:47:39.319Z] e9a5061849ea: Pull complete [2020-09-18T08:47:39.319Z] d747dcd14b5f: Pull complete [2020-09-18T08:47:41.935Z] 2de7ff778b66: Pull complete [2020-09-18T08:47:41.935Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-18T08:47:41.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-18T08:47:41.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-18T08:47:42.146Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:47:42.224Z] $ 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-18T08:47:46.690Z] $ docker top d2b40908ed7d758af60558caadcb5d703357376e87ee982890c1afe594749aed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-18T08:47:47.085Z] provisioning config files... [2020-09-18T08:47:47.100Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3669954458333195093tmp [2020-09-18T08:47:47.120Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5531631414008419318tmp [2020-09-18T08:47:47.136Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2161217900512162444tmp [Pipeline] { [Pipeline] echo [2020-09-18T08:47:47.202Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:47:47.501Z] ---> sigul-configuration.sh [2020-09-18T08:47:47.501Z] gpg: directory `/root/.gnupg' created [2020-09-18T08:47:47.501Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-18T08:47:47.501Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-18T08:47:47.501Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-18T08:47:47.501Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-18T08:47:47.501Z] gpg: CAST5 encrypted data [2020-09-18T08:47:47.764Z] gpg: encrypted with 1 passphrase [2020-09-18T08:47:47.764Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-18T08:47:48.064Z] + mkdir /home/jenkins [2020-09-18T08:47:48.064Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-18T08:47:48.360Z] + 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-18T08:47:48.371Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:47:48.666Z] ---> sigul-install.sh [2020-09-18T08:47:53.965Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-18T08:47:54.264Z] + git tag --list [2020-09-18T08:47:54.265Z] v1.2.4-dev.13 [Pipeline] sh [2020-09-18T08:47:54.564Z] + lftools sign git-tag v1.2.4-dev.13 [2020-09-18T08:47:55.956Z] Signing Git tag with Sigul... [2020-09-18T08:47:55.956Z] Signing v1.2.4-dev.13 [Pipeline] echo [2020-09-18T08:47:56.911Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:47:57.204Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-18T08:47:57.213Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-18T08:47:57.320Z] $ docker stop --time=1 d2b40908ed7d758af60558caadcb5d703357376e87ee982890c1afe594749aed [2020-09-18T08:47:59.304Z] $ docker rm -f d2b40908ed7d758af60558caadcb5d703357376e87ee982890c1afe594749aed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:48:00.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:48:00.157Z] . [Pipeline] withDockerContainer [2020-09-18T08:48:00.259Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:48:00.306Z] $ 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-18T08:48:00.945Z] $ docker top 1f2cdb0cb459481a1c16310422571f578f053c005255011ec15da641c9016c2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T08:48:01.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:48:01.291Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:48:01.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:48:01.504Z] $ docker exec 1f2cdb0cb459481a1c16310422571f578f053c005255011ec15da641c9016c2d ssh-agent [2020-09-18T08:48:01.694Z] SSH_AUTH_SOCK=/tmp/ssh-Rq5xzprOM19g/agent.11 [2020-09-18T08:48:01.694Z] SSH_AGENT_PID=16 [2020-09-18T08:48:01.700Z] Running ssh-add (command line suppressed) [2020-09-18T08:48:01.870Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4073208166778458358.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4073208166778458358.key) [2020-09-18T08:48:01.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:48:02.824Z] + git semver bump pre [2020-09-18T08:48:02.824Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T08:48:02.824Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-18T08:48:02.824Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-18T08:48:02.824Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T08:48:02.824Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T08:48:02.824Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T08:48:02.824Z] # $SEMVER_BRANCH = master [2020-09-18T08:48:02.824Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-18T08:48:02.824Z] 1.2.4-dev.14 [Pipeline] } [2020-09-18T08:48:02.843Z] $ docker exec --env ******** --env ******** 1f2cdb0cb459481a1c16310422571f578f053c005255011ec15da641c9016c2d ssh-agent -k [2020-09-18T08:48:02.977Z] unset SSH_AUTH_SOCK; [2020-09-18T08:48:02.978Z] unset SSH_AGENT_PID; [2020-09-18T08:48:02.978Z] echo Agent pid 16 killed; [2020-09-18T08:48:03.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T08:48:03.583Z] + git semver [Pipeline] } [2020-09-18T08:48:03.604Z] $ docker stop --time=1 1f2cdb0cb459481a1c16310422571f578f053c005255011ec15da641c9016c2d [2020-09-18T08:48:04.959Z] $ docker rm -f 1f2cdb0cb459481a1c16310422571f578f053c005255011ec15da641c9016c2d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:48:05.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:48:05.511Z] . [Pipeline] withDockerContainer [2020-09-18T08:48:05.616Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:48:05.664Z] $ 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-18T08:48:06.370Z] $ docker top 09c6b0cf281f89f8513bb40927b147de58a783b309b5c202ecfc82a4d1ff67a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T08:48:06.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:48:06.701Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:48:06.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:48:06.912Z] $ docker exec 09c6b0cf281f89f8513bb40927b147de58a783b309b5c202ecfc82a4d1ff67a5 ssh-agent [2020-09-18T08:48:07.078Z] SSH_AUTH_SOCK=/tmp/ssh-tLLErWbYGUkE/agent.13 [2020-09-18T08:48:07.078Z] SSH_AGENT_PID=19 [2020-09-18T08:48:07.085Z] Running ssh-add (command line suppressed) [2020-09-18T08:48:07.210Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_432307366624991430.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_432307366624991430.key) [2020-09-18T08:48:07.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:48:07.625Z] + git semver push [2020-09-18T08:48:07.625Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T08:48:07.625Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-18T08:48:07.625Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-18T08:48:07.625Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T08:48:07.625Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T08:48:07.625Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T08:48:07.625Z] # $SEMVER_BRANCH = master [2020-09-18T08:48:07.625Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-18T08:48:14.243Z] $ docker exec --env ******** --env ******** 09c6b0cf281f89f8513bb40927b147de58a783b309b5c202ecfc82a4d1ff67a5 ssh-agent -k [2020-09-18T08:48:14.365Z] unset SSH_AUTH_SOCK; [2020-09-18T08:48:14.365Z] unset SSH_AGENT_PID; [2020-09-18T08:48:14.365Z] echo Agent pid 19 killed; [2020-09-18T08:48:14.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T08:48:14.895Z] + git semver [Pipeline] } [2020-09-18T08:48:14.914Z] $ docker stop --time=1 09c6b0cf281f89f8513bb40927b147de58a783b309b5c202ecfc82a4d1ff67a5 [2020-09-18T08:48:16.254Z] $ docker rm -f 09c6b0cf281f89f8513bb40927b147de58a783b309b5c202ecfc82a4d1ff67a5 [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-18T08:48:17.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:48:18.149Z] ---> package-listing.sh [2020-09-18T08:48:18.149Z] ++ facter osfamily [2020-09-18T08:48:18.149Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T08:48:18.149Z] + OS_FAMILY=redhat [2020-09-18T08:48:18.149Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-18T08:48:18.149Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T08:48:18.149Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T08:48:18.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T08:48:18.149Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T08:48:18.149Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-18T08:48:18.149Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T08:48:18.149Z] + case "${OS_FAMILY}" in [2020-09-18T08:48:18.149Z] + rpm -qa [2020-09-18T08:48:18.149Z] + sort [2020-09-18T08:48:22.370Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T08:48:22.370Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T08:48:22.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T08:48:22.370Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-18T08:48:22.370Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-18T08:48:22.370Z] + 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-18T08:48:23.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:48:23.472Z] [2020-09-18T08:48:23.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:48:23.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:48:23.823Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T08:48:23.823Z] df20fa9351a1: Pulling fs layer [2020-09-18T08:48:23.823Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T08:48:23.823Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T08:48:23.823Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T08:48:23.823Z] 0dadc02b9964: Pulling fs layer [2020-09-18T08:48:23.823Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T08:48:23.823Z] 7a184a31f384: Pulling fs layer [2020-09-18T08:48:23.823Z] 0879bd2ef858: Pulling fs layer [2020-09-18T08:48:23.823Z] 0dadc02b9964: Waiting [2020-09-18T08:48:23.823Z] ce6a7cf60c04: Waiting [2020-09-18T08:48:23.823Z] 7a184a31f384: Waiting [2020-09-18T08:48:23.823Z] 0879bd2ef858: Waiting [2020-09-18T08:48:23.823Z] 46f8f816bc3b: Waiting [2020-09-18T08:48:23.823Z] 36b3adc4ff6f: Verifying Checksum [2020-09-18T08:48:23.823Z] 36b3adc4ff6f: Download complete [2020-09-18T08:48:23.823Z] 46f8f816bc3b: Verifying Checksum [2020-09-18T08:48:23.823Z] 46f8f816bc3b: Download complete [2020-09-18T08:48:24.086Z] df20fa9351a1: Verifying Checksum [2020-09-18T08:48:24.086Z] df20fa9351a1: Download complete [2020-09-18T08:48:24.086Z] 0dadc02b9964: Verifying Checksum [2020-09-18T08:48:24.086Z] 0dadc02b9964: Download complete [2020-09-18T08:48:24.086Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T08:48:24.086Z] ce6a7cf60c04: Download complete [2020-09-18T08:48:24.086Z] 7a184a31f384: Verifying Checksum [2020-09-18T08:48:24.086Z] 7a184a31f384: Download complete [2020-09-18T08:48:24.086Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T08:48:24.086Z] 8ad3a11d3b57: Download complete [2020-09-18T08:48:24.347Z] df20fa9351a1: Pull complete [2020-09-18T08:48:24.608Z] 36b3adc4ff6f: Pull complete [2020-09-18T08:48:24.608Z] 0879bd2ef858: Verifying Checksum [2020-09-18T08:48:24.608Z] 0879bd2ef858: Download complete [2020-09-18T08:48:25.243Z] 8ad3a11d3b57: Pull complete [2020-09-18T08:48:25.511Z] 46f8f816bc3b: Pull complete [2020-09-18T08:48:25.773Z] 0dadc02b9964: Pull complete [2020-09-18T08:48:25.773Z] ce6a7cf60c04: Pull complete [2020-09-18T08:48:26.036Z] 7a184a31f384: Pull complete [2020-09-18T08:48:28.602Z] 0879bd2ef858: Pull complete [2020-09-18T08:48:28.602Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T08:48:28.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:48:28.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T08:48:28.717Z] prd-centos7-docker-4c-2g-368 does not seem to be running inside a container [2020-09-18T08:48:28.763Z] $ 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-18T08:48:31.496Z] $ docker top c382cd165ca04f865ae6aaa22efaf622d1722f84d28106fb4f0e0fe59846f592 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:48:32.004Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T08:48:32.297Z] + ls /var/log/sa-host [2020-09-18T08:48:32.297Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T08:48:32.297Z] file_magic: OK [2020-09-18T08:48:32.297Z] HZ: Using current value: 100 [2020-09-18T08:48:32.297Z] file_header: OK [2020-09-18T08:48:32.297Z] 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-18T08:48:32.297Z] Statistics: [2020-09-18T08:48:32.297Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T08:48:32.297Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T08:48:32.297Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T08:48:32.297Z] file_magic: OK [2020-09-18T08:48:32.297Z] HZ: Using current value: 100 [2020-09-18T08:48:32.297Z] file_header: OK [2020-09-18T08:48:32.297Z] 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-18T08:48:32.297Z] Statistics: [2020-09-18T08:48:32.297Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T08:48:32.297Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T08:48:32.362Z] provisioning config files... [2020-09-18T08:48:32.378Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2133090515893012444tmp [Pipeline] { [Pipeline] echo [2020-09-18T08:48:32.459Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:48:32.752Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T08:48:32.763Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:48:33.060Z] ---> logs-deploy.sh [2020-09-18T08:48:33.060Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/63 [2020-09-18T08:48:33.060Z] INFO: archiving workspace using pattern(s): [2020-09-18T08:48:34.452Z] Archives upload complete. [2020-09-18T08:48:34.452Z] INFO: archiving logs to Nexus