Pull request #90 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from edddcdfd471d84ecd06baa82d30b23588d174076+f67542ccb051b13986f5f41838b922d5b9b125ad (3c546486c4f6a51f79b51754d81796372c2d1821) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-90/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-90/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4134’ is offline; ‘prd-centos7-docker-4c-2g-4137’ is offline; ‘prd-centos7-docker-4c-2g-4138’ is offline; ‘prd-centos7-docker-4c-2g-4149’ is offline; ‘prd-centos7-docker-4c-2g-4150’ is offline; ‘prd-centos7-docker-4c-2g-4152’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4142’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4156 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 edddcdfd471d84ecd06baa82d30b23588d174076 > 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 edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 Merge succeeded, producing edddcdfd471d84ecd06baa82d30b23588d174076 Checking out Revision edddcdfd471d84ecd06baa82d30b23588d174076 (PR-90) > 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 edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 Commit message: "feat: Add Registry/Config Access token capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T18:07:46.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T18:07:46.299Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T18:07:46.427Z] ========================================================= [2021-05-10T18:07:46.427Z] EdgeX Global Pipelines Version Info [2021-05-10T18:07:46.427Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:07:48.891Z] ------------------- [2021-05-10T18:07:48.891Z] stable info: [2021-05-10T18:07:48.891Z] ------------------- [2021-05-10T18:07:48.891Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T18:07:48.891Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T18:07:48.891Z] Message: update stable to v1.0.191 [2021-05-10T18:07:49.854Z] ------------------- [2021-05-10T18:07:49.854Z] experimental info: [2021-05-10T18:07:49.854Z] ------------------- [2021-05-10T18:07:49.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T18:07:49.854Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T18:07:49.854Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T18:07:50.168Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-10T18:07:50.224Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-10T18:07:50.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T18:07:50.351Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T18:07:50.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T18:07:50.461Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T18:07:50.514Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T18:07:50.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T18:07:50.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T18:07:50.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T18:07:50.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T18:07:50.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-10T18:07:50.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T18:07:50.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T18:07:51.088Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:07:51.141Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T18:07:51.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T18:07:51.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T18:07:51.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T18:07:51.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T18:07:51.437Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T18:07:51.487Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T18:07:51.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T18:07:51.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T18:07:51.655Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T18:07:51.711Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T18:07:51.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2021-05-10T18:07:51.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2021-05-10T18:07:51.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2021-05-10T18:07:51.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edddcdfd471d84ecd06baa82d30b23588d174076 [Pipeline] echo [2021-05-10T18:07:52.007Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edddcdf [Pipeline] echo [2021-05-10T18:07:52.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:07:52.236Z] provisioning config files... [2021-05-10T18:07:52.290Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/config7048808495226501287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:07:52.736Z] ---> docker-login.sh [2021-05-10T18:07:52.736Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:07:53.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:53.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:53.405Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:53.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:53.405Z] [2021-05-10T18:07:53.405Z] Login Succeeded [2021-05-10T18:07:53.405Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:07:54.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:54.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:54.091Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:54.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:54.091Z] [2021-05-10T18:07:54.091Z] Login Succeeded [2021-05-10T18:07:54.091Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:07:54.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:54.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:54.362Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:54.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:54.362Z] [2021-05-10T18:07:54.362Z] Login Succeeded [2021-05-10T18:07:54.362Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:07:54.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:54.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:54.640Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:54.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:54.640Z] [2021-05-10T18:07:54.640Z] Login Succeeded [2021-05-10T18:07:54.640Z] docker.io [2021-05-10T18:07:54.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:07:55.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:07:55.518Z] Configure a credential helper to remove this warning. See [2021-05-10T18:07:55.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:07:55.518Z] [2021-05-10T18:07:55.518Z] Login Succeeded [2021-05-10T18:07:55.518Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:07:55.559Z] 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-10T18:07:56.297Z] + git log --format=format:%s -1 edddcdfd471d84ecd06baa82d30b23588d174076 [Pipeline] echo [2021-05-10T18:07:56.407Z] GIT_COMMIT: edddcdfd471d84ecd06baa82d30b23588d174076, Commit Message: feat: Add Registry/Config Access token capability [Pipeline] echo [2021-05-10T18:07:56.443Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:57.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:57.058Z] [2021-05-10T18:07:57.058Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:07:57.531Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:57.532Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T18:07:57.532Z] 31603596830f: Pulling fs layer [2021-05-10T18:07:57.532Z] 54011a49482f: Pulling fs layer [2021-05-10T18:07:57.532Z] a6820b24f6d8: Pulling fs layer [2021-05-10T18:07:57.532Z] f581987b2513: Pulling fs layer [2021-05-10T18:07:57.532Z] f581987b2513: Waiting [2021-05-10T18:07:57.532Z] 54011a49482f: Download complete [2021-05-10T18:07:57.796Z] 31603596830f: Download complete [2021-05-10T18:07:57.796Z] f581987b2513: Verifying Checksum [2021-05-10T18:07:57.796Z] f581987b2513: Download complete [2021-05-10T18:07:58.087Z] 31603596830f: Pull complete [2021-05-10T18:07:58.359Z] a6820b24f6d8: Verifying Checksum [2021-05-10T18:07:58.359Z] a6820b24f6d8: Download complete [2021-05-10T18:07:58.359Z] 54011a49482f: Pull complete [2021-05-10T18:07:59.785Z] a6820b24f6d8: Pull complete [2021-05-10T18:07:59.785Z] f581987b2513: Pull complete [2021-05-10T18:07:59.785Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T18:07:59.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T18:07:59.785Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T18:08:00.024Z] prd-centos7-docker-4c-2g-4156 does not seem to be running inside a container [2021-05-10T18:08:00.115Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T18:08:02.748Z] $ docker top f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T18:08:03.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:08:03.301Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:08:03.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:08:03.749Z] $ docker exec f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb ssh-agent [2021-05-10T18:08:04.047Z] SSH_AUTH_SOCK=/tmp/ssh-IAcxd0oZ2CRD/agent.11 [2021-05-10T18:08:04.047Z] SSH_AGENT_PID=16 [2021-05-10T18:08:04.076Z] Running ssh-add (command line suppressed) [2021-05-10T18:08:04.262Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_4041972159508596654.key (/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_4041972159508596654.key) [2021-05-10T18:08:04.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:08:04.815Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T18:08:04.870Z] $ docker exec --env ******** --env ******** f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb ssh-agent -k [2021-05-10T18:08:05.083Z] unset SSH_AUTH_SOCK; [2021-05-10T18:08:05.083Z] unset SSH_AGENT_PID; [2021-05-10T18:08:05.084Z] echo Agent pid 16 killed; [2021-05-10T18:08:05.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T18:08:05.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T18:08:05.223Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T18:08:05.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T18:08:05.614Z] $ docker exec f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb ssh-agent [2021-05-10T18:08:05.950Z] SSH_AUTH_SOCK=/tmp/ssh-kPO1mwzUH0tV/agent.44 [2021-05-10T18:08:05.950Z] SSH_AGENT_PID=49 [2021-05-10T18:08:05.964Z] Running ssh-add (command line suppressed) [2021-05-10T18:08:06.137Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_1852992294631488345.key (/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/private_key_1852992294631488345.key) [2021-05-10T18:08:06.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T18:08:06.641Z] + git semver init [2021-05-10T18:08:06.641Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T18:08:06.641Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-90/.git [2021-05-10T18:08:06.641Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-90 [2021-05-10T18:08:06.641Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T18:08:06.641Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T18:08:06.641Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T18:08:06.641Z] # $SEMVER_BRANCH = PR-90 [2021-05-10T18:08:06.641Z] # $SEMVER_TEMP = /tmp/semver-762783630 [2021-05-10T18:08:06.641Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-10T18:08:08.153Z] # '/tmp/semver-762783630' -> '/w/workspace/dgexfoundry_device-rest-go_PR-90/.semver' [2021-05-10T18:08:08.153Z] # -> Force: false [2021-05-10T18:08:08.153Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-90/.semver [Pipeline] } [2021-05-10T18:08:08.207Z] $ docker exec --env ******** --env ******** f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb ssh-agent -k [2021-05-10T18:08:08.412Z] unset SSH_AUTH_SOCK; [2021-05-10T18:08:08.413Z] unset SSH_AGENT_PID; [2021-05-10T18:08:08.413Z] echo Agent pid 49 killed; [2021-05-10T18:08:08.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T18:08:09.071Z] + git semver [Pipeline] } [2021-05-10T18:08:09.141Z] $ docker stop --time=1 f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb [2021-05-10T18:08:10.826Z] $ docker rm -f f7ebc5bb6a26e46917f802d62c44f4394bcc01581deed2035653cdbf0f4c6afb [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T18:08:11.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T18:08:12.255Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T18:08:12.281Z] [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-10T18:08:27.821Z] Still waiting to schedule task [2021-05-10T18:08:27.821Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T18:08:27.851Z] Still waiting to schedule task [2021-05-10T18:08:27.852Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T18:09:48.576Z] Running on prd-centos7-docker-4c-2g-4159 in /w/workspace/dgexfoundry_device-rest-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T18:09:48.640Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T18:09:56.683Z] using credential edgex-jenkins-ssh [2021-05-10T18:09:56.702Z] Cloning the remote Git repository [2021-05-10T18:09:56.803Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:09:56.921Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-10T18:09:57.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:09:57.110Z] > git --version # timeout=10 [2021-05-10T18:09:57.141Z] > git --version # 'git version 2.24.3' [2021-05-10T18:09:57.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:09:57.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:10:01.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T18:10:01.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:10:01.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T18:10:02.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:10:02.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:10:02.028Z] > 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-10T18:10:04.605Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:10:05.052Z] Merge succeeded, producing edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:10:05.052Z] Checking out Revision edddcdfd471d84ecd06baa82d30b23588d174076 (PR-90) [2021-05-10T18:10:04.622Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:10:04.664Z] > git checkout -f edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 [2021-05-10T18:10:04.807Z] > git remote # timeout=10 [2021-05-10T18:10:04.865Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T18:10:04.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:10:04.890Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T18:10:05.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T18:10:05.056Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:10:05.120Z] > git checkout -f edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 [2021-05-10T18:10:09.430Z] Commit message: "feat: Add Registry/Config Access token capability" [2021-05-10T18:10:09.465Z] > git --version # timeout=10 [2021-05-10T18:10:09.512Z] > git --version # 'git version 2.24.3' [2021-05-10T18:10:09.558Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T18:10:11.548Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:10:12.025Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:10:12.396Z] + sudo service docker restart [2021-05-10T18:10:12.397Z] + true [2021-05-10T18:10:12.397Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:10:13.979Z] provisioning config files... [2021-05-10T18:10:14.027Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7965361188743753673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:10:14.558Z] ---> docker-login.sh [2021-05-10T18:10:14.558Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:10:15.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:10:15.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:10:15.693Z] Configure a credential helper to remove this warning. See [2021-05-10T18:10:15.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:10:15.693Z] [2021-05-10T18:10:15.693Z] Login Succeeded [2021-05-10T18:10:15.693Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:10:15.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:10:15.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:10:15.986Z] Configure a credential helper to remove this warning. See [2021-05-10T18:10:15.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:10:15.986Z] [2021-05-10T18:10:15.986Z] Login Succeeded [2021-05-10T18:10:15.986Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:10:16.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:10:16.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:10:16.656Z] Configure a credential helper to remove this warning. See [2021-05-10T18:10:16.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:10:16.656Z] [2021-05-10T18:10:16.656Z] Login Succeeded [2021-05-10T18:10:16.656Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:10:17.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:10:17.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:10:17.325Z] Configure a credential helper to remove this warning. See [2021-05-10T18:10:17.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:10:17.325Z] [2021-05-10T18:10:17.325Z] Login Succeeded [2021-05-10T18:10:17.325Z] docker.io [2021-05-10T18:10:17.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:10:17.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:10:17.942Z] Configure a credential helper to remove this warning. See [2021-05-10T18:10:17.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:10:17.942Z] [2021-05-10T18:10:17.942Z] Login Succeeded [2021-05-10T18:10:17.942Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T18:10:17.973Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T18:10:18.548Z] ========================================================= [2021-05-10T18:10:18.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T18:10:18.548Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:10:18.957Z] + 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-10T18:10:18.957Z] Sending build context to Docker daemon 93.18kB [2021-05-10T18:10:19.321Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:10:19.321Z] Step 2/10 : FROM ${BASE} [2021-05-10T18:10:19.321Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T18:10:19.321Z] 540db60ca938: Pulling fs layer [2021-05-10T18:10:19.321Z] adcc1eea9eea: Pulling fs layer [2021-05-10T18:10:19.321Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T18:10:19.321Z] 0510c868ecb4: Pulling fs layer [2021-05-10T18:10:19.321Z] afea3b2eda06: Pulling fs layer [2021-05-10T18:10:19.321Z] 7809a108b3ef: Pulling fs layer [2021-05-10T18:10:19.321Z] 0510c868ecb4: Waiting [2021-05-10T18:10:19.321Z] afea3b2eda06: Waiting [2021-05-10T18:10:19.321Z] f706445af74f: Pulling fs layer [2021-05-10T18:10:19.321Z] 7809a108b3ef: Waiting [2021-05-10T18:10:19.639Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T18:10:19.639Z] 4c4ab2625f07: Download complete [2021-05-10T18:10:19.639Z] adcc1eea9eea: Verifying Checksum [2021-05-10T18:10:19.639Z] adcc1eea9eea: Download complete [2021-05-10T18:10:19.639Z] afea3b2eda06: Verifying Checksum [2021-05-10T18:10:19.639Z] afea3b2eda06: Download complete [2021-05-10T18:10:19.639Z] 7809a108b3ef: Verifying Checksum [2021-05-10T18:10:19.639Z] 7809a108b3ef: Download complete [2021-05-10T18:10:19.930Z] 540db60ca938: Verifying Checksum [2021-05-10T18:10:19.930Z] 540db60ca938: Download complete [2021-05-10T18:10:20.637Z] 540db60ca938: Pull complete [2021-05-10T18:10:20.938Z] adcc1eea9eea: Pull complete [2021-05-10T18:10:21.213Z] 4c4ab2625f07: Pull complete [2021-05-10T18:10:23.916Z] f706445af74f: Verifying Checksum [2021-05-10T18:10:23.916Z] f706445af74f: Download complete [2021-05-10T18:10:27.352Z] 0510c868ecb4: Verifying Checksum [2021-05-10T18:10:27.352Z] 0510c868ecb4: Download complete [2021-05-10T18:10:37.623Z] 0510c868ecb4: Pull complete [2021-05-10T18:10:37.623Z] afea3b2eda06: Pull complete [2021-05-10T18:10:37.623Z] 7809a108b3ef: Pull complete [2021-05-10T18:10:42.020Z] f706445af74f: Pull complete [2021-05-10T18:10:42.020Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T18:10:42.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T18:10:42.020Z] ---> b068be0155e3 [2021-05-10T18:10:42.020Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T18:10:42.602Z] ---> Running in 283bb5700b6d [2021-05-10T18:10:42.876Z] Removing intermediate container 283bb5700b6d [2021-05-10T18:10:42.876Z] ---> 30b9e835c513 [2021-05-10T18:10:42.876Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T18:10:42.876Z] ---> Running in 98f8583b574d [2021-05-10T18:10:43.170Z] Removing intermediate container 98f8583b574d [2021-05-10T18:10:43.170Z] ---> a0d0d1458776 [2021-05-10T18:10:43.170Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T18:10:43.170Z] ---> Running in fa2047bc9f18 [2021-05-10T18:10:43.460Z] Removing intermediate container fa2047bc9f18 [2021-05-10T18:10:43.460Z] ---> d5a4f88eaf1e [2021-05-10T18:10:43.460Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:10:43.460Z] ---> Running in 3451484fbd02 [2021-05-10T18:10:45.428Z] Removing intermediate container 3451484fbd02 [2021-05-10T18:10:45.428Z] ---> e27ef169b9d3 [2021-05-10T18:10:45.428Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T18:10:45.428Z] ---> Running in e4d3fdff39c3 [2021-05-10T18:10:46.396Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T18:10:49.808Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T18:10:51.760Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T18:10:51.760Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T18:10:52.350Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T18:10:52.350Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:10:52.619Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T18:10:53.242Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-10T18:10:53.519Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T18:10:55.489Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T18:10:56.076Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:10:56.343Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:10:56.343Z] OK: 154 MiB in 49 packages [2021-05-10T18:10:56.929Z] Removing intermediate container e4d3fdff39c3 [2021-05-10T18:10:56.929Z] ---> e5bec02be6e3 [2021-05-10T18:10:56.929Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T18:10:56.929Z] ---> Running in c5a743531cc0 [2021-05-10T18:10:57.207Z] Removing intermediate container c5a743531cc0 [2021-05-10T18:10:57.207Z] ---> 918682ef3bf2 [2021-05-10T18:10:57.207Z] Step 9/10 : COPY . . [2021-05-10T18:10:57.496Z] ---> ac8689d7e704 [2021-05-10T18:10:57.496Z] Step 10/10 : RUN go mod download [2021-05-10T18:10:57.496Z] ---> Running in d782b2b281c2 [2021-05-10T18:11:03.677Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4162 in /w/workspace/dgexfoundry_device-rest-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T18:11:03.744Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T18:11:10.267Z] using credential edgex-jenkins-ssh [2021-05-10T18:11:10.295Z] Cloning the remote Git repository [2021-05-10T18:11:10.339Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:11:10.476Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-10T18:11:10.566Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:11:10.566Z] > git --version # timeout=10 [2021-05-10T18:11:10.584Z] > git --version # 'git version 2.17.1' [2021-05-10T18:11:10.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:11:10.639Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:11:12.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T18:11:12.385Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T18:11:12.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T18:11:12.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T18:11:12.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:11:12.444Z] > 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-10T18:11:12.999Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:11:13.173Z] Merge succeeded, producing edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:11:13.174Z] Checking out Revision edddcdfd471d84ecd06baa82d30b23588d174076 (PR-90) [2021-05-10T18:11:13.011Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:11:13.025Z] > git checkout -f edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 [2021-05-10T18:11:13.096Z] > git remote # timeout=10 [2021-05-10T18:11:13.112Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T18:11:13.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T18:11:13.138Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T18:11:13.158Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T18:11:13.177Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T18:11:13.191Z] > git checkout -f edddcdfd471d84ecd06baa82d30b23588d174076 # timeout=10 [2021-05-10T18:11:17.359Z] Commit message: "feat: Add Registry/Config Access token capability" [2021-05-10T18:11:17.416Z] > git --version # timeout=10 [2021-05-10T18:11:17.426Z] > git --version # 'git version 2.17.1' [2021-05-10T18:11:17.438Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T18:11:19.007Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:11:19.430Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T18:11:19.797Z] + true [2021-05-10T18:11:19.797Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T18:11:22.521Z] provisioning config files... [2021-05-10T18:11:22.569Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5692035891374746827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:11:23.016Z] ---> docker-login.sh [2021-05-10T18:11:23.016Z] nexus3.edgexfoundry.org:10001 [2021-05-10T18:11:23.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:11:24.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:11:24.212Z] Configure a credential helper to remove this warning. See [2021-05-10T18:11:24.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:11:24.212Z] [2021-05-10T18:11:24.212Z] Login Succeeded [2021-05-10T18:11:24.212Z] nexus3.edgexfoundry.org:10002 [2021-05-10T18:11:24.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:11:24.638Z] Removing intermediate container d782b2b281c2 [2021-05-10T18:11:24.638Z] ---> a91626f4bb44 [2021-05-10T18:11:24.638Z] Successfully built a91626f4bb44 [2021-05-10T18:11:24.638Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:11:24.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:11:24.765Z] Configure a credential helper to remove this warning. See [2021-05-10T18:11:24.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:11:24.765Z] [2021-05-10T18:11:24.765Z] Login Succeeded [2021-05-10T18:11:24.765Z] nexus3.edgexfoundry.org:10003 [2021-05-10T18:11:25.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:11:25.081Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:11:25.358Z] . [Pipeline] withDockerContainer [2021-05-10T18:11:25.562Z] prd-centos7-docker-4c-2g-4159 does not seem to be running inside a container [2021-05-10T18:11:25.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:11:26.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:11:26.474Z] Configure a credential helper to remove this warning. See [2021-05-10T18:11:26.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:11:26.474Z] [2021-05-10T18:11:26.474Z] Login Succeeded [2021-05-10T18:11:26.474Z] nexus3.edgexfoundry.org:10004 [2021-05-10T18:11:26.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:11:26.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:11:26.748Z] Configure a credential helper to remove this warning. See [2021-05-10T18:11:26.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:11:26.748Z] [2021-05-10T18:11:26.748Z] Login Succeeded [2021-05-10T18:11:26.748Z] docker.io [2021-05-10T18:11:27.010Z] $ docker top 70eeb6a2246da2c895ebbbb44106951143b8815e5549489fa19fb8578d26eebe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:11:27.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T18:11:27.590Z] + go version [2021-05-10T18:11:27.590Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T18:11:27.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T18:11:27.614Z] Configure a credential helper to remove this warning. See [2021-05-10T18:11:27.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T18:11:27.614Z] [2021-05-10T18:11:27.614Z] Login Succeeded [2021-05-10T18:11:27.614Z] ---> docker-login.sh ends [2021-05-10T18:11:27.622Z] $ docker stop --time=1 70eeb6a2246da2c895ebbbb44106951143b8815e5549489fa19fb8578d26eebe [2021-05-10T18:11:29.093Z] $ docker rm -f 70eeb6a2246da2c895ebbbb44106951143b8815e5549489fa19fb8578d26eebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-10T18:11:29.294Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-10T18:11:29.884Z] ========================================================= [2021-05-10T18:11:29.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T18:11:29.884Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:11:30.075Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T18:11:30.076Z] . [Pipeline] withDockerContainer [2021-05-10T18:11:30.214Z] prd-centos7-docker-4c-2g-4159 does not seem to be running inside a container [2021-05-10T18:11:30.261Z] + 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-10T18:11:30.261Z] Sending build context to Docker daemon 93.18kB [2021-05-10T18:11:30.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T18:11:30.532Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:11:30.532Z] Step 2/10 : FROM ${BASE} [2021-05-10T18:11:30.990Z] $ docker top 08cece465653545df5840caa438c4e9425fcbd7903c9f837baa91ca557e868d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:11:31.495Z] + go mod tidy [2021-05-10T18:11:31.965Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T18:11:31.965Z] 595b0fe564bb: Pulling fs layer [2021-05-10T18:11:31.965Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T18:11:31.965Z] 316046926c0a: Pulling fs layer [2021-05-10T18:11:31.965Z] 4ebd0625c992: Pulling fs layer [2021-05-10T18:11:31.965Z] 207e8628e3a3: Pulling fs layer [2021-05-10T18:11:31.965Z] c791037a9be2: Pulling fs layer [2021-05-10T18:11:31.965Z] ffd874e62e21: Pulling fs layer [2021-05-10T18:11:31.965Z] 4ebd0625c992: Waiting [2021-05-10T18:11:31.965Z] 207e8628e3a3: Waiting [2021-05-10T18:11:31.965Z] c791037a9be2: Waiting [2021-05-10T18:11:31.965Z] ffd874e62e21: Waiting [2021-05-10T18:11:31.965Z] 316046926c0a: Download complete [2021-05-10T18:11:31.965Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T18:11:31.965Z] 7186ed65a4f7: Download complete [2021-05-10T18:11:31.965Z] 207e8628e3a3: Verifying Checksum [2021-05-10T18:11:31.965Z] 207e8628e3a3: Download complete [2021-05-10T18:11:31.965Z] c791037a9be2: Verifying Checksum [2021-05-10T18:11:31.965Z] c791037a9be2: Download complete [Pipeline] sh [2021-05-10T18:11:32.511Z] + make test [2021-05-10T18:11:32.511Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-10T18:11:32.562Z] 595b0fe564bb: Verifying Checksum [2021-05-10T18:11:32.562Z] 595b0fe564bb: Download complete [2021-05-10T18:11:33.166Z] 595b0fe564bb: Pull complete [2021-05-10T18:11:33.526Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T18:11:33.763Z] 7186ed65a4f7: Pull complete [2021-05-10T18:11:34.036Z] 316046926c0a: Pull complete [2021-05-10T18:12:00.541Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T18:12:00.810Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements [2021-05-10T18:12:01.149Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T18:12:06.394Z] ffd874e62e21: Verifying Checksum [2021-05-10T18:12:06.394Z] ffd874e62e21: Download complete [2021-05-10T18:12:13.675Z] gofmt -l . [2021-05-10T18:12:13.675Z] [ "`gofmt -l .`" = "" ] [2021-05-10T18:12:13.675Z] ./bin/test-go-mod-tidy.sh [2021-05-10T18:12:13.962Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-10T18:12:15.483Z] $ docker stop --time=1 08cece465653545df5840caa438c4e9425fcbd7903c9f837baa91ca557e868d7 [2021-05-10T18:12:17.597Z] $ docker rm -f 08cece465653545df5840caa438c4e9425fcbd7903c9f837baa91ca557e868d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T18:12:18.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T18:12:18.791Z] 4ebd0625c992: Verifying Checksum [2021-05-10T18:12:18.791Z] 4ebd0625c992: Download complete [2021-05-10T18:12:18.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T18:12:20.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T18:12:20.631Z] + ls -al . [2021-05-10T18:12:20.631Z] total 104 [2021-05-10T18:12:20.631Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 10 18:12 . [2021-05-10T18:12:20.631Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 18:09 .. [2021-05-10T18:12:20.631Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 10 18:10 Attribution.txt [2021-05-10T18:12:20.631Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 18:10 bin [2021-05-10T18:12:20.631Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 18:10 cmd [2021-05-10T18:12:20.631Z] -rw-r--r--. 1 jenkins jenkins 8513 May 10 18:12 coverage.out [2021-05-10T18:12:20.631Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 10 18:10 Dockerfile [2021-05-10T18:12:20.631Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 10 18:10 Dockerfile.build [2021-05-10T18:12:20.631Z] -rw-rw-r--. 1 jenkins jenkins 151 May 10 18:10 .dockerignore [2021-05-10T18:12:20.631Z] drwxrwxr-x. 2 jenkins jenkins 76 May 10 18:10 driver [2021-05-10T18:12:20.631Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 18:10 .git [2021-05-10T18:12:20.631Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 18:10 .github [2021-05-10T18:12:20.631Z] -rw-rw-r--. 1 jenkins jenkins 339 May 10 18:10 .gitignore [2021-05-10T18:12:20.632Z] -rw-r--r--. 1 jenkins jenkins 285 May 10 18:12 go.mod [2021-05-10T18:12:20.632Z] -rw-r--r--. 1 jenkins jenkins 21278 May 10 18:11 go.sum [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 680 May 10 18:10 Jenkinsfile [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 18:10 LICENSE [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 976 May 10 18:10 Makefile [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 10 18:10 README.md [2021-05-10T18:12:20.632Z] drwxrwxr-x. 4 jenkins jenkins 71 May 10 18:10 snap [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 18:08 VERSION [2021-05-10T18:12:20.632Z] -rw-rw-r--. 1 jenkins jenkins 713 May 10 18:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:12:21.014Z] + 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=edddcdfd471d84ecd06baa82d30b23588d174076 --label arch=amd64 --label version=0.0.0 . [2021-05-10T18:12:21.014Z] Sending build context to Docker daemon 102.9kB [2021-05-10T18:12:21.288Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:12:21.288Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T18:12:21.288Z] ---> a91626f4bb44 [2021-05-10T18:12:21.288Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T18:12:21.568Z] ---> Running in 7952f226125a [2021-05-10T18:12:21.568Z] Removing intermediate container 7952f226125a [2021-05-10T18:12:21.568Z] ---> f827e1b77174 [2021-05-10T18:12:21.568Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T18:12:21.835Z] ---> Running in fa0de2944176 [2021-05-10T18:12:22.106Z] Removing intermediate container fa0de2944176 [2021-05-10T18:12:22.106Z] ---> 97cc99fd45bc [2021-05-10T18:12:22.106Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T18:12:22.106Z] ---> Running in 9d4d1d7070ae [2021-05-10T18:12:22.371Z] Removing intermediate container 9d4d1d7070ae [2021-05-10T18:12:22.372Z] ---> 343773dacb1d [2021-05-10T18:12:22.372Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:12:22.372Z] ---> Running in 422f71cd4668 [2021-05-10T18:12:23.794Z] Removing intermediate container 422f71cd4668 [2021-05-10T18:12:23.794Z] ---> 68deff7c1d57 [2021-05-10T18:12:23.794Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T18:12:23.794Z] ---> Running in bbd739558e88 [2021-05-10T18:12:24.392Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T18:12:27.734Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T18:12:28.721Z] OK: 154 MiB in 49 packages [2021-05-10T18:12:28.944Z] 4ebd0625c992: Pull complete [2021-05-10T18:12:28.944Z] 207e8628e3a3: Pull complete [2021-05-10T18:12:28.944Z] c791037a9be2: Pull complete [2021-05-10T18:12:29.313Z] Removing intermediate container bbd739558e88 [2021-05-10T18:12:29.313Z] ---> 42817e026c7a [2021-05-10T18:12:29.313Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T18:12:29.582Z] ---> Running in c83f0c20406f [2021-05-10T18:12:29.582Z] Removing intermediate container c83f0c20406f [2021-05-10T18:12:29.582Z] ---> a8486480e8f4 [2021-05-10T18:12:29.582Z] Step 9/24 : COPY . . [2021-05-10T18:12:30.181Z] ---> c6f2b894215f [2021-05-10T18:12:30.181Z] Step 10/24 : RUN make update [2021-05-10T18:12:30.181Z] ---> Running in dc4d430710ad [2021-05-10T18:12:30.787Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T18:12:31.374Z] Removing intermediate container dc4d430710ad [2021-05-10T18:12:31.374Z] ---> 779c62eecca8 [2021-05-10T18:12:31.374Z] Step 11/24 : RUN $MAKE [2021-05-10T18:12:31.374Z] ---> Running in 1ae45593623d [2021-05-10T18:12:31.958Z] 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-10T18:12:32.354Z] ffd874e62e21: Pull complete [2021-05-10T18:12:32.354Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T18:12:32.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T18:12:32.354Z] ---> cfc18b08335c [2021-05-10T18:12:32.354Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T18:12:34.338Z] ---> Running in 37a6b4cf6831 [2021-05-10T18:12:34.610Z] Removing intermediate container 37a6b4cf6831 [2021-05-10T18:12:34.610Z] ---> 7b3816189545 [2021-05-10T18:12:34.610Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T18:12:34.884Z] ---> Running in 1fd00be8b679 [2021-05-10T18:12:35.154Z] Removing intermediate container 1fd00be8b679 [2021-05-10T18:12:35.154Z] ---> 70c84da604b2 [2021-05-10T18:12:35.154Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T18:12:35.423Z] ---> Running in ad04f8734d55 [2021-05-10T18:12:35.696Z] Removing intermediate container ad04f8734d55 [2021-05-10T18:12:35.696Z] ---> 37abd26422d3 [2021-05-10T18:12:35.696Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:12:35.968Z] ---> Running in 2406249eb30d [2021-05-10T18:12:37.929Z] Removing intermediate container 2406249eb30d [2021-05-10T18:12:37.929Z] ---> 6336b37d7166 [2021-05-10T18:12:37.929Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T18:12:38.199Z] ---> Running in 48367941f3f0 [2021-05-10T18:12:39.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T18:12:41.146Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T18:12:43.106Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T18:12:43.106Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T18:12:43.695Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T18:12:43.695Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T18:12:43.965Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T18:12:44.553Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-10T18:12:45.523Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T18:12:48.881Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T18:12:49.474Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T18:12:49.474Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T18:12:49.474Z] OK: 144 MiB in 49 packages [2021-05-10T18:12:50.319Z] Removing intermediate container 1ae45593623d [2021-05-10T18:12:50.319Z] ---> f08a80887eca [2021-05-10T18:12:50.319Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T18:12:50.319Z] 3.12: Pulling from library/alpine [2021-05-10T18:12:50.319Z] 339de151aab4: Pulling fs layer [2021-05-10T18:12:50.319Z] 339de151aab4: Verifying Checksum [2021-05-10T18:12:50.319Z] 339de151aab4: Download complete [2021-05-10T18:12:50.319Z] 339de151aab4: Pull complete [2021-05-10T18:12:50.319Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T18:12:50.319Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T18:12:50.319Z] ---> 13621d1b12d4 [2021-05-10T18:12:50.319Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T18:12:50.319Z] ---> Running in 55da7941b66b [2021-05-10T18:12:50.319Z] Removing intermediate container 55da7941b66b [2021-05-10T18:12:50.319Z] ---> f1f9669848e5 [2021-05-10T18:12:50.319Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-10T18:12:50.319Z] ---> Running in c0db058318d9 [2021-05-10T18:12:50.583Z] Removing intermediate container c0db058318d9 [2021-05-10T18:12:50.583Z] ---> 928af9a274bb [2021-05-10T18:12:50.583Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T18:12:50.583Z] ---> Running in 86e4b8ca08eb [2021-05-10T18:12:50.912Z] Removing intermediate container 48367941f3f0 [2021-05-10T18:12:50.912Z] ---> 0691c0fad11a [2021-05-10T18:12:50.912Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T18:12:51.161Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T18:12:51.161Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T18:12:51.186Z] ---> Running in b6e4e090f6eb [2021-05-10T18:12:51.423Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T18:12:51.423Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T18:12:51.423Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T18:12:51.423Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T18:12:51.424Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T18:12:51.424Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T18:12:51.424Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T18:12:51.424Z] OK: 8 MiB in 20 packages [2021-05-10T18:12:51.798Z] Removing intermediate container b6e4e090f6eb [2021-05-10T18:12:51.798Z] ---> ce3c68d03948 [2021-05-10T18:12:51.798Z] Step 9/10 : COPY . . [2021-05-10T18:12:51.999Z] Removing intermediate container 86e4b8ca08eb [2021-05-10T18:12:51.999Z] ---> d02c27affa38 [2021-05-10T18:12:51.999Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-10T18:12:52.395Z] ---> fa7c653fd112 [2021-05-10T18:12:52.395Z] Step 10/10 : RUN go mod download [2021-05-10T18:12:52.395Z] ---> Running in 4d8f74b1ad70 [2021-05-10T18:12:52.577Z] ---> c2792b14a4e1 [2021-05-10T18:12:52.577Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-10T18:12:52.843Z] ---> 0b5540db7cae [2021-05-10T18:12:52.843Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-10T18:12:53.109Z] ---> 0c4458bcd6d7 [2021-05-10T18:12:53.109Z] Step 19/24 : EXPOSE 49986 [2021-05-10T18:12:53.109Z] ---> Running in 53ab23a6a144 [2021-05-10T18:12:53.371Z] Removing intermediate container 53ab23a6a144 [2021-05-10T18:12:53.371Z] ---> 99c71287ca4c [2021-05-10T18:12:53.371Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-10T18:12:53.371Z] ---> Running in 443668c044c3 [2021-05-10T18:12:53.634Z] Removing intermediate container 443668c044c3 [2021-05-10T18:12:53.634Z] ---> 67393ed4e082 [2021-05-10T18:12:53.634Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T18:12:53.634Z] ---> Running in bb4ae0642f55 [2021-05-10T18:12:53.898Z] Removing intermediate container bb4ae0642f55 [2021-05-10T18:12:53.898Z] ---> 959805668175 [2021-05-10T18:12:53.898Z] Step 22/24 : LABEL arch=amd64 [2021-05-10T18:12:53.898Z] ---> Running in 4b567c585ddd [2021-05-10T18:12:54.164Z] Removing intermediate container 4b567c585ddd [2021-05-10T18:12:54.164Z] ---> 6af0947e3afa [2021-05-10T18:12:54.164Z] Step 23/24 : LABEL git_sha=edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:12:54.164Z] ---> Running in 54daf6e23e3c [2021-05-10T18:12:54.164Z] Removing intermediate container 54daf6e23e3c [2021-05-10T18:12:54.164Z] ---> cdb69706c73c [2021-05-10T18:12:54.164Z] Step 24/24 : LABEL version=0.0.0 [2021-05-10T18:12:54.428Z] ---> Running in f57fdeccdfd0 [2021-05-10T18:12:54.428Z] Removing intermediate container f57fdeccdfd0 [2021-05-10T18:12:54.428Z] ---> 41af081bcd1e [2021-05-10T18:12:54.428Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T18:12:54.428Z] Successfully built 41af081bcd1e [2021-05-10T18:12:54.428Z] 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 [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:12:55.337Z] ---> job-cost.sh [2021-05-10T18:12:55.337Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B8K6 [2021-05-10T18:13:13.519Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T18:13:19.168Z] Removing intermediate container 4d8f74b1ad70 [2021-05-10T18:13:19.168Z] ---> 7e0cc8feef1a [2021-05-10T18:13:19.168Z] Successfully built 7e0cc8feef1a [2021-05-10T18:13:19.168Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:13:19.555Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:13:19.555Z] . [Pipeline] withDockerContainer [2021-05-10T18:13:19.851Z] prd-ubuntu18.04-docker-arm64-4c-16g-4162 does not seem to be running inside a container [2021-05-10T18:13:19.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:13:21.489Z] $ docker top 4e3701ee598e801bff2d8f138bad4c144617dbf4394ed4286d6746a6c84a4504 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:13:22.476Z] + go version [2021-05-10T18:13:22.476Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T18:13:22.548Z] $ docker stop --time=1 4e3701ee598e801bff2d8f138bad4c144617dbf4394ed4286d6746a6c84a4504 [2021-05-10T18:13:24.511Z] $ docker rm -f 4e3701ee598e801bff2d8f138bad4c144617dbf4394ed4286d6746a6c84a4504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:13:25.500Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T18:13:25.501Z] . [Pipeline] withDockerContainer [2021-05-10T18:13:25.773Z] prd-ubuntu18.04-docker-arm64-4c-16g-4162 does not seem to be running inside a container [2021-05-10T18:13:25.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T18:13:27.394Z] $ docker top 6f7b88646e552cb2ca5c3c9328812fc3b8fd30d8b230abdb9f3f32d30079b9c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:13:28.392Z] + go mod tidy [Pipeline] sh [2021-05-10T18:13:29.667Z] + make test [2021-05-10T18:13:29.667Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-10T18:13:30.647Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T18:13:45.734Z] lf-activate-venv(): INFO: Adding /tmp/venv-B8K6/bin to PATH [2021-05-10T18:13:45.734Z] INFO: No Stack... [2021-05-10T18:13:45.734Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:13:45.734Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T18:13:46.086Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-10T18:13:46.087Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T18:13:46.210Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [2021-05-10T18:13:46.216Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] did not exist. Created. [2021-05-10T18:13:46.216Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T18:13:46.648Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T18:13:46.821Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T18:13:46.843Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T18:14:27.231Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T18:14:27.231Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 54.0% of statements [2021-05-10T18:14:27.231Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T18:14:49.464Z] gofmt -l . [2021-05-10T18:14:49.464Z] [ "`gofmt -l .`" = "" ] [2021-05-10T18:14:49.464Z] ./bin/test-go-mod-tidy.sh [2021-05-10T18:14:49.464Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-10T18:14:50.158Z] $ docker stop --time=1 6f7b88646e552cb2ca5c3c9328812fc3b8fd30d8b230abdb9f3f32d30079b9c4 [2021-05-10T18:14:52.188Z] $ docker rm -f 6f7b88646e552cb2ca5c3c9328812fc3b8fd30d8b230abdb9f3f32d30079b9c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T18:14:53.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T18:14:53.080Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T18:14:54.064Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T18:14:54.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T18:14:55.139Z] + ls -al . [2021-05-10T18:14:55.139Z] total 132 [2021-05-10T18:14:55.139Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:14 . [2021-05-10T18:14:55.139Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:11 .. [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 18:11 .dockerignore [2021-05-10T18:14:55.139Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:11 .git [2021-05-10T18:14:55.139Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:11 .github [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 339 May 10 18:11 .gitignore [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 10 18:11 Attribution.txt [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 10 18:11 Dockerfile [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 10 18:11 Dockerfile.build [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 18:11 Jenkinsfile [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 18:11 LICENSE [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 976 May 10 18:11 Makefile [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 10 18:11 README.md [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:08 VERSION [2021-05-10T18:14:55.139Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:11 bin [2021-05-10T18:14:55.139Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:11 cmd [2021-05-10T18:14:55.139Z] -rw-r--r-- 1 jenkins jenkins 8513 May 10 18:14 coverage.out [2021-05-10T18:14:55.139Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:11 driver [2021-05-10T18:14:55.139Z] -rw-r--r-- 1 jenkins jenkins 285 May 10 18:14 go.mod [2021-05-10T18:14:55.139Z] -rw-r--r-- 1 jenkins jenkins 21278 May 10 18:13 go.sum [2021-05-10T18:14:55.139Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:11 snap [2021-05-10T18:14:55.139Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 18:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:14:55.666Z] + 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=edddcdfd471d84ecd06baa82d30b23588d174076 --label arch=arm64 --label version=0.0.0 . [2021-05-10T18:14:55.666Z] Sending build context to Docker daemon 102.9kB [2021-05-10T18:14:55.948Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T18:14:55.949Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T18:14:55.949Z] ---> 7e0cc8feef1a [2021-05-10T18:14:55.949Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T18:14:56.220Z] ---> Running in c8f0bdf52f28 [2021-05-10T18:14:56.810Z] Removing intermediate container c8f0bdf52f28 [2021-05-10T18:14:56.810Z] ---> 8f8152cd0223 [2021-05-10T18:14:56.810Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T18:14:56.810Z] ---> Running in 72ba3cfa8829 [2021-05-10T18:14:57.408Z] Removing intermediate container 72ba3cfa8829 [2021-05-10T18:14:57.408Z] ---> 1d2df8062eb8 [2021-05-10T18:14:57.408Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T18:14:57.408Z] ---> Running in e3379730aa19 [2021-05-10T18:14:57.679Z] Removing intermediate container e3379730aa19 [2021-05-10T18:14:57.679Z] ---> 4005df027050 [2021-05-10T18:14:57.680Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T18:14:57.957Z] ---> Running in 352c81dfcb62 [2021-05-10T18:14:59.937Z] Removing intermediate container 352c81dfcb62 [2021-05-10T18:14:59.937Z] ---> 8b58a21778bd [2021-05-10T18:14:59.937Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T18:14:59.937Z] ---> Running in 339b8af92664 [2021-05-10T18:15:01.373Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T18:15:03.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T18:15:05.411Z] OK: 144 MiB in 49 packages [2021-05-10T18:15:06.384Z] Removing intermediate container 339b8af92664 [2021-05-10T18:15:06.384Z] ---> a83d26c4ddec [2021-05-10T18:15:06.384Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T18:15:06.656Z] ---> Running in 655c8cf12353 [2021-05-10T18:15:07.250Z] Removing intermediate container 655c8cf12353 [2021-05-10T18:15:07.250Z] ---> bea94a9809fa [2021-05-10T18:15:07.250Z] Step 9/24 : COPY . . [2021-05-10T18:15:07.844Z] ---> a0aa9f602211 [2021-05-10T18:15:07.844Z] Step 10/24 : RUN make update [2021-05-10T18:15:08.122Z] ---> Running in 1eb477084f84 [2021-05-10T18:15:09.100Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T18:15:11.072Z] Removing intermediate container 1eb477084f84 [2021-05-10T18:15:11.072Z] ---> 5d630158f24d [2021-05-10T18:15:11.072Z] Step 11/24 : RUN $MAKE [2021-05-10T18:15:11.072Z] ---> Running in 5f4ebd1f1774 [2021-05-10T18:15:12.061Z] 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-10T18:15:51.085Z] Removing intermediate container 5f4ebd1f1774 [2021-05-10T18:15:51.085Z] ---> 1b6883691fb2 [2021-05-10T18:15:51.085Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T18:15:51.085Z] 3.12: Pulling from library/alpine [2021-05-10T18:15:51.085Z] d2f70382dc9a: Pulling fs layer [2021-05-10T18:15:51.085Z] d2f70382dc9a: Verifying Checksum [2021-05-10T18:15:51.085Z] d2f70382dc9a: Pull complete [2021-05-10T18:15:51.085Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T18:15:51.085Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T18:15:51.085Z] ---> 9852663dfa18 [2021-05-10T18:15:51.085Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T18:15:51.085Z] ---> Running in 227292080de8 [2021-05-10T18:15:51.085Z] Removing intermediate container 227292080de8 [2021-05-10T18:15:51.085Z] ---> 12edd498c2de [2021-05-10T18:15:51.085Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-10T18:15:51.085Z] ---> Running in 0a8cc1fd9a1f [2021-05-10T18:15:51.085Z] Removing intermediate container 0a8cc1fd9a1f [2021-05-10T18:15:51.085Z] ---> db61c4df9b4c [2021-05-10T18:15:51.085Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T18:15:51.085Z] ---> Running in e51487dac705 [2021-05-10T18:15:51.677Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T18:15:51.946Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T18:15:52.533Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T18:15:52.533Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T18:15:52.533Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T18:15:52.533Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T18:15:52.533Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T18:15:52.533Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T18:15:52.533Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T18:15:52.533Z] OK: 8 MiB in 20 packages [2021-05-10T18:15:53.955Z] Removing intermediate container e51487dac705 [2021-05-10T18:15:53.955Z] ---> 2831fff81176 [2021-05-10T18:15:53.955Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-10T18:15:54.929Z] ---> 238cc52ad94b [2021-05-10T18:15:54.930Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-10T18:15:55.525Z] ---> dc0e70b83a63 [2021-05-10T18:15:55.525Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-10T18:15:56.123Z] ---> 80d5c187ba7a [2021-05-10T18:15:56.123Z] Step 19/24 : EXPOSE 49986 [2021-05-10T18:15:56.400Z] ---> Running in 693e2e24a23e [2021-05-10T18:15:56.674Z] Removing intermediate container 693e2e24a23e [2021-05-10T18:15:56.674Z] ---> 54c545e75cfd [2021-05-10T18:15:56.674Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-10T18:15:56.946Z] ---> Running in 69bb70867591 [2021-05-10T18:15:57.541Z] Removing intermediate container 69bb70867591 [2021-05-10T18:15:57.541Z] ---> ee106732c3bd [2021-05-10T18:15:57.541Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T18:15:57.541Z] ---> Running in a6ffb6088b51 [2021-05-10T18:15:57.812Z] Removing intermediate container a6ffb6088b51 [2021-05-10T18:15:57.812Z] ---> ae3a28cf2fe6 [2021-05-10T18:15:57.812Z] Step 22/24 : LABEL arch=arm64 [2021-05-10T18:15:58.090Z] ---> Running in 13f2d7d44433 [2021-05-10T18:15:58.363Z] Removing intermediate container 13f2d7d44433 [2021-05-10T18:15:58.363Z] ---> 22e3cf272575 [2021-05-10T18:15:58.363Z] Step 23/24 : LABEL git_sha=edddcdfd471d84ecd06baa82d30b23588d174076 [2021-05-10T18:15:58.639Z] ---> Running in e868d2abccb2 [2021-05-10T18:15:59.233Z] Removing intermediate container e868d2abccb2 [2021-05-10T18:15:59.233Z] ---> ad17b6544489 [2021-05-10T18:15:59.233Z] Step 24/24 : LABEL version=0.0.0 [2021-05-10T18:15:59.233Z] ---> Running in 272322f11280 [2021-05-10T18:15:59.821Z] Removing intermediate container 272322f11280 [2021-05-10T18:15:59.821Z] ---> 774526c2df97 [2021-05-10T18:15:59.821Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T18:15:59.821Z] Successfully built 774526c2df97 [2021-05-10T18:15:59.821Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:16:00.485Z] ---> job-cost.sh [2021-05-10T18:16:00.485Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t4Bk [2021-05-10T18:16:39.434Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T18:18:01.176Z] lf-activate-venv(): INFO: Adding /tmp/venv-t4Bk/bin to PATH [2021-05-10T18:18:01.176Z] INFO: No Stack... [2021-05-10T18:18:01.176Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T18:18:01.176Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T18:18:01.532Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-10T18:18:01.532Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T18:18:01.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [2021-05-10T18:18:01.676Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] did not exist. Created. [2021-05-10T18:18:01.676Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T18:18:02.140Z] /w/workspace/device-rest-go/1@tmp/durable-10875e89/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-10875e89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T18:18:02.522Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T18:18:02.605Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T18:18:02.757Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T18:18:02.777Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-90-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T18:18:03.802Z] provisioning config files... [2021-05-10T18:18:03.819Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/config2653989198310848650tmp [Pipeline] { [Pipeline] sh [2021-05-10T18:18:04.295Z] + set +x [2021-05-10T18:18:04.295Z] + bash -s -- [2021-05-10T18:18:04.295Z] + curl -s https://codecov.io/bash [2021-05-10T18:18:04.587Z] [2021-05-10T18:18:04.587Z] _____ _ [2021-05-10T18:18:04.587Z] / ____| | | [2021-05-10T18:18:04.587Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T18:18:04.587Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T18:18:04.587Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T18:18:04.587Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T18:18:04.587Z] Bash-1.0.2 [2021-05-10T18:18:04.587Z] [2021-05-10T18:18:04.587Z] [2021-05-10T18:18:04.587Z] ==> git version 2.24.3 found [2021-05-10T18:18:04.587Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T18:18:04.587Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T18:18:04.587Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T18:18:04.587Z] ==> Jenkins CI detected. [2021-05-10T18:18:04.587Z] project root: . [2021-05-10T18:18:04.587Z] --> token set from env [2021-05-10T18:18:04.587Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T18:18:04.862Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T18:18:04.862Z] ==> Python coveragepy not found [2021-05-10T18:18:04.862Z] ==> Searching for coverage reports in: [2021-05-10T18:18:04.862Z] + . [2021-05-10T18:18:04.862Z] -> Found 1 reports [2021-05-10T18:18:04.862Z] ==> Detecting git/mercurial file structure [2021-05-10T18:18:04.862Z] ==> Reading reports [2021-05-10T18:18:04.862Z] + ./coverage.out bytes=8513 [2021-05-10T18:18:04.862Z] ==> Appending adjustments [2021-05-10T18:18:04.862Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T18:18:04.862Z] + Found adjustments [2021-05-10T18:18:04.862Z] ==> Gzipping contents [2021-05-10T18:18:04.862Z] 4.0K /tmp/codecov.9LC7sU.gz [2021-05-10T18:18:04.862Z] ==> Uploading reports [2021-05-10T18:18:04.862Z] url: https://codecov.io [2021-05-10T18:18:04.862Z] query: branch=PR-90&commit=edddcdfd471d84ecd06baa82d30b23588d174076&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-90%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=90&job=&cmd_args= [2021-05-10T18:18:04.862Z] -> Pinging Codecov [2021-05-10T18:18:04.862Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-90&commit=edddcdfd471d84ecd06baa82d30b23588d174076&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-90%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=90&job=&cmd_args= [2021-05-10T18:18:05.454Z] -> Uploading to [2021-05-10T18:18:05.454Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/4E5D53B4F1F92C436F7061BF334D961C/edddcdfd471d84ecd06baa82d30b23588d174076/4334701a-2856-47bb-b18b-03326f46e3c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T181805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6922fdafb2702fe50685f02bff2c68ef590a20b22290d410f63b4aa13cd15b33 [2021-05-10T18:18:05.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T18:18:05.763Z] Dload Upload Total Spent Left Speed [2021-05-10T18:18:06.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3288 --:--:-- --:--:-- --:--:-- 3294 [2021-05-10T18:18:06.056Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/edddcdfd471d84ecd06baa82d30b23588d174076 [Pipeline] } [2021-05-10T18:18:06.088Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:08.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:08.841Z] ---> package-listing.sh [2021-05-10T18:18:08.841Z] ++ facter osfamily [2021-05-10T18:18:08.841Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T18:18:08.841Z] + OS_FAMILY=redhat [2021-05-10T18:18:08.841Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-90 [2021-05-10T18:18:08.841Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T18:18:08.841Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T18:18:08.841Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T18:18:08.841Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T18:18:08.841Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-90 ']' [2021-05-10T18:18:08.841Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T18:18:08.841Z] + case "${OS_FAMILY}" in [2021-05-10T18:18:08.841Z] + rpm -qa [2021-05-10T18:18:08.841Z] + sort [2021-05-10T18:18:14.271Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T18:18:14.271Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T18:18:14.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T18:18:14.271Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-90 ']' [2021-05-10T18:18:14.271Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-90/archives/ [2021-05-10T18:18:14.271Z] + 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-10T18:18:14.311Z] 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-10T18:18:14.629Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:18:14.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:18:14.974Z] [2021-05-10T18:18:14.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T18:18:15.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:18:15.344Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T18:18:15.344Z] df20fa9351a1: Pulling fs layer [2021-05-10T18:18:15.344Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T18:18:15.344Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T18:18:15.344Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T18:18:15.344Z] 93b61091891f: Pulling fs layer [2021-05-10T18:18:15.344Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T18:18:15.344Z] 5e14af77c1be: Pulling fs layer [2021-05-10T18:18:15.344Z] 01666e4c0597: Pulling fs layer [2021-05-10T18:18:15.344Z] aa168da1d23b: Pulling fs layer [2021-05-10T18:18:15.344Z] 93b9cdb0e59b: Waiting [2021-05-10T18:18:15.344Z] 01666e4c0597: Waiting [2021-05-10T18:18:15.344Z] aa168da1d23b: Waiting [2021-05-10T18:18:15.344Z] 46f8f816bc3b: Waiting [2021-05-10T18:18:15.344Z] 93b61091891f: Waiting [2021-05-10T18:18:15.344Z] 5e14af77c1be: Waiting [2021-05-10T18:18:15.344Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T18:18:15.344Z] 36b3adc4ff6f: Download complete [2021-05-10T18:18:15.344Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T18:18:15.344Z] 46f8f816bc3b: Download complete [2021-05-10T18:18:15.608Z] 93b61091891f: Verifying Checksum [2021-05-10T18:18:15.608Z] 93b61091891f: Download complete [2021-05-10T18:18:15.608Z] df20fa9351a1: Verifying Checksum [2021-05-10T18:18:15.608Z] df20fa9351a1: Download complete [2021-05-10T18:18:15.608Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T18:18:15.608Z] 93b9cdb0e59b: Download complete [2021-05-10T18:18:15.608Z] 5e14af77c1be: Verifying Checksum [2021-05-10T18:18:15.608Z] 5e14af77c1be: Download complete [2021-05-10T18:18:15.608Z] 01666e4c0597: Verifying Checksum [2021-05-10T18:18:15.608Z] 01666e4c0597: Download complete [2021-05-10T18:18:15.872Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T18:18:15.872Z] 8ad3a11d3b57: Download complete [2021-05-10T18:18:16.137Z] df20fa9351a1: Pull complete [2021-05-10T18:18:16.409Z] 36b3adc4ff6f: Pull complete [2021-05-10T18:18:17.819Z] 8ad3a11d3b57: Pull complete [2021-05-10T18:18:18.087Z] 46f8f816bc3b: Pull complete [2021-05-10T18:18:18.362Z] 93b61091891f: Pull complete [2021-05-10T18:18:18.625Z] aa168da1d23b: Verifying Checksum [2021-05-10T18:18:18.625Z] aa168da1d23b: Download complete [2021-05-10T18:18:18.625Z] 93b9cdb0e59b: Pull complete [2021-05-10T18:18:18.625Z] 5e14af77c1be: Pull complete [2021-05-10T18:18:18.890Z] 01666e4c0597: Pull complete [2021-05-10T18:18:27.105Z] aa168da1d23b: Pull complete [2021-05-10T18:18:27.105Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T18:18:27.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T18:18:27.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T18:18:27.394Z] prd-centos7-docker-4c-2g-4156 does not seem to be running inside a container [2021-05-10T18:18:27.457Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T18:18:30.544Z] $ docker top b254fc70d4469df7638c60d777d7e6f0f1c3958ca6a0c7a7721f95f390d72cbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T18:18:31.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T18:18:31.482Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T18:18:31.837Z] + ls /var/log/sa-host [2021-05-10T18:18:31.837Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T18:18:31.837Z] file_magic: OK [2021-05-10T18:18:31.837Z] HZ: Using current value: 100 [2021-05-10T18:18:31.837Z] file_header: OK [2021-05-10T18:18:31.837Z] 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-10T18:18:31.837Z] Statistics: [2021-05-10T18:18:31.837Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T18:18:31.837Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T18:18:31.838Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T18:18:31.838Z] file_magic: OK [2021-05-10T18:18:31.838Z] HZ: Using current value: 100 [2021-05-10T18:18:31.838Z] file_header: OK [2021-05-10T18:18:31.838Z] 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-10T18:18:31.838Z] Statistics: [2021-05-10T18:18:31.838Z] Hnuu...uuuununununu... [2021-05-10T18:18:31.838Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T18:18:32.089Z] provisioning config files... [2021-05-10T18:18:32.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-90@tmp/config2020099976714978192tmp [Pipeline] { [Pipeline] echo [2021-05-10T18:18:32.168Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:32.541Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T18:18:32.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T18:18:32.690Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:33.087Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T18:18:33.122Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:33.472Z] ---> sudo-logs.sh [2021-05-10T18:18:33.472Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T18:18:33.556Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:33.916Z] ---> job-cost.sh [2021-05-10T18:18:33.916Z] lf-activate-venv: SKIPPING [2021-05-10T18:18:33.916Z] DEBUG: total: 0.20999999344348907 [2021-05-10T18:18:33.916Z] INFO: Retrieving Stack Cost... [2021-05-10T18:18:34.497Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T18:18:35.452Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T18:18:35.494Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T18:18:35.843Z] ---> logs-deploy.sh [2021-05-10T18:18:35.844Z] lf-activate-venv: SKIPPING [2021-05-10T18:18:35.844Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-90/1 [2021-05-10T18:18:35.844Z] INFO: archiving workspace using pattern(s): [2021-05-10T18:18:37.810Z] Archives upload complete. [2021-05-10T18:18:38.075Z] INFO: archiving logs to Nexus