Pull request #37 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 venkata-subbareddyK for edgexfoundry/device-rest-go Loading trusted files from base branch master at ecc710d5197e59ae7f4883e76f8aa49dbd120517 rather than 46301ebcf33bc1215e642c59d29d242eedac304d Obtained Jenkinsfile from ecc710d5197e59ae7f4883e76f8aa49dbd120517 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf 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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf 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-37/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 f17c8f7ddcfcae814424951d38f1611fe0b2aacf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f17c8f7ddcfcae814424951d38f1611fe0b2aacf # timeout=10 Commit message: "Merge pull request #232 from ernestojeda/update-snap-agent-c" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-841 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [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-37 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +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/37/head:refs/remotes/origin/PR-37 # timeout=10 Fetching without tags Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) > 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/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # 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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-31T19:47:47.155Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-31T19:47:47.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-31T19:47:48.243Z] ========================================================= [2020-08-31T19:47:48.243Z] EdgeX Global Pipelines Version Info [2020-08-31T19:47:48.243Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:47:50.246Z] ------------------- [2020-08-31T19:47:50.246Z] stable info: [2020-08-31T19:47:50.246Z] ------------------- [2020-08-31T19:47:50.246Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-31T19:47:50.246Z] Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf [2020-08-31T19:47:50.246Z] Message: update stable to v1.0.114 [2020-08-31T19:47:50.823Z] ------------------- [2020-08-31T19:47:50.823Z] experimental info: [2020-08-31T19:47:50.823Z] ------------------- [2020-08-31T19:47:50.823Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-31T19:47:50.823Z] Commit SHA: f17c8f7ddcfcae814424951d38f1611fe0b2aacf [2020-08-31T19:47:50.823Z] Message: update experimental to v1.0.114 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-08-31T19:47:51.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-08-31T19:47:51.572Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-08-31T19:47:51.753Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-08-31T19:47:51.870Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-08-31T19:47:52.043Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-08-31T19:47:52.214Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-08-31T19:47:52.329Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-08-31T19:47:52.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-08-31T19:47:52.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-08-31T19:47:52.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-08-31T19:47:52.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-08-31T19:47:52.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-08-31T19:47:53.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-08-31T19:47:53.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-08-31T19:47:53.302Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-08-31T19:47:53.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-08-31T19:47:53.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-08-31T19:47:53.623Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-08-31T19:47:53.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-08-31T19:47:53.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-08-31T19:47:53.980Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-08-31T19:47:54.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-08-31T19:47:54.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-37 [Pipeline] echo [2020-08-31T19:47:54.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-37 [Pipeline] echo [2020-08-31T19:47:54.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-37 [Pipeline] echo [2020-08-31T19:47:54.530Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46301ebcf33bc1215e642c59d29d242eedac304d [Pipeline] echo [2020-08-31T19:47:54.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46301eb [Pipeline] echo [2020-08-31T19:47:54.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:47:55.489Z] + git log --format=format:%s -1 46301ebcf33bc1215e642c59d29d242eedac304d [Pipeline] echo [2020-08-31T19:47:55.582Z] GIT_COMMIT: 46301ebcf33bc1215e642c59d29d242eedac304d, Commit Message: refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34 [Pipeline] echo [2020-08-31T19:47:55.656Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:47:56.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:47:56.494Z] [2020-08-31T19:47:56.494Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:47:56.978Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:47:56.978Z] latest: Pulling from edgex-devops/git-semver [2020-08-31T19:47:56.978Z] 31603596830f: Pulling fs layer [2020-08-31T19:47:56.978Z] 2a8b12db71e7: Pulling fs layer [2020-08-31T19:47:56.978Z] 6ca5941a6612: Pulling fs layer [2020-08-31T19:47:56.978Z] ecc8261a40a4: Pulling fs layer [2020-08-31T19:47:56.978Z] ecc8261a40a4: Waiting [2020-08-31T19:47:56.978Z] 2a8b12db71e7: Verifying Checksum [2020-08-31T19:47:56.978Z] 2a8b12db71e7: Download complete [2020-08-31T19:47:57.263Z] 31603596830f: Verifying Checksum [2020-08-31T19:47:57.263Z] 31603596830f: Download complete [2020-08-31T19:47:57.263Z] ecc8261a40a4: Verifying Checksum [2020-08-31T19:47:57.263Z] ecc8261a40a4: Download complete [2020-08-31T19:47:57.263Z] 6ca5941a6612: Verifying Checksum [2020-08-31T19:47:57.263Z] 6ca5941a6612: Download complete [2020-08-31T19:47:57.843Z] 31603596830f: Pull complete [2020-08-31T19:47:57.843Z] 2a8b12db71e7: Pull complete [2020-08-31T19:47:59.279Z] 6ca5941a6612: Pull complete [2020-08-31T19:47:59.863Z] ecc8261a40a4: Pull complete [2020-08-31T19:47:59.863Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-31T19:47:59.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-31T19:47:59.863Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-31T19:48:00.072Z] prd-centos7-docker-4c-2g-841 does not seem to be running inside a container [2020-08-31T19:48:00.168Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-37 -v /w/workspace/dgexfoundry_device-rest-go_PR-37:/w/workspace/dgexfoundry_device-rest-go_PR-37:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-37@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-31T19:48:02.485Z] $ docker top 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-31T19:48:03.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-31T19:48:03.022Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-31T19:48:03.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-31T19:48:03.416Z] $ docker exec 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent [2020-08-31T19:48:03.598Z] SSH_AUTH_SOCK=/tmp/ssh-3xRf2T6aO9Oh/agent.12 [2020-08-31T19:48:03.598Z] SSH_AGENT_PID=18 [2020-08-31T19:48:03.615Z] Running ssh-add (command line suppressed) [2020-08-31T19:48:03.781Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_840989745839518952.key (/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_840989745839518952.key) [2020-08-31T19:48:03.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-31T19:48:04.221Z] + git describe --exact-match --tags HEAD [2020-08-31T19:48:04.221Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-31T19:48:04.336Z] $ docker exec --env ******** --env ******** 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent -k [2020-08-31T19:48:04.537Z] unset SSH_AUTH_SOCK; [2020-08-31T19:48:04.542Z] unset SSH_AGENT_PID; [2020-08-31T19:48:04.542Z] echo Agent pid 18 killed; [2020-08-31T19:48:04.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-31T19:48:04.789Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-31T19:48:04.789Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-31T19:48:04.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-31T19:48:04.897Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-31T19:48:05.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-31T19:48:05.153Z] $ docker exec 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent [2020-08-31T19:48:05.405Z] SSH_AUTH_SOCK=/tmp/ssh-qyZm2qfW6b54/agent.46 [2020-08-31T19:48:05.405Z] SSH_AGENT_PID=52 [2020-08-31T19:48:05.415Z] Running ssh-add (command line suppressed) [2020-08-31T19:48:05.572Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_5885254366675723230.key (/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/private_key_5885254366675723230.key) [2020-08-31T19:48:05.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-31T19:48:06.083Z] + git semver init [2020-08-31T19:48:06.083Z] # -> Open(): unable to determine branch for HEAD [2020-08-31T19:48:06.083Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-37/.git [2020-08-31T19:48:06.083Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-37 [2020-08-31T19:48:06.083Z] # $SEMVER_REMOTE_NAME = origin [2020-08-31T19:48:06.083Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-31T19:48:06.083Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-31T19:48:06.083Z] # $SEMVER_BRANCH = PR-37 [2020-08-31T19:48:06.083Z] # $SEMVER_TEMP = /tmp/semver-018725963 [2020-08-31T19:48:06.083Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-08-31T19:48:07.550Z] # '/tmp/semver-018725963' -> '/w/workspace/dgexfoundry_device-rest-go_PR-37/.semver' [2020-08-31T19:48:07.550Z] # -> Force: false [2020-08-31T19:48:07.550Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-37/.semver [Pipeline] } [2020-08-31T19:48:07.584Z] $ docker exec --env ******** --env ******** 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 ssh-agent -k [2020-08-31T19:48:07.795Z] unset SSH_AUTH_SOCK; [2020-08-31T19:48:07.801Z] unset SSH_AGENT_PID; [2020-08-31T19:48:07.802Z] echo Agent pid 52 killed; [2020-08-31T19:48:07.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-31T19:48:08.441Z] + git semver [Pipeline] } [2020-08-31T19:48:08.484Z] $ docker stop --time=1 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 [2020-08-31T19:48:10.024Z] $ docker rm -f 81d342f9600e07373f82776d23a9e4a83318a5962ab7cd2192882a861f956501 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-31T19:48:12.012Z] Stashed 19 file(s) [Pipeline] echo [2020-08-31T19:48:12.033Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-08-31T19:48:12.138Z] 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 [2020-08-31T19:48:27.865Z] Still waiting to schedule task [2020-08-31T19:48:27.865Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-31T19:48:27.891Z] Still waiting to schedule task [2020-08-31T19:48:27.891Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-08-31T19:50:19.814Z] Running on prd-centos7-docker-4c-2g-844 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [Pipeline] { [Pipeline] ws [2020-08-31T19:50:19.914Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-08-31T19:50:22.659Z] using credential edgex-jenkins-ssh [2020-08-31T19:50:22.702Z] Cloning the remote Git repository [2020-08-31T19:50:22.702Z] Cloning with configured refspecs honoured and without tags [2020-08-31T19:50:22.732Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:50:22.794Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-08-31T19:50:22.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:50:22.840Z] > git --version # timeout=10 [2020-08-31T19:50:22.848Z] > git --version # 'git version 2.16.5' [2020-08-31T19:50:22.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:50:22.871Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:50:23.709Z] Fetching without tags [2020-08-31T19:50:24.097Z] Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:50:24.171Z] Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:50:24.172Z] Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) [2020-08-31T19:50:23.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-31T19:50:23.692Z] > git config --add remote.origin.fetch +refs/pull/37/head:refs/remotes/origin/PR-37 # timeout=10 [2020-08-31T19:50:23.699Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:50:23.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-31T19:50:23.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:50:23.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:50:23.725Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:50:24.112Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:50:24.120Z] > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 [2020-08-31T19:50:24.149Z] > git remote # timeout=10 [2020-08-31T19:50:24.155Z] > git config --get remote.origin.url # timeout=10 [2020-08-31T19:50:24.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:50:24.165Z] > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-31T19:50:24.174Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-31T19:50:24.182Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:50:24.188Z] > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 [2020-08-31T19:50:27.733Z] Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" [2020-08-31T19:50:27.769Z] > git --version # timeout=10 [2020-08-31T19:50:27.774Z] > git --version # 'git version 2.16.5' [2020-08-31T19:50:27.781Z] fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-31T19:50:28.991Z] ========================================================= [2020-08-31T19:50:28.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-31T19:50:28.991Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:50:29.637Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-08-31T19:50:29.901Z] Sending build context to Docker daemon 8.04MB [2020-08-31T19:50:29.901Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-31T19:50:29.901Z] Step 2/10 : FROM ${BASE} [2020-08-31T19:50:30.170Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-31T19:50:30.170Z] df20fa9351a1: Pulling fs layer [2020-08-31T19:50:30.170Z] ed8968b2872e: Pulling fs layer [2020-08-31T19:50:30.170Z] a92cc7c5fd73: Pulling fs layer [2020-08-31T19:50:30.170Z] 2dd03ba5bac4: Pulling fs layer [2020-08-31T19:50:30.170Z] 1e091d79d1de: Pulling fs layer [2020-08-31T19:50:30.170Z] 481702a1767f: Pulling fs layer [2020-08-31T19:50:30.170Z] f64a6f60c768: Pulling fs layer [2020-08-31T19:50:30.170Z] e78d2573fc39: Pulling fs layer [2020-08-31T19:50:30.170Z] e876d2f968b6: Pulling fs layer [2020-08-31T19:50:30.170Z] ce8a83651883: Pulling fs layer [2020-08-31T19:50:30.170Z] 07967f4d0e4b: Pulling fs layer [2020-08-31T19:50:30.170Z] 1e091d79d1de: Waiting [2020-08-31T19:50:30.170Z] 481702a1767f: Waiting [2020-08-31T19:50:30.170Z] 2dd03ba5bac4: Waiting [2020-08-31T19:50:30.170Z] f64a6f60c768: Waiting [2020-08-31T19:50:30.170Z] e78d2573fc39: Waiting [2020-08-31T19:50:30.170Z] e876d2f968b6: Waiting [2020-08-31T19:50:30.170Z] ce8a83651883: Waiting [2020-08-31T19:50:30.170Z] 07967f4d0e4b: Waiting [2020-08-31T19:50:30.170Z] a92cc7c5fd73: Verifying Checksum [2020-08-31T19:50:30.170Z] a92cc7c5fd73: Download complete [2020-08-31T19:50:30.170Z] ed8968b2872e: Download complete [2020-08-31T19:50:30.170Z] 1e091d79d1de: Verifying Checksum [2020-08-31T19:50:30.170Z] 1e091d79d1de: Download complete [2020-08-31T19:50:30.170Z] 481702a1767f: Verifying Checksum [2020-08-31T19:50:30.170Z] 481702a1767f: Download complete [2020-08-31T19:50:30.170Z] df20fa9351a1: Verifying Checksum [2020-08-31T19:50:30.170Z] df20fa9351a1: Download complete [2020-08-31T19:50:30.441Z] df20fa9351a1: Pull complete [2020-08-31T19:50:31.041Z] f64a6f60c768: Verifying Checksum [2020-08-31T19:50:31.041Z] f64a6f60c768: Download complete [2020-08-31T19:50:31.041Z] e876d2f968b6: Verifying Checksum [2020-08-31T19:50:31.041Z] e876d2f968b6: Download complete [2020-08-31T19:50:31.624Z] 2dd03ba5bac4: Verifying Checksum [2020-08-31T19:50:31.624Z] 2dd03ba5bac4: Download complete [2020-08-31T19:50:31.897Z] e78d2573fc39: Verifying Checksum [2020-08-31T19:50:31.897Z] e78d2573fc39: Download complete [2020-08-31T19:50:31.897Z] 07967f4d0e4b: Verifying Checksum [2020-08-31T19:50:31.897Z] 07967f4d0e4b: Download complete [2020-08-31T19:50:31.897Z] ce8a83651883: Download complete [2020-08-31T19:50:32.469Z] ed8968b2872e: Pull complete [2020-08-31T19:50:32.469Z] a92cc7c5fd73: Pull complete [2020-08-31T19:50:37.789Z] 2dd03ba5bac4: Pull complete [2020-08-31T19:50:37.789Z] 1e091d79d1de: Pull complete [2020-08-31T19:50:38.052Z] 481702a1767f: Pull complete [2020-08-31T19:50:44.643Z] f64a6f60c768: Pull complete [2020-08-31T19:50:47.966Z] e78d2573fc39: Pull complete [2020-08-31T19:50:47.966Z] e876d2f968b6: Pull complete [2020-08-31T19:50:48.546Z] ce8a83651883: Pull complete [2020-08-31T19:50:48.808Z] 07967f4d0e4b: Pull complete [2020-08-31T19:50:48.808Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-31T19:50:48.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-31T19:50:48.808Z] ---> 5d7c900382c6 [2020-08-31T19:50:48.808Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-31T19:50:50.723Z] ---> Running in edd74f9e042a [2020-08-31T19:50:50.723Z] Removing intermediate container edd74f9e042a [2020-08-31T19:50:50.723Z] ---> 5d6d139fc2f0 [2020-08-31T19:50:50.724Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:50:50.984Z] ---> Running in e97f70219fa9 [2020-08-31T19:50:50.984Z] Removing intermediate container e97f70219fa9 [2020-08-31T19:50:50.984Z] ---> 2c2a0e52849e [2020-08-31T19:50:50.984Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-31T19:50:51.245Z] ---> Running in 68f92096be37 [2020-08-31T19:50:51.245Z] Removing intermediate container 68f92096be37 [2020-08-31T19:50:51.245Z] ---> bb1061cffc9e [2020-08-31T19:50:51.245Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:50:51.245Z] ---> Running in abe341cdd4ac [2020-08-31T19:50:52.656Z] Removing intermediate container abe341cdd4ac [2020-08-31T19:50:52.656Z] ---> 6130487bd345 [2020-08-31T19:50:52.656Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:50:52.656Z] ---> Running in c7aaba53bedd [2020-08-31T19:50:53.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-31T19:50:53.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-31T19:50:54.374Z] OK: 166 MiB in 39 packages [2020-08-31T19:50:54.638Z] Removing intermediate container c7aaba53bedd [2020-08-31T19:50:54.638Z] ---> de34c7789552 [2020-08-31T19:50:54.638Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-31T19:50:54.899Z] ---> Running in 7324e9605c8f [2020-08-31T19:50:54.899Z] Removing intermediate container 7324e9605c8f [2020-08-31T19:50:54.899Z] ---> bf58aa6868b9 [2020-08-31T19:50:54.899Z] Step 9/10 : COPY . . [2020-08-31T19:50:55.473Z] ---> aa204aa15b88 [2020-08-31T19:50:55.473Z] Step 10/10 : RUN go mod download [2020-08-31T19:50:55.473Z] ---> Running in e2ef42260721 [2020-08-31T19:50:57.411Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-31T19:50:57.411Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-31T19:50:57.677Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-31T19:50:57.677Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-31T19:50:57.677Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-31T19:50:57.677Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-31T19:50:57.677Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-31T19:50:57.677Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-31T19:50:57.677Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-31T19:50:57.939Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-31T19:50:57.939Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-31T19:50:57.939Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-31T19:50:57.939Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-31T19:50:57.939Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-31T19:50:57.939Z] go: finding github.com/fatih/color v1.7.0 [2020-08-31T19:50:57.939Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-31T19:50:58.201Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-31T19:50:58.201Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-31T19:50:58.201Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-31T19:50:58.201Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-31T19:50:58.201Z] go: finding github.com/google/uuid v1.1.0 [2020-08-31T19:50:58.201Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-31T19:50:58.201Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-31T19:50:58.461Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-31T19:50:58.729Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-31T19:50:58.990Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-31T19:50:58.990Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-31T19:50:58.990Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-31T19:50:58.990Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-31T19:50:58.990Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-31T19:50:58.990Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-31T19:50:58.990Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-31T19:50:59.256Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-31T19:50:59.527Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-31T19:50:59.527Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-31T19:50:59.527Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-31T19:50:59.527Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-31T19:50:59.527Z] go: finding github.com/posener/complete v1.1.1 [2020-08-31T19:50:59.527Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-31T19:50:59.527Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-31T19:50:59.790Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-31T19:50:59.790Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-31T19:50:59.790Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-31T19:50:59.790Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-31T19:50:59.790Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-31T19:50:59.790Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-31T19:50:59.790Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-31T19:51:00.051Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-31T19:51:00.051Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-31T19:51:00.051Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-31T19:51:00.051Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-31T19:51:08.208Z] Removing intermediate container e2ef42260721 [2020-08-31T19:51:08.208Z] ---> 4a50a1cc4552 [2020-08-31T19:51:08.208Z] Successfully built 4a50a1cc4552 [2020-08-31T19:51:08.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:51:09.053Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-31T19:51:09.053Z] . [Pipeline] withDockerContainer [2020-08-31T19:51:09.175Z] prd-centos7-docker-4c-2g-844 does not seem to be running inside a container [2020-08-31T19:51:09.225Z] $ 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 ******** ci-base-image-x86_64 cat [2020-08-31T19:51:10.335Z] $ docker top 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-31T19:51:10.854Z] + go version [2020-08-31T19:51:10.854Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-31T19:51:11.180Z] + make test [2020-08-31T19:51:11.180Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-31T19:51:12.144Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-08-31T19:51:22.274Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-08-31T19:51:22.274Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-08-31T19:51:22.274Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-31T19:51:23.693Z] gofmt -l . [2020-08-31T19:51:23.693Z] [ "`gofmt -l .`" = "" ] [2020-08-31T19:51:23.693Z] ./bin/test-go-mod-tidy.sh [2020-08-31T19:51:23.958Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-08-31T19:51:24.525Z] Stashed 1 file(s) [Pipeline] } [2020-08-31T19:51:24.550Z] $ docker stop --time=1 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 [2020-08-31T19:51:26.727Z] $ docker rm -f 24451eb7699e74c79d257ce87698f55b89ffa45bb0f4eff33460cedd73c9ec64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:51:28.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-31T19:51:28.570Z] + ls -al . [2020-08-31T19:51:28.570Z] total 96 [2020-08-31T19:51:28.570Z] drwxrwxr-x. 9 jenkins jenkins 4096 Aug 31 19:51 . [2020-08-31T19:51:28.570Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 31 19:50 .. [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 4802 Aug 31 19:50 Attribution.txt [2020-08-31T19:51:28.570Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 31 19:50 bin [2020-08-31T19:51:28.570Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 31 19:50 cmd [2020-08-31T19:51:28.570Z] -rw-r--r--. 1 jenkins jenkins 9369 Aug 31 19:51 coverage.out [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 1519 Aug 31 19:50 Dockerfile [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 989 Aug 31 19:50 Dockerfile.build [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 31 19:50 .dockerignore [2020-08-31T19:51:28.570Z] drwxrwxr-x. 2 jenkins jenkins 93 Aug 31 19:51 driver [2020-08-31T19:51:28.570Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 31 19:50 .git [2020-08-31T19:51:28.570Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 19:50 .github [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 339 Aug 31 19:50 .gitignore [2020-08-31T19:51:28.570Z] -rw-r--r--. 1 jenkins jenkins 266 Aug 31 19:51 go.mod [2020-08-31T19:51:28.570Z] -rw-r--r--. 1 jenkins jenkins 12533 Aug 31 19:51 go.sum [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 31 19:50 Jenkinsfile [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 31 19:50 LICENSE [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 951 Aug 31 19:50 Makefile [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 5716 Aug 31 19:50 README.md [2020-08-31T19:51:28.570Z] drwxrwxr-x. 3 jenkins jenkins 45 Aug 31 19:50 .semver [2020-08-31T19:51:28.570Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 31 19:50 snap [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 31 19:48 VERSION [2020-08-31T19:51:28.570Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 31 19:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:51:28.906Z] + 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=46301ebcf33bc1215e642c59d29d242eedac304d --label arch=amd64 --label version=0.0.0 . [2020-08-31T19:51:28.906Z] Sending build context to Docker daemon 8.052MB [2020-08-31T19:51:28.906Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-08-31T19:51:28.906Z] Step 2/25 : FROM ${BASE} AS builder [2020-08-31T19:51:28.906Z] ---> 4a50a1cc4552 [2020-08-31T19:51:28.906Z] Step 3/25 : ARG MAKE='make build' [2020-08-31T19:51:29.176Z] ---> Running in a74b0c9a11fb [2020-08-31T19:51:29.437Z] Removing intermediate container a74b0c9a11fb [2020-08-31T19:51:29.437Z] ---> d913b767c6af [2020-08-31T19:51:29.437Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-08-31T19:51:29.437Z] ---> Running in eb3a96b4609e [2020-08-31T19:51:29.437Z] Removing intermediate container eb3a96b4609e [2020-08-31T19:51:29.437Z] ---> 8633de7b6763 [2020-08-31T19:51:29.437Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:51:29.698Z] ---> Running in 998abd6129e4 [2020-08-31T19:51:29.698Z] Removing intermediate container 998abd6129e4 [2020-08-31T19:51:29.698Z] ---> b20aa555fa1d [2020-08-31T19:51:29.698Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:51:29.978Z] ---> Running in c260fb529669 [2020-08-31T19:51:30.556Z] Removing intermediate container c260fb529669 [2020-08-31T19:51:30.556Z] ---> 65113ed829dc [2020-08-31T19:51:30.556Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:51:30.556Z] ---> Running in df4ecee1d6a5 [2020-08-31T19:51:31.127Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-31T19:51:31.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-31T19:51:32.270Z] OK: 166 MiB in 39 packages [2020-08-31T19:51:32.326Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-845 in /w/workspace/dgexfoundry_device-rest-go_PR-37 [Pipeline] { [Pipeline] ws [2020-08-31T19:51:32.408Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-08-31T19:51:32.531Z] Removing intermediate container df4ecee1d6a5 [2020-08-31T19:51:32.531Z] ---> de861541a8c8 [2020-08-31T19:51:32.531Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-31T19:51:32.531Z] ---> Running in 8cd86c942907 [2020-08-31T19:51:32.792Z] Removing intermediate container 8cd86c942907 [2020-08-31T19:51:32.792Z] ---> ad0a289bc223 [2020-08-31T19:51:32.792Z] Step 9/25 : COPY go.mod . [2020-08-31T19:51:33.052Z] ---> be8ae7af5171 [2020-08-31T19:51:33.052Z] Step 10/25 : COPY Makefile . [2020-08-31T19:51:33.052Z] ---> 35d6b9661fd6 [2020-08-31T19:51:33.052Z] Step 11/25 : RUN make update [2020-08-31T19:51:33.315Z] ---> Running in fc29cbe22a1a [2020-08-31T19:51:33.578Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-31T19:51:34.163Z] Removing intermediate container fc29cbe22a1a [2020-08-31T19:51:34.163Z] ---> f3942594d09f [2020-08-31T19:51:34.163Z] Step 12/25 : COPY . . [2020-08-31T19:51:34.747Z] ---> 225946bde0fa [2020-08-31T19:51:34.747Z] Step 13/25 : RUN $MAKE [2020-08-31T19:51:34.747Z] ---> Running in 228831a29054 [2020-08-31T19:51:35.016Z] 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 [2020-08-31T19:51:37.130Z] using credential edgex-jenkins-ssh [2020-08-31T19:51:37.178Z] Cloning the remote Git repository [2020-08-31T19:51:37.178Z] Cloning with configured refspecs honoured and without tags [2020-08-31T19:51:37.248Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:51:37.350Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-08-31T19:51:37.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:51:37.405Z] > git --version # timeout=10 [2020-08-31T19:51:37.419Z] > git --version # 'git version 2.17.1' [2020-08-31T19:51:37.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:51:37.464Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:51:39.006Z] Fetching without tags [2020-08-31T19:51:39.524Z] Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:51:39.718Z] Merge succeeded, producing 46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:51:39.719Z] Checking out Revision 46301ebcf33bc1215e642c59d29d242eedac304d (PR-37) [2020-08-31T19:51:38.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-31T19:51:38.971Z] > git config --add remote.origin.fetch +refs/pull/37/head:refs/remotes/origin/PR-37 # timeout=10 [2020-08-31T19:51:38.983Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:51:39.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-31T19:51:39.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-31T19:51:39.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:51:39.043Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-31T19:51:39.560Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:51:39.582Z] > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 [2020-08-31T19:51:39.652Z] > git remote # timeout=10 [2020-08-31T19:51:39.680Z] > git config --get remote.origin.url # timeout=10 [2020-08-31T19:51:39.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-31T19:51:39.700Z] > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-31T19:51:39.721Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-31T19:51:39.743Z] > git config core.sparsecheckout # timeout=10 [2020-08-31T19:51:39.759Z] > git checkout -f 46301ebcf33bc1215e642c59d29d242eedac304d # timeout=10 [2020-08-31T19:51:43.978Z] Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#34" [2020-08-31T19:51:44.077Z] > git --version # timeout=10 [2020-08-31T19:51:44.093Z] > git --version # 'git version 2.17.1' [2020-08-31T19:51:44.109Z] fatal: bad object f17c8f7ddcfcae814424951d38f1611fe0b2aacf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-31T19:51:46.332Z] ========================================================= [2020-08-31T19:51:46.332Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-31T19:51:46.332Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:51:47.360Z] Removing intermediate container 228831a29054 [2020-08-31T19:51:47.360Z] ---> 21639a4389d4 [2020-08-31T19:51:47.360Z] Step 14/25 : FROM alpine:latest [2020-08-31T19:51:47.360Z] latest: Pulling from library/alpine [2020-08-31T19:51:47.360Z] df20fa9351a1: Already exists [2020-08-31T19:51:47.360Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-31T19:51:47.360Z] Status: Downloaded newer image for alpine:latest [2020-08-31T19:51:47.360Z] ---> a24bb4013296 [2020-08-31T19:51:47.360Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-31T19:51:47.360Z] ---> Running in e158abe7112c [2020-08-31T19:51:47.360Z] Removing intermediate container e158abe7112c [2020-08-31T19:51:47.360Z] ---> 5c0381419a13 [2020-08-31T19:51:47.360Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-31T19:51:47.360Z] ---> Running in bbc421b2e7e6 [2020-08-31T19:51:47.360Z] Removing intermediate container bbc421b2e7e6 [2020-08-31T19:51:47.360Z] ---> 02cb2d1c8b2a [2020-08-31T19:51:47.360Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-31T19:51:47.360Z] ---> badedab9340c [2020-08-31T19:51:47.360Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-31T19:51:47.360Z] ---> 51d920bba39b [2020-08-31T19:51:47.360Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-31T19:51:47.360Z] ---> 0c76e1db3268 [2020-08-31T19:51:47.360Z] Step 20/25 : EXPOSE 49986 [2020-08-31T19:51:47.360Z] ---> Running in d9445e1e2db4 [2020-08-31T19:51:47.385Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-08-31T19:51:47.623Z] Removing intermediate container d9445e1e2db4 [2020-08-31T19:51:47.623Z] ---> a4575010060c [2020-08-31T19:51:47.623Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-08-31T19:51:47.623Z] ---> Running in be9743cfafec [2020-08-31T19:51:47.884Z] Removing intermediate container be9743cfafec [2020-08-31T19:51:47.885Z] ---> 58886eaad1d9 [2020-08-31T19:51:47.885Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-08-31T19:51:47.885Z] ---> Running in 570fd2c746b6 [2020-08-31T19:51:47.885Z] Removing intermediate container 570fd2c746b6 [2020-08-31T19:51:47.885Z] ---> 550ede79abc7 [2020-08-31T19:51:47.885Z] Step 23/25 : LABEL arch=amd64 [2020-08-31T19:51:48.154Z] ---> Running in a265a752e1de [2020-08-31T19:51:48.154Z] Removing intermediate container a265a752e1de [2020-08-31T19:51:48.154Z] ---> cf448a8c578e [2020-08-31T19:51:48.154Z] Step 24/25 : LABEL git_sha=46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:51:48.376Z] Sending build context to Docker daemon 8.04MB [2020-08-31T19:51:48.377Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-31T19:51:48.377Z] Step 2/10 : FROM ${BASE} [2020-08-31T19:51:48.415Z] ---> Running in dfa904281f45 [2020-08-31T19:51:48.415Z] Removing intermediate container dfa904281f45 [2020-08-31T19:51:48.415Z] ---> a5910f0dc61a [2020-08-31T19:51:48.415Z] Step 25/25 : LABEL version=0.0.0 [2020-08-31T19:51:48.415Z] ---> Running in 47da860e7df8 [2020-08-31T19:51:48.669Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-31T19:51:48.669Z] b538f80385f9: Pulling fs layer [2020-08-31T19:51:48.669Z] 74f711af9a0d: Pulling fs layer [2020-08-31T19:51:48.669Z] 99f96fe45779: Pulling fs layer [2020-08-31T19:51:48.669Z] fd7a069fd194: Pulling fs layer [2020-08-31T19:51:48.669Z] 66aa3694b03b: Pulling fs layer [2020-08-31T19:51:48.669Z] 170f70906a0f: Pulling fs layer [2020-08-31T19:51:48.669Z] ad7c5574e4b9: Pulling fs layer [2020-08-31T19:51:48.669Z] e772456be8f7: Pulling fs layer [2020-08-31T19:51:48.669Z] c890913d741a: Pulling fs layer [2020-08-31T19:51:48.669Z] 2480fcc9aa5a: Pulling fs layer [2020-08-31T19:51:48.669Z] 09adf4765672: Pulling fs layer [2020-08-31T19:51:48.669Z] fd7a069fd194: Waiting [2020-08-31T19:51:48.669Z] 66aa3694b03b: Waiting [2020-08-31T19:51:48.669Z] 170f70906a0f: Waiting [2020-08-31T19:51:48.669Z] ad7c5574e4b9: Waiting [2020-08-31T19:51:48.669Z] e772456be8f7: Waiting [2020-08-31T19:51:48.669Z] c890913d741a: Waiting [2020-08-31T19:51:48.669Z] 2480fcc9aa5a: Waiting [2020-08-31T19:51:48.669Z] 09adf4765672: Waiting [2020-08-31T19:51:48.669Z] 99f96fe45779: Verifying Checksum [2020-08-31T19:51:48.669Z] 99f96fe45779: Download complete [2020-08-31T19:51:48.669Z] 74f711af9a0d: Verifying Checksum [2020-08-31T19:51:48.669Z] 66aa3694b03b: Verifying Checksum [2020-08-31T19:51:48.669Z] 66aa3694b03b: Download complete [2020-08-31T19:51:48.669Z] 170f70906a0f: Download complete [2020-08-31T19:51:48.669Z] b538f80385f9: Verifying Checksum [2020-08-31T19:51:48.669Z] b538f80385f9: Download complete [2020-08-31T19:51:48.677Z] Removing intermediate container 47da860e7df8 [2020-08-31T19:51:48.678Z] ---> 23ce586f8a52 [2020-08-31T19:51:48.678Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-31T19:51:48.678Z] Successfully built 23ce586f8a52 [2020-08-31T19:51:48.678Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [2020-08-31T19:51:49.389Z] b538f80385f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-08-31T19:51:49.995Z] 74f711af9a0d: Pull complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-31T19:51:50.598Z] 99f96fe45779: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-31T19:51:52.052Z] ad7c5574e4b9: Download complete [2020-08-31T19:51:52.052Z] c890913d741a: Verifying Checksum [2020-08-31T19:51:52.052Z] c890913d741a: Download complete [2020-08-31T19:51:54.049Z] e772456be8f7: Verifying Checksum [2020-08-31T19:51:54.049Z] e772456be8f7: Download complete [2020-08-31T19:51:54.049Z] 2480fcc9aa5a: Verifying Checksum [2020-08-31T19:51:54.049Z] 2480fcc9aa5a: Download complete [2020-08-31T19:51:54.049Z] 09adf4765672: Verifying Checksum [2020-08-31T19:51:54.049Z] 09adf4765672: Download complete [2020-08-31T19:51:54.326Z] fd7a069fd194: Download complete [2020-08-31T19:52:06.735Z] fd7a069fd194: Pull complete [2020-08-31T19:52:06.735Z] 66aa3694b03b: Pull complete [2020-08-31T19:52:06.735Z] 170f70906a0f: Pull complete [2020-08-31T19:52:10.139Z] ad7c5574e4b9: Pull complete [2020-08-31T19:52:14.523Z] e772456be8f7: Pull complete [2020-08-31T19:52:14.523Z] c890913d741a: Pull complete [2020-08-31T19:52:17.160Z] 2480fcc9aa5a: Pull complete [2020-08-31T19:52:17.440Z] 09adf4765672: Pull complete [2020-08-31T19:52:17.440Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-31T19:52:17.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-31T19:52:17.440Z] ---> 2248a725d1cf [2020-08-31T19:52:17.440Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-31T19:52:21.766Z] ---> Running in 4cee8afd7196 [2020-08-31T19:52:22.369Z] Removing intermediate container 4cee8afd7196 [2020-08-31T19:52:22.369Z] ---> 4328c4feaa3a [2020-08-31T19:52:22.369Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:52:22.369Z] ---> Running in 6b72fac156ca [2020-08-31T19:52:22.966Z] Removing intermediate container 6b72fac156ca [2020-08-31T19:52:22.966Z] ---> ef65910a6b6e [2020-08-31T19:52:22.966Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-31T19:52:22.966Z] ---> Running in d92c9a41d88e [2020-08-31T19:52:23.565Z] Removing intermediate container d92c9a41d88e [2020-08-31T19:52:23.565Z] ---> 090d9504387d [2020-08-31T19:52:23.565Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:52:23.565Z] ---> Running in 03c57b631f40 [2020-08-31T19:52:26.198Z] Removing intermediate container 03c57b631f40 [2020-08-31T19:52:26.198Z] ---> 032760f83ec9 [2020-08-31T19:52:26.198Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:52:26.198Z] ---> Running in 730765e9ad1b [2020-08-31T19:52:27.648Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-31T19:52:28.246Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-31T19:52:28.890Z] OK: 142 MiB in 39 packages [2020-08-31T19:52:30.445Z] Removing intermediate container 730765e9ad1b [2020-08-31T19:52:30.445Z] ---> 260cbb63ce07 [2020-08-31T19:52:30.445Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-31T19:52:30.445Z] ---> Running in 20bd08bd581b [2020-08-31T19:52:30.720Z] Removing intermediate container 20bd08bd581b [2020-08-31T19:52:30.720Z] ---> 00606108e74b [2020-08-31T19:52:30.720Z] Step 9/10 : COPY . . [2020-08-31T19:52:32.165Z] ---> f522d733e8ae [2020-08-31T19:52:32.165Z] Step 10/10 : RUN go mod download [2020-08-31T19:52:32.165Z] ---> Running in 77f97e8b6b1b [2020-08-31T19:52:35.540Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-31T19:52:35.540Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-31T19:52:35.540Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-31T19:52:35.540Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-31T19:52:35.540Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-31T19:52:35.540Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-31T19:52:35.540Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-31T19:52:35.540Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-31T19:52:35.540Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-31T19:52:35.540Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-31T19:52:35.540Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-31T19:52:35.810Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-31T19:52:35.810Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-31T19:52:35.810Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-31T19:52:35.810Z] go: finding github.com/fatih/color v1.7.0 [2020-08-31T19:52:35.810Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-31T19:52:35.810Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-31T19:52:35.810Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-31T19:52:36.079Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-31T19:52:36.079Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-31T19:52:36.079Z] go: finding github.com/google/uuid v1.1.0 [2020-08-31T19:52:36.079Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-31T19:52:36.079Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-31T19:52:36.079Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-31T19:52:36.353Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-31T19:52:36.621Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-31T19:52:36.890Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-31T19:52:36.890Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-31T19:52:36.890Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-31T19:52:36.890Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-31T19:52:36.890Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-31T19:52:36.890Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-31T19:52:36.890Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-31T19:52:37.161Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-31T19:52:37.438Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-31T19:52:37.438Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-31T19:52:37.438Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-31T19:52:37.438Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-31T19:52:37.438Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-31T19:52:37.438Z] go: finding github.com/posener/complete v1.1.1 [2020-08-31T19:52:37.709Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-31T19:52:37.709Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-31T19:52:37.709Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-31T19:52:37.709Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-31T19:52:37.709Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-31T19:52:37.709Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-31T19:52:37.709Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-31T19:52:37.986Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-31T19:52:37.986Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-31T19:52:37.986Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-31T19:52:37.986Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-31T19:52:37.986Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-31T19:52:37.986Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-31T19:52:48.176Z] Removing intermediate container 77f97e8b6b1b [2020-08-31T19:52:48.176Z] ---> 04182a975783 [2020-08-31T19:52:48.176Z] Successfully built 04182a975783 [2020-08-31T19:52:48.176Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:52:49.053Z] + docker inspect -f . ci-base-image-arm64 [2020-08-31T19:52:49.053Z] . [Pipeline] withDockerContainer [2020-08-31T19:52:49.313Z] prd-ubuntu18.04-docker-arm64-4c-16g-845 does not seem to be running inside a container [2020-08-31T19:52:49.409Z] $ 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 ******** ci-base-image-arm64 cat [2020-08-31T19:52:51.283Z] $ docker top b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-31T19:52:52.709Z] + go version [2020-08-31T19:52:52.709Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-31T19:52:53.784Z] + make test [2020-08-31T19:52:53.784Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-31T19:52:54.776Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-08-31T19:53:21.604Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-08-31T19:53:23.579Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements [2020-08-31T19:53:23.858Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-31T19:53:29.293Z] gofmt -l . [2020-08-31T19:53:29.293Z] [ "`gofmt -l .`" = "" ] [2020-08-31T19:53:29.293Z] ./bin/test-go-mod-tidy.sh [2020-08-31T19:53:29.908Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-08-31T19:53:30.543Z] Warning: overwriting stash ‘coverage-report’ [2020-08-31T19:53:31.196Z] Stashed 1 file(s) [Pipeline] } [2020-08-31T19:53:31.235Z] $ docker stop --time=1 b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 [2020-08-31T19:53:33.477Z] $ docker rm -f b9afe06ab85ddecc8e7594949143e1f84eba69e5e6d935c04bc81d6c0d39b206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-31T19:53:35.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-31T19:53:35.366Z] + ls -al . [2020-08-31T19:53:35.366Z] total 128 [2020-08-31T19:53:35.366Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 19:53 . [2020-08-31T19:53:35.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:51 .. [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 31 19:51 .dockerignore [2020-08-31T19:53:35.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 19:51 .git [2020-08-31T19:53:35.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:51 .github [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 339 Aug 31 19:51 .gitignore [2020-08-31T19:53:35.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:51 .semver [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 4802 Aug 31 19:51 Attribution.txt [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 1519 Aug 31 19:51 Dockerfile [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 989 Aug 31 19:51 Dockerfile.build [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 31 19:51 Jenkinsfile [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 19:51 LICENSE [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 951 Aug 31 19:51 Makefile [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 5716 Aug 31 19:51 README.md [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 19:48 VERSION [2020-08-31T19:53:35.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:51 bin [2020-08-31T19:53:35.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 19:51 cmd [2020-08-31T19:53:35.366Z] -rw-r--r-- 1 jenkins jenkins 9369 Aug 31 19:53 coverage.out [2020-08-31T19:53:35.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 19:53 driver [2020-08-31T19:53:35.366Z] -rw-r--r-- 1 jenkins jenkins 266 Aug 31 19:53 go.mod [2020-08-31T19:53:35.366Z] -rw-r--r-- 1 jenkins jenkins 12533 Aug 31 19:53 go.sum [2020-08-31T19:53:35.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 19:51 snap [2020-08-31T19:53:35.366Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 31 19:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:53:35.733Z] + 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=46301ebcf33bc1215e642c59d29d242eedac304d --label arch=arm64 --label version=0.0.0 . [2020-08-31T19:53:36.009Z] Sending build context to Docker daemon 8.052MB [2020-08-31T19:53:36.280Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-08-31T19:53:36.280Z] Step 2/25 : FROM ${BASE} AS builder [2020-08-31T19:53:36.280Z] ---> 04182a975783 [2020-08-31T19:53:36.280Z] Step 3/25 : ARG MAKE='make build' [2020-08-31T19:53:36.552Z] ---> Running in 59559ebc94d9 [2020-08-31T19:53:36.828Z] Removing intermediate container 59559ebc94d9 [2020-08-31T19:53:36.828Z] ---> 0a37e0699f9c [2020-08-31T19:53:36.828Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-08-31T19:53:37.149Z] ---> Running in 3f6646dcd57d [2020-08-31T19:53:37.476Z] Removing intermediate container 3f6646dcd57d [2020-08-31T19:53:37.476Z] ---> 8f52c3c6511b [2020-08-31T19:53:37.476Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-08-31T19:53:37.830Z] ---> Running in 72f67eeb43af [2020-08-31T19:53:38.219Z] Removing intermediate container 72f67eeb43af [2020-08-31T19:53:38.219Z] ---> dce5f86a185e [2020-08-31T19:53:38.219Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-31T19:53:38.219Z] ---> Running in 7f47e6f1b935 [2020-08-31T19:53:40.942Z] Removing intermediate container 7f47e6f1b935 [2020-08-31T19:53:40.942Z] ---> fcc8bc0bb19c [2020-08-31T19:53:40.942Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-31T19:53:40.942Z] ---> Running in 58771ba34735 [2020-08-31T19:53:42.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-31T19:53:43.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-31T19:53:43.667Z] OK: 142 MiB in 39 packages [2020-08-31T19:53:44.698Z] Removing intermediate container 58771ba34735 [2020-08-31T19:53:44.698Z] ---> 1e1db5b973c0 [2020-08-31T19:53:44.698Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-31T19:53:44.698Z] ---> Running in 8bc378e80a0d [2020-08-31T19:53:45.322Z] Removing intermediate container 8bc378e80a0d [2020-08-31T19:53:45.322Z] ---> ef76a2284e6a [2020-08-31T19:53:45.322Z] Step 9/25 : COPY go.mod . [2020-08-31T19:53:45.933Z] ---> db863278f222 [2020-08-31T19:53:45.933Z] Step 10/25 : COPY Makefile . [2020-08-31T19:53:46.568Z] ---> 9095f17bae7a [2020-08-31T19:53:46.568Z] Step 11/25 : RUN make update [2020-08-31T19:53:46.568Z] ---> Running in b480f93c1018 [2020-08-31T19:53:48.015Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-31T19:53:49.453Z] Removing intermediate container b480f93c1018 [2020-08-31T19:53:49.454Z] ---> 1a94efbb55d5 [2020-08-31T19:53:49.454Z] Step 12/25 : COPY . . [2020-08-31T19:53:50.439Z] ---> 75483e01451f [2020-08-31T19:53:50.439Z] Step 13/25 : RUN $MAKE [2020-08-31T19:53:50.722Z] ---> Running in 87e564af2db0 [2020-08-31T19:53:52.167Z] 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 [2020-08-31T19:54:18.976Z] Removing intermediate container 87e564af2db0 [2020-08-31T19:54:18.976Z] ---> a53df7483048 [2020-08-31T19:54:18.976Z] Step 14/25 : FROM alpine:latest [2020-08-31T19:54:18.976Z] latest: Pulling from library/alpine [2020-08-31T19:54:18.976Z] b538f80385f9: Already exists [2020-08-31T19:54:18.976Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-31T19:54:18.976Z] Status: Downloaded newer image for alpine:latest [2020-08-31T19:54:18.976Z] ---> 62ee0e9f8440 [2020-08-31T19:54:18.976Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-31T19:54:18.976Z] ---> Running in 6ec798018e98 [2020-08-31T19:54:18.976Z] Removing intermediate container 6ec798018e98 [2020-08-31T19:54:18.976Z] ---> 900e53be451c [2020-08-31T19:54:18.976Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-31T19:54:19.246Z] ---> Running in 503304d22d5c [2020-08-31T19:54:19.519Z] Removing intermediate container 503304d22d5c [2020-08-31T19:54:19.519Z] ---> 1c1ebbb7c62d [2020-08-31T19:54:19.519Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-31T19:54:20.492Z] ---> 2464d6386983 [2020-08-31T19:54:20.492Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-31T19:54:21.084Z] ---> da7e22a85961 [2020-08-31T19:54:21.084Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-31T19:54:22.513Z] ---> 016fe0956000 [2020-08-31T19:54:22.513Z] Step 20/25 : EXPOSE 49986 [2020-08-31T19:54:22.513Z] ---> Running in 3d07eb3e75b7 [2020-08-31T19:54:22.785Z] Removing intermediate container 3d07eb3e75b7 [2020-08-31T19:54:22.785Z] ---> b656630f472a [2020-08-31T19:54:22.785Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-08-31T19:54:23.056Z] ---> Running in eb18164c58b5 [2020-08-31T19:54:23.327Z] Removing intermediate container eb18164c58b5 [2020-08-31T19:54:23.327Z] ---> c340e6cd8c64 [2020-08-31T19:54:23.327Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-08-31T19:54:23.602Z] ---> Running in b6f00f0eb8ff [2020-08-31T19:54:24.197Z] Removing intermediate container b6f00f0eb8ff [2020-08-31T19:54:24.197Z] ---> ba59df4813c9 [2020-08-31T19:54:24.197Z] Step 23/25 : LABEL arch=arm64 [2020-08-31T19:54:24.197Z] ---> Running in f934c357aedb [2020-08-31T19:54:24.469Z] Removing intermediate container f934c357aedb [2020-08-31T19:54:24.469Z] ---> b04a9da554c8 [2020-08-31T19:54:24.469Z] Step 24/25 : LABEL git_sha=46301ebcf33bc1215e642c59d29d242eedac304d [2020-08-31T19:54:24.745Z] ---> Running in b0bbb954828b [2020-08-31T19:54:25.016Z] Removing intermediate container b0bbb954828b [2020-08-31T19:54:25.016Z] ---> 1d775ee6ae4f [2020-08-31T19:54:25.016Z] Step 25/25 : LABEL version=0.0.0 [2020-08-31T19:54:25.288Z] ---> Running in 6239b7ed4fbc [2020-08-31T19:54:25.558Z] Removing intermediate container 6239b7ed4fbc [2020-08-31T19:54:25.559Z] ---> 41b2f8849438 [2020-08-31T19:54:25.559Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-31T19:54:25.829Z] Successfully built 41b2f8849438 [2020-08-31T19:54:25.829Z] 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 [2020-08-31T19:54:28.153Z] provisioning config files... [2020-08-31T19:54:28.168Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config7114849808676462449tmp [Pipeline] { [Pipeline] sh [2020-08-31T19:54:28.612Z] + curl -s https://codecov.io/bash [2020-08-31T19:54:28.612Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config7114849808676462449tmp [Pipeline] } [2020-08-31T19:54:28.894Z] 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 [2020-08-31T19:54:31.933Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:54:32.560Z] ---> package-listing.sh [2020-08-31T19:54:32.560Z] ++ facter osfamily [2020-08-31T19:54:32.560Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-31T19:54:32.837Z] + OS_FAMILY=redhat [2020-08-31T19:54:32.837Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-37 [2020-08-31T19:54:32.837Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-31T19:54:32.837Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-31T19:54:32.837Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-31T19:54:32.837Z] + PACKAGES=/tmp/packages_start.txt [2020-08-31T19:54:32.837Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-37 ']' [2020-08-31T19:54:32.837Z] + PACKAGES=/tmp/packages_end.txt [2020-08-31T19:54:32.837Z] + case "${OS_FAMILY}" in [2020-08-31T19:54:32.837Z] + rpm -qa [2020-08-31T19:54:32.837Z] + sort [2020-08-31T19:54:37.079Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-31T19:54:37.080Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-31T19:54:37.080Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-31T19:54:37.080Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-37 ']' [2020-08-31T19:54:37.080Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-37/archives/ [2020-08-31T19:54:37.080Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-37/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:54:37.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:54:37.686Z] [2020-08-31T19:54:37.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-31T19:54:38.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:54:38.164Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-31T19:54:38.164Z] c9b1b535fdd9: Pulling fs layer [2020-08-31T19:54:38.164Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-31T19:54:38.164Z] 756a868c4378: Pulling fs layer [2020-08-31T19:54:38.164Z] 444b2fc9a129: Pulling fs layer [2020-08-31T19:54:38.164Z] ea15f1150254: Pulling fs layer [2020-08-31T19:54:38.164Z] 41b27a9f41bf: Pulling fs layer [2020-08-31T19:54:38.164Z] 28c525ee5125: Pulling fs layer [2020-08-31T19:54:38.164Z] 094b1ea09ed8: Pulling fs layer [2020-08-31T19:54:38.164Z] ea15f1150254: Waiting [2020-08-31T19:54:38.164Z] 41b27a9f41bf: Waiting [2020-08-31T19:54:38.164Z] 28c525ee5125: Waiting [2020-08-31T19:54:38.164Z] 444b2fc9a129: Waiting [2020-08-31T19:54:38.164Z] 094b1ea09ed8: Waiting [2020-08-31T19:54:38.164Z] 138eaada9080: Pulling fs layer [2020-08-31T19:54:38.164Z] 0622d0fa9048: Pulling fs layer [2020-08-31T19:54:38.164Z] 138eaada9080: Waiting [2020-08-31T19:54:38.164Z] 0622d0fa9048: Waiting [2020-08-31T19:54:38.164Z] 2cc5ad85d9ab: Download complete [2020-08-31T19:54:38.164Z] 444b2fc9a129: Verifying Checksum [2020-08-31T19:54:38.164Z] 444b2fc9a129: Download complete [2020-08-31T19:54:38.490Z] c9b1b535fdd9: Verifying Checksum [2020-08-31T19:54:38.490Z] c9b1b535fdd9: Download complete [2020-08-31T19:54:38.490Z] ea15f1150254: Download complete [2020-08-31T19:54:38.859Z] 28c525ee5125: Verifying Checksum [2020-08-31T19:54:38.859Z] 28c525ee5125: Download complete [2020-08-31T19:54:39.231Z] c9b1b535fdd9: Pull complete [2020-08-31T19:54:39.523Z] 2cc5ad85d9ab: Pull complete [2020-08-31T19:54:39.523Z] 756a868c4378: Verifying Checksum [2020-08-31T19:54:39.523Z] 756a868c4378: Download complete [2020-08-31T19:54:39.848Z] 138eaada9080: Verifying Checksum [2020-08-31T19:54:39.848Z] 138eaada9080: Download complete [2020-08-31T19:54:40.210Z] 0622d0fa9048: Verifying Checksum [2020-08-31T19:54:40.210Z] 0622d0fa9048: Download complete [2020-08-31T19:54:40.837Z] 094b1ea09ed8: Verifying Checksum [2020-08-31T19:54:40.837Z] 094b1ea09ed8: Download complete [2020-08-31T19:54:41.197Z] 41b27a9f41bf: Verifying Checksum [2020-08-31T19:54:41.197Z] 41b27a9f41bf: Download complete [2020-08-31T19:54:42.786Z] 756a868c4378: Pull complete [2020-08-31T19:54:42.786Z] 444b2fc9a129: Pull complete [2020-08-31T19:54:43.373Z] ea15f1150254: Pull complete [2020-08-31T19:54:48.910Z] 41b27a9f41bf: Pull complete [2020-08-31T19:54:48.910Z] 28c525ee5125: Pull complete [2020-08-31T19:54:51.490Z] 094b1ea09ed8: Pull complete [2020-08-31T19:54:52.080Z] 138eaada9080: Pull complete [2020-08-31T19:54:52.363Z] 0622d0fa9048: Pull complete [2020-08-31T19:54:52.363Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-31T19:54:52.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-31T19:54:52.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-31T19:54:52.706Z] prd-centos7-docker-4c-2g-841 does not seem to be running inside a container [2020-08-31T19:54:52.776Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-37 -v /w/workspace/dgexfoundry_device-rest-go_PR-37:/w/workspace/dgexfoundry_device-rest-go_PR-37:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-37@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-31T19:54:55.832Z] $ docker top c2680d57838b4855999ba0e34063eb88772c889217ae041338a89315fea3a908 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-31T19:54:56.309Z] provisioning config files... [2020-08-31T19:54:56.325Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-37@tmp/config4281648980618327236tmp [Pipeline] { [Pipeline] echo [2020-08-31T19:54:56.444Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:54:56.909Z] ---> create-netrc.sh [Pipeline] echo [2020-08-31T19:54:56.943Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-31T19:54:57.348Z] ---> logs-deploy.sh [2020-08-31T19:54:57.348Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-37/1 [2020-08-31T19:54:57.348Z] INFO: archiving workspace using pattern(s): [2020-08-31T19:54:59.293Z] Archives upload complete. [2020-08-31T19:54:59.293Z] INFO: archiving logs to Nexus [2020-08-31T19:55:00.276Z] ---> uname -a: [2020-08-31T19:55:00.276Z] Linux c2680d57838b 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] ---> lscpu: [2020-08-31T19:55:00.276Z] Architecture: x86_64 [2020-08-31T19:55:00.276Z] CPU op-mode(s): 32-bit, 64-bit [2020-08-31T19:55:00.276Z] Byte Order: Little Endian [2020-08-31T19:55:00.276Z] Address sizes: 40 bits physical, 48 bits virtual [2020-08-31T19:55:00.276Z] CPU(s): 4 [2020-08-31T19:55:00.276Z] On-line CPU(s) list: 0-3 [2020-08-31T19:55:00.276Z] Thread(s) per core: 1 [2020-08-31T19:55:00.276Z] Core(s) per socket: 1 [2020-08-31T19:55:00.276Z] Socket(s): 4 [2020-08-31T19:55:00.276Z] NUMA node(s): 1 [2020-08-31T19:55:00.276Z] Vendor ID: GenuineIntel [2020-08-31T19:55:00.276Z] CPU family: 6 [2020-08-31T19:55:00.276Z] Model: 44 [2020-08-31T19:55:00.276Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-08-31T19:55:00.276Z] Stepping: 1 [2020-08-31T19:55:00.276Z] CPU MHz: 2933.438 [2020-08-31T19:55:00.276Z] BogoMIPS: 5866.87 [2020-08-31T19:55:00.276Z] Virtualization: VT-x [2020-08-31T19:55:00.276Z] Hypervisor vendor: KVM [2020-08-31T19:55:00.276Z] Virtualization type: full [2020-08-31T19:55:00.276Z] L1d cache: 128 KiB [2020-08-31T19:55:00.276Z] L1i cache: 128 KiB [2020-08-31T19:55:00.276Z] L2 cache: 16 MiB [2020-08-31T19:55:00.276Z] L3 cache: 64 MiB [2020-08-31T19:55:00.276Z] NUMA node0 CPU(s): 0-3 [2020-08-31T19:55:00.276Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-08-31T19:55:00.276Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-08-31T19:55:00.276Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-08-31T19:55:00.276Z] Vulnerability Meltdown: Mitigation; PTI [2020-08-31T19:55:00.276Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-08-31T19:55:00.276Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-08-31T19:55:00.276Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-08-31T19:55:00.276Z] Vulnerability Tsx async abort: Not affected [2020-08-31T19:55:00.276Z] 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 [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] ---> nproc: [2020-08-31T19:55:00.276Z] 4 [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] ---> df -h: [2020-08-31T19:55:00.276Z] Filesystem Size Used Available Use% Mounted on [2020-08-31T19:55:00.276Z] overlay 50.0G 7.2G 42.7G 14% / [2020-08-31T19:55:00.276Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-08-31T19:55:00.276Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-08-31T19:55:00.276Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /etc/resolv.conf [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hostname [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /etc/hosts [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/dgexfoundry_device-rest-go_PR-37@tmp [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /var/log/sa [2020-08-31T19:55:00.276Z] /dev/vda1 50.0G 7.2G 42.7G 14% /w/workspace/dgexfoundry_device-rest-go_PR-37 [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z] ---> free -m: [2020-08-31T19:55:00.276Z] total used free shared buff/cache available [2020-08-31T19:55:00.276Z] Mem: 1837 675 107 0 1054 1056 [2020-08-31T19:55:00.276Z] Swap: 1023 1 1022 [2020-08-31T19:55:00.276Z] [2020-08-31T19:55:00.276Z]