Pull request #827 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 73f6dd7ae1dc48b71098234822fc44fe22aa7f90+e2b795a37b7f4058c403051823a7e04e4e702841 (4d263d2ae9090403a65a79e2b97465884a63aafd) 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-827/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-827/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30508 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [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-827 # 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 > 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 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) 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/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # 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 e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 Commit message: "fix: remove StopAutoEvents call during bootstrap" 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-19T07:05:41.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T07:05:42.282Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T07:05:42.508Z] ========================================================= [2021-03-19T07:05:42.508Z] EdgeX Global Pipelines Version Info [2021-03-19T07:05:42.508Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:05:44.039Z] ------------------- [2021-03-19T07:05:44.039Z] stable info: [2021-03-19T07:05:44.039Z] ------------------- [2021-03-19T07:05:44.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T07:05:44.039Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T07:05:44.039Z] Message: update stable to v1.0.184 [2021-03-19T07:05:44.985Z] ------------------- [2021-03-19T07:05:44.985Z] experimental info: [2021-03-19T07:05:44.985Z] ------------------- [2021-03-19T07:05:44.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T07:05:44.985Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T07:05:44.985Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T07:05:45.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-19T07:05:45.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-19T07:05:45.644Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T07:05:45.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T07:05:45.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T07:05:46.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T07:05:46.205Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T07:05:46.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T07:05:46.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-19T07:05:46.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T07:05:46.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T07:05:46.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-19T07:05:47.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T07:05:47.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T07:05:47.286Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T07:05:47.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T07:05:47.544Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T07:05:47.692Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T07:05:48.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T07:05:48.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T07:05:48.339Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-19T07:05:48.467Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-19T07:05:48.599Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T07:05:48.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T07:05:48.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-19T07:05:48.998Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T07:05:49.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-827 [Pipeline] echo [2021-03-19T07:05:49.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-827 [Pipeline] echo [2021-03-19T07:05:49.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-827 [Pipeline] echo [2021-03-19T07:05:49.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] echo [2021-03-19T07:05:49.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73f6dd7 [Pipeline] echo [2021-03-19T07:05:49.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T07:05:50.127Z] provisioning config files... [2021-03-19T07:05:50.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config3115568004382629190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:05:50.629Z] ---> docker-login.sh [2021-03-19T07:05:50.630Z] nexus3.edgexfoundry.org:10001 [2021-03-19T07:05:50.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:05:50.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:05:50.893Z] Configure a credential helper to remove this warning. See [2021-03-19T07:05:50.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:05:50.893Z] [2021-03-19T07:05:50.893Z] Login Succeeded [2021-03-19T07:05:50.893Z] nexus3.edgexfoundry.org:10002 [2021-03-19T07:05:51.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:05:51.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:05:51.156Z] Configure a credential helper to remove this warning. See [2021-03-19T07:05:51.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:05:51.156Z] [2021-03-19T07:05:51.156Z] Login Succeeded [2021-03-19T07:05:51.156Z] nexus3.edgexfoundry.org:10003 [2021-03-19T07:05:51.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:05:51.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:05:51.418Z] Configure a credential helper to remove this warning. See [2021-03-19T07:05:51.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:05:51.418Z] [2021-03-19T07:05:51.418Z] Login Succeeded [2021-03-19T07:05:51.418Z] nexus3.edgexfoundry.org:10004 [2021-03-19T07:05:51.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:05:51.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:05:51.682Z] Configure a credential helper to remove this warning. See [2021-03-19T07:05:51.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:05:51.682Z] [2021-03-19T07:05:51.682Z] Login Succeeded [2021-03-19T07:05:51.682Z] docker.io [2021-03-19T07:05:51.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:05:51.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:05:51.949Z] Configure a credential helper to remove this warning. See [2021-03-19T07:05:51.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:05:51.949Z] [2021-03-19T07:05:51.949Z] Login Succeeded [2021-03-19T07:05:51.949Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T07:05:51.979Z] 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-19T07:05:53.252Z] + git log --format=format:%s -1 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] echo [2021-03-19T07:05:53.340Z] GIT_COMMIT: 73f6dd7ae1dc48b71098234822fc44fe22aa7f90, Commit Message: fix: remove StopAutoEvents call during bootstrap [Pipeline] echo [2021-03-19T07:05:53.413Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:05:54.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T07:05:54.422Z] [2021-03-19T07:05:54.422Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:05:54.810Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T07:05:54.810Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T07:05:54.810Z] 31603596830f: Pulling fs layer [2021-03-19T07:05:54.810Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T07:05:54.810Z] 6ca5941a6612: Pulling fs layer [2021-03-19T07:05:54.810Z] ecc8261a40a4: Pulling fs layer [2021-03-19T07:05:54.810Z] ecc8261a40a4: Waiting [2021-03-19T07:05:54.810Z] 2a8b12db71e7: Verifying Checksum [2021-03-19T07:05:54.810Z] 2a8b12db71e7: Download complete [2021-03-19T07:05:54.810Z] 31603596830f: Download complete [2021-03-19T07:05:55.074Z] ecc8261a40a4: Verifying Checksum [2021-03-19T07:05:55.074Z] ecc8261a40a4: Download complete [2021-03-19T07:05:55.074Z] 6ca5941a6612: Verifying Checksum [2021-03-19T07:05:55.074Z] 6ca5941a6612: Download complete [2021-03-19T07:05:55.342Z] 31603596830f: Pull complete [2021-03-19T07:05:55.342Z] 2a8b12db71e7: Pull complete [2021-03-19T07:05:56.296Z] 6ca5941a6612: Pull complete [2021-03-19T07:05:56.296Z] ecc8261a40a4: Pull complete [2021-03-19T07:05:56.557Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T07:05:56.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T07:05:56.557Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T07:05:56.694Z] prd-centos7-docker-4c-2g-30508 does not seem to be running inside a container [2021-03-19T07:05:56.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T07:05:58.678Z] $ docker top c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T07:05:59.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T07:05:59.084Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T07:05:59.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T07:05:59.305Z] $ docker exec c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent [2021-03-19T07:05:59.476Z] SSH_AUTH_SOCK=/tmp/ssh-Cws1cmZQMgcG/agent.13 [2021-03-19T07:05:59.476Z] SSH_AGENT_PID=18 [2021-03-19T07:05:59.487Z] Running ssh-add (command line suppressed) [2021-03-19T07:05:59.612Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4468139289566624658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4468139289566624658.key) [2021-03-19T07:05:59.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T07:06:00.053Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T07:06:00.085Z] $ docker exec --env ******** --env ******** c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent -k [2021-03-19T07:06:00.212Z] unset SSH_AUTH_SOCK; [2021-03-19T07:06:00.212Z] unset SSH_AGENT_PID; [2021-03-19T07:06:00.212Z] echo Agent pid 18 killed; [2021-03-19T07:06:00.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T07:06:00.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T07:06:00.453Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T07:06:00.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T07:06:00.635Z] $ docker exec c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent [2021-03-19T07:06:00.801Z] SSH_AUTH_SOCK=/tmp/ssh-5dML3EY7ITqK/agent.47 [2021-03-19T07:06:00.801Z] SSH_AGENT_PID=52 [2021-03-19T07:06:00.809Z] Running ssh-add (command line suppressed) [2021-03-19T07:06:00.936Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4756595096376415889.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_4756595096376415889.key) [2021-03-19T07:06:00.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T07:06:01.366Z] + git semver init [2021-03-19T07:06:01.366Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T07:06:01.366Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.git [2021-03-19T07:06:01.366Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-827 [2021-03-19T07:06:01.366Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T07:06:01.366Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T07:06:01.366Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T07:06:01.366Z] # $SEMVER_BRANCH = PR-827 [2021-03-19T07:06:01.366Z] # $SEMVER_TEMP = /tmp/semver-706609666 [2021-03-19T07:06:01.366Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-19T07:06:02.760Z] # '/tmp/semver-706609666' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver' [2021-03-19T07:06:02.760Z] # -> Force: false [2021-03-19T07:06:02.760Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver [Pipeline] } [2021-03-19T07:06:02.788Z] $ docker exec --env ******** --env ******** c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 ssh-agent -k [2021-03-19T07:06:02.908Z] unset SSH_AUTH_SOCK; [2021-03-19T07:06:02.909Z] unset SSH_AGENT_PID; [2021-03-19T07:06:02.909Z] echo Agent pid 52 killed; [2021-03-19T07:06:02.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T07:06:03.566Z] + git semver [Pipeline] } [2021-03-19T07:06:03.598Z] $ docker stop --time=1 c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 [2021-03-19T07:06:05.052Z] $ docker rm -f c8ee7a7238c567c4b290cf2479e01d63922d406759104fed16e295b610119335 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T07:06:05.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T07:06:06.011Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T07:06:06.034Z] [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-19T07:06:21.922Z] Still waiting to schedule task [2021-03-19T07:06:21.922Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30508’ [2021-03-19T07:06:21.947Z] Still waiting to schedule task [2021-03-19T07:06:21.948Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T07:07:58.009Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30509 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws [2021-03-19T07:07:58.131Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-19T07:08:03.334Z] using credential edgex-jenkins-ssh [2021-03-19T07:08:03.399Z] Cloning the remote Git repository [2021-03-19T07:08:03.458Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:08:03.571Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-19T07:08:03.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:08:03.640Z] > git --version # timeout=10 [2021-03-19T07:08:03.659Z] > git --version # 'git version 2.17.1' [2021-03-19T07:08:03.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:08:03.781Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T07:08:05.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T07:08:05.114Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T07:08:05.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T07:08:05.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:08:05.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:08:05.199Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T07:08:05.859Z] Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:08:06.075Z] Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:08:06.076Z] Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) [2021-03-19T07:08:05.879Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T07:08:05.898Z] > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [2021-03-19T07:08:05.995Z] > git remote # timeout=10 [2021-03-19T07:08:06.012Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T07:08:06.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:08:06.042Z] > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [2021-03-19T07:08:06.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T07:08:06.086Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T07:08:06.145Z] > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [2021-03-19T07:08:10.481Z] Commit message: "fix: remove StopAutoEvents call during bootstrap" [2021-03-19T07:08:10.537Z] > git --version # timeout=10 [2021-03-19T07:08:10.546Z] > git --version # 'git version 2.17.1' [2021-03-19T07:08:10.559Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T07:08:12.353Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T07:08:12.775Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T07:08:13.177Z] + sudo service docker restart [2021-03-19T07:08:13.177Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T07:08:15.969Z] provisioning config files... [2021-03-19T07:08:16.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1396438298535062163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:08:16.477Z] ---> docker-login.sh [2021-03-19T07:08:16.477Z] nexus3.edgexfoundry.org:10001 [2021-03-19T07:08:17.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:08:17.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:08:17.739Z] Configure a credential helper to remove this warning. See [2021-03-19T07:08:17.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:08:17.739Z] [2021-03-19T07:08:17.739Z] Login Succeeded [2021-03-19T07:08:17.739Z] nexus3.edgexfoundry.org:10002 [2021-03-19T07:08:18.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:08:18.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:08:18.012Z] Configure a credential helper to remove this warning. See [2021-03-19T07:08:18.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:08:18.012Z] [2021-03-19T07:08:18.012Z] Login Succeeded [2021-03-19T07:08:18.012Z] nexus3.edgexfoundry.org:10003 [2021-03-19T07:08:18.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:08:18.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:08:18.606Z] Configure a credential helper to remove this warning. See [2021-03-19T07:08:18.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:08:18.606Z] [2021-03-19T07:08:18.606Z] Login Succeeded [2021-03-19T07:08:18.606Z] nexus3.edgexfoundry.org:10004 [2021-03-19T07:08:19.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:08:19.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:08:19.201Z] Configure a credential helper to remove this warning. See [2021-03-19T07:08:19.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:08:19.201Z] [2021-03-19T07:08:19.201Z] Login Succeeded [2021-03-19T07:08:19.201Z] docker.io [2021-03-19T07:08:19.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:08:19.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:08:19.745Z] Configure a credential helper to remove this warning. See [2021-03-19T07:08:19.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:08:19.745Z] [2021-03-19T07:08:19.745Z] Login Succeeded [2021-03-19T07:08:19.745Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T07:08:19.781Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T07:08:20.503Z] ========================================================= [2021-03-19T07:08:20.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T07:08:20.504Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:08:20.933Z] + 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-19T07:08:21.218Z] Sending build context to Docker daemon 2.294MB [2021-03-19T07:08:21.502Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T07:08:21.502Z] Step 2/8 : FROM ${BASE} [2021-03-19T07:08:21.502Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T07:08:21.502Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T07:08:21.502Z] a4357932f1b6: Pulling fs layer [2021-03-19T07:08:21.502Z] 18c013af1878: Pulling fs layer [2021-03-19T07:08:21.502Z] 00ac8860ef70: Pulling fs layer [2021-03-19T07:08:21.502Z] 63d7cb157983: Pulling fs layer [2021-03-19T07:08:21.502Z] b116817d02f9: Pulling fs layer [2021-03-19T07:08:21.502Z] 745a02a5169b: Pulling fs layer [2021-03-19T07:08:21.502Z] 00ac8860ef70: Waiting [2021-03-19T07:08:21.502Z] 63d7cb157983: Waiting [2021-03-19T07:08:21.502Z] b116817d02f9: Waiting [2021-03-19T07:08:21.502Z] 745a02a5169b: Waiting [2021-03-19T07:08:21.502Z] 18c013af1878: Verifying Checksum [2021-03-19T07:08:21.502Z] 18c013af1878: Download complete [2021-03-19T07:08:21.502Z] a4357932f1b6: Verifying Checksum [2021-03-19T07:08:21.502Z] a4357932f1b6: Download complete [2021-03-19T07:08:21.502Z] 63d7cb157983: Download complete [2021-03-19T07:08:21.502Z] 5f621e34cdf4: Verifying Checksum [2021-03-19T07:08:21.502Z] 5f621e34cdf4: Download complete [2021-03-19T07:08:21.502Z] b116817d02f9: Download complete [2021-03-19T07:08:22.108Z] 5f621e34cdf4: Pull complete [2021-03-19T07:08:22.707Z] a4357932f1b6: Pull complete [2021-03-19T07:08:23.309Z] 18c013af1878: Pull complete [2021-03-19T07:08:24.284Z] 745a02a5169b: Verifying Checksum [2021-03-19T07:08:24.284Z] 745a02a5169b: Download complete [2021-03-19T07:08:25.716Z] 00ac8860ef70: Verifying Checksum [2021-03-19T07:08:25.716Z] 00ac8860ef70: Download complete [2021-03-19T07:08:38.140Z] 00ac8860ef70: Pull complete [2021-03-19T07:08:38.140Z] 63d7cb157983: Pull complete [2021-03-19T07:08:38.140Z] b116817d02f9: Pull complete [2021-03-19T07:08:40.785Z] 745a02a5169b: Pull complete [2021-03-19T07:08:40.785Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T07:08:40.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T07:08:40.785Z] ---> b7e6874047d6 [2021-03-19T07:08:40.785Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:08:44.178Z] ---> Running in 17a93d88be92 [2021-03-19T07:08:44.178Z] Removing intermediate container 17a93d88be92 [2021-03-19T07:08:44.178Z] ---> 163547da3d21 [2021-03-19T07:08:44.178Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T07:08:44.178Z] ---> Running in 09322498715e [2021-03-19T07:08:46.834Z] Removing intermediate container 09322498715e [2021-03-19T07:08:46.834Z] ---> e5015d0dce9d [2021-03-19T07:08:46.834Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T07:08:46.834Z] ---> Running in b5543c71d7bd [2021-03-19T07:08:47.814Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T07:08:48.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T07:08:49.391Z] OK: 142 MiB in 39 packages [2021-03-19T07:08:50.372Z] Removing intermediate container b5543c71d7bd [2021-03-19T07:08:50.372Z] ---> a50537d59a9b [2021-03-19T07:08:50.372Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T07:08:50.645Z] ---> Running in 53c1dcb6d406 [2021-03-19T07:08:51.240Z] Removing intermediate container 53c1dcb6d406 [2021-03-19T07:08:51.240Z] ---> 432ded1a4e2f [2021-03-19T07:08:51.240Z] Step 7/8 : COPY . . [2021-03-19T07:08:52.220Z] ---> c7f0f9c13b9f [2021-03-19T07:08:52.220Z] Step 8/8 : RUN go mod download [2021-03-19T07:08:52.493Z] ---> Running in f2dedcbc65e8 [2021-03-19T07:08:57.079Z] Running on prd-centos7-docker-4c-2g-30510 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws [2021-03-19T07:08:57.197Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-19T07:08:59.659Z] using credential edgex-jenkins-ssh [2021-03-19T07:08:59.719Z] Cloning the remote Git repository [2021-03-19T07:08:59.647Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:08:59.723Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-19T07:08:59.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:08:59.786Z] > git --version # timeout=10 [2021-03-19T07:08:59.795Z] > git --version # 'git version 2.24.3' [2021-03-19T07:08:59.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:08:59.822Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T07:09:01.346Z] Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:09:01.460Z] Merge succeeded, producing 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:09:01.461Z] Checking out Revision 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 (PR-827) [2021-03-19T07:09:00.644Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T07:09:00.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T07:09:00.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T07:09:00.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T07:09:00.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:09:00.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T07:09:01.358Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T07:09:01.379Z] > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [2021-03-19T07:09:01.428Z] > git remote # timeout=10 [2021-03-19T07:09:01.433Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T07:09:01.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T07:09:01.444Z] > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [2021-03-19T07:09:01.457Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T07:09:01.466Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T07:09:01.472Z] > git checkout -f 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [2021-03-19T07:09:05.144Z] Commit message: "fix: remove StopAutoEvents call during bootstrap" [2021-03-19T07:09:05.179Z] > git --version # timeout=10 [2021-03-19T07:09:05.185Z] > git --version # 'git version 2.24.3' [2021-03-19T07:09:05.191Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T07:09:06.713Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T07:09:07.065Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T07:09:07.391Z] + sudo service docker restart [2021-03-19T07:09:07.391Z] + true [2021-03-19T07:09:07.391Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T07:09:08.923Z] provisioning config files... [2021-03-19T07:09:08.951Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4175727614340319526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:09:09.405Z] ---> docker-login.sh [2021-03-19T07:09:09.406Z] nexus3.edgexfoundry.org:10001 [2021-03-19T07:09:09.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:09:09.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:09:09.668Z] Configure a credential helper to remove this warning. See [2021-03-19T07:09:09.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:09:09.668Z] [2021-03-19T07:09:09.668Z] Login Succeeded [2021-03-19T07:09:09.668Z] nexus3.edgexfoundry.org:10002 [2021-03-19T07:09:09.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:09:09.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:09:09.932Z] Configure a credential helper to remove this warning. See [2021-03-19T07:09:09.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:09:09.932Z] [2021-03-19T07:09:09.932Z] Login Succeeded [2021-03-19T07:09:09.932Z] nexus3.edgexfoundry.org:10003 [2021-03-19T07:09:10.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:09:10.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:09:10.195Z] Configure a credential helper to remove this warning. See [2021-03-19T07:09:10.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:09:10.195Z] [2021-03-19T07:09:10.195Z] Login Succeeded [2021-03-19T07:09:10.195Z] nexus3.edgexfoundry.org:10004 [2021-03-19T07:09:10.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:09:10.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:09:10.458Z] Configure a credential helper to remove this warning. See [2021-03-19T07:09:10.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:09:10.458Z] [2021-03-19T07:09:10.458Z] Login Succeeded [2021-03-19T07:09:10.458Z] docker.io [2021-03-19T07:09:10.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T07:09:10.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T07:09:10.722Z] Configure a credential helper to remove this warning. See [2021-03-19T07:09:10.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T07:09:10.722Z] [2021-03-19T07:09:10.722Z] Login Succeeded [2021-03-19T07:09:10.722Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T07:09:10.754Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T07:09:11.335Z] ========================================================= [2021-03-19T07:09:11.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T07:09:11.335Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:09:11.744Z] + 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-19T07:09:11.744Z] Sending build context to Docker daemon 2.301MB [2021-03-19T07:09:11.744Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T07:09:11.744Z] Step 2/8 : FROM ${BASE} [2021-03-19T07:09:12.010Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T07:09:12.010Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T07:09:12.010Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T07:09:12.010Z] de9db76c5a1d: Pulling fs layer [2021-03-19T07:09:12.010Z] bca2f99d35d6: Pulling fs layer [2021-03-19T07:09:12.010Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T07:09:12.010Z] 7c6f9722023f: Pulling fs layer [2021-03-19T07:09:12.010Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T07:09:12.010Z] 93359f2a8cfa: Waiting [2021-03-19T07:09:12.010Z] 7c6f9722023f: Waiting [2021-03-19T07:09:12.010Z] a35cf1a2eb13: Waiting [2021-03-19T07:09:12.010Z] bca2f99d35d6: Waiting [2021-03-19T07:09:12.010Z] de9db76c5a1d: Verifying Checksum [2021-03-19T07:09:12.010Z] de9db76c5a1d: Download complete [2021-03-19T07:09:12.010Z] 0ef7d3d256c8: Download complete [2021-03-19T07:09:12.010Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T07:09:12.010Z] 93359f2a8cfa: Download complete [2021-03-19T07:09:12.010Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T07:09:12.010Z] 188c0c94c7c5: Download complete [2021-03-19T07:09:12.010Z] 7c6f9722023f: Verifying Checksum [2021-03-19T07:09:12.010Z] 7c6f9722023f: Download complete [2021-03-19T07:09:12.277Z] 188c0c94c7c5: Pull complete [2021-03-19T07:09:12.539Z] 0ef7d3d256c8: Pull complete [2021-03-19T07:09:12.539Z] de9db76c5a1d: Pull complete [2021-03-19T07:09:13.943Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T07:09:13.943Z] a35cf1a2eb13: Download complete [2021-03-19T07:09:14.524Z] bca2f99d35d6: Verifying Checksum [2021-03-19T07:09:14.524Z] bca2f99d35d6: Download complete [2021-03-19T07:09:19.297Z] Removing intermediate container f2dedcbc65e8 [2021-03-19T07:09:19.297Z] ---> e6c25673b766 [2021-03-19T07:09:19.297Z] Successfully built e6c25673b766 [2021-03-19T07:09:19.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:09:19.679Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T07:09:19.679Z] . [Pipeline] withDockerContainer [2021-03-19T07:09:19.975Z] prd-ubuntu18.04-docker-arm64-4c-16g-30509 does not seem to be running inside a container [2021-03-19T07:09:20.055Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T07:09:21.151Z] bca2f99d35d6: Pull complete [2021-03-19T07:09:21.152Z] 93359f2a8cfa: Pull complete [2021-03-19T07:09:21.152Z] 7c6f9722023f: Pull complete [2021-03-19T07:09:21.549Z] $ docker top 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T07:09:22.664Z] + go version [2021-03-19T07:09:22.664Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T07:09:22.703Z] $ docker stop --time=1 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 [2021-03-19T07:09:24.626Z] $ docker rm -f 5cdd45e1152a6ecf3b470e05653d3137d9c466317086a9680cc0a4e02da14410 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:09:25.978Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T07:09:25.978Z] . [Pipeline] withDockerContainer [2021-03-19T07:09:26.257Z] prd-ubuntu18.04-docker-arm64-4c-16g-30509 does not seem to be running inside a container [2021-03-19T07:09:26.338Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T07:09:26.495Z] a35cf1a2eb13: Pull complete [2021-03-19T07:09:27.073Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T07:09:27.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T07:09:27.073Z] ---> a62c8e92a672 [2021-03-19T07:09:27.073Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:09:27.073Z] ---> Running in 3238221e490b [2021-03-19T07:09:27.652Z] Removing intermediate container 3238221e490b [2021-03-19T07:09:27.652Z] ---> dd598db00a13 [2021-03-19T07:09:27.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T07:09:27.652Z] ---> Running in 6ad7f64bdca2 [2021-03-19T07:09:27.787Z] $ docker top 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T07:09:28.608Z] Removing intermediate container 6ad7f64bdca2 [2021-03-19T07:09:28.608Z] ---> 66acda3ffe26 [2021-03-19T07:09:28.608Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T07:09:28.608Z] ---> Running in 6ad82bc9dea3 [2021-03-19T07:09:28.924Z] + make test [2021-03-19T07:09:28.924Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T07:09:29.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T07:09:29.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T07:09:30.350Z] OK: 166 MiB in 39 packages [2021-03-19T07:09:30.928Z] Removing intermediate container 6ad82bc9dea3 [2021-03-19T07:09:30.928Z] ---> 3e89db4cb9ca [2021-03-19T07:09:30.928Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T07:09:30.928Z] ---> Running in 9678cb74b035 [2021-03-19T07:09:31.193Z] Removing intermediate container 9678cb74b035 [2021-03-19T07:09:31.193Z] ---> 69a9628ce4e8 [2021-03-19T07:09:31.193Z] Step 7/8 : COPY . . [2021-03-19T07:09:32.149Z] ---> 942f8e91cda2 [2021-03-19T07:09:32.149Z] Step 8/8 : RUN go mod download [2021-03-19T07:09:32.422Z] ---> Running in afd27c616475 [2021-03-19T07:09:51.111Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T07:09:54.441Z] Removing intermediate container afd27c616475 [2021-03-19T07:09:54.441Z] ---> 0d8138c82350 [2021-03-19T07:09:54.441Z] Successfully built 0d8138c82350 [2021-03-19T07:09:54.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:09:54.789Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T07:09:54.789Z] . [Pipeline] withDockerContainer [2021-03-19T07:09:54.949Z] prd-centos7-docker-4c-2g-30510 does not seem to be running inside a container [2021-03-19T07:09:55.003Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T07:09:55.860Z] $ docker top f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T07:09:57.236Z] + go version [2021-03-19T07:09:57.236Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T07:09:57.272Z] $ docker stop --time=1 f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 [2021-03-19T07:09:58.686Z] $ docker rm -f f5b92df96daaf9bbead4229ad0e05eea692e6b7a84f483747ddf78bc4aab4838 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:09:59.775Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T07:09:59.775Z] . [Pipeline] withDockerContainer [2021-03-19T07:09:59.898Z] prd-centos7-docker-4c-2g-30510 does not seem to be running inside a container [2021-03-19T07:09:59.957Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T07:10:00.565Z] $ docker top f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T07:10:01.130Z] + make test [2021-03-19T07:10:01.131Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T07:10:09.351Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T07:10:24.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T07:10:24.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T07:10:24.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T07:10:24.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T07:10:27.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 25.5% of statements [2021-03-19T07:10:27.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 81.2% of statements [2021-03-19T07:10:38.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T07:10:38.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T07:10:38.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T07:10:38.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T07:10:38.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 25.5% of statements [2021-03-19T07:10:38.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.150s coverage: 81.2% of statements [2021-03-19T07:10:59.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 10.5% of statements [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T07:10:59.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 32.5% of statements [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T07:10:59.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements [2021-03-19T07:10:59.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements [2021-03-19T07:10:59.206Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements [2021-03-19T07:10:59.206Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T07:10:59.206Z] GO111MODULE=on go vet ./... [2021-03-19T07:11:04.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.166s coverage: 10.5% of statements [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T07:11:04.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.214s coverage: 32.5% of statements [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T07:11:04.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements [2021-03-19T07:11:04.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.000s coverage: 6.6% of statements [2021-03-19T07:11:04.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.1% of statements [2021-03-19T07:11:04.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T07:11:04.914Z] GO111MODULE=on go vet ./... [2021-03-19T07:11:05.874Z] gofmt -l . [2021-03-19T07:11:05.874Z] [ "`gofmt -l .`" = "" ] [2021-03-19T07:11:05.874Z] ./bin/test-attribution-txt.sh [2021-03-19T07:11:06.834Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T07:11:07.136Z] $ docker stop --time=1 f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d [2021-03-19T07:11:09.156Z] $ docker rm -f f4eb2e3ae16912f5d76550cbd9a4dd02f225a9529d021f911936d4140afc9b6d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T07:11:09.910Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T07:11:10.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-19T07:11:13.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T07:11:13.652Z] + ls -al . [2021-03-19T07:11:13.652Z] total 184 [2021-03-19T07:11:13.652Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 07:11 . [2021-03-19T07:11:13.652Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 07:08 .. [2021-03-19T07:11:13.652Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 07:09 bin [2021-03-19T07:11:13.652Z] -rw-r--r--. 1 jenkins jenkins 99939 Mar 19 07:10 coverage.out [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 07:09 Dockerfile.build [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 07:09 .dockerignore [2021-03-19T07:11:13.652Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 07:09 example [2021-03-19T07:11:13.652Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 07:09 .git [2021-03-19T07:11:13.652Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 07:09 .github [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 07:09 .gitignore [2021-03-19T07:11:13.652Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 19 07:11 go.mod [2021-03-19T07:11:13.652Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 07:11 go.sum [2021-03-19T07:11:13.652Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 07:09 internal [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 07:09 Jenkinsfile [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 07:09 LICENSE [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 07:09 Makefile [2021-03-19T07:11:13.652Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 07:09 openapi [2021-03-19T07:11:13.652Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 07:09 pkg [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 07:09 README.md [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 07:09 RELEASE-NOTES.txt [2021-03-19T07:11:13.652Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 07:09 snap [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 07:06 VERSION [2021-03-19T07:11:13.652Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 07:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:11:13.988Z] + 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=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 --label arch=amd64 --label version=0.0.0 . [2021-03-19T07:11:14.251Z] Sending build context to Docker daemon 2.402MB [2021-03-19T07:11:14.251Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T07:11:14.251Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T07:11:14.251Z] ---> 0d8138c82350 [2021-03-19T07:11:14.251Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T07:11:14.516Z] ---> Running in 393befaf35fe [2021-03-19T07:11:14.786Z] Removing intermediate container 393befaf35fe [2021-03-19T07:11:14.786Z] ---> dcc8220a3df9 [2021-03-19T07:11:14.786Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T07:11:14.786Z] ---> Running in 3452507c77e9 [2021-03-19T07:11:15.048Z] Removing intermediate container 3452507c77e9 [2021-03-19T07:11:15.048Z] ---> b3187d9f4e15 [2021-03-19T07:11:15.048Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:11:15.048Z] ---> Running in c08b8c1fc3b1 [2021-03-19T07:11:15.310Z] Removing intermediate container c08b8c1fc3b1 [2021-03-19T07:11:15.310Z] ---> 93315eeac73f [2021-03-19T07:11:15.310Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T07:11:15.310Z] ---> Running in a8785bec8bc0 [2021-03-19T07:11:16.711Z] Removing intermediate container a8785bec8bc0 [2021-03-19T07:11:16.711Z] ---> 1a599cf6056f [2021-03-19T07:11:16.711Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T07:11:16.711Z] ---> Running in 065d36fcc6f8 [2021-03-19T07:11:16.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T07:11:17.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T07:11:18.873Z] OK: 166 MiB in 39 packages [2021-03-19T07:11:19.137Z] Removing intermediate container 065d36fcc6f8 [2021-03-19T07:11:19.137Z] ---> 12d4db57137e [2021-03-19T07:11:19.137Z] Step 8/24 : COPY . . [2021-03-19T07:11:20.081Z] ---> f5914b845627 [2021-03-19T07:11:20.081Z] Step 9/24 : RUN ${MAKE} [2021-03-19T07:11:20.343Z] ---> Running in f7f50a3c854d [2021-03-19T07:11:20.609Z] 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-19T07:11:30.701Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-19T07:11:31.649Z] Removing intermediate container f7f50a3c854d [2021-03-19T07:11:31.649Z] ---> 83def84a824d [2021-03-19T07:11:31.649Z] Step 10/24 : FROM scratch [2021-03-19T07:11:31.649Z] ---> [2021-03-19T07:11:31.649Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:11:31.649Z] ---> Running in 4e80018ef3ef [2021-03-19T07:11:31.649Z] Removing intermediate container 4e80018ef3ef [2021-03-19T07:11:31.649Z] ---> ac7b513cf890 [2021-03-19T07:11:31.649Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T07:11:31.649Z] ---> Running in 366973a1bee1 [2021-03-19T07:11:31.911Z] Removing intermediate container 366973a1bee1 [2021-03-19T07:11:31.911Z] ---> d29c5f6da6f9 [2021-03-19T07:11:31.911Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T07:11:31.911Z] ---> Running in c868972bd10c [2021-03-19T07:11:32.173Z] Removing intermediate container c868972bd10c [2021-03-19T07:11:32.173Z] ---> c8703d69a8a4 [2021-03-19T07:11:32.173Z] Step 14/24 : WORKDIR / [2021-03-19T07:11:32.173Z] ---> Running in a4bd1a5f243c [2021-03-19T07:11:32.436Z] Removing intermediate container a4bd1a5f243c [2021-03-19T07:11:32.436Z] ---> 3367ab5dbae7 [2021-03-19T07:11:32.436Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T07:11:32.698Z] ---> d00c51274b43 [2021-03-19T07:11:32.698Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T07:11:32.963Z] ---> e8623d1143f5 [2021-03-19T07:11:32.963Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-19T07:11:33.229Z] ---> 1fcc9b081295 [2021-03-19T07:11:33.229Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-19T07:11:33.491Z] ---> 964ac1b03f95 [2021-03-19T07:11:33.491Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T07:11:33.755Z] ---> 51f117d0ea8c [2021-03-19T07:11:33.755Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T07:11:34.016Z] ---> Running in 19729e30e9f5 [2021-03-19T07:11:34.016Z] Removing intermediate container 19729e30e9f5 [2021-03-19T07:11:34.016Z] ---> 12d6cc16c1f3 [2021-03-19T07:11:34.016Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T07:11:34.280Z] ---> Running in 75302b2236b7 [2021-03-19T07:11:34.280Z] Removing intermediate container 75302b2236b7 [2021-03-19T07:11:34.280Z] ---> 4bb700384a4b [2021-03-19T07:11:34.280Z] Step 22/24 : LABEL arch=amd64 [2021-03-19T07:11:34.542Z] ---> Running in 342cb8360b19 [2021-03-19T07:11:34.542Z] Removing intermediate container 342cb8360b19 [2021-03-19T07:11:34.542Z] ---> 55056fbf0153 [2021-03-19T07:11:34.542Z] Step 23/24 : LABEL git_sha=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:11:34.805Z] ---> Running in df97b964118e [2021-03-19T07:11:34.805Z] Removing intermediate container df97b964118e [2021-03-19T07:11:34.805Z] ---> 1eba74a03d57 [2021-03-19T07:11:34.805Z] Step 24/24 : LABEL version=0.0.0 [2021-03-19T07:11:34.805Z] ---> Running in 336fa392e486 [2021-03-19T07:11:35.096Z] Removing intermediate container 336fa392e486 [2021-03-19T07:11:35.096Z] ---> 55ed8ee3c999 [2021-03-19T07:11:35.096Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T07:11:35.096Z] Successfully built 55ed8ee3c999 [2021-03-19T07:11:35.096Z] 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-19T07:11:36.594Z] ---> job-cost.sh [2021-03-19T07:11:36.594Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kuDz [2021-03-19T07:11:44.009Z] gofmt -l . [2021-03-19T07:11:44.009Z] [ "`gofmt -l .`" = "" ] [2021-03-19T07:11:44.009Z] ./bin/test-attribution-txt.sh [2021-03-19T07:11:44.009Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T07:11:44.064Z] $ docker stop --time=1 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 [2021-03-19T07:11:46.377Z] $ docker rm -f 8a503c6e6a8f10e586991261411445acc5ac375171edf22f884e6055b40fccc6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T07:11:47.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T07:11:47.558Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T07:11:48.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T07:11:49.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T07:11:49.747Z] + ls -al . [2021-03-19T07:11:49.747Z] total 220 [2021-03-19T07:11:49.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 07:11 . [2021-03-19T07:11:49.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 .. [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 07:08 .dockerignore [2021-03-19T07:11:49.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 07:08 .git [2021-03-19T07:11:49.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 07:08 .github [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 07:08 .gitignore [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 07:08 Dockerfile.build [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 07:08 Jenkinsfile [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 07:08 LICENSE [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 07:08 Makefile [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 07:08 README.md [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 07:08 RELEASE-NOTES.txt [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 07:06 VERSION [2021-03-19T07:11:49.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 07:08 bin [2021-03-19T07:11:49.747Z] -rw-r--r-- 1 jenkins jenkins 99939 Mar 19 07:11 coverage.out [2021-03-19T07:11:49.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 example [2021-03-19T07:11:49.747Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 19 07:11 go.mod [2021-03-19T07:11:49.747Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 07:11 go.sum [2021-03-19T07:11:49.747Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 07:08 internal [2021-03-19T07:11:49.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 openapi [2021-03-19T07:11:49.747Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 07:08 pkg [2021-03-19T07:11:49.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 07:08 snap [2021-03-19T07:11:49.747Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 07:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:11:50.114Z] + 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=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 --label arch=arm64 --label version=0.0.0 . [2021-03-19T07:11:50.385Z] Sending build context to Docker daemon 2.395MB [2021-03-19T07:11:50.385Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T07:11:50.385Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T07:11:50.385Z] ---> e6c25673b766 [2021-03-19T07:11:50.385Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T07:11:50.978Z] ---> Running in 990b1a1e03dd [2021-03-19T07:11:51.256Z] Removing intermediate container 990b1a1e03dd [2021-03-19T07:11:51.256Z] ---> 366575d91d34 [2021-03-19T07:11:51.256Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T07:11:51.529Z] ---> Running in 52bd998134df [2021-03-19T07:11:51.573Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T07:11:52.120Z] Removing intermediate container 52bd998134df [2021-03-19T07:11:52.121Z] ---> 6975eda8a559 [2021-03-19T07:11:52.121Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:11:52.121Z] ---> Running in d17a5add2836 [2021-03-19T07:11:52.722Z] Removing intermediate container d17a5add2836 [2021-03-19T07:11:52.722Z] ---> b84d1acd6890 [2021-03-19T07:11:52.722Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T07:11:52.722Z] ---> Running in 192b5623d454 [2021-03-19T07:11:54.696Z] Removing intermediate container 192b5623d454 [2021-03-19T07:11:54.696Z] ---> 73492c72d7a7 [2021-03-19T07:11:54.696Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T07:11:54.971Z] ---> Running in a22ad10f96bd [2021-03-19T07:11:55.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T07:11:56.910Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T07:11:58.331Z] OK: 142 MiB in 39 packages [2021-03-19T07:11:59.319Z] Removing intermediate container a22ad10f96bd [2021-03-19T07:11:59.319Z] ---> 62f6ac10e006 [2021-03-19T07:11:59.319Z] Step 8/24 : COPY . . [2021-03-19T07:12:00.303Z] ---> f60a54a94c96 [2021-03-19T07:12:00.303Z] Step 9/24 : RUN ${MAKE} [2021-03-19T07:12:00.303Z] ---> Running in 9534dbdf7284 [2021-03-19T07:12:01.291Z] 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-19T07:12:18.226Z] lf-activate-venv(): INFO: Adding /tmp/venv-kuDz/bin to PATH [2021-03-19T07:12:18.226Z] INFO: No Stack... [2021-03-19T07:12:19.185Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T07:12:19.759Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T07:12:20.088Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-19T07:12:20.088Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T07:12:20.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [2021-03-19T07:12:20.198Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] did not exist. Created. [2021-03-19T07:12:20.198Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T07:12:20.717Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T07:12:20.860Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T07:12:20.879Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T07:12:28.112Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-19T07:12:29.086Z] Removing intermediate container 9534dbdf7284 [2021-03-19T07:12:29.086Z] ---> 4bf29df73981 [2021-03-19T07:12:29.086Z] Step 10/24 : FROM scratch [2021-03-19T07:12:29.086Z] ---> [2021-03-19T07:12:29.086Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T07:12:29.358Z] ---> Running in 223492d3ec16 [2021-03-19T07:12:29.630Z] Removing intermediate container 223492d3ec16 [2021-03-19T07:12:29.630Z] ---> 0fc317d06072 [2021-03-19T07:12:29.630Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T07:12:29.904Z] ---> Running in 2191d65f0f02 [2021-03-19T07:12:30.183Z] Removing intermediate container 2191d65f0f02 [2021-03-19T07:12:30.183Z] ---> 5c2704fe4a30 [2021-03-19T07:12:30.183Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T07:12:30.183Z] ---> Running in 8ecdf13b76fb [2021-03-19T07:12:30.787Z] Removing intermediate container 8ecdf13b76fb [2021-03-19T07:12:30.787Z] ---> 391fd6d85ea7 [2021-03-19T07:12:30.787Z] Step 14/24 : WORKDIR / [2021-03-19T07:12:30.787Z] ---> Running in 3202f0dfeaba [2021-03-19T07:12:31.387Z] Removing intermediate container 3202f0dfeaba [2021-03-19T07:12:31.387Z] ---> 681dbec708b3 [2021-03-19T07:12:31.387Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T07:12:32.363Z] ---> b081663cc5f4 [2021-03-19T07:12:32.363Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T07:12:33.342Z] ---> 9510950a09cb [2021-03-19T07:12:33.342Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-19T07:12:33.935Z] ---> 09ff25267437 [2021-03-19T07:12:33.935Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-19T07:12:34.533Z] ---> 2d6e31cea72d [2021-03-19T07:12:34.533Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T07:12:35.127Z] ---> 19411ab52e71 [2021-03-19T07:12:35.127Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T07:12:35.402Z] ---> Running in c9dff546c974 [2021-03-19T07:12:36.001Z] Removing intermediate container c9dff546c974 [2021-03-19T07:12:36.001Z] ---> 4ed8bbc565b5 [2021-03-19T07:12:36.001Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T07:12:36.001Z] ---> Running in c6acd7050c68 [2021-03-19T07:12:36.594Z] Removing intermediate container c6acd7050c68 [2021-03-19T07:12:36.594Z] ---> bb1b8fcbbb0c [2021-03-19T07:12:36.594Z] Step 22/24 : LABEL arch=arm64 [2021-03-19T07:12:36.594Z] ---> Running in cd3a9f3c8b3f [2021-03-19T07:12:36.865Z] Removing intermediate container cd3a9f3c8b3f [2021-03-19T07:12:36.865Z] ---> 4657864b0dec [2021-03-19T07:12:36.866Z] Step 23/24 : LABEL git_sha=73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [2021-03-19T07:12:37.138Z] ---> Running in c80dac282383 [2021-03-19T07:12:37.734Z] Removing intermediate container c80dac282383 [2021-03-19T07:12:37.734Z] ---> 73ceebbff9c8 [2021-03-19T07:12:37.734Z] Step 24/24 : LABEL version=0.0.0 [2021-03-19T07:12:37.734Z] ---> Running in 144366b695cf [2021-03-19T07:12:38.330Z] Removing intermediate container 144366b695cf [2021-03-19T07:12:38.330Z] ---> dcd9da125e4f [2021-03-19T07:12:38.330Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T07:12:38.330Z] Successfully built dcd9da125e4f [2021-03-19T07:12:38.330Z] 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-19T07:12:39.348Z] ---> job-cost.sh [2021-03-19T07:12:39.348Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LHZB [2021-03-19T07:13:18.271Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T07:14:39.990Z] lf-activate-venv(): INFO: Adding /tmp/venv-LHZB/bin to PATH [2021-03-19T07:14:39.990Z] INFO: No Stack... [2021-03-19T07:14:39.990Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T07:14:39.990Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T07:14:40.339Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-19T07:14:40.339Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T07:14:40.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [2021-03-19T07:14:40.470Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] did not exist. Created. [2021-03-19T07:14:40.471Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T07:14:40.974Z] /w/workspace/device-sdk-go/1@tmp/durable-eed5cb16/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-eed5cb16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T07:14:41.336Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T07:14:41.375Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T07:14:41.517Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T07:14:41.537Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-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-19T07:14:43.301Z] provisioning config files... [2021-03-19T07:14:43.311Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config7693901941007558784tmp [Pipeline] { [Pipeline] sh [2021-03-19T07:14:43.791Z] + set +x [2021-03-19T07:14:43.791Z] + curl -s https://codecov.io/bash [2021-03-19T07:14:43.791Z] + bash -s -- [2021-03-19T07:14:44.056Z] [2021-03-19T07:14:44.056Z] _____ _ [2021-03-19T07:14:44.056Z] / ____| | | [2021-03-19T07:14:44.056Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T07:14:44.056Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T07:14:44.056Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T07:14:44.056Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T07:14:44.056Z] Bash-20210309-2b87ace [2021-03-19T07:14:44.056Z] [2021-03-19T07:14:44.056Z] [2021-03-19T07:14:44.056Z] ==> git version 2.24.3 found [2021-03-19T07:14:44.056Z] ==> 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-19T07:14:44.056Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T07:14:44.056Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T07:14:44.056Z] ==> Jenkins CI detected. [2021-03-19T07:14:44.056Z] project root: . [2021-03-19T07:14:44.056Z] --> token set from env [2021-03-19T07:14:44.056Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T07:14:44.056Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T07:14:44.056Z] ==> Python coveragepy not found [2021-03-19T07:14:44.056Z] ==> Searching for coverage reports in: [2021-03-19T07:14:44.056Z] + . [2021-03-19T07:14:44.056Z] -> Found 1 reports [2021-03-19T07:14:44.056Z] ==> Detecting git/mercurial file structure [2021-03-19T07:14:44.056Z] ==> Reading reports [2021-03-19T07:14:44.056Z] + ./coverage.out bytes=99939 [2021-03-19T07:14:44.056Z] ==> Appending adjustments [2021-03-19T07:14:44.056Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T07:14:44.319Z] + Found adjustments [2021-03-19T07:14:44.319Z] ==> Gzipping contents [2021-03-19T07:14:44.319Z] 16K /tmp/codecov.j57GDQ.gz [2021-03-19T07:14:44.319Z] ==> Uploading reports [2021-03-19T07:14:44.319Z] url: https://codecov.io [2021-03-19T07:14:44.320Z] query: branch=PR-827&commit=73f6dd7ae1dc48b71098234822fc44fe22aa7f90&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= [2021-03-19T07:14:44.320Z] -> Pinging Codecov [2021-03-19T07:14:44.320Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-827&commit=73f6dd7ae1dc48b71098234822fc44fe22aa7f90&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= [2021-03-19T07:14:44.891Z] -> Uploading to [2021-03-19T07:14:44.891Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/73f6dd7ae1dc48b71098234822fc44fe22aa7f90/8bf1b3ad-4153-48f0-b5ca-0c723f223b14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T071444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf3bb0baff074bd1e63d8dc09fdb970ec5e4b9d42296055728d1c414f5621f50 [2021-03-19T07:14:44.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T07:14:44.891Z] Dload Upload Total Spent Left Speed [2021-03-19T07:14:45.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13457 0 0 100 13457 0 28623 --:--:-- --:--:-- --:--:-- 28631 [2021-03-19T07:14:45.467Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/73f6dd7ae1dc48b71098234822fc44fe22aa7f90 [Pipeline] } [2021-03-19T07:14:45.491Z] 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-19T07:14:48.846Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:14:49.460Z] ---> package-listing.sh [2021-03-19T07:14:49.461Z] ++ facter osfamily [2021-03-19T07:14:49.461Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T07:14:49.461Z] + OS_FAMILY=redhat [2021-03-19T07:14:49.461Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-827 [2021-03-19T07:14:49.461Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T07:14:49.461Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T07:14:49.461Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T07:14:49.461Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T07:14:49.461Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' [2021-03-19T07:14:49.461Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T07:14:49.461Z] + case "${OS_FAMILY}" in [2021-03-19T07:14:49.461Z] + rpm -qa [2021-03-19T07:14:49.461Z] + sort [2021-03-19T07:14:54.753Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T07:14:54.753Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T07:14:54.753Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T07:14:54.753Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' [2021-03-19T07:14:54.753Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [2021-03-19T07:14:54.753Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [Pipeline] echo [2021-03-19T07:14:54.785Z] 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-827/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-19T07:14:55.098Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:14:55.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T07:14:55.437Z] [2021-03-19T07:14:55.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T07:14:55.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T07:14:55.819Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T07:14:55.819Z] df20fa9351a1: Pulling fs layer [2021-03-19T07:14:55.819Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T07:14:55.819Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T07:14:55.819Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T07:14:55.819Z] 93b61091891f: Pulling fs layer [2021-03-19T07:14:55.819Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T07:14:55.819Z] 5e14af77c1be: Pulling fs layer [2021-03-19T07:14:55.819Z] 01666e4c0597: Pulling fs layer [2021-03-19T07:14:55.819Z] aa168da1d23b: Pulling fs layer [2021-03-19T07:14:55.819Z] 46f8f816bc3b: Waiting [2021-03-19T07:14:55.819Z] 5e14af77c1be: Waiting [2021-03-19T07:14:55.819Z] 01666e4c0597: Waiting [2021-03-19T07:14:55.819Z] 93b61091891f: Waiting [2021-03-19T07:14:55.819Z] aa168da1d23b: Waiting [2021-03-19T07:14:55.819Z] 93b9cdb0e59b: Waiting [2021-03-19T07:14:55.819Z] 36b3adc4ff6f: Verifying Checksum [2021-03-19T07:14:55.819Z] 36b3adc4ff6f: Download complete [2021-03-19T07:14:55.819Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T07:14:55.819Z] 46f8f816bc3b: Download complete [2021-03-19T07:14:56.085Z] df20fa9351a1: Download complete [2021-03-19T07:14:56.085Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T07:14:56.085Z] 93b9cdb0e59b: Download complete [2021-03-19T07:14:56.085Z] 5e14af77c1be: Verifying Checksum [2021-03-19T07:14:56.085Z] 5e14af77c1be: Download complete [2021-03-19T07:14:56.085Z] 01666e4c0597: Verifying Checksum [2021-03-19T07:14:56.085Z] 01666e4c0597: Download complete [2021-03-19T07:14:56.085Z] 93b61091891f: Verifying Checksum [2021-03-19T07:14:56.085Z] 93b61091891f: Download complete [2021-03-19T07:14:56.351Z] df20fa9351a1: Pull complete [2021-03-19T07:14:56.613Z] 36b3adc4ff6f: Pull complete [2021-03-19T07:14:56.878Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T07:14:56.878Z] 8ad3a11d3b57: Download complete [2021-03-19T07:14:57.842Z] 8ad3a11d3b57: Pull complete [2021-03-19T07:14:58.107Z] 46f8f816bc3b: Pull complete [2021-03-19T07:14:58.684Z] 93b61091891f: Pull complete [2021-03-19T07:14:58.684Z] aa168da1d23b: Verifying Checksum [2021-03-19T07:14:58.684Z] aa168da1d23b: Download complete [2021-03-19T07:14:58.947Z] 93b9cdb0e59b: Pull complete [2021-03-19T07:14:59.211Z] 5e14af77c1be: Pull complete [2021-03-19T07:14:59.478Z] 01666e4c0597: Pull complete [2021-03-19T07:15:06.112Z] aa168da1d23b: Pull complete [2021-03-19T07:15:06.112Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T07:15:06.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T07:15:06.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T07:15:06.265Z] prd-centos7-docker-4c-2g-30508 does not seem to be running inside a container [2021-03-19T07:15:06.309Z] $ 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-827/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-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-19T07:15:09.780Z] $ docker top d0edd9024d01ba3187efa1eabdd9653de609a12fae199eea8d0dba4438e2c845 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T07:15:10.354Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T07:15:10.670Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T07:15:11.001Z] + ls /var/log/sa-host [2021-03-19T07:15:11.001Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T07:15:11.001Z] file_magic: OK [2021-03-19T07:15:11.001Z] HZ: Using current value: 100 [2021-03-19T07:15:11.001Z] file_header: OK [2021-03-19T07:15:11.001Z] 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-19T07:15:11.001Z] Statistics: [2021-03-19T07:15:11.001Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T07:15:11.001Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T07:15:11.001Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T07:15:11.001Z] file_magic: OK [2021-03-19T07:15:11.001Z] HZ: Using current value: 100 [2021-03-19T07:15:11.001Z] file_header: OK [2021-03-19T07:15:11.001Z] 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-19T07:15:11.001Z] Statistics: [2021-03-19T07:15:11.001Z] Hnuu...uuuununununu... [2021-03-19T07:15:11.001Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T07:15:11.753Z] provisioning config files... [2021-03-19T07:15:11.780Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config705486788458240648tmp [Pipeline] { [Pipeline] echo [2021-03-19T07:15:11.904Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:15:12.242Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T07:15:12.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T07:15:12.408Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:15:12.740Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T07:15:12.770Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:15:13.115Z] ---> sudo-logs.sh [2021-03-19T07:15:13.115Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T07:15:13.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:15:13.569Z] ---> job-cost.sh [2021-03-19T07:15:13.569Z] lf-activate-venv: SKIPPING [2021-03-19T07:15:13.569Z] DEBUG: total: 0.20999999344348907 [2021-03-19T07:15:13.569Z] INFO: Retrieving Stack Cost... [2021-03-19T07:15:14.953Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T07:15:15.217Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T07:15:15.248Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T07:15:15.577Z] ---> logs-deploy.sh [2021-03-19T07:15:15.577Z] lf-activate-venv: SKIPPING [2021-03-19T07:15:15.577Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-827/1 [2021-03-19T07:15:15.577Z] INFO: archiving workspace using pattern(s): [2021-03-19T07:15:16.964Z] Archives upload complete. [2021-03-19T07:15:17.230Z] INFO: archiving logs to Nexus [2021-03-19T07:15:18.173Z] ---> uname -a: [2021-03-19T07:15:18.173Z] Linux prd-centos7-docker-4c-2g-30508.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] ---> lscpu: [2021-03-19T07:15:18.173Z] Architecture: x86_64 [2021-03-19T07:15:18.173Z] CPU op-mode(s): 32-bit, 64-bit [2021-03-19T07:15:18.173Z] Byte Order: Little Endian [2021-03-19T07:15:18.173Z] Address sizes: 40 bits physical, 48 bits virtual [2021-03-19T07:15:18.173Z] CPU(s): 4 [2021-03-19T07:15:18.173Z] On-line CPU(s) list: 0-3 [2021-03-19T07:15:18.173Z] Thread(s) per core: 1 [2021-03-19T07:15:18.173Z] Core(s) per socket: 1 [2021-03-19T07:15:18.173Z] Socket(s): 4 [2021-03-19T07:15:18.173Z] NUMA node(s): 1 [2021-03-19T07:15:18.173Z] Vendor ID: GenuineIntel [2021-03-19T07:15:18.173Z] CPU family: 6 [2021-03-19T07:15:18.173Z] Model: 44 [2021-03-19T07:15:18.173Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-03-19T07:15:18.173Z] Stepping: 1 [2021-03-19T07:15:18.173Z] CPU MHz: 2933.436 [2021-03-19T07:15:18.173Z] BogoMIPS: 5866.87 [2021-03-19T07:15:18.173Z] Virtualization: VT-x [2021-03-19T07:15:18.173Z] Hypervisor vendor: KVM [2021-03-19T07:15:18.173Z] Virtualization type: full [2021-03-19T07:15:18.173Z] L1d cache: 128 KiB [2021-03-19T07:15:18.173Z] L1i cache: 128 KiB [2021-03-19T07:15:18.173Z] L2 cache: 16 MiB [2021-03-19T07:15:18.173Z] L3 cache: 64 MiB [2021-03-19T07:15:18.173Z] NUMA node0 CPU(s): 0-3 [2021-03-19T07:15:18.173Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-03-19T07:15:18.173Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-03-19T07:15:18.173Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-03-19T07:15:18.173Z] Vulnerability Meltdown: Mitigation; PTI [2021-03-19T07:15:18.173Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-03-19T07:15:18.173Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-03-19T07:15:18.173Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-03-19T07:15:18.173Z] Vulnerability Srbds: Not affected [2021-03-19T07:15:18.173Z] Vulnerability Tsx async abort: Not affected [2021-03-19T07:15:18.173Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] ---> nproc: [2021-03-19T07:15:18.173Z] 4 [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z] ---> df -h: [2021-03-19T07:15:18.173Z] Filesystem Size Used Available Use% Mounted on [2021-03-19T07:15:18.173Z] overlay 50.0G 7.3G 42.7G 15% / [2021-03-19T07:15:18.173Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-03-19T07:15:18.173Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-03-19T07:15:18.173Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-827 [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-03-19T07:15:18.173Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-03-19T07:15:18.173Z] [2021-03-19T07:15:18.173Z]