Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0916c9033c71b8931055140091788f6fe2f32c33 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-565 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 0916c9033c71b8931055140091788f6fe2f32c33 (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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 Commit message: "Merge pull request #594 from jinlinGuan/issue-555" > git rev-list --no-walk 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-20T12:57:20.767Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T12:57:21.092Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-20T12:57:21.189Z] ========================================================= [2020-09-20T12:57:21.190Z] EdgeX Global Pipelines Version Info [2020-09-20T12:57:21.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-20T12:57:22.627Z] ------------------- [2020-09-20T12:57:22.627Z] stable info: [2020-09-20T12:57:22.627Z] ------------------- [2020-09-20T12:57:22.627Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T12:57:22.627Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T12:57:22.627Z] Message: update stable to v1.0.122 [2020-09-20T12:57:23.573Z] ------------------- [2020-09-20T12:57:23.573Z] experimental info: [2020-09-20T12:57:23.573Z] ------------------- [2020-09-20T12:57:23.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T12:57:23.573Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T12:57:23.573Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T12:57:23.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T12:57:24.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T12:57:24.130Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T12:57:24.223Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T12:57:24.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T12:57:24.411Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T12:57:24.543Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T12:57:24.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T12:57:24.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T12:57:24.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T12:57:24.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T12:57:25.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T12:57:25.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T12:57:25.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T12:57:25.321Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T12:57:25.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T12:57:25.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T12:57:25.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T12:57:25.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T12:57:25.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T12:57:25.925Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T12:57:26.064Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T12:57:26.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-20T12:57:26.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-20T12:57:26.330Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-20T12:57:26.420Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0916c9033c71b8931055140091788f6fe2f32c33 [Pipeline] echo [2020-09-20T12:57:26.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0916c90 [Pipeline] echo [2020-09-20T12:57:26.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T12:57:27.251Z] + git log --format=format:%s -1 0916c9033c71b8931055140091788f6fe2f32c33 [Pipeline] echo [2020-09-20T12:57:27.332Z] GIT_COMMIT: 0916c9033c71b8931055140091788f6fe2f32c33, Commit Message: Merge pull request #594 from jinlinGuan/issue-555 [Pipeline] echo [2020-09-20T12:57:27.378Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T12:57:28.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T12:57:28.310Z] [2020-09-20T12:57:28.310Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T12:57:28.673Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T12:57:28.673Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T12:57:28.673Z] 31603596830f: Pulling fs layer [2020-09-20T12:57:28.673Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T12:57:28.673Z] 6ca5941a6612: Pulling fs layer [2020-09-20T12:57:28.673Z] ecc8261a40a4: Pulling fs layer [2020-09-20T12:57:28.673Z] ecc8261a40a4: Waiting [2020-09-20T12:57:28.673Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T12:57:28.673Z] 2a8b12db71e7: Download complete [2020-09-20T12:57:28.936Z] 31603596830f: Download complete [2020-09-20T12:57:28.936Z] ecc8261a40a4: Verifying Checksum [2020-09-20T12:57:28.936Z] ecc8261a40a4: Download complete [2020-09-20T12:57:28.936Z] 6ca5941a6612: Verifying Checksum [2020-09-20T12:57:28.936Z] 6ca5941a6612: Download complete [2020-09-20T12:57:29.202Z] 31603596830f: Pull complete [2020-09-20T12:57:29.202Z] 2a8b12db71e7: Pull complete [2020-09-20T12:57:30.153Z] 6ca5941a6612: Pull complete [2020-09-20T12:57:30.153Z] ecc8261a40a4: Pull complete [2020-09-20T12:57:30.153Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T12:57:30.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T12:57:30.153Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T12:57:30.273Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T12:57:30.321Z] $ 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-20T12:57:32.112Z] $ docker top ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T12:57:32.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T12:57:32.430Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T12:57:32.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T12:57:32.625Z] $ docker exec ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent [2020-09-20T12:57:32.784Z] SSH_AUTH_SOCK=/tmp/ssh-z7tMPOxerB0X/agent.12 [2020-09-20T12:57:32.784Z] SSH_AGENT_PID=17 [2020-09-20T12:57:32.794Z] Running ssh-add (command line suppressed) [2020-09-20T12:57:32.911Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3180821743403125194.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3180821743403125194.key) [2020-09-20T12:57:32.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T12:57:33.557Z] + git describe --exact-match --tags HEAD [2020-09-20T12:57:33.557Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T12:57:33.578Z] $ docker exec --env ******** --env ******** ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent -k [2020-09-20T12:57:33.687Z] unset SSH_AUTH_SOCK; [2020-09-20T12:57:33.687Z] unset SSH_AGENT_PID; [2020-09-20T12:57:33.687Z] echo Agent pid 17 killed; [2020-09-20T12:57:33.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T12:57:33.819Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T12:57:33.819Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T12:57:33.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T12:57:33.931Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T12:57:34.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T12:57:34.093Z] $ docker exec ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent [2020-09-20T12:57:34.249Z] SSH_AUTH_SOCK=/tmp/ssh-c1ELjLsw30br/agent.46 [2020-09-20T12:57:34.249Z] SSH_AGENT_PID=51 [2020-09-20T12:57:34.254Z] Running ssh-add (command line suppressed) [2020-09-20T12:57:34.375Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3054160006004828647.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3054160006004828647.key) [2020-09-20T12:57:34.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T12:57:34.750Z] + git semver init [2020-09-20T12:57:34.750Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T12:57:34.750Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-20T12:57:34.750Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-20T12:57:34.750Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T12:57:34.750Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T12:57:34.750Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T12:57:34.750Z] # $SEMVER_BRANCH = master [2020-09-20T12:57:34.750Z] # $SEMVER_TEMP = /tmp/semver-409390754 [2020-09-20T12:57:34.750Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T12:57:35.324Z] # '/tmp/semver-409390754' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-20T12:57:35.324Z] # -> Force: false [2020-09-20T12:57:35.324Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-20T12:57:35.336Z] $ docker exec --env ******** --env ******** ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent -k [2020-09-20T12:57:35.455Z] unset SSH_AUTH_SOCK; [2020-09-20T12:57:35.455Z] unset SSH_AGENT_PID; [2020-09-20T12:57:35.455Z] echo Agent pid 51 killed; [2020-09-20T12:57:35.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T12:57:35.956Z] + git semver [Pipeline] } [2020-09-20T12:57:35.973Z] $ docker stop --time=1 ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da [2020-09-20T12:57:37.346Z] $ docker rm -f ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T12:57:38.152Z] Stashed 33 file(s) [Pipeline] echo [2020-09-20T12:57:38.154Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.14 [Pipeline] echo [2020-09-20T12:57:38.306Z] Archived original version: [1.2.4-dev.14] [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-20T12:57:53.763Z] Still waiting to schedule task [2020-09-20T12:57:53.763Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-565’ [2020-09-20T12:57:53.765Z] Still waiting to schedule task [2020-09-20T12:57:53.765Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-20T12:59:42.688Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-566 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-20T12:59:42.757Z] Running in /w/workspace/device-sdk-go/64 [Pipeline] { [Pipeline] checkout [2020-09-20T12:59:47.689Z] using credential edgex-jenkins-ssh [2020-09-20T12:59:47.746Z] Cloning the remote Git repository [2020-09-20T12:59:47.746Z] Cloning with configured refspecs honoured and without tags [2020-09-20T12:59:47.822Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T12:59:49.089Z] Fetching without tags [2020-09-20T12:59:47.933Z] > git init /w/workspace/device-sdk-go/64 # timeout=10 [2020-09-20T12:59:47.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T12:59:47.998Z] > git --version # timeout=10 [2020-09-20T12:59:48.018Z] > git --version # 'git version 2.17.1' [2020-09-20T12:59:48.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T12:59:48.085Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T12:59:49.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T12:59:49.053Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T12:59:49.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T12:59:49.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T12:59:49.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T12:59:49.627Z] Checking out Revision 0916c9033c71b8931055140091788f6fe2f32c33 (master) [2020-09-20T12:59:49.127Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T12:59:49.661Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T12:59:49.677Z] > git checkout -f 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T12:59:54.345Z] Commit message: "Merge pull request #594 from jinlinGuan/issue-555" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T12:59:55.582Z] ========================================================= [2020-09-20T12:59:55.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T12:59:55.582Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T12:59:56.844Z] + 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-20T12:59:58.291Z] Sending build context to Docker daemon 3.149MB [2020-09-20T12:59:58.291Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T12:59:58.291Z] Step 2/8 : FROM ${BASE} [2020-09-20T12:59:58.896Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T12:59:58.896Z] b538f80385f9: Pulling fs layer [2020-09-20T12:59:58.896Z] 74f711af9a0d: Pulling fs layer [2020-09-20T12:59:58.896Z] 99f96fe45779: Pulling fs layer [2020-09-20T12:59:58.896Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T12:59:58.896Z] 45590311c82a: Pulling fs layer [2020-09-20T12:59:58.896Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T12:59:58.896Z] 209524e5b208: Pulling fs layer [2020-09-20T12:59:58.896Z] 45590311c82a: Waiting [2020-09-20T12:59:58.896Z] 8529a6b9a6be: Waiting [2020-09-20T12:59:58.896Z] 69ca0ff8b7b3: Waiting [2020-09-20T12:59:58.896Z] 209524e5b208: Waiting [2020-09-20T12:59:58.896Z] 99f96fe45779: Verifying Checksum [2020-09-20T12:59:58.896Z] 99f96fe45779: Download complete [2020-09-20T12:59:58.896Z] 74f711af9a0d: Verifying Checksum [2020-09-20T12:59:58.896Z] 74f711af9a0d: Download complete [2020-09-20T12:59:58.896Z] 45590311c82a: Verifying Checksum [2020-09-20T12:59:58.896Z] 45590311c82a: Download complete [2020-09-20T12:59:58.896Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T12:59:58.896Z] 69ca0ff8b7b3: Download complete [2020-09-20T12:59:59.171Z] b538f80385f9: Download complete [2020-09-20T12:59:59.772Z] b538f80385f9: Pull complete [2020-09-20T13:00:00.763Z] 74f711af9a0d: Pull complete [2020-09-20T13:00:00.763Z] 99f96fe45779: Pull complete [2020-09-20T13:00:02.213Z] 209524e5b208: Verifying Checksum [2020-09-20T13:00:02.213Z] 209524e5b208: Download complete [2020-09-20T13:00:03.673Z] 8529a6b9a6be: Verifying Checksum [2020-09-20T13:00:03.673Z] 8529a6b9a6be: Download complete [2020-09-20T13:00:13.853Z] 8529a6b9a6be: Pull complete [2020-09-20T13:00:14.452Z] 45590311c82a: Pull complete [2020-09-20T13:00:14.727Z] 69ca0ff8b7b3: Pull complete [2020-09-20T13:00:18.129Z] 209524e5b208: Pull complete [2020-09-20T13:00:18.129Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T13:00:18.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T13:00:18.129Z] ---> 5bddaf1c2fca [2020-09-20T13:00:18.129Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:00:20.754Z] ---> Running in cd04d4d16c03 [2020-09-20T13:00:21.358Z] Removing intermediate container cd04d4d16c03 [2020-09-20T13:00:21.359Z] ---> 55726b3d9c20 [2020-09-20T13:00:21.359Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T13:00:21.359Z] ---> Running in d99256f144b3 [2020-09-20T13:00:24.015Z] Removing intermediate container d99256f144b3 [2020-09-20T13:00:24.015Z] ---> c246dc248797 [2020-09-20T13:00:24.015Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T13:00:24.015Z] ---> Running in a45f420dd24c [2020-09-20T13:00:26.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T13:00:26.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T13:00:27.210Z] OK: 142 MiB in 39 packages [2020-09-20T13:00:28.193Z] Removing intermediate container a45f420dd24c [2020-09-20T13:00:28.193Z] ---> 7de3621c5073 [2020-09-20T13:00:28.193Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T13:00:28.470Z] ---> Running in c474e487bad5 [2020-09-20T13:00:28.743Z] Removing intermediate container c474e487bad5 [2020-09-20T13:00:28.743Z] ---> 5111a0a994bc [2020-09-20T13:00:28.743Z] Step 7/8 : COPY . . [2020-09-20T13:00:30.194Z] ---> 2482ae7420cc [2020-09-20T13:00:30.194Z] Step 8/8 : RUN go mod download [2020-09-20T13:00:30.194Z] ---> Running in d9eba7403277 [2020-09-20T13:00:40.968Z] Running on prd-centos7-docker-4c-2g-567 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-20T13:00:41.034Z] Running in /w/workspace/device-sdk-go/64 [Pipeline] { [Pipeline] checkout [2020-09-20T13:00:43.839Z] using credential edgex-jenkins-ssh [2020-09-20T13:00:43.902Z] Cloning the remote Git repository [2020-09-20T13:00:43.902Z] Cloning with configured refspecs honoured and without tags [2020-09-20T13:00:43.940Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T13:00:44.009Z] > git init /w/workspace/device-sdk-go/64 # timeout=10 [2020-09-20T13:00:44.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T13:00:44.445Z] > git --version # timeout=10 [2020-09-20T13:00:44.455Z] > git --version # 'git version 2.16.5' [2020-09-20T13:00:44.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T13:00:44.490Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T13:00:45.133Z] Fetching without tags [2020-09-20T13:00:45.301Z] Removing intermediate container d9eba7403277 [2020-09-20T13:00:45.301Z] ---> be59625e2432 [2020-09-20T13:00:45.301Z] Successfully built be59625e2432 [2020-09-20T13:00:45.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:00:45.524Z] Checking out Revision 0916c9033c71b8931055140091788f6fe2f32c33 (master) [2020-09-20T13:00:45.722Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T13:00:45.722Z] . [Pipeline] withDockerContainer [2020-09-20T13:00:45.103Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T13:00:45.110Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T13:00:45.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T13:00:45.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T13:00:45.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T13:00:45.144Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T13:00:45.537Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T13:00:45.542Z] > git checkout -f 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T13:00:45.961Z] prd-ubuntu18.04-docker-arm64-4c-16g-566 does not seem to be running inside a container [2020-09-20T13:00:46.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/64 -v /w/workspace/device-sdk-go/64:/w/workspace/device-sdk-go/64:rw,z -v /w/workspace/device-sdk-go/64@tmp:/w/workspace/device-sdk-go/64@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-20T13:00:47.877Z] $ docker top 4ea4e8ffc96d305723c568c5279ca01aad06fa8bf8a00e2f3f8602b7dddd1b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T13:00:49.203Z] Commit message: "Merge pull request #594 from jinlinGuan/issue-555" [2020-09-20T13:00:49.276Z] + go version [2020-09-20T13:00:49.277Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T13:00:49.307Z] $ docker stop --time=1 4ea4e8ffc96d305723c568c5279ca01aad06fa8bf8a00e2f3f8602b7dddd1b95 [2020-09-20T13:00:51.242Z] $ docker rm -f 4ea4e8ffc96d305723c568c5279ca01aad06fa8bf8a00e2f3f8602b7dddd1b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] echo [2020-09-20T13:00:54.804Z] ========================================================= [2020-09-20T13:00:54.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T13:00:54.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:00:55.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T13:00:55.595Z] + 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-20T13:00:55.659Z] + ls -al . [2020-09-20T13:00:55.659Z] total 104 [2020-09-20T13:00:55.659Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 12:59 . [2020-09-20T13:00:55.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 .. [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 12:59 .dockerignore [2020-09-20T13:00:55.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:59 .git [2020-09-20T13:00:55.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:59 .github [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 12:59 .gitignore [2020-09-20T13:00:55.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:59 .semver [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 12:59 Dockerfile.build [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 12:59 Jenkinsfile [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 12:59 LICENSE [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 12:59 Makefile [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 12:59 README.md [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 12:59 RELEASE-NOTES.txt [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 12:57 VERSION [2020-09-20T13:00:55.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:59 bin [2020-09-20T13:00:55.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 example [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 20 12:59 go.mod [2020-09-20T13:00:55.659Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 12:59 internal [2020-09-20T13:00:55.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 openapi [2020-09-20T13:00:55.659Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 12:59 pkg [2020-09-20T13:00:55.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 snap [2020-09-20T13:00:55.659Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 12:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:00:55.866Z] Sending build context to Docker daemon 3.151MB [2020-09-20T13:00:55.866Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T13:00:55.866Z] Step 2/8 : FROM ${BASE} [2020-09-20T13:00:56.038Z] + 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=0916c9033c71b8931055140091788f6fe2f32c33 --label arch=arm64 --label version=1.2.4-dev.14 . [2020-09-20T13:00:56.136Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T13:00:56.136Z] df20fa9351a1: Pulling fs layer [2020-09-20T13:00:56.136Z] ed8968b2872e: Pulling fs layer [2020-09-20T13:00:56.136Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T13:00:56.136Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T13:00:56.136Z] e73272ec9a57: Pulling fs layer [2020-09-20T13:00:56.136Z] 1e910a182e73: Pulling fs layer [2020-09-20T13:00:56.136Z] 4e634b169226: Pulling fs layer [2020-09-20T13:00:56.136Z] e871e8e8d7a9: Waiting [2020-09-20T13:00:56.136Z] e73272ec9a57: Waiting [2020-09-20T13:00:56.136Z] a92cc7c5fd73: Verifying Checksum [2020-09-20T13:00:56.136Z] a92cc7c5fd73: Download complete [2020-09-20T13:00:56.136Z] ed8968b2872e: Download complete [2020-09-20T13:00:56.136Z] e73272ec9a57: Download complete [2020-09-20T13:00:56.136Z] 1e910a182e73: Download complete [2020-09-20T13:00:56.136Z] df20fa9351a1: Verifying Checksum [2020-09-20T13:00:56.136Z] df20fa9351a1: Download complete [2020-09-20T13:00:56.411Z] df20fa9351a1: Pull complete [2020-09-20T13:00:56.644Z] Sending build context to Docker daemon 3.149MB [2020-09-20T13:00:56.645Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T13:00:56.645Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T13:00:56.645Z] ---> be59625e2432 [2020-09-20T13:00:56.645Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T13:00:56.686Z] ed8968b2872e: Pull complete [2020-09-20T13:00:56.919Z] ---> Running in 2516d9c60141 [2020-09-20T13:00:56.952Z] a92cc7c5fd73: Pull complete [2020-09-20T13:00:57.192Z] Removing intermediate container 2516d9c60141 [2020-09-20T13:00:57.193Z] ---> d75380ab03a0 [2020-09-20T13:00:57.193Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T13:00:57.466Z] ---> Running in 427b621984c1 [2020-09-20T13:00:57.741Z] Removing intermediate container 427b621984c1 [2020-09-20T13:00:57.741Z] ---> b8cccb95fcf9 [2020-09-20T13:00:57.741Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:00:58.016Z] ---> Running in 4ac294ec8bbb [2020-09-20T13:00:58.290Z] Removing intermediate container 4ac294ec8bbb [2020-09-20T13:00:58.290Z] ---> 250197f7edab [2020-09-20T13:00:58.290Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T13:00:58.361Z] 4e634b169226: Verifying Checksum [2020-09-20T13:00:58.361Z] 4e634b169226: Download complete [2020-09-20T13:00:58.572Z] ---> Running in 034afe6461e9 [2020-09-20T13:00:58.948Z] e871e8e8d7a9: Verifying Checksum [2020-09-20T13:00:58.948Z] e871e8e8d7a9: Download complete [2020-09-20T13:01:01.209Z] Removing intermediate container 034afe6461e9 [2020-09-20T13:01:01.209Z] ---> 88e9a4154cc0 [2020-09-20T13:01:01.209Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T13:01:01.209Z] ---> Running in c1ac15bb8244 [2020-09-20T13:01:02.648Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T13:01:03.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T13:01:04.230Z] OK: 142 MiB in 39 packages [2020-09-20T13:01:05.211Z] Removing intermediate container c1ac15bb8244 [2020-09-20T13:01:05.211Z] ---> c53c7143bba6 [2020-09-20T13:01:05.211Z] Step 8/24 : COPY . . [2020-09-20T13:01:05.597Z] e871e8e8d7a9: Pull complete [2020-09-20T13:01:05.598Z] e73272ec9a57: Pull complete [2020-09-20T13:01:05.598Z] 1e910a182e73: Pull complete [2020-09-20T13:01:06.651Z] ---> c3d9d9fe2a96 [2020-09-20T13:01:06.651Z] Step 9/24 : RUN ${MAKE} [2020-09-20T13:01:06.651Z] ---> Running in 824b4407e074 [2020-09-20T13:01:08.085Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-20T13:01:09.834Z] 4e634b169226: Pull complete [2020-09-20T13:01:09.834Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T13:01:09.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T13:01:09.834Z] ---> f7629b54cfaa [2020-09-20T13:01:09.834Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:01:09.834Z] ---> Running in 8ccf82671595 [2020-09-20T13:01:10.100Z] Removing intermediate container 8ccf82671595 [2020-09-20T13:01:10.100Z] ---> a292f8633907 [2020-09-20T13:01:10.100Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T13:01:10.364Z] ---> Running in 9ceb1f81fc9f [2020-09-20T13:01:11.760Z] Removing intermediate container 9ceb1f81fc9f [2020-09-20T13:01:11.760Z] ---> 5c7a240e3af3 [2020-09-20T13:01:11.760Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T13:01:11.760Z] ---> Running in 3ce1660309b4 [2020-09-20T13:01:12.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T13:01:12.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T13:01:13.490Z] OK: 166 MiB in 39 packages [2020-09-20T13:01:13.756Z] Removing intermediate container 3ce1660309b4 [2020-09-20T13:01:13.756Z] ---> a2bf4f27bf7a [2020-09-20T13:01:13.756Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T13:01:13.756Z] ---> Running in 09f858ff924a [2020-09-20T13:01:14.017Z] Removing intermediate container 09f858ff924a [2020-09-20T13:01:14.017Z] ---> 0ec55bb5329b [2020-09-20T13:01:14.017Z] Step 7/8 : COPY . . [2020-09-20T13:01:14.970Z] ---> b1f9002361ea [2020-09-20T13:01:14.970Z] Step 8/8 : RUN go mod download [2020-09-20T13:01:15.242Z] ---> Running in 0080386c8baa [2020-09-20T13:01:27.578Z] Removing intermediate container 0080386c8baa [2020-09-20T13:01:27.578Z] ---> 2b1b16a5ac53 [2020-09-20T13:01:27.578Z] Successfully built 2b1b16a5ac53 [2020-09-20T13:01:27.578Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:01:27.952Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T13:01:27.952Z] . [Pipeline] withDockerContainer [2020-09-20T13:01:28.078Z] prd-centos7-docker-4c-2g-567 does not seem to be running inside a container [2020-09-20T13:01:28.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/64 -v /w/workspace/device-sdk-go/64:/w/workspace/device-sdk-go/64:rw,z -v /w/workspace/device-sdk-go/64@tmp:/w/workspace/device-sdk-go/64@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 ******** ci-base-image-x86_64 cat [2020-09-20T13:01:29.335Z] $ docker top 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T13:01:30.135Z] + go version [2020-09-20T13:01:30.136Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T13:01:30.218Z] $ docker stop --time=1 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 [2020-09-20T13:01:30.452Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T13:01:31.575Z] $ docker rm -f 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-09-20T13:01:32.223Z] Removing intermediate container 824b4407e074 [2020-09-20T13:01:32.223Z] ---> 56cfb245ffa4 [2020-09-20T13:01:32.223Z] Step 10/24 : FROM scratch [2020-09-20T13:01:32.223Z] ---> [2020-09-20T13:01:32.223Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:01:32.223Z] ---> Running in 032aa888eec6 Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T13:01:32.879Z] Removing intermediate container 032aa888eec6 [2020-09-20T13:01:32.879Z] ---> 06e66d4beaa1 [2020-09-20T13:01:32.879Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T13:01:32.879Z] ---> Running in cac053878500 [2020-09-20T13:01:32.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T13:01:33.152Z] Removing intermediate container cac053878500 [2020-09-20T13:01:33.152Z] ---> 6a10bb910819 [2020-09-20T13:01:33.152Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T13:01:33.277Z] + ls -al . [2020-09-20T13:01:33.277Z] total 64 [2020-09-20T13:01:33.277Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 13:00 . [2020-09-20T13:01:33.277Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 20 13:00 .. [2020-09-20T13:01:33.277Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 13:00 bin [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 13:00 Dockerfile.build [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 13:00 .dockerignore [2020-09-20T13:01:33.277Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 13:00 example [2020-09-20T13:01:33.277Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 20 13:00 .git [2020-09-20T13:01:33.277Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 13:00 .github [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 13:00 .gitignore [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 20 13:00 go.mod [2020-09-20T13:01:33.277Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 13:00 internal [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 13:00 Jenkinsfile [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 13:00 LICENSE [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 13:00 Makefile [2020-09-20T13:01:33.277Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 13:00 openapi [2020-09-20T13:01:33.277Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 13:00 pkg [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 13:00 README.md [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 13:00 RELEASE-NOTES.txt [2020-09-20T13:01:33.277Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 20 13:00 .semver [2020-09-20T13:01:33.277Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 13:00 snap [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 20 12:57 VERSION [2020-09-20T13:01:33.277Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 13:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:01:33.425Z] ---> Running in 9960e703ff8a [2020-09-20T13:01:33.602Z] + 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=0916c9033c71b8931055140091788f6fe2f32c33 --label arch=amd64 --label version=1.2.4-dev.14 . [2020-09-20T13:01:33.704Z] Removing intermediate container 9960e703ff8a [2020-09-20T13:01:33.704Z] ---> ce22cfc145ba [2020-09-20T13:01:33.704Z] Step 14/24 : WORKDIR / [2020-09-20T13:01:33.704Z] ---> Running in 2561130c8605 [2020-09-20T13:01:33.898Z] Sending build context to Docker daemon 3.151MB [2020-09-20T13:01:33.898Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T13:01:33.898Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T13:01:33.898Z] ---> 2b1b16a5ac53 [2020-09-20T13:01:33.898Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T13:01:34.222Z] ---> Running in 55ce73f17716 [2020-09-20T13:01:34.310Z] Removing intermediate container 2561130c8605 [2020-09-20T13:01:34.310Z] ---> 269a804d9083 [2020-09-20T13:01:34.310Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T13:01:34.497Z] Removing intermediate container 55ce73f17716 [2020-09-20T13:01:34.497Z] ---> a6883a1a477b [2020-09-20T13:01:34.497Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T13:01:34.497Z] ---> Running in 19726feae922 [2020-09-20T13:01:34.770Z] Removing intermediate container 19726feae922 [2020-09-20T13:01:34.770Z] ---> 1cbbba892f22 [2020-09-20T13:01:34.770Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:01:34.770Z] ---> Running in ac7d3888399c [2020-09-20T13:01:35.054Z] Removing intermediate container ac7d3888399c [2020-09-20T13:01:35.054Z] ---> 9ad63e06f0fd [2020-09-20T13:01:35.054Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T13:01:35.054Z] ---> Running in 8a2ffe214a27 [2020-09-20T13:01:35.319Z] ---> ce582592e851 [2020-09-20T13:01:35.320Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T13:01:36.326Z] ---> 9505b345e7d7 [2020-09-20T13:01:36.326Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T13:01:36.464Z] Removing intermediate container 8a2ffe214a27 [2020-09-20T13:01:36.464Z] ---> 691f9bf5e88b [2020-09-20T13:01:36.464Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T13:01:36.464Z] ---> Running in 849067230ac2 [2020-09-20T13:01:36.730Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T13:01:36.926Z] ---> 4520e045c279 [2020-09-20T13:01:36.926Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T13:01:37.320Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T13:01:37.534Z] ---> 822147633f66 [2020-09-20T13:01:37.534Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T13:01:37.905Z] OK: 166 MiB in 39 packages [2020-09-20T13:01:38.174Z] Removing intermediate container 849067230ac2 [2020-09-20T13:01:38.174Z] ---> df51f3c5ac1c [2020-09-20T13:01:38.174Z] Step 8/24 : COPY . . [2020-09-20T13:01:38.539Z] ---> db02e261bb02 [2020-09-20T13:01:38.539Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T13:01:38.539Z] ---> Running in b77558aa36fb [2020-09-20T13:01:39.142Z] Removing intermediate container b77558aa36fb [2020-09-20T13:01:39.142Z] ---> 562e41c4ec27 [2020-09-20T13:01:39.142Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T13:01:39.142Z] ---> Running in 93f195dc82fa [2020-09-20T13:01:39.585Z] ---> 50cb1c5cb47e [2020-09-20T13:01:39.585Z] Step 9/24 : RUN ${MAKE} [2020-09-20T13:01:39.585Z] ---> Running in ca2e740b63f9 [2020-09-20T13:01:39.760Z] Removing intermediate container 93f195dc82fa [2020-09-20T13:01:39.760Z] ---> 64413975743c [2020-09-20T13:01:39.760Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T13:01:39.760Z] ---> Running in 2753f3db05d3 [2020-09-20T13:01:39.870Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-20T13:01:40.362Z] Removing intermediate container 2753f3db05d3 [2020-09-20T13:01:40.362Z] ---> 54f3f106b854 [2020-09-20T13:01:40.362Z] Step 23/24 : LABEL git_sha=0916c9033c71b8931055140091788f6fe2f32c33 [2020-09-20T13:01:40.362Z] ---> Running in de610770f33c [2020-09-20T13:01:40.968Z] Removing intermediate container de610770f33c [2020-09-20T13:01:40.968Z] ---> 7291f8fe7f7d [2020-09-20T13:01:40.968Z] Step 24/24 : LABEL version=1.2.4-dev.14 [2020-09-20T13:01:40.968Z] ---> Running in 591e470dee79 [2020-09-20T13:01:41.579Z] Removing intermediate container 591e470dee79 [2020-09-20T13:01:41.579Z] ---> 4c1bd3b2c4c6 [2020-09-20T13:01:41.579Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T13:01:41.579Z] Successfully built 4c1bd3b2c4c6 [2020-09-20T13:01:41.579Z] 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-20T13:01:48.184Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T13:01:49.582Z] Removing intermediate container ca2e740b63f9 [2020-09-20T13:01:49.582Z] ---> deba22feec15 [2020-09-20T13:01:49.582Z] Step 10/24 : FROM scratch [2020-09-20T13:01:49.582Z] ---> [2020-09-20T13:01:49.582Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T13:01:49.582Z] ---> Running in bbebf1c8d5e1 [2020-09-20T13:01:49.582Z] Removing intermediate container bbebf1c8d5e1 [2020-09-20T13:01:49.582Z] ---> 3cf8ca82be91 [2020-09-20T13:01:49.582Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T13:01:49.854Z] ---> Running in 6b3417751433 [2020-09-20T13:01:49.854Z] Removing intermediate container 6b3417751433 [2020-09-20T13:01:49.854Z] ---> 22a1059a51d9 [2020-09-20T13:01:49.854Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T13:01:49.854Z] ---> Running in 2ceb63da032a [2020-09-20T13:01:50.118Z] Removing intermediate container 2ceb63da032a [2020-09-20T13:01:50.118Z] ---> 5b7d1a27ee07 [2020-09-20T13:01:50.118Z] Step 14/24 : WORKDIR / [2020-09-20T13:01:50.118Z] ---> Running in 264554ad1a79 [2020-09-20T13:01:50.390Z] Removing intermediate container 264554ad1a79 [2020-09-20T13:01:50.390Z] ---> 984050b13248 [2020-09-20T13:01:50.390Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T13:01:50.967Z] ---> 6bc8ec214fa0 [2020-09-20T13:01:50.967Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T13:01:50.967Z] ---> 1df3ae6dbdae [2020-09-20T13:01:50.967Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T13:01:51.229Z] ---> a9a02d8dde8c [2020-09-20T13:01:51.229Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T13:01:51.491Z] ---> 57f221e61ce8 [2020-09-20T13:01:51.491Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T13:01:51.754Z] ---> 949aa4a72a50 [2020-09-20T13:01:51.754Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T13:01:51.754Z] ---> Running in 5e210bd8891a [2020-09-20T13:01:52.016Z] Removing intermediate container 5e210bd8891a [2020-09-20T13:01:52.016Z] ---> 8eeddf24ed3d [2020-09-20T13:01:52.016Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T13:01:52.016Z] ---> Running in b9f29c0ce764 [2020-09-20T13:01:52.279Z] Removing intermediate container b9f29c0ce764 [2020-09-20T13:01:52.279Z] ---> f570b4fa4724 [2020-09-20T13:01:52.279Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T13:01:52.279Z] ---> Running in ebb16c3da496 [2020-09-20T13:01:52.545Z] Removing intermediate container ebb16c3da496 [2020-09-20T13:01:52.545Z] ---> 9f58f2bcf9c9 [2020-09-20T13:01:52.545Z] Step 23/24 : LABEL git_sha=0916c9033c71b8931055140091788f6fe2f32c33 [2020-09-20T13:01:52.545Z] ---> Running in c711015e694e [2020-09-20T13:01:52.545Z] Removing intermediate container c711015e694e [2020-09-20T13:01:52.545Z] ---> 6ec26eb307f6 [2020-09-20T13:01:52.545Z] Step 24/24 : LABEL version=1.2.4-dev.14 [2020-09-20T13:01:52.810Z] ---> Running in fe6ecf7d5cfa [2020-09-20T13:01:52.810Z] Removing intermediate container fe6ecf7d5cfa [2020-09-20T13:01:52.810Z] ---> 729efa91111f [2020-09-20T13:01:52.810Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T13:01:52.810Z] Successfully built 729efa91111f [2020-09-20T13:01:52.810Z] 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-20T13:01:55.137Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-20T13:01:55.139Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-20T13:01:55.203Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:01:55.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-20T13:01:55.564Z] [2020-09-20T13:01:55.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:01:55.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-20T13:01:55.924Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-20T13:01:55.924Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-20T13:01:55.924Z] 408f87550127: Pulling fs layer [2020-09-20T13:01:55.924Z] fe522b08c979: Pulling fs layer [2020-09-20T13:01:55.924Z] 221eaa008020: Pulling fs layer [2020-09-20T13:01:55.924Z] 2a4607e5d6b9: Pulling fs layer [2020-09-20T13:01:55.924Z] 8f79b27c4fd2: Pulling fs layer [2020-09-20T13:01:55.924Z] e5c8dbe1645b: Pulling fs layer [2020-09-20T13:01:55.924Z] 23e8b3b47431: Pulling fs layer [2020-09-20T13:01:55.924Z] 5c568d65a230: Pulling fs layer [2020-09-20T13:01:55.924Z] 23e8b3b47431: Waiting [2020-09-20T13:01:55.924Z] 2a4607e5d6b9: Waiting [2020-09-20T13:01:55.924Z] 8f79b27c4fd2: Waiting [2020-09-20T13:01:55.924Z] 5c568d65a230: Waiting [2020-09-20T13:01:55.924Z] e5c8dbe1645b: Waiting [2020-09-20T13:01:55.924Z] 221eaa008020: Waiting [2020-09-20T13:01:55.924Z] fe522b08c979: Verifying Checksum [2020-09-20T13:01:55.924Z] fe522b08c979: Download complete [2020-09-20T13:01:55.924Z] 408f87550127: Download complete [2020-09-20T13:01:55.924Z] 2a4607e5d6b9: Verifying Checksum [2020-09-20T13:01:55.924Z] 2a4607e5d6b9: Download complete [2020-09-20T13:01:55.924Z] 8f79b27c4fd2: Verifying Checksum [2020-09-20T13:01:55.924Z] 8f79b27c4fd2: Download complete [2020-09-20T13:01:55.924Z] cbdbe7a5bc2a: Verifying Checksum [2020-09-20T13:01:55.924Z] cbdbe7a5bc2a: Download complete [2020-09-20T13:01:56.190Z] cbdbe7a5bc2a: Pull complete [2020-09-20T13:01:56.453Z] 408f87550127: Pull complete [2020-09-20T13:01:56.454Z] fe522b08c979: Pull complete [2020-09-20T13:01:57.400Z] e5c8dbe1645b: Verifying Checksum [2020-09-20T13:01:57.401Z] e5c8dbe1645b: Download complete [2020-09-20T13:01:58.362Z] 23e8b3b47431: Verifying Checksum [2020-09-20T13:01:58.362Z] 23e8b3b47431: Download complete [2020-09-20T13:01:58.362Z] 5c568d65a230: Verifying Checksum [2020-09-20T13:01:58.362Z] 5c568d65a230: Download complete [2020-09-20T13:01:59.308Z] 221eaa008020: Download complete [2020-09-20T13:02:04.625Z] 221eaa008020: Pull complete [2020-09-20T13:02:04.625Z] 2a4607e5d6b9: Pull complete [2020-09-20T13:02:04.887Z] 8f79b27c4fd2: Pull complete [2020-09-20T13:02:06.843Z] e5c8dbe1645b: Pull complete [2020-09-20T13:02:10.184Z] 23e8b3b47431: Pull complete [2020-09-20T13:02:11.143Z] 5c568d65a230: Pull complete [2020-09-20T13:02:11.143Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-20T13:02:11.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-20T13:02:11.143Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-20T13:02:11.301Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:02:11.346Z] $ 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-20T13:02:12.148Z] $ docker top 56cad9a0ebf04d65e357b7304eb7ca40ac9d29c9fa7edd139782a8ee9c9d40d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T13:02:12.632Z] + snyk monitor '--org=edgex-jenkins' [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/55debb15-ac5d-4ffc-bab4-0c7927beb9b5 [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] Snyk CLI supports Node.js 8 and higher. [2020-09-20T13:02:24.893Z] 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-20T13:02:24.893Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-20T13:02:24.893Z] [2020-09-20T13:02:24.893Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-20T13:02:24.893Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-20T13:02:24.910Z] $ docker stop --time=1 56cad9a0ebf04d65e357b7304eb7ca40ac9d29c9fa7edd139782a8ee9c9d40d0 [2020-09-20T13:02:26.950Z] $ docker rm -f 56cad9a0ebf04d65e357b7304eb7ca40ac9d29c9fa7edd139782a8ee9c9d40d0 [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-20T13:02:28.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T13:02:28.615Z] . [Pipeline] withDockerContainer [2020-09-20T13:02:28.716Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:02:28.767Z] $ 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-20T13:02:29.588Z] $ docker top 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T13:02:29.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T13:02:29.893Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T13:02:30.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T13:02:30.078Z] $ docker exec 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 ssh-agent [2020-09-20T13:02:30.232Z] SSH_AUTH_SOCK=/tmp/ssh-6MerrQMdqYJp/agent.13 [2020-09-20T13:02:30.232Z] SSH_AGENT_PID=18 [2020-09-20T13:02:30.240Z] Running ssh-add (command line suppressed) [2020-09-20T13:02:30.357Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8487464781635782559.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8487464781635782559.key) [2020-09-20T13:02:30.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T13:02:30.807Z] + git semver tag [2020-09-20T13:02:30.808Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T13:02:30.808Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-20T13:02:30.808Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-20T13:02:30.808Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T13:02:30.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T13:02:30.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T13:02:30.808Z] # $SEMVER_BRANCH = master [2020-09-20T13:02:30.808Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-20T13:02:30.808Z] # 0916c9033c71b8931055140091788f6fe2f32c33 HEAD [2020-09-20T13:02:30.808Z] # -> Force: false [2020-09-20T13:02:30.808Z] # 63ec2a79f857841e9b66d7830127f0c611c27ed7 refs/tags/v1.2.4-dev.14 [Pipeline] } [2020-09-20T13:02:30.819Z] $ docker exec --env ******** --env ******** 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 ssh-agent -k [2020-09-20T13:02:30.927Z] unset SSH_AUTH_SOCK; [2020-09-20T13:02:30.927Z] unset SSH_AGENT_PID; [2020-09-20T13:02:30.927Z] echo Agent pid 18 killed; [2020-09-20T13:02:30.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T13:02:31.454Z] + git semver [Pipeline] } [2020-09-20T13:02:31.470Z] $ docker stop --time=1 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 [2020-09-20T13:02:32.814Z] $ docker rm -f 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:02:33.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-20T13:02:33.460Z] [2020-09-20T13:02:33.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:02:33.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-20T13:02:33.801Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-20T13:02:33.801Z] ab5ef0e58194: Pulling fs layer [2020-09-20T13:02:33.801Z] 9712f1f96733: Pulling fs layer [2020-09-20T13:02:33.801Z] 63f879dbbcfc: Pulling fs layer [2020-09-20T13:02:33.801Z] 0d9ebad4ef96: Pulling fs layer [2020-09-20T13:02:33.801Z] e9a5061849ea: Pulling fs layer [2020-09-20T13:02:33.801Z] d747dcd14b5f: Pulling fs layer [2020-09-20T13:02:33.801Z] 2de7ff778b66: Pulling fs layer [2020-09-20T13:02:33.801Z] d747dcd14b5f: Waiting [2020-09-20T13:02:33.801Z] e9a5061849ea: Waiting [2020-09-20T13:02:33.801Z] 0d9ebad4ef96: Waiting [2020-09-20T13:02:33.801Z] 9712f1f96733: Download complete [2020-09-20T13:02:35.191Z] 63f879dbbcfc: Download complete [2020-09-20T13:02:35.456Z] e9a5061849ea: Verifying Checksum [2020-09-20T13:02:35.456Z] e9a5061849ea: Download complete [2020-09-20T13:02:35.456Z] d747dcd14b5f: Verifying Checksum [2020-09-20T13:02:35.456Z] d747dcd14b5f: Download complete [2020-09-20T13:02:36.037Z] 0d9ebad4ef96: Verifying Checksum [2020-09-20T13:02:36.037Z] 0d9ebad4ef96: Download complete [2020-09-20T13:02:36.037Z] 2de7ff778b66: Verifying Checksum [2020-09-20T13:02:36.037Z] 2de7ff778b66: Download complete [2020-09-20T13:02:36.311Z] ab5ef0e58194: Verifying Checksum [2020-09-20T13:02:36.311Z] ab5ef0e58194: Download complete [2020-09-20T13:02:40.547Z] ab5ef0e58194: Pull complete [2020-09-20T13:02:40.547Z] 9712f1f96733: Pull complete [2020-09-20T13:02:43.105Z] 63f879dbbcfc: Pull complete [2020-09-20T13:02:49.717Z] 0d9ebad4ef96: Pull complete [2020-09-20T13:02:49.717Z] e9a5061849ea: Pull complete [2020-09-20T13:02:49.717Z] d747dcd14b5f: Pull complete [2020-09-20T13:02:53.928Z] 2de7ff778b66: Pull complete [2020-09-20T13:02:53.928Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-20T13:02:53.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-20T13:02:53.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-20T13:02:54.087Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:02:54.129Z] $ 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-20T13:02:57.539Z] $ docker top e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-20T13:02:57.874Z] provisioning config files... [2020-09-20T13:02:57.896Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config344879149189020384tmp [2020-09-20T13:02:57.962Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8073209464266269282tmp [2020-09-20T13:02:58.049Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4756497050058519312tmp [Pipeline] { [Pipeline] echo [2020-09-20T13:02:58.143Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:02:58.439Z] ---> sigul-configuration.sh [2020-09-20T13:02:58.439Z] gpg: directory `/root/.gnupg' created [2020-09-20T13:02:58.439Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-20T13:02:58.439Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-20T13:02:58.439Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-20T13:02:58.439Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-20T13:02:58.439Z] gpg: CAST5 encrypted data [2020-09-20T13:02:58.704Z] gpg: encrypted with 1 passphrase [2020-09-20T13:02:58.704Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-20T13:02:58.999Z] + mkdir /home/jenkins [2020-09-20T13:02:58.999Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-20T13:02:59.300Z] + 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-20T13:02:59.310Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:02:59.602Z] ---> sigul-install.sh [2020-09-20T13:03:04.931Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-20T13:03:05.225Z] + git tag --list [2020-09-20T13:03:05.225Z] v1.2.4-dev.14 [Pipeline] sh [2020-09-20T13:03:05.521Z] + lftools sign git-tag v1.2.4-dev.14 [2020-09-20T13:03:06.466Z] Signing Git tag with Sigul... [2020-09-20T13:03:06.466Z] Signing v1.2.4-dev.14 [Pipeline] echo [2020-09-20T13:03:07.868Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:03:08.166Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-20T13:03:08.175Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-20T13:03:08.278Z] $ docker stop --time=1 e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e [2020-09-20T13:03:10.226Z] $ docker rm -f e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:03:11.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T13:03:11.271Z] . [Pipeline] withDockerContainer [2020-09-20T13:03:11.375Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:03:11.419Z] $ 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-20T13:03:12.059Z] $ docker top 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T13:03:12.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T13:03:12.367Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T13:03:12.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T13:03:12.562Z] $ docker exec 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d ssh-agent [2020-09-20T13:03:12.732Z] SSH_AUTH_SOCK=/tmp/ssh-0TwxRcnOY9Fo/agent.12 [2020-09-20T13:03:12.732Z] SSH_AGENT_PID=17 [2020-09-20T13:03:12.740Z] Running ssh-add (command line suppressed) [2020-09-20T13:03:12.866Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6214003210435609267.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6214003210435609267.key) [2020-09-20T13:03:12.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T13:03:13.342Z] + git semver bump pre [2020-09-20T13:03:13.342Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T13:03:13.342Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-20T13:03:13.342Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-20T13:03:13.342Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T13:03:13.342Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T13:03:13.342Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T13:03:13.342Z] # $SEMVER_BRANCH = master [2020-09-20T13:03:13.342Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-20T13:03:13.342Z] 1.2.4-dev.15 [Pipeline] } [2020-09-20T13:03:13.354Z] $ docker exec --env ******** --env ******** 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d ssh-agent -k [2020-09-20T13:03:13.467Z] unset SSH_AUTH_SOCK; [2020-09-20T13:03:13.467Z] unset SSH_AGENT_PID; [2020-09-20T13:03:13.467Z] echo Agent pid 17 killed; [2020-09-20T13:03:13.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T13:03:14.002Z] + git semver [Pipeline] } [2020-09-20T13:03:14.022Z] $ docker stop --time=1 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d [2020-09-20T13:03:15.352Z] $ docker rm -f 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:03:15.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T13:03:15.875Z] . [Pipeline] withDockerContainer [2020-09-20T13:03:15.965Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:03:16.009Z] $ 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-20T13:03:16.658Z] $ docker top e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T13:03:16.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T13:03:16.998Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T13:03:17.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T13:03:17.178Z] $ docker exec e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 ssh-agent [2020-09-20T13:03:17.340Z] SSH_AUTH_SOCK=/tmp/ssh-Tp7U6SuDh4LA/agent.11 [2020-09-20T13:03:17.340Z] SSH_AGENT_PID=17 [2020-09-20T13:03:17.346Z] Running ssh-add (command line suppressed) [2020-09-20T13:03:17.459Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4751655702320561932.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4751655702320561932.key) [2020-09-20T13:03:17.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T13:03:17.847Z] + git semver push [2020-09-20T13:03:17.847Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T13:03:17.847Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-20T13:03:17.847Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-20T13:03:17.847Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T13:03:17.847Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T13:03:17.847Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T13:03:17.847Z] # $SEMVER_BRANCH = master [2020-09-20T13:03:17.847Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-20T13:03:24.457Z] $ docker exec --env ******** --env ******** e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 ssh-agent -k [2020-09-20T13:03:24.567Z] unset SSH_AUTH_SOCK; [2020-09-20T13:03:24.568Z] unset SSH_AGENT_PID; [2020-09-20T13:03:24.568Z] echo Agent pid 17 killed; [2020-09-20T13:03:24.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T13:03:25.108Z] + git semver [Pipeline] } [2020-09-20T13:03:25.124Z] $ docker stop --time=1 e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 [2020-09-20T13:03:26.448Z] $ docker rm -f e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 [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-20T13:03:27.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:03:28.390Z] ---> package-listing.sh [2020-09-20T13:03:28.390Z] ++ facter osfamily [2020-09-20T13:03:28.390Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T13:03:28.390Z] + OS_FAMILY=redhat [2020-09-20T13:03:28.390Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-20T13:03:28.390Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T13:03:28.390Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T13:03:28.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T13:03:28.390Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T13:03:28.390Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-20T13:03:28.390Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T13:03:28.390Z] + case "${OS_FAMILY}" in [2020-09-20T13:03:28.390Z] + rpm -qa [2020-09-20T13:03:28.390Z] + sort [2020-09-20T13:03:32.609Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T13:03:32.609Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T13:03:32.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T13:03:32.609Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-20T13:03:32.609Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-20T13:03:32.609Z] + 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-20T13:03:33.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T13:03:33.105Z] [2020-09-20T13:03:33.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T13:03:33.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T13:03:33.456Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T13:03:33.456Z] df20fa9351a1: Pulling fs layer [2020-09-20T13:03:33.456Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T13:03:33.456Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T13:03:33.456Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T13:03:33.456Z] 0dadc02b9964: Pulling fs layer [2020-09-20T13:03:33.456Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T13:03:33.456Z] 7a184a31f384: Pulling fs layer [2020-09-20T13:03:33.456Z] 0879bd2ef858: Pulling fs layer [2020-09-20T13:03:33.456Z] 46f8f816bc3b: Waiting [2020-09-20T13:03:33.456Z] ce6a7cf60c04: Waiting [2020-09-20T13:03:33.456Z] 7a184a31f384: Waiting [2020-09-20T13:03:33.456Z] 0879bd2ef858: Waiting [2020-09-20T13:03:33.456Z] 0dadc02b9964: Waiting [2020-09-20T13:03:33.456Z] 36b3adc4ff6f: Verifying Checksum [2020-09-20T13:03:33.456Z] 36b3adc4ff6f: Download complete [2020-09-20T13:03:33.456Z] 46f8f816bc3b: Verifying Checksum [2020-09-20T13:03:33.456Z] 46f8f816bc3b: Download complete [2020-09-20T13:03:33.456Z] df20fa9351a1: Verifying Checksum [2020-09-20T13:03:33.456Z] df20fa9351a1: Download complete [2020-09-20T13:03:33.456Z] ce6a7cf60c04: Verifying Checksum [2020-09-20T13:03:33.456Z] ce6a7cf60c04: Download complete [2020-09-20T13:03:33.456Z] 7a184a31f384: Verifying Checksum [2020-09-20T13:03:33.456Z] 7a184a31f384: Download complete [2020-09-20T13:03:33.456Z] 0dadc02b9964: Verifying Checksum [2020-09-20T13:03:33.456Z] 0dadc02b9964: Download complete [2020-09-20T13:03:33.721Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T13:03:33.721Z] 8ad3a11d3b57: Download complete [2020-09-20T13:03:33.990Z] df20fa9351a1: Pull complete [2020-09-20T13:03:34.253Z] 0879bd2ef858: Verifying Checksum [2020-09-20T13:03:34.253Z] 0879bd2ef858: Download complete [2020-09-20T13:03:34.516Z] 36b3adc4ff6f: Pull complete [2020-09-20T13:03:35.092Z] 8ad3a11d3b57: Pull complete [2020-09-20T13:03:35.092Z] 46f8f816bc3b: Pull complete [2020-09-20T13:03:35.355Z] 0dadc02b9964: Pull complete [2020-09-20T13:03:35.616Z] ce6a7cf60c04: Pull complete [2020-09-20T13:03:35.616Z] 7a184a31f384: Pull complete [2020-09-20T13:03:38.935Z] 0879bd2ef858: Pull complete [2020-09-20T13:03:38.935Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T13:03:38.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T13:03:38.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T13:03:39.187Z] prd-centos7-docker-4c-2g-565 does not seem to be running inside a container [2020-09-20T13:03:39.261Z] $ 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-20T13:03:41.878Z] $ docker top 04cad87879ff876e37a971980f24f5c844d3d464dbf82b5d136ad25377bedbdf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T13:03:42.409Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T13:03:42.702Z] + ls /var/log/sa-host [2020-09-20T13:03:42.703Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T13:03:42.703Z] file_magic: OK [2020-09-20T13:03:42.703Z] HZ: Using current value: 100 [2020-09-20T13:03:42.703Z] file_header: OK [2020-09-20T13:03:42.703Z] 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-20T13:03:42.703Z] Statistics: [2020-09-20T13:03:42.703Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T13:03:42.703Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T13:03:42.703Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T13:03:42.703Z] file_magic: OK [2020-09-20T13:03:42.703Z] HZ: Using current value: 100 [2020-09-20T13:03:42.703Z] file_header: OK [2020-09-20T13:03:42.703Z] 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-20T13:03:42.703Z] Statistics: [2020-09-20T13:03:42.703Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T13:03:42.703Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T13:03:42.763Z] provisioning config files... [2020-09-20T13:03:42.780Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8937369784477232448tmp [Pipeline] { [Pipeline] echo [2020-09-20T13:03:42.855Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:03:43.147Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T13:03:43.163Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T13:03:43.454Z] ---> logs-deploy.sh [2020-09-20T13:03:43.454Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/64 [2020-09-20T13:03:43.454Z] INFO: archiving workspace using pattern(s): [2020-09-20T13:03:44.845Z] Archives upload complete. [2020-09-20T13:03:44.845Z] INFO: archiving logs to Nexus