Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0cafa7decaaa0dab3b86f836c2c615e8e839d11b 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-772 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 0cafa7decaaa0dab3b86f836c2c615e8e839d11b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 Commit message: "Merge pull request #593 from hahattan/fix-autoevent" > git rev-list --no-walk 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T04:31:22.211Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T04:31:22.512Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T04:31:22.645Z] ========================================================= [2020-09-22T04:31:22.645Z] EdgeX Global Pipelines Version Info [2020-09-22T04:31:22.645Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:31:25.167Z] ------------------- [2020-09-22T04:31:25.167Z] stable info: [2020-09-22T04:31:25.167Z] ------------------- [2020-09-22T04:31:25.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T04:31:25.167Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T04:31:25.167Z] Message: update stable to v1.0.122 [2020-09-22T04:31:26.188Z] ------------------- [2020-09-22T04:31:26.188Z] experimental info: [2020-09-22T04:31:26.188Z] ------------------- [2020-09-22T04:31:26.188Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T04:31:26.188Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T04:31:26.188Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T04:31:26.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T04:31:26.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T04:31:27.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T04:31:27.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T04:31:27.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T04:31:27.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T04:31:27.592Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T04:31:27.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T04:31:27.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T04:31:27.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T04:31:28.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T04:31:28.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T04:31:28.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T04:31:28.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T04:31:28.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T04:31:28.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T04:31:28.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T04:31:28.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T04:31:28.985Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T04:31:29.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T04:31:29.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T04:31:29.303Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T04:31:29.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-22T04:31:29.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-22T04:31:29.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-22T04:31:29.745Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cafa7decaaa0dab3b86f836c2c615e8e839d11b [Pipeline] echo [2020-09-22T04:31:29.868Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cafa7d [Pipeline] echo [2020-09-22T04:31:29.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T04:31:31.009Z] + git log --format=format:%s -1 0cafa7decaaa0dab3b86f836c2c615e8e839d11b [Pipeline] echo [2020-09-22T04:31:31.153Z] GIT_COMMIT: 0cafa7decaaa0dab3b86f836c2c615e8e839d11b, Commit Message: Merge pull request #593 from hahattan/fix-autoevent [Pipeline] echo [2020-09-22T04:31:31.209Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:31:31.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:31:32.636Z] [2020-09-22T04:31:32.636Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:31:33.064Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:31:33.406Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T04:31:33.406Z] 31603596830f: Pulling fs layer [2020-09-22T04:31:33.406Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T04:31:33.406Z] 6ca5941a6612: Pulling fs layer [2020-09-22T04:31:33.406Z] ecc8261a40a4: Pulling fs layer [2020-09-22T04:31:33.406Z] ecc8261a40a4: Waiting [2020-09-22T04:31:33.406Z] 2a8b12db71e7: Download complete [2020-09-22T04:31:33.694Z] 31603596830f: Verifying Checksum [2020-09-22T04:31:33.694Z] 31603596830f: Download complete [2020-09-22T04:31:34.076Z] ecc8261a40a4: Verifying Checksum [2020-09-22T04:31:34.076Z] ecc8261a40a4: Download complete [2020-09-22T04:31:34.364Z] 6ca5941a6612: Verifying Checksum [2020-09-22T04:31:34.364Z] 6ca5941a6612: Download complete [2020-09-22T04:31:34.670Z] 31603596830f: Pull complete [2020-09-22T04:31:34.670Z] 2a8b12db71e7: Pull complete [2020-09-22T04:31:36.700Z] 6ca5941a6612: Pull complete [2020-09-22T04:31:36.700Z] ecc8261a40a4: Pull complete [2020-09-22T04:31:36.700Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T04:31:36.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:31:36.700Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T04:31:36.994Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:31:37.153Z] $ 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-22T04:31:39.380Z] $ docker top c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T04:31:39.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:31:39.834Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:31:40.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:31:40.152Z] $ docker exec c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 ssh-agent [2020-09-22T04:31:40.358Z] SSH_AUTH_SOCK=/tmp/ssh-oOuWYdUc7Pna/agent.12 [2020-09-22T04:31:40.358Z] SSH_AGENT_PID=17 [2020-09-22T04:31:40.372Z] Running ssh-add (command line suppressed) [2020-09-22T04:31:40.536Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_965947448397447605.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_965947448397447605.key) [2020-09-22T04:31:40.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:31:40.984Z] + git describe --exact-match --tags HEAD [2020-09-22T04:31:40.984Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T04:31:41.017Z] $ docker exec --env ******** --env ******** c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 ssh-agent -k [2020-09-22T04:31:41.230Z] unset SSH_AUTH_SOCK; [2020-09-22T04:31:41.231Z] unset SSH_AGENT_PID; [2020-09-22T04:31:41.231Z] echo Agent pid 17 killed; [2020-09-22T04:31:41.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T04:31:41.424Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T04:31:41.424Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T04:31:41.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:31:41.530Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:31:41.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:31:41.888Z] $ docker exec c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 ssh-agent [2020-09-22T04:31:42.221Z] SSH_AUTH_SOCK=/tmp/ssh-BsXILVSkX6FE/agent.46 [2020-09-22T04:31:42.221Z] SSH_AGENT_PID=51 [2020-09-22T04:31:42.248Z] Running ssh-add (command line suppressed) [2020-09-22T04:31:42.426Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4474687312585121169.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4474687312585121169.key) [2020-09-22T04:31:42.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:31:42.925Z] + git semver init [2020-09-22T04:31:42.925Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T04:31:42.925Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-22T04:31:42.925Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-22T04:31:42.925Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T04:31:42.925Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T04:31:42.925Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T04:31:42.925Z] # $SEMVER_BRANCH = master [2020-09-22T04:31:42.925Z] # $SEMVER_TEMP = /tmp/semver-997351442 [2020-09-22T04:31:42.925Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T04:31:44.394Z] # '/tmp/semver-997351442' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-09-22T04:31:44.395Z] # -> Force: false [2020-09-22T04:31:44.395Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-22T04:31:44.420Z] $ docker exec --env ******** --env ******** c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 ssh-agent -k [2020-09-22T04:31:44.566Z] unset SSH_AUTH_SOCK; [2020-09-22T04:31:44.566Z] unset SSH_AGENT_PID; [2020-09-22T04:31:44.566Z] echo Agent pid 51 killed; [2020-09-22T04:31:44.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T04:31:45.475Z] + git semver [Pipeline] } [2020-09-22T04:31:45.551Z] $ docker stop --time=1 c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 [2020-09-22T04:31:47.100Z] $ docker rm -f c2d33ef1fe42ecbe6ba4dd86b8581877a83edc15833a81e39a885bfa9211e041 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T04:31:49.283Z] Stashed 34 file(s) [Pipeline] echo [2020-09-22T04:31:49.286Z] [edgeXSemver]: initialized semver on version 1.2.4-dev.15 [Pipeline] echo [2020-09-22T04:31:49.389Z] Archived original version: [1.2.4-dev.15] [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-22T04:32:04.890Z] Still waiting to schedule task [2020-09-22T04:32:04.890Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T04:32:04.892Z] Still waiting to schedule task [2020-09-22T04:32:04.892Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T04:32:12.662Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-773 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-22T04:32:12.712Z] Running in /w/workspace/device-sdk-go/65 [Pipeline] { [Pipeline] checkout [2020-09-22T04:32:18.555Z] using credential edgex-jenkins-ssh [2020-09-22T04:32:18.672Z] Cloning the remote Git repository [2020-09-22T04:32:18.672Z] Cloning with configured refspecs honoured and without tags [2020-09-22T04:32:18.750Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:32:18.838Z] > git init /w/workspace/device-sdk-go/65 # timeout=10 [2020-09-22T04:32:18.937Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:32:18.939Z] > git --version # timeout=10 [2020-09-22T04:32:18.983Z] > git --version # 'git version 2.17.1' [2020-09-22T04:32:18.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:32:19.109Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:32:20.277Z] Fetching without tags [2020-09-22T04:32:20.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T04:32:20.204Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:32:20.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T04:32:20.293Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:32:20.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:32:20.311Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:32:20.769Z] Checking out Revision 0cafa7decaaa0dab3b86f836c2c615e8e839d11b (master) [2020-09-22T04:32:20.807Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:32:20.823Z] > git checkout -f 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T04:32:24.778Z] Commit message: "Merge pull request #593 from hahattan/fix-autoevent" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T04:32:26.016Z] ========================================================= [2020-09-22T04:32:26.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T04:32:26.016Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:32:27.263Z] + 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-22T04:32:28.246Z] Sending build context to Docker daemon 3.156MB [2020-09-22T04:32:28.246Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T04:32:28.246Z] Step 2/8 : FROM ${BASE} [2020-09-22T04:32:28.520Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T04:32:28.520Z] b538f80385f9: Pulling fs layer [2020-09-22T04:32:28.520Z] 74f711af9a0d: Pulling fs layer [2020-09-22T04:32:28.520Z] 99f96fe45779: Pulling fs layer [2020-09-22T04:32:28.520Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T04:32:28.520Z] 45590311c82a: Pulling fs layer [2020-09-22T04:32:28.520Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T04:32:28.520Z] 209524e5b208: Pulling fs layer [2020-09-22T04:32:28.520Z] 8529a6b9a6be: Waiting [2020-09-22T04:32:28.520Z] 45590311c82a: Waiting [2020-09-22T04:32:28.520Z] 69ca0ff8b7b3: Waiting [2020-09-22T04:32:28.520Z] 209524e5b208: Waiting [2020-09-22T04:32:28.520Z] 99f96fe45779: Download complete [2020-09-22T04:32:28.520Z] 74f711af9a0d: Verifying Checksum [2020-09-22T04:32:28.520Z] 74f711af9a0d: Download complete [2020-09-22T04:32:28.520Z] 45590311c82a: Verifying Checksum [2020-09-22T04:32:28.520Z] 45590311c82a: Download complete [2020-09-22T04:32:28.520Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T04:32:28.520Z] 69ca0ff8b7b3: Download complete [2020-09-22T04:32:28.520Z] b538f80385f9: Download complete [2020-09-22T04:32:29.124Z] b538f80385f9: Pull complete [2020-09-22T04:32:29.731Z] 74f711af9a0d: Pull complete [2020-09-22T04:32:30.010Z] 99f96fe45779: Pull complete [2020-09-22T04:32:31.458Z] 209524e5b208: Verifying Checksum [2020-09-22T04:32:31.458Z] 209524e5b208: Download complete [2020-09-22T04:32:32.444Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T04:32:32.444Z] 8529a6b9a6be: Download complete [2020-09-22T04:32:42.638Z] 8529a6b9a6be: Pull complete [2020-09-22T04:32:42.914Z] 45590311c82a: Pull complete [2020-09-22T04:32:43.189Z] 69ca0ff8b7b3: Pull complete [2020-09-22T04:32:46.603Z] 209524e5b208: Pull complete [2020-09-22T04:32:46.603Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T04:32:46.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T04:32:46.603Z] ---> 5bddaf1c2fca [2020-09-22T04:32:46.603Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:32:49.994Z] ---> Running in 896f7927c400 [2020-09-22T04:32:49.994Z] Removing intermediate container 896f7927c400 [2020-09-22T04:32:49.994Z] ---> e85e35438ecb [2020-09-22T04:32:49.994Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:32:50.270Z] ---> Running in 64a99f93197d [2020-09-22T04:32:52.902Z] Removing intermediate container 64a99f93197d [2020-09-22T04:32:52.902Z] ---> d08d5d4b6ba6 [2020-09-22T04:32:52.902Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T04:32:52.902Z] ---> Running in 6400680066ba [2020-09-22T04:32:54.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T04:32:55.324Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T04:32:55.918Z] OK: 142 MiB in 39 packages [2020-09-22T04:32:57.357Z] Removing intermediate container 6400680066ba [2020-09-22T04:32:57.357Z] ---> 7ac479804daf [2020-09-22T04:32:57.357Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T04:32:57.357Z] ---> Running in c99ecbcb219d [2020-09-22T04:32:57.633Z] Removing intermediate container c99ecbcb219d [2020-09-22T04:32:57.633Z] ---> ceedf36dbfa8 [2020-09-22T04:32:57.633Z] Step 7/8 : COPY . . [2020-09-22T04:32:59.071Z] ---> 9bb64216fab6 [2020-09-22T04:32:59.071Z] Step 8/8 : RUN go mod download [2020-09-22T04:32:59.071Z] ---> Running in f498884bcee7 [2020-09-22T04:33:14.160Z] Removing intermediate container f498884bcee7 [2020-09-22T04:33:14.160Z] ---> 2e116fb486b4 [2020-09-22T04:33:14.160Z] Successfully built 2e116fb486b4 [2020-09-22T04:33:14.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:33:14.581Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T04:33:14.581Z] . [Pipeline] withDockerContainer [2020-09-22T04:33:14.869Z] prd-ubuntu18.04-docker-arm64-4c-16g-773 does not seem to be running inside a container [2020-09-22T04:33:14.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/65 -v /w/workspace/device-sdk-go/65:/w/workspace/device-sdk-go/65:rw,z -v /w/workspace/device-sdk-go/65@tmp:/w/workspace/device-sdk-go/65@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-arm64 cat [2020-09-22T04:33:16.904Z] $ docker top fd5e3650183398d364b2d0e7c5c00fb33d5c36a3ed50b97be1b72a3e4a7bf6dd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:33:18.351Z] + go version [2020-09-22T04:33:18.351Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T04:33:18.376Z] $ docker stop --time=1 fd5e3650183398d364b2d0e7c5c00fb33d5c36a3ed50b97be1b72a3e4a7bf6dd [2020-09-22T04:33:20.369Z] $ docker rm -f fd5e3650183398d364b2d0e7c5c00fb33d5c36a3ed50b97be1b72a3e4a7bf6dd [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-22T04:33:24.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T04:33:24.702Z] + ls -al . [2020-09-22T04:33:24.702Z] total 104 [2020-09-22T04:33:24.702Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 04:32 . [2020-09-22T04:33:24.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:32 .. [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:32 .dockerignore [2020-09-22T04:33:24.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:32 .git [2020-09-22T04:33:24.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:32 .github [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 04:32 .gitignore [2020-09-22T04:33:24.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:32 .semver [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 04:32 Dockerfile.build [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 04:32 Jenkinsfile [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:32 LICENSE [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 04:32 Makefile [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 04:32 README.md [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 04:32 RELEASE-NOTES.txt [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 04:31 VERSION [2020-09-22T04:33:24.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:32 bin [2020-09-22T04:33:24.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:32 example [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 446 Sep 22 04:32 go.mod [2020-09-22T04:33:24.702Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 04:32 internal [2020-09-22T04:33:24.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:32 openapi [2020-09-22T04:33:24.702Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:32 pkg [2020-09-22T04:33:24.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:32 snap [2020-09-22T04:33:24.702Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:33:25.043Z] + 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=0cafa7decaaa0dab3b86f836c2c615e8e839d11b --label arch=arm64 --label version=1.2.4-dev.15 . [2020-09-22T04:33:25.642Z] Sending build context to Docker daemon 3.156MB [2020-09-22T04:33:25.642Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T04:33:25.642Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T04:33:25.642Z] ---> 2e116fb486b4 [2020-09-22T04:33:25.642Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T04:33:25.642Z] ---> Running in 003e896e4c44 [2020-09-22T04:33:26.243Z] Removing intermediate container 003e896e4c44 [2020-09-22T04:33:26.243Z] ---> 82eec4325eba [2020-09-22T04:33:26.243Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T04:33:26.243Z] ---> Running in 9a8f7627838f [2020-09-22T04:33:26.841Z] Removing intermediate container 9a8f7627838f [2020-09-22T04:33:26.841Z] ---> 9ec9a799027d [2020-09-22T04:33:26.841Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:33:26.841Z] ---> Running in 25167ac94d4f [2020-09-22T04:33:27.441Z] Removing intermediate container 25167ac94d4f [2020-09-22T04:33:27.442Z] ---> bc6a3fe8cad6 [2020-09-22T04:33:27.442Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:33:27.442Z] ---> Running in 46619736a024 [2020-09-22T04:33:30.077Z] Removing intermediate container 46619736a024 [2020-09-22T04:33:30.077Z] ---> c3a25d9be5f6 [2020-09-22T04:33:30.077Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T04:33:30.077Z] ---> Running in 2fc73ffc33d8 [2020-09-22T04:33:31.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T04:33:32.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T04:33:33.089Z] OK: 142 MiB in 39 packages [2020-09-22T04:33:34.072Z] Removing intermediate container 2fc73ffc33d8 [2020-09-22T04:33:34.072Z] ---> ee3743ed8627 [2020-09-22T04:33:34.072Z] Step 8/24 : COPY . . [2020-09-22T04:33:35.553Z] ---> 79308d5fe3b2 [2020-09-22T04:33:35.553Z] Step 9/24 : RUN ${MAKE} [2020-09-22T04:33:35.553Z] ---> Running in f54619fb90de [2020-09-22T04:33:36.228Z] Running on prd-centos7-docker-4c-2g-775 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-09-22T04:33:36.284Z] Running in /w/workspace/device-sdk-go/65 [Pipeline] { [Pipeline] checkout [2020-09-22T04:33:37.020Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T04:33:38.563Z] using credential edgex-jenkins-ssh [2020-09-22T04:33:38.615Z] Cloning the remote Git repository [2020-09-22T04:33:38.615Z] Cloning with configured refspecs honoured and without tags [2020-09-22T04:33:38.644Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:33:38.709Z] > git init /w/workspace/device-sdk-go/65 # timeout=10 [2020-09-22T04:33:39.396Z] Fetching without tags [2020-09-22T04:33:39.827Z] Checking out Revision 0cafa7decaaa0dab3b86f836c2c615e8e839d11b (master) [2020-09-22T04:33:38.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:33:38.751Z] > git --version # timeout=10 [2020-09-22T04:33:38.758Z] > git --version # 'git version 2.16.5' [2020-09-22T04:33:38.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:33:38.780Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:33:39.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T04:33:39.375Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:33:39.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T04:33:39.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T04:33:39.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T04:33:39.406Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T04:33:39.838Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T04:33:39.844Z] > git checkout -f 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T04:33:43.436Z] Commit message: "Merge pull request #593 from hahattan/fix-autoevent" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T04:33:44.490Z] ========================================================= [2020-09-22T04:33:44.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T04:33:44.490Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:33:45.158Z] + 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-22T04:33:45.423Z] Sending build context to Docker daemon 3.156MB [2020-09-22T04:33:45.423Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T04:33:45.423Z] Step 2/8 : FROM ${BASE} [2020-09-22T04:33:45.685Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T04:33:45.685Z] df20fa9351a1: Pulling fs layer [2020-09-22T04:33:45.685Z] ed8968b2872e: Pulling fs layer [2020-09-22T04:33:45.685Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T04:33:45.686Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T04:33:45.686Z] e73272ec9a57: Pulling fs layer [2020-09-22T04:33:45.686Z] 1e910a182e73: Pulling fs layer [2020-09-22T04:33:45.686Z] 4e634b169226: Pulling fs layer [2020-09-22T04:33:45.686Z] e871e8e8d7a9: Waiting [2020-09-22T04:33:45.686Z] e73272ec9a57: Waiting [2020-09-22T04:33:45.686Z] 1e910a182e73: Waiting [2020-09-22T04:33:45.686Z] 4e634b169226: Waiting [2020-09-22T04:33:45.686Z] a92cc7c5fd73: Download complete [2020-09-22T04:33:45.686Z] ed8968b2872e: Download complete [2020-09-22T04:33:45.686Z] e73272ec9a57: Verifying Checksum [2020-09-22T04:33:45.686Z] e73272ec9a57: Download complete [2020-09-22T04:33:45.686Z] 1e910a182e73: Verifying Checksum [2020-09-22T04:33:45.686Z] 1e910a182e73: Download complete [2020-09-22T04:33:45.686Z] df20fa9351a1: Verifying Checksum [2020-09-22T04:33:45.686Z] df20fa9351a1: Download complete [2020-09-22T04:33:45.948Z] df20fa9351a1: Pull complete [2020-09-22T04:33:46.210Z] ed8968b2872e: Pull complete [2020-09-22T04:33:46.210Z] a92cc7c5fd73: Pull complete [2020-09-22T04:33:47.607Z] 4e634b169226: Verifying Checksum [2020-09-22T04:33:47.607Z] 4e634b169226: Download complete [2020-09-22T04:33:48.556Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T04:33:48.556Z] e871e8e8d7a9: Download complete [2020-09-22T04:33:52.784Z] e871e8e8d7a9: Pull complete [2020-09-22T04:33:52.784Z] e73272ec9a57: Pull complete [2020-09-22T04:33:53.049Z] 1e910a182e73: Pull complete [2020-09-22T04:33:59.252Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T04:34:02.662Z] Removing intermediate container f54619fb90de [2020-09-22T04:34:02.662Z] ---> 0d1e1ae29503 [2020-09-22T04:34:02.662Z] Step 10/24 : FROM scratch [2020-09-22T04:34:02.662Z] ---> [2020-09-22T04:34:02.662Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:34:02.662Z] ---> Running in 741cfe8a5756 [2020-09-22T04:34:02.934Z] Removing intermediate container 741cfe8a5756 [2020-09-22T04:34:02.934Z] ---> 8ba4bdbbc29d [2020-09-22T04:34:02.934Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T04:34:03.075Z] 4e634b169226: Pull complete [2020-09-22T04:34:03.075Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T04:34:03.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T04:34:03.075Z] ---> f7629b54cfaa [2020-09-22T04:34:03.075Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:34:03.075Z] ---> Running in 99dad12da1b6 [2020-09-22T04:34:03.075Z] Removing intermediate container 99dad12da1b6 [2020-09-22T04:34:03.075Z] ---> b5075de8ca2d [2020-09-22T04:34:03.075Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:34:03.075Z] ---> Running in 62307d754d41 [2020-09-22T04:34:03.208Z] ---> Running in 2c12a8afedc1 [2020-09-22T04:34:03.483Z] Removing intermediate container 2c12a8afedc1 [2020-09-22T04:34:03.483Z] ---> ebceb0686368 [2020-09-22T04:34:03.483Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T04:34:03.483Z] ---> Running in 56abbb5cca2a [2020-09-22T04:34:04.020Z] Removing intermediate container 62307d754d41 [2020-09-22T04:34:04.020Z] ---> 1be07617a29c [2020-09-22T04:34:04.020Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T04:34:04.020Z] ---> Running in 38c15ee14903 [2020-09-22T04:34:04.461Z] Removing intermediate container 56abbb5cca2a [2020-09-22T04:34:04.462Z] ---> 25a0333c7dd6 [2020-09-22T04:34:04.462Z] Step 14/24 : WORKDIR / [2020-09-22T04:34:04.462Z] ---> Running in 7f717146adf1 [2020-09-22T04:34:04.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T04:34:04.736Z] Removing intermediate container 7f717146adf1 [2020-09-22T04:34:04.736Z] ---> ff819efa5939 [2020-09-22T04:34:04.736Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T04:34:05.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T04:34:05.741Z] OK: 166 MiB in 39 packages [2020-09-22T04:34:06.003Z] Removing intermediate container 38c15ee14903 [2020-09-22T04:34:06.003Z] ---> 8068b860d41c [2020-09-22T04:34:06.003Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T04:34:06.003Z] ---> Running in ae3d87c60e2c [2020-09-22T04:34:06.170Z] ---> 62ea8341c547 [2020-09-22T04:34:06.170Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T04:34:06.266Z] Removing intermediate container ae3d87c60e2c [2020-09-22T04:34:06.266Z] ---> 893b61edc283 [2020-09-22T04:34:06.266Z] Step 7/8 : COPY . . [2020-09-22T04:34:06.765Z] ---> 76ccebabce26 [2020-09-22T04:34:06.766Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T04:34:07.365Z] ---> 00cfdbcd3f46 [2020-09-22T04:34:07.365Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T04:34:07.669Z] ---> 8c837305c643 [2020-09-22T04:34:07.669Z] Step 8/8 : RUN go mod download [2020-09-22T04:34:07.669Z] ---> Running in 248355e096aa [2020-09-22T04:34:08.346Z] ---> fad2a6ece745 [2020-09-22T04:34:08.346Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T04:34:08.942Z] ---> db43368f1ba2 [2020-09-22T04:34:08.942Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T04:34:09.217Z] ---> Running in 5510fad55494 [2020-09-22T04:34:09.493Z] Removing intermediate container 5510fad55494 [2020-09-22T04:34:09.493Z] ---> 6c1834acbff2 [2020-09-22T04:34:09.493Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T04:34:09.772Z] ---> Running in a32568717ecc [2020-09-22T04:34:10.369Z] Removing intermediate container a32568717ecc [2020-09-22T04:34:10.369Z] ---> fb56c06c6436 [2020-09-22T04:34:10.369Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T04:34:10.369Z] ---> Running in 64edda5bf186 [2020-09-22T04:34:10.967Z] Removing intermediate container 64edda5bf186 [2020-09-22T04:34:10.967Z] ---> e4a045e7f7a9 [2020-09-22T04:34:10.967Z] Step 23/24 : LABEL git_sha=0cafa7decaaa0dab3b86f836c2c615e8e839d11b [2020-09-22T04:34:10.967Z] ---> Running in 86126150608f [2020-09-22T04:34:11.564Z] Removing intermediate container 86126150608f [2020-09-22T04:34:11.564Z] ---> 28bd7c6b3358 [2020-09-22T04:34:11.564Z] Step 24/24 : LABEL version=1.2.4-dev.15 [2020-09-22T04:34:11.564Z] ---> Running in 6d1251a96a0a [2020-09-22T04:34:12.163Z] Removing intermediate container 6d1251a96a0a [2020-09-22T04:34:12.163Z] ---> 063005f6fcc9 [2020-09-22T04:34:12.163Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T04:34:12.163Z] Successfully built 063005f6fcc9 [2020-09-22T04:34:12.163Z] 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-22T04:34:17.698Z] Removing intermediate container 248355e096aa [2020-09-22T04:34:17.698Z] ---> 342422b94534 [2020-09-22T04:34:17.699Z] Successfully built 342422b94534 [2020-09-22T04:34:17.699Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:34:18.042Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T04:34:18.042Z] . [Pipeline] withDockerContainer [2020-09-22T04:34:18.147Z] prd-centos7-docker-4c-2g-775 does not seem to be running inside a container [2020-09-22T04:34:18.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/65 -v /w/workspace/device-sdk-go/65:/w/workspace/device-sdk-go/65:rw,z -v /w/workspace/device-sdk-go/65@tmp:/w/workspace/device-sdk-go/65@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-22T04:34:19.479Z] $ docker top 8e02dbf6b9aee2d8a6da9084f00771f4c595328492b77b3f2801fb9908ab7f81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:34:20.063Z] + go version [2020-09-22T04:34:20.064Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T04:34:20.123Z] $ docker stop --time=1 8e02dbf6b9aee2d8a6da9084f00771f4c595328492b77b3f2801fb9908ab7f81 [2020-09-22T04:34:21.456Z] $ docker rm -f 8e02dbf6b9aee2d8a6da9084f00771f4c595328492b77b3f2801fb9908ab7f81 [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-22T04:34:22.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T04:34:22.908Z] + ls -al . [2020-09-22T04:34:22.908Z] total 64 [2020-09-22T04:34:22.908Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 04:33 . [2020-09-22T04:34:22.908Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 22 04:33 .. [2020-09-22T04:34:22.908Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 04:33 bin [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 04:33 Dockerfile.build [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 04:33 .dockerignore [2020-09-22T04:34:22.908Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 04:33 example [2020-09-22T04:34:22.908Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 22 04:33 .git [2020-09-22T04:34:22.908Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 04:33 .github [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 04:33 .gitignore [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 446 Sep 22 04:33 go.mod [2020-09-22T04:34:22.908Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 04:33 internal [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 04:33 Jenkinsfile [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 04:33 LICENSE [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 04:33 Makefile [2020-09-22T04:34:22.908Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 04:33 openapi [2020-09-22T04:34:22.908Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 04:33 pkg [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 04:33 README.md [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 04:33 RELEASE-NOTES.txt [2020-09-22T04:34:22.908Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 22 04:33 .semver [2020-09-22T04:34:22.908Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 04:33 snap [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 22 04:31 VERSION [2020-09-22T04:34:22.908Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 04:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:34:23.218Z] + 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=0cafa7decaaa0dab3b86f836c2c615e8e839d11b --label arch=amd64 --label version=1.2.4-dev.15 . [2020-09-22T04:34:23.218Z] Sending build context to Docker daemon 3.156MB [2020-09-22T04:34:23.218Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T04:34:23.218Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T04:34:23.218Z] ---> 342422b94534 [2020-09-22T04:34:23.218Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T04:34:23.483Z] ---> Running in addae8a3e303 [2020-09-22T04:34:23.746Z] Removing intermediate container addae8a3e303 [2020-09-22T04:34:23.746Z] ---> 84c3f7774b39 [2020-09-22T04:34:23.746Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T04:34:23.746Z] ---> Running in 0dd91927c424 [2020-09-22T04:34:24.008Z] Removing intermediate container 0dd91927c424 [2020-09-22T04:34:24.008Z] ---> 148adee6687b [2020-09-22T04:34:24.008Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:34:24.008Z] ---> Running in 111c0f85dcc0 [2020-09-22T04:34:24.270Z] Removing intermediate container 111c0f85dcc0 [2020-09-22T04:34:24.270Z] ---> 380626785234 [2020-09-22T04:34:24.270Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T04:34:24.270Z] ---> Running in ae5b0b111743 [2020-09-22T04:34:25.218Z] Removing intermediate container ae5b0b111743 [2020-09-22T04:34:25.218Z] ---> cf337a9adc93 [2020-09-22T04:34:25.218Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T04:34:25.480Z] ---> Running in 1676c0f945aa [2020-09-22T04:34:25.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T04:34:26.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T04:34:28.082Z] OK: 166 MiB in 39 packages [2020-09-22T04:34:28.348Z] Removing intermediate container 1676c0f945aa [2020-09-22T04:34:28.348Z] ---> c6e614fb7143 [2020-09-22T04:34:28.348Z] Step 8/24 : COPY . . [2020-09-22T04:34:29.743Z] ---> 66bea8300b2a [2020-09-22T04:34:29.743Z] Step 9/24 : RUN ${MAKE} [2020-09-22T04:34:29.743Z] ---> Running in 5affd3037a56 [2020-09-22T04:34:30.012Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T04:34:38.245Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T04:34:39.188Z] Removing intermediate container 5affd3037a56 [2020-09-22T04:34:39.188Z] ---> f6736f2b0d5f [2020-09-22T04:34:39.188Z] Step 10/24 : FROM scratch [2020-09-22T04:34:39.188Z] ---> [2020-09-22T04:34:39.188Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T04:34:39.188Z] ---> Running in 1b079ffc260a [2020-09-22T04:34:39.189Z] Removing intermediate container 1b079ffc260a [2020-09-22T04:34:39.189Z] ---> dd27c85ddec4 [2020-09-22T04:34:39.189Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T04:34:39.452Z] ---> Running in f2c91fcbd5a0 [2020-09-22T04:34:39.452Z] Removing intermediate container f2c91fcbd5a0 [2020-09-22T04:34:39.452Z] ---> 944ce0cf6700 [2020-09-22T04:34:39.452Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T04:34:39.452Z] ---> Running in ac2bcea34016 [2020-09-22T04:34:39.714Z] Removing intermediate container ac2bcea34016 [2020-09-22T04:34:39.714Z] ---> 33a0d6258a79 [2020-09-22T04:34:39.714Z] Step 14/24 : WORKDIR / [2020-09-22T04:34:39.714Z] ---> Running in d5c9c424099d [2020-09-22T04:34:39.977Z] Removing intermediate container d5c9c424099d [2020-09-22T04:34:39.977Z] ---> 913a20a32fc4 [2020-09-22T04:34:39.977Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T04:34:40.241Z] ---> 525a7eda4f8d [2020-09-22T04:34:40.241Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T04:34:40.503Z] ---> 8d57e425d658 [2020-09-22T04:34:40.504Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T04:34:40.764Z] ---> 8c0d2b0281d7 [2020-09-22T04:34:40.764Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T04:34:41.025Z] ---> 3d5534bfd7b1 [2020-09-22T04:34:41.025Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T04:34:41.294Z] ---> 013b64fa8dec [2020-09-22T04:34:41.294Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T04:34:41.294Z] ---> Running in 4449c32a6d7d [2020-09-22T04:34:41.555Z] Removing intermediate container 4449c32a6d7d [2020-09-22T04:34:41.555Z] ---> eb298735020d [2020-09-22T04:34:41.555Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T04:34:41.555Z] ---> Running in a2d83d4ec2e4 [2020-09-22T04:34:41.555Z] Removing intermediate container a2d83d4ec2e4 [2020-09-22T04:34:41.555Z] ---> 7d273faff9a3 [2020-09-22T04:34:41.555Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T04:34:41.818Z] ---> Running in 111181d306b6 [2020-09-22T04:34:41.818Z] Removing intermediate container 111181d306b6 [2020-09-22T04:34:41.818Z] ---> 8ba7be4d97ea [2020-09-22T04:34:41.818Z] Step 23/24 : LABEL git_sha=0cafa7decaaa0dab3b86f836c2c615e8e839d11b [2020-09-22T04:34:41.818Z] ---> Running in d267b1acfea9 [2020-09-22T04:34:42.081Z] Removing intermediate container d267b1acfea9 [2020-09-22T04:34:42.081Z] ---> 0dd33cd8771f [2020-09-22T04:34:42.081Z] Step 24/24 : LABEL version=1.2.4-dev.15 [2020-09-22T04:34:42.081Z] ---> Running in 461613248c4a [2020-09-22T04:34:42.342Z] Removing intermediate container 461613248c4a [2020-09-22T04:34:42.342Z] ---> 08a42539bb36 [2020-09-22T04:34:42.342Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T04:34:42.342Z] Successfully built 08a42539bb36 [2020-09-22T04:34:42.342Z] 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-22T04:34:44.652Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-22T04:34:44.654Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-22T04:34:44.730Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:34:45.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T04:34:45.387Z] [2020-09-22T04:34:45.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:34:45.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T04:34:45.944Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-22T04:34:45.944Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-22T04:34:45.944Z] 408f87550127: Pulling fs layer [2020-09-22T04:34:45.944Z] fe522b08c979: Pulling fs layer [2020-09-22T04:34:45.944Z] 221eaa008020: Pulling fs layer [2020-09-22T04:34:45.944Z] 2a4607e5d6b9: Pulling fs layer [2020-09-22T04:34:45.944Z] 8f79b27c4fd2: Pulling fs layer [2020-09-22T04:34:45.944Z] e5c8dbe1645b: Pulling fs layer [2020-09-22T04:34:45.944Z] 23e8b3b47431: Pulling fs layer [2020-09-22T04:34:45.944Z] 5c568d65a230: Pulling fs layer [2020-09-22T04:34:45.944Z] 221eaa008020: Waiting [2020-09-22T04:34:45.944Z] 2a4607e5d6b9: Waiting [2020-09-22T04:34:45.944Z] 8f79b27c4fd2: Waiting [2020-09-22T04:34:45.944Z] e5c8dbe1645b: Waiting [2020-09-22T04:34:45.944Z] 23e8b3b47431: Waiting [2020-09-22T04:34:45.944Z] 5c568d65a230: Waiting [2020-09-22T04:34:45.944Z] fe522b08c979: Verifying Checksum [2020-09-22T04:34:45.944Z] fe522b08c979: Download complete [2020-09-22T04:34:45.944Z] 408f87550127: Verifying Checksum [2020-09-22T04:34:45.944Z] 408f87550127: Download complete [2020-09-22T04:34:46.245Z] 2a4607e5d6b9: Download complete [2020-09-22T04:34:46.605Z] 8f79b27c4fd2: Download complete [2020-09-22T04:34:46.605Z] cbdbe7a5bc2a: Download complete [2020-09-22T04:34:47.022Z] cbdbe7a5bc2a: Pull complete [2020-09-22T04:34:47.022Z] 408f87550127: Pull complete [2020-09-22T04:34:47.483Z] fe522b08c979: Pull complete [2020-09-22T04:34:50.259Z] e5c8dbe1645b: Download complete [2020-09-22T04:34:53.136Z] 23e8b3b47431: Verifying Checksum [2020-09-22T04:34:53.136Z] 23e8b3b47431: Download complete [2020-09-22T04:34:53.764Z] 5c568d65a230: Verifying Checksum [2020-09-22T04:34:53.764Z] 5c568d65a230: Download complete [2020-09-22T04:34:56.580Z] 221eaa008020: Verifying Checksum [2020-09-22T04:34:56.580Z] 221eaa008020: Download complete [2020-09-22T04:35:09.145Z] 221eaa008020: Pull complete [2020-09-22T04:35:09.145Z] 2a4607e5d6b9: Pull complete [2020-09-22T04:35:09.145Z] 8f79b27c4fd2: Pull complete [2020-09-22T04:35:11.142Z] e5c8dbe1645b: Pull complete [2020-09-22T04:35:14.612Z] 23e8b3b47431: Pull complete [2020-09-22T04:35:16.585Z] 5c568d65a230: Pull complete [2020-09-22T04:35:16.585Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-22T04:35:16.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-22T04:35:16.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-22T04:35:16.811Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:35:16.895Z] $ 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-22T04:35:18.451Z] $ docker top c43a290d452234997ea8351c97bb2f67d2a0e61f7736a8706ee3b4da938349db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:35:19.374Z] + snyk monitor '--org=edgex-jenkins' [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/2a73f700-9531-4291-b27a-5eee5dcb0267 [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] Snyk CLI supports Node.js 8 and higher. [2020-09-22T04:35:52.508Z] 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-22T04:35:52.508Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-22T04:35:52.508Z] [2020-09-22T04:35:52.508Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-22T04:35:52.508Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-22T04:35:52.537Z] $ docker stop --time=1 c43a290d452234997ea8351c97bb2f67d2a0e61f7736a8706ee3b4da938349db [2020-09-22T04:35:54.731Z] $ docker rm -f c43a290d452234997ea8351c97bb2f67d2a0e61f7736a8706ee3b4da938349db [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-22T04:35:57.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:35:57.027Z] . [Pipeline] withDockerContainer [2020-09-22T04:35:57.188Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:35:57.296Z] $ 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-22T04:35:58.417Z] $ docker top a86149c5c7428250f7fd9989c717a142430a8724bdd278f35e80370033673b46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T04:35:58.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:35:58.753Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:35:59.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:35:59.127Z] $ docker exec a86149c5c7428250f7fd9989c717a142430a8724bdd278f35e80370033673b46 ssh-agent [2020-09-22T04:35:59.365Z] SSH_AUTH_SOCK=/tmp/ssh-nnZgrfUpBlt0/agent.12 [2020-09-22T04:35:59.365Z] SSH_AGENT_PID=18 [2020-09-22T04:35:59.392Z] Running ssh-add (command line suppressed) [2020-09-22T04:35:59.579Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8414222205130853452.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8414222205130853452.key) [2020-09-22T04:35:59.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:36:00.022Z] + git semver tag [2020-09-22T04:36:00.307Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T04:36:00.307Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-22T04:36:00.307Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-22T04:36:00.307Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T04:36:00.307Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T04:36:00.307Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T04:36:00.307Z] # $SEMVER_BRANCH = master [2020-09-22T04:36:00.307Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-22T04:36:00.307Z] # 0cafa7decaaa0dab3b86f836c2c615e8e839d11b HEAD [2020-09-22T04:36:00.307Z] # -> Force: false [2020-09-22T04:36:00.307Z] # b8f710587b0a01778d006fd6ece0433a85bd2f91 refs/tags/v1.2.4-dev.15 [Pipeline] } [2020-09-22T04:36:00.359Z] $ docker exec --env ******** --env ******** a86149c5c7428250f7fd9989c717a142430a8724bdd278f35e80370033673b46 ssh-agent -k [2020-09-22T04:36:00.589Z] unset SSH_AUTH_SOCK; [2020-09-22T04:36:00.589Z] unset SSH_AGENT_PID; [2020-09-22T04:36:00.590Z] echo Agent pid 18 killed; [2020-09-22T04:36:00.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T04:36:01.233Z] + git semver [Pipeline] } [2020-09-22T04:36:01.537Z] $ docker stop --time=1 a86149c5c7428250f7fd9989c717a142430a8724bdd278f35e80370033673b46 [2020-09-22T04:36:03.122Z] $ docker rm -f a86149c5c7428250f7fd9989c717a142430a8724bdd278f35e80370033673b46 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:36:03.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T04:36:03.956Z] [2020-09-22T04:36:03.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:36:04.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T04:36:04.591Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-22T04:36:04.591Z] ab5ef0e58194: Pulling fs layer [2020-09-22T04:36:04.591Z] 9712f1f96733: Pulling fs layer [2020-09-22T04:36:04.591Z] 63f879dbbcfc: Pulling fs layer [2020-09-22T04:36:04.591Z] 0d9ebad4ef96: Pulling fs layer [2020-09-22T04:36:04.591Z] e9a5061849ea: Pulling fs layer [2020-09-22T04:36:04.591Z] d747dcd14b5f: Pulling fs layer [2020-09-22T04:36:04.591Z] 2de7ff778b66: Pulling fs layer [2020-09-22T04:36:04.591Z] e9a5061849ea: Waiting [2020-09-22T04:36:04.591Z] d747dcd14b5f: Waiting [2020-09-22T04:36:04.591Z] 2de7ff778b66: Waiting [2020-09-22T04:36:04.591Z] 0d9ebad4ef96: Waiting [2020-09-22T04:36:04.874Z] 9712f1f96733: Download complete [2020-09-22T04:36:07.567Z] 63f879dbbcfc: Verifying Checksum [2020-09-22T04:36:07.567Z] 63f879dbbcfc: Download complete [2020-09-22T04:36:07.567Z] e9a5061849ea: Verifying Checksum [2020-09-22T04:36:07.567Z] e9a5061849ea: Download complete [2020-09-22T04:36:07.567Z] d747dcd14b5f: Verifying Checksum [2020-09-22T04:36:07.567Z] d747dcd14b5f: Download complete [2020-09-22T04:36:08.565Z] 2de7ff778b66: Verifying Checksum [2020-09-22T04:36:08.565Z] 2de7ff778b66: Download complete [2020-09-22T04:36:08.565Z] 0d9ebad4ef96: Verifying Checksum [2020-09-22T04:36:08.565Z] 0d9ebad4ef96: Download complete [2020-09-22T04:36:10.014Z] ab5ef0e58194: Verifying Checksum [2020-09-22T04:36:10.014Z] ab5ef0e58194: Download complete [2020-09-22T04:36:18.678Z] ab5ef0e58194: Pull complete [2020-09-22T04:36:18.678Z] 9712f1f96733: Pull complete [2020-09-22T04:36:20.194Z] 63f879dbbcfc: Pull complete [2020-09-22T04:36:28.643Z] 0d9ebad4ef96: Pull complete [2020-09-22T04:36:29.235Z] e9a5061849ea: Pull complete [2020-09-22T04:36:29.235Z] d747dcd14b5f: Pull complete [2020-09-22T04:36:33.630Z] 2de7ff778b66: Pull complete [2020-09-22T04:36:33.630Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-22T04:36:33.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-22T04:36:33.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-22T04:36:33.952Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:36:34.074Z] $ 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-22T04:36:37.051Z] $ docker top f57fbeabad95effdeda32fe6618e3f404b691e933cf4cf93b9fb31271d1fccec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-22T04:36:37.490Z] provisioning config files... [2020-09-22T04:36:37.528Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config346141181355268447tmp [2020-09-22T04:36:37.580Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2024503030283088191tmp [2020-09-22T04:36:37.614Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6608168720684976190tmp [Pipeline] { [Pipeline] echo [2020-09-22T04:36:37.678Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:36:38.354Z] ---> sigul-configuration.sh [2020-09-22T04:36:38.355Z] gpg: directory `/root/.gnupg' created [2020-09-22T04:36:38.355Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-22T04:36:38.355Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-22T04:36:38.355Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-22T04:36:38.355Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-22T04:36:38.355Z] gpg: CAST5 encrypted data [2020-09-22T04:36:38.355Z] gpg: encrypted with 1 passphrase [2020-09-22T04:36:38.355Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-22T04:36:39.163Z] + mkdir /home/jenkins [2020-09-22T04:36:39.163Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-22T04:36:39.879Z] + 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-22T04:36:39.924Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:36:40.638Z] ---> sigul-install.sh [2020-09-22T04:36:49.072Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-22T04:36:49.401Z] + git tag --list [2020-09-22T04:36:49.401Z] v1.2.4-dev.15 [Pipeline] sh [2020-09-22T04:36:49.804Z] + lftools sign git-tag v1.2.4-dev.15 [2020-09-22T04:36:51.785Z] Signing Git tag with Sigul... [2020-09-22T04:36:51.785Z] Signing v1.2.4-dev.15 [Pipeline] echo [2020-09-22T04:36:53.215Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:36:53.754Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-22T04:36:53.768Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-22T04:36:53.867Z] $ docker stop --time=1 f57fbeabad95effdeda32fe6618e3f404b691e933cf4cf93b9fb31271d1fccec [2020-09-22T04:36:56.015Z] $ docker rm -f f57fbeabad95effdeda32fe6618e3f404b691e933cf4cf93b9fb31271d1fccec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:36:57.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:36:57.024Z] . [Pipeline] withDockerContainer [2020-09-22T04:36:57.160Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:36:57.293Z] $ 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-22T04:36:58.633Z] $ docker top fc5b8f25db224934f0b382bca27ce27b2d70a28e629324689a5d462279d3ef2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T04:36:59.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:36:59.065Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:36:59.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:36:59.904Z] $ docker exec fc5b8f25db224934f0b382bca27ce27b2d70a28e629324689a5d462279d3ef2d ssh-agent [2020-09-22T04:37:00.441Z] SSH_AUTH_SOCK=/tmp/ssh-AgNQDwG75UZk/agent.12 [2020-09-22T04:37:00.441Z] SSH_AGENT_PID=17 [2020-09-22T04:37:00.453Z] Running ssh-add (command line suppressed) [2020-09-22T04:37:00.728Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7995557456063460699.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7995557456063460699.key) [2020-09-22T04:37:00.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:37:01.195Z] + git semver bump pre [2020-09-22T04:37:01.195Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T04:37:01.195Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-22T04:37:01.195Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-22T04:37:01.195Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T04:37:01.195Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T04:37:01.195Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T04:37:01.195Z] # $SEMVER_BRANCH = master [2020-09-22T04:37:01.195Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-09-22T04:37:01.195Z] 1.2.4-dev.16 [Pipeline] } [2020-09-22T04:37:01.217Z] $ docker exec --env ******** --env ******** fc5b8f25db224934f0b382bca27ce27b2d70a28e629324689a5d462279d3ef2d ssh-agent -k [2020-09-22T04:37:01.434Z] unset SSH_AUTH_SOCK; [2020-09-22T04:37:01.436Z] unset SSH_AGENT_PID; [2020-09-22T04:37:01.436Z] echo Agent pid 17 killed; [2020-09-22T04:37:01.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T04:37:02.567Z] + git semver [Pipeline] } [2020-09-22T04:37:02.621Z] $ docker stop --time=1 fc5b8f25db224934f0b382bca27ce27b2d70a28e629324689a5d462279d3ef2d [2020-09-22T04:37:04.238Z] $ docker rm -f fc5b8f25db224934f0b382bca27ce27b2d70a28e629324689a5d462279d3ef2d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:37:04.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T04:37:04.992Z] . [Pipeline] withDockerContainer [2020-09-22T04:37:05.210Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:37:05.293Z] $ 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-22T04:37:06.636Z] $ docker top b1d6c88279e8dab39ce5109295413993a8b6957103dabd1a9e2e75c2de77480d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T04:37:07.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T04:37:07.039Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T04:37:07.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T04:37:07.666Z] $ docker exec b1d6c88279e8dab39ce5109295413993a8b6957103dabd1a9e2e75c2de77480d ssh-agent [2020-09-22T04:37:08.008Z] SSH_AUTH_SOCK=/tmp/ssh-lQDhnqfVmFLW/agent.11 [2020-09-22T04:37:08.008Z] SSH_AGENT_PID=16 [2020-09-22T04:37:08.022Z] Running ssh-add (command line suppressed) [2020-09-22T04:37:08.246Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7453417042621085081.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7453417042621085081.key) [2020-09-22T04:37:09.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T04:37:10.482Z] + git semver push [2020-09-22T04:37:10.483Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T04:37:10.483Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-09-22T04:37:10.483Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-09-22T04:37:10.483Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T04:37:10.483Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T04:37:10.483Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T04:37:10.483Z] # $SEMVER_BRANCH = master [2020-09-22T04:37:10.483Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-09-22T04:37:18.781Z] $ docker exec --env ******** --env ******** b1d6c88279e8dab39ce5109295413993a8b6957103dabd1a9e2e75c2de77480d ssh-agent -k [2020-09-22T04:37:19.113Z] unset SSH_AUTH_SOCK; [2020-09-22T04:37:19.115Z] unset SSH_AGENT_PID; [2020-09-22T04:37:19.116Z] echo Agent pid 16 killed; [2020-09-22T04:37:19.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T04:37:20.127Z] + git semver [Pipeline] } [2020-09-22T04:37:20.150Z] $ docker stop --time=1 b1d6c88279e8dab39ce5109295413993a8b6957103dabd1a9e2e75c2de77480d [2020-09-22T04:37:21.857Z] $ docker rm -f b1d6c88279e8dab39ce5109295413993a8b6957103dabd1a9e2e75c2de77480d [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-22T04:37:23.426Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:37:24.034Z] ---> package-listing.sh [2020-09-22T04:37:24.034Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T04:37:24.034Z] ++ facter osfamily [2020-09-22T04:37:24.034Z] + OS_FAMILY=redhat [2020-09-22T04:37:24.034Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-09-22T04:37:24.034Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T04:37:24.034Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T04:37:24.034Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T04:37:24.034Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T04:37:24.034Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-22T04:37:24.034Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T04:37:24.034Z] + case "${OS_FAMILY}" in [2020-09-22T04:37:24.034Z] + rpm -qa [2020-09-22T04:37:24.034Z] + sort [2020-09-22T04:37:29.403Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T04:37:29.403Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T04:37:29.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T04:37:29.403Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-09-22T04:37:29.403Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-09-22T04:37:29.403Z] + 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-22T04:37:30.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:37:30.146Z] [2020-09-22T04:37:30.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T04:37:30.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:37:30.528Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T04:37:30.528Z] df20fa9351a1: Pulling fs layer [2020-09-22T04:37:30.528Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T04:37:30.528Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T04:37:30.528Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T04:37:30.528Z] 0dadc02b9964: Pulling fs layer [2020-09-22T04:37:30.528Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T04:37:30.528Z] 7a184a31f384: Pulling fs layer [2020-09-22T04:37:30.528Z] 0879bd2ef858: Pulling fs layer [2020-09-22T04:37:30.528Z] 46f8f816bc3b: Waiting [2020-09-22T04:37:30.528Z] ce6a7cf60c04: Waiting [2020-09-22T04:37:30.528Z] 0dadc02b9964: Waiting [2020-09-22T04:37:30.528Z] 7a184a31f384: Waiting [2020-09-22T04:37:30.528Z] 0879bd2ef858: Waiting [2020-09-22T04:37:30.528Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T04:37:30.528Z] 36b3adc4ff6f: Download complete [2020-09-22T04:37:30.826Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T04:37:30.826Z] 46f8f816bc3b: Download complete [2020-09-22T04:37:30.826Z] 0dadc02b9964: Verifying Checksum [2020-09-22T04:37:30.826Z] 0dadc02b9964: Download complete [2020-09-22T04:37:30.826Z] df20fa9351a1: Verifying Checksum [2020-09-22T04:37:30.826Z] df20fa9351a1: Download complete [2020-09-22T04:37:30.826Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T04:37:30.826Z] ce6a7cf60c04: Download complete [2020-09-22T04:37:30.826Z] 7a184a31f384: Verifying Checksum [2020-09-22T04:37:30.826Z] 7a184a31f384: Download complete [2020-09-22T04:37:31.479Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T04:37:31.479Z] 8ad3a11d3b57: Download complete [2020-09-22T04:37:31.479Z] df20fa9351a1: Pull complete [2020-09-22T04:37:31.765Z] 36b3adc4ff6f: Pull complete [2020-09-22T04:37:32.408Z] 0879bd2ef858: Verifying Checksum [2020-09-22T04:37:32.408Z] 0879bd2ef858: Download complete [2020-09-22T04:37:33.400Z] 8ad3a11d3b57: Pull complete [2020-09-22T04:37:33.400Z] 46f8f816bc3b: Pull complete [2020-09-22T04:37:34.007Z] 0dadc02b9964: Pull complete [2020-09-22T04:37:34.308Z] ce6a7cf60c04: Pull complete [2020-09-22T04:37:34.590Z] 7a184a31f384: Pull complete [2020-09-22T04:37:38.981Z] 0879bd2ef858: Pull complete [2020-09-22T04:37:38.981Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T04:37:38.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T04:37:38.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T04:37:39.295Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2020-09-22T04:37:39.463Z] $ 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-22T04:37:43.074Z] $ docker top b108b32203b05d05dc3f1ce599595976f4caedd2a6c0d9b32c45720a44fcdbeb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T04:37:43.948Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T04:37:44.384Z] + ls /var/log/sa-host [2020-09-22T04:37:44.384Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T04:37:44.384Z] file_magic: OK [2020-09-22T04:37:44.384Z] HZ: Using current value: 100 [2020-09-22T04:37:44.384Z] file_header: OK [2020-09-22T04:37:44.384Z] 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-22T04:37:44.384Z] Statistics: [2020-09-22T04:37:44.384Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T04:37:44.384Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T04:37:44.384Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T04:37:44.384Z] file_magic: OK [2020-09-22T04:37:44.384Z] HZ: Using current value: 100 [2020-09-22T04:37:44.384Z] file_header: OK [2020-09-22T04:37:44.384Z] 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-22T04:37:44.384Z] Statistics: [2020-09-22T04:37:44.384Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T04:37:44.384Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T04:37:44.456Z] provisioning config files... [2020-09-22T04:37:44.488Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3958185254946598571tmp [Pipeline] { [Pipeline] echo [2020-09-22T04:37:44.567Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:37:45.241Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T04:37:45.254Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T04:37:45.608Z] ---> logs-deploy.sh [2020-09-22T04:37:45.608Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/65 [2020-09-22T04:37:45.887Z] INFO: archiving workspace using pattern(s): [2020-09-22T04:37:47.880Z] Archives upload complete. [2020-09-22T04:37:48.170Z] INFO: archiving logs to Nexus