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 12:57:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:57:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:57:21 ========================================================= 12:57:21 EdgeX Global Pipelines Version Info 12:57:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:57:22 ------------------- 12:57:22 stable info: 12:57:22 ------------------- 12:57:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:57:22 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 12:57:22 Message: update stable to v1.0.122 12:57:23 ------------------- 12:57:23 experimental info: 12:57:23 ------------------- 12:57:23 Commited By: **** collab-it+edgex@linuxfoundation.org 12:57:23 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 12:57:23 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 12:57:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:57:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0916c9033c71b8931055140091788f6fe2f32c33 [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0916c90 [Pipeline] echo 12:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:27 + git log --format=format:%s -1 0916c9033c71b8931055140091788f6fe2f32c33 [Pipeline] echo 12:57:27 GIT_COMMIT: 0916c9033c71b8931055140091788f6fe2f32c33, Commit Message: Merge pull request #594 from jinlinGuan/issue-555 [Pipeline] echo 12:57:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:57:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:28 12:57:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:57:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:28 latest: Pulling from edgex-devops/git-semver 12:57:28 31603596830f: Pulling fs layer 12:57:28 2a8b12db71e7: Pulling fs layer 12:57:28 6ca5941a6612: Pulling fs layer 12:57:28 ecc8261a40a4: Pulling fs layer 12:57:28 ecc8261a40a4: Waiting 12:57:28 2a8b12db71e7: Verifying Checksum 12:57:28 2a8b12db71e7: Download complete 12:57:28 31603596830f: Download complete 12:57:28 ecc8261a40a4: Verifying Checksum 12:57:28 ecc8261a40a4: Download complete 12:57:28 6ca5941a6612: Verifying Checksum 12:57:28 6ca5941a6612: Download complete 12:57:29 31603596830f: Pull complete 12:57:29 2a8b12db71e7: Pull complete 12:57:30 6ca5941a6612: Pull complete 12:57:30 ecc8261a40a4: Pull complete 12:57:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:57:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:57:30 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 12:57:30 $ 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 12:57:32 $ docker top ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:57:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:57:32 [ssh-agent] Looking for ssh-agent implementation... 12:57:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:57:32 $ docker exec ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent 12:57:32 SSH_AUTH_SOCK=/tmp/ssh-z7tMPOxerB0X/agent.12 12:57:32 SSH_AGENT_PID=17 12:57:32 Running ssh-add (command line suppressed) 12:57:32 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) 12:57:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:57:33 + git describe --exact-match --tags HEAD 12:57:33 fatal: No names found, cannot describe anything. [Pipeline] } 12:57:33 $ docker exec --env ******** --env ******** ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent -k 12:57:33 unset SSH_AUTH_SOCK; 12:57:33 unset SSH_AGENT_PID; 12:57:33 echo Agent pid 17 killed; 12:57:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 12:57:33 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 12:57:33 This usually means this commit has not been tagged. [Pipeline] sshagent 12:57:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:57:33 [ssh-agent] Looking for ssh-agent implementation... 12:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:57:34 $ docker exec ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent 12:57:34 SSH_AUTH_SOCK=/tmp/ssh-c1ELjLsw30br/agent.46 12:57:34 SSH_AGENT_PID=51 12:57:34 Running ssh-add (command line suppressed) 12:57:34 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) 12:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:57:34 + git semver init 12:57:34 # -> Open(): unable to determine branch for HEAD 12:57:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 12:57:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 12:57:34 # $SEMVER_REMOTE_NAME = origin 12:57:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:57:34 # $SEMVER_USER_NAME = edgex-jenkins 12:57:34 # $SEMVER_BRANCH = master 12:57:34 # $SEMVER_TEMP = /tmp/semver-409390754 12:57:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:57:35 # '/tmp/semver-409390754' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 12:57:35 # -> Force: false 12:57:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 12:57:35 $ docker exec --env ******** --env ******** ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da ssh-agent -k 12:57:35 unset SSH_AUTH_SOCK; 12:57:35 unset SSH_AGENT_PID; 12:57:35 echo Agent pid 51 killed; 12:57:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:57:35 + git semver [Pipeline] } 12:57:35 $ docker stop --time=1 ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da 12:57:37 $ docker rm -f ee64561d06a55e9f08bfb456ebceb50dbf73f717bc92b57b1c5e9bbe9dd261da [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 12:57:38 Stashed 33 file(s) [Pipeline] echo 12:57:38 [edgeXSemver]: initialized semver on version 1.2.4-dev.14 [Pipeline] echo 12:57:38 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 12:57:53 Still waiting to schedule task 12:57:53 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-565’ 12:57:53 Still waiting to schedule task 12:57:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:59:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-566 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 12:59:42 Running in /w/workspace/device-sdk-go/64 [Pipeline] { [Pipeline] checkout 12:59:47 using credential edgex-jenkins-ssh 12:59:47 Cloning the remote Git repository 12:59:47 Cloning with configured refspecs honoured and without tags 12:59:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:59:49 Fetching without tags 12:59:47 > git init /w/workspace/device-sdk-go/64 # timeout=10 12:59:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:59:47 > git --version # timeout=10 12:59:48 > git --version # 'git version 2.17.1' 12:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:59:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:59:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:59:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:59:49 Checking out Revision 0916c9033c71b8931055140091788f6fe2f32c33 (master) 12:59:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:59:49 > git config core.sparsecheckout # timeout=10 12:59:49 > git checkout -f 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 12:59:54 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 12:59:55 ========================================================= 12:59:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:59:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:59:56 + 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 . 12:59:58 Sending build context to Docker daemon 3.149MB 12:59:58 Step 1/8 : ARG BASE=golang:1.15-alpine 12:59:58 Step 2/8 : FROM ${BASE} 12:59:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:59:58 b538f80385f9: Pulling fs layer 12:59:58 74f711af9a0d: Pulling fs layer 12:59:58 99f96fe45779: Pulling fs layer 12:59:58 8529a6b9a6be: Pulling fs layer 12:59:58 45590311c82a: Pulling fs layer 12:59:58 69ca0ff8b7b3: Pulling fs layer 12:59:58 209524e5b208: Pulling fs layer 12:59:58 45590311c82a: Waiting 12:59:58 8529a6b9a6be: Waiting 12:59:58 69ca0ff8b7b3: Waiting 12:59:58 209524e5b208: Waiting 12:59:58 99f96fe45779: Verifying Checksum 12:59:58 99f96fe45779: Download complete 12:59:58 74f711af9a0d: Verifying Checksum 12:59:58 74f711af9a0d: Download complete 12:59:58 45590311c82a: Verifying Checksum 12:59:58 45590311c82a: Download complete 12:59:58 69ca0ff8b7b3: Verifying Checksum 12:59:58 69ca0ff8b7b3: Download complete 12:59:59 b538f80385f9: Download complete 12:59:59 b538f80385f9: Pull complete 13:00:00 74f711af9a0d: Pull complete 13:00:00 99f96fe45779: Pull complete 13:00:02 209524e5b208: Verifying Checksum 13:00:02 209524e5b208: Download complete 13:00:03 8529a6b9a6be: Verifying Checksum 13:00:03 8529a6b9a6be: Download complete 13:00:13 8529a6b9a6be: Pull complete 13:00:14 45590311c82a: Pull complete 13:00:14 69ca0ff8b7b3: Pull complete 13:00:18 209524e5b208: Pull complete 13:00:18 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 13:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:00:18 ---> 5bddaf1c2fca 13:00:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:00:20 ---> Running in cd04d4d16c03 13:00:21 Removing intermediate container cd04d4d16c03 13:00:21 ---> 55726b3d9c20 13:00:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:00:21 ---> Running in d99256f144b3 13:00:24 Removing intermediate container d99256f144b3 13:00:24 ---> c246dc248797 13:00:24 Step 5/8 : RUN apk add --no-cache make git 13:00:24 ---> Running in a45f420dd24c 13:00:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:00:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:00:27 OK: 142 MiB in 39 packages 13:00:28 Removing intermediate container a45f420dd24c 13:00:28 ---> 7de3621c5073 13:00:28 Step 6/8 : WORKDIR /device-sdk-go 13:00:28 ---> Running in c474e487bad5 13:00:28 Removing intermediate container c474e487bad5 13:00:28 ---> 5111a0a994bc 13:00:28 Step 7/8 : COPY . . 13:00:30 ---> 2482ae7420cc 13:00:30 Step 8/8 : RUN go mod download 13:00:30 ---> Running in d9eba7403277 13:00:40 Running on prd-centos7-docker-4c-2g-567 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 13:00:41 Running in /w/workspace/device-sdk-go/64 [Pipeline] { [Pipeline] checkout 13:00:43 using credential edgex-jenkins-ssh 13:00:43 Cloning the remote Git repository 13:00:43 Cloning with configured refspecs honoured and without tags 13:00:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:00:44 > git init /w/workspace/device-sdk-go/64 # timeout=10 13:00:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:00:44 > git --version # timeout=10 13:00:44 > git --version # 'git version 2.16.5' 13:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:00:45 Fetching without tags 13:00:45 Removing intermediate container d9eba7403277 13:00:45 ---> be59625e2432 13:00:45 Successfully built be59625e2432 13:00:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:00:45 Checking out Revision 0916c9033c71b8931055140091788f6fe2f32c33 (master) 13:00:45 + docker inspect -f . ci-base-image-arm64 13:00:45 . [Pipeline] withDockerContainer 13:00:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:00:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:00:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:00:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 13:00:45 > git config core.sparsecheckout # timeout=10 13:00:45 > git checkout -f 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 13:00:45 prd-ubuntu18.04-docker-arm64-4c-16g-566 does not seem to be running inside a container 13:00:46 $ 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 13:00:47 $ docker top 4ea4e8ffc96d305723c568c5279ca01aad06fa8bf8a00e2f3f8602b7dddd1b95 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:49 Commit message: "Merge pull request #594 from jinlinGuan/issue-555" 13:00:49 + go version 13:00:49 go version go1.15.2 linux/arm64 [Pipeline] } 13:00:49 $ docker stop --time=1 4ea4e8ffc96d305723c568c5279ca01aad06fa8bf8a00e2f3f8602b7dddd1b95 13:00:51 $ 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 13:00:54 ========================================================= 13:00:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:00:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:55 + 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 . 13:00:55 + ls -al . 13:00:55 total 104 13:00:55 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 12:59 . 13:00:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 .. 13:00:55 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 12:59 .dockerignore 13:00:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 12:59 .git 13:00:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:59 .github 13:00:55 -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 12:59 .gitignore 13:00:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 12:59 .semver 13:00:55 -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 12:59 Dockerfile.build 13:00:55 -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 12:59 Jenkinsfile 13:00:55 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 12:59 LICENSE 13:00:55 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 12:59 Makefile 13:00:55 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 12:59 README.md 13:00:55 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 12:59 RELEASE-NOTES.txt 13:00:55 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 12:57 VERSION 13:00:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 12:59 bin 13:00:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 example 13:00:55 -rw-rw-r-- 1 jenkins jenkins 446 Sep 20 12:59 go.mod 13:00:55 drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 12:59 internal 13:00:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 openapi 13:00:55 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 12:59 pkg 13:00:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 12:59 snap 13:00:55 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 12:59 version.go [Pipeline] isUnix [Pipeline] sh 13:00:55 Sending build context to Docker daemon 3.151MB 13:00:55 Step 1/8 : ARG BASE=golang:1.15-alpine 13:00:55 Step 2/8 : FROM ${BASE} 13:00:56 + 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 . 13:00:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:00:56 df20fa9351a1: Pulling fs layer 13:00:56 ed8968b2872e: Pulling fs layer 13:00:56 a92cc7c5fd73: Pulling fs layer 13:00:56 e871e8e8d7a9: Pulling fs layer 13:00:56 e73272ec9a57: Pulling fs layer 13:00:56 1e910a182e73: Pulling fs layer 13:00:56 4e634b169226: Pulling fs layer 13:00:56 e871e8e8d7a9: Waiting 13:00:56 e73272ec9a57: Waiting 13:00:56 a92cc7c5fd73: Verifying Checksum 13:00:56 a92cc7c5fd73: Download complete 13:00:56 ed8968b2872e: Download complete 13:00:56 e73272ec9a57: Download complete 13:00:56 1e910a182e73: Download complete 13:00:56 df20fa9351a1: Verifying Checksum 13:00:56 df20fa9351a1: Download complete 13:00:56 df20fa9351a1: Pull complete 13:00:56 Sending build context to Docker daemon 3.149MB 13:00:56 Step 1/24 : ARG BASE=golang:1.15-alpine 13:00:56 Step 2/24 : FROM ${BASE} AS builder 13:00:56 ---> be59625e2432 13:00:56 Step 3/24 : ARG MAKE='make build' 13:00:56 ed8968b2872e: Pull complete 13:00:56 ---> Running in 2516d9c60141 13:00:56 a92cc7c5fd73: Pull complete 13:00:57 Removing intermediate container 2516d9c60141 13:00:57 ---> d75380ab03a0 13:00:57 Step 4/24 : WORKDIR /device-sdk-go 13:00:57 ---> Running in 427b621984c1 13:00:57 Removing intermediate container 427b621984c1 13:00:57 ---> b8cccb95fcf9 13:00:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:00:58 ---> Running in 4ac294ec8bbb 13:00:58 Removing intermediate container 4ac294ec8bbb 13:00:58 ---> 250197f7edab 13:00:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:00:58 4e634b169226: Verifying Checksum 13:00:58 4e634b169226: Download complete 13:00:58 ---> Running in 034afe6461e9 13:00:58 e871e8e8d7a9: Verifying Checksum 13:00:58 e871e8e8d7a9: Download complete 13:01:01 Removing intermediate container 034afe6461e9 13:01:01 ---> 88e9a4154cc0 13:01:01 Step 7/24 : RUN apk add --update --no-cache make git 13:01:01 ---> Running in c1ac15bb8244 13:01:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:01:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:01:04 OK: 142 MiB in 39 packages 13:01:05 Removing intermediate container c1ac15bb8244 13:01:05 ---> c53c7143bba6 13:01:05 Step 8/24 : COPY . . 13:01:05 e871e8e8d7a9: Pull complete 13:01:05 e73272ec9a57: Pull complete 13:01:05 1e910a182e73: Pull complete 13:01:06 ---> c3d9d9fe2a96 13:01:06 Step 9/24 : RUN ${MAKE} 13:01:06 ---> Running in 824b4407e074 13:01:08 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 13:01:09 4e634b169226: Pull complete 13:01:09 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 13:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:01:09 ---> f7629b54cfaa 13:01:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:01:09 ---> Running in 8ccf82671595 13:01:10 Removing intermediate container 8ccf82671595 13:01:10 ---> a292f8633907 13:01:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:10 ---> Running in 9ceb1f81fc9f 13:01:11 Removing intermediate container 9ceb1f81fc9f 13:01:11 ---> 5c7a240e3af3 13:01:11 Step 5/8 : RUN apk add --no-cache make git 13:01:11 ---> Running in 3ce1660309b4 13:01:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:01:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:01:13 OK: 166 MiB in 39 packages 13:01:13 Removing intermediate container 3ce1660309b4 13:01:13 ---> a2bf4f27bf7a 13:01:13 Step 6/8 : WORKDIR /device-sdk-go 13:01:13 ---> Running in 09f858ff924a 13:01:14 Removing intermediate container 09f858ff924a 13:01:14 ---> 0ec55bb5329b 13:01:14 Step 7/8 : COPY . . 13:01:14 ---> b1f9002361ea 13:01:14 Step 8/8 : RUN go mod download 13:01:15 ---> Running in 0080386c8baa 13:01:27 Removing intermediate container 0080386c8baa 13:01:27 ---> 2b1b16a5ac53 13:01:27 Successfully built 2b1b16a5ac53 13:01:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:01:27 + docker inspect -f . ci-base-image-x86_64 13:01:27 . [Pipeline] withDockerContainer 13:01:28 prd-centos7-docker-4c-2g-567 does not seem to be running inside a container 13:01:28 $ 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 13:01:29 $ docker top 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:30 + go version 13:01:30 go version go1.15.2 linux/amd64 [Pipeline] } 13:01:30 $ docker stop --time=1 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 13:01:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:01:31 $ docker rm -f 30429aafc3d7f813d2bc61933e6ce70773ef7723ceafef10b45f31df2d5fdb67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 13:01:32 Removing intermediate container 824b4407e074 13:01:32 ---> 56cfb245ffa4 13:01:32 Step 10/24 : FROM scratch 13:01:32 ---> 13:01:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:01:32 ---> Running in 032aa888eec6 Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:32 Removing intermediate container 032aa888eec6 13:01:32 ---> 06e66d4beaa1 13:01:32 Step 12/24 : ENV APP_PORT=49990 13:01:32 ---> Running in cac053878500 13:01:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:33 Removing intermediate container cac053878500 13:01:33 ---> 6a10bb910819 13:01:33 Step 13/24 : EXPOSE $APP_PORT 13:01:33 + ls -al . 13:01:33 total 64 13:01:33 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 13:00 . 13:01:33 drwxrwxr-x. 4 jenkins jenkins 30 Sep 20 13:00 .. 13:01:33 drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 13:00 bin 13:01:33 -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 13:00 Dockerfile.build 13:01:33 -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 13:00 .dockerignore 13:01:33 drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 13:00 example 13:01:33 drwxrwxr-x. 8 jenkins jenkins 162 Sep 20 13:00 .git 13:01:33 drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 13:00 .github 13:01:33 -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 13:00 .gitignore 13:01:33 -rw-rw-r--. 1 jenkins jenkins 446 Sep 20 13:00 go.mod 13:01:33 drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 13:00 internal 13:01:33 -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 13:00 Jenkinsfile 13:01:33 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 13:00 LICENSE 13:01:33 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 13:00 Makefile 13:01:33 drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 13:00 openapi 13:01:33 drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 13:00 pkg 13:01:33 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 13:00 README.md 13:01:33 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 13:00 RELEASE-NOTES.txt 13:01:33 drwxrwxr-x. 3 jenkins jenkins 44 Sep 20 13:00 .semver 13:01:33 drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 13:00 snap 13:01:33 -rw-rw-r--. 1 jenkins jenkins 12 Sep 20 12:57 VERSION 13:01:33 -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 13:00 version.go [Pipeline] isUnix [Pipeline] sh 13:01:33 ---> Running in 9960e703ff8a 13:01:33 + 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 . 13:01:33 Removing intermediate container 9960e703ff8a 13:01:33 ---> ce22cfc145ba 13:01:33 Step 14/24 : WORKDIR / 13:01:33 ---> Running in 2561130c8605 13:01:33 Sending build context to Docker daemon 3.151MB 13:01:33 Step 1/24 : ARG BASE=golang:1.15-alpine 13:01:33 Step 2/24 : FROM ${BASE} AS builder 13:01:33 ---> 2b1b16a5ac53 13:01:33 Step 3/24 : ARG MAKE='make build' 13:01:34 ---> Running in 55ce73f17716 13:01:34 Removing intermediate container 2561130c8605 13:01:34 ---> 269a804d9083 13:01:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:01:34 Removing intermediate container 55ce73f17716 13:01:34 ---> a6883a1a477b 13:01:34 Step 4/24 : WORKDIR /device-sdk-go 13:01:34 ---> Running in 19726feae922 13:01:34 Removing intermediate container 19726feae922 13:01:34 ---> 1cbbba892f22 13:01:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:01:34 ---> Running in ac7d3888399c 13:01:35 Removing intermediate container ac7d3888399c 13:01:35 ---> 9ad63e06f0fd 13:01:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:35 ---> Running in 8a2ffe214a27 13:01:35 ---> ce582592e851 13:01:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:01:36 ---> 9505b345e7d7 13:01:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:01:36 Removing intermediate container 8a2ffe214a27 13:01:36 ---> 691f9bf5e88b 13:01:36 Step 7/24 : RUN apk add --update --no-cache make git 13:01:36 ---> Running in 849067230ac2 13:01:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:01:36 ---> 4520e045c279 13:01:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:01:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:01:37 ---> 822147633f66 13:01:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:01:37 OK: 166 MiB in 39 packages 13:01:38 Removing intermediate container 849067230ac2 13:01:38 ---> df51f3c5ac1c 13:01:38 Step 8/24 : COPY . . 13:01:38 ---> db02e261bb02 13:01:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:01:38 ---> Running in b77558aa36fb 13:01:39 Removing intermediate container b77558aa36fb 13:01:39 ---> 562e41c4ec27 13:01:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:01:39 ---> Running in 93f195dc82fa 13:01:39 ---> 50cb1c5cb47e 13:01:39 Step 9/24 : RUN ${MAKE} 13:01:39 ---> Running in ca2e740b63f9 13:01:39 Removing intermediate container 93f195dc82fa 13:01:39 ---> 64413975743c 13:01:39 Step 22/24 : LABEL arch=arm64 13:01:39 ---> Running in 2753f3db05d3 13:01:39 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 13:01:40 Removing intermediate container 2753f3db05d3 13:01:40 ---> 54f3f106b854 13:01:40 Step 23/24 : LABEL git_sha=0916c9033c71b8931055140091788f6fe2f32c33 13:01:40 ---> Running in de610770f33c 13:01:40 Removing intermediate container de610770f33c 13:01:40 ---> 7291f8fe7f7d 13:01:40 Step 24/24 : LABEL version=1.2.4-dev.14 13:01:40 ---> Running in 591e470dee79 13:01:41 Removing intermediate container 591e470dee79 13:01:41 ---> 4c1bd3b2c4c6 13:01:41 [Warning] One or more build-args [ARCH] were not consumed 13:01:41 Successfully built 4c1bd3b2c4c6 13:01:41 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] } 13:01:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:01:49 Removing intermediate container ca2e740b63f9 13:01:49 ---> deba22feec15 13:01:49 Step 10/24 : FROM scratch 13:01:49 ---> 13:01:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:01:49 ---> Running in bbebf1c8d5e1 13:01:49 Removing intermediate container bbebf1c8d5e1 13:01:49 ---> 3cf8ca82be91 13:01:49 Step 12/24 : ENV APP_PORT=49990 13:01:49 ---> Running in 6b3417751433 13:01:49 Removing intermediate container 6b3417751433 13:01:49 ---> 22a1059a51d9 13:01:49 Step 13/24 : EXPOSE $APP_PORT 13:01:49 ---> Running in 2ceb63da032a 13:01:50 Removing intermediate container 2ceb63da032a 13:01:50 ---> 5b7d1a27ee07 13:01:50 Step 14/24 : WORKDIR / 13:01:50 ---> Running in 264554ad1a79 13:01:50 Removing intermediate container 264554ad1a79 13:01:50 ---> 984050b13248 13:01:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:01:50 ---> 6bc8ec214fa0 13:01:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:01:50 ---> 1df3ae6dbdae 13:01:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:01:51 ---> a9a02d8dde8c 13:01:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:01:51 ---> 57f221e61ce8 13:01:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:01:51 ---> 949aa4a72a50 13:01:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:01:51 ---> Running in 5e210bd8891a 13:01:52 Removing intermediate container 5e210bd8891a 13:01:52 ---> 8eeddf24ed3d 13:01:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:01:52 ---> Running in b9f29c0ce764 13:01:52 Removing intermediate container b9f29c0ce764 13:01:52 ---> f570b4fa4724 13:01:52 Step 22/24 : LABEL arch=amd64 13:01:52 ---> Running in ebb16c3da496 13:01:52 Removing intermediate container ebb16c3da496 13:01:52 ---> 9f58f2bcf9c9 13:01:52 Step 23/24 : LABEL git_sha=0916c9033c71b8931055140091788f6fe2f32c33 13:01:52 ---> Running in c711015e694e 13:01:52 Removing intermediate container c711015e694e 13:01:52 ---> 6ec26eb307f6 13:01:52 Step 24/24 : LABEL version=1.2.4-dev.14 13:01:52 ---> Running in fe6ecf7d5cfa 13:01:52 Removing intermediate container fe6ecf7d5cfa 13:01:52 ---> 729efa91111f 13:01:52 [Warning] One or more build-args [ARCH] were not consumed 13:01:52 Successfully built 729efa91111f 13:01:52 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 13:01:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 13:01:55 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 13:01:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 13:01:55 13:01:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 13:01:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 13:01:55 1.317.0: Pulling from edgex-devops/edgex-snyk-go 13:01:55 cbdbe7a5bc2a: Pulling fs layer 13:01:55 408f87550127: Pulling fs layer 13:01:55 fe522b08c979: Pulling fs layer 13:01:55 221eaa008020: Pulling fs layer 13:01:55 2a4607e5d6b9: Pulling fs layer 13:01:55 8f79b27c4fd2: Pulling fs layer 13:01:55 e5c8dbe1645b: Pulling fs layer 13:01:55 23e8b3b47431: Pulling fs layer 13:01:55 5c568d65a230: Pulling fs layer 13:01:55 23e8b3b47431: Waiting 13:01:55 2a4607e5d6b9: Waiting 13:01:55 8f79b27c4fd2: Waiting 13:01:55 5c568d65a230: Waiting 13:01:55 e5c8dbe1645b: Waiting 13:01:55 221eaa008020: Waiting 13:01:55 fe522b08c979: Verifying Checksum 13:01:55 fe522b08c979: Download complete 13:01:55 408f87550127: Download complete 13:01:55 2a4607e5d6b9: Verifying Checksum 13:01:55 2a4607e5d6b9: Download complete 13:01:55 8f79b27c4fd2: Verifying Checksum 13:01:55 8f79b27c4fd2: Download complete 13:01:55 cbdbe7a5bc2a: Verifying Checksum 13:01:55 cbdbe7a5bc2a: Download complete 13:01:56 cbdbe7a5bc2a: Pull complete 13:01:56 408f87550127: Pull complete 13:01:56 fe522b08c979: Pull complete 13:01:57 e5c8dbe1645b: Verifying Checksum 13:01:57 e5c8dbe1645b: Download complete 13:01:58 23e8b3b47431: Verifying Checksum 13:01:58 23e8b3b47431: Download complete 13:01:58 5c568d65a230: Verifying Checksum 13:01:58 5c568d65a230: Download complete 13:01:59 221eaa008020: Download complete 13:02:04 221eaa008020: Pull complete 13:02:04 2a4607e5d6b9: Pull complete 13:02:04 8f79b27c4fd2: Pull complete 13:02:06 e5c8dbe1645b: Pull complete 13:02:10 23e8b3b47431: Pull complete 13:02:11 5c568d65a230: Pull complete 13:02:11 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 13:02:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 13:02:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 13:02:11 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:02:11 $ 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 13:02:12 $ docker top 56cad9a0ebf04d65e357b7304eb7ca40ac9d29c9fa7edd139782a8ee9c9d40d0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:12 + snyk monitor '--org=edgex-jenkins' 13:02:24 13:02:24 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 13:02:24 13:02:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/55debb15-ac5d-4ffc-bab4-0c7927beb9b5 13:02:24 13:02:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:02:24 13:02:24 13:02:24 Snyk CLI supports Node.js 8 and higher. 13:02:24 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 13:02:24 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 13:02:24 13:02:24 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 13:02:24 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 13:02:24 $ docker stop --time=1 56cad9a0ebf04d65e357b7304eb7ca40ac9d29c9fa7edd139782a8ee9c9d40d0 13:02:26 $ 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 13:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:02:28 . [Pipeline] withDockerContainer 13:02:28 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:02:28 $ 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 13:02:29 $ docker top 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:02:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:29 [ssh-agent] Looking for ssh-agent implementation... 13:02:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:30 $ docker exec 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 ssh-agent 13:02:30 SSH_AUTH_SOCK=/tmp/ssh-6MerrQMdqYJp/agent.13 13:02:30 SSH_AGENT_PID=18 13:02:30 Running ssh-add (command line suppressed) 13:02:30 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) 13:02:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:02:30 + git semver tag 13:02:30 # -> Open(): unable to determine branch for HEAD 13:02:30 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 13:02:30 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 13:02:30 # $SEMVER_REMOTE_NAME = origin 13:02:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:02:30 # $SEMVER_USER_NAME = edgex-jenkins 13:02:30 # $SEMVER_BRANCH = master 13:02:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 13:02:30 # 0916c9033c71b8931055140091788f6fe2f32c33 HEAD 13:02:30 # -> Force: false 13:02:30 # 63ec2a79f857841e9b66d7830127f0c611c27ed7 refs/tags/v1.2.4-dev.14 [Pipeline] } 13:02:30 $ docker exec --env ******** --env ******** 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 ssh-agent -k 13:02:30 unset SSH_AUTH_SOCK; 13:02:30 unset SSH_AGENT_PID; 13:02:30 echo Agent pid 18 killed; 13:02:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:02:31 + git semver [Pipeline] } 13:02:31 $ docker stop --time=1 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 13:02:32 $ docker rm -f 99800a1e5764e64a624b32f5105f17d5d9406e635ebbedf305c9719b2cf74a52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:02:33 13:02:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:02:33 0.23.1-centos7: Pulling from edgex-lftools 13:02:33 ab5ef0e58194: Pulling fs layer 13:02:33 9712f1f96733: Pulling fs layer 13:02:33 63f879dbbcfc: Pulling fs layer 13:02:33 0d9ebad4ef96: Pulling fs layer 13:02:33 e9a5061849ea: Pulling fs layer 13:02:33 d747dcd14b5f: Pulling fs layer 13:02:33 2de7ff778b66: Pulling fs layer 13:02:33 d747dcd14b5f: Waiting 13:02:33 e9a5061849ea: Waiting 13:02:33 0d9ebad4ef96: Waiting 13:02:33 9712f1f96733: Download complete 13:02:35 63f879dbbcfc: Download complete 13:02:35 e9a5061849ea: Verifying Checksum 13:02:35 e9a5061849ea: Download complete 13:02:35 d747dcd14b5f: Verifying Checksum 13:02:35 d747dcd14b5f: Download complete 13:02:36 0d9ebad4ef96: Verifying Checksum 13:02:36 0d9ebad4ef96: Download complete 13:02:36 2de7ff778b66: Verifying Checksum 13:02:36 2de7ff778b66: Download complete 13:02:36 ab5ef0e58194: Verifying Checksum 13:02:36 ab5ef0e58194: Download complete 13:02:40 ab5ef0e58194: Pull complete 13:02:40 9712f1f96733: Pull complete 13:02:43 63f879dbbcfc: Pull complete 13:02:49 0d9ebad4ef96: Pull complete 13:02:49 e9a5061849ea: Pull complete 13:02:49 d747dcd14b5f: Pull complete 13:02:53 2de7ff778b66: Pull complete 13:02:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:02:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:02:54 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:02:54 $ 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 13:02:57 $ docker top e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:02:57 provisioning config files... 13:02:57 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config344879149189020384tmp 13:02:57 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8073209464266269282tmp 13:02:58 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4756497050058519312tmp [Pipeline] { [Pipeline] echo 13:02:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:02:58 ---> sigul-configuration.sh 13:02:58 gpg: directory `/root/.gnupg' created 13:02:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:02:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:02:58 gpg: keyring `/root/.gnupg/secring.gpg' created 13:02:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:02:58 gpg: CAST5 encrypted data 13:02:58 gpg: encrypted with 1 passphrase 13:02:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:02:58 + mkdir /home/jenkins 13:02:58 + mkdir /home/jenkins/sigul [Pipeline] sh 13:02:59 + 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 13:02:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:02:59 ---> sigul-install.sh 13:03:04 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 13:03:05 + git tag --list 13:03:05 v1.2.4-dev.14 [Pipeline] sh 13:03:05 + lftools sign git-tag v1.2.4-dev.14 13:03:06 Signing Git tag with Sigul... 13:03:06 Signing v1.2.4-dev.14 [Pipeline] echo 13:03:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:03:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:03:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:03:08 $ docker stop --time=1 e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e 13:03:10 $ docker rm -f e55057a5af6432842602753d8b99a863717e06362844dd759746d3544d516f9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 13:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:03:11 . [Pipeline] withDockerContainer 13:03:11 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:03:11 $ 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 13:03:12 $ docker top 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:03:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:12 [ssh-agent] Looking for ssh-agent implementation... 13:03:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:12 $ docker exec 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d ssh-agent 13:03:12 SSH_AUTH_SOCK=/tmp/ssh-0TwxRcnOY9Fo/agent.12 13:03:12 SSH_AGENT_PID=17 13:03:12 Running ssh-add (command line suppressed) 13:03:12 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) 13:03:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:13 + git semver bump pre 13:03:13 # -> Open(): unable to determine branch for HEAD 13:03:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 13:03:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 13:03:13 # $SEMVER_REMOTE_NAME = origin 13:03:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:03:13 # $SEMVER_USER_NAME = edgex-jenkins 13:03:13 # $SEMVER_BRANCH = master 13:03:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 13:03:13 1.2.4-dev.15 [Pipeline] } 13:03:13 $ docker exec --env ******** --env ******** 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d ssh-agent -k 13:03:13 unset SSH_AUTH_SOCK; 13:03:13 unset SSH_AGENT_PID; 13:03:13 echo Agent pid 17 killed; 13:03:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:14 + git semver [Pipeline] } 13:03:14 $ docker stop --time=1 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d 13:03:15 $ docker rm -f 41c13868201c0a1ded45b1ce8692b63c3438a479baf9587e9f05354a17f45e0d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 13:03:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:03:15 . [Pipeline] withDockerContainer 13:03:15 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:03:16 $ 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 13:03:16 $ docker top e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:03:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:16 [ssh-agent] Looking for ssh-agent implementation... 13:03:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:17 $ docker exec e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 ssh-agent 13:03:17 SSH_AUTH_SOCK=/tmp/ssh-Tp7U6SuDh4LA/agent.11 13:03:17 SSH_AGENT_PID=17 13:03:17 Running ssh-add (command line suppressed) 13:03:17 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) 13:03:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:17 + git semver push 13:03:17 # -> Open(): unable to determine branch for HEAD 13:03:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 13:03:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 13:03:17 # $SEMVER_REMOTE_NAME = origin 13:03:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:03:17 # $SEMVER_USER_NAME = edgex-jenkins 13:03:17 # $SEMVER_BRANCH = master 13:03:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 13:03:24 $ docker exec --env ******** --env ******** e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 ssh-agent -k 13:03:24 unset SSH_AUTH_SOCK; 13:03:24 unset SSH_AGENT_PID; 13:03:24 echo Agent pid 17 killed; 13:03:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:25 + git semver [Pipeline] } 13:03:25 $ docker stop --time=1 e4f71ddeb52c45b640c064cbbc10b2dc553925321adca8ee7a83d7fe3a9c3a80 13:03:26 $ 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 13:03:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> package-listing.sh 13:03:28 ++ facter osfamily 13:03:28 ++ tr '[:upper:]' '[:lower:]' 13:03:28 + OS_FAMILY=redhat 13:03:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 13:03:28 + START_PACKAGES=/tmp/packages_start.txt 13:03:28 + END_PACKAGES=/tmp/packages_end.txt 13:03:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:03:28 + PACKAGES=/tmp/packages_start.txt 13:03:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 13:03:28 + PACKAGES=/tmp/packages_end.txt 13:03:28 + case "${OS_FAMILY}" in 13:03:28 + rpm -qa 13:03:28 + sort 13:03:32 + '[' -f /tmp/packages_start.txt ']' 13:03:32 + '[' -f /tmp/packages_end.txt ']' 13:03:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:03:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 13:03:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 13:03:32 + 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 13:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:03:33 13:03:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:03:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:03:33 alpine: Pulling from edgex-lftools-log-publisher 13:03:33 df20fa9351a1: Pulling fs layer 13:03:33 36b3adc4ff6f: Pulling fs layer 13:03:33 8ad3a11d3b57: Pulling fs layer 13:03:33 46f8f816bc3b: Pulling fs layer 13:03:33 0dadc02b9964: Pulling fs layer 13:03:33 ce6a7cf60c04: Pulling fs layer 13:03:33 7a184a31f384: Pulling fs layer 13:03:33 0879bd2ef858: Pulling fs layer 13:03:33 46f8f816bc3b: Waiting 13:03:33 ce6a7cf60c04: Waiting 13:03:33 7a184a31f384: Waiting 13:03:33 0879bd2ef858: Waiting 13:03:33 0dadc02b9964: Waiting 13:03:33 36b3adc4ff6f: Verifying Checksum 13:03:33 36b3adc4ff6f: Download complete 13:03:33 46f8f816bc3b: Verifying Checksum 13:03:33 46f8f816bc3b: Download complete 13:03:33 df20fa9351a1: Verifying Checksum 13:03:33 df20fa9351a1: Download complete 13:03:33 ce6a7cf60c04: Verifying Checksum 13:03:33 ce6a7cf60c04: Download complete 13:03:33 7a184a31f384: Verifying Checksum 13:03:33 7a184a31f384: Download complete 13:03:33 0dadc02b9964: Verifying Checksum 13:03:33 0dadc02b9964: Download complete 13:03:33 8ad3a11d3b57: Verifying Checksum 13:03:33 8ad3a11d3b57: Download complete 13:03:33 df20fa9351a1: Pull complete 13:03:34 0879bd2ef858: Verifying Checksum 13:03:34 0879bd2ef858: Download complete 13:03:34 36b3adc4ff6f: Pull complete 13:03:35 8ad3a11d3b57: Pull complete 13:03:35 46f8f816bc3b: Pull complete 13:03:35 0dadc02b9964: Pull complete 13:03:35 ce6a7cf60c04: Pull complete 13:03:35 7a184a31f384: Pull complete 13:03:38 0879bd2ef858: Pull complete 13:03:38 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 13:03:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:03:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:03:39 prd-centos7-docker-4c-2g-565 does not seem to be running inside a container 13:03:39 $ 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 13:03:41 $ docker top 04cad87879ff876e37a971980f24f5c844d3d464dbf82b5d136ad25377bedbdf -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:42 + mkdir -p /var/log/sa [Pipeline] sh 13:03:42 + ls /var/log/sa-host 13:03:42 + sadf -c /var/log/sa-host/sa05 13:03:42 file_magic: OK 13:03:42 HZ: Using current value: 100 13:03:42 file_header: OK 13:03:42 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 13:03:42 Statistics: 13:03:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:03:42 File successfully converted to sysstat format version 12.2.1 13:03:42 + sadf -c /var/log/sa-host/sa20 13:03:42 file_magic: OK 13:03:42 HZ: Using current value: 100 13:03:42 file_header: OK 13:03:42 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 13:03:42 Statistics: 13:03:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:03:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:42 provisioning config files... 13:03:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8937369784477232448tmp [Pipeline] { [Pipeline] echo 13:03:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:03:43 ---> create-netrc.sh [Pipeline] echo 13:03:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:03:43 ---> logs-deploy.sh 13:03:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/64 13:03:43 INFO: archiving workspace using pattern(s): 13:03:44 Archives upload complete. 13:03:44 INFO: archiving logs to Nexus