Pull request #810 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75663ab93bad3fbe0e90708ec208749593d2616e+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (6349b7fb6f1cd9085d26bd152c87adf618e60432) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-810/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-810/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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:docker-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: docker-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28930 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 [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-810 # 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 75663ab93bad3fbe0e90708ec208749593d2616e Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) > 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/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T03:29:24.137Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T03:29:24.517Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T03:29:24.720Z] ========================================================= [2021-03-08T03:29:24.720Z] EdgeX Global Pipelines Version Info [2021-03-08T03:29:24.720Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:29:26.304Z] ------------------- [2021-03-08T03:29:26.304Z] stable info: [2021-03-08T03:29:26.304Z] ------------------- [2021-03-08T03:29:26.304Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T03:29:26.304Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:29:26.304Z] Message: update stable to v1.0.184 [2021-03-08T03:29:27.255Z] ------------------- [2021-03-08T03:29:27.255Z] experimental info: [2021-03-08T03:29:27.255Z] ------------------- [2021-03-08T03:29:27.256Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T03:29:27.256Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:29:27.256Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T03:29:27.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-08T03:29:27.809Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-08T03:29:27.944Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T03:29:28.078Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T03:29:28.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T03:29:28.363Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T03:29:28.526Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T03:29:28.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T03:29:28.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-08T03:29:29.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T03:29:29.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T03:29:29.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-08T03:29:29.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T03:29:29.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T03:29:29.820Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-08T03:29:29.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:29:30.162Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:29:30.306Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:29:30.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T03:29:30.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T03:29:30.778Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T03:29:30.907Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-08T03:29:31.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T03:29:31.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T03:29:31.319Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-08T03:29:31.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T03:29:31.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-810 [Pipeline] echo [2021-03-08T03:29:31.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-810 [Pipeline] echo [2021-03-08T03:29:31.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-810 [Pipeline] echo [2021-03-08T03:29:31.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] echo [2021-03-08T03:29:32.121Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75663ab [Pipeline] echo [2021-03-08T03:29:32.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:29:32.516Z] provisioning config files... [2021-03-08T03:29:32.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config7126388659648271844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:29:32.970Z] ---> docker-login.sh [2021-03-08T03:29:32.971Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:29:33.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:33.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:33.497Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:33.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:33.497Z] [2021-03-08T03:29:33.497Z] Login Succeeded [2021-03-08T03:29:33.497Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:29:33.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:33.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:33.497Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:33.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:33.497Z] [2021-03-08T03:29:33.497Z] Login Succeeded [2021-03-08T03:29:33.497Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:29:33.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:33.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:33.758Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:33.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:33.758Z] [2021-03-08T03:29:33.758Z] Login Succeeded [2021-03-08T03:29:33.758Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:29:33.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:34.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:34.021Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:34.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:34.021Z] [2021-03-08T03:29:34.021Z] Login Succeeded [2021-03-08T03:29:34.021Z] docker.io [2021-03-08T03:29:34.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:34.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:34.282Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:34.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:34.282Z] [2021-03-08T03:29:34.282Z] Login Succeeded [2021-03-08T03:29:34.282Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:29:34.324Z] 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-08T03:29:35.554Z] + git log --format=format:%s -1 75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] echo [2021-03-08T03:29:35.649Z] GIT_COMMIT: 75663ab93bad3fbe0e90708ec208749593d2616e, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-03-08T03:29:35.733Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:29:36.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:29:36.848Z] [2021-03-08T03:29:36.848Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:29:37.282Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:29:37.282Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T03:29:37.282Z] 31603596830f: Pulling fs layer [2021-03-08T03:29:37.282Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T03:29:37.282Z] 6ca5941a6612: Pulling fs layer [2021-03-08T03:29:37.282Z] ecc8261a40a4: Pulling fs layer [2021-03-08T03:29:37.282Z] ecc8261a40a4: Waiting [2021-03-08T03:29:37.282Z] 2a8b12db71e7: Verifying Checksum [2021-03-08T03:29:37.282Z] 2a8b12db71e7: Download complete [2021-03-08T03:29:37.556Z] 31603596830f: Verifying Checksum [2021-03-08T03:29:37.556Z] 31603596830f: Download complete [2021-03-08T03:29:37.556Z] ecc8261a40a4: Verifying Checksum [2021-03-08T03:29:37.556Z] ecc8261a40a4: Download complete [2021-03-08T03:29:37.556Z] 6ca5941a6612: Verifying Checksum [2021-03-08T03:29:37.556Z] 6ca5941a6612: Download complete [2021-03-08T03:29:37.818Z] 31603596830f: Pull complete [2021-03-08T03:29:37.818Z] 2a8b12db71e7: Pull complete [2021-03-08T03:29:38.765Z] 6ca5941a6612: Pull complete [2021-03-08T03:29:39.037Z] ecc8261a40a4: Pull complete [2021-03-08T03:29:39.037Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T03:29:39.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:29:39.037Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T03:29:39.181Z] prd-centos7-docker-4c-2g-28930 does not seem to be running inside a container [2021-03-08T03:29:39.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-810 -v /w/workspace/dgexfoundry_device-sdk-go_PR-810:/w/workspace/dgexfoundry_device-sdk-go_PR-810:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-810@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T03:29:41.234Z] $ docker top 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:29:41.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:29:41.789Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:29:42.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:29:42.010Z] $ docker exec 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent [2021-03-08T03:29:42.170Z] SSH_AUTH_SOCK=/tmp/ssh-h3ifkGv4KtHP/agent.12 [2021-03-08T03:29:42.170Z] SSH_AGENT_PID=17 [2021-03-08T03:29:42.178Z] Running ssh-add (command line suppressed) [2021-03-08T03:29:42.297Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_6422521753163248607.key (/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_6422521753163248607.key) [2021-03-08T03:29:42.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:29:42.740Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T03:29:42.770Z] $ docker exec --env ******** --env ******** 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent -k [2021-03-08T03:29:42.880Z] unset SSH_AUTH_SOCK; [2021-03-08T03:29:42.880Z] unset SSH_AGENT_PID; [2021-03-08T03:29:42.880Z] echo Agent pid 17 killed; [2021-03-08T03:29:42.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T03:29:43.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:29:43.159Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:29:43.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:29:43.333Z] $ docker exec 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent [2021-03-08T03:29:43.495Z] SSH_AUTH_SOCK=/tmp/ssh-OlUV0X23qZ02/agent.46 [2021-03-08T03:29:43.495Z] SSH_AGENT_PID=52 [2021-03-08T03:29:43.501Z] Running ssh-add (command line suppressed) [2021-03-08T03:29:43.617Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_1137310092641910974.key (/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_1137310092641910974.key) [2021-03-08T03:29:43.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:29:44.052Z] + git semver init [2021-03-08T03:29:44.052Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:29:44.052Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-810/.git [2021-03-08T03:29:44.052Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-810 [2021-03-08T03:29:44.052Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:29:44.052Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:29:44.052Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:29:44.052Z] # $SEMVER_BRANCH = PR-810 [2021-03-08T03:29:44.052Z] # $SEMVER_TEMP = /tmp/semver-670622626 [2021-03-08T03:29:44.052Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-08T03:29:44.629Z] # '/tmp/semver-670622626' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-810/.semver' [2021-03-08T03:29:44.629Z] # -> Force: false [2021-03-08T03:29:44.629Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-810/.semver [Pipeline] } [2021-03-08T03:29:44.652Z] $ docker exec --env ******** --env ******** 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent -k [2021-03-08T03:29:44.769Z] unset SSH_AUTH_SOCK; [2021-03-08T03:29:44.770Z] unset SSH_AGENT_PID; [2021-03-08T03:29:44.770Z] echo Agent pid 52 killed; [2021-03-08T03:29:44.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:29:45.381Z] + git semver [Pipeline] } [2021-03-08T03:29:45.422Z] $ docker stop --time=1 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c [2021-03-08T03:29:46.834Z] $ docker rm -f 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:29:47.362Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T03:29:47.818Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T03:29:47.839Z] [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-08T03:30:03.642Z] Still waiting to schedule task [2021-03-08T03:30:03.642Z] ‘prd-centos7-docker-4c-2g-28925’ is offline; ‘prd-centos7-docker-4c-2g-28931’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28926’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-08T03:30:03.667Z] Still waiting to schedule task [2021-03-08T03:30:03.667Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-08T03:32:55.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28932 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 [Pipeline] { [Pipeline] ws [2021-03-08T03:32:55.587Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-08T03:33:01.080Z] using credential edgex-jenkins-ssh [2021-03-08T03:33:01.142Z] Cloning the remote Git repository [2021-03-08T03:33:01.226Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:33:01.354Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-08T03:33:01.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:33:01.429Z] > git --version # timeout=10 [2021-03-08T03:33:01.449Z] > git --version # 'git version 2.17.1' [2021-03-08T03:33:01.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:33:01.529Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:33:02.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:33:02.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:33:02.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:33:03.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:33:03.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:33:03.040Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:33:03.514Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:33:03.745Z] Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:33:03.745Z] Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) [2021-03-08T03:33:03.563Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:33:03.581Z] > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 [2021-03-08T03:33:03.687Z] > git remote # timeout=10 [2021-03-08T03:33:03.700Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T03:33:03.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:33:03.736Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T03:33:03.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T03:33:03.779Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:33:03.791Z] > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 [2021-03-08T03:33:08.053Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-08T03:33:08.136Z] > git --version # timeout=10 [2021-03-08T03:33:08.150Z] > git --version # 'git version 2.17.1' [2021-03-08T03:33:08.164Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:33:09.767Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:33:10.189Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:33:10.569Z] + sudo service docker restart [2021-03-08T03:33:10.569Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:33:13.392Z] provisioning config files... [2021-03-08T03:33:13.430Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1011950611199350291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:33:13.902Z] ---> docker-login.sh [2021-03-08T03:33:13.902Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:33:14.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:33:15.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:33:15.109Z] Configure a credential helper to remove this warning. See [2021-03-08T03:33:15.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:33:15.109Z] [2021-03-08T03:33:15.109Z] Login Succeeded [2021-03-08T03:33:15.109Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:33:15.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:33:15.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:33:15.385Z] Configure a credential helper to remove this warning. See [2021-03-08T03:33:15.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:33:15.385Z] [2021-03-08T03:33:15.385Z] Login Succeeded [2021-03-08T03:33:15.385Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:33:15.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:33:15.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:33:15.988Z] Configure a credential helper to remove this warning. See [2021-03-08T03:33:15.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:33:15.988Z] [2021-03-08T03:33:15.988Z] Login Succeeded [2021-03-08T03:33:15.988Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:33:16.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:33:16.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:33:16.542Z] Configure a credential helper to remove this warning. See [2021-03-08T03:33:16.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:33:16.542Z] [2021-03-08T03:33:16.542Z] Login Succeeded [2021-03-08T03:33:16.542Z] docker.io [2021-03-08T03:33:16.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:33:17.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:33:17.088Z] Configure a credential helper to remove this warning. See [2021-03-08T03:33:17.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:33:17.088Z] [2021-03-08T03:33:17.088Z] Login Succeeded [2021-03-08T03:33:17.088Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:33:17.128Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T03:33:17.692Z] ========================================================= [2021-03-08T03:33:17.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T03:33:17.692Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:33:18.117Z] + 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-08T03:33:18.394Z] Sending build context to Docker daemon 2.427MB [2021-03-08T03:33:18.668Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:33:18.668Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:33:18.668Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T03:33:18.668Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T03:33:18.668Z] a4357932f1b6: Pulling fs layer [2021-03-08T03:33:18.668Z] 18c013af1878: Pulling fs layer [2021-03-08T03:33:18.668Z] 00ac8860ef70: Pulling fs layer [2021-03-08T03:33:18.668Z] 63d7cb157983: Pulling fs layer [2021-03-08T03:33:18.668Z] b116817d02f9: Pulling fs layer [2021-03-08T03:33:18.668Z] 745a02a5169b: Pulling fs layer [2021-03-08T03:33:18.668Z] 63d7cb157983: Waiting [2021-03-08T03:33:18.668Z] b116817d02f9: Waiting [2021-03-08T03:33:18.668Z] 00ac8860ef70: Waiting [2021-03-08T03:33:18.668Z] 18c013af1878: Verifying Checksum [2021-03-08T03:33:18.668Z] 18c013af1878: Download complete [2021-03-08T03:33:18.668Z] a4357932f1b6: Verifying Checksum [2021-03-08T03:33:18.668Z] a4357932f1b6: Download complete [2021-03-08T03:33:18.668Z] 63d7cb157983: Verifying Checksum [2021-03-08T03:33:18.668Z] 63d7cb157983: Download complete [2021-03-08T03:33:19.267Z] b116817d02f9: Download complete [2021-03-08T03:33:19.267Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T03:33:19.267Z] 5f621e34cdf4: Download complete [2021-03-08T03:33:20.268Z] 5f621e34cdf4: Pull complete [2021-03-08T03:33:20.545Z] a4357932f1b6: Pull complete [2021-03-08T03:33:21.159Z] 18c013af1878: Pull complete [2021-03-08T03:33:21.754Z] 745a02a5169b: Verifying Checksum [2021-03-08T03:33:21.754Z] 745a02a5169b: Download complete [2021-03-08T03:33:23.179Z] 00ac8860ef70: Verifying Checksum [2021-03-08T03:33:23.179Z] 00ac8860ef70: Download complete [2021-03-08T03:33:33.351Z] 00ac8860ef70: Pull complete [2021-03-08T03:33:33.351Z] 63d7cb157983: Pull complete [2021-03-08T03:33:33.351Z] b116817d02f9: Pull complete [2021-03-08T03:33:36.762Z] 745a02a5169b: Pull complete [2021-03-08T03:33:36.762Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T03:33:36.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T03:33:36.762Z] ---> b7e6874047d6 [2021-03-08T03:33:36.762Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:33:39.395Z] ---> Running in 1c16813dd848 [2021-03-08T03:33:39.676Z] Removing intermediate container 1c16813dd848 [2021-03-08T03:33:39.676Z] ---> 09edbc0eb57f [2021-03-08T03:33:39.676Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:33:39.676Z] ---> Running in 2cb64843a274 [2021-03-08T03:33:42.299Z] Removing intermediate container 2cb64843a274 [2021-03-08T03:33:42.299Z] ---> 5d4bc50976f0 [2021-03-08T03:33:42.299Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:33:42.299Z] ---> Running in 4dd1afd7037c [2021-03-08T03:33:42.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:33:43.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:33:44.473Z] OK: 142 MiB in 39 packages [2021-03-08T03:33:45.908Z] Removing intermediate container 4dd1afd7037c [2021-03-08T03:33:45.908Z] ---> e0fec0c62c9c [2021-03-08T03:33:45.908Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:33:45.908Z] ---> Running in a939c9d7812f [2021-03-08T03:33:46.181Z] Removing intermediate container a939c9d7812f [2021-03-08T03:33:46.181Z] ---> 6093b8f6957e [2021-03-08T03:33:46.181Z] Step 7/8 : COPY . . [2021-03-08T03:33:47.612Z] ---> e4e208f6f1a0 [2021-03-08T03:33:47.612Z] Step 8/8 : RUN go mod download [2021-03-08T03:33:47.612Z] ---> Running in c60f30206e0c [2021-03-08T03:34:14.548Z] Removing intermediate container c60f30206e0c [2021-03-08T03:34:14.548Z] ---> dce64869d42d [2021-03-08T03:34:14.548Z] Successfully built dce64869d42d [2021-03-08T03:34:14.548Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:34:14.946Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:34:14.946Z] . [Pipeline] withDockerContainer [2021-03-08T03:34:15.244Z] prd-ubuntu18.04-docker-arm64-4c-16g-28932 does not seem to be running inside a container [2021-03-08T03:34:15.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T03:34:16.909Z] $ docker top ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:34:17.960Z] + go version [2021-03-08T03:34:17.960Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-08T03:34:18.034Z] $ docker stop --time=1 ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 [2021-03-08T03:34:19.980Z] $ docker rm -f ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:34:21.323Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:34:21.324Z] . [Pipeline] withDockerContainer [2021-03-08T03:34:21.580Z] prd-ubuntu18.04-docker-arm64-4c-16g-28932 does not seem to be running inside a container [2021-03-08T03:34:21.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T03:34:21.752Z] Running on prd-centos7-docker-4c-2g-28933 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 [2021-03-08T03:34:23.229Z] $ docker top 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-03-08T03:34:23.769Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-08T03:34:24.335Z] + make test [2021-03-08T03:34:24.335Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:34:31.164Z] using credential edgex-jenkins-ssh [2021-03-08T03:34:31.234Z] Cloning the remote Git repository [2021-03-08T03:34:31.289Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:34:31.398Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-08T03:34:31.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:34:31.935Z] > git --version # timeout=10 [2021-03-08T03:34:31.978Z] > git --version # 'git version 2.24.3' [2021-03-08T03:34:31.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:34:32.048Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:34:33.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:34:33.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:34:34.322Z] Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:34:33.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:34:33.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:34:33.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:34:33.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:34:34.340Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:34:34.401Z] > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 [2021-03-08T03:34:34.558Z] > git remote # timeout=10 [2021-03-08T03:34:34.724Z] Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:34:34.725Z] Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) [2021-03-08T03:34:34.618Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T03:34:34.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:34:34.660Z] > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T03:34:34.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T03:34:34.731Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:34:34.763Z] > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 [2021-03-08T03:34:40.985Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-08T03:34:41.032Z] > git --version # timeout=10 [2021-03-08T03:34:41.038Z] > git --version # 'git version 2.24.3' [2021-03-08T03:34:41.046Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:34:42.702Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:34:43.102Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:34:43.459Z] + sudo service docker restart [2021-03-08T03:34:43.459Z] + true [2021-03-08T03:34:43.459Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:34:45.668Z] provisioning config files... [2021-03-08T03:34:45.706Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1000695208437410489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:34:46.530Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:34:46.539Z] ---> docker-login.sh [2021-03-08T03:34:46.539Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:34:48.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:34:48.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:34:48.727Z] Configure a credential helper to remove this warning. See [2021-03-08T03:34:48.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:34:48.727Z] [2021-03-08T03:34:48.727Z] Login Succeeded [2021-03-08T03:34:48.727Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:34:49.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:34:49.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:34:49.376Z] Configure a credential helper to remove this warning. See [2021-03-08T03:34:49.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:34:49.376Z] [2021-03-08T03:34:49.376Z] Login Succeeded [2021-03-08T03:34:49.376Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:34:49.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:34:49.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:34:49.943Z] Configure a credential helper to remove this warning. See [2021-03-08T03:34:49.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:34:49.943Z] [2021-03-08T03:34:49.943Z] Login Succeeded [2021-03-08T03:34:49.943Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:34:50.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:34:50.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:34:50.216Z] Configure a credential helper to remove this warning. See [2021-03-08T03:34:50.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:34:50.216Z] [2021-03-08T03:34:50.216Z] Login Succeeded [2021-03-08T03:34:50.216Z] docker.io [2021-03-08T03:34:50.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:34:50.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:34:50.744Z] Configure a credential helper to remove this warning. See [2021-03-08T03:34:50.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:34:50.744Z] [2021-03-08T03:34:50.744Z] Login Succeeded [2021-03-08T03:34:50.744Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:34:50.777Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T03:34:51.514Z] ========================================================= [2021-03-08T03:34:51.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T03:34:51.515Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:34:51.932Z] + 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-08T03:34:52.611Z] Sending build context to Docker daemon 2.426MB [2021-03-08T03:34:52.951Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:34:52.951Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:34:52.951Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T03:34:52.951Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T03:34:52.951Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T03:34:52.951Z] de9db76c5a1d: Pulling fs layer [2021-03-08T03:34:52.951Z] bca2f99d35d6: Pulling fs layer [2021-03-08T03:34:52.951Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T03:34:52.951Z] 7c6f9722023f: Pulling fs layer [2021-03-08T03:34:52.951Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T03:34:52.951Z] 93359f2a8cfa: Waiting [2021-03-08T03:34:52.951Z] 7c6f9722023f: Waiting [2021-03-08T03:34:52.951Z] a35cf1a2eb13: Waiting [2021-03-08T03:34:52.951Z] bca2f99d35d6: Waiting [2021-03-08T03:34:52.951Z] de9db76c5a1d: Verifying Checksum [2021-03-08T03:34:52.951Z] de9db76c5a1d: Download complete [2021-03-08T03:34:52.951Z] 0ef7d3d256c8: Download complete [2021-03-08T03:34:52.951Z] 93359f2a8cfa: Verifying Checksum [2021-03-08T03:34:52.951Z] 93359f2a8cfa: Download complete [2021-03-08T03:34:52.951Z] 7c6f9722023f: Verifying Checksum [2021-03-08T03:34:52.951Z] 7c6f9722023f: Download complete [2021-03-08T03:34:53.298Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T03:34:53.298Z] 188c0c94c7c5: Download complete [2021-03-08T03:34:54.884Z] 188c0c94c7c5: Pull complete [2021-03-08T03:34:55.172Z] 0ef7d3d256c8: Pull complete [2021-03-08T03:34:55.799Z] de9db76c5a1d: Pull complete [2021-03-08T03:34:57.883Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T03:34:57.883Z] a35cf1a2eb13: Download complete [2021-03-08T03:34:58.873Z] bca2f99d35d6: Verifying Checksum [2021-03-08T03:34:58.873Z] bca2f99d35d6: Download complete [2021-03-08T03:35:17.527Z] bca2f99d35d6: Pull complete [2021-03-08T03:35:17.527Z] 93359f2a8cfa: Pull complete [2021-03-08T03:35:17.527Z] 7c6f9722023f: Pull complete [2021-03-08T03:35:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:35:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:35:25.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:35:28.120Z] a35cf1a2eb13: Pull complete [2021-03-08T03:35:28.120Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T03:35:28.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T03:35:28.120Z] ---> a62c8e92a672 [2021-03-08T03:35:28.120Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:35:28.120Z] ---> Running in f6156680a5ed [2021-03-08T03:35:28.120Z] Removing intermediate container f6156680a5ed [2021-03-08T03:35:28.120Z] ---> 644c9333d276 [2021-03-08T03:35:28.120Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:35:28.120Z] ---> Running in 4e1e5f469a36 [2021-03-08T03:35:32.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.118s coverage: 25.5% of statements [2021-03-08T03:35:32.579Z] Removing intermediate container 4e1e5f469a36 [2021-03-08T03:35:32.579Z] ---> 4e76407119a3 [2021-03-08T03:35:32.579Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:35:32.579Z] ---> Running in 626e999032f9 [2021-03-08T03:35:33.749Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:35:34.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:35:35.022Z] OK: 166 MiB in 39 packages [2021-03-08T03:35:36.104Z] Removing intermediate container 626e999032f9 [2021-03-08T03:35:36.104Z] ---> af7030157599 [2021-03-08T03:35:36.104Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:35:36.390Z] ---> Running in 26ac0f205b8e [2021-03-08T03:35:37.519Z] Removing intermediate container 26ac0f205b8e [2021-03-08T03:35:37.519Z] ---> 861fd2cb9d3b [2021-03-08T03:35:37.519Z] Step 7/8 : COPY . . [2021-03-08T03:35:41.353Z] ---> c8133218aad9 [2021-03-08T03:35:41.353Z] Step 8/8 : RUN go mod download [2021-03-08T03:35:41.353Z] ---> Running in ae046d0ee983 [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 10.5% of statements [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 12.5% of statements [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.155s coverage: 84.8% of statements [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 48.9% of statements [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.139s coverage: 81.3% of statements [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 24.8% of statements [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.753s coverage: 85.6% of statements [2021-03-08T03:35:59.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.2% of statements [2021-03-08T03:35:59.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:35:59.109Z] GO111MODULE=on go vet ./... [2021-03-08T03:36:20.574Z] Removing intermediate container ae046d0ee983 [2021-03-08T03:36:20.574Z] ---> 3f1a05008f73 [2021-03-08T03:36:20.574Z] Successfully built 3f1a05008f73 [2021-03-08T03:36:20.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:36:20.976Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:36:22.010Z] . [Pipeline] withDockerContainer [2021-03-08T03:36:22.672Z] prd-centos7-docker-4c-2g-28933 does not seem to be running inside a container [2021-03-08T03:36:22.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T03:36:24.776Z] $ docker top 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:36:25.565Z] + go version [2021-03-08T03:36:25.566Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T03:36:25.601Z] $ docker stop --time=1 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 [2021-03-08T03:36:27.575Z] $ docker rm -f 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:36:28.765Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:36:29.056Z] . [Pipeline] withDockerContainer [2021-03-08T03:36:29.281Z] prd-centos7-docker-4c-2g-28933 does not seem to be running inside a container [2021-03-08T03:36:29.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T03:36:31.519Z] gofmt -l . [2021-03-08T03:36:31.519Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:36:31.519Z] ./bin/test-attribution-txt.sh [2021-03-08T03:36:31.690Z] $ docker top e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db -eo pid,comm [2021-03-08T03:36:31.795Z] ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] sh [Pipeline] } [2021-03-08T03:36:32.571Z] $ docker stop --time=1 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 [2021-03-08T03:36:33.063Z] + make test [2021-03-08T03:36:33.063Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:36:34.718Z] $ docker rm -f 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:36:35.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:36:36.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:36:40.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:36:41.197Z] + ls -al . [2021-03-08T03:36:41.197Z] total 220 [2021-03-08T03:36:41.197Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 03:36 . [2021-03-08T03:36:41.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 .. [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:33 .dockerignore [2021-03-08T03:36:41.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:33 .git [2021-03-08T03:36:41.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:33 .github [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 03:33 .gitignore [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 03:33 Dockerfile.build [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 03:33 Jenkinsfile [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:33 LICENSE [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 03:33 Makefile [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 03:33 README.md [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 03:33 RELEASE-NOTES.txt [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 03:29 VERSION [2021-03-08T03:36:41.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:33 bin [2021-03-08T03:36:41.197Z] -rw-r--r-- 1 jenkins jenkins 101321 Mar 8 03:35 coverage.out [2021-03-08T03:36:41.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 example [2021-03-08T03:36:41.197Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 8 03:36 go.mod [2021-03-08T03:36:41.197Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 03:36 go.sum [2021-03-08T03:36:41.197Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:33 internal [2021-03-08T03:36:41.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 openapi [2021-03-08T03:36:41.197Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:33 pkg [2021-03-08T03:36:41.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 snap [2021-03-08T03:36:41.197Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:36:41.575Z] + docker build -t docker-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=75663ab93bad3fbe0e90708ec208749593d2616e --label arch=arm64 --label version=0.0.0 . [2021-03-08T03:36:41.853Z] Sending build context to Docker daemon 2.529MB [2021-03-08T03:36:42.123Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:36:42.123Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:36:42.123Z] ---> dce64869d42d [2021-03-08T03:36:42.123Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:36:42.399Z] ---> Running in 39da2bdb3e6f [2021-03-08T03:36:42.672Z] Removing intermediate container 39da2bdb3e6f [2021-03-08T03:36:42.672Z] ---> aee357de3289 [2021-03-08T03:36:42.672Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:36:42.945Z] ---> Running in 97be7091f11a [2021-03-08T03:36:43.219Z] Removing intermediate container 97be7091f11a [2021-03-08T03:36:43.219Z] ---> edc802593af9 [2021-03-08T03:36:43.219Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:36:43.492Z] ---> Running in fa01e89519ed [2021-03-08T03:36:44.087Z] Removing intermediate container fa01e89519ed [2021-03-08T03:36:44.087Z] ---> 0d7b78887597 [2021-03-08T03:36:44.087Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:36:44.087Z] ---> Running in e073b1725991 [2021-03-08T03:36:46.054Z] Removing intermediate container e073b1725991 [2021-03-08T03:36:46.054Z] ---> f7ad1b070203 [2021-03-08T03:36:46.054Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:36:46.328Z] ---> Running in 10a3967daaff [2021-03-08T03:36:47.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:36:47.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:36:48.878Z] OK: 142 MiB in 39 packages [2021-03-08T03:36:49.858Z] Removing intermediate container 10a3967daaff [2021-03-08T03:36:49.858Z] ---> 99060a585bc4 [2021-03-08T03:36:49.858Z] Step 8/24 : COPY . . [2021-03-08T03:36:51.289Z] ---> 6d37fd30ce0c [2021-03-08T03:36:51.289Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:36:51.289Z] ---> Running in 2bd3eee1340c [2021-03-08T03:36:52.270Z] 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-08T03:36:56.943Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:37:19.100Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:37:19.702Z] Removing intermediate container 2bd3eee1340c [2021-03-08T03:37:19.702Z] ---> 2ee17e45d27c [2021-03-08T03:37:19.702Z] Step 10/24 : FROM scratch [2021-03-08T03:37:19.702Z] ---> [2021-03-08T03:37:19.702Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:37:19.702Z] ---> Running in 1966f8ace423 [2021-03-08T03:37:19.975Z] Removing intermediate container 1966f8ace423 [2021-03-08T03:37:19.975Z] ---> 29479b82f9de [2021-03-08T03:37:19.975Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:37:20.247Z] ---> Running in 535285f8a121 [2021-03-08T03:37:20.516Z] Removing intermediate container 535285f8a121 [2021-03-08T03:37:20.516Z] ---> 895344267b56 [2021-03-08T03:37:20.516Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:37:20.788Z] ---> Running in fefd46a55346 [2021-03-08T03:37:21.059Z] Removing intermediate container fefd46a55346 [2021-03-08T03:37:21.059Z] ---> d570684cc189 [2021-03-08T03:37:21.059Z] Step 14/24 : WORKDIR / [2021-03-08T03:37:21.059Z] ---> Running in ba31945cf1f6 [2021-03-08T03:37:21.657Z] Removing intermediate container ba31945cf1f6 [2021-03-08T03:37:21.657Z] ---> 878ab9db2d4c [2021-03-08T03:37:21.657Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:37:22.634Z] ---> f708f147f327 [2021-03-08T03:37:22.634Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:37:23.226Z] ---> 9f0a52bbba92 [2021-03-08T03:37:23.226Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:37:23.824Z] ---> 123fb7921959 [2021-03-08T03:37:23.824Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:37:24.802Z] ---> 46593fc3905b [2021-03-08T03:37:24.802Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:37:25.396Z] ---> 9bff3527918b [2021-03-08T03:37:25.396Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:37:25.667Z] ---> Running in 438cbcfd7ba7 [2021-03-08T03:37:25.939Z] Removing intermediate container 438cbcfd7ba7 [2021-03-08T03:37:25.939Z] ---> 64f3ae3b3e89 [2021-03-08T03:37:25.939Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:37:26.211Z] ---> Running in 7455801efe73 [2021-03-08T03:37:26.484Z] Removing intermediate container 7455801efe73 [2021-03-08T03:37:26.484Z] ---> 005fe8bb477f [2021-03-08T03:37:26.484Z] Step 22/24 : LABEL arch=arm64 [2021-03-08T03:37:26.756Z] ---> Running in b6e321c8671e [2021-03-08T03:37:27.352Z] Removing intermediate container b6e321c8671e [2021-03-08T03:37:27.352Z] ---> 3cff6307ce79 [2021-03-08T03:37:27.352Z] Step 23/24 : LABEL git_sha=75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:37:27.352Z] ---> Running in a1e80e068eaf [2021-03-08T03:37:27.944Z] Removing intermediate container a1e80e068eaf [2021-03-08T03:37:27.944Z] ---> ce6b0d81d78c [2021-03-08T03:37:27.944Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T03:37:27.944Z] ---> Running in bd7b5d6939e8 [2021-03-08T03:37:28.537Z] Removing intermediate container bd7b5d6939e8 [2021-03-08T03:37:28.537Z] ---> f7b004ad0e99 [2021-03-08T03:37:28.537Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:37:28.537Z] Successfully built f7b004ad0e99 [2021-03-08T03:37:28.537Z] Successfully tagged docker-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-08T03:37:29.733Z] ---> job-cost.sh [2021-03-08T03:37:29.733Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lVsZ [2021-03-08T03:37:45.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:37:45.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:37:45.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:37:56.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.211s coverage: 25.5% of statements [2021-03-08T03:38:08.675Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.098s coverage: 10.5% of statements [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.149s coverage: 12.5% of statements [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.138s coverage: 84.8% of statements [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.157s coverage: 48.9% of statements [2021-03-08T03:38:19.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.118s coverage: 81.3% of statements [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.138s coverage: 24.8% of statements [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.419s coverage: 85.6% of statements [2021-03-08T03:38:19.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 5.2% of statements [2021-03-08T03:38:19.429Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:38:19.429Z] GO111MODULE=on go vet ./... [2021-03-08T03:38:52.852Z] gofmt -l . [2021-03-08T03:38:52.852Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:38:52.852Z] ./bin/test-attribution-txt.sh [2021-03-08T03:38:52.852Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T03:38:53.517Z] $ docker stop --time=1 e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db [2021-03-08T03:38:56.062Z] $ docker rm -f e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:38:57.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:38:57.666Z] Warning: overwriting stash ‘coverage-report’ [2021-03-08T03:38:59.056Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-08T03:38:59.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:39:00.225Z] + ls -al . [2021-03-08T03:39:00.225Z] total 184 [2021-03-08T03:39:00.225Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 03:38 . [2021-03-08T03:39:00.225Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 8 03:34 .. [2021-03-08T03:39:00.225Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 03:34 bin [2021-03-08T03:39:00.225Z] -rw-r--r--. 1 jenkins jenkins 101321 Mar 8 03:38 coverage.out [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 03:34 Dockerfile.build [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 03:34 .dockerignore [2021-03-08T03:39:00.225Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 03:34 example [2021-03-08T03:39:00.225Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 03:34 .git [2021-03-08T03:39:00.225Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 03:34 .github [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 03:34 .gitignore [2021-03-08T03:39:00.225Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 8 03:38 go.mod [2021-03-08T03:39:00.225Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 03:38 go.sum [2021-03-08T03:39:00.225Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 8 03:34 internal [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 03:34 Jenkinsfile [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 03:34 LICENSE [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 03:34 Makefile [2021-03-08T03:39:00.225Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 03:34 openapi [2021-03-08T03:39:00.225Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 03:34 pkg [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 03:34 README.md [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 03:34 RELEASE-NOTES.txt [2021-03-08T03:39:00.225Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 03:34 snap [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 03:29 VERSION [2021-03-08T03:39:00.225Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 03:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:39:00.622Z] + docker build -t docker-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=75663ab93bad3fbe0e90708ec208749593d2616e --label arch=amd64 --label version=0.0.0 . [2021-03-08T03:39:00.905Z] Sending build context to Docker daemon 2.528MB [2021-03-08T03:39:01.199Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:39:01.199Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:39:01.199Z] ---> 3f1a05008f73 [2021-03-08T03:39:01.199Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:39:01.496Z] ---> Running in eb3b680a8076 [2021-03-08T03:39:02.019Z] Removing intermediate container eb3b680a8076 [2021-03-08T03:39:02.019Z] ---> f6c7fe8be115 [2021-03-08T03:39:02.019Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:39:02.560Z] ---> Running in 639cf3d61a3b [2021-03-08T03:39:03.257Z] Removing intermediate container 639cf3d61a3b [2021-03-08T03:39:03.257Z] ---> 35e365060733 [2021-03-08T03:39:03.257Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:39:03.543Z] ---> Running in 16b315ce8ae3 [2021-03-08T03:39:04.161Z] Removing intermediate container 16b315ce8ae3 [2021-03-08T03:39:04.161Z] ---> 8cee0500badf [2021-03-08T03:39:04.161Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:39:04.460Z] ---> Running in 25f80e2485ed [2021-03-08T03:39:07.134Z] Removing intermediate container 25f80e2485ed [2021-03-08T03:39:07.134Z] ---> 100a86bf7dd4 [2021-03-08T03:39:07.134Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:39:07.134Z] ---> Running in d6c76d67dfe4 [2021-03-08T03:39:07.717Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:39:08.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:39:09.654Z] OK: 166 MiB in 39 packages [2021-03-08T03:39:10.269Z] Removing intermediate container d6c76d67dfe4 [2021-03-08T03:39:10.269Z] ---> b9f4db284df7 [2021-03-08T03:39:10.269Z] Step 8/24 : COPY . . [2021-03-08T03:39:11.706Z] ---> 9914af5123d0 [2021-03-08T03:39:11.706Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:39:11.706Z] ---> Running in f361b6a08cde [2021-03-08T03:39:12.337Z] 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-08T03:39:46.203Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:39:48.810Z] Removing intermediate container f361b6a08cde [2021-03-08T03:39:48.810Z] ---> 9d3b39ab9495 [2021-03-08T03:39:48.810Z] Step 10/24 : FROM scratch [2021-03-08T03:39:48.810Z] ---> [2021-03-08T03:39:48.810Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:39:49.165Z] ---> Running in 9d5571bd357c [2021-03-08T03:39:49.439Z] Removing intermediate container 9d5571bd357c [2021-03-08T03:39:49.439Z] ---> 190ba095e679 [2021-03-08T03:39:49.439Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:39:49.712Z] ---> Running in e8b98fbce097 [2021-03-08T03:39:49.989Z] Removing intermediate container e8b98fbce097 [2021-03-08T03:39:49.989Z] ---> 4a0cfeef3a20 [2021-03-08T03:39:49.989Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:39:49.989Z] ---> Running in 82560332bdf6 [2021-03-08T03:39:50.281Z] Removing intermediate container 82560332bdf6 [2021-03-08T03:39:50.281Z] ---> 9b3537435d9f [2021-03-08T03:39:50.281Z] Step 14/24 : WORKDIR / [2021-03-08T03:39:50.577Z] ---> Running in ae2ba3630242 [2021-03-08T03:39:50.851Z] Removing intermediate container ae2ba3630242 [2021-03-08T03:39:50.851Z] ---> dd72a3db94ca [2021-03-08T03:39:50.851Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:39:51.909Z] ---> 5af3774090e9 [2021-03-08T03:39:51.909Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:39:52.651Z] ---> a4a66cd37e39 [2021-03-08T03:39:52.651Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:39:53.716Z] ---> 597ff0e3ba90 [2021-03-08T03:39:53.716Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:39:54.362Z] ---> c4d3cb9b6048 [2021-03-08T03:39:54.362Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:39:55.007Z] ---> 98a8686ec7b1 [2021-03-08T03:39:55.007Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:39:55.007Z] ---> Running in 0c213837dd8d [2021-03-08T03:39:55.659Z] Removing intermediate container 0c213837dd8d [2021-03-08T03:39:55.659Z] ---> eab66ca6958a [2021-03-08T03:39:55.659Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:39:55.659Z] ---> Running in 0854f629f673 [2021-03-08T03:39:56.288Z] Removing intermediate container 0854f629f673 [2021-03-08T03:39:56.288Z] ---> bbcfac248b7d [2021-03-08T03:39:56.288Z] Step 22/24 : LABEL arch=amd64 [2021-03-08T03:39:56.288Z] ---> Running in b676309c95b5 [2021-03-08T03:39:56.564Z] Removing intermediate container b676309c95b5 [2021-03-08T03:39:56.564Z] ---> e7bd11717154 [2021-03-08T03:39:56.564Z] Step 23/24 : LABEL git_sha=75663ab93bad3fbe0e90708ec208749593d2616e [2021-03-08T03:39:56.564Z] ---> Running in a7a4550dc089 [2021-03-08T03:39:56.856Z] Removing intermediate container a7a4550dc089 [2021-03-08T03:39:56.856Z] ---> 16411e9b729d [2021-03-08T03:39:56.856Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T03:39:57.179Z] ---> Running in 3d5b71cc3580 [2021-03-08T03:39:57.515Z] Removing intermediate container 3d5b71cc3580 [2021-03-08T03:39:57.515Z] ---> c7289ab97f69 [2021-03-08T03:39:57.515Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:39:57.515Z] Successfully built c7289ab97f69 [2021-03-08T03:39:57.515Z] Successfully tagged docker-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-08T03:39:58.740Z] ---> job-cost.sh [2021-03-08T03:39:58.740Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uB99 [2021-03-08T03:40:15.465Z] lf-activate-venv(): INFO: Adding /tmp/venv-lVsZ/bin to PATH [2021-03-08T03:40:15.465Z] INFO: No Stack... [2021-03-08T03:40:15.465Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T03:40:15.465Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:40:15.821Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-08T03:40:15.821Z] -d, -f6 [Pipeline] lock [2021-03-08T03:40:15.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [2021-03-08T03:40:15.959Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] did not exist. Created. [2021-03-08T03:40:15.959Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:40:16.484Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T03:40:16.680Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:40:16.702Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T03:40:31.544Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:41:19.025Z] lf-activate-venv(): INFO: Adding /tmp/venv-uB99/bin to PATH [2021-03-08T03:41:19.025Z] INFO: No Stack... [2021-03-08T03:41:19.025Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:41:19.025Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:41:19.373Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-08T03:41:19.373Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T03:41:19.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [2021-03-08T03:41:19.537Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] did not exist. Created. [2021-03-08T03:41:19.537Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:41:20.055Z] /w/workspace/device-sdk-go/1@tmp/durable-bf833214/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-08T03:41:20.423Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T03:41:20.488Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T03:41:20.746Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:41:20.768Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-08T03:41:22.737Z] provisioning config files... [2021-03-08T03:41:22.749Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config2909717809963143509tmp [Pipeline] { [Pipeline] sh [2021-03-08T03:41:23.183Z] + set +x [2021-03-08T03:41:23.183Z] + curl -s https://codecov.io/bash [2021-03-08T03:41:23.183Z] + bash -s -- [2021-03-08T03:41:23.446Z] [2021-03-08T03:41:23.446Z] _____ _ [2021-03-08T03:41:23.446Z] / ____| | | [2021-03-08T03:41:23.446Z] | | ___ __| | ___ ___ _____ __ [2021-03-08T03:41:23.446Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-08T03:41:23.446Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-08T03:41:23.446Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-08T03:41:23.446Z] Bash-20210226-7100762 [2021-03-08T03:41:23.446Z] [2021-03-08T03:41:23.446Z] [2021-03-08T03:41:23.446Z] ==> git version 2.24.3 found [2021-03-08T03:41:23.446Z] ==> 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-08T03:41:23.446Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-08T03:41:23.446Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-08T03:41:23.446Z] ==> Jenkins CI detected. [2021-03-08T03:41:23.446Z] project root: . [2021-03-08T03:41:23.446Z] --> token set from env [2021-03-08T03:41:23.446Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-08T03:41:23.446Z] ==> Running gcov in . (disable via -X gcov) [2021-03-08T03:41:23.446Z] ==> Python coveragepy not found [2021-03-08T03:41:23.446Z] ==> Searching for coverage reports in: [2021-03-08T03:41:23.446Z] + . [2021-03-08T03:41:23.446Z] -> Found 1 reports [2021-03-08T03:41:23.446Z] ==> Detecting git/mercurial file structure [2021-03-08T03:41:23.446Z] ==> Reading reports [2021-03-08T03:41:23.446Z] + ./coverage.out bytes=101321 [2021-03-08T03:41:23.446Z] ==> Appending adjustments [2021-03-08T03:41:23.446Z] https://docs.codecov.io/docs/fixing-reports [2021-03-08T03:41:23.711Z] + Found adjustments [2021-03-08T03:41:23.711Z] ==> Gzipping contents [2021-03-08T03:41:23.711Z] 20K /tmp/codecov.DbEwtX.gz [2021-03-08T03:41:23.711Z] ==> Uploading reports [2021-03-08T03:41:23.711Z] url: https://codecov.io [2021-03-08T03:41:23.711Z] query: branch=PR-810&commit=75663ab93bad3fbe0e90708ec208749593d2616e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-810%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=810&job=&cmd_args= [2021-03-08T03:41:23.975Z] -> Pinging Codecov [2021-03-08T03:41:23.975Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-810&commit=75663ab93bad3fbe0e90708ec208749593d2616e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-810%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=810&job=&cmd_args= [2021-03-08T03:41:24.237Z] -> Uploading to [2021-03-08T03:41:24.237Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/75663ab93bad3fbe0e90708ec208749593d2616e/5ce8c6d0-f093-421c-a0fa-9ffbaa3cd59c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T034124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad7727391419c2bf51571b8e96dad69e1135d03bb8ecb0bce7c666fcd3cc33b6 [2021-03-08T03:41:24.237Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T03:41:24.237Z] Dload Upload Total Spent Left Speed [2021-03-08T03:41:24.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16463 0 0 100 16463 0 34668 --:--:-- --:--:-- --:--:-- 34658 100 16463 0 0 100 16463 0 34656 --:--:-- --:--:-- --:--:-- 34658 [2021-03-08T03:41:24.811Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] } [2021-03-08T03:41:24.840Z] 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-08T03:41:27.932Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:28.547Z] ---> package-listing.sh [2021-03-08T03:41:28.547Z] ++ facter osfamily [2021-03-08T03:41:28.547Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T03:41:28.547Z] + OS_FAMILY=redhat [2021-03-08T03:41:28.547Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-810 [2021-03-08T03:41:28.547Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T03:41:28.547Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T03:41:28.547Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T03:41:28.547Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T03:41:28.547Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-810 ']' [2021-03-08T03:41:28.547Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T03:41:28.547Z] + case "${OS_FAMILY}" in [2021-03-08T03:41:28.547Z] + rpm -qa [2021-03-08T03:41:28.547Z] + sort [2021-03-08T03:41:33.859Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T03:41:33.859Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T03:41:33.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T03:41:33.859Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-810 ']' [2021-03-08T03:41:33.859Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-810/archives/ [2021-03-08T03:41:33.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-810/archives/ [Pipeline] echo [2021-03-08T03:41:33.896Z] 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-810/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T03:41:34.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:41:34.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:41:34.557Z] [2021-03-08T03:41:34.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:41:34.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:41:34.965Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T03:41:34.965Z] df20fa9351a1: Pulling fs layer [2021-03-08T03:41:34.965Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T03:41:34.965Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T03:41:34.965Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T03:41:34.965Z] 93b61091891f: Pulling fs layer [2021-03-08T03:41:34.965Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T03:41:34.965Z] 5e14af77c1be: Pulling fs layer [2021-03-08T03:41:34.965Z] 01666e4c0597: Pulling fs layer [2021-03-08T03:41:34.965Z] aa168da1d23b: Pulling fs layer [2021-03-08T03:41:34.965Z] 46f8f816bc3b: Waiting [2021-03-08T03:41:34.965Z] 5e14af77c1be: Waiting [2021-03-08T03:41:34.965Z] 93b61091891f: Waiting [2021-03-08T03:41:34.965Z] aa168da1d23b: Waiting [2021-03-08T03:41:34.965Z] 01666e4c0597: Waiting [2021-03-08T03:41:34.965Z] 93b9cdb0e59b: Waiting [2021-03-08T03:41:34.965Z] 36b3adc4ff6f: Download complete [2021-03-08T03:41:34.965Z] 46f8f816bc3b: Verifying Checksum [2021-03-08T03:41:34.965Z] 46f8f816bc3b: Download complete [2021-03-08T03:41:35.227Z] df20fa9351a1: Download complete [2021-03-08T03:41:35.227Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T03:41:35.227Z] 93b9cdb0e59b: Download complete [2021-03-08T03:41:35.227Z] 93b61091891f: Download complete [2021-03-08T03:41:35.227Z] 5e14af77c1be: Verifying Checksum [2021-03-08T03:41:35.227Z] 5e14af77c1be: Download complete [2021-03-08T03:41:35.227Z] 01666e4c0597: Verifying Checksum [2021-03-08T03:41:35.227Z] 01666e4c0597: Download complete [2021-03-08T03:41:35.491Z] df20fa9351a1: Pull complete [2021-03-08T03:41:35.753Z] 36b3adc4ff6f: Pull complete [2021-03-08T03:41:36.025Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T03:41:36.025Z] 8ad3a11d3b57: Download complete [2021-03-08T03:41:36.984Z] 8ad3a11d3b57: Pull complete [2021-03-08T03:41:36.984Z] 46f8f816bc3b: Pull complete [2021-03-08T03:41:37.572Z] aa168da1d23b: Verifying Checksum [2021-03-08T03:41:37.572Z] aa168da1d23b: Download complete [2021-03-08T03:41:38.153Z] 93b61091891f: Pull complete [2021-03-08T03:41:38.153Z] 93b9cdb0e59b: Pull complete [2021-03-08T03:41:38.416Z] 5e14af77c1be: Pull complete [2021-03-08T03:41:38.416Z] 01666e4c0597: Pull complete [2021-03-08T03:41:45.051Z] aa168da1d23b: Pull complete [2021-03-08T03:41:45.051Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T03:41:45.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:41:45.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T03:41:45.200Z] prd-centos7-docker-4c-2g-28930 does not seem to be running inside a container [2021-03-08T03:41:45.254Z] $ 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-810/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-810 -v /w/workspace/dgexfoundry_device-sdk-go_PR-810:/w/workspace/dgexfoundry_device-sdk-go_PR-810:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-08T03:41:48.826Z] $ docker top b27650409cd1324c4b45b300e09fb2c2c341c7454356860cec8a02bf98110542 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:41:49.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T03:41:49.709Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T03:41:50.029Z] + ls /var/log/sa-host [2021-03-08T03:41:50.029Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T03:41:50.029Z] file_magic: OK [2021-03-08T03:41:50.029Z] HZ: Using current value: 100 [2021-03-08T03:41:50.029Z] file_header: OK [2021-03-08T03:41:50.029Z] 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-08T03:41:50.029Z] Statistics: [2021-03-08T03:41:50.029Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T03:41:50.029Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T03:41:50.029Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T03:41:50.029Z] file_magic: OK [2021-03-08T03:41:50.029Z] HZ: Using current value: 100 [2021-03-08T03:41:50.029Z] file_header: OK [2021-03-08T03:41:50.029Z] 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-08T03:41:50.029Z] Statistics: [2021-03-08T03:41:50.029Z] Hnuu...uuuununununu... [2021-03-08T03:41:50.029Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T03:41:50.334Z] provisioning config files... [2021-03-08T03:41:50.351Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config5016530435980074363tmp [Pipeline] { [Pipeline] echo [2021-03-08T03:41:50.574Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:50.919Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T03:41:50.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T03:41:51.081Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:51.415Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T03:41:51.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:51.779Z] ---> sudo-logs.sh [2021-03-08T03:41:51.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T03:41:51.893Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:52.229Z] ---> job-cost.sh [2021-03-08T03:41:52.229Z] lf-activate-venv: SKIPPING [2021-03-08T03:41:52.229Z] DEBUG: total: 0.029999999329447746 [2021-03-08T03:41:52.229Z] INFO: Retrieving Stack Cost... [2021-03-08T03:41:53.181Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:41:53.444Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T03:41:53.478Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:41:53.823Z] ---> logs-deploy.sh [2021-03-08T03:41:53.823Z] lf-activate-venv: SKIPPING [2021-03-08T03:41:53.823Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-810/1 [2021-03-08T03:41:53.823Z] INFO: archiving workspace using pattern(s): [2021-03-08T03:41:55.218Z] Archives upload complete. [2021-03-08T03:41:55.218Z] INFO: archiving logs to Nexus