Pull request #829 updated 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 e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e+e522836f5d508ce20413c5d2a08a926bd2b9771b (6443cbe2afcfa192fafa6ef740219c78ba453af7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31312 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [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-829 # 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 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/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e Merge succeeded, producing e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e Checking out Revision e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e (PR-829) > git config core.sparsecheckout # timeout=10 > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 Commit message: "feat: update example configuration to support MessageBus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-25T04:04:27.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk d1d9bcbcfc0abd23936c477722a2a680a73e8042 # timeout=10 [Pipeline] withCredentials [2021-03-25T04:04:27.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T04:04:27.533Z] ========================================================= [2021-03-25T04:04:27.533Z] EdgeX Global Pipelines Version Info [2021-03-25T04:04:27.533Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:04:29.018Z] ------------------- [2021-03-25T04:04:29.018Z] stable info: [2021-03-25T04:04:29.018Z] ------------------- [2021-03-25T04:04:29.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T04:04:29.018Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T04:04:29.018Z] Message: update stable to v1.0.186 [2021-03-25T04:04:29.966Z] ------------------- [2021-03-25T04:04:29.966Z] experimental info: [2021-03-25T04:04:29.966Z] ------------------- [2021-03-25T04:04:29.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T04:04:29.966Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-25T04:04:29.966Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T04:04:30.255Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-25T04:04:30.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-25T04:04:30.483Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T04:04:30.605Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T04:04:30.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T04:04:30.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T04:04:30.861Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T04:04:30.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T04:04:31.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-25T04:04:31.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T04:04:31.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T04:04:31.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-25T04:04:31.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T04:04:31.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T04:04:31.672Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-25T04:04:31.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:04:31.850Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:04:31.932Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:04:32.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T04:04:32.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T04:04:32.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T04:04:32.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-25T04:04:32.462Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T04:04:32.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T04:04:32.631Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-25T04:04:32.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T04:04:32.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-25T04:04:32.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-25T04:04:33.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-25T04:04:33.098Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [Pipeline] echo [2021-03-25T04:04:33.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1b79a6 [Pipeline] echo [2021-03-25T04:04:33.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:04:33.463Z] provisioning config files... [2021-03-25T04:04:33.494Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config7734953450451726189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:04:33.852Z] ---> docker-login.sh [2021-03-25T04:04:33.852Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:04:34.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:04:34.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:04:34.377Z] Configure a credential helper to remove this warning. See [2021-03-25T04:04:34.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:04:34.377Z] [2021-03-25T04:04:34.377Z] Login Succeeded [2021-03-25T04:04:34.377Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:04:34.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:04:34.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:04:34.377Z] Configure a credential helper to remove this warning. See [2021-03-25T04:04:34.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:04:34.377Z] [2021-03-25T04:04:34.377Z] Login Succeeded [2021-03-25T04:04:34.377Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:04:34.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:04:34.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:04:34.641Z] Configure a credential helper to remove this warning. See [2021-03-25T04:04:34.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:04:34.641Z] [2021-03-25T04:04:34.641Z] Login Succeeded [2021-03-25T04:04:34.641Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:04:34.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:04:34.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:04:34.903Z] Configure a credential helper to remove this warning. See [2021-03-25T04:04:34.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:04:34.903Z] [2021-03-25T04:04:34.903Z] Login Succeeded [2021-03-25T04:04:34.903Z] docker.io [2021-03-25T04:04:35.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:04:35.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:04:35.428Z] Configure a credential helper to remove this warning. See [2021-03-25T04:04:35.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:04:35.428Z] [2021-03-25T04:04:35.428Z] Login Succeeded [2021-03-25T04:04:35.428Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:04:35.439Z] 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-25T04:04:36.314Z] + git log --format=format:%s -1 e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [Pipeline] echo [2021-03-25T04:04:36.382Z] GIT_COMMIT: e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e, Commit Message: feat: update example configuration to support MessageBus [Pipeline] echo [2021-03-25T04:04:36.430Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:04:37.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:04:37.045Z] [2021-03-25T04:04:37.045Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:04:37.394Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:04:37.394Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T04:04:37.394Z] 31603596830f: Pulling fs layer [2021-03-25T04:04:37.394Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T04:04:37.394Z] 6ca5941a6612: Pulling fs layer [2021-03-25T04:04:37.394Z] ecc8261a40a4: Pulling fs layer [2021-03-25T04:04:37.394Z] ecc8261a40a4: Waiting [2021-03-25T04:04:37.394Z] 2a8b12db71e7: Verifying Checksum [2021-03-25T04:04:37.394Z] 2a8b12db71e7: Download complete [2021-03-25T04:04:37.394Z] 31603596830f: Verifying Checksum [2021-03-25T04:04:37.394Z] 31603596830f: Download complete [2021-03-25T04:04:37.658Z] ecc8261a40a4: Verifying Checksum [2021-03-25T04:04:37.658Z] ecc8261a40a4: Download complete [2021-03-25T04:04:37.658Z] 6ca5941a6612: Download complete [2021-03-25T04:04:37.922Z] 31603596830f: Pull complete [2021-03-25T04:04:37.923Z] 2a8b12db71e7: Pull complete [2021-03-25T04:04:38.876Z] 6ca5941a6612: Pull complete [2021-03-25T04:04:39.137Z] ecc8261a40a4: Pull complete [2021-03-25T04:04:39.137Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T04:04:39.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:04:39.137Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T04:04:39.240Z] prd-centos7-docker-4c-2g-31312 does not seem to be running inside a container [2021-03-25T04:04:39.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@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:10004/edgex-devops/git-semver:latest cat [2021-03-25T04:04:41.501Z] $ docker top 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T04:04:41.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T04:04:41.979Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T04:04:42.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T04:04:42.211Z] $ docker exec 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f ssh-agent [2021-03-25T04:04:42.380Z] SSH_AUTH_SOCK=/tmp/ssh-PldbmGG3F2RE/agent.12 [2021-03-25T04:04:42.380Z] SSH_AGENT_PID=18 [2021-03-25T04:04:42.395Z] Running ssh-add (command line suppressed) [2021-03-25T04:04:42.514Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_6038486390949093236.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_6038486390949093236.key) [2021-03-25T04:04:42.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T04:04:42.913Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T04:04:42.937Z] $ docker exec --env ******** --env ******** 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f ssh-agent -k [2021-03-25T04:04:43.053Z] unset SSH_AUTH_SOCK; [2021-03-25T04:04:43.053Z] unset SSH_AGENT_PID; [2021-03-25T04:04:43.053Z] echo Agent pid 18 killed; [2021-03-25T04:04:43.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T04:04:43.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T04:04:43.249Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T04:04:43.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T04:04:43.417Z] $ docker exec 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f ssh-agent [2021-03-25T04:04:43.574Z] SSH_AUTH_SOCK=/tmp/ssh-Ok75JJsCnmYa/agent.47 [2021-03-25T04:04:43.574Z] SSH_AGENT_PID=52 [2021-03-25T04:04:43.581Z] Running ssh-add (command line suppressed) [2021-03-25T04:04:43.697Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_4690322391918818529.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_4690322391918818529.key) [2021-03-25T04:04:43.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T04:04:44.085Z] + git semver init [2021-03-25T04:04:44.086Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T04:04:44.086Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-25T04:04:44.086Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T04:04:44.086Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T04:04:44.086Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T04:04:44.086Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T04:04:44.086Z] # $SEMVER_BRANCH = PR-829 [2021-03-25T04:04:44.086Z] # $SEMVER_TEMP = /tmp/semver-270590193 [2021-03-25T04:04:44.086Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-25T04:04:44.662Z] # '/tmp/semver-270590193' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-25T04:04:44.662Z] # -> Force: false [2021-03-25T04:04:44.662Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-25T04:04:44.675Z] $ docker exec --env ******** --env ******** 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f ssh-agent -k [2021-03-25T04:04:44.781Z] unset SSH_AUTH_SOCK; [2021-03-25T04:04:44.781Z] unset SSH_AGENT_PID; [2021-03-25T04:04:44.781Z] echo Agent pid 52 killed; [2021-03-25T04:04:44.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T04:04:45.306Z] + git semver [Pipeline] } [2021-03-25T04:04:45.323Z] $ docker stop --time=1 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f [2021-03-25T04:04:46.839Z] $ docker rm -f 9d1006c5deda61918c9b2908164a4bd76975f168832bdf130146516b8af7eb2f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T04:04:47.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T04:04:47.885Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T04:04:47.888Z] [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-25T04:05:03.395Z] Still waiting to schedule task [2021-03-25T04:05:03.395Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31312’ [2021-03-25T04:05:03.398Z] Still waiting to schedule task [2021-03-25T04:05:03.398Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-25T04:06:11.892Z] Running on prd-centos7-docker-4c-2g-31313 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T04:06:11.984Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-25T04:06:19.948Z] using credential edgex-jenkins-ssh [2021-03-25T04:06:20.014Z] Cloning the remote Git repository [2021-03-25T04:06:20.129Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:20.326Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-25T04:06:20.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:20.516Z] > git --version # timeout=10 [2021-03-25T04:06:20.535Z] > git --version # 'git version 2.24.3' [2021-03-25T04:06:20.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:20.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:06:23.038Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [2021-03-25T04:06:23.184Z] Merge succeeded, producing e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [2021-03-25T04:06:23.185Z] Checking out Revision e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e (PR-829) [2021-03-25T04:06:22.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:06:22.441Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:06:22.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:06:22.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:22.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:22.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T04:06:23.042Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:06:23.055Z] > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 [2021-03-25T04:06:23.130Z] > git remote # timeout=10 [2021-03-25T04:06:23.140Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T04:06:23.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:23.156Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T04:06:23.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T04:06:23.180Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:06:23.197Z] > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 [2021-03-25T04:06:27.696Z] Commit message: "feat: update example configuration to support MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T04:06:29.171Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:06:30.077Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:06:30.392Z] + sudo service docker restart [2021-03-25T04:06:30.392Z] + true [2021-03-25T04:06:30.392Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:06:32.496Z] provisioning config files... [2021-03-25T04:06:32.531Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5401098959100668820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:06:33.156Z] ---> docker-login.sh [2021-03-25T04:06:33.156Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:06:34.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:34.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:34.764Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:34.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:34.764Z] [2021-03-25T04:06:34.764Z] Login Succeeded [2021-03-25T04:06:34.764Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:06:34.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:35.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:35.044Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:35.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:35.044Z] [2021-03-25T04:06:35.044Z] Login Succeeded [2021-03-25T04:06:35.044Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:06:35.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:35.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:35.314Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:35.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:35.314Z] [2021-03-25T04:06:35.314Z] Login Succeeded [2021-03-25T04:06:35.314Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:06:35.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:35.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:35.314Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:35.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:35.314Z] [2021-03-25T04:06:35.314Z] Login Succeeded [2021-03-25T04:06:35.314Z] docker.io [2021-03-25T04:06:35.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:36.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:36.201Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:36.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:36.201Z] [2021-03-25T04:06:36.201Z] Login Succeeded [2021-03-25T04:06:36.201Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:06:36.212Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T04:06:36.579Z] ========================================================= [2021-03-25T04:06:36.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T04:06:36.579Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:06:36.933Z] + 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-25T04:06:37.203Z] Sending build context to Docker daemon 2.385MB [2021-03-25T04:06:37.203Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T04:06:37.203Z] Step 2/8 : FROM ${BASE} [2021-03-25T04:06:37.203Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T04:06:37.203Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T04:06:37.203Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T04:06:37.203Z] de9db76c5a1d: Pulling fs layer [2021-03-25T04:06:37.203Z] bca2f99d35d6: Pulling fs layer [2021-03-25T04:06:37.203Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T04:06:37.203Z] 7c6f9722023f: Pulling fs layer [2021-03-25T04:06:37.203Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T04:06:37.203Z] bca2f99d35d6: Waiting [2021-03-25T04:06:37.203Z] a35cf1a2eb13: Waiting [2021-03-25T04:06:37.203Z] 93359f2a8cfa: Waiting [2021-03-25T04:06:37.203Z] 7c6f9722023f: Waiting [2021-03-25T04:06:37.203Z] de9db76c5a1d: Verifying Checksum [2021-03-25T04:06:37.203Z] de9db76c5a1d: Download complete [2021-03-25T04:06:37.203Z] 0ef7d3d256c8: Download complete [2021-03-25T04:06:37.203Z] 93359f2a8cfa: Verifying Checksum [2021-03-25T04:06:37.203Z] 93359f2a8cfa: Download complete [2021-03-25T04:06:37.203Z] 7c6f9722023f: Verifying Checksum [2021-03-25T04:06:37.203Z] 7c6f9722023f: Download complete [2021-03-25T04:06:38.166Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T04:06:38.166Z] 188c0c94c7c5: Download complete [2021-03-25T04:06:38.456Z] 188c0c94c7c5: Pull complete [2021-03-25T04:06:38.767Z] 0ef7d3d256c8: Pull complete [2021-03-25T04:06:39.037Z] de9db76c5a1d: Pull complete [2021-03-25T04:06:40.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31314 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T04:06:40.549Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-25T04:06:41.045Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T04:06:41.045Z] a35cf1a2eb13: Download complete [2021-03-25T04:06:41.996Z] bca2f99d35d6: Verifying Checksum [2021-03-25T04:06:41.996Z] bca2f99d35d6: Download complete [2021-03-25T04:06:45.461Z] using credential edgex-jenkins-ssh [2021-03-25T04:06:45.522Z] Cloning the remote Git repository [2021-03-25T04:06:45.582Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:45.686Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-25T04:06:45.778Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:45.778Z] > git --version # timeout=10 [2021-03-25T04:06:45.795Z] > git --version # 'git version 2.17.1' [2021-03-25T04:06:45.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:45.855Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:06:47.665Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [2021-03-25T04:06:47.873Z] Merge succeeded, producing e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e [2021-03-25T04:06:47.873Z] Checking out Revision e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e (PR-829) [2021-03-25T04:06:46.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:06:46.967Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:06:47.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:06:47.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:06:47.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:47.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T04:06:47.695Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:06:47.709Z] > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 [2021-03-25T04:06:47.804Z] > git remote # timeout=10 [2021-03-25T04:06:47.820Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T04:06:47.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:06:47.843Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T04:06:47.865Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T04:06:47.889Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:06:47.916Z] > git checkout -f e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 [2021-03-25T04:06:52.278Z] Commit message: "feat: update example configuration to support MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T04:06:53.698Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:06:54.099Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:06:54.447Z] + true [2021-03-25T04:06:54.447Z] + sudo service docker restart [2021-03-25T04:06:54.818Z] bca2f99d35d6: Pull complete [2021-03-25T04:06:54.819Z] 93359f2a8cfa: Pull complete [2021-03-25T04:06:54.819Z] 7c6f9722023f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:06:56.496Z] provisioning config files... [2021-03-25T04:06:56.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7306890492766416407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:06:57.028Z] ---> docker-login.sh [2021-03-25T04:06:57.028Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:06:58.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:58.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:58.288Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:58.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:58.288Z] [2021-03-25T04:06:58.288Z] Login Succeeded [2021-03-25T04:06:58.288Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:06:58.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:58.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:58.838Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:58.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:58.838Z] [2021-03-25T04:06:58.838Z] Login Succeeded [2021-03-25T04:06:58.838Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:06:59.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:59.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:59.389Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:59.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:59.389Z] [2021-03-25T04:06:59.389Z] Login Succeeded [2021-03-25T04:06:59.389Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:06:59.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:06:59.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:06:59.937Z] Configure a credential helper to remove this warning. See [2021-03-25T04:06:59.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:06:59.937Z] [2021-03-25T04:06:59.937Z] Login Succeeded [2021-03-25T04:06:59.937Z] docker.io [2021-03-25T04:07:00.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:07:00.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:07:00.482Z] Configure a credential helper to remove this warning. See [2021-03-25T04:07:00.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:07:00.482Z] [2021-03-25T04:07:00.482Z] Login Succeeded [2021-03-25T04:07:00.482Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:07:00.499Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T04:07:00.994Z] ========================================================= [2021-03-25T04:07:00.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T04:07:00.994Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:07:01.367Z] + 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-25T04:07:01.626Z] a35cf1a2eb13: Pull complete [2021-03-25T04:07:01.626Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T04:07:01.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T04:07:01.626Z] ---> a62c8e92a672 [2021-03-25T04:07:01.626Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T04:07:01.642Z] Sending build context to Docker daemon 2.387MB [2021-03-25T04:07:01.894Z] ---> Running in 32530f691678 [2021-03-25T04:07:01.914Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T04:07:01.914Z] Step 2/8 : FROM ${BASE} [2021-03-25T04:07:01.914Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T04:07:01.914Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T04:07:01.914Z] a4357932f1b6: Pulling fs layer [2021-03-25T04:07:01.914Z] 18c013af1878: Pulling fs layer [2021-03-25T04:07:01.914Z] 00ac8860ef70: Pulling fs layer [2021-03-25T04:07:01.914Z] 63d7cb157983: Pulling fs layer [2021-03-25T04:07:01.914Z] b116817d02f9: Pulling fs layer [2021-03-25T04:07:01.914Z] 745a02a5169b: Pulling fs layer [2021-03-25T04:07:01.914Z] 63d7cb157983: Waiting [2021-03-25T04:07:01.914Z] b116817d02f9: Waiting [2021-03-25T04:07:01.914Z] 745a02a5169b: Waiting [2021-03-25T04:07:01.914Z] 00ac8860ef70: Waiting [2021-03-25T04:07:01.914Z] 18c013af1878: Verifying Checksum [2021-03-25T04:07:01.914Z] 18c013af1878: Download complete [2021-03-25T04:07:01.914Z] a4357932f1b6: Download complete [2021-03-25T04:07:01.914Z] 63d7cb157983: Verifying Checksum [2021-03-25T04:07:01.914Z] 63d7cb157983: Download complete [2021-03-25T04:07:01.914Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T04:07:01.914Z] 5f621e34cdf4: Download complete [2021-03-25T04:07:01.914Z] b116817d02f9: Download complete [2021-03-25T04:07:02.196Z] Removing intermediate container 32530f691678 [2021-03-25T04:07:02.196Z] ---> 4c4796aa7f92 [2021-03-25T04:07:02.196Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T04:07:02.526Z] 5f621e34cdf4: Pull complete [2021-03-25T04:07:02.593Z] ---> Running in ce0e67821a93 [2021-03-25T04:07:03.126Z] a4357932f1b6: Pull complete [2021-03-25T04:07:03.400Z] 18c013af1878: Pull complete [2021-03-25T04:07:04.016Z] Removing intermediate container ce0e67821a93 [2021-03-25T04:07:04.017Z] ---> 7fd75a749c6f [2021-03-25T04:07:04.017Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T04:07:04.017Z] ---> Running in 8ffd2ef0da82 [2021-03-25T04:07:04.388Z] 745a02a5169b: Verifying Checksum [2021-03-25T04:07:04.389Z] 745a02a5169b: Download complete [2021-03-25T04:07:04.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T04:07:05.834Z] 00ac8860ef70: Download complete [2021-03-25T04:07:05.962Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T04:07:06.708Z] OK: 166 MiB in 39 packages [2021-03-25T04:07:07.789Z] Removing intermediate container 8ffd2ef0da82 [2021-03-25T04:07:07.789Z] ---> 932be1ac776b [2021-03-25T04:07:07.789Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T04:07:07.789Z] ---> Running in 22cac89d5dd2 [2021-03-25T04:07:08.073Z] Removing intermediate container 22cac89d5dd2 [2021-03-25T04:07:08.073Z] ---> 577ad24130d9 [2021-03-25T04:07:08.073Z] Step 7/8 : COPY . . [2021-03-25T04:07:10.126Z] ---> dbaeccb73d12 [2021-03-25T04:07:10.126Z] Step 8/8 : RUN go mod download [2021-03-25T04:07:10.126Z] ---> Running in 1945692a4b4b [2021-03-25T04:07:16.014Z] 00ac8860ef70: Pull complete [2021-03-25T04:07:16.284Z] 63d7cb157983: Pull complete [2021-03-25T04:07:16.874Z] b116817d02f9: Pull complete [2021-03-25T04:07:21.193Z] 745a02a5169b: Pull complete [2021-03-25T04:07:21.193Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T04:07:21.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T04:07:21.193Z] ---> b7e6874047d6 [2021-03-25T04:07:21.193Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T04:07:24.596Z] ---> Running in 22fe5c92ec3c [2021-03-25T04:07:24.872Z] Removing intermediate container 22fe5c92ec3c [2021-03-25T04:07:24.872Z] ---> 5ffb95f29476 [2021-03-25T04:07:24.872Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T04:07:24.872Z] ---> Running in 6634dcbb9ec8 [2021-03-25T04:07:27.500Z] Removing intermediate container 6634dcbb9ec8 [2021-03-25T04:07:27.500Z] ---> c493a748aa32 [2021-03-25T04:07:27.500Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T04:07:27.500Z] ---> Running in 79995d21bf34 [2021-03-25T04:07:28.937Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T04:07:29.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T04:07:30.126Z] OK: 142 MiB in 39 packages [2021-03-25T04:07:31.556Z] Removing intermediate container 79995d21bf34 [2021-03-25T04:07:31.556Z] ---> e0a735499de6 [2021-03-25T04:07:31.556Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T04:07:31.830Z] ---> Running in a43cfb8bd354 [2021-03-25T04:07:32.423Z] Removing intermediate container a43cfb8bd354 [2021-03-25T04:07:32.423Z] ---> abc0a58ac900 [2021-03-25T04:07:32.423Z] Step 7/8 : COPY . . [2021-03-25T04:07:33.894Z] ---> 302b2cff3714 [2021-03-25T04:07:33.894Z] Step 8/8 : RUN go mod download [2021-03-25T04:07:33.894Z] ---> Running in 80d933c492d5 [2021-03-25T04:07:49.541Z] Removing intermediate container 1945692a4b4b [2021-03-25T04:07:49.541Z] ---> 4df4c600cc60 [2021-03-25T04:07:49.541Z] Successfully built 4df4c600cc60 [2021-03-25T04:07:49.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:07:50.187Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T04:07:50.881Z] . [Pipeline] withDockerContainer [2021-03-25T04:07:51.050Z] prd-centos7-docker-4c-2g-31313 does not seem to be running inside a container [2021-03-25T04:07:51.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T04:07:53.121Z] $ docker top fa67d1378b377712c30ea83fdcf4214a3b66fad2336cdebe9299ad47e9516f49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:07:54.316Z] + go version [2021-03-25T04:07:54.316Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T04:07:54.699Z] $ docker stop --time=1 fa67d1378b377712c30ea83fdcf4214a3b66fad2336cdebe9299ad47e9516f49 [2021-03-25T04:07:56.706Z] $ docker rm -f fa67d1378b377712c30ea83fdcf4214a3b66fad2336cdebe9299ad47e9516f49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:07:57.829Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T04:07:57.829Z] . [Pipeline] withDockerContainer [2021-03-25T04:07:58.323Z] prd-centos7-docker-4c-2g-31313 does not seem to be running inside a container [2021-03-25T04:07:58.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T04:08:00.217Z] $ docker top 0f8f443a449db4113d07a8654c8f63889d681af5250d899a1f1bb01a729e3f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:08:00.676Z] Removing intermediate container 80d933c492d5 [2021-03-25T04:08:00.676Z] ---> ad604bb3c665 [2021-03-25T04:08:00.676Z] Successfully built ad604bb3c665 [2021-03-25T04:08:00.676Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:08:00.839Z] + make test [2021-03-25T04:08:00.839Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T04:08:01.010Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T04:08:01.010Z] . [Pipeline] withDockerContainer [2021-03-25T04:08:01.241Z] prd-ubuntu18.04-docker-arm64-4c-16g-31314 does not seem to be running inside a container [2021-03-25T04:08:01.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T04:08:03.010Z] $ docker top 606a8aa77e11dde0f643e718220f3db6d5301ef18ffe2b6e4624ad0a7e4b506f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:08:04.057Z] + go version [2021-03-25T04:08:04.057Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T04:08:04.087Z] $ docker stop --time=1 606a8aa77e11dde0f643e718220f3db6d5301ef18ffe2b6e4624ad0a7e4b506f [2021-03-25T04:08:06.242Z] $ docker rm -f 606a8aa77e11dde0f643e718220f3db6d5301ef18ffe2b6e4624ad0a7e4b506f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:08:07.185Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T04:08:07.185Z] . [Pipeline] withDockerContainer [2021-03-25T04:08:07.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-31314 does not seem to be running inside a container [2021-03-25T04:08:07.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T04:08:09.099Z] $ docker top 07a528242e0eaaf28eefae08d9e6d355497d4d016f9c7e021b4aee693ab93e08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:08:10.149Z] + make test [2021-03-25T04:08:10.149Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T04:08:23.321Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T04:08:32.337Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T04:08:34.361Z] # pkg-config --cflags -- libzmq [2021-03-25T04:08:34.361Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T04:08:42.527Z] # pkg-config --cflags -- libzmq [2021-03-25T04:08:42.527Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T04:09:07.869Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T04:09:07.869Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T04:09:07.869Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T04:09:07.869Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T04:09:07.869Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T04:09:09.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.955s coverage: 6.6% of statements [2021-03-25T04:09:09.841Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T04:09:09.841Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T04:09:09.871Z] $ docker stop --time=1 0f8f443a449db4113d07a8654c8f63889d681af5250d899a1f1bb01a729e3f3f [2021-03-25T04:09:12.090Z] $ docker rm -f 0f8f443a449db4113d07a8654c8f63889d681af5250d899a1f1bb01a729e3f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:09:13.950Z] ---> job-cost.sh [2021-03-25T04:09:13.950Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hlnj [2021-03-25T04:09:21.561Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T04:09:21.561Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T04:09:21.561Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T04:09:21.561Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T04:09:21.561Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T04:09:23.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.798s coverage: 6.6% of statements [2021-03-25T04:09:23.521Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T04:09:23.790Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T04:09:23.821Z] $ docker stop --time=1 07a528242e0eaaf28eefae08d9e6d355497d4d016f9c7e021b4aee693ab93e08 [2021-03-25T04:09:26.106Z] $ docker rm -f 07a528242e0eaaf28eefae08d9e6d355497d4d016f9c7e021b4aee693ab93e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:09:27.659Z] ---> job-cost.sh [2021-03-25T04:09:27.659Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gwqx [2021-03-25T04:09:40.777Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:10:06.595Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:10:28.026Z] lf-activate-venv(): INFO: Adding /tmp/venv-hlnj/bin to PATH [2021-03-25T04:10:28.027Z] INFO: No Stack... [2021-03-25T04:10:28.027Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:10:28.027Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:10:28.405Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-25T04:10:28.405Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T04:10:28.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [2021-03-25T04:10:28.562Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] did not exist. Created. [2021-03-25T04:10:28.562Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:10:28.981Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T04:10:29.678Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:10:29.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:10:30.423Z] Failed in branch amd64 [2021-03-25T04:11:28.518Z] lf-activate-venv(): INFO: Adding /tmp/venv-gwqx/bin to PATH [2021-03-25T04:11:28.518Z] INFO: No Stack... [2021-03-25T04:11:28.518Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T04:11:29.108Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:11:29.447Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-25T04:11:29.447Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T04:11:29.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [2021-03-25T04:11:29.561Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] did not exist. Created. [2021-03-25T04:11:29.561Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:11:30.005Z] /w/workspace/device-sdk-go/4@tmp/durable-2d9948c7/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-2d9948c7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T04:11:30.345Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T04:11:30.421Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T04:11:31.420Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:11:31.435Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:11:32.101Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-25T04:11:34.892Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:11:35.467Z] ---> package-listing.sh [2021-03-25T04:11:35.467Z] ++ facter osfamily [2021-03-25T04:11:35.467Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T04:11:35.467Z] + OS_FAMILY=redhat [2021-03-25T04:11:35.467Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T04:11:35.467Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T04:11:35.467Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T04:11:35.467Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T04:11:35.467Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T04:11:35.467Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:11:35.467Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T04:11:35.467Z] + case "${OS_FAMILY}" in [2021-03-25T04:11:35.467Z] + rpm -qa [2021-03-25T04:11:35.467Z] + sort [2021-03-25T04:11:40.786Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T04:11:40.786Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T04:11:40.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T04:11:40.786Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:11:40.786Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-25T04:11:40.786Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [Pipeline] echo [2021-03-25T04:11:40.802Z] 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-829/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-25T04:11:41.099Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:11:41.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:11:41.410Z] [2021-03-25T04:11:41.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:11:41.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:11:41.774Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T04:11:41.774Z] df20fa9351a1: Pulling fs layer [2021-03-25T04:11:41.774Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T04:11:41.774Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T04:11:41.774Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T04:11:41.774Z] 93b61091891f: Pulling fs layer [2021-03-25T04:11:41.774Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T04:11:41.774Z] 5e14af77c1be: Pulling fs layer [2021-03-25T04:11:41.774Z] 01666e4c0597: Pulling fs layer [2021-03-25T04:11:41.774Z] aa168da1d23b: Pulling fs layer [2021-03-25T04:11:41.774Z] 46f8f816bc3b: Waiting [2021-03-25T04:11:41.774Z] 93b61091891f: Waiting [2021-03-25T04:11:41.774Z] 93b9cdb0e59b: Waiting [2021-03-25T04:11:41.774Z] 5e14af77c1be: Waiting [2021-03-25T04:11:41.774Z] 01666e4c0597: Waiting [2021-03-25T04:11:41.774Z] aa168da1d23b: Waiting [2021-03-25T04:11:41.774Z] 36b3adc4ff6f: Download complete [2021-03-25T04:11:41.774Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T04:11:41.774Z] 46f8f816bc3b: Download complete [2021-03-25T04:11:42.041Z] df20fa9351a1: Download complete [2021-03-25T04:11:42.041Z] 93b9cdb0e59b: Download complete [2021-03-25T04:11:42.041Z] 5e14af77c1be: Verifying Checksum [2021-03-25T04:11:42.041Z] 5e14af77c1be: Download complete [2021-03-25T04:11:42.041Z] 93b61091891f: Verifying Checksum [2021-03-25T04:11:42.041Z] 93b61091891f: Download complete [2021-03-25T04:11:42.041Z] 01666e4c0597: Verifying Checksum [2021-03-25T04:11:42.041Z] 01666e4c0597: Download complete [2021-03-25T04:11:42.305Z] df20fa9351a1: Pull complete [2021-03-25T04:11:42.568Z] 36b3adc4ff6f: Pull complete [2021-03-25T04:11:42.840Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T04:11:42.840Z] 8ad3a11d3b57: Download complete [2021-03-25T04:11:43.800Z] 8ad3a11d3b57: Pull complete [2021-03-25T04:11:44.067Z] 46f8f816bc3b: Pull complete [2021-03-25T04:11:44.648Z] aa168da1d23b: Verifying Checksum [2021-03-25T04:11:44.648Z] aa168da1d23b: Download complete [2021-03-25T04:11:44.648Z] 93b61091891f: Pull complete [2021-03-25T04:11:44.912Z] 93b9cdb0e59b: Pull complete [2021-03-25T04:11:44.912Z] 5e14af77c1be: Pull complete [2021-03-25T04:11:45.179Z] 01666e4c0597: Pull complete [2021-03-25T04:11:51.815Z] aa168da1d23b: Pull complete [2021-03-25T04:11:52.079Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T04:11:52.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:11:52.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T04:11:52.234Z] prd-centos7-docker-4c-2g-31312 does not seem to be running inside a container [2021-03-25T04:11:52.284Z] $ 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-829/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-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-25T04:11:55.368Z] $ docker top a8aaf6b47441b0f7607d19588e7e479e575f0aae3c1d3ebb71d3bd48d9a3c6c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:11:55.960Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T04:11:56.262Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T04:11:56.566Z] + ls /var/log/sa-host [2021-03-25T04:11:56.566Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T04:11:56.566Z] file_magic: OK [2021-03-25T04:11:56.566Z] HZ: Using current value: 100 [2021-03-25T04:11:56.566Z] file_header: OK [2021-03-25T04:11:56.566Z] 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-25T04:11:56.566Z] Statistics: [2021-03-25T04:11:56.566Z] Hnuu...uuuununununu... [2021-03-25T04:11:56.566Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T04:11:56.566Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T04:11:56.566Z] file_magic: OK [2021-03-25T04:11:56.566Z] HZ: Using current value: 100 [2021-03-25T04:11:56.566Z] file_header: OK [2021-03-25T04:11:56.566Z] 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-25T04:11:56.566Z] Statistics: [2021-03-25T04:11:56.566Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T04:11:56.566Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T04:11:56.829Z] provisioning config files... [2021-03-25T04:11:56.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config7770440497844069519tmp [Pipeline] { [Pipeline] echo [2021-03-25T04:11:56.997Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:11:57.299Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T04:11:57.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T04:11:57.412Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:11:57.714Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T04:11:57.727Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:11:58.042Z] ---> sudo-logs.sh [2021-03-25T04:11:58.042Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T04:11:58.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:11:58.474Z] ---> job-cost.sh [2021-03-25T04:11:58.474Z] lf-activate-venv: SKIPPING [2021-03-25T04:11:58.474Z] DEBUG: total: 0.20999999344348907 [2021-03-25T04:11:58.474Z] INFO: Retrieving Stack Cost... [2021-03-25T04:11:59.424Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:12:00.378Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T04:12:00.395Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:12:00.702Z] ---> logs-deploy.sh [2021-03-25T04:12:00.702Z] lf-activate-venv: SKIPPING [2021-03-25T04:12:00.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/4 [2021-03-25T04:12:00.703Z] INFO: archiving workspace using pattern(s): [2021-03-25T04:12:02.634Z] Archives upload complete. [2021-03-25T04:12:02.634Z] INFO: archiving logs to Nexus