Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Jenkins-Imposed API Limiter: Current quota for Github API usage has 3859 remaining (238 under budget). Next quota of 5000 in 53 min Jenkins-Imposed API Limiter: Current quota for Github API usage has 3856 remaining (236 under budget). Next quota of 5000 in 53 min Jenkins-Imposed API Limiter: Current quota for Github API usage has 3853 remaining (233 under budget). Next quota of 5000 in 53 min Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Loading trusted files from base branch master at 93ede67d7b538e9acd9cb68b0396d1389d21b332 rather than 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Obtained Jenkinsfile from 93ede67d7b538e9acd9cb68b0396d1389d21b332 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 ‘prd-centos7-docker-4c-2g-480’ is offline Running on prd-centos7-docker-4c-2g-482 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-42 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 Fetching without tags > 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-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # 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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 Merge succeeded, producing d63a9c950c40a10b6f4b68dc676cd489cfd36e80 Checking out Revision d63a9c950c40a10b6f4b68dc676cd489cfd36e80 (PR-42) > git config core.sparsecheckout # timeout=10 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d63a9c950c40a10b6f4b68dc676cd489cfd36e80 # timeout=10 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" > git rev-list --no-walk 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:07:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:07:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:07:47 ========================================================= 03:07:47 EdgeX Global Pipelines Version Info 03:07:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:07:49 ------------------- 03:07:49 stable info: 03:07:49 ------------------- 03:07:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:49 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 03:07:49 Message: update stable to v1.0.122 03:07:49 ------------------- 03:07:49 experimental info: 03:07:49 ------------------- 03:07:49 Commited By: **** collab-it+edgex@linuxfoundation.org 03:07:49 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 03:07:49 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:07:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:07:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d63a9c950c40a10b6f4b68dc676cd489cfd36e80 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d63a9c9 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:53 + git log --format=format:%s -1 d63a9c950c40a10b6f4b68dc676cd489cfd36e80 [Pipeline] echo 03:07:53 GIT_COMMIT: d63a9c950c40a10b6f4b68dc676cd489cfd36e80, Commit Message: Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD [Pipeline] echo 03:07:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:54 03:07:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:07:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:55 latest: Pulling from edgex-devops/git-semver 03:07:55 31603596830f: Pulling fs layer 03:07:55 2a8b12db71e7: Pulling fs layer 03:07:55 6ca5941a6612: Pulling fs layer 03:07:55 ecc8261a40a4: Pulling fs layer 03:07:55 ecc8261a40a4: Waiting 03:07:55 2a8b12db71e7: Verifying Checksum 03:07:55 2a8b12db71e7: Download complete 03:07:55 31603596830f: Download complete 03:07:55 ecc8261a40a4: Verifying Checksum 03:07:55 ecc8261a40a4: Download complete 03:07:55 6ca5941a6612: Verifying Checksum 03:07:55 6ca5941a6612: Download complete 03:07:55 31603596830f: Pull complete 03:07:56 2a8b12db71e7: Pull complete 03:07:56 6ca5941a6612: Pull complete 03:07:57 ecc8261a40a4: Pull complete 03:07:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:07:57 prd-centos7-docker-4c-2g-482 does not seem to be running inside a container 03:07:57 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:07:58 $ docker top d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:59 [ssh-agent] Looking for ssh-agent implementation... 03:07:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:59 $ docker exec d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab ssh-agent 03:07:59 SSH_AUTH_SOCK=/tmp/ssh-bIICSCwTRat5/agent.11 03:07:59 SSH_AGENT_PID=16 03:07:59 Running ssh-add (command line suppressed) 03:07:59 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_5564889226427319090.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_5564889226427319090.key) 03:07:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:00 + git describe --exact-match --tags HEAD 03:08:00 fatal: No names found, cannot describe anything. [Pipeline] } 03:08:00 $ docker exec --env ******** --env ******** d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab ssh-agent -k 03:08:00 unset SSH_AUTH_SOCK; 03:08:00 unset SSH_AGENT_PID; 03:08:00 echo Agent pid 16 killed; 03:08:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:08:00 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:08:00 This usually means this commit has not been tagged. [Pipeline] sshagent 03:08:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:00 [ssh-agent] Looking for ssh-agent implementation... 03:08:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:00 $ docker exec d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab ssh-agent 03:08:00 SSH_AUTH_SOCK=/tmp/ssh-Z3EfAH1C2yhL/agent.44 03:08:00 SSH_AGENT_PID=49 03:08:00 Running ssh-add (command line suppressed) 03:08:01 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_8551593731875214935.key (/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/private_key_8551593731875214935.key) 03:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:01 + git semver init 03:08:01 # -> Open(): unable to determine branch for HEAD 03:08:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.git 03:08:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-42 03:08:01 # $SEMVER_REMOTE_NAME = origin 03:08:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:08:01 # $SEMVER_USER_NAME = edgex-jenkins 03:08:01 # $SEMVER_BRANCH = PR-42 03:08:01 # $SEMVER_TEMP = /tmp/semver-257526063 03:08:01 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 03:08:02 # '/tmp/semver-257526063' -> '/w/workspace/dgexfoundry_device-rest-go_PR-42/.semver' 03:08:02 # -> Force: false 03:08:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-42/.semver [Pipeline] } 03:08:02 $ docker exec --env ******** --env ******** d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab ssh-agent -k 03:08:02 unset SSH_AUTH_SOCK; 03:08:02 unset SSH_AGENT_PID; 03:08:02 echo Agent pid 49 killed; 03:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:03 + git semver [Pipeline] } 03:08:03 $ docker stop --time=1 d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab 03:08:04 $ docker rm -f d0a395fc6cc9c5adb9ef5174e04a9ce6dcbd238ff228bfe9d1dee0a7cd489bab [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:08:06 Stashed 23 file(s) [Pipeline] echo 03:08:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 03:08:06 Archived original version: [0.0.0] [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 03:08:21 Still waiting to schedule task 03:08:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:08:21 Still waiting to schedule task 03:08:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:10:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-483 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 03:10:18 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 03:10:23 using credential edgex-jenkins-ssh 03:10:23 Cloning the remote Git repository 03:10:23 Cloning with configured refspecs honoured and without tags 03:10:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:10:23 > git init /w/workspace/device-rest-go/6 # timeout=10 03:10:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:10:23 > git --version # timeout=10 03:10:23 > git --version # 'git version 2.17.1' 03:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:25 Fetching without tags 03:10:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:10:25 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 03:10:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:10:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:10:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:25 Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 03:10:26 Merge succeeded, producing 93de29e2de7e7227bbe23ef676e5f0036cbff362 03:10:26 Checking out Revision 93de29e2de7e7227bbe23ef676e5f0036cbff362 (PR-42) 03:10:25 > git config core.sparsecheckout # timeout=10 03:10:25 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 03:10:26 > git remote # timeout=10 03:10:26 > git config --get remote.origin.url # timeout=10 03:10:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:26 > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 03:10:26 > git rev-parse HEAD^{commit} # timeout=10 03:10:26 > git config core.sparsecheckout # timeout=10 03:10:26 > git checkout -f 93de29e2de7e7227bbe23ef676e5f0036cbff362 # timeout=10 03:10:30 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" 03:10:30 > git rev-list --no-walk 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:10:32 ========================================================= 03:10:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:10:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:10:33 + 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 . 03:10:34 Sending build context to Docker daemon 8.059MB 03:10:34 Step 1/10 : ARG BASE=golang:1.15-alpine 03:10:34 Step 2/10 : FROM ${BASE} 03:10:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:10:34 b538f80385f9: Pulling fs layer 03:10:34 74f711af9a0d: Pulling fs layer 03:10:34 99f96fe45779: Pulling fs layer 03:10:34 8529a6b9a6be: Pulling fs layer 03:10:34 45590311c82a: Pulling fs layer 03:10:34 69ca0ff8b7b3: Pulling fs layer 03:10:34 209524e5b208: Pulling fs layer 03:10:34 8529a6b9a6be: Waiting 03:10:34 45590311c82a: Waiting 03:10:34 69ca0ff8b7b3: Waiting 03:10:34 209524e5b208: Waiting 03:10:34 99f96fe45779: Verifying Checksum 03:10:34 99f96fe45779: Download complete 03:10:34 74f711af9a0d: Verifying Checksum 03:10:34 45590311c82a: Verifying Checksum 03:10:34 45590311c82a: Download complete 03:10:34 69ca0ff8b7b3: Download complete 03:10:35 b538f80385f9: Verifying Checksum 03:10:35 b538f80385f9: Download complete 03:10:35 b538f80385f9: Pull complete 03:10:36 74f711af9a0d: Pull complete 03:10:37 99f96fe45779: Pull complete 03:10:37 209524e5b208: Verifying Checksum 03:10:37 209524e5b208: Download complete 03:10:38 8529a6b9a6be: Verifying Checksum 03:10:38 8529a6b9a6be: Download complete 03:10:48 8529a6b9a6be: Pull complete 03:10:48 45590311c82a: Pull complete 03:10:49 69ca0ff8b7b3: Pull complete 03:10:53 Running on prd-centos7-docker-4c-2g-484 in /w/workspace/dgexfoundry_device-rest-go_PR-42 [Pipeline] { [Pipeline] ws 03:10:53 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 03:10:53 209524e5b208: Pull complete 03:10:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 03:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:10:53 ---> 5bddaf1c2fca 03:10:53 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 03:10:56 ---> Running in 9c65f2622dfe 03:10:56 Removing intermediate container 9c65f2622dfe 03:10:56 ---> 72e8b79c07db 03:10:56 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:10:56 ---> Running in ed470992b476 03:10:56 using credential edgex-jenkins-ssh 03:10:56 Cloning the remote Git repository 03:10:56 Cloning with configured refspecs honoured and without tags 03:10:56 Removing intermediate container ed470992b476 03:10:56 ---> f79a48334f9c 03:10:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:10:56 ---> Running in 7c94a5ce86d3 03:10:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:10:56 > git init /w/workspace/device-rest-go/6 # timeout=10 03:10:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:10:56 > git --version # timeout=10 03:10:56 > git --version # 'git version 2.16.5' 03:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:57 Removing intermediate container 7c94a5ce86d3 03:10:57 ---> 354b0727b86d 03:10:57 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:57 ---> Running in c2804dc2d4c8 03:10:57 Fetching without tags 03:10:58 Merging remotes/origin/master commit 93ede67d7b538e9acd9cb68b0396d1389d21b332 into PR head commit 6620aafa6b2c4d86d61147559de61a3b76df4ec2 03:10:58 Merge succeeded, producing 3c35c7439e16670b8ab7d5415bcfb85f5ff71450 03:10:58 Checking out Revision 3c35c7439e16670b8ab7d5415bcfb85f5ff71450 (PR-42) 03:10:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:10:57 > git config --add remote.origin.fetch +refs/pull/42/head:refs/remotes/origin/PR-42 # timeout=10 03:10:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:10:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:10:57 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:10:58 > git config core.sparsecheckout # timeout=10 03:10:58 > git checkout -f 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 03:10:58 > git remote # timeout=10 03:10:58 > git config --get remote.origin.url # timeout=10 03:10:58 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:58 > git merge 93ede67d7b538e9acd9cb68b0396d1389d21b332 # timeout=10 03:10:58 > git rev-parse HEAD^{commit} # timeout=10 03:10:58 > git config core.sparsecheckout # timeout=10 03:10:58 > git checkout -f 3c35c7439e16670b8ab7d5415bcfb85f5ff71450 # timeout=10 03:11:00 Removing intermediate container c2804dc2d4c8 03:11:00 ---> aa51c668a37e 03:11:00 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:11:00 ---> Running in 4c569254287c 03:11:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:11:01 Commit message: "Merge commit '93ede67d7b538e9acd9cb68b0396d1389d21b332' into HEAD" 03:11:01 > git rev-list --no-walk 6620aafa6b2c4d86d61147559de61a3b76df4ec2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:11:03 ========================================================= 03:11:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:11:03 ========================================================= 03:11:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh 03:11:03 OK: 142 MiB in 39 packages 03:11:04 + 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 . 03:11:04 Sending build context to Docker daemon 8.059MB 03:11:04 Step 1/10 : ARG BASE=golang:1.15-alpine 03:11:04 Step 2/10 : FROM ${BASE} 03:11:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:11:04 df20fa9351a1: Pulling fs layer 03:11:04 ed8968b2872e: Pulling fs layer 03:11:04 a92cc7c5fd73: Pulling fs layer 03:11:04 e871e8e8d7a9: Pulling fs layer 03:11:04 e73272ec9a57: Pulling fs layer 03:11:04 1e910a182e73: Pulling fs layer 03:11:04 4e634b169226: Pulling fs layer 03:11:04 e73272ec9a57: Waiting 03:11:04 1e910a182e73: Waiting 03:11:04 e871e8e8d7a9: Waiting 03:11:04 4e634b169226: Waiting 03:11:04 a92cc7c5fd73: Verifying Checksum 03:11:04 a92cc7c5fd73: Download complete 03:11:04 ed8968b2872e: Download complete 03:11:04 e73272ec9a57: Download complete 03:11:04 1e910a182e73: Verifying Checksum 03:11:04 1e910a182e73: Download complete 03:11:04 df20fa9351a1: Verifying Checksum 03:11:04 df20fa9351a1: Download complete 03:11:04 df20fa9351a1: Pull complete 03:11:05 ed8968b2872e: Pull complete 03:11:05 a92cc7c5fd73: Pull complete 03:11:05 Removing intermediate container 4c569254287c 03:11:05 ---> 10cc62907873 03:11:05 Step 8/10 : WORKDIR /device-rest-go 03:11:05 ---> Running in 53a990cf07c8 03:11:06 Removing intermediate container 53a990cf07c8 03:11:06 ---> b863df6bd8d4 03:11:06 Step 9/10 : COPY . . 03:11:06 4e634b169226: Verifying Checksum 03:11:06 4e634b169226: Download complete 03:11:07 ---> 475c93e98b26 03:11:07 Step 10/10 : RUN go mod download 03:11:07 e871e8e8d7a9: Verifying Checksum 03:11:07 e871e8e8d7a9: Download complete 03:11:07 ---> Running in 29ad3f57cc5d 03:11:12 e871e8e8d7a9: Pull complete 03:11:12 e73272ec9a57: Pull complete 03:11:12 1e910a182e73: Pull complete 03:11:19 4e634b169226: Pull complete 03:11:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 03:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:11:19 ---> f7629b54cfaa 03:11:19 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 03:11:19 ---> Running in d0bb08e00ee8 03:11:19 Removing intermediate container d0bb08e00ee8 03:11:19 ---> 4257f0608ce9 03:11:19 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:11:20 ---> Running in 9748fd82b124 03:11:20 Removing intermediate container 9748fd82b124 03:11:20 ---> 80bc589dac6f 03:11:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:11:20 ---> Running in 2fd4cbb5de7f 03:11:20 Removing intermediate container 2fd4cbb5de7f 03:11:20 ---> d658d454d8bb 03:11:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:20 ---> Running in 6daa430aa952 03:11:21 Removing intermediate container 6daa430aa952 03:11:21 ---> e19ddc179b33 03:11:21 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:11:21 ---> Running in 18a64dfef700 03:11:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:11:22 Removing intermediate container 29ad3f57cc5d 03:11:22 ---> 53c537b58048 03:11:22 Successfully built 53c537b58048 03:11:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:11:23 + docker inspect -f . ci-base-image-arm64 03:11:23 . [Pipeline] withDockerContainer 03:11:23 prd-ubuntu18.04-docker-arm64-4c-16g-483 does not seem to be running inside a container 03:11:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:11:23 OK: 166 MiB in 39 packages 03:11:23 Removing intermediate container 18a64dfef700 03:11:23 ---> d0cafd59b15e 03:11:23 Step 8/10 : WORKDIR /device-rest-go 03:11:24 ---> Running in f8bfccd7dd5d 03:11:24 Removing intermediate container f8bfccd7dd5d 03:11:24 ---> 47ec27fae88c 03:11:24 Step 9/10 : COPY . . 03:11:24 ---> 3b156ed5e7de 03:11:24 Step 10/10 : RUN go mod download 03:11:24 ---> Running in 03fc77fba6c2 03:11:25 $ docker top 68b025ebcad9d760bfe2facd01262dae9a01d6bc6402bfb6d6536c30257e92d3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:26 + go version 03:11:26 go version go1.15.2 linux/arm64 [Pipeline] } 03:11:26 $ docker stop --time=1 68b025ebcad9d760bfe2facd01262dae9a01d6bc6402bfb6d6536c30257e92d3 03:11:28 $ docker rm -f 68b025ebcad9d760bfe2facd01262dae9a01d6bc6402bfb6d6536c30257e92d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:11:29 + docker inspect -f . ci-base-image-arm64 03:11:29 . [Pipeline] withDockerContainer 03:11:30 prd-ubuntu18.04-docker-arm64-4c-16g-483 does not seem to be running inside a container 03:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:11:32 $ docker top 762920004aeb78cffe50960bdea50a1ad80005b542ab27114dd75ea4f79c8580 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:33 + make test 03:11:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:11:34 ? github.com/edgexfoundry/device-rest-go [no test files] 03:11:37 Removing intermediate container 03fc77fba6c2 03:11:37 ---> 955ea5ba5489 03:11:37 Successfully built 955ea5ba5489 03:11:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:11:37 + docker inspect -f . ci-base-image-x86_64 03:11:37 . [Pipeline] withDockerContainer 03:11:37 prd-centos7-docker-4c-2g-484 does not seem to be running inside a container 03:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:11:39 $ docker top 9d25fe6cdd014a3fe7af89ec45c9e71e889741885a8b9f1a9c6a3d26926fdcdc -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:39 + go version 03:11:39 go version go1.15.2 linux/amd64 [Pipeline] } 03:11:39 $ docker stop --time=1 9d25fe6cdd014a3fe7af89ec45c9e71e889741885a8b9f1a9c6a3d26926fdcdc 03:11:40 $ docker rm -f 9d25fe6cdd014a3fe7af89ec45c9e71e889741885a8b9f1a9c6a3d26926fdcdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:11:41 + docker inspect -f . ci-base-image-x86_64 03:11:41 . [Pipeline] withDockerContainer 03:11:42 prd-centos7-docker-4c-2g-484 does not seem to be running inside a container 03:11:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:11:42 $ docker top 4a791cec9f336b5c1d8adb5326fa0c8d68aa0cb2a05c349a30b77cfae8fda655 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:43 + make test 03:11:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:11:43 ? github.com/edgexfoundry/device-rest-go [no test files] 03:11:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:11:54 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements 03:11:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:11:55 gofmt -l . 03:11:55 [ "`gofmt -l .`" = "" ] 03:11:55 ./bin/test-go-mod-tidy.sh 03:11:55 ./bin/test-attribution-txt.sh [Pipeline] stash 03:11:56 Stashed 1 file(s) [Pipeline] } 03:11:56 $ docker stop --time=1 4a791cec9f336b5c1d8adb5326fa0c8d68aa0cb2a05c349a30b77cfae8fda655 03:11:58 $ docker rm -f 4a791cec9f336b5c1d8adb5326fa0c8d68aa0cb2a05c349a30b77cfae8fda655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:02 + ls -al . 03:12:02 total 96 03:12:02 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 19 03:11 . 03:12:02 drwxrwxr-x. 4 jenkins jenkins 28 Sep 19 03:10 .. 03:12:02 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 19 03:10 Attribution.txt 03:12:02 drwxrwxr-x. 2 jenkins jenkins 64 Sep 19 03:10 bin 03:12:02 drwxrwxr-x. 3 jenkins jenkins 32 Sep 19 03:10 cmd 03:12:02 -rw-r--r--. 1 jenkins jenkins 9369 Sep 19 03:11 coverage.out 03:12:02 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 19 03:10 Dockerfile 03:12:02 -rw-rw-r--. 1 jenkins jenkins 989 Sep 19 03:10 Dockerfile.build 03:12:02 -rw-rw-r--. 1 jenkins jenkins 151 Sep 19 03:10 .dockerignore 03:12:02 drwxrwxr-x. 2 jenkins jenkins 93 Sep 19 03:11 driver 03:12:02 drwxrwxr-x. 8 jenkins jenkins 179 Sep 19 03:11 .git 03:12:02 drwxrwxr-x. 2 jenkins jenkins 38 Sep 19 03:10 .github 03:12:02 -rw-rw-r--. 1 jenkins jenkins 339 Sep 19 03:10 .gitignore 03:12:02 -rw-r--r--. 1 jenkins jenkins 273 Sep 19 03:11 go.mod 03:12:02 -rw-r--r--. 1 jenkins jenkins 12547 Sep 19 03:11 go.sum 03:12:02 -rw-rw-r--. 1 jenkins jenkins 680 Sep 19 03:10 Jenkinsfile 03:12:02 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 19 03:10 LICENSE 03:12:02 -rw-rw-r--. 1 jenkins jenkins 951 Sep 19 03:10 Makefile 03:12:02 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 19 03:10 README.md 03:12:02 drwxrwxr-x. 3 jenkins jenkins 45 Sep 19 03:11 .semver 03:12:02 drwxrwxr-x. 4 jenkins jenkins 54 Sep 19 03:10 snap 03:12:02 -rw-rw-r--. 1 jenkins jenkins 5 Sep 19 03:08 VERSION 03:12:02 -rw-rw-r--. 1 jenkins jenkins 713 Sep 19 03:10 version.go [Pipeline] isUnix [Pipeline] sh 03:12:03 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d63a9c950c40a10b6f4b68dc676cd489cfd36e80 --label arch=amd64 --label version=0.0.0 . 03:12:03 Sending build context to Docker daemon 8.071MB 03:12:03 Step 1/25 : ARG BASE=golang:1.15-alpine 03:12:03 Step 2/25 : FROM ${BASE} AS builder 03:12:03 ---> 955ea5ba5489 03:12:03 Step 3/25 : ARG MAKE='make build' 03:12:03 ---> Running in a5144a7367a2 03:12:03 Removing intermediate container a5144a7367a2 03:12:03 ---> ed663a002596 03:12:03 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 03:12:03 ---> Running in 86d8178220d1 03:12:03 Removing intermediate container 86d8178220d1 03:12:03 ---> fcc3e21e5bd4 03:12:03 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:12:03 ---> Running in f7703861573c 03:12:03 Removing intermediate container f7703861573c 03:12:03 ---> 38b9ebff5475 03:12:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:04 ---> Running in 9febf6da2b98 03:12:05 Removing intermediate container 9febf6da2b98 03:12:05 ---> 2cdc23b16a16 03:12:05 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:05 ---> Running in e25e9ed7fa1f 03:12:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:12:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:12:06 OK: 166 MiB in 39 packages 03:12:06 Removing intermediate container e25e9ed7fa1f 03:12:06 ---> 9a5681697669 03:12:06 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 03:12:06 ---> Running in 26092a2eedfe 03:12:07 Removing intermediate container 26092a2eedfe 03:12:07 ---> bb21310bc992 03:12:07 Step 9/25 : COPY go.mod . 03:12:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:12:07 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements 03:12:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:12:07 ---> 99f3e9d0f020 03:12:07 Step 10/25 : COPY Makefile . 03:12:07 ---> 5bd8ed48d451 03:12:07 Step 11/25 : RUN make update 03:12:07 ---> Running in 87895035e63d 03:12:08 CGO_ENABLED=0 GO111MODULE=on go mod download 03:12:08 Removing intermediate container 87895035e63d 03:12:08 ---> b24e716d0382 03:12:08 Step 12/25 : COPY . . 03:12:09 ---> f90e8854a821 03:12:09 Step 13/25 : RUN $MAKE 03:12:09 ---> Running in c75cdfd71945 03:12:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 03:12:11 gofmt -l . 03:12:11 [ "`gofmt -l .`" = "" ] 03:12:11 ./bin/test-go-mod-tidy.sh 03:12:11 ./bin/test-attribution-txt.sh [Pipeline] stash 03:12:12 Warning: overwriting stash ‘coverage-report’ 03:12:13 Stashed 1 file(s) [Pipeline] } 03:12:13 $ docker stop --time=1 762920004aeb78cffe50960bdea50a1ad80005b542ab27114dd75ea4f79c8580 03:12:16 $ docker rm -f 762920004aeb78cffe50960bdea50a1ad80005b542ab27114dd75ea4f79c8580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:17 + ls -al . 03:12:17 total 128 03:12:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 03:12 . 03:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:10 .. 03:12:17 -rw-rw-r-- 1 jenkins jenkins 151 Sep 19 03:10 .dockerignore 03:12:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:10 .git 03:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:10 .github 03:12:17 -rw-rw-r-- 1 jenkins jenkins 339 Sep 19 03:10 .gitignore 03:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:10 .semver 03:12:17 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 19 03:10 Attribution.txt 03:12:17 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 19 03:10 Dockerfile 03:12:17 -rw-rw-r-- 1 jenkins jenkins 989 Sep 19 03:10 Dockerfile.build 03:12:17 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:10 Jenkinsfile 03:12:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:10 LICENSE 03:12:17 -rw-rw-r-- 1 jenkins jenkins 951 Sep 19 03:10 Makefile 03:12:17 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 19 03:10 README.md 03:12:17 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 03:08 VERSION 03:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:10 bin 03:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:10 cmd 03:12:17 -rw-r--r-- 1 jenkins jenkins 9369 Sep 19 03:12 coverage.out 03:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:12 driver 03:12:17 -rw-r--r-- 1 jenkins jenkins 273 Sep 19 03:12 go.mod 03:12:17 -rw-r--r-- 1 jenkins jenkins 12547 Sep 19 03:12 go.sum 03:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:10 snap 03:12:17 -rw-rw-r-- 1 jenkins jenkins 713 Sep 19 03:10 version.go [Pipeline] isUnix [Pipeline] sh 03:12:18 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d63a9c950c40a10b6f4b68dc676cd489cfd36e80 --label arch=arm64 --label version=0.0.0 . 03:12:18 Sending build context to Docker daemon 8.071MB 03:12:18 Step 1/25 : ARG BASE=golang:1.15-alpine 03:12:18 Step 2/25 : FROM ${BASE} AS builder 03:12:18 ---> 53c537b58048 03:12:18 Step 3/25 : ARG MAKE='make build' 03:12:18 ---> Running in 3eb8cd6db7bb 03:12:19 Removing intermediate container 3eb8cd6db7bb 03:12:19 ---> 0963abb9a621 03:12:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 03:12:19 ---> Running in c59b6e8a1bd5 03:12:19 Removing intermediate container c75cdfd71945 03:12:19 ---> ca1b81fa9636 03:12:19 Step 14/25 : FROM alpine:latest 03:12:19 latest: Pulling from library/alpine 03:12:19 df20fa9351a1: Already exists 03:12:19 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 03:12:19 Status: Downloaded newer image for alpine:latest 03:12:19 ---> a24bb4013296 03:12:19 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:12:19 ---> Running in e5b9972896d0 03:12:19 Removing intermediate container e5b9972896d0 03:12:19 ---> 47d6d471f1c4 03:12:19 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 03:12:19 ---> Running in 8e6a1ca07018 03:12:19 Removing intermediate container 8e6a1ca07018 03:12:19 ---> ba6fe9b76e97 03:12:19 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 03:12:19 ---> b05ff2ec2951 03:12:19 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 03:12:20 ---> 17613e08a43f 03:12:20 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 03:12:20 Removing intermediate container c59b6e8a1bd5 03:12:20 ---> 05adee14b9d1 03:12:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:12:20 ---> Running in 3f2af7a1b96d 03:12:20 Removing intermediate container 3f2af7a1b96d 03:12:20 ---> db7125a181aa 03:12:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:20 ---> 69aa5edb3811 03:12:20 Step 20/25 : EXPOSE 49986 03:12:20 ---> Running in c6b30bc8807a 03:12:20 ---> Running in e980c0503c6a 03:12:20 Removing intermediate container c6b30bc8807a 03:12:20 ---> 6e58b286dec1 03:12:20 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 03:12:20 ---> Running in 5c9ed00f907a 03:12:21 Removing intermediate container 5c9ed00f907a 03:12:21 ---> d910c77b43b6 03:12:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:12:21 ---> Running in 48a2734ee2e7 03:12:21 Removing intermediate container 48a2734ee2e7 03:12:21 ---> 055280f47216 03:12:21 Step 23/25 : LABEL arch=amd64 03:12:21 ---> Running in e2d49f7feeaa 03:12:21 Removing intermediate container e2d49f7feeaa 03:12:21 ---> 8e2c33a6a1c2 03:12:21 Step 24/25 : LABEL git_sha=d63a9c950c40a10b6f4b68dc676cd489cfd36e80 03:12:21 ---> Running in 29caa90efee8 03:12:21 Removing intermediate container 29caa90efee8 03:12:21 ---> e5af77502a12 03:12:21 Step 25/25 : LABEL version=0.0.0 03:12:21 ---> Running in 4d893ed3d4a3 03:12:22 Removing intermediate container 4d893ed3d4a3 03:12:22 ---> 7404367d6eca 03:12:22 [Warning] One or more build-args [ARCH] were not consumed 03:12:22 Successfully built 7404367d6eca 03:12:22 Successfully tagged docker-device-rest-go: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] } 03:12:23 Removing intermediate container e980c0503c6a 03:12:23 ---> 9cb78b91cbc6 03:12:23 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:23 ---> Running in a54082876e39 [Pipeline] // stage [Pipeline] } 03:12:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:12:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:12:26 OK: 142 MiB in 39 packages 03:12:27 Removing intermediate container a54082876e39 03:12:27 ---> 19d947e5e5fc 03:12:27 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 03:12:27 ---> Running in 384471b52604 03:12:28 Removing intermediate container 384471b52604 03:12:28 ---> bef86ac294e3 03:12:28 Step 9/25 : COPY go.mod . 03:12:28 ---> af1b1008335a 03:12:28 Step 10/25 : COPY Makefile . 03:12:29 ---> 07a19607570b 03:12:29 Step 11/25 : RUN make update 03:12:29 ---> Running in b9f10bfbf7b9 03:12:30 CGO_ENABLED=0 GO111MODULE=on go mod download 03:12:32 Removing intermediate container b9f10bfbf7b9 03:12:32 ---> 032232c5085d 03:12:32 Step 12/25 : COPY . . 03:12:33 ---> 2fe730e637c7 03:12:33 Step 13/25 : RUN $MAKE 03:12:33 ---> Running in 8c82d9c40b49 03:12:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 03:13:01 Removing intermediate container 8c82d9c40b49 03:13:01 ---> 609fdce0e00d 03:13:01 Step 14/25 : FROM alpine:latest 03:13:01 latest: Pulling from library/alpine 03:13:01 b538f80385f9: Already exists 03:13:01 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 03:13:01 Status: Downloaded newer image for alpine:latest 03:13:01 ---> 62ee0e9f8440 03:13:01 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:13:01 ---> Running in 85f7f71d1975 03:13:01 Removing intermediate container 85f7f71d1975 03:13:01 ---> 3d1c0747f4a9 03:13:01 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 03:13:01 ---> Running in 4e5f0b9ea632 03:13:01 Removing intermediate container 4e5f0b9ea632 03:13:01 ---> b400de5e57c3 03:13:01 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 03:13:01 ---> c55bcb20a22e 03:13:01 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 03:13:02 ---> fdf493dc3648 03:13:02 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 03:13:03 ---> ad6db86a4a6d 03:13:03 Step 20/25 : EXPOSE 49986 03:13:03 ---> Running in ac197448598f 03:13:03 Removing intermediate container ac197448598f 03:13:03 ---> 1c26212cc1f0 03:13:03 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 03:13:04 ---> Running in bf052f0a8c6d 03:13:04 Removing intermediate container bf052f0a8c6d 03:13:04 ---> fa62711d4145 03:13:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:13:04 ---> Running in cef5b05f70f2 03:13:05 Removing intermediate container cef5b05f70f2 03:13:05 ---> 7fb236114d25 03:13:05 Step 23/25 : LABEL arch=arm64 03:13:05 ---> Running in 07fe91523359 03:13:06 Removing intermediate container 07fe91523359 03:13:06 ---> a86f08948c91 03:13:06 Step 24/25 : LABEL git_sha=d63a9c950c40a10b6f4b68dc676cd489cfd36e80 03:13:06 ---> Running in 4acf38ddf0b5 03:13:06 Removing intermediate container 4acf38ddf0b5 03:13:06 ---> f1a8cdfd9bdc 03:13:06 Step 25/25 : LABEL version=0.0.0 03:13:06 ---> Running in 692a85aa4302 03:13:07 Removing intermediate container 692a85aa4302 03:13:07 ---> 2d65b0afed97 03:13:07 [Warning] One or more build-args [ARCH] were not consumed 03:13:07 Successfully built 2d65b0afed97 03:13:07 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 03:13:09 provisioning config files... 03:13:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config5294806565870560829tmp [Pipeline] { [Pipeline] sh 03:13:09 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config5294806565870560829tmp 03:13:09 + curl -s https://codecov.io/bash [Pipeline] } 03:13:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 03:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:13:13 ---> package-listing.sh 03:13:13 ++ facter osfamily 03:13:13 ++ tr '[:upper:]' '[:lower:]' 03:13:13 + OS_FAMILY=redhat 03:13:13 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-42 03:13:13 + START_PACKAGES=/tmp/packages_start.txt 03:13:13 + END_PACKAGES=/tmp/packages_end.txt 03:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:13:13 + PACKAGES=/tmp/packages_start.txt 03:13:13 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 03:13:13 + PACKAGES=/tmp/packages_end.txt 03:13:13 + case "${OS_FAMILY}" in 03:13:13 + rpm -qa 03:13:13 + sort 03:13:17 + '[' -f /tmp/packages_start.txt ']' 03:13:17 + '[' -f /tmp/packages_end.txt ']' 03:13:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:13:17 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-42 ']' 03:13:17 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ 03:13:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-42/archives/ [Pipeline] isUnix [Pipeline] sh 03:13:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:13:18 03:13:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:13:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:13:18 alpine: Pulling from edgex-lftools-log-publisher 03:13:18 df20fa9351a1: Pulling fs layer 03:13:18 36b3adc4ff6f: Pulling fs layer 03:13:18 8ad3a11d3b57: Pulling fs layer 03:13:18 46f8f816bc3b: Pulling fs layer 03:13:18 0dadc02b9964: Pulling fs layer 03:13:18 ce6a7cf60c04: Pulling fs layer 03:13:18 7a184a31f384: Pulling fs layer 03:13:18 0879bd2ef858: Pulling fs layer 03:13:18 46f8f816bc3b: Waiting 03:13:18 0dadc02b9964: Waiting 03:13:18 ce6a7cf60c04: Waiting 03:13:18 0879bd2ef858: Waiting 03:13:18 7a184a31f384: Waiting 03:13:18 36b3adc4ff6f: Download complete 03:13:18 46f8f816bc3b: Download complete 03:13:19 df20fa9351a1: Verifying Checksum 03:13:19 df20fa9351a1: Download complete 03:13:19 0dadc02b9964: Verifying Checksum 03:13:19 0dadc02b9964: Download complete 03:13:19 ce6a7cf60c04: Verifying Checksum 03:13:19 ce6a7cf60c04: Download complete 03:13:19 7a184a31f384: Verifying Checksum 03:13:19 7a184a31f384: Download complete 03:13:19 8ad3a11d3b57: Verifying Checksum 03:13:19 8ad3a11d3b57: Download complete 03:13:19 df20fa9351a1: Pull complete 03:13:19 36b3adc4ff6f: Pull complete 03:13:19 0879bd2ef858: Verifying Checksum 03:13:19 0879bd2ef858: Download complete 03:13:20 8ad3a11d3b57: Pull complete 03:13:20 46f8f816bc3b: Pull complete 03:13:20 0dadc02b9964: Pull complete 03:13:20 ce6a7cf60c04: Pull complete 03:13:20 7a184a31f384: Pull complete 03:13:23 0879bd2ef858: Pull complete 03:13:23 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 03:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:13:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:13:23 prd-centos7-docker-4c-2g-482 does not seem to be running inside a container 03:13:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-42 -v /w/workspace/dgexfoundry_device-rest-go_PR-42:/w/workspace/dgexfoundry_device-rest-go_PR-42:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-42@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:13:26 $ docker top b7dab40df7b5800873c3ed1d21476011a474b8677f1b5ec64f52b4cbb3e2e887 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:27 + mkdir -p /var/log/sa [Pipeline] sh 03:13:27 + ls /var/log/sa-host 03:13:27 + sadf -c /var/log/sa-host/sa05 03:13:27 file_magic: OK 03:13:27 HZ: Using current value: 100 03:13:27 file_header: OK 03:13:27 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 03:13:27 Statistics: 03:13:27 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:13:27 File successfully converted to sysstat format version 12.2.1 03:13:27 + sadf -c /var/log/sa-host/sa19 03:13:27 file_magic: OK 03:13:27 HZ: Using current value: 100 03:13:27 file_header: OK 03:13:27 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 03:13:27 Statistics: 03:13:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:13:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:27 provisioning config files... 03:13:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-42@tmp/config3951410593823591667tmp [Pipeline] { [Pipeline] echo 03:13:27 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:13:28 ---> create-netrc.sh [Pipeline] echo 03:13:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:13:28 ---> logs-deploy.sh 03:13:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-42/6 03:13:28 INFO: archiving workspace using pattern(s): 03:13:29 Archives upload complete. 03:13:29 INFO: archiving logs to Nexus 03:13:30 ---> uname -a: 03:13:30 Linux b7dab40df7b5 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 03:13:30 03:13:30 03:13:30 ---> lscpu: 03:13:30 Architecture: x86_64 03:13:30 CPU op-mode(s): 32-bit, 64-bit 03:13:30 Byte Order: Little Endian 03:13:30 Address sizes: 40 bits physical, 48 bits virtual 03:13:30 CPU(s): 4 03:13:30 On-line CPU(s) list: 0-3 03:13:30 Thread(s) per core: 1 03:13:30 Core(s) per socket: 1 03:13:30 Socket(s): 4 03:13:30 NUMA node(s): 1 03:13:30 Vendor ID: GenuineIntel 03:13:30 CPU family: 6 03:13:30 Model: 44 03:13:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:13:30 Stepping: 1 03:13:30 CPU MHz: 2933.442 03:13:30 BogoMIPS: 5866.88 03:13:30 Virtualization: VT-x 03:13:30 Hypervisor vendor: KVM 03:13:30 Virtualization type: full 03:13:30 L1d cache: 128 KiB 03:13:30 L1i cache: 128 KiB 03:13:30 L2 cache: 16 MiB 03:13:30 L3 cache: 64 MiB 03:13:30 NUMA node0 CPU(s): 0-3 03:13:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:13:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:13:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:13:30 Vulnerability Meltdown: Mitigation; PTI 03:13:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:13:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:13:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:13:30 Vulnerability Tsx async abort: Not affected 03:13:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 03:13:30 03:13:30 03:13:30 ---> nproc: 03:13:30 4 03:13:30 03:13:30 03:13:30 ---> df -h: 03:13:30 Filesystem Size Used Available Use% Mounted on 03:13:30 overlay 50.0G 7.0G 43.0G 14% / 03:13:30 tmpfs 64.0M 0 64.0M 0% /dev 03:13:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:13:30 shm 64.0M 0 64.0M 0% /dev/shm 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-42@tmp 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 03:13:30 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-rest-go_PR-42 03:13:30 03:13:30 03:13:30 ---> free -m: 03:13:30 total used free shared buff/cache available 03:13:30 Mem: 1837 641 124 0 1072 1090 03:13:30 Swap: 1023 0 1023 03:13:30 03:13:30 03:13:30 ---> ip addr: 03:13:30 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:13:30 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:13:30 inet 127.0.0.1/8 scope host lo 03:13:30 valid_lft forever preferred_lft forever 03:13:30 6: eth0@if7: mtu 1458 qdisc noqueue state UP 03:13:30 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 03:13:30 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 03:13:30 valid_lft forever preferred_lft forever 03:13:30 03:13:30 03:13:30 ---> sar -b -r -n DEV: 03:13:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/19/20 _x86_64_ (4 CPU) 03:13:30 03:13:30 03:06:53 LINUX RESTART (4 CPU) 03:13:30 03:13:30 03:08:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:13:30 03:09:01 8.08 2.42 5.66 0.00 140.06 652.46 0.00 03:13:30 03:10:01 0.32 0.00 0.32 0.00 0.00 4.46 0.00 03:13:30 03:11:01 0.27 0.00 0.27 0.00 0.00 4.03 0.00 03:13:30 03:12:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 03:13:30 03:13:01 0.25 0.00 0.25 0.00 0.00 3.76 0.00 03:13:30 Average: 1.81 0.48 1.33 0.00 27.65 131.78 0.00 03:13:30 03:13:30 03:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:13:30 03:09:01 161732 0 556972 29.60 2620 1160232 1102804 37.64 438524 1120580 20 03:13:30 03:10:01 168684 0 550016 29.23 2620 1160236 1069344 36.49 436404 1116976 20 03:13:30 03:11:01 167984 0 550708 29.27 2620 1160244 1069428 36.50 436924 1116976 16 03:13:30 03:12:01 167956 0 550736 29.27 2620 1160244 1069260 36.49 442768 1111292 12 03:13:30 03:13:01 167848 0 550840 29.28 2620 1160248 1069344 36.49 443208 1111292 8 03:13:30 Average: 166841 0 551854 29.33 2620 1160241 1076036 36.72 439566 1115423 15 03:13:30 03:13:30 03:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:13:30 03:09:01 eth0 58.58 38.08 17.58 150.87 0.00 0.00 0.00 0.00 03:13:30 03:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:09:01 docker0 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:10:01 eth0 2.28 0.85 2.65 0.06 0.00 0.00 0.00 0.00 03:13:30 03:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:11:01 eth0 1.42 0.67 0.58 0.37 0.00 0.00 0.00 0.00 03:13:30 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:12:01 eth0 0.12 0.10 0.01 0.04 0.00 0.00 0.00 0.00 03:13:30 03:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:13:01 eth0 0.18 0.15 0.08 0.07 0.00 0.00 0.00 0.00 03:13:30 03:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 Average: eth0 12.37 7.87 4.14 29.89 0.00 0.00 0.00 0.00 03:13:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 Average: docker0 0.01 0.01 0.00 0.00 0.00 0.00 0.00 0.00 03:13:30 03:13:30 03:13:30 ---> sar -P ALL: 03:13:30 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/19/20 _x86_64_ (4 CPU) 03:13:30 03:13:30 03:06:53 LINUX RESTART (4 CPU) 03:13:30 03:13:30 03:08:02 CPU %user %nice %system %iowait %steal %idle 03:13:30 03:09:01 all 1.64 0.00 0.39 0.03 0.00 97.93 03:13:30 03:09:01 0 1.81 0.00 0.47 0.00 0.00 97.71 03:13:30 03:09:01 1 1.17 0.00 0.39 0.05 0.00 98.39 03:13:30 03:09:01 2 1.41 0.00 0.37 0.07 0.00 98.15 03:13:30 03:09:01 3 2.17 0.00 0.34 0.02 0.00 97.47 03:13:30 03:10:01 all 0.17 0.00 0.04 0.00 0.00 99.79 03:13:30 03:10:01 0 0.07 0.00 0.03 0.00 0.00 99.90 03:13:30 03:10:01 1 0.07 0.00 0.03 0.00 0.00 99.90 03:13:30 03:10:01 2 0.53 0.00 0.05 0.00 0.00 99.42 03:13:30 03:10:01 3 0.02 0.00 0.03 0.00 0.00 99.95 03:13:30 03:11:01 all 0.18 0.00 0.04 0.00 0.00 99.78 03:13:30 03:11:01 0 0.03 0.00 0.05 0.00 0.00 99.92 03:13:30 03:11:01 1 0.03 0.00 0.03 0.00 0.00 99.93 03:13:30 03:11:01 2 0.62 0.00 0.05 0.00 0.00 99.33 03:13:30 03:11:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:13:30 03:12:01 all 0.15 0.00 0.04 0.00 0.00 99.81 03:13:30 03:12:01 0 0.03 0.00 0.07 0.00 0.02 99.88 03:13:30 03:12:01 1 0.02 0.00 0.02 0.00 0.00 99.97 03:13:30 03:12:01 2 0.53 0.00 0.05 0.00 0.00 99.42 03:13:30 03:12:01 3 0.00 0.00 0.02 0.00 0.00 99.98 03:13:30 03:13:01 all 0.16 0.00 0.04 0.00 0.00 99.80 03:13:30 03:13:01 0 0.03 0.00 0.08 0.00 0.00 99.88 03:13:30 03:13:01 1 0.03 0.00 0.03 0.00 0.00 99.93 03:13:30 03:13:01 2 0.55 0.00 0.03 0.00 0.00 99.42 03:13:30 03:13:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:13:30 Average: all 0.46 0.00 0.11 0.01 0.00 99.43 03:13:30 Average: 0 0.39 0.00 0.14 0.00 0.00 99.46 03:13:30 Average: 1 0.26 0.00 0.10 0.01 0.00 99.63 03:13:30 Average: 2 0.73 0.00 0.11 0.01 0.00 99.15 03:13:30 Average: 3 0.45 0.00 0.08 0.00 0.00 99.47 03:13:30 03:13:30 03:13:30