Pull request #91 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from af7dcf46a7e5916290a457f743edfe7524697b53+4f98354a1324b6971af40554b83b1d8fb938970d (349278e7449d03a18bf20dd108b77234ae8f565b) 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-91/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-91/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-4467’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4447’ is offline; ‘prd-centos7-docker-4c-2g-4450’ is offline; ‘prd-centos7-docker-4c-2g-4454’ is offline; ‘prd-centos7-docker-4c-2g-4460’ is offline; ‘prd-centos7-docker-4c-2g-4472’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4465’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4470’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4463’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4475 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [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-91 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) > 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/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # 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 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 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-11T15:15:55.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T15:15:55.672Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T15:15:55.789Z] ========================================================= [2021-05-11T15:15:55.789Z] EdgeX Global Pipelines Version Info [2021-05-11T15:15:55.789Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:15:59.040Z] ------------------- [2021-05-11T15:15:59.040Z] stable info: [2021-05-11T15:15:59.040Z] ------------------- [2021-05-11T15:15:59.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T15:15:59.040Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T15:15:59.040Z] Message: update stable to v1.0.191 [2021-05-11T15:16:00.002Z] ------------------- [2021-05-11T15:16:00.002Z] experimental info: [2021-05-11T15:16:00.002Z] ------------------- [2021-05-11T15:16:00.002Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T15:16:00.002Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T15:16:00.002Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T15:16:00.281Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-11T15:16:00.350Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-11T15:16:00.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T15:16:00.466Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T15:16:00.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T15:16:00.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T15:16:00.657Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T15:16:00.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T15:16:00.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T15:16:00.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T15:16:00.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T15:16:00.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-11T15:16:01.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T15:16:01.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T15:16:01.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:16:01.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:16:01.285Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:16:01.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:16:01.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T15:16:01.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T15:16:01.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T15:16:01.586Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T15:16:01.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T15:16:01.712Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T15:16:01.771Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T15:16:01.828Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T15:16:01.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2021-05-11T15:16:01.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2021-05-11T15:16:02.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2021-05-11T15:16:02.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] echo [2021-05-11T15:16:02.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af7dcf4 [Pipeline] echo [2021-05-11T15:16:02.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:16:02.369Z] provisioning config files... [2021-05-11T15:16:02.414Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config4930315393479852027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:16:02.877Z] ---> docker-login.sh [2021-05-11T15:16:02.877Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:16:03.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:16:03.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:16:03.434Z] Configure a credential helper to remove this warning. See [2021-05-11T15:16:03.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:16:03.434Z] [2021-05-11T15:16:03.434Z] Login Succeeded [2021-05-11T15:16:03.434Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:16:03.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:16:03.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:16:03.698Z] Configure a credential helper to remove this warning. See [2021-05-11T15:16:03.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:16:03.698Z] [2021-05-11T15:16:03.698Z] Login Succeeded [2021-05-11T15:16:03.698Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:16:03.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:16:03.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:16:03.962Z] Configure a credential helper to remove this warning. See [2021-05-11T15:16:03.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:16:03.962Z] [2021-05-11T15:16:03.962Z] Login Succeeded [2021-05-11T15:16:03.962Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:16:03.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:16:03.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:16:03.962Z] Configure a credential helper to remove this warning. See [2021-05-11T15:16:03.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:16:03.962Z] [2021-05-11T15:16:03.962Z] Login Succeeded [2021-05-11T15:16:04.227Z] docker.io [2021-05-11T15:16:04.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:16:04.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:16:04.490Z] Configure a credential helper to remove this warning. See [2021-05-11T15:16:04.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:16:04.490Z] [2021-05-11T15:16:04.490Z] Login Succeeded [2021-05-11T15:16:04.490Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:16:04.513Z] 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-11T15:16:05.235Z] + git log --format=format:%s -1 af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] echo [2021-05-11T15:16:05.371Z] GIT_COMMIT: af7dcf46a7e5916290a457f743edfe7524697b53, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-11T15:16:05.415Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:16:06.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:16:06.030Z] [2021-05-11T15:16:06.030Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:16:06.415Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:16:06.415Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T15:16:06.415Z] 31603596830f: Pulling fs layer [2021-05-11T15:16:06.415Z] 54011a49482f: Pulling fs layer [2021-05-11T15:16:06.415Z] a6820b24f6d8: Pulling fs layer [2021-05-11T15:16:06.415Z] f581987b2513: Pulling fs layer [2021-05-11T15:16:06.415Z] f581987b2513: Waiting [2021-05-11T15:16:06.415Z] 54011a49482f: Verifying Checksum [2021-05-11T15:16:06.415Z] 54011a49482f: Download complete [2021-05-11T15:16:06.415Z] 31603596830f: Verifying Checksum [2021-05-11T15:16:06.415Z] 31603596830f: Download complete [2021-05-11T15:16:06.686Z] f581987b2513: Verifying Checksum [2021-05-11T15:16:06.686Z] f581987b2513: Download complete [2021-05-11T15:16:06.686Z] a6820b24f6d8: Verifying Checksum [2021-05-11T15:16:06.686Z] a6820b24f6d8: Download complete [2021-05-11T15:16:06.952Z] 31603596830f: Pull complete [2021-05-11T15:16:07.219Z] 54011a49482f: Pull complete [2021-05-11T15:16:08.188Z] a6820b24f6d8: Pull complete [2021-05-11T15:16:08.455Z] f581987b2513: Pull complete [2021-05-11T15:16:08.455Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T15:16:08.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:16:08.455Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T15:16:08.710Z] prd-centos7-docker-4c-2g-4475 does not seem to be running inside a container [2021-05-11T15:16:08.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-91 -v /w/workspace/dgexfoundry_device-rest-go_PR-91:/w/workspace/dgexfoundry_device-rest-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:16:11.189Z] $ docker top 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:16:11.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:16:11.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:16:11.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:16:11.876Z] $ docker exec 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent [2021-05-11T15:16:12.187Z] SSH_AUTH_SOCK=/tmp/ssh-UOyg9d4qpiH2/agent.12 [2021-05-11T15:16:12.187Z] SSH_AGENT_PID=18 [2021-05-11T15:16:12.200Z] Running ssh-add (command line suppressed) [2021-05-11T15:16:12.367Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_921032140671157609.key (/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_921032140671157609.key) [2021-05-11T15:16:12.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:16:12.828Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T15:16:13.146Z] $ docker exec --env ******** --env ******** 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent -k [2021-05-11T15:16:13.342Z] unset SSH_AUTH_SOCK; [2021-05-11T15:16:13.343Z] unset SSH_AGENT_PID; [2021-05-11T15:16:13.343Z] echo Agent pid 18 killed; [2021-05-11T15:16:13.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T15:16:13.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:16:13.529Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:16:13.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:16:13.813Z] $ docker exec 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent [2021-05-11T15:16:14.061Z] SSH_AUTH_SOCK=/tmp/ssh-12dBNinKqhj2/agent.48 [2021-05-11T15:16:14.061Z] SSH_AGENT_PID=54 [2021-05-11T15:16:14.072Z] Running ssh-add (command line suppressed) [2021-05-11T15:16:14.235Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_8229607446794397585.key (/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_8229607446794397585.key) [2021-05-11T15:16:14.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:16:14.755Z] + git semver init [2021-05-11T15:16:14.755Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:16:14.755Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-91/.git [2021-05-11T15:16:14.755Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-91 [2021-05-11T15:16:14.755Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:16:14.755Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:16:14.755Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:16:14.755Z] # $SEMVER_BRANCH = PR-91 [2021-05-11T15:16:14.756Z] # $SEMVER_TEMP = /tmp/semver-151396229 [2021-05-11T15:16:14.756Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-11T15:16:17.358Z] # '/tmp/semver-151396229' -> '/w/workspace/dgexfoundry_device-rest-go_PR-91/.semver' [2021-05-11T15:16:17.358Z] # -> Force: false [2021-05-11T15:16:17.358Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-91/.semver [Pipeline] } [2021-05-11T15:16:17.391Z] $ docker exec --env ******** --env ******** 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent -k [2021-05-11T15:16:17.519Z] unset SSH_AUTH_SOCK; [2021-05-11T15:16:17.519Z] unset SSH_AGENT_PID; [2021-05-11T15:16:17.520Z] echo Agent pid 54 killed; [2021-05-11T15:16:17.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:16:18.021Z] + git semver [Pipeline] } [2021-05-11T15:16:18.061Z] $ docker stop --time=1 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 [2021-05-11T15:16:19.527Z] $ docker rm -f 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:16:20.083Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T15:16:20.549Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T15:16:20.579Z] [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-11T15:16:36.068Z] Still waiting to schedule task [2021-05-11T15:16:36.069Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T15:16:36.100Z] Still waiting to schedule task [2021-05-11T15:16:36.100Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T15:18:15.336Z] Running on prd-centos7-docker-4c-2g-4480 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [Pipeline] { [Pipeline] ws [2021-05-11T15:18:15.398Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T15:18:18.373Z] using credential edgex-jenkins-ssh [2021-05-11T15:18:18.387Z] Cloning the remote Git repository [2021-05-11T15:18:18.370Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:18:18.455Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T15:18:18.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:18:18.534Z] > git --version # timeout=10 [2021-05-11T15:18:18.542Z] > git --version # 'git version 2.24.3' [2021-05-11T15:18:18.542Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:18:18.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:18:19.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:18:19.598Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:18:19.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:18:19.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:18:19.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:18:19.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:18:20.124Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:18:20.210Z] Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:18:20.210Z] Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) [2021-05-11T15:18:20.132Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:18:20.141Z] > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 [2021-05-11T15:18:20.175Z] > git remote # timeout=10 [2021-05-11T15:18:20.181Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T15:18:20.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:18:20.192Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:18:20.203Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T15:18:20.212Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:18:20.217Z] > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 [2021-05-11T15:18:23.908Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-11T15:18:23.939Z] > git --version # timeout=10 [2021-05-11T15:18:23.945Z] > git --version # 'git version 2.24.3' [2021-05-11T15:18:23.954Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:18:25.118Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:18:25.463Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:18:25.780Z] + sudo service docker restart [2021-05-11T15:18:25.780Z] + true [2021-05-11T15:18:25.780Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:18:27.267Z] provisioning config files... [2021-05-11T15:18:27.303Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config531006508458239985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:18:27.684Z] ---> docker-login.sh [2021-05-11T15:18:27.684Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:18:27.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:28.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:28.214Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:28.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:28.214Z] [2021-05-11T15:18:28.214Z] Login Succeeded [2021-05-11T15:18:28.214Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:18:28.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:28.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:28.482Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:28.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:28.482Z] [2021-05-11T15:18:28.482Z] Login Succeeded [2021-05-11T15:18:28.482Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:18:28.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:28.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:28.482Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:28.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:28.482Z] [2021-05-11T15:18:28.482Z] Login Succeeded [2021-05-11T15:18:28.482Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:18:28.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:28.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:28.743Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:28.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:28.743Z] [2021-05-11T15:18:28.743Z] Login Succeeded [2021-05-11T15:18:28.743Z] docker.io [2021-05-11T15:18:28.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:29.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:29.320Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:29.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:29.320Z] [2021-05-11T15:18:29.320Z] Login Succeeded [2021-05-11T15:18:29.320Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:18:29.344Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T15:18:29.639Z] ========================================================= [2021-05-11T15:18:29.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T15:18:29.639Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:18:29.983Z] + 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-11T15:18:29.983Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:18:29.983Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:18:29.983Z] Step 2/10 : FROM ${BASE} [2021-05-11T15:18:29.983Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T15:18:29.983Z] 540db60ca938: Pulling fs layer [2021-05-11T15:18:29.983Z] adcc1eea9eea: Pulling fs layer [2021-05-11T15:18:29.983Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T15:18:29.983Z] 0510c868ecb4: Pulling fs layer [2021-05-11T15:18:29.983Z] afea3b2eda06: Pulling fs layer [2021-05-11T15:18:29.983Z] 7809a108b3ef: Pulling fs layer [2021-05-11T15:18:29.983Z] f706445af74f: Pulling fs layer [2021-05-11T15:18:29.983Z] afea3b2eda06: Waiting [2021-05-11T15:18:29.983Z] 7809a108b3ef: Waiting [2021-05-11T15:18:29.983Z] f706445af74f: Waiting [2021-05-11T15:18:29.983Z] 0510c868ecb4: Waiting [2021-05-11T15:18:29.983Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T15:18:29.983Z] 4c4ab2625f07: Download complete [2021-05-11T15:18:29.983Z] adcc1eea9eea: Download complete [2021-05-11T15:18:30.247Z] afea3b2eda06: Verifying Checksum [2021-05-11T15:18:30.247Z] afea3b2eda06: Download complete [2021-05-11T15:18:30.247Z] 540db60ca938: Verifying Checksum [2021-05-11T15:18:30.247Z] 540db60ca938: Download complete [2021-05-11T15:18:30.247Z] 7809a108b3ef: Verifying Checksum [2021-05-11T15:18:30.247Z] 7809a108b3ef: Download complete [2021-05-11T15:18:30.514Z] 540db60ca938: Pull complete [2021-05-11T15:18:30.779Z] adcc1eea9eea: Pull complete [2021-05-11T15:18:30.779Z] 4c4ab2625f07: Pull complete [2021-05-11T15:18:32.192Z] f706445af74f: Verifying Checksum [2021-05-11T15:18:32.192Z] f706445af74f: Download complete [2021-05-11T15:18:33.156Z] 0510c868ecb4: Download complete [2021-05-11T15:18:39.832Z] 0510c868ecb4: Pull complete [2021-05-11T15:18:39.832Z] afea3b2eda06: Pull complete [2021-05-11T15:18:39.832Z] 7809a108b3ef: Pull complete [2021-05-11T15:18:46.469Z] f706445af74f: Pull complete [2021-05-11T15:18:46.469Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T15:18:46.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T15:18:46.469Z] ---> b068be0155e3 [2021-05-11T15:18:46.469Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:18:46.738Z] ---> Running in 46be288215eb [2021-05-11T15:18:46.738Z] Removing intermediate container 46be288215eb [2021-05-11T15:18:46.738Z] ---> 47b31965706d [2021-05-11T15:18:46.738Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:18:46.738Z] ---> Running in 5c4619d33d3f [2021-05-11T15:18:47.013Z] Removing intermediate container 5c4619d33d3f [2021-05-11T15:18:47.013Z] ---> 0880138ff57d [2021-05-11T15:18:47.013Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:18:47.013Z] ---> Running in 1b5f5cf5890b [2021-05-11T15:18:47.279Z] Removing intermediate container 1b5f5cf5890b [2021-05-11T15:18:47.279Z] ---> 456f8811333d [2021-05-11T15:18:47.279Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:18:47.279Z] ---> Running in 665e6387dba9 [2021-05-11T15:18:48.679Z] Removing intermediate container 665e6387dba9 [2021-05-11T15:18:48.680Z] ---> 722ba5220022 [2021-05-11T15:18:48.680Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:18:48.954Z] ---> Running in da87cbdffb60 [2021-05-11T15:18:49.532Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:18:51.458Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:18:52.847Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:18:52.847Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:18:53.110Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:18:53.373Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:18:53.373Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:18:53.948Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:18:53.948Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:18:55.342Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:18:55.605Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:18:55.868Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:18:55.868Z] OK: 154 MiB in 49 packages [2021-05-11T15:18:56.821Z] Removing intermediate container da87cbdffb60 [2021-05-11T15:18:56.821Z] ---> 1a6ad50caaa2 [2021-05-11T15:18:56.821Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:18:56.821Z] ---> Running in 7e378f372bca [2021-05-11T15:18:57.084Z] Removing intermediate container 7e378f372bca [2021-05-11T15:18:57.084Z] ---> 2aae8ae717b6 [2021-05-11T15:18:57.084Z] Step 9/10 : COPY . . [2021-05-11T15:18:57.356Z] ---> 8e63a1b2a507 [2021-05-11T15:18:57.356Z] Step 10/10 : RUN go mod download [2021-05-11T15:18:57.356Z] ---> Running in 7011c01e0693 [2021-05-11T15:19:19.919Z] Removing intermediate container 7011c01e0693 [2021-05-11T15:19:19.920Z] ---> 1c5f21abdef4 [2021-05-11T15:19:19.920Z] Successfully built 1c5f21abdef4 [2021-05-11T15:19:19.920Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:20.326Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:19:20.326Z] . [Pipeline] withDockerContainer [2021-05-11T15:19:20.484Z] prd-centos7-docker-4c-2g-4480 does not seem to be running inside a container [2021-05-11T15:19:20.538Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-11T15:19:21.429Z] $ docker top 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:19:21.919Z] + go version [2021-05-11T15:19:21.919Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T15:19:21.947Z] $ docker stop --time=1 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b [2021-05-11T15:19:23.305Z] $ docker rm -f 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:24.125Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:19:24.126Z] . [Pipeline] withDockerContainer [2021-05-11T15:19:24.260Z] prd-centos7-docker-4c-2g-4480 does not seem to be running inside a container [2021-05-11T15:19:24.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 ******** ci-base-image-x86_64 cat [2021-05-11T15:19:24.910Z] $ docker top 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:19:25.400Z] + go mod tidy [Pipeline] sh [2021-05-11T15:19:26.679Z] + make test [2021-05-11T15:19:26.679Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:19:27.648Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:19:50.673Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:19:50.674Z] ok github.com/edgexfoundry/device-rest-go/driver 0.024s coverage: 54.0% of statements [2021-05-11T15:19:50.674Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:19:58.928Z] gofmt -l . [2021-05-11T15:19:58.928Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:19:58.928Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:19:59.197Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T15:20:00.187Z] $ docker stop --time=1 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b [2021-05-11T15:20:02.067Z] $ docker rm -f 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:20:02.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T15:20:03.059Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T15:20:04.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:20:04.598Z] + ls -al . [2021-05-11T15:20:04.598Z] total 104 [2021-05-11T15:20:04.598Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 11 15:19 . [2021-05-11T15:20:04.598Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 15:18 .. [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 11 15:18 Attribution.txt [2021-05-11T15:20:04.598Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 15:18 bin [2021-05-11T15:20:04.598Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 15:18 cmd [2021-05-11T15:20:04.598Z] -rw-r--r--. 1 jenkins jenkins 8513 May 11 15:19 coverage.out [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 11 15:18 Dockerfile [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 11 15:18 Dockerfile.build [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 151 May 11 15:18 .dockerignore [2021-05-11T15:20:04.598Z] drwxrwxr-x. 2 jenkins jenkins 76 May 11 15:18 driver [2021-05-11T15:20:04.598Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 15:18 .git [2021-05-11T15:20:04.598Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 15:18 .github [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 339 May 11 15:18 .gitignore [2021-05-11T15:20:04.598Z] -rw-r--r--. 1 jenkins jenkins 285 May 11 15:19 go.mod [2021-05-11T15:20:04.598Z] -rw-r--r--. 1 jenkins jenkins 21489 May 11 15:19 go.sum [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 680 May 11 15:18 Jenkinsfile [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 15:18 LICENSE [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 976 May 11 15:18 Makefile [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 11 15:18 README.md [2021-05-11T15:20:04.598Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 15:18 snap [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 15:16 VERSION [2021-05-11T15:20:04.598Z] -rw-rw-r--. 1 jenkins jenkins 713 May 11 15:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:04.950Z] + 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=af7dcf46a7e5916290a457f743edfe7524697b53 --label arch=amd64 --label version=0.0.0 . [2021-05-11T15:20:04.950Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:20:04.950Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:20:04.950Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:20:04.950Z] ---> 1c5f21abdef4 [2021-05-11T15:20:04.950Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:20:05.212Z] ---> Running in 9bdd123c4b3f [2021-05-11T15:20:05.212Z] Removing intermediate container 9bdd123c4b3f [2021-05-11T15:20:05.212Z] ---> 3cb5f1b61cc5 [2021-05-11T15:20:05.212Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:20:05.476Z] ---> Running in 4a7580f9bc18 [2021-05-11T15:20:05.476Z] Removing intermediate container 4a7580f9bc18 [2021-05-11T15:20:05.476Z] ---> de6961c6f1f4 [2021-05-11T15:20:05.476Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:20:05.746Z] ---> Running in aaf1035d1dd5 [2021-05-11T15:20:05.746Z] Removing intermediate container aaf1035d1dd5 [2021-05-11T15:20:05.746Z] ---> d5de082b84ae [2021-05-11T15:20:05.746Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:20:05.746Z] ---> Running in 1a2b8e461232 [2021-05-11T15:20:06.694Z] Removing intermediate container 1a2b8e461232 [2021-05-11T15:20:06.694Z] ---> d22b1b3e1b07 [2021-05-11T15:20:06.694Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:20:06.694Z] ---> Running in 991afac12eb5 [2021-05-11T15:20:07.651Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:09.569Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:12.119Z] OK: 154 MiB in 49 packages [2021-05-11T15:20:12.119Z] Removing intermediate container 991afac12eb5 [2021-05-11T15:20:12.119Z] ---> e4eaf9c9e46a [2021-05-11T15:20:12.119Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:20:12.382Z] ---> Running in 235150c47e8a [2021-05-11T15:20:12.382Z] Removing intermediate container 235150c47e8a [2021-05-11T15:20:12.382Z] ---> fbc86c6f2f3a [2021-05-11T15:20:12.382Z] Step 9/24 : COPY . . [2021-05-11T15:20:12.648Z] ---> de0a9941b863 [2021-05-11T15:20:12.648Z] Step 10/24 : RUN make update [2021-05-11T15:20:12.914Z] ---> Running in ca593fd5f9ee [2021-05-11T15:20:13.192Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:20:13.783Z] Removing intermediate container ca593fd5f9ee [2021-05-11T15:20:13.783Z] ---> f7eb022ad36c [2021-05-11T15:20:13.783Z] Step 11/24 : RUN $MAKE [2021-05-11T15:20:13.783Z] ---> Running in 2fbd08b3d768 [2021-05-11T15:20:14.362Z] 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-11T15:20:29.425Z] Removing intermediate container 2fbd08b3d768 [2021-05-11T15:20:29.425Z] ---> da2bb3c1346d [2021-05-11T15:20:29.425Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:20:29.425Z] 3.12: Pulling from library/alpine [2021-05-11T15:20:29.425Z] 339de151aab4: Pulling fs layer [2021-05-11T15:20:29.425Z] 339de151aab4: Verifying Checksum [2021-05-11T15:20:29.425Z] 339de151aab4: Download complete [2021-05-11T15:20:29.425Z] 339de151aab4: Pull complete [2021-05-11T15:20:29.425Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:20:29.425Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:20:29.425Z] ---> 13621d1b12d4 [2021-05-11T15:20:29.425Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:20:29.425Z] ---> Running in 74a32cc8ff58 [2021-05-11T15:20:29.425Z] Removing intermediate container 74a32cc8ff58 [2021-05-11T15:20:29.425Z] ---> c0a255802a59 [2021-05-11T15:20:29.425Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:20:29.425Z] ---> Running in 46550355cbb0 [2021-05-11T15:20:29.425Z] Removing intermediate container 46550355cbb0 [2021-05-11T15:20:29.425Z] ---> fb60daed7844 [2021-05-11T15:20:29.425Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:20:29.425Z] ---> Running in 37c42cb69a8a [2021-05-11T15:20:29.425Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:29.425Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:29.689Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:20:29.689Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:20:29.689Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:20:29.689Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:20:29.689Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:20:29.689Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:20:29.689Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:20:29.689Z] OK: 8 MiB in 20 packages [2021-05-11T15:20:30.266Z] Removing intermediate container 37c42cb69a8a [2021-05-11T15:20:30.266Z] ---> 9dcd6157c889 [2021-05-11T15:20:30.266Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:20:31.223Z] ---> 0258919c428b [2021-05-11T15:20:31.223Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:20:31.223Z] ---> 64c9c0688cf9 [2021-05-11T15:20:31.223Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:20:31.486Z] ---> a1720737302e [2021-05-11T15:20:31.486Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:20:31.486Z] ---> Running in 430b7ff18180 [2021-05-11T15:20:31.748Z] Removing intermediate container 430b7ff18180 [2021-05-11T15:20:31.748Z] ---> f69fd32a2b73 [2021-05-11T15:20:31.748Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:20:31.748Z] ---> Running in 5e8b4ab9fd15 [2021-05-11T15:20:32.017Z] Removing intermediate container 5e8b4ab9fd15 [2021-05-11T15:20:32.017Z] ---> cceb81e8ac40 [2021-05-11T15:20:32.017Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:20:32.017Z] ---> Running in 233d42569e94 [2021-05-11T15:20:32.017Z] Removing intermediate container 233d42569e94 [2021-05-11T15:20:32.017Z] ---> 925e213bd467 [2021-05-11T15:20:32.017Z] Step 22/24 : LABEL arch=amd64 [2021-05-11T15:20:32.279Z] ---> Running in 8ae9af10889d [2021-05-11T15:20:32.279Z] Removing intermediate container 8ae9af10889d [2021-05-11T15:20:32.279Z] ---> febde4292708 [2021-05-11T15:20:32.279Z] Step 23/24 : LABEL git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:20:32.541Z] ---> Running in cecc40a9ae04 [2021-05-11T15:20:32.541Z] Removing intermediate container cecc40a9ae04 [2021-05-11T15:20:32.541Z] ---> 014875ed7245 [2021-05-11T15:20:32.541Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T15:20:32.805Z] ---> Running in 0b519f3c645d [2021-05-11T15:20:32.805Z] Removing intermediate container 0b519f3c645d [2021-05-11T15:20:32.805Z] ---> 416a71bc875c [2021-05-11T15:20:32.805Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:20:32.805Z] Successfully built 416a71bc875c [2021-05-11T15:20:32.805Z] 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-11T15:20:33.704Z] ---> job-cost.sh [2021-05-11T15:20:33.704Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X0IR [2021-05-11T15:20:39.099Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4483 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [Pipeline] { [Pipeline] ws [2021-05-11T15:20:39.165Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T15:20:46.141Z] using credential edgex-jenkins-ssh [2021-05-11T15:20:46.162Z] Cloning the remote Git repository [2021-05-11T15:20:46.234Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:20:46.379Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T15:20:46.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:20:46.491Z] > git --version # timeout=10 [2021-05-11T15:20:46.511Z] > git --version # 'git version 2.17.1' [2021-05-11T15:20:46.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:20:46.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:20:51.861Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:20:57.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:20:57.584Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:20:57.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:20:57.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:20:57.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:20:57.688Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:20:58.206Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:20:58.431Z] Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:20:58.431Z] Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) [2021-05-11T15:20:58.245Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:20:58.264Z] > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 [2021-05-11T15:20:58.348Z] > git remote # timeout=10 [2021-05-11T15:20:58.368Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T15:20:58.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:20:58.400Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:20:58.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T15:20:58.454Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:20:58.465Z] > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 [2021-05-11T15:21:02.962Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-11T15:21:03.051Z] > git --version # timeout=10 [2021-05-11T15:21:03.064Z] > git --version # 'git version 2.17.1' [2021-05-11T15:21:03.089Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T15:21:03.412Z] [2021-05-11T15:21:03.412Z] GitHub has been notified of this commit’s build result [2021-05-11T15:21:03.412Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:21:04.901Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:21:05.376Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:21:05.746Z] + true [2021-05-11T15:21:05.746Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:21:08.491Z] provisioning config files... [2021-05-11T15:21:08.539Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5291675555468226888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:21:08.972Z] ---> docker-login.sh [2021-05-11T15:21:08.972Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:21:09.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:21:10.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:21:10.235Z] Configure a credential helper to remove this warning. See [2021-05-11T15:21:10.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:21:10.235Z] [2021-05-11T15:21:10.235Z] Login Succeeded [2021-05-11T15:21:10.235Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:21:10.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:21:10.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:21:10.840Z] Configure a credential helper to remove this warning. See [2021-05-11T15:21:10.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:21:10.840Z] [2021-05-11T15:21:10.840Z] Login Succeeded [2021-05-11T15:21:10.840Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:21:11.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:21:11.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:21:11.466Z] Configure a credential helper to remove this warning. See [2021-05-11T15:21:11.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:21:11.466Z] [2021-05-11T15:21:11.466Z] Login Succeeded [2021-05-11T15:21:11.466Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:21:12.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:21:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:21:12.071Z] Configure a credential helper to remove this warning. See [2021-05-11T15:21:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:21:12.071Z] [2021-05-11T15:21:12.071Z] Login Succeeded [2021-05-11T15:21:12.071Z] docker.io [2021-05-11T15:21:12.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:21:12.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:21:12.959Z] Configure a credential helper to remove this warning. See [2021-05-11T15:21:12.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:21:12.959Z] [2021-05-11T15:21:12.959Z] Login Succeeded [2021-05-11T15:21:12.959Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:21:13.011Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T15:21:13.509Z] ========================================================= [2021-05-11T15:21:13.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T15:21:13.509Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:21:13.905Z] + 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-11T15:21:13.905Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:21:14.183Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:21:14.183Z] Step 2/10 : FROM ${BASE} [2021-05-11T15:21:14.459Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T15:21:14.459Z] 595b0fe564bb: Pulling fs layer [2021-05-11T15:21:14.459Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T15:21:14.459Z] 316046926c0a: Pulling fs layer [2021-05-11T15:21:14.459Z] 4ebd0625c992: Pulling fs layer [2021-05-11T15:21:14.459Z] 207e8628e3a3: Pulling fs layer [2021-05-11T15:21:14.459Z] 4ebd0625c992: Waiting [2021-05-11T15:21:14.459Z] c791037a9be2: Pulling fs layer [2021-05-11T15:21:14.459Z] ffd874e62e21: Pulling fs layer [2021-05-11T15:21:14.459Z] 207e8628e3a3: Waiting [2021-05-11T15:21:14.459Z] c791037a9be2: Waiting [2021-05-11T15:21:14.459Z] ffd874e62e21: Waiting [2021-05-11T15:21:14.459Z] 316046926c0a: Download complete [2021-05-11T15:21:14.459Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T15:21:14.459Z] 7186ed65a4f7: Download complete [2021-05-11T15:21:14.459Z] 207e8628e3a3: Download complete [2021-05-11T15:21:14.459Z] c791037a9be2: Verifying Checksum [2021-05-11T15:21:14.459Z] c791037a9be2: Download complete [2021-05-11T15:21:14.459Z] 595b0fe564bb: Download complete [2021-05-11T15:21:15.459Z] 595b0fe564bb: Pull complete [2021-05-11T15:21:15.737Z] 7186ed65a4f7: Pull complete [2021-05-11T15:21:16.344Z] 316046926c0a: Pull complete [2021-05-11T15:21:16.955Z] ffd874e62e21: Verifying Checksum [2021-05-11T15:21:16.955Z] ffd874e62e21: Download complete [2021-05-11T15:21:17.951Z] 4ebd0625c992: Verifying Checksum [2021-05-11T15:21:17.951Z] 4ebd0625c992: Download complete [2021-05-11T15:21:18.502Z] lf-activate-venv(): INFO: Adding /tmp/venv-X0IR/bin to PATH [2021-05-11T15:21:18.502Z] INFO: No Stack... [2021-05-11T15:21:18.767Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:21:19.342Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:21:19.674Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-11T15:21:19.674Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T15:21:19.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [2021-05-11T15:21:19.795Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] did not exist. Created. [2021-05-11T15:21:19.795Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:21:20.284Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T15:21:20.481Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:21:20.503Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T15:21:28.157Z] 4ebd0625c992: Pull complete [2021-05-11T15:21:28.157Z] 207e8628e3a3: Pull complete [2021-05-11T15:21:28.434Z] c791037a9be2: Pull complete [2021-05-11T15:21:32.770Z] ffd874e62e21: Pull complete [2021-05-11T15:21:32.770Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T15:21:32.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T15:21:32.770Z] ---> cfc18b08335c [2021-05-11T15:21:32.770Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:21:36.191Z] ---> Running in 4ce94180f478 [2021-05-11T15:21:36.191Z] Removing intermediate container 4ce94180f478 [2021-05-11T15:21:36.191Z] ---> 65fa7f033e0e [2021-05-11T15:21:36.191Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:21:36.466Z] ---> Running in 8c5b159b43cd [2021-05-11T15:21:37.069Z] Removing intermediate container 8c5b159b43cd [2021-05-11T15:21:37.069Z] ---> 0f9ec548c31d [2021-05-11T15:21:37.069Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:21:37.069Z] ---> Running in ac378c643005 [2021-05-11T15:21:37.677Z] Removing intermediate container ac378c643005 [2021-05-11T15:21:37.677Z] ---> 5a59a66bfd95 [2021-05-11T15:21:37.677Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:21:37.677Z] ---> Running in 6763c68b6775 [2021-05-11T15:21:41.095Z] Removing intermediate container 6763c68b6775 [2021-05-11T15:21:41.095Z] ---> d3a565773341 [2021-05-11T15:21:41.095Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:21:41.368Z] ---> Running in 5d1751c92823 [2021-05-11T15:21:42.350Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:21:44.984Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:21:46.415Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:21:46.687Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:21:46.960Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:21:47.232Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:21:47.232Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:21:47.828Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:21:47.828Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:21:49.263Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:21:49.263Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:21:49.542Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:21:49.542Z] OK: 144 MiB in 49 packages [2021-05-11T15:21:51.528Z] Removing intermediate container 5d1751c92823 [2021-05-11T15:21:51.528Z] ---> efcb8ffe7911 [2021-05-11T15:21:51.528Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:21:51.528Z] ---> Running in 985d53a48f9f [2021-05-11T15:21:51.805Z] Removing intermediate container 985d53a48f9f [2021-05-11T15:21:51.805Z] ---> b34463d88c1f [2021-05-11T15:21:51.805Z] Step 9/10 : COPY . . [2021-05-11T15:21:52.792Z] ---> 15ff8aa5f7c1 [2021-05-11T15:21:52.792Z] Step 10/10 : RUN go mod download [2021-05-11T15:21:53.067Z] ---> Running in f37fe6eaaa90 [2021-05-11T15:22:25.419Z] Removing intermediate container f37fe6eaaa90 [2021-05-11T15:22:25.419Z] ---> 1957d4917ed2 [2021-05-11T15:22:25.419Z] Successfully built 1957d4917ed2 [2021-05-11T15:22:25.419Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:22:25.817Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:22:25.817Z] . [Pipeline] withDockerContainer [2021-05-11T15:22:26.931Z] prd-ubuntu18.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container [2021-05-11T15:22:27.051Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-11T15:22:28.560Z] $ docker top 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:22:29.767Z] + go version [2021-05-11T15:22:29.767Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T15:22:29.840Z] $ docker stop --time=1 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f [2021-05-11T15:22:31.777Z] $ docker rm -f 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:22:32.696Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:22:32.696Z] . [Pipeline] withDockerContainer [2021-05-11T15:22:32.962Z] prd-ubuntu18.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container [2021-05-11T15:22:33.086Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-11T15:22:34.491Z] $ docker top e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:22:35.464Z] + go mod tidy [Pipeline] sh [2021-05-11T15:22:37.166Z] + make test [2021-05-11T15:22:37.167Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:22:38.620Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:23:46.795Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:23:46.795Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-05-11T15:23:46.795Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:24:13.688Z] gofmt -l . [2021-05-11T15:24:13.688Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:24:13.688Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:24:13.688Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T15:24:13.782Z] $ docker stop --time=1 e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 [2021-05-11T15:24:15.873Z] $ docker rm -f e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:24:16.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T15:24:16.866Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T15:24:17.537Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:24:18.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:24:18.588Z] + ls -al . [2021-05-11T15:24:18.588Z] total 132 [2021-05-11T15:24:18.588Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:24 . [2021-05-11T15:24:18.588Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:20 .. [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 15:20 .dockerignore [2021-05-11T15:24:18.588Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:21 .git [2021-05-11T15:24:18.588Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 .github [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 339 May 11 15:20 .gitignore [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 11 15:20 Attribution.txt [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 11 15:20 Dockerfile [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 11 15:20 Dockerfile.build [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 15:20 Jenkinsfile [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 15:20 LICENSE [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 976 May 11 15:20 Makefile [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 11 15:20 README.md [2021-05-11T15:24:18.588Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 15:16 VERSION [2021-05-11T15:24:18.588Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 bin [2021-05-11T15:24:18.588Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:20 cmd [2021-05-11T15:24:18.588Z] -rw-r--r-- 1 jenkins jenkins 8513 May 11 15:23 coverage.out [2021-05-11T15:24:18.588Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 driver [2021-05-11T15:24:18.588Z] -rw-r--r-- 1 jenkins jenkins 285 May 11 15:24 go.mod [2021-05-11T15:24:18.589Z] -rw-r--r-- 1 jenkins jenkins 21489 May 11 15:22 go.sum [2021-05-11T15:24:18.589Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:20 snap [2021-05-11T15:24:18.589Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 15:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:18.970Z] + 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=af7dcf46a7e5916290a457f743edfe7524697b53 --label arch=arm64 --label version=0.0.0 . [2021-05-11T15:24:18.970Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:24:19.250Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:24:19.250Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:24:19.250Z] ---> 1957d4917ed2 [2021-05-11T15:24:19.250Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:24:19.524Z] ---> Running in 32f1861a8ad0 [2021-05-11T15:24:20.125Z] Removing intermediate container 32f1861a8ad0 [2021-05-11T15:24:20.125Z] ---> 342af5a386d6 [2021-05-11T15:24:20.125Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:24:20.125Z] ---> Running in 422994afa91c [2021-05-11T15:24:20.718Z] Removing intermediate container 422994afa91c [2021-05-11T15:24:20.718Z] ---> a8a31919c6f6 [2021-05-11T15:24:20.718Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:24:20.718Z] ---> Running in 251ef3a76da3 [2021-05-11T15:24:21.317Z] Removing intermediate container 251ef3a76da3 [2021-05-11T15:24:21.317Z] ---> 0d3b909dcb99 [2021-05-11T15:24:21.317Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:24:21.317Z] ---> Running in 8826703909a5 [2021-05-11T15:24:23.948Z] Removing intermediate container 8826703909a5 [2021-05-11T15:24:23.948Z] ---> 2b87eda35113 [2021-05-11T15:24:23.948Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:24:23.948Z] ---> Running in 17ac942131b7 [2021-05-11T15:24:24.935Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:24:27.552Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:24:30.170Z] OK: 144 MiB in 49 packages [2021-05-11T15:24:31.159Z] Removing intermediate container 17ac942131b7 [2021-05-11T15:24:31.159Z] ---> a01bccb94da7 [2021-05-11T15:24:31.159Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:24:31.159Z] ---> Running in e0d7c5ce4ce8 [2021-05-11T15:24:31.754Z] Removing intermediate container e0d7c5ce4ce8 [2021-05-11T15:24:31.754Z] ---> 1f747010a758 [2021-05-11T15:24:31.754Z] Step 9/24 : COPY . . [2021-05-11T15:24:32.732Z] ---> 57235eab4e6d [2021-05-11T15:24:32.732Z] Step 10/24 : RUN make update [2021-05-11T15:24:32.732Z] ---> Running in 4f9c3047efe7 [2021-05-11T15:24:34.165Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:24:35.143Z] Removing intermediate container 4f9c3047efe7 [2021-05-11T15:24:35.143Z] ---> d0cc5e766e1d [2021-05-11T15:24:35.143Z] Step 11/24 : RUN $MAKE [2021-05-11T15:24:35.421Z] ---> Running in b47020be9ea9 [2021-05-11T15:24:36.402Z] 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-11T15:25:15.481Z] Removing intermediate container b47020be9ea9 [2021-05-11T15:25:15.481Z] ---> 9c9d1cab0db4 [2021-05-11T15:25:15.481Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:25:15.481Z] 3.12: Pulling from library/alpine [2021-05-11T15:25:15.481Z] d2f70382dc9a: Pulling fs layer [2021-05-11T15:25:15.481Z] d2f70382dc9a: Verifying Checksum [2021-05-11T15:25:15.481Z] d2f70382dc9a: Download complete [2021-05-11T15:25:16.081Z] d2f70382dc9a: Pull complete [2021-05-11T15:25:16.081Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:25:16.081Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:25:16.081Z] ---> 9852663dfa18 [2021-05-11T15:25:16.081Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:25:16.353Z] ---> Running in 50f2909b0186 [2021-05-11T15:25:16.952Z] Removing intermediate container 50f2909b0186 [2021-05-11T15:25:16.952Z] ---> 44b26331a412 [2021-05-11T15:25:16.952Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:25:16.952Z] ---> Running in 7d3b3a6c7b4f [2021-05-11T15:25:17.564Z] Removing intermediate container 7d3b3a6c7b4f [2021-05-11T15:25:17.564Z] ---> 1bc43f35996f [2021-05-11T15:25:17.564Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:25:17.564Z] ---> Running in cec65ece466f [2021-05-11T15:25:18.541Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:25:18.813Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:25:19.408Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:25:19.408Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:25:19.408Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:25:19.408Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:25:19.408Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:25:19.408Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:25:19.408Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:25:19.408Z] OK: 8 MiB in 20 packages [2021-05-11T15:25:20.840Z] Removing intermediate container cec65ece466f [2021-05-11T15:25:20.840Z] ---> f4aa7380c249 [2021-05-11T15:25:20.840Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:25:21.821Z] ---> 0f7fbacb978f [2021-05-11T15:25:21.821Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:25:22.417Z] ---> af50b50526a1 [2021-05-11T15:25:22.417Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:25:23.405Z] ---> ed9f4fb9ffa5 [2021-05-11T15:25:23.405Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:25:23.405Z] ---> Running in 48a04ff5940a [2021-05-11T15:25:23.677Z] Removing intermediate container 48a04ff5940a [2021-05-11T15:25:23.677Z] ---> b5c6d374a5ae [2021-05-11T15:25:23.677Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:25:23.950Z] ---> Running in d2d112449ddb [2021-05-11T15:25:24.221Z] Removing intermediate container d2d112449ddb [2021-05-11T15:25:24.221Z] ---> 6338c8c308fc [2021-05-11T15:25:24.221Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:25:24.492Z] ---> Running in 4282dfb89fc3 [2021-05-11T15:25:25.085Z] Removing intermediate container 4282dfb89fc3 [2021-05-11T15:25:25.085Z] ---> 1f89db55468f [2021-05-11T15:25:25.085Z] Step 22/24 : LABEL arch=arm64 [2021-05-11T15:25:25.085Z] ---> Running in 4a5d2b65632d [2021-05-11T15:25:25.355Z] Removing intermediate container 4a5d2b65632d [2021-05-11T15:25:25.355Z] ---> 9899fac221b7 [2021-05-11T15:25:25.355Z] Step 23/24 : LABEL git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 [2021-05-11T15:25:25.630Z] ---> Running in 5b64ef97c9dc [2021-05-11T15:25:25.911Z] Removing intermediate container 5b64ef97c9dc [2021-05-11T15:25:25.911Z] ---> 71be9d49b8b8 [2021-05-11T15:25:25.911Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T15:25:26.183Z] ---> Running in 9b4c201ea712 [2021-05-11T15:25:26.778Z] Removing intermediate container 9b4c201ea712 [2021-05-11T15:25:26.778Z] ---> d17014815882 [2021-05-11T15:25:26.778Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:25:26.778Z] Successfully built d17014815882 [2021-05-11T15:25:26.778Z] 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-11T15:25:27.493Z] ---> job-cost.sh [2021-05-11T15:25:27.493Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uUMa [2021-05-11T15:26:14.457Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:27:36.206Z] lf-activate-venv(): INFO: Adding /tmp/venv-uUMa/bin to PATH [2021-05-11T15:27:36.206Z] INFO: No Stack... [2021-05-11T15:27:36.801Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T15:27:37.397Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:27:37.761Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-11T15:27:37.761Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T15:27:37.901Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [2021-05-11T15:27:37.907Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] did not exist. Created. [2021-05-11T15:27:37.907Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:27:38.368Z] /w/workspace/device-rest-go/1@tmp/durable-89aee7a6/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-89aee7a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T15:27:38.750Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T15:27:38.790Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T15:27:38.950Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:27:38.972Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-91-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-11T15:27:39.920Z] provisioning config files... [2021-05-11T15:27:39.939Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config5982549493445149600tmp [Pipeline] { [Pipeline] sh [2021-05-11T15:27:40.617Z] + set +x [2021-05-11T15:27:40.617Z] + bash -s -- [2021-05-11T15:27:40.617Z] + curl -s https://codecov.io/bash [2021-05-11T15:27:40.914Z] [2021-05-11T15:27:40.914Z] _____ _ [2021-05-11T15:27:40.914Z] / ____| | | [2021-05-11T15:27:40.914Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T15:27:40.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T15:27:40.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T15:27:40.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T15:27:40.914Z] Bash-1.0.2 [2021-05-11T15:27:40.914Z] [2021-05-11T15:27:40.914Z] [2021-05-11T15:27:40.914Z] ==> git version 2.24.3 found [2021-05-11T15:27:40.914Z] ==> 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-11T15:27:40.914Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T15:27:40.914Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T15:27:40.914Z] ==> Jenkins CI detected. [2021-05-11T15:27:40.914Z] project root: . [2021-05-11T15:27:40.914Z] --> token set from env [2021-05-11T15:27:40.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T15:27:40.914Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T15:27:40.914Z] ==> Python coveragepy not found [2021-05-11T15:27:40.914Z] ==> Searching for coverage reports in: [2021-05-11T15:27:40.914Z] + . [2021-05-11T15:27:40.914Z] -> Found 1 reports [2021-05-11T15:27:40.914Z] ==> Detecting git/mercurial file structure [2021-05-11T15:27:40.914Z] ==> Reading reports [2021-05-11T15:27:40.914Z] + ./coverage.out bytes=8513 [2021-05-11T15:27:40.914Z] ==> Appending adjustments [2021-05-11T15:27:40.914Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T15:27:41.180Z] + Found adjustments [2021-05-11T15:27:41.180Z] ==> Gzipping contents [2021-05-11T15:27:41.180Z] 4.0K /tmp/codecov.ZXuIul.gz [2021-05-11T15:27:41.180Z] ==> Uploading reports [2021-05-11T15:27:41.180Z] url: https://codecov.io [2021-05-11T15:27:41.180Z] query: branch=PR-91&commit=af7dcf46a7e5916290a457f743edfe7524697b53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=91&job=&cmd_args= [2021-05-11T15:27:41.180Z] -> Pinging Codecov [2021-05-11T15:27:41.180Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-91&commit=af7dcf46a7e5916290a457f743edfe7524697b53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=91&job=&cmd_args= [2021-05-11T15:27:41.449Z] -> Uploading to [2021-05-11T15:27:41.449Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/af7dcf46a7e5916290a457f743edfe7524697b53/48b1fe25-18b9-43cc-b5ea-b48a11466e12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T152741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d02ad03e4dd20a8518c83ccd79f71e433084052e92e5420de536874caa498eb [2021-05-11T15:27:41.716Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T15:27:41.716Z] Dload Upload Total Spent Left Speed [2021-05-11T15:27:41.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4082 --:--:-- --:--:-- --:--:-- 4088 [2021-05-11T15:27:41.981Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] } [2021-05-11T15:27:42.019Z] 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-11T15:27:43.896Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:27:44.564Z] ---> package-listing.sh [2021-05-11T15:27:44.564Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T15:27:44.564Z] ++ facter osfamily [2021-05-11T15:27:44.841Z] + OS_FAMILY=redhat [2021-05-11T15:27:44.841Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-91 [2021-05-11T15:27:44.841Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T15:27:44.841Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T15:27:44.841Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T15:27:44.841Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T15:27:44.841Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-91 ']' [2021-05-11T15:27:44.841Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T15:27:44.841Z] + case "${OS_FAMILY}" in [2021-05-11T15:27:44.841Z] + rpm -qa [2021-05-11T15:27:44.841Z] + sort [2021-05-11T15:27:51.572Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T15:27:51.572Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T15:27:51.572Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T15:27:51.572Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-91 ']' [2021-05-11T15:27:51.572Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-91/archives/ [2021-05-11T15:27:51.572Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-91/archives/ [Pipeline] echo [2021-05-11T15:27:51.608Z] 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-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T15:27:51.955Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:52.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:27:52.894Z] [2021-05-11T15:27:52.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:53.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:27:53.288Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T15:27:53.288Z] df20fa9351a1: Pulling fs layer [2021-05-11T15:27:53.288Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T15:27:53.288Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T15:27:53.288Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T15:27:53.288Z] 93b61091891f: Pulling fs layer [2021-05-11T15:27:53.288Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T15:27:53.288Z] 5e14af77c1be: Pulling fs layer [2021-05-11T15:27:53.288Z] 01666e4c0597: Pulling fs layer [2021-05-11T15:27:53.288Z] aa168da1d23b: Pulling fs layer [2021-05-11T15:27:53.288Z] 93b9cdb0e59b: Waiting [2021-05-11T15:27:53.288Z] 5e14af77c1be: Waiting [2021-05-11T15:27:53.288Z] 01666e4c0597: Waiting [2021-05-11T15:27:53.288Z] aa168da1d23b: Waiting [2021-05-11T15:27:53.288Z] 93b61091891f: Waiting [2021-05-11T15:27:53.288Z] 46f8f816bc3b: Waiting [2021-05-11T15:27:53.288Z] 36b3adc4ff6f: Download complete [2021-05-11T15:27:53.288Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T15:27:53.288Z] 46f8f816bc3b: Download complete [2021-05-11T15:27:53.583Z] df20fa9351a1: Download complete [2021-05-11T15:27:53.583Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T15:27:53.583Z] 93b9cdb0e59b: Download complete [2021-05-11T15:27:53.583Z] 5e14af77c1be: Verifying Checksum [2021-05-11T15:27:53.583Z] 5e14af77c1be: Download complete [2021-05-11T15:27:53.583Z] 01666e4c0597: Verifying Checksum [2021-05-11T15:27:53.583Z] 01666e4c0597: Download complete [2021-05-11T15:27:53.583Z] 93b61091891f: Verifying Checksum [2021-05-11T15:27:53.583Z] 93b61091891f: Download complete [2021-05-11T15:27:53.865Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T15:27:53.866Z] 8ad3a11d3b57: Download complete [2021-05-11T15:27:54.474Z] df20fa9351a1: Pull complete [2021-05-11T15:27:54.767Z] 36b3adc4ff6f: Pull complete [2021-05-11T15:27:56.827Z] 8ad3a11d3b57: Pull complete [2021-05-11T15:27:56.827Z] 46f8f816bc3b: Pull complete [2021-05-11T15:27:57.432Z] 93b61091891f: Pull complete [2021-05-11T15:27:57.432Z] 93b9cdb0e59b: Pull complete [2021-05-11T15:27:57.712Z] 5e14af77c1be: Pull complete [2021-05-11T15:27:57.985Z] 01666e4c0597: Pull complete [2021-05-11T15:27:58.254Z] aa168da1d23b: Verifying Checksum [2021-05-11T15:27:58.254Z] aa168da1d23b: Download complete [2021-05-11T15:28:08.443Z] aa168da1d23b: Pull complete [2021-05-11T15:28:08.443Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T15:28:08.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:28:08.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T15:28:08.688Z] prd-centos7-docker-4c-2g-4475 does not seem to be running inside a container [2021-05-11T15:28:08.749Z] $ 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-91/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-91 -v /w/workspace/dgexfoundry_device-rest-go_PR-91:/w/workspace/dgexfoundry_device-rest-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-91@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T15:28:11.396Z] $ docker top b4f52f6003d4483324aa1ee7f74cfbc342bf03af188093a2a8784c78e441212e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:28:11.912Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T15:28:12.240Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T15:28:12.575Z] + ls /var/log/sa-host [2021-05-11T15:28:12.575Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T15:28:12.575Z] file_magic: OK [2021-05-11T15:28:12.575Z] HZ: Using current value: 100 [2021-05-11T15:28:12.575Z] file_header: OK [2021-05-11T15:28:12.575Z] 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-11T15:28:12.575Z] Statistics: [2021-05-11T15:28:12.575Z] 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... [2021-05-11T15:28:12.575Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T15:28:12.575Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T15:28:12.575Z] file_magic: OK [2021-05-11T15:28:12.575Z] HZ: Using current value: 100 [2021-05-11T15:28:12.575Z] file_header: OK [2021-05-11T15:28:12.575Z] 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-11T15:28:12.575Z] Statistics: [2021-05-11T15:28:12.575Z] Hnuu...uuuununununu... [2021-05-11T15:28:12.575Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:28:13.655Z] provisioning config files... [2021-05-11T15:28:13.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config6526060963125426992tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:28:13.736Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:14.072Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T15:28:14.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T15:28:14.176Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:14.518Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T15:28:14.547Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:14.882Z] ---> sudo-logs.sh [2021-05-11T15:28:14.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T15:28:14.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:15.315Z] ---> job-cost.sh [2021-05-11T15:28:15.315Z] lf-activate-venv: SKIPPING [2021-05-11T15:28:15.315Z] DEBUG: total: 0.20999999344348907 [2021-05-11T15:28:15.315Z] INFO: Retrieving Stack Cost... [2021-05-11T15:28:15.899Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:28:16.478Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T15:28:16.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:16.879Z] ---> logs-deploy.sh [2021-05-11T15:28:16.879Z] lf-activate-venv: SKIPPING [2021-05-11T15:28:16.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-91/1 [2021-05-11T15:28:16.879Z] INFO: archiving workspace using pattern(s): [2021-05-11T15:28:18.821Z] Archives upload complete. [2021-05-11T15:28:18.821Z] INFO: archiving logs to Nexus [2021-05-11T15:28:20.219Z] ---> uname -a: [2021-05-11T15:28:20.219Z] Linux prd-centos7-docker-4c-2g-4475.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] ---> lscpu: [2021-05-11T15:28:20.219Z] Architecture: x86_64 [2021-05-11T15:28:20.219Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-11T15:28:20.219Z] Byte Order: Little Endian [2021-05-11T15:28:20.219Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-11T15:28:20.219Z] CPU(s): 4 [2021-05-11T15:28:20.219Z] On-line CPU(s) list: 0-3 [2021-05-11T15:28:20.219Z] Thread(s) per core: 1 [2021-05-11T15:28:20.219Z] Core(s) per socket: 1 [2021-05-11T15:28:20.219Z] Socket(s): 4 [2021-05-11T15:28:20.219Z] NUMA node(s): 1 [2021-05-11T15:28:20.219Z] Vendor ID: GenuineIntel [2021-05-11T15:28:20.219Z] CPU family: 6 [2021-05-11T15:28:20.219Z] Model: 44 [2021-05-11T15:28:20.219Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-11T15:28:20.219Z] Stepping: 1 [2021-05-11T15:28:20.219Z] CPU MHz: 2933.436 [2021-05-11T15:28:20.219Z] BogoMIPS: 5866.87 [2021-05-11T15:28:20.219Z] Virtualization: VT-x [2021-05-11T15:28:20.219Z] Hypervisor vendor: KVM [2021-05-11T15:28:20.219Z] Virtualization type: full [2021-05-11T15:28:20.219Z] L1d cache: 128 KiB [2021-05-11T15:28:20.219Z] L1i cache: 128 KiB [2021-05-11T15:28:20.219Z] L2 cache: 16 MiB [2021-05-11T15:28:20.219Z] L3 cache: 64 MiB [2021-05-11T15:28:20.219Z] NUMA node0 CPU(s): 0-3 [2021-05-11T15:28:20.219Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-11T15:28:20.219Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-11T15:28:20.219Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-11T15:28:20.219Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-11T15:28:20.219Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-11T15:28:20.219Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-11T15:28:20.219Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-11T15:28:20.219Z] Vulnerability Srbds: Not affected [2021-05-11T15:28:20.219Z] Vulnerability Tsx async abort: Not affected [2021-05-11T15:28:20.219Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] ---> nproc: [2021-05-11T15:28:20.219Z] 4 [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] ---> df -h: [2021-05-11T15:28:20.219Z] Filesystem Size Used Available Use% Mounted on [2021-05-11T15:28:20.219Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-11T15:28:20.219Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-11T15:28:20.219Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-11T15:28:20.219Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-91 [2021-05-11T15:28:20.219Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] ---> free -m: [2021-05-11T15:28:20.219Z] total used free shared buff/cache available [2021-05-11T15:28:20.219Z] Mem: 1837 738 111 0 987 993 [2021-05-11T15:28:20.219Z] Swap: 1023 1 1022 [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z] ---> ip addr: [2021-05-11T15:28:20.219Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-11T15:28:20.219Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-11T15:28:20.219Z] inet 127.0.0.1/8 scope host lo [2021-05-11T15:28:20.219Z] valid_lft forever preferred_lft forever [2021-05-11T15:28:20.219Z] inet6 ::1/128 scope host [2021-05-11T15:28:20.219Z] valid_lft forever preferred_lft forever [2021-05-11T15:28:20.219Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-11T15:28:20.219Z] link/ether fa:16:3e:9e:7d:10 brd ff:ff:ff:ff:ff:ff [2021-05-11T15:28:20.219Z] inet 10.30.123.104/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-11T15:28:20.219Z] valid_lft 85607sec preferred_lft 85607sec [2021-05-11T15:28:20.219Z] inet6 fe80::f816:3eff:fe9e:7d10/64 scope link [2021-05-11T15:28:20.219Z] valid_lft forever preferred_lft forever [2021-05-11T15:28:20.219Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-11T15:28:20.219Z] link/ether 02:42:e7:44:9e:89 brd ff:ff:ff:ff:ff:ff [2021-05-11T15:28:20.219Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-11T15:28:20.219Z] valid_lft forever preferred_lft forever [2021-05-11T15:28:20.219Z] inet6 fe80::42:e7ff:fe44:9e89/64 scope link [2021-05-11T15:28:20.219Z] valid_lft forever preferred_lft forever [2021-05-11T15:28:20.219Z] [2021-05-11T15:28:20.219Z]