Pull request #44 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 755b338209b044300c15889e718e2b9f4a315616+0a79c20c2d893aa8ea9da840411e787f3e51ca5b (9f0047d1699d36318487f12364ed6fa2dd4f3ce6) Running in Durability level: MAX_SURVIVABILITY 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-44/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-44/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1831 in /w/workspace/dgexfoundry_device-rest-go_PR-44 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-44 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/44/head:refs/remotes/origin/PR-44 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0a79c20c2d893aa8ea9da840411e787f3e51ca5b into PR head commit 755b338209b044300c15889e718e2b9f4a315616 Merge succeeded, producing 755b338209b044300c15889e718e2b9f4a315616 Checking out Revision 755b338209b044300c15889e718e2b9f4a315616 (PR-44) > git config core.sparsecheckout # timeout=10 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # 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 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # timeout=10 Commit message: "build(all): Enable use of DependaBot to maintain Go dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:45:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:45:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:45:31 ========================================================= 22:45:31 EdgeX Global Pipelines Version Info 22:45:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:45:33 ------------------- 22:45:33 stable info: 22:45:33 ------------------- 22:45:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:45:33 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:45:33 Message: update stable to v1.0.131 22:45:34 ------------------- 22:45:34 experimental info: 22:45:34 ------------------- 22:45:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:45:34 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:45:34 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:45:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:45:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:45:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:45:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-44 [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-44 [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-44 [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 755b338209b044300c15889e718e2b9f4a315616 [Pipeline] echo 22:45:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 755b338 [Pipeline] echo 22:45:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:39 + git log --format=format:%s -1 755b338209b044300c15889e718e2b9f4a315616 [Pipeline] echo 22:45:39 GIT_COMMIT: 755b338209b044300c15889e718e2b9f4a315616, Commit Message: build(all): Enable use of DependaBot to maintain Go dependencies [Pipeline] echo 22:45:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:41 22:45:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:45:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:41 latest: Pulling from edgex-devops/git-semver 22:45:41 31603596830f: Pulling fs layer 22:45:41 2a8b12db71e7: Pulling fs layer 22:45:41 6ca5941a6612: Pulling fs layer 22:45:41 ecc8261a40a4: Pulling fs layer 22:45:41 ecc8261a40a4: Waiting 22:45:41 2a8b12db71e7: Verifying Checksum 22:45:41 2a8b12db71e7: Download complete 22:45:42 31603596830f: Verifying Checksum 22:45:42 31603596830f: Download complete 22:45:42 6ca5941a6612: Verifying Checksum 22:45:42 6ca5941a6612: Download complete 22:45:42 ecc8261a40a4: Verifying Checksum 22:45:42 ecc8261a40a4: Download complete 22:45:42 31603596830f: Pull complete 22:45:42 2a8b12db71e7: Pull complete 22:45:43 6ca5941a6612: Pull complete 22:45:43 ecc8261a40a4: Pull complete 22:45:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:45:44 prd-centos7-docker-4c-2g-1831 does not seem to be running inside a container 22:45:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-44 -v /w/workspace/dgexfoundry_device-rest-go_PR-44:/w/workspace/dgexfoundry_device-rest-go_PR-44:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-44@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-44@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:10004/edgex-devops/git-semver:latest cat 22:45:46 $ docker top 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:46 [ssh-agent] Looking for ssh-agent implementation... 22:45:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:47 $ docker exec 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 ssh-agent 22:45:47 SSH_AUTH_SOCK=/tmp/ssh-4CK3Z0KQllqE/agent.12 22:45:47 SSH_AGENT_PID=18 22:45:47 Running ssh-add (command line suppressed) 22:45:47 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/private_key_232976516139543420.key (/w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/private_key_232976516139543420.key) 22:45:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:47 + git describe --exact-match --tags HEAD 22:45:47 fatal: no tag exactly matches '755b338209b044300c15889e718e2b9f4a315616' [Pipeline] } 22:45:47 $ docker exec --env ******** --env ******** 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 ssh-agent -k 22:45:48 unset SSH_AUTH_SOCK; 22:45:48 unset SSH_AGENT_PID; 22:45:48 echo Agent pid 18 killed; 22:45:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:45:48 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:45:48 This usually means this commit has not been tagged. [Pipeline] sshagent 22:45:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:48 [ssh-agent] Looking for ssh-agent implementation... 22:45:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:48 $ docker exec 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 ssh-agent 22:45:48 SSH_AUTH_SOCK=/tmp/ssh-A27vFwxfQ0tg/agent.47 22:45:48 SSH_AGENT_PID=52 22:45:48 Running ssh-add (command line suppressed) 22:45:48 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/private_key_5925980673510197443.key (/w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/private_key_5925980673510197443.key) 22:45:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:49 + git semver init 22:45:49 # -> Open(): unable to determine branch for HEAD 22:45:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-44/.git 22:45:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-44 22:45:49 # $SEMVER_REMOTE_NAME = origin 22:45:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:45:49 # $SEMVER_USER_NAME = edgex-jenkins 22:45:49 # $SEMVER_BRANCH = PR-44 22:45:49 # $SEMVER_TEMP = /tmp/semver-285178663 22:45:49 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:45:51 # '/tmp/semver-285178663' -> '/w/workspace/dgexfoundry_device-rest-go_PR-44/.semver' 22:45:51 # -> Force: false 22:45:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-44/.semver [Pipeline] } 22:45:51 $ docker exec --env ******** --env ******** 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 ssh-agent -k 22:45:51 unset SSH_AUTH_SOCK; 22:45:51 unset SSH_AGENT_PID; 22:45:51 echo Agent pid 52 killed; 22:45:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:52 + git semver [Pipeline] } 22:45:52 $ docker stop --time=1 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 22:45:54 $ docker rm -f 0fd1fb7e9bab89cafeef56e5a03d59f725fd6d55482053c97752d1449641ae22 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:45:55 Stashed 24 file(s) [Pipeline] echo 22:45:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:45:55 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 22:46:11 Still waiting to schedule task 22:46:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:46:11 Still waiting to schedule task 22:46:11 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1829’ 22:48:46 Running on prd-centos7-docker-4c-2g-1833 in /w/workspace/dgexfoundry_device-rest-go_PR-44 [Pipeline] { [Pipeline] ws 22:48:47 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:48:49 using credential edgex-jenkins-ssh 22:48:49 Cloning the remote Git repository 22:48:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:48:49 > git init /w/workspace/device-rest-go/1 # timeout=10 22:48:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:48:49 > git --version # timeout=10 22:48:49 > git --version # 'git version 2.16.5' 22:48:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:51 Merging remotes/origin/master commit 0a79c20c2d893aa8ea9da840411e787f3e51ca5b into PR head commit 755b338209b044300c15889e718e2b9f4a315616 22:48:51 Merge succeeded, producing 755b338209b044300c15889e718e2b9f4a315616 22:48:51 Checking out Revision 755b338209b044300c15889e718e2b9f4a315616 (PR-44) 22:48:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:48:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:48:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:48:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/44/head:refs/remotes/origin/PR-44 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:48:51 > git config core.sparsecheckout # timeout=10 22:48:51 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # timeout=10 22:48:51 > git remote # timeout=10 22:48:51 > git config --get remote.origin.url # timeout=10 22:48:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:51 > git merge 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 22:48:51 > git rev-parse HEAD^{commit} # timeout=10 22:48:51 > git config core.sparsecheckout # timeout=10 22:48:51 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # timeout=10 22:48:55 Commit message: "build(all): Enable use of DependaBot to maintain Go dependencies" 22:48:55 > git --version # timeout=10 22:48:55 > git --version # 'git version 2.16.5' 22:48:55 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:48:56 ========================================================= 22:48:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:48:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:48:57 + 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 . 22:48:57 Sending build context to Docker daemon 8.059MB 22:48:57 Step 1/10 : ARG BASE=golang:1.15-alpine 22:48:57 Step 2/10 : FROM ${BASE} 22:48:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:48:57 df20fa9351a1: Pulling fs layer 22:48:57 ed8968b2872e: Pulling fs layer 22:48:57 a92cc7c5fd73: Pulling fs layer 22:48:57 e871e8e8d7a9: Pulling fs layer 22:48:57 e73272ec9a57: Pulling fs layer 22:48:57 1e910a182e73: Pulling fs layer 22:48:57 4e634b169226: Pulling fs layer 22:48:57 e73272ec9a57: Waiting 22:48:57 e871e8e8d7a9: Waiting 22:48:57 4e634b169226: Waiting 22:48:57 a92cc7c5fd73: Verifying Checksum 22:48:57 a92cc7c5fd73: Download complete 22:48:57 ed8968b2872e: Download complete 22:48:57 e73272ec9a57: Download complete 22:48:57 1e910a182e73: Verifying Checksum 22:48:57 1e910a182e73: Download complete 22:48:57 df20fa9351a1: Verifying Checksum 22:48:57 df20fa9351a1: Download complete 22:48:58 df20fa9351a1: Pull complete 22:48:58 ed8968b2872e: Pull complete 22:48:58 a92cc7c5fd73: Pull complete 22:49:01 4e634b169226: Verifying Checksum 22:49:01 4e634b169226: Download complete 22:49:01 e871e8e8d7a9: Verifying Checksum 22:49:01 e871e8e8d7a9: Download complete 22:49:06 e871e8e8d7a9: Pull complete 22:49:06 e73272ec9a57: Pull complete 22:49:06 1e910a182e73: Pull complete 22:49:14 4e634b169226: Pull complete 22:49:14 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:49:14 ---> f7629b54cfaa 22:49:14 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 22:49:14 ---> Running in f3a32c5d5e8e 22:49:14 Removing intermediate container f3a32c5d5e8e 22:49:14 ---> 5870a431b819 22:49:14 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:49:14 ---> Running in 47ffbb1451c0 22:49:14 Removing intermediate container 47ffbb1451c0 22:49:14 ---> 08a7a8bbc076 22:49:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:49:14 ---> Running in 621629aed09a 22:49:14 Removing intermediate container 621629aed09a 22:49:14 ---> 9d68f65a2786 22:49:14 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:14 ---> Running in 1f3c3e1c8389 22:49:15 Removing intermediate container 1f3c3e1c8389 22:49:15 ---> cf05d8a3aae3 22:49:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:15 ---> Running in dcbdd1e326ab 22:49:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:49:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:49:17 OK: 166 MiB in 39 packages 22:49:18 Removing intermediate container dcbdd1e326ab 22:49:18 ---> 9f9a6d754004 22:49:18 Step 8/10 : WORKDIR /device-rest-go 22:49:18 ---> Running in a130bd590f2c 22:49:18 Removing intermediate container a130bd590f2c 22:49:18 ---> f18fe58ce82e 22:49:18 Step 9/10 : COPY . . 22:49:19 ---> 3b3c7f7aa463 22:49:19 Step 10/10 : RUN go mod download 22:49:19 ---> Running in 5fac957193b5 22:49:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1832 in /w/workspace/dgexfoundry_device-rest-go_PR-44 [Pipeline] { [Pipeline] ws 22:49:30 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:49:31 Removing intermediate container 5fac957193b5 22:49:31 ---> b9d0d00df829 22:49:31 Successfully built b9d0d00df829 22:49:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:49:31 + docker inspect -f . ci-base-image-x86_64 22:49:31 . [Pipeline] withDockerContainer 22:49:31 prd-centos7-docker-4c-2g-1833 does not seem to be running inside a container 22:49:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** ci-base-image-x86_64 cat 22:49:33 $ docker top b77d2ee3ce8ba4e7eb122ccaeb98058e425349d8f2a1b9470179d0a503c2a121 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:33 + go version 22:49:33 go version go1.15.2 linux/amd64 [Pipeline] } 22:49:33 $ docker stop --time=1 b77d2ee3ce8ba4e7eb122ccaeb98058e425349d8f2a1b9470179d0a503c2a121 22:49:35 $ docker rm -f b77d2ee3ce8ba4e7eb122ccaeb98058e425349d8f2a1b9470179d0a503c2a121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 22:49:35 using credential edgex-jenkins-ssh [Pipeline] } 22:49:35 Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 22:49:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:49:35 > git init /w/workspace/device-rest-go/1 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:36 + docker inspect -f . ci-base-image-x86_64 22:49:36 . [Pipeline] withDockerContainer 22:49:36 prd-centos7-docker-4c-2g-1833 does not seem to be running inside a container 22:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** ci-base-image-x86_64 cat 22:49:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:49:35 > git --version # timeout=10 22:49:35 > git --version # 'git version 2.17.1' 22:49:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:36 $ docker top 4e4cf5d7b88ef459313dbc83dce3c83b1a707d2ce14e2877664ccd649db4db28 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:37 + make test 22:49:37 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:49:38 ? github.com/edgexfoundry/device-rest-go [no test files] 22:49:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:49:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:49:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:49:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/44/head:refs/remotes/origin/PR-44 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:49:38 Merging remotes/origin/master commit 0a79c20c2d893aa8ea9da840411e787f3e51ca5b into PR head commit 755b338209b044300c15889e718e2b9f4a315616 22:49:38 Merge succeeded, producing 755b338209b044300c15889e718e2b9f4a315616 22:49:38 Checking out Revision 755b338209b044300c15889e718e2b9f4a315616 (PR-44) 22:49:38 > git config core.sparsecheckout # timeout=10 22:49:38 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # timeout=10 22:49:38 > git remote # timeout=10 22:49:38 > git config --get remote.origin.url # timeout=10 22:49:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:38 > git merge 0a79c20c2d893aa8ea9da840411e787f3e51ca5b # timeout=10 22:49:38 > git rev-parse HEAD^{commit} # timeout=10 22:49:38 > git config core.sparsecheckout # timeout=10 22:49:38 > git checkout -f 755b338209b044300c15889e718e2b9f4a315616 # timeout=10 22:49:42 Commit message: "build(all): Enable use of DependaBot to maintain Go dependencies" 22:49:42 > git --version # timeout=10 22:49:42 > git --version # 'git version 2.17.1' 22:49:42 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:49:44 ========================================================= 22:49:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:49:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:49:45 + 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 . 22:49:46 Sending build context to Docker daemon 8.059MB 22:49:46 Step 1/10 : ARG BASE=golang:1.15-alpine 22:49:46 Step 2/10 : FROM ${BASE} 22:49:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:49:47 b538f80385f9: Pulling fs layer 22:49:47 74f711af9a0d: Pulling fs layer 22:49:47 99f96fe45779: Pulling fs layer 22:49:47 8529a6b9a6be: Pulling fs layer 22:49:47 45590311c82a: Pulling fs layer 22:49:47 69ca0ff8b7b3: Pulling fs layer 22:49:47 209524e5b208: Pulling fs layer 22:49:47 45590311c82a: Waiting 22:49:47 69ca0ff8b7b3: Waiting 22:49:47 8529a6b9a6be: Waiting 22:49:47 209524e5b208: Waiting 22:49:47 99f96fe45779: Verifying Checksum 22:49:47 99f96fe45779: Download complete 22:49:47 74f711af9a0d: Verifying Checksum 22:49:47 74f711af9a0d: Download complete 22:49:47 45590311c82a: Download complete 22:49:47 69ca0ff8b7b3: Download complete 22:49:47 b538f80385f9: Verifying Checksum 22:49:47 b538f80385f9: Download complete 22:49:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:49:48 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 56.3% of statements 22:49:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:49:48 b538f80385f9: Pull complete 22:49:48 74f711af9a0d: Pull complete 22:49:48 99f96fe45779: Pull complete 22:49:49 gofmt -l . 22:49:49 [ "`gofmt -l .`" = "" ] 22:49:49 ./bin/test-go-mod-tidy.sh 22:49:49 ./bin/test-attribution-txt.sh [Pipeline] stash 22:49:50 209524e5b208: Verifying Checksum 22:49:50 209524e5b208: Download complete 22:49:50 Stashed 1 file(s) [Pipeline] } 22:49:50 $ docker stop --time=1 4e4cf5d7b88ef459313dbc83dce3c83b1a707d2ce14e2877664ccd649db4db28 22:49:50 8529a6b9a6be: Verifying Checksum 22:49:50 8529a6b9a6be: Download complete 22:49:52 $ docker rm -f 4e4cf5d7b88ef459313dbc83dce3c83b1a707d2ce14e2877664ccd649db4db28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:49:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:55 + ls -al . 22:49:55 total 96 22:49:55 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 28 22:49 . 22:49:55 drwxrwxr-x. 4 jenkins jenkins 28 Sep 28 22:48 .. 22:49:55 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 28 22:48 Attribution.txt 22:49:55 drwxrwxr-x. 2 jenkins jenkins 64 Sep 28 22:48 bin 22:49:55 drwxrwxr-x. 3 jenkins jenkins 32 Sep 28 22:48 cmd 22:49:55 -rw-r--r--. 1 jenkins jenkins 9369 Sep 28 22:49 coverage.out 22:49:55 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 28 22:48 Dockerfile 22:49:55 -rw-rw-r--. 1 jenkins jenkins 989 Sep 28 22:48 Dockerfile.build 22:49:55 -rw-rw-r--. 1 jenkins jenkins 151 Sep 28 22:48 .dockerignore 22:49:55 drwxrwxr-x. 2 jenkins jenkins 93 Sep 28 22:49 driver 22:49:55 drwxrwxr-x. 8 jenkins jenkins 179 Sep 28 22:48 .git 22:49:55 drwxrwxr-x. 2 jenkins jenkins 60 Sep 28 22:48 .github 22:49:55 -rw-rw-r--. 1 jenkins jenkins 339 Sep 28 22:48 .gitignore 22:49:55 -rw-r--r--. 1 jenkins jenkins 273 Sep 28 22:49 go.mod 22:49:55 -rw-r--r--. 1 jenkins jenkins 12547 Sep 28 22:49 go.sum 22:49:55 -rw-rw-r--. 1 jenkins jenkins 680 Sep 28 22:48 Jenkinsfile 22:49:55 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 28 22:48 LICENSE 22:49:55 -rw-rw-r--. 1 jenkins jenkins 951 Sep 28 22:48 Makefile 22:49:55 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 28 22:48 README.md 22:49:55 drwxrwxr-x. 3 jenkins jenkins 45 Sep 28 22:48 .semver 22:49:55 drwxrwxr-x. 4 jenkins jenkins 54 Sep 28 22:48 snap 22:49:55 -rw-rw-r--. 1 jenkins jenkins 5 Sep 28 22:45 VERSION 22:49:55 -rw-rw-r--. 1 jenkins jenkins 713 Sep 28 22:48 version.go [Pipeline] isUnix [Pipeline] sh 22:49:56 + 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=755b338209b044300c15889e718e2b9f4a315616 --label arch=amd64 --label version=0.0.0 . 22:49:56 Sending build context to Docker daemon 8.071MB 22:49:56 Step 1/25 : ARG BASE=golang:1.15-alpine 22:49:56 Step 2/25 : FROM ${BASE} AS builder 22:49:56 ---> b9d0d00df829 22:49:56 Step 3/25 : ARG MAKE='make build' 22:49:56 ---> Running in 18abeb3d13cf 22:49:56 Removing intermediate container 18abeb3d13cf 22:49:56 ---> 2cb2863594a2 22:49:56 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 22:49:56 ---> Running in 57d625d44423 22:49:56 Removing intermediate container 57d625d44423 22:49:56 ---> 848098b4c517 22:49:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:49:56 ---> Running in 13be8233d439 22:49:56 Removing intermediate container 13be8233d439 22:49:56 ---> b14f23cf1692 22:49:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:57 ---> Running in 3cf63113aaff 22:49:58 Removing intermediate container 3cf63113aaff 22:49:58 ---> f942ada3a33f 22:49:58 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:58 ---> Running in 1f20b0c1a262 22:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:49:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:49:59 OK: 166 MiB in 39 packages 22:50:00 Removing intermediate container 1f20b0c1a262 22:50:00 ---> 562b9c98e22e 22:50:00 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 22:50:00 ---> Running in 89e3d38bfdd0 22:50:00 Removing intermediate container 89e3d38bfdd0 22:50:00 ---> 21d2f7984c7a 22:50:00 Step 9/25 : COPY go.mod . 22:50:00 ---> b1ac4f3710fe 22:50:00 Step 10/25 : COPY Makefile . 22:50:00 ---> 92d52dc5306e 22:50:00 Step 11/25 : RUN make update 22:50:00 ---> Running in 47673dfb6900 22:50:01 8529a6b9a6be: Pull complete 22:50:01 45590311c82a: Pull complete 22:50:01 CGO_ENABLED=0 GO111MODULE=on go mod download 22:50:01 69ca0ff8b7b3: Pull complete 22:50:01 Removing intermediate container 47673dfb6900 22:50:01 ---> 99facdf987fc 22:50:01 Step 12/25 : COPY . . 22:50:02 ---> c315dac27d43 22:50:02 Step 13/25 : RUN $MAKE 22:50:02 ---> Running in 930b230eff34 22:50:02 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 22:50:05 209524e5b208: Pull complete 22:50:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:50:05 ---> 5bddaf1c2fca 22:50:05 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 22:50:08 ---> Running in 25694ef6b82f 22:50:08 Removing intermediate container 25694ef6b82f 22:50:08 ---> 27997c028f8e 22:50:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:50:08 ---> Running in bb06bae62f17 22:50:09 Removing intermediate container bb06bae62f17 22:50:09 ---> 8b73b82d310c 22:50:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:50:09 ---> Running in 02d6fd0ae62a 22:50:09 Removing intermediate container 02d6fd0ae62a 22:50:09 ---> 63b7c3473ded 22:50:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:09 ---> Running in dd86f302bcd4 22:50:12 Removing intermediate container dd86f302bcd4 22:50:12 ---> 2ebdf9f1aa16 22:50:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:12 ---> Running in 9eeca8bb066e 22:50:12 Removing intermediate container 930b230eff34 22:50:12 ---> 6ec114001bc5 22:50:12 Step 14/25 : FROM alpine:latest 22:50:12 latest: Pulling from library/alpine 22:50:12 df20fa9351a1: Already exists 22:50:13 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:50:13 Status: Downloaded newer image for alpine:latest 22:50:13 ---> a24bb4013296 22:50:13 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:50:13 ---> Running in c3246b04cddb 22:50:13 Removing intermediate container c3246b04cddb 22:50:13 ---> 56a3a13610bc 22:50:13 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 22:50:13 ---> Running in 202e6b13bf28 22:50:13 Removing intermediate container 202e6b13bf28 22:50:13 ---> 44d5fb09ba37 22:50:13 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 22:50:13 ---> 7eee2944ff0e 22:50:13 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 22:50:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:50:14 ---> 5b2d5238ca6d 22:50:14 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 22:50:14 ---> 0c3eca2ffc95 22:50:14 Step 20/25 : EXPOSE 49986 22:50:14 ---> Running in cf3098cac7d0 22:50:14 Removing intermediate container cf3098cac7d0 22:50:14 ---> 6bd7c9bd1c19 22:50:14 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 22:50:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:50:15 ---> Running in 48c0c26bf59c 22:50:15 Removing intermediate container 48c0c26bf59c 22:50:15 ---> de84a4cc04a6 22:50:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:50:15 ---> Running in e0a356caeae9 22:50:15 Removing intermediate container e0a356caeae9 22:50:15 ---> 799802320ac4 22:50:15 Step 23/25 : LABEL arch=amd64 22:50:15 ---> Running in ed1dcd68424b 22:50:15 Removing intermediate container ed1dcd68424b 22:50:15 ---> ac3d387ced60 22:50:15 Step 24/25 : LABEL git_sha=755b338209b044300c15889e718e2b9f4a315616 22:50:15 ---> Running in d7637cbc672b 22:50:15 OK: 142 MiB in 39 packages 22:50:15 Removing intermediate container d7637cbc672b 22:50:15 ---> 6f232e72bede 22:50:15 Step 25/25 : LABEL version=0.0.0 22:50:15 ---> Running in ba2a00ca6a62 22:50:16 Removing intermediate container ba2a00ca6a62 22:50:16 ---> 97030396f24b 22:50:16 [Warning] One or more build-args [ARCH] were not consumed 22:50:16 Successfully built 97030396f24b 22:50:16 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:50:16 Removing intermediate container 9eeca8bb066e 22:50:16 ---> 0a39da72ee58 22:50:16 Step 8/10 : WORKDIR /device-rest-go Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 22:50:16 ---> Running in de0393ad42fe [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:50:17 Removing intermediate container de0393ad42fe 22:50:17 ---> c9fcea819ae2 22:50:17 Step 9/10 : COPY . . [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:50:18 ---> 88aa1af07f7f 22:50:18 Step 10/10 : RUN go mod download 22:50:18 ---> Running in 9342de4f2d41 22:50:33 Removing intermediate container 9342de4f2d41 22:50:33 ---> e032890d46ff 22:50:33 Successfully built e032890d46ff 22:50:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:50:33 + docker inspect -f . ci-base-image-arm64 22:50:33 . [Pipeline] withDockerContainer 22:50:34 prd-ubuntu18.04-docker-arm64-4c-16g-1832 does not seem to be running inside a container 22:50:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:36 $ docker top d669b6712c7e91a657d90f7774dd633d7e51cae2f8216eda64be971f630cbdd4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:37 + go version 22:50:37 go version go1.15.2 linux/arm64 [Pipeline] } 22:50:37 $ docker stop --time=1 d669b6712c7e91a657d90f7774dd633d7e51cae2f8216eda64be971f630cbdd4 22:50:39 $ docker rm -f d669b6712c7e91a657d90f7774dd633d7e51cae2f8216eda64be971f630cbdd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:41 + docker inspect -f . ci-base-image-arm64 22:50:41 . [Pipeline] withDockerContainer 22:50:41 prd-ubuntu18.04-docker-arm64-4c-16g-1832 does not seem to be running inside a container 22:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:43 $ docker top c2ee7599d629b5f2c4cb2385ee7d36fbbfaf62b52fd7830f9ab9a136ce69a2ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:44 + make test 22:50:44 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:50:45 ? github.com/edgexfoundry/device-rest-go [no test files] 22:51:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:51:18 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 56.3% of statements 22:51:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:51:21 gofmt -l . 22:51:21 [ "`gofmt -l .`" = "" ] 22:51:21 ./bin/test-go-mod-tidy.sh 22:51:21 ./bin/test-attribution-txt.sh [Pipeline] stash 22:51:22 Warning: overwriting stash ‘coverage-report’ 22:51:22 Stashed 1 file(s) [Pipeline] } 22:51:22 $ docker stop --time=1 c2ee7599d629b5f2c4cb2385ee7d36fbbfaf62b52fd7830f9ab9a136ce69a2ad 22:51:25 $ docker rm -f c2ee7599d629b5f2c4cb2385ee7d36fbbfaf62b52fd7830f9ab9a136ce69a2ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:27 + ls -al . 22:51:27 total 128 22:51:27 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 22:51 . 22:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 22:49 .. 22:51:27 -rw-rw-r-- 1 jenkins jenkins 151 Sep 28 22:49 .dockerignore 22:51:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 22:49 .git 22:51:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 22:49 .github 22:51:27 -rw-rw-r-- 1 jenkins jenkins 339 Sep 28 22:49 .gitignore 22:51:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 22:49 .semver 22:51:27 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 28 22:49 Attribution.txt 22:51:27 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 28 22:49 Dockerfile 22:51:27 -rw-rw-r-- 1 jenkins jenkins 989 Sep 28 22:49 Dockerfile.build 22:51:27 -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 22:49 Jenkinsfile 22:51:27 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 22:49 LICENSE 22:51:27 -rw-rw-r-- 1 jenkins jenkins 951 Sep 28 22:49 Makefile 22:51:27 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 28 22:49 README.md 22:51:27 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 22:45 VERSION 22:51:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 22:49 bin 22:51:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 22:49 cmd 22:51:27 -rw-r--r-- 1 jenkins jenkins 9369 Sep 28 22:51 coverage.out 22:51:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 22:51 driver 22:51:27 -rw-r--r-- 1 jenkins jenkins 273 Sep 28 22:51 go.mod 22:51:27 -rw-r--r-- 1 jenkins jenkins 12547 Sep 28 22:51 go.sum 22:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 22:49 snap 22:51:27 -rw-rw-r-- 1 jenkins jenkins 713 Sep 28 22:49 version.go [Pipeline] isUnix [Pipeline] sh 22:51:27 + 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=755b338209b044300c15889e718e2b9f4a315616 --label arch=arm64 --label version=0.0.0 . 22:51:28 Sending build context to Docker daemon 8.071MB 22:51:28 Step 1/25 : ARG BASE=golang:1.15-alpine 22:51:28 Step 2/25 : FROM ${BASE} AS builder 22:51:28 ---> e032890d46ff 22:51:28 Step 3/25 : ARG MAKE='make build' 22:51:28 ---> Running in 41c51a208e84 22:51:28 Removing intermediate container 41c51a208e84 22:51:28 ---> 29ad8ab74b28 22:51:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 22:51:28 ---> Running in d8ce138c78db 22:51:29 Removing intermediate container d8ce138c78db 22:51:29 ---> 5767a03f41b6 22:51:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:51:29 ---> Running in f0a1299954c1 22:51:29 Removing intermediate container f0a1299954c1 22:51:29 ---> 0cf54bb08d56 22:51:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:29 ---> Running in 48eda2432149 22:51:32 Removing intermediate container 48eda2432149 22:51:32 ---> e4760c1056dd 22:51:32 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:32 ---> Running in a358647ba941 22:51:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:51:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:51:35 OK: 142 MiB in 39 packages 22:51:36 Removing intermediate container a358647ba941 22:51:36 ---> 8e2b60eadf4c 22:51:36 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 22:51:36 ---> Running in 9759fba6800b 22:51:36 Removing intermediate container 9759fba6800b 22:51:36 ---> fa89e6d5c7d0 22:51:36 Step 9/25 : COPY go.mod . 22:51:37 ---> 9ecc2f19a4e1 22:51:37 Step 10/25 : COPY Makefile . 22:51:38 ---> 4984c4972cc2 22:51:38 Step 11/25 : RUN make update 22:51:38 ---> Running in 40b365f7fba2 22:51:39 CGO_ENABLED=0 GO111MODULE=on go mod download 22:51:41 Removing intermediate container 40b365f7fba2 22:51:41 ---> 33f407c31cf7 22:51:41 Step 12/25 : COPY . . 22:51:42 ---> aad2c73bf5f0 22:51:42 Step 13/25 : RUN $MAKE 22:51:42 ---> Running in 7a5e6d233c1b 22:51:44 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 22:52:10 Removing intermediate container 7a5e6d233c1b 22:52:10 ---> eeafbb4c4a40 22:52:10 Step 14/25 : FROM alpine:latest 22:52:10 latest: Pulling from library/alpine 22:52:10 b538f80385f9: Already exists 22:52:10 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:52:10 Status: Downloaded newer image for alpine:latest 22:52:10 ---> 62ee0e9f8440 22:52:10 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:52:10 ---> Running in 62c25b25bedc 22:52:11 Removing intermediate container 62c25b25bedc 22:52:11 ---> ee1c0680cb15 22:52:11 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 22:52:11 ---> Running in f8a6afaa079b 22:52:11 Removing intermediate container f8a6afaa079b 22:52:11 ---> 2f450f312a4d 22:52:11 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 22:52:12 ---> 1ce9dfddd3bf 22:52:12 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 22:52:13 ---> 0e72f8b53150 22:52:13 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 22:52:14 ---> dc60042e1ba5 22:52:14 Step 20/25 : EXPOSE 49986 22:52:14 ---> Running in 2c92b4b5f82e 22:52:15 Removing intermediate container 2c92b4b5f82e 22:52:15 ---> f651a54a6cb7 22:52:15 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 22:52:15 ---> Running in 5601b7055bf0 22:52:15 Removing intermediate container 5601b7055bf0 22:52:15 ---> b3bdb3377610 22:52:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:52:15 ---> Running in e0ac237f7175 22:52:16 Removing intermediate container e0ac237f7175 22:52:16 ---> ab698cc42272 22:52:16 Step 23/25 : LABEL arch=arm64 22:52:16 ---> Running in 181be7b1ba17 22:52:16 Removing intermediate container 181be7b1ba17 22:52:16 ---> c067cfb5ddde 22:52:16 Step 24/25 : LABEL git_sha=755b338209b044300c15889e718e2b9f4a315616 22:52:17 ---> Running in 2dc54e2d5f28 22:52:17 Removing intermediate container 2dc54e2d5f28 22:52:17 ---> 0614cfd289be 22:52:17 Step 25/25 : LABEL version=0.0.0 22:52:17 ---> Running in ef3f040d3af1 22:52:17 Removing intermediate container ef3f040d3af1 22:52:17 ---> 120db9eddb33 22:52:17 [Warning] One or more build-args [ARCH] were not consumed 22:52:17 Successfully built 120db9eddb33 22:52:17 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 22:52:20 provisioning config files... 22:52:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/config3424093479403582222tmp [Pipeline] { [Pipeline] sh 22:52:21 + set +x 22:52:21 + curl -s https://codecov.io/bash 22:52:21 + bash -s -- 22:52:21 22:52:21 _____ _ 22:52:21 / ____| | | 22:52:21 | | ___ __| | ___ ___ _____ __ 22:52:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:21 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:21 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:21 Bash-20200917-4e8f14b 22:52:21 22:52:21 22:52:21 ==> Jenkins CI detected. 22:52:21 project root: . 22:52:21 --> token set from env 22:52:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:21 ==> Running gcov in . (disable via -X gcov) 22:52:21 ==> Python coveragepy not found 22:52:21 ==> Searching for coverage reports in: 22:52:21 + . 22:52:21 -> Found 1 reports 22:52:21 ==> Detecting git/mercurial file structure 22:52:21 ==> Reading reports 22:52:21 + ./coverage.out bytes=9369 22:52:21 ==> Appending adjustments 22:52:21 https://docs.codecov.io/docs/fixing-reports 22:52:21 + Found adjustments 22:52:21 ==> Gzipping contents 22:52:21 ==> Uploading reports 22:52:21 url: https://codecov.io 22:52:21 query: branch=PR-44&commit=755b338209b044300c15889e718e2b9f4a315616&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-44%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=44&job=&cmd_args= 22:52:21 -> Pinging Codecov 22:52:21 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-44&commit=755b338209b044300c15889e718e2b9f4a315616&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-44%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=44&job=&cmd_args= 22:52:22 -> Uploading to 22:52:22 https://storage.googleapis.com/codecov/v4/raw/2020-09-28/4E5D53B4F1F92C436F7061BF334D961C/755b338209b044300c15889e718e2b9f4a315616/748c9858-70c2-46e7-90a9-758905d0ac51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200928T225222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e39f73f763f85665e72d3a10967dc29014fef4361f11c524f066686bcb675c1 22:52:22 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:22 Dload Upload Total Spent Left Speed 22:52:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 3938 --:--:-- --:--:-- --:--:-- 3941 22:52:22 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/755b338209b044300c15889e718e2b9f4a315616 [Pipeline] } 22:52:22 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] { (Archive Prep) Stage "Archive Prep" 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 22:52:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:28 ---> package-listing.sh 22:52:28 ++ facter osfamily 22:52:28 ++ tr '[:upper:]' '[:lower:]' 22:52:28 + OS_FAMILY=redhat 22:52:28 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-44 22:52:28 + START_PACKAGES=/tmp/packages_start.txt 22:52:28 + END_PACKAGES=/tmp/packages_end.txt 22:52:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:28 + PACKAGES=/tmp/packages_start.txt 22:52:28 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-44 ']' 22:52:28 + PACKAGES=/tmp/packages_end.txt 22:52:28 + case "${OS_FAMILY}" in 22:52:28 + rpm -qa 22:52:28 + sort 22:52:32 + '[' -f /tmp/packages_start.txt ']' 22:52:32 + '[' -f /tmp/packages_end.txt ']' 22:52:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:32 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-44 ']' 22:52:32 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-44/archives/ 22:52:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-44/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:32 provisioning config files... 22:52:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-44@tmp/config3429198054137116840tmp [Pipeline] { [Pipeline] echo 22:52:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:33 ---> create-netrc.sh [Pipeline] } 22:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:52:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:52:33 ---> python-tools-install.sh 22:52:33 Generating Requirements File 22:53:55 Python 3.6.8 22:53:55 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 22:53:55 aiohttp==3.6.2 22:53:55 appdirs==1.4.3 22:53:55 argcomplete==1.12.1 22:53:55 aspy.yaml==1.3.0 22:53:55 async-timeout==3.0.1 22:53:55 attrs==19.3.0 22:53:55 Babel==2.8.0 22:53:55 beautifulsoup4==4.8.2 22:53:55 boto3==1.11.6 22:53:55 botocore==1.14.6 22:53:55 bs4==0.0.1 22:53:55 cachetools==4.1.1 22:53:55 certifi==2019.11.28 22:53:55 cffi==1.14.3 22:53:55 cfgv==2.0.1 22:53:55 chardet==3.0.4 22:53:55 click==7.1 22:53:55 cliff==3.4.0 22:53:55 cmd2==1.3.10 22:53:55 colorama==0.4.3 22:53:55 cryptography==3.1.1 22:53:55 debtcollector==2.2.0 22:53:55 decorator==4.4.2 22:53:55 defusedxml==0.6.0 22:53:55 Deprecated==1.2.7 22:53:55 distlib==0.3.1 22:53:55 distro==1.2.0 22:53:55 dnspython==1.16.0 22:53:55 docker==4.2.0 22:53:55 docutils==0.15.2 22:53:55 dogpile.cache==1.0.2 22:53:55 email-validator==1.0.5 22:53:55 filelock==3.0.12 22:53:55 future==0.18.2 22:53:55 google-auth==1.22.0 22:53:55 httplib2==0.17.0 22:53:55 identify==1.4.11 22:53:55 idna==2.9 22:53:55 idna-ssl==1.1.0 22:53:55 importlib-metadata==1.7.0 22:53:55 importlib-resources==1.5.0 22:53:55 iso8601==0.1.13 22:53:55 Jinja2==2.11.1 22:53:55 jmespath==0.10.0 22:53:55 jsonpatch==1.26 22:53:55 jsonpointer==2.0 22:53:55 jsonschema==3.2.0 22:53:55 keystoneauth1==4.2.1 22:53:55 kubernetes==11.0.0 22:53:55 lftools==0.34.2 22:53:55 lxml==4.5.0 22:53:55 MarkupSafe==0.23 22:53:55 msgpack==1.0.0 22:53:55 multi-key-dict==2.0.3 22:53:55 multidict==4.7.6 22:53:55 munch==2.5.0 22:53:55 netaddr==0.8.0 22:53:55 netifaces==0.10.9 22:53:55 niet==1.4.2 22:53:55 nodeenv==1.3.5 22:53:55 oauth2client==4.1.3 22:53:55 oauthlib==3.1.0 22:53:55 openstacksdk==0.50.0 22:53:55 os-client-config==2.1.0 22:53:55 os-service-types==1.7.0 22:53:55 osc-lib==2.2.1 22:53:55 oslo.config==8.3.2 22:53:55 oslo.context==3.1.1 22:53:55 oslo.i18n==5.0.1 22:53:55 oslo.log==4.4.0 22:53:55 oslo.serialization==4.0.1 22:53:55 oslo.utils==4.6.0 22:53:55 packaging==20.4 22:53:55 pbr==5.4.4 22:53:55 pluggy==0.13.1 22:53:55 prettytable==0.7.2 22:53:55 py==1.9.0 22:53:55 pyasn1==0.4.8 22:53:55 pyasn1-modules==0.2.8 22:53:55 pycparser==2.20 22:53:55 pygerrit2==2.0.10 22:53:55 PyGithub==1.46 22:53:55 pyinotify==0.9.6 22:53:55 PyJWT==1.7.1 22:53:55 pyparsing==2.4.7 22:53:55 pyperclip==1.8.0 22:53:55 pyroute2==0.4.13 22:53:55 pyrsistent==0.15.7 22:53:55 PySocks==1.6.8 22:53:55 python-cinderclient==7.2.0 22:53:55 python-dateutil==2.8.1 22:53:55 python-heatclient==2.2.1 22:53:55 python-jenkins==1.7.0 22:53:55 python-keystoneclient==4.1.1 22:53:55 python-magnumclient==3.2.1 22:53:55 python-novaclient==17.2.1 22:53:55 python-openstackclient==5.3.1 22:53:55 python-swiftclient==3.10.1 22:53:55 pytz==2020.1 22:53:55 PyYAML==5.3 22:53:55 requests==2.23.0 22:53:55 requests-oauthlib==1.3.0 22:53:55 requestsexceptions==1.4.0 22:53:55 rfc3986==1.4.0 22:53:55 rpm==4.11.3 22:53:55 rsa==4.0 22:53:55 ruamel.yaml==0.16.10 22:53:55 ruamel.yaml.clib==0.2.0 22:53:55 s3transfer==0.3.3 22:53:55 shade==1.27.2 22:53:55 simplejson==3.17.2 22:53:55 six==1.14.0 22:53:55 soupsieve==2.0 22:53:55 stevedore==3.2.2 22:53:55 tabulate==0.8.6 22:53:55 toml==0.10.0 22:53:55 tox==3.20.0 22:53:55 tqdm==4.43.0 22:53:55 typing-extensions==3.7.4.3 22:53:55 urllib3==1.25.8 22:53:55 virtualenv==20.0.31 22:53:55 wcwidth==0.2.5 22:53:55 websocket-client==0.57.0 22:53:55 wrapt==1.12.1 22:53:55 xdg==3.0.2 22:53:55 xmltodict==0.12.0 22:53:55 yarl==1.6.0 22:53:55 yq==2.11.1 22:53:55 zipp==3.2.0 22:53:55 Cache entry deserialization failed, entry ignored 22:53:57 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 22:54:00 Python 2.7.5 22:54:00 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 22:54:00 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 22:54:00 ansible==2.9.7 22:54:00 Babel==0.9.6 22:54:00 backports.ssl-match-hostname==3.5.0.1 22:54:00 beautifulsoup4==4.4.1 22:54:00 bodhi==2.11.0 22:54:00 bodhi-client==2.11.0 22:54:00 CCColUtils==1.4 22:54:00 cffi==1.6.0 22:54:00 chardet==2.2.1 22:54:00 click==6.7 22:54:00 cloud-init==18.5 22:54:00 configobj==4.7.2 22:54:00 cryptography==1.7.2 22:54:00 decorator==3.4.0 22:54:00 distro==1.2.0 22:54:00 enum34==1.0.4 22:54:00 fedpkg==1.38 22:54:00 futures==3.1.1 22:54:00 gitdb==0.6.4 22:54:00 GitPython==1.0.1 22:54:00 html5lib==0.999 22:54:00 httplib2==0.9.2 22:54:00 idna==2.4 22:54:00 iniparse==0.4 22:54:00 ipaddress==1.0.16 22:54:00 IPy==0.75 22:54:00 javapackages==1.0.0 22:54:00 Jinja2==2.7.2 22:54:00 jmespath==0.9.4 22:54:00 jsonpatch==1.2 22:54:00 jsonpointer==1.9 22:54:00 kerberos==1.1 22:54:00 kitchen==1.1.1 22:54:00 langtable==0.0.31 22:54:00 lockfile==0.9.1 22:54:00 lxml==3.2.1 22:54:00 MarkupSafe==0.11 22:54:00 munch==2.0.2 22:54:00 offtrac==0.1.0 22:54:00 openidc-client==0.6.0 22:54:00 packagedb-cli==2.14.1 22:54:00 paramiko==2.1.1 22:54:00 perf==0.1 22:54:00 ply==3.4 22:54:00 policycoreutils-default-encoding==0.1 22:54:00 prettytable==0.7.2 22:54:00 pyasn1==0.1.9 22:54:00 pycparser==2.14 22:54:00 pycurl==7.19.0 22:54:00 pygobject==3.22.0 22:54:00 pygpgme==0.3 22:54:00 pyliblzma==0.5.3 22:54:00 pyOpenSSL==0.13.1 22:54:00 pyparsing==1.5.6 22:54:00 pyserial==2.6 22:54:00 python-augeas==0.5.0 22:54:00 python-bugzilla==2.3.0 22:54:00 python-dateutil==1.5 22:54:00 python-fedora==0.10.0 22:54:00 python-linux-procfs==0.4.9 22:54:00 python-yubico==1.2.3 22:54:00 pyudev==0.15 22:54:00 pyusb==1.0.0b1 22:54:00 pyxattr==0.5.1 22:54:00 PyYAML==3.10 22:54:00 requests==2.6.0 22:54:00 requests-kerberos==0.7.0 22:54:00 rpkg==1.60 22:54:00 schedutils==0.4 22:54:00 seobject==0.1 22:54:00 sepolicy==1.1 22:54:00 six==1.9.0 22:54:00 smmap==0.9.0 22:54:00 urlgrabber==3.10 22:54:00 urllib3==1.10.2 22:54:00 virtualenv==15.1.0 22:54:00 yum-langpacks==0.4.2 22:54:00 yum-metadata-parser==1.1.4 [Pipeline] echo 22:54:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:01 ---> sudo-logs.sh 22:54:01 Archiving 'sudo' log.. [Pipeline] echo 22:54:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:01 ---> job-cost.sh 22:54:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4l5Y 22:54:14 Cache entry deserialization failed, entry ignored 22:54:14 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:15 Cache entry deserialization failed, entry ignored 22:54:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:54:50 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 22:54:50 22:54:50 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 22:54:50 22:54:50 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 22:54:50 lf-activate-venv(): INFO: Adding /tmp/venv-4l5Y/bin to PATH 22:54:50 INFO: No Stack... 22:54:50 INFO: Retrieving Pricing Info for: v1-standard-2 22:54:50 INFO: Archiving Costs [Pipeline] echo 22:54:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:50 ---> logs-deploy.sh 22:54:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-44/1 22:54:50 INFO: archiving workspace using pattern(s): 22:54:52 Archives upload complete. 22:54:52 INFO: archiving logs to Nexus 22:54:53 ---> uname -a: 22:54:53 Linux prd-centos7-docker-4c-2g-1831.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 22:54:53 22:54:53 22:54:53 ---> lscpu: 22:54:53 Architecture: x86_64 22:54:53 CPU op-mode(s): 32-bit, 64-bit 22:54:53 Byte Order: Little Endian 22:54:53 CPU(s): 4 22:54:53 On-line CPU(s) list: 0-3 22:54:53 Thread(s) per core: 1 22:54:53 Core(s) per socket: 1 22:54:53 Socket(s): 4 22:54:53 NUMA node(s): 1 22:54:53 Vendor ID: GenuineIntel 22:54:53 CPU family: 6 22:54:53 Model: 44 22:54:53 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:54:53 Stepping: 1 22:54:53 CPU MHz: 2933.436 22:54:53 BogoMIPS: 5866.87 22:54:53 Virtualization: VT-x 22:54:53 Hypervisor vendor: KVM 22:54:53 Virtualization type: full 22:54:53 L1d cache: 32K 22:54:53 L1i cache: 32K 22:54:53 L2 cache: 4096K 22:54:53 L3 cache: 16384K 22:54:53 NUMA node0 CPU(s): 0-3 22:54:53 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 22:54:53 22:54:53 22:54:53 ---> nproc: 22:54:53 4 22:54:53 22:54:53 22:54:53 ---> df -h: 22:54:53 Filesystem Size Used Avail Use% Mounted on 22:54:53 devtmpfs 887M 0 887M 0% /dev 22:54:53 tmpfs 919M 0 919M 0% /dev/shm 22:54:53 tmpfs 919M 17M 903M 2% /run 22:54:53 tmpfs 919M 0 919M 0% /sys/fs/cgroup 22:54:53 /dev/vda1 50G 7.3G 43G 15% / 22:54:53 tmpfs 184M 0 184M 0% /run/user/1001 22:54:53 22:54:53