Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (f0becfc6d0824a598221fd63c0379ab63862f81e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-29082’ is offline Running on prd-centos7-docker-4c-2g-29083 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 Merge succeeded, producing ab68eead14817aa3b04c05b34ba690b95e77e74b Checking out Revision ab68eead14817aa3b04c05b34ba690b95e77e74b (PR-725) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab68eead14817aa3b04c05b34ba690b95e77e74b # timeout=10 Commit message: "Merge commit '62dc0a4d0d8d70c39ca7894a25731db064e1c9c7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-09T02:41:50.949Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-09T02:41:51.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-09T02:41:51.337Z] ========================================================= [2021-03-09T02:41:51.337Z] EdgeX Global Pipelines Version Info [2021-03-09T02:41:51.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 99dc373190326cf6ce5f2961912e9ad1835e96a2 # timeout=10 [2021-03-09T02:41:53.261Z] ------------------- [2021-03-09T02:41:53.261Z] stable info: [2021-03-09T02:41:53.261Z] ------------------- [2021-03-09T02:41:53.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-09T02:41:53.261Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-09T02:41:53.261Z] Message: update stable to v1.0.184 [2021-03-09T02:41:54.349Z] ------------------- [2021-03-09T02:41:54.349Z] experimental info: [2021-03-09T02:41:54.349Z] ------------------- [2021-03-09T02:41:54.349Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-09T02:41:54.349Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-09T02:41:54.349Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-09T02:41:54.800Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-09T02:41:54.902Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-09T02:41:55.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-09T02:41:55.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-09T02:41:55.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-09T02:41:55.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-09T02:41:55.418Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-09T02:41:55.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-09T02:41:55.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-09T02:41:55.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-09T02:41:56.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-09T02:41:56.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-09T02:41:56.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-09T02:41:56.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-09T02:41:56.485Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-09T02:41:56.576Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T02:41:56.670Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T02:41:56.778Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-09T02:41:56.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-09T02:41:56.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-09T02:41:57.064Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-09T02:41:57.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-09T02:41:57.272Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-09T02:41:57.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-09T02:41:57.479Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-09T02:41:57.570Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-09T02:41:57.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-09T02:41:57.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-09T02:41:57.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-09T02:41:57.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab68eead14817aa3b04c05b34ba690b95e77e74b [Pipeline] echo [2021-03-09T02:41:58.044Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab68eea [Pipeline] echo [2021-03-09T02:41:58.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T02:41:58.321Z] provisioning config files... [2021-03-09T02:41:58.379Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2629274890874016743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:41:58.966Z] ---> docker-login.sh [2021-03-09T02:41:58.967Z] nexus3.edgexfoundry.org:10001 [2021-03-09T02:41:58.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:41:59.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:41:59.245Z] Configure a credential helper to remove this warning. See [2021-03-09T02:41:59.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:41:59.245Z] [2021-03-09T02:41:59.245Z] Login Succeeded [2021-03-09T02:41:59.245Z] nexus3.edgexfoundry.org:10002 [2021-03-09T02:41:59.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:41:59.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:41:59.523Z] Configure a credential helper to remove this warning. See [2021-03-09T02:41:59.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:41:59.523Z] [2021-03-09T02:41:59.523Z] Login Succeeded [2021-03-09T02:41:59.523Z] nexus3.edgexfoundry.org:10003 [2021-03-09T02:41:59.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:41:59.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:41:59.800Z] Configure a credential helper to remove this warning. See [2021-03-09T02:41:59.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:41:59.800Z] [2021-03-09T02:41:59.800Z] Login Succeeded [2021-03-09T02:41:59.800Z] nexus3.edgexfoundry.org:10004 [2021-03-09T02:41:59.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:41:59.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:41:59.800Z] Configure a credential helper to remove this warning. See [2021-03-09T02:41:59.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:41:59.800Z] [2021-03-09T02:41:59.800Z] Login Succeeded [2021-03-09T02:41:59.800Z] docker.io [2021-03-09T02:42:00.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:42:00.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:42:00.360Z] Configure a credential helper to remove this warning. See [2021-03-09T02:42:00.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:42:00.360Z] [2021-03-09T02:42:00.360Z] Login Succeeded [2021-03-09T02:42:00.360Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T02:42:00.381Z] 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-03-09T02:42:01.618Z] + git log --format=format:%s -1 ab68eead14817aa3b04c05b34ba690b95e77e74b [Pipeline] echo [2021-03-09T02:42:01.739Z] GIT_COMMIT: ab68eead14817aa3b04c05b34ba690b95e77e74b, Commit Message: Merge commit '62dc0a4d0d8d70c39ca7894a25731db064e1c9c7' into HEAD [Pipeline] echo [2021-03-09T02:42:01.805Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:42:02.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T02:42:02.928Z] [2021-03-09T02:42:02.928Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:42:03.329Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T02:42:03.329Z] latest: Pulling from edgex-devops/git-semver [2021-03-09T02:42:03.329Z] 31603596830f: Pulling fs layer [2021-03-09T02:42:03.329Z] 2a8b12db71e7: Pulling fs layer [2021-03-09T02:42:03.329Z] 6ca5941a6612: Pulling fs layer [2021-03-09T02:42:03.329Z] ecc8261a40a4: Pulling fs layer [2021-03-09T02:42:03.329Z] ecc8261a40a4: Waiting [2021-03-09T02:42:03.329Z] 2a8b12db71e7: Verifying Checksum [2021-03-09T02:42:03.329Z] 2a8b12db71e7: Download complete [2021-03-09T02:42:03.613Z] 31603596830f: Verifying Checksum [2021-03-09T02:42:03.613Z] 31603596830f: Download complete [2021-03-09T02:42:03.901Z] ecc8261a40a4: Verifying Checksum [2021-03-09T02:42:03.901Z] ecc8261a40a4: Download complete [2021-03-09T02:42:03.901Z] 6ca5941a6612: Verifying Checksum [2021-03-09T02:42:03.901Z] 6ca5941a6612: Download complete [2021-03-09T02:42:03.901Z] 31603596830f: Pull complete [2021-03-09T02:42:04.194Z] 2a8b12db71e7: Pull complete [2021-03-09T02:42:04.802Z] 6ca5941a6612: Pull complete [2021-03-09T02:42:05.073Z] ecc8261a40a4: Pull complete [2021-03-09T02:42:05.073Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-09T02:42:05.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-09T02:42:05.073Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-09T02:42:05.199Z] prd-centos7-docker-4c-2g-29083 does not seem to be running inside a container [2021-03-09T02:42:05.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-09T02:42:07.176Z] $ docker top 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-09T02:42:07.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-09T02:42:07.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-09T02:42:07.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-09T02:42:07.899Z] $ docker exec 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 ssh-agent [2021-03-09T02:42:08.111Z] SSH_AUTH_SOCK=/tmp/ssh-TualDIDhgQYQ/agent.13 [2021-03-09T02:42:08.112Z] SSH_AGENT_PID=18 [2021-03-09T02:42:08.138Z] Running ssh-add (command line suppressed) [2021-03-09T02:42:08.264Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1389964730227886898.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1389964730227886898.key) [2021-03-09T02:42:08.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-09T02:42:08.710Z] + git tag --points-at HEAD [Pipeline] } [2021-03-09T02:42:08.748Z] $ docker exec --env ******** --env ******** 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 ssh-agent -k [2021-03-09T02:42:08.860Z] unset SSH_AUTH_SOCK; [2021-03-09T02:42:08.860Z] unset SSH_AGENT_PID; [2021-03-09T02:42:08.860Z] echo Agent pid 18 killed; [2021-03-09T02:42:08.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-09T02:42:09.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-09T02:42:09.122Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-09T02:42:09.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-09T02:42:09.359Z] $ docker exec 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 ssh-agent [2021-03-09T02:42:09.541Z] SSH_AUTH_SOCK=/tmp/ssh-7iIHKukG3647/agent.47 [2021-03-09T02:42:09.541Z] SSH_AGENT_PID=53 [2021-03-09T02:42:09.575Z] Running ssh-add (command line suppressed) [2021-03-09T02:42:09.701Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1278782003939138222.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1278782003939138222.key) [2021-03-09T02:42:09.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-09T02:42:10.315Z] + git semver init [2021-03-09T02:42:10.315Z] # -> Open(): unable to determine branch for HEAD [2021-03-09T02:42:10.315Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-09T02:42:10.315Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-09T02:42:10.315Z] # $SEMVER_REMOTE_NAME = origin [2021-03-09T02:42:10.315Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-09T02:42:10.315Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-09T02:42:10.315Z] # $SEMVER_BRANCH = PR-725 [2021-03-09T02:42:10.315Z] # $SEMVER_TEMP = /tmp/semver-643349895 [2021-03-09T02:42:10.315Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-09T02:42:10.997Z] # '/tmp/semver-643349895' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-09T02:42:10.997Z] # -> Force: false [2021-03-09T02:42:10.997Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-09T02:42:11.048Z] $ docker exec --env ******** --env ******** 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 ssh-agent -k [2021-03-09T02:42:11.190Z] unset SSH_AUTH_SOCK; [2021-03-09T02:42:11.191Z] unset SSH_AGENT_PID; [2021-03-09T02:42:11.191Z] echo Agent pid 53 killed; [2021-03-09T02:42:11.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-09T02:42:11.834Z] + git semver [Pipeline] } [2021-03-09T02:42:11.894Z] $ docker stop --time=1 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 [2021-03-09T02:42:13.296Z] $ docker rm -f 4717eecbed122185baaac9ff1ba5a18ea5f829e75cc2bbd46eb6229770bb53c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T02:42:13.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-09T02:42:14.812Z] Stashed 1 file(s) [Pipeline] echo [2021-03-09T02:42:14.816Z] [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-03-09T02:42:30.426Z] Still waiting to schedule task [2021-03-09T02:42:30.426Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-09T02:42:30.430Z] Still waiting to schedule task [2021-03-09T02:42:30.430Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-09T02:44:15.250Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29084 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-09T02:44:15.319Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2021-03-09T02:44:20.452Z] using credential edgex-jenkins-ssh [2021-03-09T02:44:20.590Z] Cloning the remote Git repository [2021-03-09T02:44:20.655Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:20.772Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2021-03-09T02:44:20.847Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:20.848Z] > git --version # timeout=10 [2021-03-09T02:44:20.876Z] > git --version # 'git version 2.17.1' [2021-03-09T02:44:20.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:20.936Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T02:44:22.772Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-09T02:44:22.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T02:44:22.098Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T02:44:22.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T02:44:22.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:22.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:22.196Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-09T02:44:22.794Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T02:44:22.815Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-09T02:44:23.173Z] Merge succeeded, producing f8ce49bef68bbb68bd304fac4035060384ea24a6 [2021-03-09T02:44:23.174Z] Checking out Revision f8ce49bef68bbb68bd304fac4035060384ea24a6 (PR-725) [2021-03-09T02:44:22.934Z] > git remote # timeout=10 [2021-03-09T02:44:22.952Z] > git config --get remote.origin.url # timeout=10 [2021-03-09T02:44:22.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:22.987Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-09T02:44:23.151Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-09T02:44:23.184Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T02:44:23.210Z] > git checkout -f f8ce49bef68bbb68bd304fac4035060384ea24a6 # timeout=10 [2021-03-09T02:44:27.651Z] Commit message: "Merge commit '62dc0a4d0d8d70c39ca7894a25731db064e1c9c7' into HEAD" [2021-03-09T02:44:27.676Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T02:44:27.661Z] > git rev-list --no-walk 99dc373190326cf6ce5f2961912e9ad1835e96a2 # timeout=10 [2021-03-09T02:44:29.474Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-09T02:44:30.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-09T02:44:30.429Z] + sudo service docker restart [2021-03-09T02:44:30.429Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T02:44:33.138Z] provisioning config files... [2021-03-09T02:44:33.188Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config7287977308875990568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:44:33.609Z] ---> docker-login.sh [2021-03-09T02:44:33.609Z] nexus3.edgexfoundry.org:10001 [2021-03-09T02:44:34.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:34.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:34.874Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:34.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:34.874Z] [2021-03-09T02:44:34.874Z] Login Succeeded [2021-03-09T02:44:34.874Z] nexus3.edgexfoundry.org:10002 [2021-03-09T02:44:35.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:35.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:35.430Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:35.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:35.430Z] [2021-03-09T02:44:35.430Z] Login Succeeded [2021-03-09T02:44:35.430Z] nexus3.edgexfoundry.org:10003 [2021-03-09T02:44:35.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:35.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:35.980Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:35.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:35.980Z] [2021-03-09T02:44:35.980Z] Login Succeeded [2021-03-09T02:44:35.980Z] nexus3.edgexfoundry.org:10004 [2021-03-09T02:44:36.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:36.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:36.544Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:36.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:36.544Z] [2021-03-09T02:44:36.544Z] Login Succeeded [2021-03-09T02:44:36.544Z] docker.io [2021-03-09T02:44:36.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:37.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:37.093Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:37.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:37.093Z] [2021-03-09T02:44:37.093Z] Login Succeeded [2021-03-09T02:44:37.093Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T02:44:37.110Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-09T02:44:37.600Z] ========================================================= [2021-03-09T02:44:37.600Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-09T02:44:37.600Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:44:37.986Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-09T02:44:38.263Z] Sending build context to Docker daemon 2.434MB [2021-03-09T02:44:38.536Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T02:44:38.536Z] Step 2/8 : FROM ${BASE} [2021-03-09T02:44:38.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-09T02:44:38.536Z] 5f621e34cdf4: Pulling fs layer [2021-03-09T02:44:38.536Z] a4357932f1b6: Pulling fs layer [2021-03-09T02:44:38.536Z] 18c013af1878: Pulling fs layer [2021-03-09T02:44:38.536Z] 00ac8860ef70: Pulling fs layer [2021-03-09T02:44:38.536Z] 63d7cb157983: Pulling fs layer [2021-03-09T02:44:38.536Z] b116817d02f9: Pulling fs layer [2021-03-09T02:44:38.536Z] 745a02a5169b: Pulling fs layer [2021-03-09T02:44:38.536Z] 00ac8860ef70: Waiting [2021-03-09T02:44:38.536Z] 63d7cb157983: Waiting [2021-03-09T02:44:38.536Z] b116817d02f9: Waiting [2021-03-09T02:44:38.536Z] 745a02a5169b: Waiting [2021-03-09T02:44:38.536Z] 18c013af1878: Verifying Checksum [2021-03-09T02:44:38.536Z] 18c013af1878: Download complete [2021-03-09T02:44:38.536Z] a4357932f1b6: Download complete [2021-03-09T02:44:38.536Z] 63d7cb157983: Verifying Checksum [2021-03-09T02:44:38.536Z] 63d7cb157983: Download complete [2021-03-09T02:44:39.132Z] 5f621e34cdf4: Verifying Checksum [2021-03-09T02:44:39.132Z] b116817d02f9: Verifying Checksum [2021-03-09T02:44:39.132Z] b116817d02f9: Download complete [2021-03-09T02:44:40.126Z] 5f621e34cdf4: Pull complete [2021-03-09T02:44:40.410Z] a4357932f1b6: Pull complete [2021-03-09T02:44:41.013Z] 18c013af1878: Pull complete [2021-03-09T02:44:41.610Z] 745a02a5169b: Verifying Checksum [2021-03-09T02:44:41.610Z] 745a02a5169b: Download complete [2021-03-09T02:44:43.049Z] 00ac8860ef70: Verifying Checksum [2021-03-09T02:44:43.049Z] 00ac8860ef70: Download complete [2021-03-09T02:44:45.291Z] Running on prd-centos7-docker-4c-2g-29085 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-09T02:44:45.357Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2021-03-09T02:44:47.954Z] using credential edgex-jenkins-ssh [2021-03-09T02:44:48.016Z] Cloning the remote Git repository [2021-03-09T02:44:47.524Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:47.603Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2021-03-09T02:44:47.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:47.666Z] > git --version # timeout=10 [2021-03-09T02:44:47.676Z] > git --version # 'git version 2.24.3' [2021-03-09T02:44:47.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:47.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T02:44:49.399Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-09T02:44:49.619Z] Merge succeeded, producing 68fbf9ff352c7467c7ba6b1fec470fd7ec5ee374 [2021-03-09T02:44:49.620Z] Checking out Revision 68fbf9ff352c7467c7ba6b1fec470fd7ec5ee374 (PR-725) [2021-03-09T02:44:48.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T02:44:48.499Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-09T02:44:48.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-09T02:44:48.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-09T02:44:48.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:48.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-09T02:44:49.007Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T02:44:49.022Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-09T02:44:49.084Z] > git remote # timeout=10 [2021-03-09T02:44:49.093Z] > git config --get remote.origin.url # timeout=10 [2021-03-09T02:44:49.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-09T02:44:49.108Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-09T02:44:49.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-09T02:44:49.240Z] > git config core.sparsecheckout # timeout=10 [2021-03-09T02:44:49.252Z] > git checkout -f 68fbf9ff352c7467c7ba6b1fec470fd7ec5ee374 # timeout=10 [2021-03-09T02:44:53.050Z] Commit message: "Merge commit '62dc0a4d0d8d70c39ca7894a25731db064e1c9c7' into HEAD" [2021-03-09T02:44:53.062Z] First time build. Skipping changelog. [2021-03-09T02:44:53.228Z] 00ac8860ef70: Pull complete [2021-03-09T02:44:52.954Z] > git rev-list --no-walk 99dc373190326cf6ce5f2961912e9ad1835e96a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [2021-03-09T02:44:53.503Z] 63d7cb157983: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T02:44:53.785Z] b116817d02f9: Pull complete [2021-03-09T02:44:54.254Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-09T02:44:54.578Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-09T02:44:54.877Z] + sudo service docker restart [2021-03-09T02:44:54.877Z] + true [2021-03-09T02:44:54.877Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-09T02:44:55.898Z] provisioning config files... [2021-03-09T02:44:55.926Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config7360541771851664051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:44:56.290Z] ---> docker-login.sh [2021-03-09T02:44:56.290Z] nexus3.edgexfoundry.org:10001 [2021-03-09T02:44:56.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:56.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:56.552Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:56.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:56.552Z] [2021-03-09T02:44:56.552Z] Login Succeeded [2021-03-09T02:44:56.552Z] nexus3.edgexfoundry.org:10002 [2021-03-09T02:44:56.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:56.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:56.815Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:56.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:56.815Z] [2021-03-09T02:44:56.815Z] Login Succeeded [2021-03-09T02:44:56.815Z] nexus3.edgexfoundry.org:10003 [2021-03-09T02:44:57.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:57.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:57.077Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:57.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:57.078Z] [2021-03-09T02:44:57.078Z] Login Succeeded [2021-03-09T02:44:57.078Z] nexus3.edgexfoundry.org:10004 [2021-03-09T02:44:57.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:57.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:57.340Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:57.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:57.340Z] [2021-03-09T02:44:57.340Z] Login Succeeded [2021-03-09T02:44:57.340Z] docker.io [2021-03-09T02:44:57.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-09T02:44:57.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-09T02:44:57.602Z] Configure a credential helper to remove this warning. See [2021-03-09T02:44:57.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-09T02:44:57.602Z] [2021-03-09T02:44:57.602Z] Login Succeeded [2021-03-09T02:44:57.602Z] ---> docker-login.sh ends [Pipeline] } [2021-03-09T02:44:57.612Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-09T02:44:57.918Z] ========================================================= [2021-03-09T02:44:57.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-09T02:44:57.918Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:44:58.122Z] 745a02a5169b: Pull complete [2021-03-09T02:44:58.122Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-09T02:44:58.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-09T02:44:58.122Z] ---> b7e6874047d6 [2021-03-09T02:44:58.122Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:44:58.280Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-09T02:44:58.280Z] Sending build context to Docker daemon 2.435MB [2021-03-09T02:44:58.280Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T02:44:58.280Z] Step 2/8 : FROM ${BASE} [2021-03-09T02:44:58.544Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-09T02:44:58.544Z] 188c0c94c7c5: Pulling fs layer [2021-03-09T02:44:58.544Z] 0ef7d3d256c8: Pulling fs layer [2021-03-09T02:44:58.544Z] de9db76c5a1d: Pulling fs layer [2021-03-09T02:44:58.544Z] bca2f99d35d6: Pulling fs layer [2021-03-09T02:44:58.544Z] 93359f2a8cfa: Pulling fs layer [2021-03-09T02:44:58.544Z] 7c6f9722023f: Pulling fs layer [2021-03-09T02:44:58.544Z] a35cf1a2eb13: Pulling fs layer [2021-03-09T02:44:58.544Z] bca2f99d35d6: Waiting [2021-03-09T02:44:58.544Z] 93359f2a8cfa: Waiting [2021-03-09T02:44:58.544Z] 7c6f9722023f: Waiting [2021-03-09T02:44:58.544Z] a35cf1a2eb13: Waiting [2021-03-09T02:44:58.544Z] de9db76c5a1d: Verifying Checksum [2021-03-09T02:44:58.544Z] de9db76c5a1d: Download complete [2021-03-09T02:44:58.544Z] 0ef7d3d256c8: Verifying Checksum [2021-03-09T02:44:58.544Z] 0ef7d3d256c8: Download complete [2021-03-09T02:44:58.544Z] 93359f2a8cfa: Verifying Checksum [2021-03-09T02:44:58.544Z] 93359f2a8cfa: Download complete [2021-03-09T02:44:58.544Z] 7c6f9722023f: Download complete [2021-03-09T02:44:58.544Z] 188c0c94c7c5: Verifying Checksum [2021-03-09T02:44:58.544Z] 188c0c94c7c5: Download complete [2021-03-09T02:44:58.804Z] 188c0c94c7c5: Pull complete [2021-03-09T02:44:59.066Z] 0ef7d3d256c8: Pull complete [2021-03-09T02:44:59.066Z] de9db76c5a1d: Pull complete [2021-03-09T02:45:00.459Z] a35cf1a2eb13: Download complete [2021-03-09T02:45:00.739Z] ---> Running in 889e61d32b3e [2021-03-09T02:45:00.739Z] Removing intermediate container 889e61d32b3e [2021-03-09T02:45:00.739Z] ---> cfc6c44d2caa [2021-03-09T02:45:00.739Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T02:45:01.014Z] ---> Running in 89cf9ac9c021 [2021-03-09T02:45:01.038Z] bca2f99d35d6: Verifying Checksum [2021-03-09T02:45:01.038Z] bca2f99d35d6: Download complete [2021-03-09T02:45:03.662Z] Removing intermediate container 89cf9ac9c021 [2021-03-09T02:45:03.662Z] ---> 199962cb6109 [2021-03-09T02:45:03.662Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-09T02:45:03.662Z] ---> Running in 4646c632b9e7 [2021-03-09T02:45:04.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-09T02:45:05.238Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-09T02:45:06.233Z] OK: 142 MiB in 39 packages [2021-03-09T02:45:07.216Z] Removing intermediate container 4646c632b9e7 [2021-03-09T02:45:07.216Z] ---> d34f7adcb4df [2021-03-09T02:45:07.216Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-09T02:45:07.216Z] ---> Running in 3b165b86cc8c [2021-03-09T02:45:07.800Z] bca2f99d35d6: Pull complete [2021-03-09T02:45:07.801Z] 93359f2a8cfa: Pull complete [2021-03-09T02:45:07.801Z] 7c6f9722023f: Pull complete [2021-03-09T02:45:07.812Z] Removing intermediate container 3b165b86cc8c [2021-03-09T02:45:07.812Z] ---> c963208c700a [2021-03-09T02:45:07.812Z] Step 7/8 : COPY . . [2021-03-09T02:45:09.249Z] ---> e961444700e0 [2021-03-09T02:45:09.249Z] Step 8/8 : RUN go mod download [2021-03-09T02:45:09.249Z] ---> Running in 5a532f550995 [2021-03-09T02:45:16.010Z] a35cf1a2eb13: Pull complete [2021-03-09T02:45:16.011Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-09T02:45:16.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-09T02:45:16.011Z] ---> a62c8e92a672 [2021-03-09T02:45:16.011Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:45:16.011Z] ---> Running in 61eb6b6e7614 [2021-03-09T02:45:16.011Z] Removing intermediate container 61eb6b6e7614 [2021-03-09T02:45:16.011Z] ---> 2100707ad59a [2021-03-09T02:45:16.011Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T02:45:16.011Z] ---> Running in 775930f7e1f8 [2021-03-09T02:45:17.411Z] Removing intermediate container 775930f7e1f8 [2021-03-09T02:45:17.411Z] ---> 909eac4321b9 [2021-03-09T02:45:17.411Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-09T02:45:17.411Z] ---> Running in 93e8a70ac8bb [2021-03-09T02:45:17.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-09T02:45:18.559Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-09T02:45:18.822Z] OK: 166 MiB in 39 packages [2021-03-09T02:45:19.398Z] Removing intermediate container 93e8a70ac8bb [2021-03-09T02:45:19.398Z] ---> 518f94fbcf58 [2021-03-09T02:45:19.398Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-09T02:45:19.398Z] ---> Running in a3acfe303bd0 [2021-03-09T02:45:19.661Z] Removing intermediate container a3acfe303bd0 [2021-03-09T02:45:19.661Z] ---> c18824cd2d13 [2021-03-09T02:45:19.661Z] Step 7/8 : COPY . . [2021-03-09T02:45:21.053Z] ---> 04ba01e4f863 [2021-03-09T02:45:21.053Z] Step 8/8 : RUN go mod download [2021-03-09T02:45:21.053Z] ---> Running in 9f1cde193c2d [2021-03-09T02:45:36.053Z] Removing intermediate container 5a532f550995 [2021-03-09T02:45:36.054Z] ---> 753533f97e6e [2021-03-09T02:45:36.054Z] Successfully built 753533f97e6e [2021-03-09T02:45:36.054Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:45:36.400Z] + docker inspect -f . ci-base-image-arm64 [2021-03-09T02:45:36.401Z] . [Pipeline] withDockerContainer [2021-03-09T02:45:36.677Z] prd-ubuntu18.04-docker-arm64-4c-16g-29084 does not seem to be running inside a container [2021-03-09T02:45:36.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-09T02:45:38.238Z] $ docker top 2d5ba41bcba65bcc87f8a242d8e8b92d118708141effaa9cf32039cea1288f4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T02:45:39.258Z] + go version [2021-03-09T02:45:39.258Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-09T02:45:39.284Z] $ docker stop --time=1 2d5ba41bcba65bcc87f8a242d8e8b92d118708141effaa9cf32039cea1288f4b [2021-03-09T02:45:41.190Z] $ docker rm -f 2d5ba41bcba65bcc87f8a242d8e8b92d118708141effaa9cf32039cea1288f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:45:42.184Z] + docker inspect -f . ci-base-image-arm64 [2021-03-09T02:45:42.184Z] . [Pipeline] withDockerContainer [2021-03-09T02:45:42.444Z] prd-ubuntu18.04-docker-arm64-4c-16g-29084 does not seem to be running inside a container [2021-03-09T02:45:42.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-09T02:45:43.085Z] Removing intermediate container 9f1cde193c2d [2021-03-09T02:45:43.085Z] ---> e78ef8e3d3eb [2021-03-09T02:45:43.085Z] Successfully built e78ef8e3d3eb [2021-03-09T02:45:43.085Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-09T02:45:43.985Z] $ docker top fb24eea0dd4b33fda0db7daf4a6903298e4376bcac6236e394070dc5b2f8848f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:45:44.842Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-09T02:45:44.842Z] . [Pipeline] withDockerContainer [2021-03-09T02:45:45.020Z] + make test [2021-03-09T02:45:45.020Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-09T02:45:45.061Z] prd-centos7-docker-4c-2g-29085 does not seem to be running inside a container [2021-03-09T02:45:45.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-09T02:45:45.913Z] $ docker top f69304b32f30d00905b37995c4fec9b9457aefbcc5352cfb6622650303768b3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T02:45:46.385Z] + go version [2021-03-09T02:45:46.385Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-09T02:45:46.400Z] $ docker stop --time=1 f69304b32f30d00905b37995c4fec9b9457aefbcc5352cfb6622650303768b3f [2021-03-09T02:45:47.734Z] $ docker rm -f f69304b32f30d00905b37995c4fec9b9457aefbcc5352cfb6622650303768b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:45:48.530Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-09T02:45:48.530Z] . [Pipeline] withDockerContainer [2021-03-09T02:45:48.628Z] prd-centos7-docker-4c-2g-29085 does not seem to be running inside a container [2021-03-09T02:45:48.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-09T02:45:49.192Z] $ docker top 55957db52c896488181354c5a66a9f04dc20f7754c90e816d49813dcce851dbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T02:45:49.662Z] + make test [2021-03-09T02:45:49.662Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-09T02:45:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-09T02:46:07.203Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-09T02:46:11.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-09T02:46:11.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-09T02:46:11.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-09T02:46:15.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 25.5% of statements [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.5% of statements [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.056s coverage: 12.5% of statements [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.065s coverage: 84.8% of statements [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 48.9% of statements [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.057s coverage: 81.3% of statements [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 24.8% of statements [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.332s coverage: 85.6% of statements [2021-03-09T02:46:42.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.064s coverage: 5.2% of statements [2021-03-09T02:46:42.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-09T02:46:42.229Z] GO111MODULE=on go vet ./... [2021-03-09T02:46:54.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-09T02:46:54.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-09T02:46:54.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-09T02:46:54.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 25.5% of statements [2021-03-09T02:46:54.588Z] gofmt -l . [2021-03-09T02:46:54.588Z] [ "`gofmt -l .`" = "" ] [2021-03-09T02:46:54.588Z] ./bin/test-attribution-txt.sh [2021-03-09T02:46:54.588Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-09T02:46:54.607Z] $ docker stop --time=1 55957db52c896488181354c5a66a9f04dc20f7754c90e816d49813dcce851dbd [2021-03-09T02:46:56.577Z] $ docker rm -f 55957db52c896488181354c5a66a9f04dc20f7754c90e816d49813dcce851dbd [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T02:46:57.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-09T02:46:57.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-09T02:47:00.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-09T02:47:00.898Z] + ls -al . [2021-03-09T02:47:00.898Z] total 184 [2021-03-09T02:47:00.898Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 9 02:46 . [2021-03-09T02:47:00.898Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 9 02:44 .. [2021-03-09T02:47:00.898Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 02:44 bin [2021-03-09T02:47:00.898Z] -rw-r--r--. 1 jenkins jenkins 101322 Mar 9 02:46 coverage.out [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 9 02:44 Dockerfile.build [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 02:44 .dockerignore [2021-03-09T02:47:00.898Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 9 02:44 example [2021-03-09T02:47:00.898Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 02:44 .git [2021-03-09T02:47:00.898Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 9 02:44 .github [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 02:44 .gitignore [2021-03-09T02:47:00.898Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 9 02:46 go.mod [2021-03-09T02:47:00.898Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 9 02:46 go.sum [2021-03-09T02:47:00.898Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 9 02:44 internal [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 9 02:44 Jenkinsfile [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 02:44 LICENSE [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 9 02:44 Makefile [2021-03-09T02:47:00.898Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 9 02:44 openapi [2021-03-09T02:47:00.898Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 9 02:44 pkg [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 9 02:44 README.md [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 9 02:44 RELEASE-NOTES.txt [2021-03-09T02:47:00.898Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 02:44 snap [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 02:42 VERSION [2021-03-09T02:47:00.898Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:47:01.206Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ab68eead14817aa3b04c05b34ba690b95e77e74b --label arch=amd64 --label version=0.0.0 . [2021-03-09T02:47:01.469Z] Sending build context to Docker daemon 2.536MB [2021-03-09T02:47:01.469Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T02:47:01.469Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-09T02:47:01.469Z] ---> e78ef8e3d3eb [2021-03-09T02:47:01.469Z] Step 3/24 : ARG MAKE='make build' [2021-03-09T02:47:02.047Z] ---> Running in 1d3c054257f0 [2021-03-09T02:47:02.047Z] Removing intermediate container 1d3c054257f0 [2021-03-09T02:47:02.047Z] ---> c2a2317af133 [2021-03-09T02:47:02.047Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-09T02:47:02.310Z] ---> Running in f594322d7320 [2021-03-09T02:47:02.310Z] Removing intermediate container f594322d7320 [2021-03-09T02:47:02.310Z] ---> 62bcdcf48449 [2021-03-09T02:47:02.310Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:47:02.310Z] ---> Running in 0ff88930bf11 [2021-03-09T02:47:02.574Z] Removing intermediate container 0ff88930bf11 [2021-03-09T02:47:02.574Z] ---> acd1f36b1878 [2021-03-09T02:47:02.574Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T02:47:02.574Z] ---> Running in 0fc1b5d0ddb4 [2021-03-09T02:47:03.522Z] Removing intermediate container 0fc1b5d0ddb4 [2021-03-09T02:47:03.522Z] ---> c74e8d72cad1 [2021-03-09T02:47:03.522Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-09T02:47:03.522Z] ---> Running in ee7257fb8a17 [2021-03-09T02:47:04.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-09T02:47:04.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-09T02:47:04.937Z] OK: 166 MiB in 39 packages [2021-03-09T02:47:05.510Z] Removing intermediate container ee7257fb8a17 [2021-03-09T02:47:05.510Z] ---> 338909566a85 [2021-03-09T02:47:05.510Z] Step 8/24 : COPY . . [2021-03-09T02:47:06.456Z] ---> 8ce93595eaea [2021-03-09T02:47:06.456Z] Step 9/24 : RUN ${MAKE} [2021-03-09T02:47:06.456Z] ---> Running in b759c460863d [2021-03-09T02:47:07.030Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-09T02:47:17.177Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-09T02:47:17.752Z] Removing intermediate container b759c460863d [2021-03-09T02:47:17.752Z] ---> cf0601a353c8 [2021-03-09T02:47:17.752Z] Step 10/24 : FROM scratch [2021-03-09T02:47:17.752Z] ---> [2021-03-09T02:47:17.752Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:47:17.752Z] ---> Running in 8b5037207b97 [2021-03-09T02:47:18.013Z] Removing intermediate container 8b5037207b97 [2021-03-09T02:47:18.013Z] ---> d81707c3c285 [2021-03-09T02:47:18.013Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-09T02:47:18.013Z] ---> Running in 6201772d4dab [2021-03-09T02:47:18.013Z] Removing intermediate container 6201772d4dab [2021-03-09T02:47:18.013Z] ---> 57563f79feab [2021-03-09T02:47:18.013Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-09T02:47:18.275Z] ---> Running in 1b2901a186be [2021-03-09T02:47:18.276Z] Removing intermediate container 1b2901a186be [2021-03-09T02:47:18.276Z] ---> 6a81b2dddd2f [2021-03-09T02:47:18.276Z] Step 14/24 : WORKDIR / [2021-03-09T02:47:18.538Z] ---> Running in 87d3b26819ef [2021-03-09T02:47:18.538Z] Removing intermediate container 87d3b26819ef [2021-03-09T02:47:18.538Z] ---> 63d27fe14b0e [2021-03-09T02:47:18.538Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-09T02:47:19.112Z] ---> 7d03701e8306 [2021-03-09T02:47:19.112Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-09T02:47:19.375Z] ---> 6cf584a611b8 [2021-03-09T02:47:19.375Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-09T02:47:19.638Z] ---> cdc48779b236 [2021-03-09T02:47:19.638Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-09T02:47:19.638Z] ---> 313220a43242 [2021-03-09T02:47:19.638Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-09T02:47:19.900Z] ---> cac8741eb8a9 [2021-03-09T02:47:19.900Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-09T02:47:20.162Z] ---> Running in cd87a0a6c3ff [2021-03-09T02:47:20.162Z] Removing intermediate container cd87a0a6c3ff [2021-03-09T02:47:20.162Z] ---> 4d345a54bf4d [2021-03-09T02:47:20.162Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-09T02:47:20.424Z] ---> Running in 8508eb1a9c02 [2021-03-09T02:47:20.424Z] Removing intermediate container 8508eb1a9c02 [2021-03-09T02:47:20.424Z] ---> d31bf007b156 [2021-03-09T02:47:20.424Z] Step 22/24 : LABEL arch=amd64 [2021-03-09T02:47:20.686Z] ---> Running in beb3a1ea274e [2021-03-09T02:47:20.686Z] Removing intermediate container beb3a1ea274e [2021-03-09T02:47:20.686Z] ---> c23bcfaf7072 [2021-03-09T02:47:20.686Z] Step 23/24 : LABEL git_sha=ab68eead14817aa3b04c05b34ba690b95e77e74b [2021-03-09T02:47:20.686Z] ---> Running in 3a36e79966c1 [2021-03-09T02:47:20.949Z] Removing intermediate container 3a36e79966c1 [2021-03-09T02:47:20.949Z] ---> b132dc28e625 [2021-03-09T02:47:20.949Z] Step 24/24 : LABEL version=0.0.0 [2021-03-09T02:47:20.949Z] ---> Running in 18459ebb01f5 [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.5% of statements [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.109s coverage: 12.5% of statements [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.154s coverage: 84.8% of statements [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.257s coverage: 48.9% of statements [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.158s coverage: 81.3% of statements [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 24.8% of statements [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.747s coverage: 85.6% of statements [2021-03-09T02:47:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.155s coverage: 5.2% of statements [2021-03-09T02:47:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-09T02:47:21.188Z] GO111MODULE=on go vet ./... [2021-03-09T02:47:21.214Z] Removing intermediate container 18459ebb01f5 [2021-03-09T02:47:21.214Z] ---> 21b036089a3b [2021-03-09T02:47:21.214Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-09T02:47:21.214Z] Successfully built 21b036089a3b [2021-03-09T02:47:21.214Z] Successfully tagged device-sdk-simple: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-03-09T02:47:22.459Z] ---> job-cost.sh [2021-03-09T02:47:22.459Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Vdam [2021-03-09T02:47:37.401Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-09T02:48:00.239Z] gofmt -l . [2021-03-09T02:48:00.239Z] [ "`gofmt -l .`" = "" ] [2021-03-09T02:48:00.239Z] ./bin/test-attribution-txt.sh [2021-03-09T02:48:00.239Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-09T02:48:00.260Z] $ docker stop --time=1 fb24eea0dd4b33fda0db7daf4a6903298e4376bcac6236e394070dc5b2f8848f [2021-03-09T02:48:02.517Z] $ docker rm -f fb24eea0dd4b33fda0db7daf4a6903298e4376bcac6236e394070dc5b2f8848f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-09T02:48:03.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-09T02:48:03.716Z] Warning: overwriting stash ‘coverage-report’ [2021-03-09T02:48:04.045Z] lf-activate-venv(): INFO: Adding /tmp/venv-Vdam/bin to PATH [2021-03-09T02:48:04.045Z] INFO: No Stack... [2021-03-09T02:48:04.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-03-09T02:48:04.622Z] INFO: Retrieving Pricing Info for: v1-standard-2 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-09T02:48:05.182Z] + sudo chown -R jenkins:jenkins . [2021-03-09T02:48:05.199Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2021-03-09T02:48:05.528Z] + ls -al . [2021-03-09T02:48:05.528Z] total 220 [2021-03-09T02:48:05.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:47 . [2021-03-09T02:48:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 .. [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 02:44 .dockerignore [2021-03-09T02:48:05.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:44 .git [2021-03-09T02:48:05.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:44 .github [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 02:44 .gitignore [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 9 02:44 Dockerfile.build [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 9 02:44 Jenkinsfile [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 02:44 LICENSE [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 9 02:44 Makefile [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 9 02:44 README.md [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 9 02:44 RELEASE-NOTES.txt [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:42 VERSION [2021-03-09T02:48:05.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:44 bin [2021-03-09T02:48:05.528Z] -rw-r--r-- 1 jenkins jenkins 101321 Mar 9 02:47 coverage.out [2021-03-09T02:48:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 example [2021-03-09T02:48:05.528Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 9 02:47 go.mod [2021-03-09T02:48:05.528Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 9 02:47 go.sum [2021-03-09T02:48:05.528Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 02:44 internal [2021-03-09T02:48:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 openapi [2021-03-09T02:48:05.528Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 02:44 pkg [2021-03-09T02:48:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 snap [2021-03-09T02:48:05.528Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:48:05.658Z] + cat /w/workspace/device-sdk-go/17/archives/cost.csv [2021-03-09T02:48:05.658Z] + cut -d, -f6 [Pipeline] lock [2021-03-09T02:48:05.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] [2021-03-09T02:48:05.790Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] did not exist. Created. [2021-03-09T02:48:05.790Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] [Pipeline] { [2021-03-09T02:48:05.898Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ab68eead14817aa3b04c05b34ba690b95e77e74b --label arch=arm64 --label version=0.0.0 . [Pipeline] unstash [Pipeline] sh [2021-03-09T02:48:06.173Z] Sending build context to Docker daemon 2.535MB [2021-03-09T02:48:06.173Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-09T02:48:06.173Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-09T02:48:06.173Z] ---> 753533f97e6e [2021-03-09T02:48:06.173Z] Step 3/24 : ARG MAKE='make build' [2021-03-09T02:48:06.289Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-09T02:48:06.449Z] ---> Running in 6dc87264578c [2021-03-09T02:48:06.456Z] Stashed 1 file(s) [Pipeline] } [2021-03-09T02:48:06.473Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-09T02:48:07.048Z] Removing intermediate container 6dc87264578c [2021-03-09T02:48:07.048Z] ---> 6768bac5bc19 [2021-03-09T02:48:07.048Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-09T02:48:07.048Z] ---> Running in e544d76ec60f [Pipeline] // stage [Pipeline] } [2021-03-09T02:48:07.652Z] Removing intermediate container e544d76ec60f [2021-03-09T02:48:07.652Z] ---> cbbe22ab564b [2021-03-09T02:48:07.652Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:48:07.652Z] ---> Running in 244bb2728963 [2021-03-09T02:48:08.289Z] Removing intermediate container 244bb2728963 [2021-03-09T02:48:08.289Z] ---> 6ce17e651868 [2021-03-09T02:48:08.289Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-09T02:48:08.289Z] ---> Running in ed34b3c9c681 [2021-03-09T02:48:10.263Z] Removing intermediate container ed34b3c9c681 [2021-03-09T02:48:10.263Z] ---> df715ec8802d [2021-03-09T02:48:10.535Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-09T02:48:10.535Z] ---> Running in 0ed7bfd815e9 [2021-03-09T02:48:11.513Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-09T02:48:12.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-09T02:48:13.078Z] OK: 142 MiB in 39 packages [2021-03-09T02:48:14.056Z] Removing intermediate container 0ed7bfd815e9 [2021-03-09T02:48:14.056Z] ---> 3e53bd058680 [2021-03-09T02:48:14.056Z] Step 8/24 : COPY . . [2021-03-09T02:48:15.493Z] ---> 61b9ccc32fd0 [2021-03-09T02:48:15.493Z] Step 9/24 : RUN ${MAKE} [2021-03-09T02:48:15.493Z] ---> Running in 159ad66333e3 [2021-03-09T02:48:16.926Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-09T02:48:43.721Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-09T02:48:44.314Z] Removing intermediate container 159ad66333e3 [2021-03-09T02:48:44.314Z] ---> 57ac826a9d8b [2021-03-09T02:48:44.314Z] Step 10/24 : FROM scratch [2021-03-09T02:48:44.314Z] ---> [2021-03-09T02:48:44.314Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-09T02:48:44.584Z] ---> Running in 789c78459aee [2021-03-09T02:48:44.858Z] Removing intermediate container 789c78459aee [2021-03-09T02:48:44.858Z] ---> fbb029c83604 [2021-03-09T02:48:44.858Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-09T02:48:45.131Z] ---> Running in d42967aaa2c7 [2021-03-09T02:48:45.402Z] Removing intermediate container d42967aaa2c7 [2021-03-09T02:48:45.402Z] ---> ee12150f7afb [2021-03-09T02:48:45.402Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-09T02:48:45.402Z] ---> Running in 3130295c0994 [2021-03-09T02:48:46.006Z] Removing intermediate container 3130295c0994 [2021-03-09T02:48:46.006Z] ---> 19662678de54 [2021-03-09T02:48:46.006Z] Step 14/24 : WORKDIR / [2021-03-09T02:48:46.006Z] ---> Running in 8797fa147ef9 [2021-03-09T02:48:46.605Z] Removing intermediate container 8797fa147ef9 [2021-03-09T02:48:46.605Z] ---> 61ae6f8ad21f [2021-03-09T02:48:46.605Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-09T02:48:47.580Z] ---> 34322f1afdeb [2021-03-09T02:48:47.580Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-09T02:48:48.560Z] ---> 8d47828208d7 [2021-03-09T02:48:48.560Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-09T02:48:49.156Z] ---> 7fde047374a4 [2021-03-09T02:48:49.156Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-09T02:48:49.752Z] ---> b98244960545 [2021-03-09T02:48:49.753Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-09T02:48:50.727Z] ---> 102d1958742d [2021-03-09T02:48:50.727Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-09T02:48:50.727Z] ---> Running in 318aa441bb17 [2021-03-09T02:48:50.997Z] Removing intermediate container 318aa441bb17 [2021-03-09T02:48:50.997Z] ---> 6effc6cd2537 [2021-03-09T02:48:50.997Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-09T02:48:51.270Z] ---> Running in 77ba0ee04f86 [2021-03-09T02:48:51.542Z] Removing intermediate container 77ba0ee04f86 [2021-03-09T02:48:51.542Z] ---> 3635b043f556 [2021-03-09T02:48:51.542Z] Step 22/24 : LABEL arch=arm64 [2021-03-09T02:48:51.813Z] ---> Running in 9e5f5023b39a [2021-03-09T02:48:52.409Z] Removing intermediate container 9e5f5023b39a [2021-03-09T02:48:52.409Z] ---> 82453d1dd004 [2021-03-09T02:48:52.409Z] Step 23/24 : LABEL git_sha=ab68eead14817aa3b04c05b34ba690b95e77e74b [2021-03-09T02:48:52.409Z] ---> Running in 8b865e784cfa [2021-03-09T02:48:53.004Z] Removing intermediate container 8b865e784cfa [2021-03-09T02:48:53.004Z] ---> 180be34553cf [2021-03-09T02:48:53.004Z] Step 24/24 : LABEL version=0.0.0 [2021-03-09T02:48:53.004Z] ---> Running in 36a6f03cf887 [2021-03-09T02:48:53.602Z] Removing intermediate container 36a6f03cf887 [2021-03-09T02:48:53.602Z] ---> b336470baf54 [2021-03-09T02:48:53.602Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-09T02:48:53.602Z] Successfully built b336470baf54 [2021-03-09T02:48:53.602Z] Successfully tagged device-sdk-simple-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-03-09T02:48:54.488Z] ---> job-cost.sh [2021-03-09T02:48:54.488Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uzVA [2021-03-09T02:49:33.439Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-09T02:51:10.185Z] lf-activate-venv(): INFO: Adding /tmp/venv-uzVA/bin to PATH [2021-03-09T02:51:10.185Z] INFO: No Stack... [2021-03-09T02:51:10.185Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-09T02:51:10.185Z] INFO: Archiving Costs [Pipeline] sh [2021-03-09T02:51:10.533Z] + cat /w/workspace/device-sdk-go/17/archives/cost.csv [2021-03-09T02:51:10.533Z] + cut -d, -f6 [Pipeline] lock [2021-03-09T02:51:10.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] [2021-03-09T02:51:10.664Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] did not exist. Created. [2021-03-09T02:51:10.664Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-09T02:51:11.126Z] /w/workspace/device-sdk-go/17@tmp/durable-298760eb/script.sh: 1: /w/workspace/device-sdk-go/17@tmp/durable-298760eb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-09T02:51:11.466Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-09T02:51:11.545Z] Warning: overwriting stash ‘stack-cost’ [2021-03-09T02:51:11.702Z] Stashed 1 file(s) [Pipeline] } [2021-03-09T02:51:11.716Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-17-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-03-09T02:51:13.430Z] provisioning config files... [2021-03-09T02:51:13.441Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5461754558343983878tmp [Pipeline] { [Pipeline] sh [2021-03-09T02:51:13.869Z] + set +x [2021-03-09T02:51:13.869Z] + curl -s https://codecov.io/bash [2021-03-09T02:51:13.869Z] + bash -s -- [2021-03-09T02:51:14.133Z] [2021-03-09T02:51:14.133Z] _____ _ [2021-03-09T02:51:14.133Z] / ____| | | [2021-03-09T02:51:14.133Z] | | ___ __| | ___ ___ _____ __ [2021-03-09T02:51:14.133Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-09T02:51:14.133Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-09T02:51:14.133Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-09T02:51:14.133Z] Bash-20210226-7100762 [2021-03-09T02:51:14.133Z] [2021-03-09T02:51:14.133Z] [2021-03-09T02:51:14.133Z] ==> git version 2.24.3 found [2021-03-09T02:51:14.133Z] ==> 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-03-09T02:51:14.133Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-09T02:51:14.133Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-09T02:51:14.133Z] ==> Jenkins CI detected. [2021-03-09T02:51:14.133Z] project root: . [2021-03-09T02:51:14.133Z] --> token set from env [2021-03-09T02:51:14.133Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-09T02:51:14.133Z] ==> Running gcov in . (disable via -X gcov) [2021-03-09T02:51:14.133Z] ==> Python coveragepy not found [2021-03-09T02:51:14.133Z] ==> Searching for coverage reports in: [2021-03-09T02:51:14.133Z] + . [2021-03-09T02:51:14.133Z] -> Found 1 reports [2021-03-09T02:51:14.133Z] ==> Detecting git/mercurial file structure [2021-03-09T02:51:14.133Z] ==> Reading reports [2021-03-09T02:51:14.133Z] + ./coverage.out bytes=101321 [2021-03-09T02:51:14.133Z] ==> Appending adjustments [2021-03-09T02:51:14.133Z] https://docs.codecov.io/docs/fixing-reports [2021-03-09T02:51:14.707Z] + Found adjustments [2021-03-09T02:51:14.707Z] ==> Gzipping contents [2021-03-09T02:51:14.707Z] 20K /tmp/codecov.heyi0Z.gz [2021-03-09T02:51:14.707Z] ==> Uploading reports [2021-03-09T02:51:14.707Z] url: https://codecov.io [2021-03-09T02:51:14.707Z] query: branch=PR-725&commit=ab68eead14817aa3b04c05b34ba690b95e77e74b&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-09T02:51:14.707Z] -> Pinging Codecov [2021-03-09T02:51:14.707Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-725&commit=ab68eead14817aa3b04c05b34ba690b95e77e74b&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-09T02:51:15.655Z] -> Uploading to [2021-03-09T02:51:15.655Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-09/7E55EF52A471D76F132DFD9A03CDDE97/ab68eead14817aa3b04c05b34ba690b95e77e74b/0882cf9b-994b-43a7-b189-1784cd2634a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210309T025115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf832406d62e1b2bcc8dcc145a662fd82a00ce2ffdfaf03a2dbe225ee3162e24 [2021-03-09T02:51:15.655Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-09T02:51:15.655Z] Dload Upload Total Spent Left Speed [2021-03-09T02:51:16.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16535 0 0 100 16535 0 35292 --:--:-- --:--:-- --:--:-- 35255 [2021-03-09T02:51:16.181Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ab68eead14817aa3b04c05b34ba690b95e77e74b [Pipeline] } [2021-03-09T02:51:16.191Z] 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-03-09T02:51:19.018Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:19.589Z] ---> package-listing.sh [2021-03-09T02:51:19.590Z] ++ facter osfamily [2021-03-09T02:51:19.590Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-09T02:51:19.590Z] + OS_FAMILY=redhat [2021-03-09T02:51:19.590Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-09T02:51:19.590Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-09T02:51:19.590Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-09T02:51:19.590Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-09T02:51:19.590Z] + PACKAGES=/tmp/packages_start.txt [2021-03-09T02:51:19.590Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-09T02:51:19.590Z] + PACKAGES=/tmp/packages_end.txt [2021-03-09T02:51:19.590Z] + case "${OS_FAMILY}" in [2021-03-09T02:51:19.590Z] + rpm -qa [2021-03-09T02:51:19.590Z] + sort [2021-03-09T02:51:24.905Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-09T02:51:24.905Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-09T02:51:24.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-09T02:51:24.905Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-09T02:51:24.905Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-09T02:51:24.906Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-03-09T02:51:24.918Z] 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-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-09T02:51:25.208Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:51:25.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T02:51:25.518Z] [2021-03-09T02:51:25.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-09T02:51:25.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T02:51:25.869Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-09T02:51:25.869Z] df20fa9351a1: Pulling fs layer [2021-03-09T02:51:25.869Z] 36b3adc4ff6f: Pulling fs layer [2021-03-09T02:51:25.869Z] 8ad3a11d3b57: Pulling fs layer [2021-03-09T02:51:25.869Z] 46f8f816bc3b: Pulling fs layer [2021-03-09T02:51:25.869Z] 93b61091891f: Pulling fs layer [2021-03-09T02:51:25.869Z] 93b9cdb0e59b: Pulling fs layer [2021-03-09T02:51:25.869Z] 5e14af77c1be: Pulling fs layer [2021-03-09T02:51:25.869Z] 01666e4c0597: Pulling fs layer [2021-03-09T02:51:25.869Z] aa168da1d23b: Pulling fs layer [2021-03-09T02:51:25.869Z] 93b61091891f: Waiting [2021-03-09T02:51:25.869Z] 93b9cdb0e59b: Waiting [2021-03-09T02:51:25.869Z] 5e14af77c1be: Waiting [2021-03-09T02:51:25.869Z] 01666e4c0597: Waiting [2021-03-09T02:51:25.869Z] aa168da1d23b: Waiting [2021-03-09T02:51:25.869Z] 36b3adc4ff6f: Verifying Checksum [2021-03-09T02:51:25.869Z] 36b3adc4ff6f: Download complete [2021-03-09T02:51:25.869Z] 46f8f816bc3b: Download complete [2021-03-09T02:51:26.131Z] df20fa9351a1: Verifying Checksum [2021-03-09T02:51:26.131Z] df20fa9351a1: Download complete [2021-03-09T02:51:26.131Z] 93b9cdb0e59b: Verifying Checksum [2021-03-09T02:51:26.131Z] 93b9cdb0e59b: Download complete [2021-03-09T02:51:26.131Z] 5e14af77c1be: Verifying Checksum [2021-03-09T02:51:26.131Z] 5e14af77c1be: Download complete [2021-03-09T02:51:26.131Z] 93b61091891f: Verifying Checksum [2021-03-09T02:51:26.131Z] 93b61091891f: Download complete [2021-03-09T02:51:26.131Z] 01666e4c0597: Verifying Checksum [2021-03-09T02:51:26.131Z] 01666e4c0597: Download complete [2021-03-09T02:51:26.131Z] 8ad3a11d3b57: Verifying Checksum [2021-03-09T02:51:26.131Z] 8ad3a11d3b57: Download complete [2021-03-09T02:51:26.394Z] df20fa9351a1: Pull complete [2021-03-09T02:51:26.664Z] 36b3adc4ff6f: Pull complete [2021-03-09T02:51:27.247Z] 8ad3a11d3b57: Pull complete [2021-03-09T02:51:27.247Z] 46f8f816bc3b: Pull complete [2021-03-09T02:51:27.826Z] 93b61091891f: Pull complete [2021-03-09T02:51:27.826Z] 93b9cdb0e59b: Pull complete [2021-03-09T02:51:27.826Z] 5e14af77c1be: Pull complete [2021-03-09T02:51:28.782Z] aa168da1d23b: Verifying Checksum [2021-03-09T02:51:28.782Z] aa168da1d23b: Download complete [2021-03-09T02:51:29.044Z] 01666e4c0597: Pull complete [2021-03-09T02:51:37.241Z] aa168da1d23b: Pull complete [2021-03-09T02:51:37.241Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-09T02:51:37.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-09T02:51:37.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-09T02:51:37.479Z] prd-centos7-docker-4c-2g-29083 does not seem to be running inside a container [2021-03-09T02:51:37.550Z] $ 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-sdk-go_PR-725/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-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-09T02:51:41.613Z] $ docker top 379136553c1f3538d5efda08f6744aa1ed781d4b7c34d171e1e9957c72d8a3e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-09T02:51:42.212Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-09T02:51:42.513Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-09T02:51:42.823Z] + ls /var/log/sa-host [2021-03-09T02:51:42.823Z] + sadf -c /var/log/sa-host/sa09 [2021-03-09T02:51:42.823Z] file_magic: OK [2021-03-09T02:51:42.823Z] HZ: Using current value: 100 [2021-03-09T02:51:42.823Z] file_header: OK [2021-03-09T02:51:42.823Z] 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-03-09T02:51:42.823Z] Statistics: [2021-03-09T02:51:42.823Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-09T02:51:42.823Z] File successfully converted to sysstat format version 12.2.1 [2021-03-09T02:51:42.823Z] + sadf -c /var/log/sa-host/sa23 [2021-03-09T02:51:42.823Z] file_magic: OK [2021-03-09T02:51:42.823Z] HZ: Using current value: 100 [2021-03-09T02:51:42.823Z] file_header: OK [2021-03-09T02:51:42.823Z] 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-03-09T02:51:42.823Z] Statistics: [2021-03-09T02:51:42.823Z] Hnuu...uuuununununu... [2021-03-09T02:51:42.823Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-09T02:51:43.415Z] provisioning config files... [2021-03-09T02:51:43.431Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2477377441762903332tmp [Pipeline] { [Pipeline] echo [2021-03-09T02:51:43.545Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:43.843Z] ---> create-netrc.sh [Pipeline] } [2021-03-09T02:51:43.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-09T02:51:43.980Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:44.284Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-09T02:51:44.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:44.593Z] ---> sudo-logs.sh [2021-03-09T02:51:44.593Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-09T02:51:44.659Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:44.960Z] ---> job-cost.sh [2021-03-09T02:51:44.960Z] lf-activate-venv: SKIPPING [2021-03-09T02:51:44.960Z] DEBUG: total: 0.20999999344348907 [2021-03-09T02:51:44.960Z] INFO: Retrieving Stack Cost... [2021-03-09T02:51:46.349Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-09T02:51:46.613Z] INFO: Archiving Costs [Pipeline] echo [2021-03-09T02:51:46.627Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-09T02:51:46.924Z] ---> logs-deploy.sh [2021-03-09T02:51:46.924Z] lf-activate-venv: SKIPPING [2021-03-09T02:51:46.924Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/17 [2021-03-09T02:51:46.924Z] INFO: archiving workspace using pattern(s): [2021-03-09T02:51:48.844Z] Archives upload complete. [2021-03-09T02:51:48.844Z] INFO: archiving logs to Nexus