Pull request #90 updated 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 03a48d595d83dea33cef8ba7de6824c875e069b5+f67542ccb051b13986f5f41838b922d5b9b125ad (9327835c84d473cc9503a0dbd042e3bb367bc61c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4192 in /w/workspace/dgexfoundry_device-rest-go_PR-90 [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-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 03a48d595d83dea33cef8ba7de6824c875e069b5 Merge succeeded, producing 03a48d595d83dea33cef8ba7de6824c875e069b5 Checking out Revision 03a48d595d83dea33cef8ba7de6824c875e069b5 (PR-90) > 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 --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # timeout=10 Commit message: "feat: Add Registry/Config Access token capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T20:29:16.074Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T20:29:16.198Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T20:29:16.244Z] ========================================================= [2021-05-10T20:29:16.244Z] EdgeX Global Pipelines Version Info [2021-05-10T20:29:16.244Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 [2021-05-10T20:29:19.689Z] ------------------- [2021-05-10T20:29:19.689Z] stable info: [2021-05-10T20:29:19.689Z] ------------------- [2021-05-10T20:29:19.689Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T20:29:19.689Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T20:29:19.689Z] Message: update stable to v1.0.191 [2021-05-10T20:29:20.699Z] ------------------- [2021-05-10T20:29:20.699Z] experimental info: [2021-05-10T20:29:20.699Z] ------------------- [2021-05-10T20:29:20.699Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T20:29:20.700Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T20:29:20.700Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T20:29:20.861Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-10T20:29:20.885Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-10T20:29:20.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T20:29:20.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T20:29:20.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T20:29:21.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T20:29:21.045Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T20:29:21.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T20:29:21.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T20:29:21.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T20:29:21.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T20:29:21.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-10T20:29:21.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T20:29:21.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T20:29:21.246Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:29:21.270Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:29:21.295Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:29:21.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:29:21.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T20:29:21.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T20:29:21.392Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T20:29:21.416Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T20:29:21.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T20:29:21.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T20:29:21.491Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T20:29:21.547Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T20:29:21.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2021-05-10T20:29:21.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2021-05-10T20:29:21.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2021-05-10T20:29:21.645Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03a48d595d83dea33cef8ba7de6824c875e069b5 [Pipeline] echo [2021-05-10T20:29:21.669Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03a48d5 [Pipeline] echo [2021-05-10T20:29:21.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:29:21.765Z] provisioning config files... [2021-05-10T20:29:21.833Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/config327214246651373545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:29:22.220Z] ---> docker-login.sh [2021-05-10T20:29:22.220Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:29:22.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:23.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:23.135Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:23.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:23.135Z] [2021-05-10T20:29:23.135Z] Login Succeeded [2021-05-10T20:29:23.135Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:29:23.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:23.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:23.732Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:23.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:23.732Z] [2021-05-10T20:29:23.732Z] Login Succeeded [2021-05-10T20:29:23.732Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:29:24.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:24.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:24.387Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:24.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:24.387Z] [2021-05-10T20:29:24.387Z] Login Succeeded [2021-05-10T20:29:24.387Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:29:24.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:24.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:24.928Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:24.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:24.928Z] [2021-05-10T20:29:24.928Z] Login Succeeded [2021-05-10T20:29:24.928Z] docker.io [2021-05-10T20:29:25.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:25.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:25.486Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:25.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:25.486Z] [2021-05-10T20:29:25.486Z] Login Succeeded [2021-05-10T20:29:25.486Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:29:25.519Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:29:26.053Z] + git log --format=format:%s -1 03a48d595d83dea33cef8ba7de6824c875e069b5 [Pipeline] echo [2021-05-10T20:29:26.267Z] GIT_COMMIT: 03a48d595d83dea33cef8ba7de6824c875e069b5, Commit Message: feat: Add Registry/Config Access token capability [Pipeline] echo [2021-05-10T20:29:26.280Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:26.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:29:26.939Z] [2021-05-10T20:29:26.939Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:27.364Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:29:27.364Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T20:29:27.364Z] 31603596830f: Pulling fs layer [2021-05-10T20:29:27.364Z] 54011a49482f: Pulling fs layer [2021-05-10T20:29:27.364Z] a6820b24f6d8: Pulling fs layer [2021-05-10T20:29:27.364Z] f581987b2513: Pulling fs layer [2021-05-10T20:29:27.364Z] f581987b2513: Waiting [2021-05-10T20:29:27.642Z] 54011a49482f: Verifying Checksum [2021-05-10T20:29:27.642Z] 54011a49482f: Download complete [2021-05-10T20:29:27.934Z] 31603596830f: Verifying Checksum [2021-05-10T20:29:27.934Z] 31603596830f: Download complete [2021-05-10T20:29:28.219Z] f581987b2513: Verifying Checksum [2021-05-10T20:29:28.219Z] f581987b2513: Download complete [2021-05-10T20:29:28.549Z] a6820b24f6d8: Verifying Checksum [2021-05-10T20:29:28.549Z] a6820b24f6d8: Download complete [2021-05-10T20:29:28.870Z] 31603596830f: Pull complete [2021-05-10T20:29:29.155Z] 54011a49482f: Pull complete [2021-05-10T20:29:31.966Z] a6820b24f6d8: Pull complete [2021-05-10T20:29:32.714Z] f581987b2513: Pull complete [2021-05-10T20:29:32.714Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T20:29:32.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:29:32.714Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T20:29:33.097Z] prd-centos7-docker-4c-2g-4192 does not seem to be running inside a container [2021-05-10T20:29:33.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-90 -v /w/workspace/dgexfoundry_device-rest-go_PR-90:/w/workspace/dgexfoundry_device-rest-go_PR-90:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-90@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T20:29:36.620Z] $ docker top 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T20:29:37.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:29:37.086Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:29:38.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:29:38.156Z] $ docker exec 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 ssh-agent [2021-05-10T20:29:38.615Z] SSH_AUTH_SOCK=/tmp/ssh-YCII38nPAvAs/agent.12 [2021-05-10T20:29:38.615Z] SSH_AGENT_PID=17 [2021-05-10T20:29:38.639Z] Running ssh-add (command line suppressed) [2021-05-10T20:29:38.984Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_7134727956784848092.key (/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_7134727956784848092.key) [2021-05-10T20:29:39.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:29:39.938Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T20:29:40.093Z] $ docker exec --env ******** --env ******** 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 ssh-agent -k [2021-05-10T20:29:40.526Z] unset SSH_AUTH_SOCK; [2021-05-10T20:29:40.527Z] unset SSH_AGENT_PID; [2021-05-10T20:29:40.528Z] echo Agent pid 17 killed; [2021-05-10T20:29:40.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T20:29:40.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:29:40.823Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:29:41.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:29:41.465Z] $ docker exec 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 ssh-agent [2021-05-10T20:29:41.941Z] SSH_AUTH_SOCK=/tmp/ssh-dHzto93XEUfz/agent.46 [2021-05-10T20:29:41.941Z] SSH_AGENT_PID=52 [2021-05-10T20:29:41.956Z] Running ssh-add (command line suppressed) [2021-05-10T20:29:42.249Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_6331460488657025830.key (/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_6331460488657025830.key) [2021-05-10T20:29:42.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:29:42.940Z] + git semver init [2021-05-10T20:29:42.940Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T20:29:42.940Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-90/.git [2021-05-10T20:29:42.940Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-90 [2021-05-10T20:29:42.940Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T20:29:42.940Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T20:29:42.940Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T20:29:42.940Z] # $SEMVER_BRANCH = PR-90 [2021-05-10T20:29:42.941Z] # $SEMVER_TEMP = /tmp/semver-885705465 [2021-05-10T20:29:42.941Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-10T20:29:45.074Z] # '/tmp/semver-885705465' -> '/w/workspace/dgexfoundry_device-rest-go_PR-90/.semver' [2021-05-10T20:29:45.074Z] # -> Force: false [2021-05-10T20:29:45.074Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-90/.semver [Pipeline] } [2021-05-10T20:29:45.112Z] $ docker exec --env ******** --env ******** 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 ssh-agent -k [2021-05-10T20:29:45.592Z] unset SSH_AUTH_SOCK; [2021-05-10T20:29:45.594Z] unset SSH_AGENT_PID; [2021-05-10T20:29:45.594Z] echo Agent pid 52 killed; [2021-05-10T20:29:45.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T20:29:46.935Z] + git semver [Pipeline] } [2021-05-10T20:29:46.969Z] $ docker stop --time=1 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 [2021-05-10T20:29:49.035Z] $ docker rm -f 324708453d79a94c1a65cb5e565352252c1780418a23e5807658bceb948a1b64 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:29:49.614Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T20:29:50.631Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T20:29:50.634Z] [edgeXSemver]: initialized semver on 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 [2021-05-10T20:30:05.811Z] Still waiting to schedule task [2021-05-10T20:30:05.811Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4183’ is offline; ‘prd-centos7-docker-4c-2g-4187’ is offline; ‘prd-centos7-docker-4c-2g-4193’ is offline; ‘prd-centos7-docker-4c-2g-4195’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4186’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-10T20:30:05.814Z] Still waiting to schedule task [2021-05-10T20:30:05.814Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T20:31:28.955Z] Running on prd-centos7-docker-4c-2g-4198 in /w/workspace/dgexfoundry_device-rest-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T20:31:28.980Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T20:31:32.192Z] using credential edgex-jenkins-ssh [2021-05-10T20:31:32.208Z] Cloning the remote Git repository [2021-05-10T20:31:32.235Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:31:32.303Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-10T20:31:32.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:31:32.393Z] > git --version # timeout=10 [2021-05-10T20:31:32.402Z] > git --version # 'git version 2.24.3' [2021-05-10T20:31:32.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:31:32.428Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:31:33.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T20:31:33.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:31:33.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T20:31:33.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:31:33.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:31:33.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T20:31:33.870Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 03a48d595d83dea33cef8ba7de6824c875e069b5 [2021-05-10T20:31:33.955Z] Merge succeeded, producing 03a48d595d83dea33cef8ba7de6824c875e069b5 [2021-05-10T20:31:33.955Z] Checking out Revision 03a48d595d83dea33cef8ba7de6824c875e069b5 (PR-90) [2021-05-10T20:31:33.880Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:31:33.887Z] > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # timeout=10 [2021-05-10T20:31:33.922Z] > git remote # timeout=10 [2021-05-10T20:31:33.929Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:31:33.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:31:33.940Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T20:31:33.950Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:31:33.959Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:31:33.963Z] > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # timeout=10 [2021-05-10T20:31:37.686Z] Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:31:38.743Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:31:39.100Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:31:39.401Z] + sudo service docker restart [2021-05-10T20:31:39.401Z] + true [2021-05-10T20:31:39.401Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:31:40.392Z] provisioning config files... [2021-05-10T20:31:40.426Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5096240589913806485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:31:40.752Z] ---> docker-login.sh [2021-05-10T20:31:40.752Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:31:41.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:31:41.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:31:41.015Z] Configure a credential helper to remove this warning. See [2021-05-10T20:31:41.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:31:41.015Z] [2021-05-10T20:31:41.015Z] Login Succeeded [2021-05-10T20:31:41.015Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:31:41.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:31:41.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:31:41.277Z] Configure a credential helper to remove this warning. See [2021-05-10T20:31:41.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:31:41.277Z] [2021-05-10T20:31:41.277Z] Login Succeeded [2021-05-10T20:31:41.277Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:31:41.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:31:41.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:31:41.539Z] Configure a credential helper to remove this warning. See [2021-05-10T20:31:41.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:31:41.539Z] [2021-05-10T20:31:41.539Z] Login Succeeded [2021-05-10T20:31:41.539Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:31:41.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:31:41.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:31:41.539Z] Configure a credential helper to remove this warning. See [2021-05-10T20:31:41.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:31:41.539Z] [2021-05-10T20:31:41.539Z] Login Succeeded [2021-05-10T20:31:41.539Z] docker.io [2021-05-10T20:31:41.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:31:42.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:31:42.065Z] Configure a credential helper to remove this warning. See [2021-05-10T20:31:42.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:31:42.065Z] [2021-05-10T20:31:42.065Z] Login Succeeded [2021-05-10T20:31:42.065Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:31:42.075Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:31:42.252Z] ========================================================= [2021-05-10T20:31:42.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T20:31:42.252Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:31:42.560Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T20:31:42.560Z] Sending build context to Docker daemon 93.18kB [2021-05-10T20:31:42.560Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:31:42.560Z] Step 2/10 : FROM ${BASE} [2021-05-10T20:31:42.560Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T20:31:42.560Z] 540db60ca938: Pulling fs layer [2021-05-10T20:31:42.560Z] adcc1eea9eea: Pulling fs layer [2021-05-10T20:31:42.560Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T20:31:42.560Z] 0510c868ecb4: Pulling fs layer [2021-05-10T20:31:42.560Z] afea3b2eda06: Pulling fs layer [2021-05-10T20:31:42.560Z] 7809a108b3ef: Pulling fs layer [2021-05-10T20:31:42.560Z] f706445af74f: Pulling fs layer [2021-05-10T20:31:42.560Z] 0510c868ecb4: Waiting [2021-05-10T20:31:42.560Z] afea3b2eda06: Waiting [2021-05-10T20:31:42.560Z] 7809a108b3ef: Waiting [2021-05-10T20:31:42.560Z] f706445af74f: Waiting [2021-05-10T20:31:42.560Z] 4c4ab2625f07: Download complete [2021-05-10T20:31:42.560Z] adcc1eea9eea: Verifying Checksum [2021-05-10T20:31:42.560Z] adcc1eea9eea: Download complete [2021-05-10T20:31:42.823Z] afea3b2eda06: Verifying Checksum [2021-05-10T20:31:42.823Z] afea3b2eda06: Download complete [2021-05-10T20:31:42.823Z] 7809a108b3ef: Verifying Checksum [2021-05-10T20:31:42.823Z] 7809a108b3ef: Download complete [2021-05-10T20:31:42.823Z] 540db60ca938: Verifying Checksum [2021-05-10T20:31:42.823Z] 540db60ca938: Download complete [2021-05-10T20:31:43.085Z] 540db60ca938: Pull complete [2021-05-10T20:31:43.085Z] adcc1eea9eea: Pull complete [2021-05-10T20:31:43.349Z] 4c4ab2625f07: Pull complete [2021-05-10T20:31:44.754Z] f706445af74f: Verifying Checksum [2021-05-10T20:31:44.754Z] f706445af74f: Download complete [2021-05-10T20:31:45.336Z] 0510c868ecb4: Verifying Checksum [2021-05-10T20:31:45.336Z] 0510c868ecb4: Download complete [2021-05-10T20:31:50.672Z] 0510c868ecb4: Pull complete [2021-05-10T20:31:50.672Z] afea3b2eda06: Pull complete [2021-05-10T20:31:50.936Z] 7809a108b3ef: Pull complete [2021-05-10T20:32:00.985Z] f706445af74f: Pull complete [2021-05-10T20:32:00.985Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T20:32:00.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T20:32:00.985Z] ---> b068be0155e3 [2021-05-10T20:32:00.985Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:32:00.985Z] ---> Running in 08c0cb29260c [2021-05-10T20:32:00.985Z] Removing intermediate container 08c0cb29260c [2021-05-10T20:32:00.985Z] ---> 84ce9295018f [2021-05-10T20:32:00.985Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:32:00.985Z] ---> Running in cad7708d4b47 [2021-05-10T20:32:01.253Z] Removing intermediate container cad7708d4b47 [2021-05-10T20:32:01.253Z] ---> e768b4956b69 [2021-05-10T20:32:01.253Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T20:32:01.253Z] ---> Running in 86ed0c99b37f [2021-05-10T20:32:01.253Z] Removing intermediate container 86ed0c99b37f [2021-05-10T20:32:01.253Z] ---> 0c5e34e46afc [2021-05-10T20:32:01.253Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:32:01.521Z] ---> Running in 35e27bf29ef8 [2021-05-10T20:32:02.472Z] Removing intermediate container 35e27bf29ef8 [2021-05-10T20:32:02.472Z] ---> a9e5d9574460 [2021-05-10T20:32:02.472Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:32:02.735Z] ---> Running in dd4102a456ae [2021-05-10T20:32:03.310Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:32:05.241Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:32:05.817Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T20:32:06.082Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T20:32:06.082Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T20:32:06.347Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:32:06.622Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:32:06.622Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-10T20:32:06.885Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:32:07.836Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T20:32:07.836Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:32:08.101Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:32:08.101Z] OK: 154 MiB in 49 packages [2021-05-10T20:32:09.057Z] Removing intermediate container dd4102a456ae [2021-05-10T20:32:09.057Z] ---> 332e2b816814 [2021-05-10T20:32:09.057Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T20:32:09.057Z] ---> Running in 7dac333fddf5 [2021-05-10T20:32:09.057Z] Removing intermediate container 7dac333fddf5 [2021-05-10T20:32:09.057Z] ---> 01c94778872c [2021-05-10T20:32:09.057Z] Step 9/10 : COPY . . [2021-05-10T20:32:09.327Z] ---> 7215c715564a [2021-05-10T20:32:09.327Z] Step 10/10 : RUN go mod download [2021-05-10T20:32:09.327Z] ---> Running in 3c2431fe8257 [2021-05-10T20:32:31.366Z] Removing intermediate container 3c2431fe8257 [2021-05-10T20:32:31.366Z] ---> 5b6982804e0e [2021-05-10T20:32:31.366Z] Successfully built 5b6982804e0e [2021-05-10T20:32:31.366Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:32:31.724Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:32:31.724Z] . [Pipeline] withDockerContainer [2021-05-10T20:32:31.848Z] prd-centos7-docker-4c-2g-4198 does not seem to be running inside a container [2021-05-10T20:32:31.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:32:32.729Z] $ docker top 75840f4ae5391c2764a203c4c205383667bb711dd57c0778b379c6f55cf69c79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:32:33.160Z] + go version [2021-05-10T20:32:33.160Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T20:32:33.178Z] $ docker stop --time=1 75840f4ae5391c2764a203c4c205383667bb711dd57c0778b379c6f55cf69c79 [2021-05-10T20:32:34.552Z] $ docker rm -f 75840f4ae5391c2764a203c4c205383667bb711dd57c0778b379c6f55cf69c79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:32:35.083Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:32:35.083Z] . [Pipeline] withDockerContainer [2021-05-10T20:32:35.180Z] prd-centos7-docker-4c-2g-4198 does not seem to be running inside a container [2021-05-10T20:32:35.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:32:35.920Z] $ docker top 5df56bb23601d783bab7d6fab20e91fa9b0c87f42b045b13c3aa71bfb5ef6fd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:32:36.407Z] + go mod tidy [Pipeline] sh [2021-05-10T20:32:37.301Z] + make test [2021-05-10T20:32:37.301Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-10T20:32:38.713Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T20:32:44.647Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4201 in /w/workspace/dgexfoundry_device-rest-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T20:32:44.667Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T20:32:50.413Z] using credential edgex-jenkins-ssh [2021-05-10T20:32:50.432Z] Cloning the remote Git repository [2021-05-10T20:32:50.486Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:32:50.596Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-10T20:32:50.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:32:50.661Z] > git --version # timeout=10 [2021-05-10T20:32:50.673Z] > git --version # 'git version 2.17.1' [2021-05-10T20:32:50.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:32:50.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:32:53.297Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit 03a48d595d83dea33cef8ba7de6824c875e069b5 [2021-05-10T20:32:53.509Z] Merge succeeded, producing 03a48d595d83dea33cef8ba7de6824c875e069b5 [2021-05-10T20:32:53.510Z] Checking out Revision 03a48d595d83dea33cef8ba7de6824c875e069b5 (PR-90) [2021-05-10T20:32:52.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T20:32:52.573Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:32:52.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T20:32:52.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T20:32:52.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:32:52.668Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T20:32:53.321Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:32:53.342Z] > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # timeout=10 [2021-05-10T20:32:53.429Z] > git remote # timeout=10 [2021-05-10T20:32:53.449Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:32:53.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:32:53.475Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T20:32:53.497Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:32:53.521Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:32:53.536Z] > git checkout -f 03a48d595d83dea33cef8ba7de6824c875e069b5 # timeout=10 [2021-05-10T20:32:57.276Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T20:32:57.276Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 54.0% of statements [2021-05-10T20:32:57.276Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T20:32:57.774Z] Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:32:59.194Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:32:59.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:32:59.942Z] + sudo service docker restart [2021-05-10T20:32:59.942Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:33:01.962Z] provisioning config files... [2021-05-10T20:33:02.027Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4652545303353954026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:33:02.414Z] ---> docker-login.sh [2021-05-10T20:33:02.414Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:33:03.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:33:03.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:33:03.675Z] Configure a credential helper to remove this warning. See [2021-05-10T20:33:03.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:33:03.675Z] [2021-05-10T20:33:03.675Z] Login Succeeded [2021-05-10T20:33:03.675Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:33:04.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:33:04.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:33:04.273Z] Configure a credential helper to remove this warning. See [2021-05-10T20:33:04.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:33:04.273Z] [2021-05-10T20:33:04.273Z] Login Succeeded [2021-05-10T20:33:04.273Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:33:04.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:33:04.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:33:04.872Z] Configure a credential helper to remove this warning. See [2021-05-10T20:33:04.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:33:04.872Z] [2021-05-10T20:33:04.872Z] Login Succeeded [2021-05-10T20:33:04.872Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:33:05.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:33:05.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:33:05.419Z] Configure a credential helper to remove this warning. See [2021-05-10T20:33:05.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:33:05.419Z] [2021-05-10T20:33:05.419Z] Login Succeeded [2021-05-10T20:33:05.419Z] docker.io [2021-05-10T20:33:05.480Z] gofmt -l . [2021-05-10T20:33:05.480Z] [ "`gofmt -l .`" = "" ] [2021-05-10T20:33:05.480Z] ./bin/test-go-mod-tidy.sh [2021-05-10T20:33:05.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:33:05.742Z] ./bin/test-attribution-txt.sh [2021-05-10T20:33:05.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:33:05.962Z] Configure a credential helper to remove this warning. See [2021-05-10T20:33:05.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:33:05.963Z] [2021-05-10T20:33:05.963Z] Login Succeeded [2021-05-10T20:33:05.963Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:33:05.980Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:33:06.390Z] ========================================================= [2021-05-10T20:33:06.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T20:33:06.391Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-05-10T20:33:06.718Z] $ docker stop --time=1 5df56bb23601d783bab7d6fab20e91fa9b0c87f42b045b13c3aa71bfb5ef6fd9 [2021-05-10T20:33:06.788Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T20:33:06.788Z] Sending build context to Docker daemon 93.18kB [2021-05-10T20:33:07.070Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:33:07.070Z] Step 2/10 : FROM ${BASE} [2021-05-10T20:33:08.528Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T20:33:08.528Z] 595b0fe564bb: Pulling fs layer [2021-05-10T20:33:08.528Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T20:33:08.528Z] 316046926c0a: Pulling fs layer [2021-05-10T20:33:08.528Z] 4ebd0625c992: Pulling fs layer [2021-05-10T20:33:08.528Z] 207e8628e3a3: Pulling fs layer [2021-05-10T20:33:08.528Z] c791037a9be2: Pulling fs layer [2021-05-10T20:33:08.528Z] ffd874e62e21: Pulling fs layer [2021-05-10T20:33:08.528Z] c791037a9be2: Waiting [2021-05-10T20:33:08.528Z] 4ebd0625c992: Waiting [2021-05-10T20:33:08.528Z] ffd874e62e21: Waiting [2021-05-10T20:33:08.528Z] 207e8628e3a3: Waiting [2021-05-10T20:33:08.528Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T20:33:08.528Z] 7186ed65a4f7: Download complete [2021-05-10T20:33:08.528Z] 316046926c0a: Verifying Checksum [2021-05-10T20:33:08.528Z] 316046926c0a: Download complete [2021-05-10T20:33:08.528Z] 207e8628e3a3: Verifying Checksum [2021-05-10T20:33:08.528Z] 207e8628e3a3: Download complete [2021-05-10T20:33:08.528Z] c791037a9be2: Verifying Checksum [2021-05-10T20:33:08.528Z] c791037a9be2: Download complete [2021-05-10T20:33:08.528Z] 595b0fe564bb: Verifying Checksum [2021-05-10T20:33:08.528Z] 595b0fe564bb: Download complete [2021-05-10T20:33:08.528Z] 595b0fe564bb: Pull complete [2021-05-10T20:33:08.528Z] 7186ed65a4f7: Pull complete [2021-05-10T20:33:08.637Z] $ docker rm -f 5df56bb23601d783bab7d6fab20e91fa9b0c87f42b045b13c3aa71bfb5ef6fd9 [2021-05-10T20:33:08.803Z] 316046926c0a: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:33:09.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T20:33:09.396Z] ffd874e62e21: Verifying Checksum [2021-05-10T20:33:09.396Z] ffd874e62e21: Download complete [2021-05-10T20:33:09.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T20:33:10.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T20:33:10.854Z] 4ebd0625c992: Verifying Checksum [2021-05-10T20:33:10.854Z] 4ebd0625c992: Download complete [2021-05-10T20:33:11.026Z] + ls -al . [2021-05-10T20:33:11.026Z] total 104 [2021-05-10T20:33:11.026Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 10 20:33 . [2021-05-10T20:33:11.026Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 20:31 .. [2021-05-10T20:33:11.026Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 10 20:31 Attribution.txt [2021-05-10T20:33:11.026Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 20:31 bin [2021-05-10T20:33:11.026Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 20:31 cmd [2021-05-10T20:33:11.026Z] -rw-r--r--. 1 jenkins jenkins 8513 May 10 20:32 coverage.out [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 10 20:31 Dockerfile [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 10 20:31 Dockerfile.build [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 151 May 10 20:31 .dockerignore [2021-05-10T20:33:11.027Z] drwxrwxr-x. 2 jenkins jenkins 76 May 10 20:31 driver [2021-05-10T20:33:11.027Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 20:31 .git [2021-05-10T20:33:11.027Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 20:31 .github [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 339 May 10 20:31 .gitignore [2021-05-10T20:33:11.027Z] -rw-r--r--. 1 jenkins jenkins 285 May 10 20:33 go.mod [2021-05-10T20:33:11.027Z] -rw-r--r--. 1 jenkins jenkins 21278 May 10 20:32 go.sum [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 680 May 10 20:31 Jenkinsfile [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 20:31 LICENSE [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 976 May 10 20:31 Makefile [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 10 20:31 README.md [2021-05-10T20:33:11.027Z] drwxrwxr-x. 4 jenkins jenkins 71 May 10 20:31 snap [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 20:29 VERSION [2021-05-10T20:33:11.027Z] -rw-rw-r--. 1 jenkins jenkins 713 May 10 20:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:33:11.346Z] + 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=03a48d595d83dea33cef8ba7de6824c875e069b5 --label arch=amd64 --label version=0.0.0 . [2021-05-10T20:33:11.346Z] Sending build context to Docker daemon 102.9kB [2021-05-10T20:33:11.346Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:33:11.346Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T20:33:11.346Z] ---> 5b6982804e0e [2021-05-10T20:33:11.346Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T20:33:11.610Z] ---> Running in 7514d07dbe97 [2021-05-10T20:33:11.610Z] Removing intermediate container 7514d07dbe97 [2021-05-10T20:33:11.610Z] ---> 7174e0c4be93 [2021-05-10T20:33:11.610Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:33:11.874Z] ---> Running in 1f71d2f7e39a [2021-05-10T20:33:11.874Z] Removing intermediate container 1f71d2f7e39a [2021-05-10T20:33:11.874Z] ---> 07c9f5f036dc [2021-05-10T20:33:11.874Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:33:12.136Z] ---> Running in bafae3eb34c3 [2021-05-10T20:33:12.136Z] Removing intermediate container bafae3eb34c3 [2021-05-10T20:33:12.136Z] ---> a503eec9a7c2 [2021-05-10T20:33:12.136Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:33:12.136Z] ---> Running in 7c8133b05f73 [2021-05-10T20:33:13.085Z] Removing intermediate container 7c8133b05f73 [2021-05-10T20:33:13.085Z] ---> 71f3f4d32fb4 [2021-05-10T20:33:13.085Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:33:13.085Z] ---> Running in 45a18c379640 [2021-05-10T20:33:13.660Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:33:15.590Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:33:16.171Z] OK: 154 MiB in 49 packages [2021-05-10T20:33:16.755Z] Removing intermediate container 45a18c379640 [2021-05-10T20:33:16.755Z] ---> 20a0f1b0b815 [2021-05-10T20:33:16.755Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T20:33:16.755Z] ---> Running in b18d45a8238b [2021-05-10T20:33:17.018Z] Removing intermediate container b18d45a8238b [2021-05-10T20:33:17.018Z] ---> b2e05adda5c9 [2021-05-10T20:33:17.018Z] Step 9/24 : COPY . . [2021-05-10T20:33:17.283Z] ---> dd11574eae45 [2021-05-10T20:33:17.283Z] Step 10/24 : RUN make update [2021-05-10T20:33:17.283Z] ---> Running in 45d9f436096a [2021-05-10T20:33:17.861Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T20:33:18.437Z] Removing intermediate container 45d9f436096a [2021-05-10T20:33:18.437Z] ---> 53f877765bef [2021-05-10T20:33:18.437Z] Step 11/24 : RUN $MAKE [2021-05-10T20:33:18.437Z] ---> Running in 051a5a7d8d93 [2021-05-10T20:33:19.019Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-10T20:33:21.039Z] 4ebd0625c992: Pull complete [2021-05-10T20:33:21.039Z] 207e8628e3a3: Pull complete [2021-05-10T20:33:21.318Z] c791037a9be2: Pull complete [2021-05-10T20:33:25.656Z] ffd874e62e21: Pull complete [2021-05-10T20:33:25.656Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T20:33:25.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T20:33:25.656Z] ---> cfc18b08335c [2021-05-10T20:33:25.656Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:33:28.291Z] ---> Running in 26c5f0c670ed [2021-05-10T20:33:28.564Z] Removing intermediate container 26c5f0c670ed [2021-05-10T20:33:28.564Z] ---> 00cbdc378d15 [2021-05-10T20:33:28.564Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:33:28.564Z] ---> Running in 2612aadc1a63 [2021-05-10T20:33:29.162Z] Removing intermediate container 2612aadc1a63 [2021-05-10T20:33:29.162Z] ---> 0185d218fbeb [2021-05-10T20:33:29.162Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T20:33:29.433Z] ---> Running in 3dfabfa5440c [2021-05-10T20:33:29.705Z] Removing intermediate container 3dfabfa5440c [2021-05-10T20:33:29.705Z] ---> c64068e692d4 [2021-05-10T20:33:29.705Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:33:29.978Z] ---> Running in 2350d92126eb [2021-05-10T20:33:32.610Z] Removing intermediate container 2350d92126eb [2021-05-10T20:33:32.610Z] ---> 98822f796baa [2021-05-10T20:33:32.610Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:33:32.610Z] ---> Running in 46e2a5352806 [2021-05-10T20:33:33.597Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:33:34.054Z] Removing intermediate container 051a5a7d8d93 [2021-05-10T20:33:34.054Z] ---> 837859e6cf4d [2021-05-10T20:33:34.054Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T20:33:34.054Z] 3.12: Pulling from library/alpine [2021-05-10T20:33:34.054Z] 339de151aab4: Pulling fs layer [2021-05-10T20:33:34.054Z] 339de151aab4: Verifying Checksum [2021-05-10T20:33:34.054Z] 339de151aab4: Download complete [2021-05-10T20:33:34.054Z] 339de151aab4: Pull complete [2021-05-10T20:33:34.054Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T20:33:34.054Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T20:33:34.054Z] ---> 13621d1b12d4 [2021-05-10T20:33:34.054Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T20:33:34.054Z] ---> Running in e03512e6ffe6 [2021-05-10T20:33:34.054Z] Removing intermediate container e03512e6ffe6 [2021-05-10T20:33:34.054Z] ---> 79e7481fb836 [2021-05-10T20:33:34.054Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-10T20:33:34.054Z] ---> Running in 4d82a1fe6cd2 [2021-05-10T20:33:34.054Z] Removing intermediate container 4d82a1fe6cd2 [2021-05-10T20:33:34.054Z] ---> d23d8635942c [2021-05-10T20:33:34.054Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T20:33:34.054Z] ---> Running in c9e8a5421551 [2021-05-10T20:33:34.054Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:33:34.054Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:33:34.328Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T20:33:34.328Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T20:33:34.328Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T20:33:34.328Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T20:33:34.328Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T20:33:34.328Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T20:33:34.328Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T20:33:34.328Z] OK: 8 MiB in 20 packages [2021-05-10T20:33:34.904Z] Removing intermediate container c9e8a5421551 [2021-05-10T20:33:34.904Z] ---> 095a0b74b716 [2021-05-10T20:33:34.904Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-10T20:33:35.480Z] ---> 7cf7c0eaa9ca [2021-05-10T20:33:35.480Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-10T20:33:35.562Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:33:35.747Z] ---> ecfb2238bd64 [2021-05-10T20:33:35.747Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-10T20:33:36.010Z] ---> fa1a5a3cce3f [2021-05-10T20:33:36.010Z] Step 19/24 : EXPOSE 49986 [2021-05-10T20:33:36.010Z] ---> Running in 7c57adf61b57 [2021-05-10T20:33:36.273Z] Removing intermediate container 7c57adf61b57 [2021-05-10T20:33:36.273Z] ---> 6dc9558a2972 [2021-05-10T20:33:36.273Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-10T20:33:36.273Z] ---> Running in c15a127ffcb8 [2021-05-10T20:33:36.536Z] Removing intermediate container c15a127ffcb8 [2021-05-10T20:33:36.536Z] ---> 626ea6bed9d7 [2021-05-10T20:33:36.536Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T20:33:36.536Z] ---> Running in 4006dd1d2e32 [2021-05-10T20:33:36.798Z] Removing intermediate container 4006dd1d2e32 [2021-05-10T20:33:36.798Z] ---> f30a4f283216 [2021-05-10T20:33:36.798Z] Step 22/24 : LABEL arch=amd64 [2021-05-10T20:33:36.798Z] ---> Running in 3ed089234df2 [2021-05-10T20:33:36.798Z] Removing intermediate container 3ed089234df2 [2021-05-10T20:33:36.798Z] ---> ade9ae80a60d [2021-05-10T20:33:36.798Z] Step 23/24 : LABEL git_sha=03a48d595d83dea33cef8ba7de6824c875e069b5 [2021-05-10T20:33:36.984Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T20:33:36.984Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T20:33:36.984Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T20:33:37.060Z] ---> Running in 55f18d2ff495 [2021-05-10T20:33:37.060Z] Removing intermediate container 55f18d2ff495 [2021-05-10T20:33:37.060Z] ---> 8a1938cf4dc7 [2021-05-10T20:33:37.060Z] Step 24/24 : LABEL version=0.0.0 [2021-05-10T20:33:37.254Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:33:37.322Z] ---> Running in bdef5b2fe75a [2021-05-10T20:33:37.323Z] Removing intermediate container bdef5b2fe75a [2021-05-10T20:33:37.323Z] ---> 56d9f4ba46c2 [2021-05-10T20:33:37.323Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T20:33:37.323Z] Successfully built 56d9f4ba46c2 [2021-05-10T20:33:37.323Z] Successfully tagged docker-device-rest-go:latest [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 Post stage [2021-05-10T20:33:37.526Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:33:37.526Z] (6/9) Installing libedit (20191231.3.1-r1) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:33:37.797Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:33:37.887Z] ---> job-cost.sh [2021-05-10T20:33:37.887Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ubl2 [2021-05-10T20:33:39.221Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T20:33:39.221Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:33:39.221Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:33:39.221Z] OK: 144 MiB in 49 packages [2021-05-10T20:33:40.653Z] Removing intermediate container 46e2a5352806 [2021-05-10T20:33:40.653Z] ---> 1ec81b3fdf7e [2021-05-10T20:33:40.653Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T20:33:40.927Z] ---> Running in aac5d897f62c [2021-05-10T20:33:41.525Z] Removing intermediate container aac5d897f62c [2021-05-10T20:33:41.525Z] ---> 361c48b325ae [2021-05-10T20:33:41.525Z] Step 9/10 : COPY . . [2021-05-10T20:33:42.122Z] ---> a8b8574efe4b [2021-05-10T20:33:42.122Z] Step 10/10 : RUN go mod download [2021-05-10T20:33:42.401Z] ---> Running in b1436aef0220 [2021-05-10T20:33:52.825Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:34:09.200Z] Removing intermediate container b1436aef0220 [2021-05-10T20:34:09.201Z] ---> 7dec0435b409 [2021-05-10T20:34:09.201Z] Successfully built 7dec0435b409 [2021-05-10T20:34:09.201Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:34:09.548Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:34:09.549Z] . [Pipeline] withDockerContainer [2021-05-10T20:34:09.844Z] prd-ubuntu18.04-docker-arm64-4c-16g-4201 does not seem to be running inside a container [2021-05-10T20:34:09.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:34:11.576Z] $ docker top 8ce71a559fe33b62fe57df340dae7c9af60c99185aff8c3aa9fbfbb80978f5db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:34:12.614Z] + go version [2021-05-10T20:34:12.614Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T20:34:12.647Z] $ docker stop --time=1 8ce71a559fe33b62fe57df340dae7c9af60c99185aff8c3aa9fbfbb80978f5db [2021-05-10T20:34:14.670Z] $ docker rm -f 8ce71a559fe33b62fe57df340dae7c9af60c99185aff8c3aa9fbfbb80978f5db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:34:15.401Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:34:15.401Z] . [Pipeline] withDockerContainer [2021-05-10T20:34:15.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-4201 does not seem to be running inside a container [2021-05-10T20:34:15.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:34:17.473Z] $ docker top b4485aa495bef6efb7e30e7c3d162e0a159cf540066e70cb2857cc7cd24b9833 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:34:18.489Z] + go mod tidy [Pipeline] sh [2021-05-10T20:34:19.489Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ubl2/bin to PATH [2021-05-10T20:34:19.489Z] INFO: No Stack... [2021-05-10T20:34:19.489Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:34:19.489Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:34:19.767Z] + make test [2021-05-10T20:34:19.767Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-10T20:34:19.800Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-10T20:34:19.800Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T20:34:19.882Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [2021-05-10T20:34:19.898Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] did not exist. Created. [2021-05-10T20:34:19.898Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:34:20.225Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T20:34:20.351Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:34:20.365Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T20:34:21.776Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T20:35:18.445Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T20:35:18.445Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-05-10T20:35:18.445Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T20:35:40.648Z] gofmt -l . [2021-05-10T20:35:40.649Z] [ "`gofmt -l .`" = "" ] [2021-05-10T20:35:40.649Z] ./bin/test-go-mod-tidy.sh [2021-05-10T20:35:40.649Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-10T20:35:42.105Z] $ docker stop --time=1 b4485aa495bef6efb7e30e7c3d162e0a159cf540066e70cb2857cc7cd24b9833 [2021-05-10T20:35:44.337Z] $ docker rm -f b4485aa495bef6efb7e30e7c3d162e0a159cf540066e70cb2857cc7cd24b9833 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:35:45.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T20:35:45.237Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T20:35:46.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:35:46.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T20:35:46.803Z] + ls -al . [2021-05-10T20:35:46.803Z] total 132 [2021-05-10T20:35:46.803Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:35 . [2021-05-10T20:35:46.803Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:32 .. [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 20:32 .dockerignore [2021-05-10T20:35:46.803Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:32 .git [2021-05-10T20:35:46.803Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:32 .github [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 339 May 10 20:32 .gitignore [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 10 20:32 Attribution.txt [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 10 20:32 Dockerfile [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 10 20:32 Dockerfile.build [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 20:32 Jenkinsfile [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:32 LICENSE [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 976 May 10 20:32 Makefile [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 10 20:32 README.md [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:29 VERSION [2021-05-10T20:35:46.803Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:32 bin [2021-05-10T20:35:46.803Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:32 cmd [2021-05-10T20:35:46.803Z] -rw-r--r-- 1 jenkins jenkins 8513 May 10 20:35 coverage.out [2021-05-10T20:35:46.803Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:32 driver [2021-05-10T20:35:46.803Z] -rw-r--r-- 1 jenkins jenkins 285 May 10 20:35 go.mod [2021-05-10T20:35:46.803Z] -rw-r--r-- 1 jenkins jenkins 21278 May 10 20:34 go.sum [2021-05-10T20:35:46.803Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:32 snap [2021-05-10T20:35:46.803Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 20:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:35:47.141Z] + 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=03a48d595d83dea33cef8ba7de6824c875e069b5 --label arch=arm64 --label version=0.0.0 . [2021-05-10T20:35:47.141Z] Sending build context to Docker daemon 102.9kB [2021-05-10T20:35:47.412Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:35:47.412Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T20:35:47.412Z] ---> 7dec0435b409 [2021-05-10T20:35:47.412Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T20:35:47.683Z] ---> Running in 03387f46fecc [2021-05-10T20:35:48.277Z] Removing intermediate container 03387f46fecc [2021-05-10T20:35:48.277Z] ---> 038d2e24773f [2021-05-10T20:35:48.277Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:35:48.277Z] ---> Running in 4e97933e6371 [2021-05-10T20:35:48.875Z] Removing intermediate container 4e97933e6371 [2021-05-10T20:35:48.875Z] ---> 249ba41c22f4 [2021-05-10T20:35:48.875Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:35:48.875Z] ---> Running in a25496e04c50 [2021-05-10T20:35:49.161Z] Removing intermediate container a25496e04c50 [2021-05-10T20:35:49.161Z] ---> e77b88ecdff8 [2021-05-10T20:35:49.161Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:35:49.433Z] ---> Running in 332d4890b6d2 [2021-05-10T20:35:51.404Z] Removing intermediate container 332d4890b6d2 [2021-05-10T20:35:51.404Z] ---> e4c141906408 [2021-05-10T20:35:51.404Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:35:51.675Z] ---> Running in b1c02d6f24d5 [2021-05-10T20:35:52.648Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:35:54.609Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:35:56.040Z] OK: 144 MiB in 49 packages [2021-05-10T20:35:57.014Z] Removing intermediate container b1c02d6f24d5 [2021-05-10T20:35:57.014Z] ---> 95819c3188ed [2021-05-10T20:35:57.014Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T20:35:57.286Z] ---> Running in 09605e36bf3c [2021-05-10T20:35:57.877Z] Removing intermediate container 09605e36bf3c [2021-05-10T20:35:57.877Z] ---> 09b16c388baf [2021-05-10T20:35:57.877Z] Step 9/24 : COPY . . [2021-05-10T20:35:58.471Z] ---> 9825b2ff862a [2021-05-10T20:35:58.471Z] Step 10/24 : RUN make update [2021-05-10T20:35:58.743Z] ---> Running in 49955f8bbc89 [2021-05-10T20:36:00.194Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T20:36:01.169Z] Removing intermediate container 49955f8bbc89 [2021-05-10T20:36:01.169Z] ---> 9c53fdea8285 [2021-05-10T20:36:01.169Z] Step 11/24 : RUN $MAKE [2021-05-10T20:36:01.169Z] ---> Running in c7c9255a6d8d [2021-05-10T20:36:02.603Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-10T20:36:41.587Z] Removing intermediate container c7c9255a6d8d [2021-05-10T20:36:41.587Z] ---> 63d310f1d9e0 [2021-05-10T20:36:41.587Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T20:36:41.587Z] 3.12: Pulling from library/alpine [2021-05-10T20:36:41.587Z] d2f70382dc9a: Pulling fs layer [2021-05-10T20:36:41.587Z] error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/98/9852663dfa1831e2c3129c874e328874c84a1ae68072eeb8c7a1914f903a8d3e/data?verify=1620681998-bb01qNWUesiSwSJAMYYzbUV8uGM%3D: dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:36:42.087Z] ---> job-cost.sh [2021-05-10T20:36:42.087Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZxkS [2021-05-10T20:37:29.021Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:38:50.735Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZxkS/bin to PATH [2021-05-10T20:38:50.735Z] INFO: No Stack... [2021-05-10T20:38:50.735Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T20:38:50.735Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:38:51.069Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-10T20:38:51.069Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T20:38:51.187Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [2021-05-10T20:38:51.340Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] did not exist. Created. [2021-05-10T20:38:51.340Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:38:51.710Z] /w/workspace/device-rest-go/2@tmp/durable-e773a230/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-e773a230/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T20:38:52.060Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T20:38:52.083Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T20:38:52.231Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:38:52.245Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-90-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T20:38:52.400Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:53.391Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:54.530Z] ---> package-listing.sh [2021-05-10T20:38:54.530Z] ++ facter osfamily [2021-05-10T20:38:54.530Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T20:38:54.820Z] + OS_FAMILY=redhat [2021-05-10T20:38:54.820Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-90 [2021-05-10T20:38:54.820Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T20:38:54.820Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T20:38:54.820Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T20:38:54.820Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T20:38:54.820Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-90 ']' [2021-05-10T20:38:54.820Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T20:38:54.820Z] + case "${OS_FAMILY}" in [2021-05-10T20:38:54.820Z] + rpm -qa [2021-05-10T20:38:54.820Z] + sort [2021-05-10T20:39:03.432Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T20:39:03.432Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T20:39:03.432Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T20:39:03.432Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-90 ']' [2021-05-10T20:39:03.432Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-90/archives/ [2021-05-10T20:39:03.432Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-90/archives/ [Pipeline] echo [2021-05-10T20:39:03.514Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T20:39:03.863Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:39:04.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:39:04.913Z] [2021-05-10T20:39:04.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:39:05.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:39:05.717Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T20:39:05.717Z] df20fa9351a1: Pulling fs layer [2021-05-10T20:39:05.717Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T20:39:05.717Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T20:39:05.717Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T20:39:05.717Z] 93b61091891f: Pulling fs layer [2021-05-10T20:39:05.717Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T20:39:05.717Z] 5e14af77c1be: Pulling fs layer [2021-05-10T20:39:05.717Z] 01666e4c0597: Pulling fs layer [2021-05-10T20:39:05.717Z] aa168da1d23b: Pulling fs layer [2021-05-10T20:39:05.717Z] 93b61091891f: Waiting [2021-05-10T20:39:05.717Z] 93b9cdb0e59b: Waiting [2021-05-10T20:39:05.717Z] 46f8f816bc3b: Waiting [2021-05-10T20:39:05.717Z] 5e14af77c1be: Waiting [2021-05-10T20:39:05.717Z] 01666e4c0597: Waiting [2021-05-10T20:39:05.717Z] aa168da1d23b: Waiting [2021-05-10T20:39:06.129Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T20:39:06.129Z] 36b3adc4ff6f: Download complete [2021-05-10T20:39:06.129Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T20:39:06.129Z] 46f8f816bc3b: Download complete [2021-05-10T20:39:06.867Z] df20fa9351a1: Verifying Checksum [2021-05-10T20:39:06.867Z] df20fa9351a1: Download complete [2021-05-10T20:39:06.867Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T20:39:06.867Z] 93b9cdb0e59b: Download complete [2021-05-10T20:39:06.867Z] 5e14af77c1be: Verifying Checksum [2021-05-10T20:39:06.867Z] 5e14af77c1be: Download complete [2021-05-10T20:39:06.867Z] 01666e4c0597: Verifying Checksum [2021-05-10T20:39:06.867Z] 01666e4c0597: Download complete [2021-05-10T20:39:07.161Z] 93b61091891f: Verifying Checksum [2021-05-10T20:39:07.161Z] 93b61091891f: Download complete [2021-05-10T20:39:07.787Z] df20fa9351a1: Pull complete [2021-05-10T20:39:08.439Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T20:39:08.439Z] 8ad3a11d3b57: Download complete [2021-05-10T20:39:08.439Z] 36b3adc4ff6f: Pull complete [2021-05-10T20:39:12.006Z] 8ad3a11d3b57: Pull complete [2021-05-10T20:39:12.006Z] 46f8f816bc3b: Pull complete [2021-05-10T20:39:12.737Z] 93b61091891f: Pull complete [2021-05-10T20:39:13.025Z] 93b9cdb0e59b: Pull complete [2021-05-10T20:39:13.731Z] 5e14af77c1be: Pull complete [2021-05-10T20:39:14.031Z] 01666e4c0597: Pull complete [2021-05-10T20:39:17.552Z] aa168da1d23b: Verifying Checksum [2021-05-10T20:39:17.552Z] aa168da1d23b: Download complete [2021-05-10T20:39:40.361Z] aa168da1d23b: Pull complete [2021-05-10T20:39:40.361Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T20:39:40.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:39:40.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T20:39:41.504Z] prd-centos7-docker-4c-2g-4192 does not seem to be running inside a container [2021-05-10T20:39:41.683Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-90 -v /w/workspace/dgexfoundry_device-rest-go_PR-90:/w/workspace/dgexfoundry_device-rest-go_PR-90:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-90@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T20:39:44.637Z] $ docker top 448e0ce1a9707ebdd64b50114f90a9788fbec3741216343a6c679ad8df7bc592 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:39:45.306Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T20:39:45.719Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T20:39:46.292Z] + ls /var/log/sa-host [2021-05-10T20:39:46.292Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T20:39:46.292Z] file_magic: OK [2021-05-10T20:39:46.292Z] HZ: Using current value: 100 [2021-05-10T20:39:46.292Z] file_header: OK [2021-05-10T20:39:46.292Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T20:39:46.292Z] Statistics: [2021-05-10T20:39:46.292Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T20:39:46.292Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T20:39:46.292Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T20:39:46.292Z] file_magic: OK [2021-05-10T20:39:46.292Z] HZ: Using current value: 100 [2021-05-10T20:39:46.292Z] file_header: OK [2021-05-10T20:39:46.292Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T20:39:46.292Z] Statistics: [2021-05-10T20:39:46.292Z] Hnuu...uuuununununu... [2021-05-10T20:39:46.292Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T20:39:46.456Z] provisioning config files... [2021-05-10T20:39:46.476Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/config49365034945787778tmp [Pipeline] { [Pipeline] echo [2021-05-10T20:39:46.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:39:47.198Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T20:39:47.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T20:39:47.241Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:39:47.592Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T20:39:47.609Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:39:47.962Z] ---> sudo-logs.sh [2021-05-10T20:39:47.962Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T20:39:48.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:39:48.873Z] ---> job-cost.sh [2021-05-10T20:39:48.873Z] lf-activate-venv: SKIPPING [2021-05-10T20:39:48.873Z] DEBUG: total: 0.20999999344348907 [2021-05-10T20:39:48.873Z] INFO: Retrieving Stack Cost... [2021-05-10T20:39:49.595Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:39:50.815Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T20:39:50.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:39:51.694Z] ---> logs-deploy.sh [2021-05-10T20:39:51.694Z] lf-activate-venv: SKIPPING [2021-05-10T20:39:51.694Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-90/2 [2021-05-10T20:39:51.694Z] INFO: archiving workspace using pattern(s): [2021-05-10T20:39:55.251Z] Archives upload complete. [2021-05-10T20:39:55.536Z] INFO: archiving logs to Nexus