Pull request #873 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 cf93359dff5245471924d3320a92e8f269234a08+e9afc7ccd5ba2553acad713398a13835ab73bf06 (79e5e4667b840d3b8ea3d8bf3a26af2b362c8bc7) 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 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 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-873/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 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 > 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-873/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-33831 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [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-873 # 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/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) > git config core.sparsecheckout # timeout=10 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # 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 e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 Commit message: "fix: fix deviceProfileMap refer to the same object" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-13T04:21:47.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-13T04:21:48.172Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-13T04:21:48.376Z] ========================================================= [2021-04-13T04:21:48.376Z] EdgeX Global Pipelines Version Info [2021-04-13T04:21:48.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:21:49.913Z] ------------------- [2021-04-13T04:21:49.913Z] stable info: [2021-04-13T04:21:49.913Z] ------------------- [2021-04-13T04:21:49.913Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-13T04:21:49.913Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-13T04:21:49.913Z] Message: update stable to v1.0.186 [2021-04-13T04:21:50.857Z] ------------------- [2021-04-13T04:21:50.857Z] experimental info: [2021-04-13T04:21:50.857Z] ------------------- [2021-04-13T04:21:50.858Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-13T04:21:50.858Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-13T04:21:50.858Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-13T04:21:51.210Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-13T04:21:51.326Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-13T04:21:51.451Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-13T04:21:51.578Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-13T04:21:51.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-13T04:21:51.817Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-13T04:21:51.935Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-13T04:21:52.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-13T04:21:52.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-13T04:21:52.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-13T04:21:52.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-13T04:21:52.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-13T04:21:52.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-13T04:21:52.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-13T04:21:53.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T04:21:53.126Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T04:21:53.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T04:21:53.407Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T04:21:53.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-13T04:21:53.688Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-13T04:21:53.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-13T04:21:53.929Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-13T04:21:54.115Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-13T04:21:54.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-13T04:21:54.376Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-13T04:21:54.510Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-13T04:21:54.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-873 [Pipeline] echo [2021-04-13T04:21:54.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-873 [Pipeline] echo [2021-04-13T04:21:54.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-873 [Pipeline] echo [2021-04-13T04:21:54.985Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] echo [2021-04-13T04:21:55.100Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf93359 [Pipeline] echo [2021-04-13T04:21:55.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:21:55.452Z] provisioning config files... [2021-04-13T04:21:55.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config7596902815747558331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:21:55.919Z] ---> docker-login.sh [2021-04-13T04:21:55.919Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:21:56.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:21:56.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:21:56.182Z] Configure a credential helper to remove this warning. See [2021-04-13T04:21:56.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:21:56.182Z] [2021-04-13T04:21:56.182Z] Login Succeeded [2021-04-13T04:21:56.182Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:21:56.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:21:56.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:21:56.446Z] Configure a credential helper to remove this warning. See [2021-04-13T04:21:56.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:21:56.446Z] [2021-04-13T04:21:56.446Z] Login Succeeded [2021-04-13T04:21:56.446Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:21:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:21:56.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:21:56.711Z] Configure a credential helper to remove this warning. See [2021-04-13T04:21:56.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:21:56.711Z] [2021-04-13T04:21:56.711Z] Login Succeeded [2021-04-13T04:21:56.711Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:21:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:21:56.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:21:56.976Z] Configure a credential helper to remove this warning. See [2021-04-13T04:21:56.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:21:56.976Z] [2021-04-13T04:21:56.976Z] Login Succeeded [2021-04-13T04:21:56.976Z] docker.io [2021-04-13T04:21:56.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:21:57.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:21:57.238Z] Configure a credential helper to remove this warning. See [2021-04-13T04:21:57.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:21:57.238Z] [2021-04-13T04:21:57.238Z] Login Succeeded [2021-04-13T04:21:57.238Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:21:57.261Z] 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-04-13T04:21:58.306Z] + git log --format=format:%s -1 cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] echo [2021-04-13T04:21:58.412Z] GIT_COMMIT: cf93359dff5245471924d3320a92e8f269234a08, Commit Message: fix: fix deviceProfileMap refer to the same object [Pipeline] echo [2021-04-13T04:21:58.497Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:21:59.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:21:59.126Z] [2021-04-13T04:21:59.126Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:21:59.540Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:21:59.541Z] latest: Pulling from edgex-devops/git-semver [2021-04-13T04:21:59.541Z] 31603596830f: Pulling fs layer [2021-04-13T04:21:59.541Z] 2a8b12db71e7: Pulling fs layer [2021-04-13T04:21:59.541Z] 6ca5941a6612: Pulling fs layer [2021-04-13T04:21:59.541Z] ecc8261a40a4: Pulling fs layer [2021-04-13T04:21:59.541Z] ecc8261a40a4: Waiting [2021-04-13T04:21:59.541Z] 2a8b12db71e7: Verifying Checksum [2021-04-13T04:21:59.541Z] 2a8b12db71e7: Download complete [2021-04-13T04:21:59.541Z] 31603596830f: Verifying Checksum [2021-04-13T04:21:59.541Z] 31603596830f: Download complete [2021-04-13T04:21:59.810Z] ecc8261a40a4: Verifying Checksum [2021-04-13T04:21:59.810Z] ecc8261a40a4: Download complete [2021-04-13T04:21:59.810Z] 6ca5941a6612: Verifying Checksum [2021-04-13T04:21:59.810Z] 6ca5941a6612: Download complete [2021-04-13T04:22:00.080Z] 31603596830f: Pull complete [2021-04-13T04:22:00.080Z] 2a8b12db71e7: Pull complete [2021-04-13T04:22:01.050Z] 6ca5941a6612: Pull complete [2021-04-13T04:22:01.313Z] ecc8261a40a4: Pull complete [2021-04-13T04:22:01.313Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-13T04:22:01.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T04:22:01.313Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-13T04:22:01.446Z] prd-centos7-docker-4c-2g-33831 does not seem to be running inside a container [2021-04-13T04:22:01.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-873 -v /w/workspace/dgexfoundry_device-sdk-go_PR-873:/w/workspace/dgexfoundry_device-sdk-go_PR-873:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-873@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-04-13T04:22:04.065Z] $ docker top 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T04:22:04.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:22:04.469Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:22:04.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:22:04.685Z] $ docker exec 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent [2021-04-13T04:22:04.847Z] SSH_AUTH_SOCK=/tmp/ssh-KOcERF1KLZic/agent.11 [2021-04-13T04:22:04.847Z] SSH_AGENT_PID=16 [2021-04-13T04:22:04.856Z] Running ssh-add (command line suppressed) [2021-04-13T04:22:04.972Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_1872097394245576599.key (/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_1872097394245576599.key) [2021-04-13T04:22:05.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:22:05.392Z] + git tag --points-at HEAD [Pipeline] } [2021-04-13T04:22:05.420Z] $ docker exec --env ******** --env ******** 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent -k [2021-04-13T04:22:05.538Z] unset SSH_AUTH_SOCK; [2021-04-13T04:22:05.538Z] unset SSH_AGENT_PID; [2021-04-13T04:22:05.538Z] echo Agent pid 16 killed; [2021-04-13T04:22:05.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-13T04:22:05.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T04:22:05.806Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T04:22:05.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T04:22:05.971Z] $ docker exec 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent [2021-04-13T04:22:06.132Z] SSH_AUTH_SOCK=/tmp/ssh-rEa9rBiZyPEn/agent.45 [2021-04-13T04:22:06.132Z] SSH_AGENT_PID=50 [2021-04-13T04:22:06.140Z] Running ssh-add (command line suppressed) [2021-04-13T04:22:06.253Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_3583534080083089696.key (/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/private_key_3583534080083089696.key) [2021-04-13T04:22:06.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T04:22:06.677Z] + git semver init [2021-04-13T04:22:06.677Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T04:22:06.677Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-873/.git [2021-04-13T04:22:06.677Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-873 [2021-04-13T04:22:06.677Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T04:22:06.677Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T04:22:06.677Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T04:22:06.677Z] # $SEMVER_BRANCH = PR-873 [2021-04-13T04:22:06.677Z] # $SEMVER_TEMP = /tmp/semver-972612946 [2021-04-13T04:22:06.677Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-13T04:22:07.623Z] # '/tmp/semver-972612946' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-873/.semver' [2021-04-13T04:22:07.623Z] # -> Force: false [2021-04-13T04:22:07.623Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-873/.semver [Pipeline] } [2021-04-13T04:22:07.643Z] $ docker exec --env ******** --env ******** 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa ssh-agent -k [2021-04-13T04:22:07.752Z] unset SSH_AUTH_SOCK; [2021-04-13T04:22:07.753Z] unset SSH_AGENT_PID; [2021-04-13T04:22:07.753Z] echo Agent pid 50 killed; [2021-04-13T04:22:07.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T04:22:08.372Z] + git semver [Pipeline] } [2021-04-13T04:22:08.402Z] $ docker stop --time=1 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa [2021-04-13T04:22:09.840Z] $ docker rm -f 78b398aa5c03f343cdaf7142e5d1460ac9873941a6c01a944ba8e64bcb6bd4fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T04:22:10.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-13T04:22:10.801Z] Stashed 1 file(s) [Pipeline] echo [2021-04-13T04:22:10.824Z] [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-04-13T04:22:26.692Z] Still waiting to schedule task [2021-04-13T04:22:26.692Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-13T04:22:26.720Z] Still waiting to schedule task [2021-04-13T04:22:26.720Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-13T04:24:15.364Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33832 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [Pipeline] { [Pipeline] ws [2021-04-13T04:24:15.459Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-13T04:24:20.344Z] using credential edgex-jenkins-ssh [2021-04-13T04:24:20.422Z] Cloning the remote Git repository [2021-04-13T04:24:20.476Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:20.599Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-13T04:24:20.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:20.694Z] > git --version # timeout=10 [2021-04-13T04:24:20.709Z] > git --version # 'git version 2.17.1' [2021-04-13T04:24:20.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:20.760Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:24:22.629Z] Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:24:22.861Z] Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:24:22.861Z] Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) [2021-04-13T04:24:21.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T04:24:21.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:24:21.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T04:24:22.002Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:22.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:22.015Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T04:24:22.649Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:24:22.667Z] > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 [2021-04-13T04:24:22.765Z] > git remote # timeout=10 [2021-04-13T04:24:22.783Z] > git config --get remote.origin.url # timeout=10 [2021-04-13T04:24:22.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:22.823Z] > git merge e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 [2021-04-13T04:24:22.847Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-13T04:24:22.868Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:24:22.891Z] > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 [2021-04-13T04:24:27.469Z] Commit message: "fix: fix deviceProfileMap refer to the same object" [2021-04-13T04:24:27.537Z] > git --version # timeout=10 [2021-04-13T04:24:27.551Z] > git --version # 'git version 2.17.1' [2021-04-13T04:24:27.568Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:24:29.375Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:24:29.794Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:24:30.209Z] + + sudo service docker restart [2021-04-13T04:24:30.209Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:24:33.039Z] provisioning config files... [2021-04-13T04:24:33.076Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4458101809693031524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:24:33.532Z] ---> docker-login.sh [2021-04-13T04:24:33.532Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:24:34.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:34.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:34.728Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:34.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:34.728Z] [2021-04-13T04:24:34.728Z] Login Succeeded [2021-04-13T04:24:34.728Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:24:35.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:35.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:35.277Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:35.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:35.277Z] [2021-04-13T04:24:35.277Z] Login Succeeded [2021-04-13T04:24:35.277Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:24:35.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:35.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:35.829Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:35.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:35.829Z] [2021-04-13T04:24:35.829Z] Login Succeeded [2021-04-13T04:24:35.829Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:24:36.003Z] Running on prd-centos7-docker-4c-2g-33833 in /w/workspace/dgexfoundry_device-sdk-go_PR-873 [Pipeline] { [2021-04-13T04:24:36.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] ws [2021-04-13T04:24:36.136Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-13T04:24:36.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:36.379Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:36.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:36.379Z] [2021-04-13T04:24:36.379Z] Login Succeeded [2021-04-13T04:24:36.379Z] docker.io [2021-04-13T04:24:36.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:36.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:36.931Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:36.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:36.931Z] [2021-04-13T04:24:36.931Z] Login Succeeded [2021-04-13T04:24:36.931Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:24:36.972Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T04:24:37.561Z] ========================================================= [2021-04-13T04:24:37.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-13T04:24:37.561Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:24:37.979Z] + 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-04-13T04:24:38.268Z] Sending build context to Docker daemon 2.395MB [2021-04-13T04:24:38.268Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:24:38.268Z] Step 2/8 : FROM ${BASE} [2021-04-13T04:24:38.504Z] using credential edgex-jenkins-ssh [2021-04-13T04:24:38.542Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-13T04:24:38.542Z] 5f621e34cdf4: Pulling fs layer [2021-04-13T04:24:38.542Z] a4357932f1b6: Pulling fs layer [2021-04-13T04:24:38.542Z] 18c013af1878: Pulling fs layer [2021-04-13T04:24:38.542Z] 00ac8860ef70: Pulling fs layer [2021-04-13T04:24:38.542Z] 63d7cb157983: Pulling fs layer [2021-04-13T04:24:38.542Z] b116817d02f9: Pulling fs layer [2021-04-13T04:24:38.542Z] 745a02a5169b: Pulling fs layer [2021-04-13T04:24:38.542Z] 00ac8860ef70: Waiting [2021-04-13T04:24:38.542Z] 63d7cb157983: Waiting [2021-04-13T04:24:38.542Z] b116817d02f9: Waiting [2021-04-13T04:24:38.542Z] 745a02a5169b: Waiting [2021-04-13T04:24:38.542Z] 18c013af1878: Verifying Checksum [2021-04-13T04:24:38.542Z] 18c013af1878: Download complete [2021-04-13T04:24:38.542Z] a4357932f1b6: Verifying Checksum [2021-04-13T04:24:38.542Z] a4357932f1b6: Download complete [2021-04-13T04:24:38.542Z] 63d7cb157983: Verifying Checksum [2021-04-13T04:24:38.542Z] 63d7cb157983: Download complete [2021-04-13T04:24:38.562Z] Cloning the remote Git repository [2021-04-13T04:24:38.602Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:39.155Z] b116817d02f9: Verifying Checksum [2021-04-13T04:24:39.155Z] b116817d02f9: Download complete [2021-04-13T04:24:39.431Z] 5f621e34cdf4: Verifying Checksum [2021-04-13T04:24:39.431Z] 5f621e34cdf4: Download complete [2021-04-13T04:24:38.666Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-13T04:24:38.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:38.723Z] > git --version # timeout=10 [2021-04-13T04:24:38.728Z] > git --version # 'git version 2.24.3' [2021-04-13T04:24:38.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:38.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:24:39.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T04:24:39.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T04:24:39.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T04:24:39.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T04:24:39.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:39.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/873/head:refs/remotes/origin/PR-873 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T04:24:39.923Z] Merging remotes/origin/master commit e9afc7ccd5ba2553acad713398a13835ab73bf06 into PR head commit cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:24:40.010Z] Merge succeeded, producing cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:24:40.010Z] Checking out Revision cf93359dff5245471924d3320a92e8f269234a08 (PR-873) [2021-04-13T04:24:40.027Z] 5f621e34cdf4: Pull complete [2021-04-13T04:24:40.626Z] a4357932f1b6: Pull complete [2021-04-13T04:24:40.626Z] 18c013af1878: Pull complete [2021-04-13T04:24:39.934Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:24:39.940Z] > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 [2021-04-13T04:24:39.983Z] > git remote # timeout=10 [2021-04-13T04:24:39.989Z] > git config --get remote.origin.url # timeout=10 [2021-04-13T04:24:39.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T04:24:39.998Z] > git merge e9afc7ccd5ba2553acad713398a13835ab73bf06 # timeout=10 [2021-04-13T04:24:40.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-13T04:24:40.016Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T04:24:40.024Z] > git checkout -f cf93359dff5245471924d3320a92e8f269234a08 # timeout=10 [2021-04-13T04:24:41.603Z] 745a02a5169b: Verifying Checksum [2021-04-13T04:24:41.603Z] 745a02a5169b: Download complete [2021-04-13T04:24:42.577Z] 00ac8860ef70: Verifying Checksum [2021-04-13T04:24:42.577Z] 00ac8860ef70: Download complete [2021-04-13T04:24:43.605Z] Commit message: "fix: fix deviceProfileMap refer to the same object" [2021-04-13T04:24:43.634Z] > git --version # timeout=10 [2021-04-13T04:24:43.638Z] > git --version # 'git version 2.24.3' [2021-04-13T04:24:43.641Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:24:45.093Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:24:45.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T04:24:45.756Z] + sudo service docker restart [2021-04-13T04:24:45.756Z] + true [2021-04-13T04:24:45.756Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T04:24:46.852Z] provisioning config files... [2021-04-13T04:24:46.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1272814983008835631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:24:47.360Z] ---> docker-login.sh [2021-04-13T04:24:47.360Z] nexus3.edgexfoundry.org:10001 [2021-04-13T04:24:47.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:47.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:47.622Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:47.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:47.622Z] [2021-04-13T04:24:47.622Z] Login Succeeded [2021-04-13T04:24:47.622Z] nexus3.edgexfoundry.org:10002 [2021-04-13T04:24:47.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:47.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:47.884Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:47.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:47.884Z] [2021-04-13T04:24:47.884Z] Login Succeeded [2021-04-13T04:24:47.884Z] nexus3.edgexfoundry.org:10003 [2021-04-13T04:24:47.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:47.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:47.884Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:47.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:47.884Z] [2021-04-13T04:24:47.884Z] Login Succeeded [2021-04-13T04:24:47.884Z] nexus3.edgexfoundry.org:10004 [2021-04-13T04:24:48.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:48.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:48.146Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:48.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:48.146Z] [2021-04-13T04:24:48.146Z] Login Succeeded [2021-04-13T04:24:48.146Z] docker.io [2021-04-13T04:24:48.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T04:24:48.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T04:24:48.409Z] Configure a credential helper to remove this warning. See [2021-04-13T04:24:48.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T04:24:48.409Z] [2021-04-13T04:24:48.409Z] Login Succeeded [2021-04-13T04:24:48.409Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T04:24:48.435Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T04:24:48.976Z] ========================================================= [2021-04-13T04:24:48.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-13T04:24:48.976Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:24:49.365Z] + 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-04-13T04:24:49.365Z] Sending build context to Docker daemon 2.396MB [2021-04-13T04:24:49.365Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:24:49.365Z] Step 2/8 : FROM ${BASE} [2021-04-13T04:24:49.629Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-13T04:24:49.629Z] 188c0c94c7c5: Pulling fs layer [2021-04-13T04:24:49.629Z] 0ef7d3d256c8: Pulling fs layer [2021-04-13T04:24:49.629Z] de9db76c5a1d: Pulling fs layer [2021-04-13T04:24:49.629Z] bca2f99d35d6: Pulling fs layer [2021-04-13T04:24:49.629Z] 93359f2a8cfa: Pulling fs layer [2021-04-13T04:24:49.629Z] 7c6f9722023f: Pulling fs layer [2021-04-13T04:24:49.629Z] a35cf1a2eb13: Pulling fs layer [2021-04-13T04:24:49.629Z] 93359f2a8cfa: Waiting [2021-04-13T04:24:49.629Z] 7c6f9722023f: Waiting [2021-04-13T04:24:49.629Z] a35cf1a2eb13: Waiting [2021-04-13T04:24:49.629Z] bca2f99d35d6: Waiting [2021-04-13T04:24:49.629Z] de9db76c5a1d: Verifying Checksum [2021-04-13T04:24:49.629Z] 0ef7d3d256c8: Verifying Checksum [2021-04-13T04:24:49.629Z] 0ef7d3d256c8: Download complete [2021-04-13T04:24:49.629Z] 93359f2a8cfa: Verifying Checksum [2021-04-13T04:24:49.629Z] 93359f2a8cfa: Download complete [2021-04-13T04:24:49.629Z] 188c0c94c7c5: Verifying Checksum [2021-04-13T04:24:49.629Z] 188c0c94c7c5: Download complete [2021-04-13T04:24:49.629Z] 7c6f9722023f: Verifying Checksum [2021-04-13T04:24:49.629Z] 7c6f9722023f: Download complete [2021-04-13T04:24:49.895Z] 188c0c94c7c5: Pull complete [2021-04-13T04:24:49.895Z] 0ef7d3d256c8: Pull complete [2021-04-13T04:24:50.161Z] de9db76c5a1d: Pull complete [2021-04-13T04:24:51.123Z] a35cf1a2eb13: Verifying Checksum [2021-04-13T04:24:51.123Z] a35cf1a2eb13: Download complete [2021-04-13T04:24:51.700Z] bca2f99d35d6: Verifying Checksum [2021-04-13T04:24:51.700Z] bca2f99d35d6: Download complete [2021-04-13T04:24:52.748Z] 00ac8860ef70: Pull complete [2021-04-13T04:24:52.748Z] 63d7cb157983: Pull complete [2021-04-13T04:24:53.020Z] b116817d02f9: Pull complete [2021-04-13T04:24:57.114Z] bca2f99d35d6: Pull complete [2021-04-13T04:24:57.114Z] 93359f2a8cfa: Pull complete [2021-04-13T04:24:57.114Z] 7c6f9722023f: Pull complete [2021-04-13T04:24:57.333Z] 745a02a5169b: Pull complete [2021-04-13T04:24:57.333Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-13T04:24:57.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-13T04:24:57.333Z] ---> b7e6874047d6 [2021-04-13T04:24:57.333Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:24:59.952Z] ---> Running in efc8a8aa50d6 [2021-04-13T04:25:00.225Z] Removing intermediate container efc8a8aa50d6 [2021-04-13T04:25:00.225Z] ---> 75e482a0551c [2021-04-13T04:25:00.225Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:25:00.497Z] ---> Running in ae609e82b971 [2021-04-13T04:25:03.119Z] Removing intermediate container ae609e82b971 [2021-04-13T04:25:03.119Z] ---> 4ad7a6ebe830 [2021-04-13T04:25:03.119Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-13T04:25:03.119Z] ---> Running in 13327df00554 [2021-04-13T04:25:04.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:25:04.690Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:25:05.287Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-13T04:25:05.560Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-13T04:25:05.560Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-13T04:25:05.560Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-13T04:25:05.833Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T04:25:05.833Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-13T04:25:06.107Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T04:25:06.107Z] OK: 144 MiB in 45 packages [2021-04-13T04:25:07.146Z] a35cf1a2eb13: Pull complete [2021-04-13T04:25:07.146Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-13T04:25:07.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-13T04:25:07.146Z] ---> a62c8e92a672 [2021-04-13T04:25:07.146Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:25:07.146Z] ---> Running in 4daf113d55aa [2021-04-13T04:25:07.146Z] Removing intermediate container 4daf113d55aa [2021-04-13T04:25:07.146Z] ---> ce886773ad5f [2021-04-13T04:25:07.146Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:25:07.146Z] ---> Running in e75a2a05efd0 [2021-04-13T04:25:07.418Z] Removing intermediate container e75a2a05efd0 [2021-04-13T04:25:07.418Z] ---> b9260acb482a [2021-04-13T04:25:07.418Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-13T04:25:07.418Z] ---> Running in 794ae8144a42 [2021-04-13T04:25:07.545Z] Removing intermediate container 13327df00554 [2021-04-13T04:25:07.545Z] ---> c34646e3f4eb [2021-04-13T04:25:07.545Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-13T04:25:07.545Z] ---> Running in 0eaa559f322f [2021-04-13T04:25:07.997Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:25:08.142Z] Removing intermediate container 0eaa559f322f [2021-04-13T04:25:08.142Z] ---> 308dd903ee56 [2021-04-13T04:25:08.142Z] Step 7/8 : COPY . . [2021-04-13T04:25:08.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:25:09.127Z] ---> 64708890b38f [2021-04-13T04:25:09.127Z] Step 8/8 : RUN go mod download [2021-04-13T04:25:09.127Z] ---> Running in cd5570ad1a71 [2021-04-13T04:25:09.144Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-13T04:25:09.144Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-13T04:25:09.144Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-13T04:25:09.449Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-13T04:25:09.449Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T04:25:09.449Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-13T04:25:09.711Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T04:25:09.711Z] OK: 167 MiB in 45 packages [2021-04-13T04:25:10.288Z] Removing intermediate container 794ae8144a42 [2021-04-13T04:25:10.288Z] ---> 2911dd3190b8 [2021-04-13T04:25:10.288Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-13T04:25:10.553Z] ---> Running in 619c5a8ca762 [2021-04-13T04:25:10.553Z] Removing intermediate container 619c5a8ca762 [2021-04-13T04:25:10.553Z] ---> 460aa6485290 [2021-04-13T04:25:10.553Z] Step 7/8 : COPY . . [2021-04-13T04:25:11.946Z] ---> 0c128e147d36 [2021-04-13T04:25:11.946Z] Step 8/8 : RUN go mod download [2021-04-13T04:25:11.946Z] ---> Running in bf716f5e5570 [2021-04-13T04:25:34.015Z] Removing intermediate container bf716f5e5570 [2021-04-13T04:25:34.015Z] ---> 07f9d8574a9c [2021-04-13T04:25:34.015Z] Successfully built 07f9d8574a9c [2021-04-13T04:25:34.015Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:25:34.364Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T04:25:34.364Z] . [Pipeline] withDockerContainer [2021-04-13T04:25:34.493Z] prd-centos7-docker-4c-2g-33833 does not seem to be running inside a container [2021-04-13T04:25:34.541Z] $ 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-04-13T04:25:35.245Z] $ docker top 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:25:35.794Z] + go version [2021-04-13T04:25:35.794Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-13T04:25:35.830Z] $ docker stop --time=1 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e [2021-04-13T04:25:35.938Z] Removing intermediate container cd5570ad1a71 [2021-04-13T04:25:35.938Z] ---> 3087b9613512 [2021-04-13T04:25:35.938Z] Successfully built 3087b9613512 [2021-04-13T04:25:35.938Z] Successfully tagged ci-base-image-arm64:latest [2021-04-13T04:25:37.160Z] $ docker rm -f 0ec89f2e3168e2b3a2e72a687caf5d7f521fa5691cc0e5270d10360293b48e9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:25:38.021Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T04:25:38.021Z] . [Pipeline] withDockerContainer [2021-04-13T04:25:38.239Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T04:25:38.239Z] . [2021-04-13T04:25:38.336Z] prd-ubuntu18.04-docker-arm64-4c-16g-33832 does not seem to be running inside a container [2021-04-13T04:25:38.426Z] $ 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-arm64 cat [2021-04-13T04:25:39.940Z] $ docker top dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-04-13T04:25:40.486Z] prd-centos7-docker-4c-2g-33833 does not seem to be running inside a container [2021-04-13T04:25:40.563Z] $ 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-04-13T04:25:41.147Z] $ docker top 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-13T04:25:41.776Z] + make test [2021-04-13T04:25:41.776Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T04:25:42.042Z] + go version [2021-04-13T04:25:42.042Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-13T04:25:42.094Z] $ docker stop --time=1 dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c [2021-04-13T04:25:43.982Z] $ docker rm -f dce0e9070a61cac290cc3539abd8918c237b70ea517c024ee4b05aaf3110683c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:25:45.359Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T04:25:45.359Z] . [Pipeline] withDockerContainer [2021-04-13T04:25:45.641Z] prd-ubuntu18.04-docker-arm64-4c-16g-33832 does not seem to be running inside a container [2021-04-13T04:25:45.728Z] $ 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-arm64 cat [2021-04-13T04:25:47.261Z] $ docker top 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:25:48.340Z] + make test [2021-04-13T04:25:48.340Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T04:25:48.463Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-13T04:26:06.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-13T04:26:06.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-13T04:26:06.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-13T04:26:06.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-13T04:26:06.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-13T04:26:09.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 28.1% of statements [2021-04-13T04:26:09.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements [2021-04-13T04:26:10.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-13T04:26:10.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 32.5% of statements [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-13T04:26:10.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-13T04:26:10.559Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-13T04:26:10.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.1% of statements [2021-04-13T04:26:11.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.139s coverage: 6.6% of statements [2021-04-13T04:26:11.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-13T04:26:11.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-13T04:26:11.678Z] GO111MODULE=on go vet ./... [2021-04-13T04:26:26.732Z] gofmt -l . [2021-04-13T04:26:26.732Z] [ "`gofmt -l .`" = "" ] [2021-04-13T04:26:26.732Z] ./bin/test-attribution-txt.sh [2021-04-13T04:26:26.732Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-13T04:26:26.773Z] $ docker stop --time=1 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 [2021-04-13T04:26:28.337Z] $ docker rm -f 4d4ef7c60776d605302f6a56f0eff203f2aa72c692ed0b156d2ae4e835b16360 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T04:26:29.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T04:26:29.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-13T04:26:32.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-13T04:26:32.361Z] + ls -al . [2021-04-13T04:26:32.361Z] total 188 [2021-04-13T04:26:32.361Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 13 04:26 . [2021-04-13T04:26:32.361Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 13 04:24 .. [2021-04-13T04:26:32.361Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 13 04:24 bin [2021-04-13T04:26:32.361Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 13 04:26 coverage.out [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 13 04:24 Dockerfile.build [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 13 04:24 .dockerignore [2021-04-13T04:26:32.361Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 13 04:24 example [2021-04-13T04:26:32.361Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 13 04:24 .git [2021-04-13T04:26:32.361Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 13 04:24 .github [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 13 04:24 .gitignore [2021-04-13T04:26:32.361Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 13 04:26 go.mod [2021-04-13T04:26:32.361Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 13 04:26 go.sum [2021-04-13T04:26:32.361Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 13 04:24 internal [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 13 04:24 Jenkinsfile [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 13 04:24 LICENSE [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 13 04:24 Makefile [2021-04-13T04:26:32.361Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 13 04:24 openapi [2021-04-13T04:26:32.361Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 13 04:24 pkg [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 13 04:24 README.md [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 13 04:24 RELEASE-NOTES.txt [2021-04-13T04:26:32.361Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 13 04:24 snap [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 13 04:22 VERSION [2021-04-13T04:26:32.361Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 13 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:26:32.707Z] + 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=cf93359dff5245471924d3320a92e8f269234a08 --label arch=amd64 --label version=0.0.0 . [2021-04-13T04:26:32.969Z] Sending build context to Docker daemon 2.497MB [2021-04-13T04:26:32.969Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:26:32.969Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-13T04:26:32.969Z] ---> 07f9d8574a9c [2021-04-13T04:26:32.969Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-13T04:26:33.542Z] ---> Running in 49c4b873969b [2021-04-13T04:26:33.542Z] Removing intermediate container 49c4b873969b [2021-04-13T04:26:33.542Z] ---> b75cee5a3c90 [2021-04-13T04:26:33.542Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:26:34.120Z] ---> Running in 73547f2fa82f [2021-04-13T04:26:34.382Z] Removing intermediate container 73547f2fa82f [2021-04-13T04:26:34.382Z] ---> 0fedd8d79d35 [2021-04-13T04:26:34.382Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:26:34.382Z] ---> Running in 319c4be054cc [2021-04-13T04:26:35.335Z] Removing intermediate container 319c4be054cc [2021-04-13T04:26:35.335Z] ---> 7a23b97b67c9 [2021-04-13T04:26:35.335Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:26:35.335Z] ---> Running in 08e20c829e86 [2021-04-13T04:26:35.910Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:26:36.484Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:26:36.750Z] OK: 167 MiB in 45 packages [2021-04-13T04:26:37.326Z] Removing intermediate container 08e20c829e86 [2021-04-13T04:26:37.326Z] ---> 56443c5917dc [2021-04-13T04:26:37.326Z] Step 7/23 : COPY . . [2021-04-13T04:26:38.277Z] ---> 61812791bc73 [2021-04-13T04:26:38.277Z] Step 8/23 : RUN go mod download [2021-04-13T04:26:38.277Z] ---> Running in 9768b5c02b16 [2021-04-13T04:26:39.239Z] Removing intermediate container 9768b5c02b16 [2021-04-13T04:26:39.239Z] ---> c157e9f37e08 [2021-04-13T04:26:39.239Z] Step 9/23 : RUN make build [2021-04-13T04:26:39.239Z] ---> Running in aa938a04a846 [2021-04-13T04:26:39.831Z] CGO_ENABLED=1 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-04-13T04:26:49.945Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-13T04:26:50.892Z] Removing intermediate container aa938a04a846 [2021-04-13T04:26:50.892Z] ---> 2c78b3d129e1 [2021-04-13T04:26:50.892Z] Step 10/23 : FROM alpine:3.12 [2021-04-13T04:26:51.153Z] 3.12: Pulling from library/alpine [2021-04-13T04:26:51.415Z] 532819f3e44c: Pulling fs layer [2021-04-13T04:26:51.415Z] 532819f3e44c: Verifying Checksum [2021-04-13T04:26:51.415Z] 532819f3e44c: Download complete [2021-04-13T04:26:51.677Z] 532819f3e44c: Pull complete [2021-04-13T04:26:51.677Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T04:26:51.677Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T04:26:51.677Z] ---> 7230e588e954 [2021-04-13T04:26:51.677Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:26:51.939Z] ---> Running in 7ea79cf2382e [2021-04-13T04:26:51.939Z] Removing intermediate container 7ea79cf2382e [2021-04-13T04:26:51.939Z] ---> f92522f19626 [2021-04-13T04:26:51.940Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:26:52.204Z] ---> Running in 915917d8f2e4 [2021-04-13T04:26:53.165Z] Removing intermediate container 915917d8f2e4 [2021-04-13T04:26:53.165Z] ---> b1ec32b66561 [2021-04-13T04:26:53.165Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-13T04:26:53.165Z] ---> Running in bd3fad266701 [2021-04-13T04:26:53.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T04:26:54.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T04:26:54.577Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-13T04:26:54.838Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-13T04:26:54.838Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-13T04:26:55.100Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-13T04:26:55.100Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-13T04:26:55.100Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T04:26:55.100Z] OK: 8 MiB in 19 packages [2021-04-13T04:26:55.675Z] Removing intermediate container bd3fad266701 [2021-04-13T04:26:55.675Z] ---> b3ed4037667e [2021-04-13T04:26:55.675Z] Step 14/23 : WORKDIR / [2021-04-13T04:26:55.675Z] ---> Running in 579a6933a844 [2021-04-13T04:26:55.936Z] Removing intermediate container 579a6933a844 [2021-04-13T04:26:55.936Z] ---> 66679c14fd24 [2021-04-13T04:26:55.936Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-13T04:26:56.198Z] ---> 3254a8741650 [2021-04-13T04:26:56.198Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-13T04:26:56.777Z] ---> c119b2974c2f [2021-04-13T04:26:56.777Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-13T04:26:56.777Z] ---> 88f8104db168 [2021-04-13T04:26:56.777Z] Step 18/23 : EXPOSE 49990 [2021-04-13T04:26:57.038Z] ---> Running in b64a5b3fa9b9 [2021-04-13T04:26:57.038Z] Removing intermediate container b64a5b3fa9b9 [2021-04-13T04:26:57.038Z] ---> 63352cacc954 [2021-04-13T04:26:57.038Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-13T04:26:57.299Z] ---> Running in b57d23cc5f66 [2021-04-13T04:26:57.299Z] Removing intermediate container b57d23cc5f66 [2021-04-13T04:26:57.299Z] ---> 877e459bc377 [2021-04-13T04:26:57.299Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T04:26:57.299Z] ---> Running in ba89cf7eb7a6 [2021-04-13T04:26:57.561Z] Removing intermediate container ba89cf7eb7a6 [2021-04-13T04:26:57.561Z] ---> 51f410ab828b [2021-04-13T04:26:57.561Z] Step 21/23 : LABEL arch=amd64 [2021-04-13T04:26:57.561Z] ---> Running in 1e60f73e7af2 [2021-04-13T04:26:57.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-13T04:26:57.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-13T04:26:57.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-13T04:26:57.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-13T04:26:57.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-13T04:26:57.823Z] Removing intermediate container 1e60f73e7af2 [2021-04-13T04:26:57.823Z] ---> b098e518cc9e [2021-04-13T04:26:57.823Z] Step 22/23 : LABEL git_sha=cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:26:57.823Z] ---> Running in 5e4049b271d1 [2021-04-13T04:26:58.085Z] Removing intermediate container 5e4049b271d1 [2021-04-13T04:26:58.085Z] ---> 8c33eda4f471 [2021-04-13T04:26:58.085Z] Step 23/23 : LABEL version=0.0.0 [2021-04-13T04:26:58.085Z] ---> Running in 519f5e6502c7 [2021-04-13T04:26:58.348Z] Removing intermediate container 519f5e6502c7 [2021-04-13T04:26:58.348Z] ---> 698025fa74bf [2021-04-13T04:26:58.348Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T04:26:58.348Z] Successfully built 698025fa74bf [2021-04-13T04:26:58.348Z] 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-04-13T04:26:59.867Z] ---> job-cost.sh [2021-04-13T04:26:59.867Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-crVS [2021-04-13T04:27:09.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 28.1% of statements [2021-04-13T04:27:09.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.162s coverage: 78.9% of statements [2021-04-13T04:27:09.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.153s coverage: 7.8% of statements [2021-04-13T04:27:09.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-13T04:27:09.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-13T04:27:09.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-13T04:27:11.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 32.5% of statements [2021-04-13T04:27:11.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-13T04:27:11.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-13T04:27:11.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-13T04:27:14.823Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T04:27:15.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.294s coverage: 57.1% of statements [2021-04-13T04:27:15.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.254s coverage: 6.6% of statements [2021-04-13T04:27:15.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements [2021-04-13T04:27:15.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-13T04:27:15.347Z] GO111MODULE=on go vet ./... [2021-04-13T04:27:41.656Z] lf-activate-venv(): INFO: Adding /tmp/venv-crVS/bin to PATH [2021-04-13T04:27:41.656Z] INFO: No Stack... [2021-04-13T04:27:41.656Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T04:27:41.656Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T04:27:42.184Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-13T04:27:42.184Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T04:27:42.297Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [2021-04-13T04:27:42.305Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] did not exist. Created. [2021-04-13T04:27:42.305Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T04:27:42.819Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-13T04:27:42.960Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T04:27:42.984Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-13T04:28:02.596Z] gofmt -l . [2021-04-13T04:28:02.596Z] [ "`gofmt -l .`" = "" ] [2021-04-13T04:28:02.596Z] ./bin/test-attribution-txt.sh [2021-04-13T04:28:02.596Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-13T04:28:02.638Z] $ docker stop --time=1 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 [2021-04-13T04:28:05.034Z] $ docker rm -f 2a64503386c399e2cdbf1230eb242c7ff8467ca6047bbdb985f271ba98de9090 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T04:28:06.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T04:28:06.345Z] Warning: overwriting stash ‘coverage-report’ [2021-04-13T04:28:07.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T04:28:08.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-13T04:28:08.439Z] + ls -al . [2021-04-13T04:28:08.439Z] total 224 [2021-04-13T04:28:08.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 04:28 . [2021-04-13T04:28:08.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 .. [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 04:24 .dockerignore [2021-04-13T04:28:08.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 04:24 .git [2021-04-13T04:28:08.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:24 .github [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 13 04:24 .gitignore [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 13 04:24 Dockerfile.build [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 13 04:24 Jenkinsfile [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 04:24 LICENSE [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 13 04:24 Makefile [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 13 04:24 README.md [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 13 04:24 RELEASE-NOTES.txt [2021-04-13T04:28:08.439Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 04:22 VERSION [2021-04-13T04:28:08.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:24 bin [2021-04-13T04:28:08.440Z] -rw-r--r-- 1 jenkins jenkins 99751 Apr 13 04:27 coverage.out [2021-04-13T04:28:08.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 04:24 example [2021-04-13T04:28:08.440Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 13 04:28 go.mod [2021-04-13T04:28:08.440Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 13 04:28 go.sum [2021-04-13T04:28:08.440Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 13 04:24 internal [2021-04-13T04:28:08.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 openapi [2021-04-13T04:28:08.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 04:24 pkg [2021-04-13T04:28:08.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:24 snap [2021-04-13T04:28:08.440Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:28:08.829Z] + 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=cf93359dff5245471924d3320a92e8f269234a08 --label arch=arm64 --label version=0.0.0 . [2021-04-13T04:28:09.425Z] Sending build context to Docker daemon 2.495MB [2021-04-13T04:28:09.425Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T04:28:09.425Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-13T04:28:09.425Z] ---> 3087b9613512 [2021-04-13T04:28:09.425Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-13T04:28:09.699Z] ---> Running in 650d78bd67fb [2021-04-13T04:28:09.972Z] Removing intermediate container 650d78bd67fb [2021-04-13T04:28:09.972Z] ---> c8767fde7d24 [2021-04-13T04:28:09.972Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:28:10.250Z] ---> Running in 514339b5f009 [2021-04-13T04:28:10.844Z] Removing intermediate container 514339b5f009 [2021-04-13T04:28:10.844Z] ---> 913d59320f7e [2021-04-13T04:28:10.844Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:28:10.844Z] ---> Running in 3fdc935673a2 [2021-04-13T04:28:12.819Z] Removing intermediate container 3fdc935673a2 [2021-04-13T04:28:12.819Z] ---> d13532938209 [2021-04-13T04:28:12.819Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T04:28:13.096Z] ---> Running in ef4ccccc07e7 [2021-04-13T04:28:14.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:28:15.066Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:28:16.062Z] OK: 144 MiB in 45 packages [2021-04-13T04:28:17.510Z] Removing intermediate container ef4ccccc07e7 [2021-04-13T04:28:17.510Z] ---> 4eda9f7adaae [2021-04-13T04:28:17.510Z] Step 7/23 : COPY . . [2021-04-13T04:28:18.495Z] ---> a88b05c3c362 [2021-04-13T04:28:18.495Z] Step 8/23 : RUN go mod download [2021-04-13T04:28:18.495Z] ---> Running in 69c938a04ce7 [2021-04-13T04:28:21.142Z] Removing intermediate container 69c938a04ce7 [2021-04-13T04:28:21.142Z] ---> 2081148e9533 [2021-04-13T04:28:21.142Z] Step 9/23 : RUN make build [2021-04-13T04:28:21.142Z] ---> Running in e2768d2c451b [2021-04-13T04:28:22.122Z] CGO_ENABLED=1 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-04-13T04:28:54.555Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-13T04:28:56.530Z] Removing intermediate container e2768d2c451b [2021-04-13T04:28:56.530Z] ---> 9c21932dd46f [2021-04-13T04:28:56.530Z] Step 10/23 : FROM alpine:3.12 [2021-04-13T04:28:57.121Z] 3.12: Pulling from library/alpine [2021-04-13T04:28:57.121Z] 9a219e8acc52: Pulling fs layer [2021-04-13T04:28:57.394Z] 9a219e8acc52: Verifying Checksum [2021-04-13T04:28:57.394Z] 9a219e8acc52: Download complete [2021-04-13T04:28:57.993Z] 9a219e8acc52: Pull complete [2021-04-13T04:28:57.993Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T04:28:57.993Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T04:28:57.993Z] ---> d75e27dfc0a0 [2021-04-13T04:28:57.993Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T04:28:58.267Z] ---> Running in d00cefa48dfd [2021-04-13T04:28:58.542Z] Removing intermediate container d00cefa48dfd [2021-04-13T04:28:58.542Z] ---> 88afcfbf1d23 [2021-04-13T04:28:58.542Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T04:28:58.815Z] ---> Running in cbc8e72bd9ae [2021-04-13T04:29:00.782Z] Removing intermediate container cbc8e72bd9ae [2021-04-13T04:29:00.782Z] ---> a917a1dbec16 [2021-04-13T04:29:00.782Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-13T04:29:01.055Z] ---> Running in 9d56516b0cf3 [2021-04-13T04:29:02.032Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T04:29:03.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T04:29:03.593Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-13T04:29:03.865Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-13T04:29:03.865Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-13T04:29:04.142Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-13T04:29:04.142Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-13T04:29:04.142Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T04:29:04.142Z] OK: 8 MiB in 19 packages [2021-04-13T04:29:05.568Z] Removing intermediate container 9d56516b0cf3 [2021-04-13T04:29:05.568Z] ---> 958583ba76d1 [2021-04-13T04:29:05.568Z] Step 14/23 : WORKDIR / [2021-04-13T04:29:05.568Z] ---> Running in c284267a8fd5 [2021-04-13T04:29:06.163Z] Removing intermediate container c284267a8fd5 [2021-04-13T04:29:06.163Z] ---> 2e40161c8ad2 [2021-04-13T04:29:06.163Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-13T04:29:07.160Z] ---> 19ef3b4228de [2021-04-13T04:29:07.160Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-13T04:29:08.153Z] ---> 914b4a746df9 [2021-04-13T04:29:08.153Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-13T04:29:09.143Z] ---> 3c428300e084 [2021-04-13T04:29:09.143Z] Step 18/23 : EXPOSE 49990 [2021-04-13T04:29:09.143Z] ---> Running in aa2aae90f611 [2021-04-13T04:29:09.420Z] Removing intermediate container aa2aae90f611 [2021-04-13T04:29:09.420Z] ---> 75412c3fbc3a [2021-04-13T04:29:09.420Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-13T04:29:09.703Z] ---> Running in 5cc2f12a6638 [2021-04-13T04:29:09.989Z] Removing intermediate container 5cc2f12a6638 [2021-04-13T04:29:09.989Z] ---> 6c76cfce48d3 [2021-04-13T04:29:09.989Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T04:29:10.273Z] ---> Running in 79f037d5a901 [2021-04-13T04:29:10.545Z] Removing intermediate container 79f037d5a901 [2021-04-13T04:29:10.545Z] ---> 37e983699295 [2021-04-13T04:29:10.545Z] Step 21/23 : LABEL arch=arm64 [2021-04-13T04:29:10.818Z] ---> Running in f7338f9e04da [2021-04-13T04:29:11.417Z] Removing intermediate container f7338f9e04da [2021-04-13T04:29:11.417Z] ---> 12167bac4f5d [2021-04-13T04:29:11.417Z] Step 22/23 : LABEL git_sha=cf93359dff5245471924d3320a92e8f269234a08 [2021-04-13T04:29:11.417Z] ---> Running in 6c75de104441 [2021-04-13T04:29:12.020Z] Removing intermediate container 6c75de104441 [2021-04-13T04:29:12.020Z] ---> 31dd7bdb376b [2021-04-13T04:29:12.020Z] Step 23/23 : LABEL version=0.0.0 [2021-04-13T04:29:12.020Z] ---> Running in 3910400acd34 [2021-04-13T04:29:12.626Z] Removing intermediate container 3910400acd34 [2021-04-13T04:29:12.626Z] ---> e731372c6949 [2021-04-13T04:29:12.626Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T04:29:12.626Z] Successfully built e731372c6949 [2021-04-13T04:29:12.626Z] 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-04-13T04:29:13.701Z] ---> job-cost.sh [2021-04-13T04:29:13.701Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ere7 [2021-04-13T04:29:52.664Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T04:31:29.413Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ere7/bin to PATH [2021-04-13T04:31:29.413Z] INFO: No Stack... [2021-04-13T04:31:29.413Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-13T04:31:29.413Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T04:31:29.773Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2021-04-13T04:31:29.773Z] -f6 [Pipeline] lock [2021-04-13T04:31:29.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [2021-04-13T04:31:29.922Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] did not exist. Created. [2021-04-13T04:31:29.922Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-873-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T04:31:30.464Z] /w/workspace/device-sdk-go/1@tmp/durable-2c44c22b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2c44c22b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-13T04:31:30.837Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-13T04:31:30.879Z] Warning: overwriting stash ‘stack-cost’ [2021-04-13T04:31:31.039Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T04:31:31.062Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-873-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-04-13T04:31:33.305Z] provisioning config files... [2021-04-13T04:31:33.316Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config3123969618409471780tmp [Pipeline] { [Pipeline] sh [2021-04-13T04:31:33.765Z] + set +x [2021-04-13T04:31:33.765Z] + curl -s https://codecov.io/bash [2021-04-13T04:31:33.765Z] + bash -s -- [2021-04-13T04:31:34.031Z] [2021-04-13T04:31:34.031Z] _____ _ [2021-04-13T04:31:34.031Z] / ____| | | [2021-04-13T04:31:34.031Z] | | ___ __| | ___ ___ _____ __ [2021-04-13T04:31:34.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-13T04:31:34.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-13T04:31:34.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-13T04:31:34.031Z] Bash-20210309-2b87ace [2021-04-13T04:31:34.031Z] [2021-04-13T04:31:34.031Z] [2021-04-13T04:31:34.031Z] ==> git version 2.24.3 found [2021-04-13T04:31:34.031Z] ==> 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-04-13T04:31:34.031Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-13T04:31:34.031Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-13T04:31:34.031Z] ==> Jenkins CI detected. [2021-04-13T04:31:34.031Z] project root: . [2021-04-13T04:31:34.031Z] --> token set from env [2021-04-13T04:31:34.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-13T04:31:34.031Z] ==> Running gcov in . (disable via -X gcov) [2021-04-13T04:31:34.031Z] ==> Python coveragepy not found [2021-04-13T04:31:34.031Z] ==> Searching for coverage reports in: [2021-04-13T04:31:34.031Z] + . [2021-04-13T04:31:34.031Z] -> Found 1 reports [2021-04-13T04:31:34.031Z] ==> Detecting git/mercurial file structure [2021-04-13T04:31:34.031Z] ==> Reading reports [2021-04-13T04:31:34.031Z] + ./coverage.out bytes=99751 [2021-04-13T04:31:34.295Z] ==> Appending adjustments [2021-04-13T04:31:34.295Z] https://docs.codecov.io/docs/fixing-reports [2021-04-13T04:31:34.563Z] + Found adjustments [2021-04-13T04:31:34.563Z] ==> Gzipping contents [2021-04-13T04:31:34.563Z] 16K /tmp/codecov.iIjlGU.gz [2021-04-13T04:31:34.563Z] ==> Uploading reports [2021-04-13T04:31:34.563Z] url: https://codecov.io [2021-04-13T04:31:34.563Z] query: branch=PR-873&commit=cf93359dff5245471924d3320a92e8f269234a08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-873%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=873&job=&cmd_args= [2021-04-13T04:31:34.563Z] -> Pinging Codecov [2021-04-13T04:31:34.563Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-873&commit=cf93359dff5245471924d3320a92e8f269234a08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-873%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=873&job=&cmd_args= [2021-04-13T04:31:35.137Z] -> Uploading to [2021-04-13T04:31:35.137Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-13/7E55EF52A471D76F132DFD9A03CDDE97/cf93359dff5245471924d3320a92e8f269234a08/d8608588-e4dd-447e-af50-cdb383a499ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210413T043134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=892eafe08dbf7f9508083767168c2c765457c9f591ffc5461ebab671b071f5f2 [2021-04-13T04:31:35.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-13T04:31:35.137Z] Dload Upload Total Spent Left Speed [2021-04-13T04:31:35.400Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13502 0 0 100 13502 0 33450 --:--:-- --:--:-- --:--:-- 33503 [2021-04-13T04:31:35.400Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf93359dff5245471924d3320a92e8f269234a08 [Pipeline] } [2021-04-13T04:31:35.425Z] 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-04-13T04:31:38.686Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:31:39.041Z] ---> package-listing.sh [2021-04-13T04:31:39.041Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-13T04:31:39.041Z] ++ facter osfamily [2021-04-13T04:31:39.041Z] + OS_FAMILY=redhat [2021-04-13T04:31:39.041Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-873 [2021-04-13T04:31:39.041Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-13T04:31:39.041Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-13T04:31:39.041Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-13T04:31:39.041Z] + PACKAGES=/tmp/packages_start.txt [2021-04-13T04:31:39.041Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-873 ']' [2021-04-13T04:31:39.041Z] + PACKAGES=/tmp/packages_end.txt [2021-04-13T04:31:39.041Z] + case "${OS_FAMILY}" in [2021-04-13T04:31:39.041Z] + rpm -qa [2021-04-13T04:31:39.041Z] + sort [2021-04-13T04:31:44.356Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-13T04:31:44.356Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-13T04:31:44.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-13T04:31:44.356Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-873 ']' [2021-04-13T04:31:44.356Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-873/archives/ [2021-04-13T04:31:44.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-873/archives/ [Pipeline] echo [2021-04-13T04:31:44.388Z] 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-873/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-13T04:31:44.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:31:45.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:31:45.030Z] [2021-04-13T04:31:45.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-13T04:31:45.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:31:45.442Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-13T04:31:45.442Z] df20fa9351a1: Pulling fs layer [2021-04-13T04:31:45.442Z] 36b3adc4ff6f: Pulling fs layer [2021-04-13T04:31:45.442Z] 8ad3a11d3b57: Pulling fs layer [2021-04-13T04:31:45.442Z] 46f8f816bc3b: Pulling fs layer [2021-04-13T04:31:45.442Z] 93b61091891f: Pulling fs layer [2021-04-13T04:31:45.442Z] 93b9cdb0e59b: Pulling fs layer [2021-04-13T04:31:45.442Z] 5e14af77c1be: Pulling fs layer [2021-04-13T04:31:45.442Z] 01666e4c0597: Pulling fs layer [2021-04-13T04:31:45.442Z] aa168da1d23b: Pulling fs layer [2021-04-13T04:31:45.442Z] 46f8f816bc3b: Waiting [2021-04-13T04:31:45.442Z] 93b9cdb0e59b: Waiting [2021-04-13T04:31:45.442Z] 5e14af77c1be: Waiting [2021-04-13T04:31:45.442Z] 01666e4c0597: Waiting [2021-04-13T04:31:45.442Z] 93b61091891f: Waiting [2021-04-13T04:31:45.442Z] aa168da1d23b: Waiting [2021-04-13T04:31:45.442Z] 36b3adc4ff6f: Download complete [2021-04-13T04:31:45.442Z] 46f8f816bc3b: Verifying Checksum [2021-04-13T04:31:45.442Z] 46f8f816bc3b: Download complete [2021-04-13T04:31:45.442Z] df20fa9351a1: Verifying Checksum [2021-04-13T04:31:45.442Z] df20fa9351a1: Download complete [2021-04-13T04:31:45.707Z] 93b9cdb0e59b: Verifying Checksum [2021-04-13T04:31:45.707Z] 93b9cdb0e59b: Download complete [2021-04-13T04:31:45.707Z] 5e14af77c1be: Verifying Checksum [2021-04-13T04:31:45.707Z] 5e14af77c1be: Download complete [2021-04-13T04:31:45.707Z] 01666e4c0597: Verifying Checksum [2021-04-13T04:31:45.707Z] 01666e4c0597: Download complete [2021-04-13T04:31:45.707Z] 93b61091891f: Download complete [2021-04-13T04:31:45.971Z] 8ad3a11d3b57: Verifying Checksum [2021-04-13T04:31:45.971Z] 8ad3a11d3b57: Download complete [2021-04-13T04:31:45.971Z] df20fa9351a1: Pull complete [2021-04-13T04:31:46.238Z] 36b3adc4ff6f: Pull complete [2021-04-13T04:31:47.190Z] 8ad3a11d3b57: Pull complete [2021-04-13T04:31:47.190Z] 46f8f816bc3b: Pull complete [2021-04-13T04:31:48.134Z] 93b61091891f: Pull complete [2021-04-13T04:31:48.134Z] 93b9cdb0e59b: Pull complete [2021-04-13T04:31:48.134Z] 5e14af77c1be: Pull complete [2021-04-13T04:31:48.134Z] aa168da1d23b: Verifying Checksum [2021-04-13T04:31:48.134Z] aa168da1d23b: Download complete [2021-04-13T04:31:48.709Z] 01666e4c0597: Pull complete [2021-04-13T04:31:55.340Z] aa168da1d23b: Pull complete [2021-04-13T04:31:55.340Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-13T04:31:55.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T04:31:55.340Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-13T04:31:55.611Z] prd-centos7-docker-4c-2g-33831 does not seem to be running inside a container [2021-04-13T04:31:55.655Z] $ 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-873/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-873 -v /w/workspace/dgexfoundry_device-sdk-go_PR-873:/w/workspace/dgexfoundry_device-sdk-go_PR-873:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-873@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-04-13T04:31:58.808Z] $ docker top aa8b9cb9c4d13e0007cabaa3b212687e225c47fa3fde4f529e46cceea1d7bcb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T04:31:59.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-13T04:31:59.723Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-13T04:32:00.037Z] + ls /var/log/sa-host [2021-04-13T04:32:00.037Z] + sadf -c /var/log/sa-host/sa13 [2021-04-13T04:32:00.037Z] file_magic: OK [2021-04-13T04:32:00.037Z] HZ: Using current value: 100 [2021-04-13T04:32:00.037Z] file_header: OK [2021-04-13T04:32:00.037Z] 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-04-13T04:32:00.037Z] Statistics: [2021-04-13T04:32:00.037Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-13T04:32:00.037Z] File successfully converted to sysstat format version 12.2.1 [2021-04-13T04:32:00.037Z] + sadf -c /var/log/sa-host/sa23 [2021-04-13T04:32:00.037Z] file_magic: OK [2021-04-13T04:32:00.037Z] HZ: Using current value: 100 [2021-04-13T04:32:00.037Z] file_header: OK [2021-04-13T04:32:00.037Z] 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-04-13T04:32:00.037Z] Statistics: [2021-04-13T04:32:00.037Z] Hnuu...uuuununununu... [2021-04-13T04:32:00.037Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-13T04:32:00.746Z] provisioning config files... [2021-04-13T04:32:00.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-873@tmp/config2302468128636963011tmp [Pipeline] { [Pipeline] echo [2021-04-13T04:32:00.898Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:32:01.244Z] ---> create-netrc.sh [Pipeline] } [2021-04-13T04:32:01.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-13T04:32:01.432Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:32:01.776Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-13T04:32:01.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:32:02.155Z] ---> sudo-logs.sh [2021-04-13T04:32:02.155Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-13T04:32:02.280Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:32:02.618Z] ---> job-cost.sh [2021-04-13T04:32:02.618Z] lf-activate-venv: SKIPPING [2021-04-13T04:32:02.618Z] DEBUG: total: 0.20999999344348907 [2021-04-13T04:32:02.618Z] INFO: Retrieving Stack Cost... [2021-04-13T04:32:04.012Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T04:32:04.275Z] INFO: Archiving Costs [Pipeline] echo [2021-04-13T04:32:04.312Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T04:32:04.708Z] ---> logs-deploy.sh [2021-04-13T04:32:04.708Z] lf-activate-venv: SKIPPING [2021-04-13T04:32:04.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-873/1 [2021-04-13T04:32:04.708Z] INFO: archiving workspace using pattern(s): [2021-04-13T04:32:06.628Z] Archives upload complete. [2021-04-13T04:32:06.628Z] INFO: archiving logs to Nexus