Pull request #86 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 ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2c710f7aa807307f044c90bd1baa7df576992675+b2078d70396c9de247bd59d3b559c7f9e74995c9 (292392a8ba20ae3b14d427319260d89649848509) 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-86/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-86/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-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3360’ is offline Running on prd-centos7-docker-4c-2g-3366 in /w/workspace/dgexfoundry_device-rest-go_PR-86 [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-86 # 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 > 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/86/head:refs/remotes/origin/PR-86 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 2c710f7aa807307f044c90bd1baa7df576992675 Merge succeeded, producing 2c710f7aa807307f044c90bd1baa7df576992675 Checking out Revision 2c710f7aa807307f044c90bd1baa7df576992675 (PR-86) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 Commit message: "ci: update local docker image names" 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-06T22:50:35.620Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:50:35.858Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:50:35.992Z] ========================================================= [2021-05-06T22:50:35.992Z] EdgeX Global Pipelines Version Info [2021-05-06T22:50:35.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:38.625Z] ------------------- [2021-05-06T22:50:38.625Z] stable info: [2021-05-06T22:50:38.625Z] ------------------- [2021-05-06T22:50:38.625Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:50:38.625Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:50:38.625Z] Message: update stable to v1.0.191 [2021-05-06T22:50:39.613Z] ------------------- [2021-05-06T22:50:39.613Z] experimental info: [2021-05-06T22:50:39.613Z] ------------------- [2021-05-06T22:50:39.613Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:50:39.613Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:50:39.613Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:50:40.143Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-06T22:50:40.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-06T22:50:40.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:50:40.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:50:40.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:50:40.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:50:40.673Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:50:40.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:50:40.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T22:50:40.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:50:41.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:50:41.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-06T22:50:41.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:50:41.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:50:41.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:50:41.444Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:50:41.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:50:41.580Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:50:41.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:50:41.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:50:41.944Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T22:50:42.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T22:50:42.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:50:42.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:50:42.239Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:50:42.345Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:50:42.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-86 [Pipeline] echo [2021-05-06T22:50:42.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-86 [Pipeline] echo [2021-05-06T22:50:42.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-86 [Pipeline] echo [2021-05-06T22:50:42.666Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c710f7aa807307f044c90bd1baa7df576992675 [Pipeline] echo [2021-05-06T22:50:42.734Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c710f7 [Pipeline] echo [2021-05-06T22:50:42.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:50:43.049Z] provisioning config files... [2021-05-06T22:50:43.093Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/config1143015759053141430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:43.604Z] ---> docker-login.sh [2021-05-06T22:50:43.604Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:50:44.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:44.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:44.215Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:44.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:44.215Z] [2021-05-06T22:50:44.215Z] Login Succeeded [2021-05-06T22:50:44.215Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:50:45.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:45.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:45.326Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:45.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:45.326Z] [2021-05-06T22:50:45.326Z] Login Succeeded [2021-05-06T22:50:45.326Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:50:45.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:45.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:45.979Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:45.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:45.979Z] [2021-05-06T22:50:45.979Z] Login Succeeded [2021-05-06T22:50:45.979Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:50:46.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:46.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:46.295Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:46.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:46.295Z] [2021-05-06T22:50:46.295Z] Login Succeeded [2021-05-06T22:50:46.295Z] docker.io [2021-05-06T22:50:46.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:50:46.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:50:46.888Z] Configure a credential helper to remove this warning. See [2021-05-06T22:50:46.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:50:46.888Z] [2021-05-06T22:50:46.888Z] Login Succeeded [2021-05-06T22:50:46.888Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:50:46.916Z] 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-06T22:50:47.933Z] + git log --format=format:%s -1 2c710f7aa807307f044c90bd1baa7df576992675 [Pipeline] echo [2021-05-06T22:50:48.197Z] GIT_COMMIT: 2c710f7aa807307f044c90bd1baa7df576992675, Commit Message: ci: update local docker image names [Pipeline] echo [2021-05-06T22:50:48.236Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:48.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:49.251Z] [2021-05-06T22:50:49.251Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:49.692Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:49.973Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:50:49.973Z] 31603596830f: Pulling fs layer [2021-05-06T22:50:49.973Z] 54011a49482f: Pulling fs layer [2021-05-06T22:50:49.973Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:50:49.973Z] f581987b2513: Pulling fs layer [2021-05-06T22:50:49.973Z] f581987b2513: Waiting [2021-05-06T22:50:49.973Z] 54011a49482f: Verifying Checksum [2021-05-06T22:50:49.973Z] 54011a49482f: Download complete [2021-05-06T22:50:49.973Z] 31603596830f: Verifying Checksum [2021-05-06T22:50:49.973Z] 31603596830f: Download complete [2021-05-06T22:50:50.283Z] f581987b2513: Verifying Checksum [2021-05-06T22:50:50.283Z] f581987b2513: Download complete [2021-05-06T22:50:50.561Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:50:50.561Z] a6820b24f6d8: Download complete [2021-05-06T22:50:50.561Z] 31603596830f: Pull complete [2021-05-06T22:50:51.197Z] 54011a49482f: Pull complete [2021-05-06T22:50:53.325Z] a6820b24f6d8: Pull complete [2021-05-06T22:50:53.325Z] f581987b2513: Pull complete [2021-05-06T22:50:53.601Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:50:53.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:50:53.601Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:50:53.922Z] prd-centos7-docker-4c-2g-3366 does not seem to be running inside a container [2021-05-06T22:50:54.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-86 -v /w/workspace/dgexfoundry_device-rest-go_PR-86:/w/workspace/dgexfoundry_device-rest-go_PR-86:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-86@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-86@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-06T22:50:57.021Z] $ docker top 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:50:57.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:50:57.616Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:50:58.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:50:58.754Z] $ docker exec 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd ssh-agent [2021-05-06T22:50:59.322Z] SSH_AUTH_SOCK=/tmp/ssh-J1w2d0wAU29b/agent.11 [2021-05-06T22:50:59.322Z] SSH_AGENT_PID=17 [2021-05-06T22:50:59.353Z] Running ssh-add (command line suppressed) [2021-05-06T22:50:59.680Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/private_key_3495416547799612597.key (/w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/private_key_3495416547799612597.key) [2021-05-06T22:50:59.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:51:00.254Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:51:00.299Z] $ docker exec --env ******** --env ******** 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd ssh-agent -k [2021-05-06T22:51:00.477Z] unset SSH_AUTH_SOCK; [2021-05-06T22:51:00.477Z] unset SSH_AGENT_PID; [2021-05-06T22:51:00.478Z] echo Agent pid 17 killed; [2021-05-06T22:51:00.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:51:00.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:51:00.703Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:51:00.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:51:01.002Z] $ docker exec 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd ssh-agent [2021-05-06T22:51:01.416Z] SSH_AUTH_SOCK=/tmp/ssh-7FWQ9Wl98Vtr/agent.46 [2021-05-06T22:51:01.416Z] SSH_AGENT_PID=51 [2021-05-06T22:51:01.437Z] Running ssh-add (command line suppressed) [2021-05-06T22:51:01.686Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/private_key_303645202745204844.key (/w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/private_key_303645202745204844.key) [2021-05-06T22:51:01.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:51:02.643Z] + git semver init [2021-05-06T22:51:02.643Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:51:02.643Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-86/.git [2021-05-06T22:51:02.643Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-86 [2021-05-06T22:51:02.643Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:51:02.643Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:51:02.643Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:51:02.643Z] # $SEMVER_BRANCH = PR-86 [2021-05-06T22:51:02.643Z] # $SEMVER_TEMP = /tmp/semver-209399675 [2021-05-06T22:51:02.643Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-06T22:51:06.171Z] # '/tmp/semver-209399675' -> '/w/workspace/dgexfoundry_device-rest-go_PR-86/.semver' [2021-05-06T22:51:06.171Z] # -> Force: false [2021-05-06T22:51:06.171Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-86/.semver [Pipeline] } [2021-05-06T22:51:06.209Z] $ docker exec --env ******** --env ******** 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd ssh-agent -k [2021-05-06T22:51:06.480Z] unset SSH_AUTH_SOCK; [2021-05-06T22:51:06.482Z] unset SSH_AGENT_PID; [2021-05-06T22:51:06.482Z] echo Agent pid 51 killed; [2021-05-06T22:51:06.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:51:07.429Z] + git semver [Pipeline] } [2021-05-06T22:51:07.476Z] $ docker stop --time=1 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd [2021-05-06T22:51:09.205Z] $ docker rm -f 6db8cb3be95aaa441902799eb8b689e4315bcb77af1820c0006ccf7809dc6bdd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:51:09.959Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:51:10.880Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:51:10.904Z] [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-06T22:51:26.411Z] Still waiting to schedule task [2021-05-06T22:51:26.411Z] ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3349’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3375’ is offline; ‘prd-centos7-docker-4c-2g-3376’ is offline [2021-05-06T22:51:26.436Z] Still waiting to schedule task [2021-05-06T22:51:26.436Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-06T22:58:18.044Z] Running on prd-centos7-docker-4c-2g-3392 in /w/workspace/dgexfoundry_device-rest-go_PR-86 [Pipeline] { [Pipeline] ws [2021-05-06T22:58:18.161Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:58:21.117Z] using credential edgex-jenkins-ssh [2021-05-06T22:58:21.133Z] Cloning the remote Git repository [2021-05-06T22:58:21.161Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:58:21.229Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-06T22:58:21.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:58:21.309Z] > git --version # timeout=10 [2021-05-06T22:58:21.315Z] > git --version # 'git version 2.24.3' [2021-05-06T22:58:21.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:58:21.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:58:23.729Z] Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T22:58:23.821Z] Merge succeeded, producing 2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T22:58:23.822Z] Checking out Revision 2c710f7aa807307f044c90bd1baa7df576992675 (PR-86) [2021-05-06T22:58:23.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-06T22:58:23.311Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:58:23.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-06T22:58:23.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:58:23.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:58:23.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/86/head:refs/remotes/origin/PR-86 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:58:23.739Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:58:23.751Z] > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 [2021-05-06T22:58:23.785Z] > git remote # timeout=10 [2021-05-06T22:58:23.791Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:58:23.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:58:23.801Z] > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-05-06T22:58:23.815Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:58:23.826Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:58:23.834Z] > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 [2021-05-06T22:58:27.605Z] Commit message: "ci: update local docker image names" [2021-05-06T22:58:27.636Z] > git --version # timeout=10 [2021-05-06T22:58:27.641Z] > git --version # 'git version 2.24.3' [2021-05-06T22:58:27.652Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:58:29.224Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:58:29.594Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:58:29.922Z] + sudo service docker restart [2021-05-06T22:58:29.922Z] + true [2021-05-06T22:58:29.922Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:58:30.980Z] provisioning config files... [2021-05-06T22:58:31.021Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config794515686164440260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:58:31.440Z] ---> docker-login.sh [2021-05-06T22:58:31.440Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:58:31.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:58:32.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:58:32.026Z] Configure a credential helper to remove this warning. See [2021-05-06T22:58:32.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:58:32.026Z] [2021-05-06T22:58:32.026Z] Login Succeeded [2021-05-06T22:58:32.026Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:58:32.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:58:32.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:58:32.293Z] Configure a credential helper to remove this warning. See [2021-05-06T22:58:32.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:58:32.293Z] [2021-05-06T22:58:32.293Z] Login Succeeded [2021-05-06T22:58:32.293Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:58:32.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:58:32.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:58:32.559Z] Configure a credential helper to remove this warning. See [2021-05-06T22:58:32.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:58:32.559Z] [2021-05-06T22:58:32.559Z] Login Succeeded [2021-05-06T22:58:32.559Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:58:32.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:58:32.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:58:32.826Z] Configure a credential helper to remove this warning. See [2021-05-06T22:58:32.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:58:32.826Z] [2021-05-06T22:58:32.826Z] Login Succeeded [2021-05-06T22:58:32.826Z] docker.io [2021-05-06T22:58:32.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:58:33.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:58:33.406Z] Configure a credential helper to remove this warning. See [2021-05-06T22:58:33.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:58:33.406Z] [2021-05-06T22:58:33.406Z] Login Succeeded [2021-05-06T22:58:33.406Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:58:33.432Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:58:33.814Z] ========================================================= [2021-05-06T22:58:33.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:58:33.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:58:34.177Z] + 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-06T22:58:34.177Z] Sending build context to Docker daemon 93.18kB [2021-05-06T22:58:34.177Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:58:34.177Z] Step 2/10 : FROM ${BASE} [2021-05-06T22:58:34.177Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:58:34.177Z] 540db60ca938: Pulling fs layer [2021-05-06T22:58:34.177Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:58:34.177Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:58:34.177Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:58:34.177Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:58:34.177Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:58:34.177Z] f706445af74f: Pulling fs layer [2021-05-06T22:58:34.177Z] afea3b2eda06: Waiting [2021-05-06T22:58:34.177Z] 7809a108b3ef: Waiting [2021-05-06T22:58:34.177Z] f706445af74f: Waiting [2021-05-06T22:58:34.177Z] 0510c868ecb4: Waiting [2021-05-06T22:58:34.441Z] 4c4ab2625f07: Download complete [2021-05-06T22:58:34.441Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:58:34.441Z] adcc1eea9eea: Download complete [2021-05-06T22:58:34.441Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:58:34.441Z] afea3b2eda06: Download complete [2021-05-06T22:58:34.441Z] 7809a108b3ef: Download complete [2021-05-06T22:58:34.705Z] 540db60ca938: Verifying Checksum [2021-05-06T22:58:34.705Z] 540db60ca938: Download complete [2021-05-06T22:58:34.971Z] 540db60ca938: Pull complete [2021-05-06T22:58:35.239Z] adcc1eea9eea: Pull complete [2021-05-06T22:58:35.239Z] 4c4ab2625f07: Pull complete [2021-05-06T22:58:37.860Z] f706445af74f: Verifying Checksum [2021-05-06T22:58:37.860Z] f706445af74f: Download complete [2021-05-06T22:58:39.284Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:58:39.284Z] 0510c868ecb4: Download complete [2021-05-06T22:58:46.017Z] 0510c868ecb4: Pull complete [2021-05-06T22:58:46.017Z] afea3b2eda06: Pull complete [2021-05-06T22:58:46.017Z] 7809a108b3ef: Pull complete [2021-05-06T22:58:52.735Z] f706445af74f: Pull complete [2021-05-06T22:58:52.735Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:58:52.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:58:52.735Z] ---> b068be0155e3 [2021-05-06T22:58:52.735Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T22:58:52.735Z] ---> Running in 80e0050611fc [2021-05-06T22:58:52.735Z] Removing intermediate container 80e0050611fc [2021-05-06T22:58:52.735Z] ---> ba518f0e88f3 [2021-05-06T22:58:52.735Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T22:58:52.735Z] ---> Running in b09a94c7205f [2021-05-06T22:58:52.735Z] Removing intermediate container b09a94c7205f [2021-05-06T22:58:52.735Z] ---> 6e443f6d4ffe [2021-05-06T22:58:52.735Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T22:58:53.001Z] ---> Running in 45401beacd2d [2021-05-06T22:58:53.001Z] Removing intermediate container 45401beacd2d [2021-05-06T22:58:53.001Z] ---> 808b857b2574 [2021-05-06T22:58:53.001Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:58:53.268Z] ---> Running in a25a595ce237 [2021-05-06T22:58:54.693Z] Removing intermediate container a25a595ce237 [2021-05-06T22:58:54.693Z] ---> de4d3eae6a28 [2021-05-06T22:58:54.693Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T22:58:54.693Z] ---> Running in f8391ddd44b6 [2021-05-06T22:58:55.271Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:58:58.599Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:59:01.951Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-06T22:59:02.219Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-06T22:59:02.810Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-06T22:59:02.810Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:59:03.073Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T22:59:03.652Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-06T22:59:03.652Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-06T22:59:06.240Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-06T22:59:06.516Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:59:06.516Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:59:06.516Z] OK: 154 MiB in 49 packages [2021-05-06T22:59:07.474Z] Removing intermediate container f8391ddd44b6 [2021-05-06T22:59:07.474Z] ---> 0e2928484d24 [2021-05-06T22:59:07.474Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-06T22:59:07.474Z] ---> Running in dafe70c0498f [2021-05-06T22:59:07.474Z] Removing intermediate container dafe70c0498f [2021-05-06T22:59:07.474Z] ---> 27c53a374ad9 [2021-05-06T22:59:07.474Z] Step 9/10 : COPY . . [2021-05-06T22:59:07.759Z] ---> a82d24fa8243 [2021-05-06T22:59:07.759Z] Step 10/10 : RUN go mod download [2021-05-06T22:59:07.759Z] ---> Running in 7945e1dc3727 [2021-05-06T22:59:19.564Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3383 in /w/workspace/dgexfoundry_device-rest-go_PR-86 [Pipeline] { [Pipeline] ws [2021-05-06T22:59:19.643Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-06T22:59:26.898Z] using credential edgex-jenkins-ssh [2021-05-06T22:59:26.936Z] Cloning the remote Git repository [2021-05-06T22:59:27.244Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:59:27.511Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-06T22:59:27.635Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:59:27.636Z] > git --version # timeout=10 [2021-05-06T22:59:27.668Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:27.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:27.745Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:34.501Z] Removing intermediate container 7945e1dc3727 [2021-05-06T22:59:34.501Z] ---> 4b5912f255c9 [2021-05-06T22:59:34.501Z] Successfully built 4b5912f255c9 [2021-05-06T22:59:34.501Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:59:34.881Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:59:34.881Z] . [Pipeline] withDockerContainer [2021-05-06T22:59:34.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-06T22:59:34.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:59:34.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-06T22:59:34.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-06T22:59:34.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:34.859Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/86/head:refs/remotes/origin/PR-86 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:59:35.049Z] prd-centos7-docker-4c-2g-3392 does not seem to be running inside a container [2021-05-06T22:59:35.104Z] $ 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-06T22:59:35.405Z] Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T22:59:35.608Z] Merge succeeded, producing 2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T22:59:35.608Z] Checking out Revision 2c710f7aa807307f044c90bd1baa7df576992675 (PR-86) [2021-05-06T22:59:35.872Z] $ docker top 305e90ab376e8bfda737e3b1d495e4916c2bda942fba8c6f39f9a5262aa15eda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:59:36.390Z] + go version [2021-05-06T22:59:36.390Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:59:36.419Z] $ docker stop --time=1 305e90ab376e8bfda737e3b1d495e4916c2bda942fba8c6f39f9a5262aa15eda [2021-05-06T22:59:35.428Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:35.442Z] > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 [2021-05-06T22:59:35.521Z] > git remote # timeout=10 [2021-05-06T22:59:35.544Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:59:35.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:59:35.568Z] > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-05-06T22:59:35.591Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:59:35.618Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:59:35.635Z] > git checkout -f 2c710f7aa807307f044c90bd1baa7df576992675 # timeout=10 [2021-05-06T22:59:37.818Z] $ docker rm -f 305e90ab376e8bfda737e3b1d495e4916c2bda942fba8c6f39f9a5262aa15eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:59:38.609Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:59:38.609Z] . [Pipeline] withDockerContainer [2021-05-06T22:59:38.736Z] prd-centos7-docker-4c-2g-3392 does not seem to be running inside a container [2021-05-06T22:59:38.802Z] $ 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-06T22:59:39.647Z] $ docker top cf97d6d614ef6f06d4155befdf54c37a546de1e96090e5c56701edd5b4044a55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:59:39.968Z] Commit message: "ci: update local docker image names" [2021-05-06T22:59:40.033Z] > git --version # timeout=10 [2021-05-06T22:59:40.044Z] > git --version # 'git version 2.17.1' [2021-05-06T22:59:40.059Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:59:40.220Z] + go mod tidy [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-06T22:59:41.703Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:41.828Z] + make test [2021-05-06T22:59:41.828Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-06T22:59:42.145Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:59:42.557Z] + sudo service docker restart [2021-05-06T22:59:42.557Z] + true [2021-05-06T22:59:43.003Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:59:44.634Z] provisioning config files... [2021-05-06T22:59:44.678Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6533925180727504587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:59:45.123Z] ---> docker-login.sh [2021-05-06T22:59:45.123Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:59:46.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:46.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:46.393Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:46.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:46.393Z] [2021-05-06T22:59:46.393Z] Login Succeeded [2021-05-06T22:59:46.393Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:59:46.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:46.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:46.950Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:46.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:46.950Z] [2021-05-06T22:59:46.950Z] Login Succeeded [2021-05-06T22:59:46.950Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:59:47.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:47.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:47.498Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:47.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:47.499Z] [2021-05-06T22:59:47.499Z] Login Succeeded [2021-05-06T22:59:47.499Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:59:47.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:48.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:48.045Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:48.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:48.045Z] [2021-05-06T22:59:48.045Z] Login Succeeded [2021-05-06T22:59:48.045Z] docker.io [2021-05-06T22:59:48.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:59:48.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:59:48.921Z] Configure a credential helper to remove this warning. See [2021-05-06T22:59:48.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:59:48.921Z] [2021-05-06T22:59:48.921Z] Login Succeeded [2021-05-06T22:59:48.921Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:59:48.952Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:59:49.420Z] ========================================================= [2021-05-06T22:59:49.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:59:49.420Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:59:49.805Z] + 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-06T22:59:49.805Z] Sending build context to Docker daemon 93.18kB [2021-05-06T22:59:50.080Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:59:50.080Z] Step 2/10 : FROM ${BASE} [2021-05-06T22:59:50.353Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:59:50.353Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:59:50.353Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:59:50.353Z] 316046926c0a: Pulling fs layer [2021-05-06T22:59:50.353Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:59:50.353Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:59:50.353Z] c791037a9be2: Pulling fs layer [2021-05-06T22:59:50.353Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:59:50.353Z] 207e8628e3a3: Waiting [2021-05-06T22:59:50.353Z] c791037a9be2: Waiting [2021-05-06T22:59:50.353Z] ffd874e62e21: Waiting [2021-05-06T22:59:50.353Z] 4ebd0625c992: Waiting [2021-05-06T22:59:50.353Z] 316046926c0a: Verifying Checksum [2021-05-06T22:59:50.353Z] 316046926c0a: Download complete [2021-05-06T22:59:50.353Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:59:50.353Z] 7186ed65a4f7: Download complete [2021-05-06T22:59:50.353Z] 207e8628e3a3: Download complete [2021-05-06T22:59:50.353Z] c791037a9be2: Verifying Checksum [2021-05-06T22:59:50.353Z] c791037a9be2: Download complete [2021-05-06T22:59:50.353Z] 595b0fe564bb: Download complete [2021-05-06T22:59:51.348Z] 595b0fe564bb: Pull complete [2021-05-06T22:59:51.960Z] 7186ed65a4f7: Pull complete [2021-05-06T22:59:52.236Z] 316046926c0a: Pull complete [2021-05-06T22:59:52.236Z] ffd874e62e21: Verifying Checksum [2021-05-06T22:59:52.236Z] ffd874e62e21: Download complete [2021-05-06T22:59:53.726Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:59:53.726Z] 4ebd0625c992: Download complete [2021-05-06T23:00:03.948Z] 4ebd0625c992: Pull complete [2021-05-06T23:00:04.226Z] 207e8628e3a3: Pull complete [2021-05-06T23:00:04.499Z] c791037a9be2: Pull complete [2021-05-06T23:00:08.828Z] ffd874e62e21: Pull complete [2021-05-06T23:00:08.828Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T23:00:08.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T23:00:08.828Z] ---> cfc18b08335c [2021-05-06T23:00:08.828Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T23:00:10.031Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-06T23:00:10.031Z] ok github.com/edgexfoundry/device-rest-go/driver 0.023s coverage: 54.0% of statements [2021-05-06T23:00:10.031Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T23:00:11.443Z] ---> Running in a18cbb13a08f [2021-05-06T23:00:11.443Z] Removing intermediate container a18cbb13a08f [2021-05-06T23:00:11.443Z] ---> b674dbdc365e [2021-05-06T23:00:11.443Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:00:11.443Z] ---> Running in bdeccd42f362 [2021-05-06T23:00:12.048Z] Removing intermediate container bdeccd42f362 [2021-05-06T23:00:12.048Z] ---> 45c117e90b3e [2021-05-06T23:00:12.048Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T23:00:12.048Z] ---> Running in 8761266fdab9 [2021-05-06T23:00:12.651Z] Removing intermediate container 8761266fdab9 [2021-05-06T23:00:12.651Z] ---> f543b1472e67 [2021-05-06T23:00:12.651Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:00:12.651Z] ---> Running in d27fb9f39557 [2021-05-06T23:00:14.654Z] Removing intermediate container d27fb9f39557 [2021-05-06T23:00:14.654Z] ---> 727dccb312f3 [2021-05-06T23:00:14.654Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:00:14.932Z] ---> Running in 37469c46cf6b [2021-05-06T23:00:15.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:16.900Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:00:17.875Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-06T23:00:17.875Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-06T23:00:17.875Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-06T23:00:17.875Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-06T23:00:18.146Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-06T23:00:18.146Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-06T23:00:18.146Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-06T23:00:18.737Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-06T23:00:18.737Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-06T23:00:18.737Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T23:00:18.737Z] OK: 144 MiB in 49 packages [2021-05-06T23:00:20.171Z] Removing intermediate container 37469c46cf6b [2021-05-06T23:00:20.171Z] ---> 9a82726a050f [2021-05-06T23:00:20.171Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-06T23:00:20.355Z] gofmt -l . [2021-05-06T23:00:20.355Z] [ "`gofmt -l .`" = "" ] [2021-05-06T23:00:20.355Z] ./bin/test-go-mod-tidy.sh [2021-05-06T23:00:20.355Z] ./bin/test-attribution-txt.sh [2021-05-06T23:00:20.444Z] ---> Running in ff44771bf40c [2021-05-06T23:00:20.725Z] Removing intermediate container ff44771bf40c [2021-05-06T23:00:20.725Z] ---> a543215a9230 [2021-05-06T23:00:20.725Z] Step 9/10 : COPY . . [Pipeline] } [2021-05-06T23:00:21.370Z] $ docker stop --time=1 cf97d6d614ef6f06d4155befdf54c37a546de1e96090e5c56701edd5b4044a55 [2021-05-06T23:00:21.702Z] ---> 2a34aa6e3350 [2021-05-06T23:00:21.702Z] Step 10/10 : RUN go mod download [2021-05-06T23:00:21.702Z] ---> Running in 9854dec58211 [2021-05-06T23:00:23.305Z] $ docker rm -f cf97d6d614ef6f06d4155befdf54c37a546de1e96090e5c56701edd5b4044a55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T23:00:24.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T23:00:24.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T23:00:25.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T23:00:26.142Z] + ls -al . [2021-05-06T23:00:26.142Z] total 104 [2021-05-06T23:00:26.142Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 6 23:00 . [2021-05-06T23:00:26.142Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:58 .. [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 6 22:58 Attribution.txt [2021-05-06T23:00:26.142Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:58 bin [2021-05-06T23:00:26.142Z] drwxrwxr-x. 3 jenkins jenkins 32 May 6 22:58 cmd [2021-05-06T23:00:26.142Z] -rw-r--r--. 1 jenkins jenkins 8513 May 6 23:00 coverage.out [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 6 22:58 Dockerfile [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 6 22:58 Dockerfile.build [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 151 May 6 22:58 .dockerignore [2021-05-06T23:00:26.142Z] drwxrwxr-x. 2 jenkins jenkins 76 May 6 22:58 driver [2021-05-06T23:00:26.142Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:58 .git [2021-05-06T23:00:26.142Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:58 .github [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 339 May 6 22:58 .gitignore [2021-05-06T23:00:26.142Z] -rw-r--r--. 1 jenkins jenkins 285 May 6 23:00 go.mod [2021-05-06T23:00:26.142Z] -rw-r--r--. 1 jenkins jenkins 21331 May 6 22:59 go.sum [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 680 May 6 22:58 Jenkinsfile [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 6 22:58 LICENSE [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 976 May 6 22:58 Makefile [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 6 22:58 README.md [2021-05-06T23:00:26.142Z] drwxrwxr-x. 4 jenkins jenkins 71 May 6 22:58 snap [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:51 VERSION [2021-05-06T23:00:26.142Z] -rw-rw-r--. 1 jenkins jenkins 713 May 6 22:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:26.512Z] + 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=2c710f7aa807307f044c90bd1baa7df576992675 --label arch=amd64 --label version=0.0.0 . [2021-05-06T23:00:26.512Z] Sending build context to Docker daemon 102.9kB [2021-05-06T23:00:26.781Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T23:00:26.781Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-06T23:00:26.781Z] ---> 4b5912f255c9 [2021-05-06T23:00:26.781Z] Step 3/24 : ARG MAKE='make build' [2021-05-06T23:00:26.781Z] ---> Running in 4b54448ff927 [2021-05-06T23:00:27.048Z] Removing intermediate container 4b54448ff927 [2021-05-06T23:00:27.048Z] ---> a15889776967 [2021-05-06T23:00:27.048Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T23:00:27.048Z] ---> Running in 95f2fd5a1fc2 [2021-05-06T23:00:27.317Z] Removing intermediate container 95f2fd5a1fc2 [2021-05-06T23:00:27.317Z] ---> b83184de7821 [2021-05-06T23:00:27.317Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:00:27.317Z] ---> Running in 621893277f3d [2021-05-06T23:00:27.589Z] Removing intermediate container 621893277f3d [2021-05-06T23:00:27.589Z] ---> d8f6278f1d0c [2021-05-06T23:00:27.589Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:00:27.589Z] ---> Running in 9c931a338a98 [2021-05-06T23:00:28.559Z] Removing intermediate container 9c931a338a98 [2021-05-06T23:00:28.559Z] ---> 9422ee1500ab [2021-05-06T23:00:28.559Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:00:28.828Z] ---> Running in 7872fd78a19b [2021-05-06T23:00:29.420Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T23:00:30.392Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T23:00:31.011Z] OK: 154 MiB in 49 packages [2021-05-06T23:00:31.614Z] Removing intermediate container 7872fd78a19b [2021-05-06T23:00:31.614Z] ---> ed638349ae17 [2021-05-06T23:00:31.614Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-06T23:00:31.614Z] ---> Running in 4e8f6834eeb9 [2021-05-06T23:00:31.614Z] Removing intermediate container 4e8f6834eeb9 [2021-05-06T23:00:31.614Z] ---> 5c9bcf2fb009 [2021-05-06T23:00:31.614Z] Step 9/24 : COPY . . [2021-05-06T23:00:32.215Z] ---> abf59459ac03 [2021-05-06T23:00:32.215Z] Step 10/24 : RUN make update [2021-05-06T23:00:32.215Z] ---> Running in f065395172ad [2021-05-06T23:00:32.804Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-06T23:00:33.410Z] Removing intermediate container f065395172ad [2021-05-06T23:00:33.410Z] ---> caf45bde7263 [2021-05-06T23:00:33.410Z] Step 11/24 : RUN $MAKE [2021-05-06T23:00:33.682Z] ---> Running in 30ba09f4b9fd [2021-05-06T23:00:34.269Z] 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-06T23:00:48.520Z] Removing intermediate container 9854dec58211 [2021-05-06T23:00:48.520Z] ---> 57415140c981 [2021-05-06T23:00:48.520Z] Successfully built 57415140c981 [2021-05-06T23:00:48.520Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:48.922Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:48.922Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:49.258Z] prd-ubuntu18.04-docker-arm64-4c-16g-3383 does not seem to be running inside a container [2021-05-06T23:00:49.385Z] $ 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-arm64 cat [2021-05-06T23:00:50.963Z] $ docker top 004b97e995806c38aec59098bd783e45d677c28102bb9eef6fabd0b205b3acf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:00:51.954Z] + go version [2021-05-06T23:00:51.954Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T23:00:52.007Z] $ docker stop --time=1 004b97e995806c38aec59098bd783e45d677c28102bb9eef6fabd0b205b3acf5 [2021-05-06T23:00:53.973Z] $ docker rm -f 004b97e995806c38aec59098bd783e45d677c28102bb9eef6fabd0b205b3acf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:00:54.942Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T23:00:54.942Z] . [Pipeline] withDockerContainer [2021-05-06T23:00:55.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-3383 does not seem to be running inside a container [2021-05-06T23:00:55.319Z] $ 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-arm64 cat [2021-05-06T23:00:56.808Z] $ docker top 094c1cfde447234daa383ea016cf2cd351f3442720a4e7108e4d35bcc619065c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:00:57.849Z] + go mod tidy [Pipeline] sh [2021-05-06T23:00:59.167Z] + make test [2021-05-06T23:00:59.167Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-06T23:01:00.797Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-06T23:01:01.711Z] Removing intermediate container 30ba09f4b9fd [2021-05-06T23:01:01.711Z] ---> b7234c475554 [2021-05-06T23:01:01.711Z] Step 12/24 : FROM alpine:3.12 [2021-05-06T23:01:01.711Z] 3.12: Pulling from library/alpine [2021-05-06T23:01:01.711Z] 339de151aab4: Pulling fs layer [2021-05-06T23:01:01.711Z] 339de151aab4: Download complete [2021-05-06T23:01:01.711Z] 339de151aab4: Pull complete [2021-05-06T23:01:01.711Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T23:01:01.711Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T23:01:01.711Z] ---> 13621d1b12d4 [2021-05-06T23:01:01.711Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T23:01:01.711Z] ---> Running in f9da18c9b467 [2021-05-06T23:01:01.711Z] Removing intermediate container f9da18c9b467 [2021-05-06T23:01:01.711Z] ---> dd5eb23d7fe1 [2021-05-06T23:01:01.711Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-06T23:01:01.711Z] ---> Running in da6bbd1f094f [2021-05-06T23:01:01.711Z] Removing intermediate container da6bbd1f094f [2021-05-06T23:01:01.711Z] ---> 795e9210746e [2021-05-06T23:01:01.711Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T23:01:01.711Z] ---> Running in 455070fc44a7 [2021-05-06T23:01:01.711Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T23:01:01.711Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T23:01:01.711Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T23:01:01.711Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T23:01:01.711Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T23:01:01.711Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T23:01:01.711Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T23:01:01.711Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T23:01:01.711Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T23:01:01.711Z] OK: 8 MiB in 20 packages [2021-05-06T23:01:02.760Z] Removing intermediate container 455070fc44a7 [2021-05-06T23:01:02.760Z] ---> e8f7c45951fb [2021-05-06T23:01:02.760Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-06T23:01:03.809Z] ---> 48f407212d1d [2021-05-06T23:01:03.809Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-06T23:01:04.819Z] ---> eb170be9012c [2021-05-06T23:01:04.819Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-06T23:01:05.416Z] ---> a38272e89180 [2021-05-06T23:01:05.416Z] Step 19/24 : EXPOSE 49986 [2021-05-06T23:01:05.416Z] ---> Running in db7a7cd9dba2 [2021-05-06T23:01:05.681Z] Removing intermediate container db7a7cd9dba2 [2021-05-06T23:01:05.681Z] ---> 85f0fc38c39d [2021-05-06T23:01:05.681Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-06T23:01:05.681Z] ---> Running in 443d67f37f89 [2021-05-06T23:01:05.974Z] Removing intermediate container 443d67f37f89 [2021-05-06T23:01:05.974Z] ---> b06612b239dc [2021-05-06T23:01:05.974Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-06T23:01:06.292Z] ---> Running in 1eacd6d98089 [2021-05-06T23:01:06.938Z] Removing intermediate container 1eacd6d98089 [2021-05-06T23:01:06.938Z] ---> c831ac030589 [2021-05-06T23:01:06.938Z] Step 22/24 : LABEL arch=amd64 [2021-05-06T23:01:06.938Z] ---> Running in 1caa4aa17f02 [2021-05-06T23:01:07.231Z] Removing intermediate container 1caa4aa17f02 [2021-05-06T23:01:07.231Z] ---> 8287cce253e0 [2021-05-06T23:01:07.231Z] Step 23/24 : LABEL git_sha=2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T23:01:07.525Z] ---> Running in a467d8dc1190 [2021-05-06T23:01:07.807Z] Removing intermediate container a467d8dc1190 [2021-05-06T23:01:07.807Z] ---> 8097472bb4e7 [2021-05-06T23:01:07.807Z] Step 24/24 : LABEL version=0.0.0 [2021-05-06T23:01:07.807Z] ---> Running in b9c95a38cc63 [2021-05-06T23:01:08.082Z] Removing intermediate container b9c95a38cc63 [2021-05-06T23:01:08.082Z] ---> b3b1e4da9557 [2021-05-06T23:01:08.082Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T23:01:08.082Z] Successfully built b3b1e4da9557 [2021-05-06T23:01:08.082Z] 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-06T23:01:09.069Z] ---> job-cost.sh [2021-05-06T23:01:09.069Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-y1Yq [2021-05-06T23:01:35.991Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T23:01:57.439Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-06T23:01:57.439Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements [2021-05-06T23:01:57.439Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-06T23:02:02.798Z] lf-activate-venv(): INFO: Adding /tmp/venv-y1Yq/bin to PATH [2021-05-06T23:02:02.798Z] INFO: No Stack... [2021-05-06T23:02:02.798Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T23:02:03.387Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T23:02:03.740Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-06T23:02:03.740Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T23:02:03.863Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] [2021-05-06T23:02:03.870Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] did not exist. Created. [2021-05-06T23:02:03.870Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T23:02:04.303Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T23:02:04.480Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T23:02:04.500Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T23:02:19.645Z] gofmt -l . [2021-05-06T23:02:19.645Z] [ "`gofmt -l .`" = "" ] [2021-05-06T23:02:19.645Z] ./bin/test-go-mod-tidy.sh [2021-05-06T23:02:19.645Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-06T23:02:20.281Z] $ docker stop --time=1 094c1cfde447234daa383ea016cf2cd351f3442720a4e7108e4d35bcc619065c [2021-05-06T23:02:22.317Z] $ docker rm -f 094c1cfde447234daa383ea016cf2cd351f3442720a4e7108e4d35bcc619065c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T23:02:23.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T23:02:23.215Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T23:02:24.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T23:02:24.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T23:02:25.385Z] + ls -al . [2021-05-06T23:02:25.385Z] total 132 [2021-05-06T23:02:25.385Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 23:02 . [2021-05-06T23:02:25.385Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:59 .. [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 151 May 6 22:59 .dockerignore [2021-05-06T23:02:25.385Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:59 .git [2021-05-06T23:02:25.385Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 .github [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 339 May 6 22:59 .gitignore [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 6 22:59 Attribution.txt [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 6 22:59 Dockerfile [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 6 22:59 Dockerfile.build [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 680 May 6 22:59 Jenkinsfile [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 22:59 LICENSE [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 976 May 6 22:59 Makefile [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 6 22:59 README.md [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:51 VERSION [2021-05-06T23:02:25.385Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 bin [2021-05-06T23:02:25.385Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 cmd [2021-05-06T23:02:25.385Z] -rw-r--r-- 1 jenkins jenkins 8513 May 6 23:01 coverage.out [2021-05-06T23:02:25.385Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 driver [2021-05-06T23:02:25.385Z] -rw-r--r-- 1 jenkins jenkins 285 May 6 23:02 go.mod [2021-05-06T23:02:25.385Z] -rw-r--r-- 1 jenkins jenkins 21331 May 6 23:00 go.sum [2021-05-06T23:02:25.385Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:59 snap [2021-05-06T23:02:25.385Z] -rw-rw-r-- 1 jenkins jenkins 713 May 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:02:25.791Z] + 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=2c710f7aa807307f044c90bd1baa7df576992675 --label arch=arm64 --label version=0.0.0 . [2021-05-06T23:02:25.792Z] Sending build context to Docker daemon 102.9kB [2021-05-06T23:02:26.070Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T23:02:26.071Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-06T23:02:26.071Z] ---> 57415140c981 [2021-05-06T23:02:26.071Z] Step 3/24 : ARG MAKE='make build' [2021-05-06T23:02:26.383Z] ---> Running in 80e0e2844b9c [2021-05-06T23:02:26.981Z] Removing intermediate container 80e0e2844b9c [2021-05-06T23:02:26.981Z] ---> bf8d8395a64e [2021-05-06T23:02:26.981Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-06T23:02:26.981Z] ---> Running in 34a8bb74b46d [2021-05-06T23:02:27.261Z] Removing intermediate container 34a8bb74b46d [2021-05-06T23:02:27.261Z] ---> 0cccb2250789 [2021-05-06T23:02:27.261Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-06T23:02:27.535Z] ---> Running in 055c2215de12 [2021-05-06T23:02:27.809Z] Removing intermediate container 055c2215de12 [2021-05-06T23:02:27.809Z] ---> 6a40a56c0c44 [2021-05-06T23:02:27.809Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T23:02:28.082Z] ---> Running in 8e2097948812 [2021-05-06T23:02:30.048Z] Removing intermediate container 8e2097948812 [2021-05-06T23:02:30.048Z] ---> a02bf8379607 [2021-05-06T23:02:30.048Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-06T23:02:30.048Z] ---> Running in f59a38b3e306 [2021-05-06T23:02:31.026Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:02:31.997Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:02:32.975Z] OK: 144 MiB in 49 packages [2021-05-06T23:02:33.954Z] Removing intermediate container f59a38b3e306 [2021-05-06T23:02:33.954Z] ---> 01f62a187335 [2021-05-06T23:02:33.954Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-06T23:02:33.954Z] ---> Running in eb50d7a2e7ec [2021-05-06T23:02:34.548Z] Removing intermediate container eb50d7a2e7ec [2021-05-06T23:02:34.548Z] ---> e4ca41f8e520 [2021-05-06T23:02:34.548Z] Step 9/24 : COPY . . [2021-05-06T23:02:35.146Z] ---> 498be8db0951 [2021-05-06T23:02:35.146Z] Step 10/24 : RUN make update [2021-05-06T23:02:35.424Z] ---> Running in 2594712c9496 [2021-05-06T23:02:36.402Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-06T23:02:37.380Z] Removing intermediate container 2594712c9496 [2021-05-06T23:02:37.380Z] ---> b15ce4434dec [2021-05-06T23:02:37.380Z] Step 11/24 : RUN $MAKE [2021-05-06T23:02:37.653Z] ---> Running in 119371078b45 [2021-05-06T23:02:38.637Z] 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-06T23:03:18.686Z] Removing intermediate container 119371078b45 [2021-05-06T23:03:18.686Z] ---> 4195424a1793 [2021-05-06T23:03:18.686Z] Step 12/24 : FROM alpine:3.12 [2021-05-06T23:03:18.686Z] 3.12: Pulling from library/alpine [2021-05-06T23:03:18.686Z] d2f70382dc9a: Pulling fs layer [2021-05-06T23:03:18.686Z] d2f70382dc9a: Download complete [2021-05-06T23:03:18.686Z] d2f70382dc9a: Pull complete [2021-05-06T23:03:18.686Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T23:03:18.686Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T23:03:18.686Z] ---> 9852663dfa18 [2021-05-06T23:03:18.686Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-06T23:03:18.686Z] ---> Running in 0c846fb17432 [2021-05-06T23:03:18.686Z] Removing intermediate container 0c846fb17432 [2021-05-06T23:03:18.686Z] ---> b34fbc715878 [2021-05-06T23:03:18.686Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-06T23:03:18.686Z] ---> Running in 609e8c02a8d7 [2021-05-06T23:03:18.686Z] Removing intermediate container 609e8c02a8d7 [2021-05-06T23:03:18.686Z] ---> fc09666d3cfb [2021-05-06T23:03:18.686Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-06T23:03:18.686Z] ---> Running in f9ce6f216999 [2021-05-06T23:03:18.686Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T23:03:18.686Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T23:03:18.686Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-06T23:03:18.686Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-06T23:03:18.686Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-06T23:03:18.686Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-06T23:03:18.686Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-06T23:03:18.686Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-06T23:03:18.686Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T23:03:18.686Z] OK: 8 MiB in 20 packages [2021-05-06T23:03:18.961Z] Removing intermediate container f9ce6f216999 [2021-05-06T23:03:18.961Z] ---> c2631ad1ff82 [2021-05-06T23:03:18.961Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-06T23:03:20.397Z] ---> 9a488a8c7471 [2021-05-06T23:03:20.397Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-06T23:03:20.993Z] ---> e4a183b3c361 [2021-05-06T23:03:20.993Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-06T23:03:21.585Z] ---> 93ceeeb6e3a7 [2021-05-06T23:03:21.585Z] Step 19/24 : EXPOSE 49986 [2021-05-06T23:03:21.855Z] ---> Running in fb87cdb848c4 [2021-05-06T23:03:22.124Z] Removing intermediate container fb87cdb848c4 [2021-05-06T23:03:22.125Z] ---> 902e812edf24 [2021-05-06T23:03:22.125Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-06T23:03:22.397Z] ---> Running in bd952ff1f338 [2021-05-06T23:03:22.670Z] Removing intermediate container bd952ff1f338 [2021-05-06T23:03:22.670Z] ---> eb4b4d15f162 [2021-05-06T23:03:22.670Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-06T23:03:22.941Z] ---> Running in c83085bd98f5 [2021-05-06T23:03:23.536Z] Removing intermediate container c83085bd98f5 [2021-05-06T23:03:23.536Z] ---> bacd50127675 [2021-05-06T23:03:23.536Z] Step 22/24 : LABEL arch=arm64 [2021-05-06T23:03:23.536Z] ---> Running in 5434309e8ad0 [2021-05-06T23:03:24.127Z] Removing intermediate container 5434309e8ad0 [2021-05-06T23:03:24.127Z] ---> 6cfba643d0be [2021-05-06T23:03:24.127Z] Step 23/24 : LABEL git_sha=2c710f7aa807307f044c90bd1baa7df576992675 [2021-05-06T23:03:24.127Z] ---> Running in 1544225167fc [2021-05-06T23:03:24.404Z] Removing intermediate container 1544225167fc [2021-05-06T23:03:24.404Z] ---> b15ec092e39e [2021-05-06T23:03:24.404Z] Step 24/24 : LABEL version=0.0.0 [2021-05-06T23:03:24.677Z] ---> Running in 70bf55fb7d56 [2021-05-06T23:03:25.269Z] Removing intermediate container 70bf55fb7d56 [2021-05-06T23:03:25.269Z] ---> faea287b3a6e [2021-05-06T23:03:25.269Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-06T23:03:25.269Z] Successfully built faea287b3a6e [2021-05-06T23:03:25.269Z] 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-06T23:03:25.967Z] ---> job-cost.sh [2021-05-06T23:03:25.967Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-67rY [2021-05-06T23:04:04.901Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T23:05:26.615Z] lf-activate-venv(): INFO: Adding /tmp/venv-67rY/bin to PATH [2021-05-06T23:05:26.615Z] INFO: No Stack... [2021-05-06T23:05:26.615Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T23:05:27.205Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T23:05:27.566Z] + cut -d, -f6 [2021-05-06T23:05:27.567Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-05-06T23:05:27.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] [2021-05-06T23:05:27.716Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] did not exist. Created. [2021-05-06T23:05:27.716Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-86-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T23:05:28.157Z] /w/workspace/device-rest-go/1@tmp/durable-f92ed4d1/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-f92ed4d1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T23:05:28.526Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T23:05:28.566Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T23:05:28.711Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T23:05:28.733Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-86-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-06T23:05:29.584Z] provisioning config files... [2021-05-06T23:05:29.600Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/config7879155366261495175tmp [Pipeline] { [Pipeline] sh [2021-05-06T23:05:29.981Z] + set +x [2021-05-06T23:05:29.981Z] + curl -s https://codecov.io/bash [2021-05-06T23:05:29.981Z] + bash -s -- [2021-05-06T23:05:30.256Z] [2021-05-06T23:05:30.256Z] _____ _ [2021-05-06T23:05:30.256Z] / ____| | | [2021-05-06T23:05:30.256Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T23:05:30.256Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T23:05:30.256Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T23:05:30.256Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T23:05:30.256Z] Bash-1.0.2 [2021-05-06T23:05:30.256Z] [2021-05-06T23:05:30.256Z] [2021-05-06T23:05:30.256Z] ==> git version 2.24.3 found [2021-05-06T23:05:30.256Z] ==> 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-06T23:05:30.256Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T23:05:30.256Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T23:05:30.256Z] ==> Jenkins CI detected. [2021-05-06T23:05:30.256Z] project root: . [2021-05-06T23:05:30.256Z] --> token set from env [2021-05-06T23:05:30.256Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T23:05:30.256Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T23:05:30.256Z] ==> Python coveragepy not found [2021-05-06T23:05:30.256Z] ==> Searching for coverage reports in: [2021-05-06T23:05:30.256Z] + . [2021-05-06T23:05:30.256Z] -> Found 1 reports [2021-05-06T23:05:30.256Z] ==> Detecting git/mercurial file structure [2021-05-06T23:05:30.256Z] ==> Reading reports [2021-05-06T23:05:30.256Z] + ./coverage.out bytes=8513 [2021-05-06T23:05:30.256Z] ==> Appending adjustments [2021-05-06T23:05:30.256Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T23:05:30.574Z] + Found adjustments [2021-05-06T23:05:30.574Z] ==> Gzipping contents [2021-05-06T23:05:30.574Z] 4.0K /tmp/codecov.7etYPY.gz [2021-05-06T23:05:30.574Z] ==> Uploading reports [2021-05-06T23:05:30.574Z] url: https://codecov.io [2021-05-06T23:05:30.574Z] query: branch=PR-86&commit=2c710f7aa807307f044c90bd1baa7df576992675&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-86%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=86&job=&cmd_args= [2021-05-06T23:05:30.574Z] -> Pinging Codecov [2021-05-06T23:05:30.574Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-86&commit=2c710f7aa807307f044c90bd1baa7df576992675&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-86%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=86&job=&cmd_args= [2021-05-06T23:05:31.220Z] -> Uploading to [2021-05-06T23:05:31.220Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/4E5D53B4F1F92C436F7061BF334D961C/2c710f7aa807307f044c90bd1baa7df576992675/3e34528a-e97a-4368-bfbc-d72bc1c77931.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T230530Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfda8f3bcbe683861b6409eef49b3a3a8b9faa33c9624d24191cafb19206cc15 [2021-05-06T23:05:31.220Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T23:05:31.220Z] Dload Upload Total Spent Left Speed [2021-05-06T23:05:31.820Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3110 --:--:-- --:--:-- --:--:-- 3116 [2021-05-06T23:05:31.820Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2c710f7aa807307f044c90bd1baa7df576992675 [Pipeline] } [2021-05-06T23:05:31.847Z] 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-06T23:05:33.724Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:05:34.362Z] ---> package-listing.sh [2021-05-06T23:05:34.362Z] ++ facter osfamily [2021-05-06T23:05:34.362Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T23:05:34.362Z] + OS_FAMILY=redhat [2021-05-06T23:05:34.362Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-86 [2021-05-06T23:05:34.362Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T23:05:34.362Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T23:05:34.362Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T23:05:34.362Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T23:05:34.362Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-86 ']' [2021-05-06T23:05:34.362Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T23:05:34.362Z] + case "${OS_FAMILY}" in [2021-05-06T23:05:34.362Z] + rpm -qa [2021-05-06T23:05:34.362Z] + sort [2021-05-06T23:05:39.704Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T23:05:39.704Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T23:05:39.704Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T23:05:39.704Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-86 ']' [2021-05-06T23:05:39.704Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-86/archives/ [2021-05-06T23:05:39.704Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-86/archives/ [Pipeline] echo [2021-05-06T23:05:39.740Z] 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-86/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T23:05:40.067Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:05:40.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:05:40.431Z] [2021-05-06T23:05:40.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T23:05:40.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:05:40.834Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T23:05:40.834Z] df20fa9351a1: Pulling fs layer [2021-05-06T23:05:40.834Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T23:05:40.834Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T23:05:40.834Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T23:05:40.834Z] 93b61091891f: Pulling fs layer [2021-05-06T23:05:40.834Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T23:05:40.834Z] 5e14af77c1be: Pulling fs layer [2021-05-06T23:05:40.834Z] 01666e4c0597: Pulling fs layer [2021-05-06T23:05:40.834Z] aa168da1d23b: Pulling fs layer [2021-05-06T23:05:40.834Z] 93b9cdb0e59b: Waiting [2021-05-06T23:05:40.834Z] 5e14af77c1be: Waiting [2021-05-06T23:05:40.834Z] 46f8f816bc3b: Waiting [2021-05-06T23:05:40.834Z] 93b61091891f: Waiting [2021-05-06T23:05:40.834Z] 01666e4c0597: Waiting [2021-05-06T23:05:40.834Z] aa168da1d23b: Waiting [2021-05-06T23:05:40.834Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T23:05:40.834Z] 36b3adc4ff6f: Download complete [2021-05-06T23:05:40.834Z] 46f8f816bc3b: Download complete [2021-05-06T23:05:41.113Z] df20fa9351a1: Verifying Checksum [2021-05-06T23:05:41.113Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T23:05:41.113Z] 93b9cdb0e59b: Download complete [2021-05-06T23:05:41.113Z] 93b61091891f: Verifying Checksum [2021-05-06T23:05:41.113Z] 93b61091891f: Download complete [2021-05-06T23:05:41.113Z] 5e14af77c1be: Verifying Checksum [2021-05-06T23:05:41.113Z] 5e14af77c1be: Download complete [2021-05-06T23:05:41.113Z] 01666e4c0597: Verifying Checksum [2021-05-06T23:05:41.113Z] 01666e4c0597: Download complete [2021-05-06T23:05:41.383Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T23:05:41.383Z] 8ad3a11d3b57: Download complete [2021-05-06T23:05:41.648Z] df20fa9351a1: Pull complete [2021-05-06T23:05:41.916Z] 36b3adc4ff6f: Pull complete [2021-05-06T23:05:43.337Z] 8ad3a11d3b57: Pull complete [2021-05-06T23:05:43.337Z] 46f8f816bc3b: Pull complete [2021-05-06T23:05:43.623Z] 93b61091891f: Pull complete [2021-05-06T23:05:43.888Z] 93b9cdb0e59b: Pull complete [2021-05-06T23:05:43.888Z] aa168da1d23b: Verifying Checksum [2021-05-06T23:05:43.888Z] aa168da1d23b: Download complete [2021-05-06T23:05:44.153Z] 5e14af77c1be: Pull complete [2021-05-06T23:05:44.153Z] 01666e4c0597: Pull complete [2021-05-06T23:05:54.300Z] aa168da1d23b: Pull complete [2021-05-06T23:05:54.300Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T23:05:54.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T23:05:54.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T23:05:54.579Z] prd-centos7-docker-4c-2g-3366 does not seem to be running inside a container [2021-05-06T23:05:54.636Z] $ 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-86/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-86 -v /w/workspace/dgexfoundry_device-rest-go_PR-86:/w/workspace/dgexfoundry_device-rest-go_PR-86:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-86@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-86@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-06T23:05:57.898Z] $ docker top 0cd866465d3b468d0dd20f97337b5d5f2abdcf81047fe40dedb2bd7fb573f3cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T23:05:58.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T23:05:58.780Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T23:05:59.112Z] + ls /var/log/sa-host [2021-05-06T23:05:59.112Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T23:05:59.112Z] file_magic: OK [2021-05-06T23:05:59.112Z] HZ: Using current value: 100 [2021-05-06T23:05:59.112Z] file_header: OK [2021-05-06T23:05:59.112Z] 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-06T23:05:59.112Z] Statistics: [2021-05-06T23:05:59.112Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T23:05:59.112Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T23:05:59.112Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T23:05:59.112Z] file_magic: OK [2021-05-06T23:05:59.112Z] HZ: Using current value: 100 [2021-05-06T23:05:59.112Z] file_header: OK [2021-05-06T23:05:59.112Z] 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-06T23:05:59.112Z] Statistics: [2021-05-06T23:05:59.112Z] Hnuu...uuuununununu... [2021-05-06T23:05:59.112Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T23:05:59.442Z] provisioning config files... [2021-05-06T23:05:59.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-86@tmp/config7534351159459047131tmp [Pipeline] { [Pipeline] echo [2021-05-06T23:05:59.517Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:05:59.877Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T23:05:59.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T23:05:59.980Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:00.327Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T23:06:00.364Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:00.722Z] ---> sudo-logs.sh [2021-05-06T23:06:00.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T23:06:00.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:01.240Z] ---> job-cost.sh [2021-05-06T23:06:01.240Z] lf-activate-venv: SKIPPING [2021-05-06T23:06:01.240Z] DEBUG: total: 0.20999999344348907 [2021-05-06T23:06:01.240Z] INFO: Retrieving Stack Cost... [2021-05-06T23:06:02.657Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T23:06:02.928Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T23:06:02.965Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T23:06:03.316Z] ---> logs-deploy.sh [2021-05-06T23:06:03.316Z] lf-activate-venv: SKIPPING [2021-05-06T23:06:03.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-86/1 [2021-05-06T23:06:03.316Z] INFO: archiving workspace using pattern(s): [2021-05-06T23:06:05.245Z] Archives upload complete. [2021-05-06T23:06:05.245Z] INFO: archiving logs to Nexus