Pull request #895 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 1370f961bbae2e26ba267d183fa534df73e62524+a1de66810b8e114107e849a310222ed3c1b44bf0 (e0e10fc4fe15403b4c37df81b03db53aa192d13e) 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-895/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-895/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 ‘prd-centos7-docker-4c-2g-1693’ Running on prd-centos7-docker-4c-2g-1694 in /w/workspace/dgexfoundry_device-sdk-go_PR-895 [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-895 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 1370f961bbae2e26ba267d183fa534df73e62524 > 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/895/head:refs/remotes/origin/PR-895 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 Merge succeeded, producing 1370f961bbae2e26ba267d183fa534df73e62524 Checking out Revision 1370f961bbae2e26ba267d183fa534df73e62524 (PR-895) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 Commit message: "feat: update CommandRequest.Attributes type" 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-26T03:04:13.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T03:04:13.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T03:04:13.832Z] ========================================================= [2021-04-26T03:04:13.832Z] EdgeX Global Pipelines Version Info [2021-04-26T03:04:13.832Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:04:15.177Z] jq: error (at :4): Cannot index string with string "ref" [2021-04-26T03:04:15.753Z] ------------------- [2021-04-26T03:04:15.753Z] stable info: [2021-04-26T03:04:15.753Z] ------------------- [2021-04-26T03:04:15.753Z] Commited By: [2021-04-26T03:04:15.753Z] Commit SHA: null [2021-04-26T03:04:15.753Z] Message: You have triggered an abuse detection mechanism. Please wait a few minutes before you try again. [2021-04-26T03:04:16.016Z] jq: error (at :4): Cannot index string with string "ref" [2021-04-26T03:04:16.281Z] ------------------- [2021-04-26T03:04:16.281Z] experimental info: [2021-04-26T03:04:16.281Z] ------------------- [2021-04-26T03:04:16.281Z] Commited By: [2021-04-26T03:04:16.281Z] Commit SHA: null [2021-04-26T03:04:16.281Z] Message: You have triggered an abuse detection mechanism. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T03:04:16.529Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T03:04:16.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T03:04:16.645Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T03:04:16.704Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T03:04:16.766Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T03:04:16.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T03:04:16.886Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T03:04:16.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T03:04:17.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T03:04:17.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T03:04:17.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T03:04:17.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-26T03:04:17.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T03:04:17.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T03:04:17.408Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T03:04:17.470Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T03:04:17.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T03:04:17.615Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T03:04:17.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T03:04:17.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T03:04:17.815Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T03:04:17.902Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T03:04:17.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T03:04:18.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T03:04:18.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T03:04:18.128Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T03:04:18.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-895 [Pipeline] echo [2021-04-26T03:04:18.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-895 [Pipeline] echo [2021-04-26T03:04:18.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-895 [Pipeline] echo [2021-04-26T03:04:18.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1370f961bbae2e26ba267d183fa534df73e62524 [Pipeline] echo [2021-04-26T03:04:18.448Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1370f96 [Pipeline] echo [2021-04-26T03:04:18.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T03:04:18.669Z] provisioning config files... [2021-04-26T03:04:18.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/config2833363705486342843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:04:19.138Z] ---> docker-login.sh [2021-04-26T03:04:19.138Z] nexus3.edgexfoundry.org:10001 [2021-04-26T03:04:19.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:04:20.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:04:20.005Z] Configure a credential helper to remove this warning. See [2021-04-26T03:04:20.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:04:20.005Z] [2021-04-26T03:04:20.005Z] Login Succeeded [2021-04-26T03:04:20.005Z] nexus3.edgexfoundry.org:10002 [2021-04-26T03:04:20.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:04:20.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:04:20.279Z] Configure a credential helper to remove this warning. See [2021-04-26T03:04:20.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:04:20.279Z] [2021-04-26T03:04:20.279Z] Login Succeeded [2021-04-26T03:04:20.279Z] nexus3.edgexfoundry.org:10003 [2021-04-26T03:04:20.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:04:20.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:04:20.557Z] Configure a credential helper to remove this warning. See [2021-04-26T03:04:20.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:04:20.557Z] [2021-04-26T03:04:20.557Z] Login Succeeded [2021-04-26T03:04:20.557Z] nexus3.edgexfoundry.org:10004 [2021-04-26T03:04:20.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:04:20.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:04:20.838Z] Configure a credential helper to remove this warning. See [2021-04-26T03:04:20.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:04:20.838Z] [2021-04-26T03:04:20.838Z] Login Succeeded [2021-04-26T03:04:20.838Z] docker.io [2021-04-26T03:04:20.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:04:21.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:04:21.107Z] Configure a credential helper to remove this warning. See [2021-04-26T03:04:21.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:04:21.107Z] [2021-04-26T03:04:21.107Z] Login Succeeded [2021-04-26T03:04:21.107Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T03:04:21.151Z] 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-26T03:04:21.931Z] + git log --format=format:%s -1 1370f961bbae2e26ba267d183fa534df73e62524 [Pipeline] echo [2021-04-26T03:04:22.167Z] GIT_COMMIT: 1370f961bbae2e26ba267d183fa534df73e62524, Commit Message: feat: update CommandRequest.Attributes type [Pipeline] echo [2021-04-26T03:04:22.205Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:04:22.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T03:04:22.982Z] [2021-04-26T03:04:22.982Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:04:23.434Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T03:04:23.434Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T03:04:23.434Z] 31603596830f: Pulling fs layer [2021-04-26T03:04:23.434Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T03:04:23.434Z] 6ca5941a6612: Pulling fs layer [2021-04-26T03:04:23.434Z] ecc8261a40a4: Pulling fs layer [2021-04-26T03:04:23.434Z] ecc8261a40a4: Waiting [2021-04-26T03:04:23.717Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T03:04:23.717Z] 2a8b12db71e7: Download complete [2021-04-26T03:04:23.717Z] 31603596830f: Verifying Checksum [2021-04-26T03:04:23.717Z] 31603596830f: Download complete [2021-04-26T03:04:24.378Z] ecc8261a40a4: Verifying Checksum [2021-04-26T03:04:24.378Z] ecc8261a40a4: Download complete [2021-04-26T03:04:24.378Z] 6ca5941a6612: Verifying Checksum [2021-04-26T03:04:24.378Z] 6ca5941a6612: Download complete [2021-04-26T03:04:24.647Z] 31603596830f: Pull complete [2021-04-26T03:04:24.917Z] 2a8b12db71e7: Pull complete [2021-04-26T03:04:25.892Z] 6ca5941a6612: Pull complete [2021-04-26T03:04:25.892Z] ecc8261a40a4: Pull complete [2021-04-26T03:04:26.159Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T03:04:26.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T03:04:26.159Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T03:04:26.385Z] prd-centos7-docker-4c-2g-1694 does not seem to be running inside a container [2021-04-26T03:04:26.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-895 -v /w/workspace/dgexfoundry_device-sdk-go_PR-895:/w/workspace/dgexfoundry_device-sdk-go_PR-895:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-895@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-26T03:04:28.916Z] $ docker top d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T03:04:29.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T03:04:29.181Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T03:04:29.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T03:04:29.445Z] $ docker exec d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 ssh-agent [2021-04-26T03:04:29.645Z] SSH_AUTH_SOCK=/tmp/ssh-dVlFaygq1adl/agent.12 [2021-04-26T03:04:29.645Z] SSH_AGENT_PID=18 [2021-04-26T03:04:29.660Z] Running ssh-add (command line suppressed) [2021-04-26T03:04:29.813Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/private_key_4079195463641344744.key (/w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/private_key_4079195463641344744.key) [2021-04-26T03:04:29.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T03:04:30.259Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T03:04:30.292Z] $ docker exec --env ******** --env ******** d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 ssh-agent -k [2021-04-26T03:04:30.435Z] unset SSH_AUTH_SOCK; [2021-04-26T03:04:30.436Z] unset SSH_AGENT_PID; [2021-04-26T03:04:30.436Z] echo Agent pid 18 killed; [2021-04-26T03:04:30.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T03:04:30.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T03:04:30.594Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T03:04:30.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T03:04:30.821Z] $ docker exec d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 ssh-agent [2021-04-26T03:04:31.044Z] SSH_AUTH_SOCK=/tmp/ssh-I3Orwd0A5Lkn/agent.47 [2021-04-26T03:04:31.044Z] SSH_AGENT_PID=52 [2021-04-26T03:04:31.053Z] Running ssh-add (command line suppressed) [2021-04-26T03:04:31.203Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/private_key_8683414169168790747.key (/w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/private_key_8683414169168790747.key) [2021-04-26T03:04:31.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T03:04:31.663Z] + git semver init [2021-04-26T03:04:31.663Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T03:04:31.663Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-895/.git [2021-04-26T03:04:31.663Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-895 [2021-04-26T03:04:31.663Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T03:04:31.663Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T03:04:31.663Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T03:04:31.663Z] # $SEMVER_BRANCH = PR-895 [2021-04-26T03:04:31.663Z] # $SEMVER_TEMP = /tmp/semver-185178080 [2021-04-26T03:04:31.663Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T03:04:32.628Z] # '/tmp/semver-185178080' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-895/.semver' [2021-04-26T03:04:32.628Z] # -> Force: false [2021-04-26T03:04:32.628Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-895/.semver [Pipeline] } [2021-04-26T03:04:32.654Z] $ docker exec --env ******** --env ******** d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 ssh-agent -k [2021-04-26T03:04:32.831Z] unset SSH_AUTH_SOCK; [2021-04-26T03:04:32.831Z] unset SSH_AGENT_PID; [2021-04-26T03:04:32.831Z] echo Agent pid 52 killed; [2021-04-26T03:04:32.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T03:04:33.353Z] + git semver [Pipeline] } [2021-04-26T03:04:33.398Z] $ docker stop --time=1 d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 [2021-04-26T03:04:34.783Z] $ docker rm -f d4893d302c7e2b5192b417c8bde11226f7b246a87a8f7d9b1a00cc6c3532e048 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T03:04:35.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T03:04:35.827Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T03:04:35.849Z] [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-26T03:04:51.346Z] Still waiting to schedule task [2021-04-26T03:04:51.347Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-26T03:04:51.371Z] Still waiting to schedule task [2021-04-26T03:04:51.371Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-26T03:06:38.066Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1696 in /w/workspace/dgexfoundry_device-sdk-go_PR-895 [Pipeline] { [Pipeline] ws [2021-04-26T03:06:38.123Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-26T03:06:43.859Z] using credential edgex-jenkins-ssh [2021-04-26T03:06:43.878Z] Cloning the remote Git repository [2021-04-26T03:06:43.945Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:06:44.103Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-26T03:06:44.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:06:44.220Z] > git --version # timeout=10 [2021-04-26T03:06:44.260Z] > git --version # 'git version 2.17.1' [2021-04-26T03:06:44.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:06:44.328Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T03:06:45.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T03:06:45.576Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T03:06:45.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T03:06:45.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:06:45.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:06:45.669Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/895/head:refs/remotes/origin/PR-895 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T03:06:46.285Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:06:46.483Z] Merge succeeded, producing 1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:06:46.483Z] Checking out Revision 1370f961bbae2e26ba267d183fa534df73e62524 (PR-895) [2021-04-26T03:06:46.304Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T03:06:46.320Z] > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 [2021-04-26T03:06:46.413Z] > git remote # timeout=10 [2021-04-26T03:06:46.429Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T03:06:46.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:06:46.451Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-26T03:06:46.472Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T03:06:46.492Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T03:06:46.512Z] > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 [2021-04-26T03:06:50.838Z] Commit message: "feat: update CommandRequest.Attributes type" [2021-04-26T03:06:50.903Z] > git --version # timeout=10 [2021-04-26T03:06:50.918Z] > git --version # 'git version 2.17.1' [2021-04-26T03:06:50.931Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T03:06:52.449Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T03:06:52.984Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T03:06:53.355Z] + true [2021-04-26T03:06:53.355Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T03:06:55.438Z] provisioning config files... [2021-04-26T03:06:55.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3202876583819021337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:06:55.904Z] ---> docker-login.sh [2021-04-26T03:06:55.904Z] nexus3.edgexfoundry.org:10001 [2021-04-26T03:06:56.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:06:57.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:06:57.171Z] Configure a credential helper to remove this warning. See [2021-04-26T03:06:57.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:06:57.171Z] [2021-04-26T03:06:57.171Z] Login Succeeded [2021-04-26T03:06:57.171Z] nexus3.edgexfoundry.org:10002 [2021-04-26T03:06:57.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:06:57.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:06:57.769Z] Configure a credential helper to remove this warning. See [2021-04-26T03:06:57.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:06:57.769Z] [2021-04-26T03:06:57.769Z] Login Succeeded [2021-04-26T03:06:57.769Z] nexus3.edgexfoundry.org:10003 [2021-04-26T03:06:58.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:06:58.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:06:58.317Z] Configure a credential helper to remove this warning. See [2021-04-26T03:06:58.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:06:58.317Z] [2021-04-26T03:06:58.317Z] Login Succeeded [2021-04-26T03:06:58.317Z] nexus3.edgexfoundry.org:10004 [2021-04-26T03:06:58.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:06:58.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:06:58.866Z] Configure a credential helper to remove this warning. See [2021-04-26T03:06:58.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:06:58.866Z] [2021-04-26T03:06:58.866Z] Login Succeeded [2021-04-26T03:06:58.866Z] docker.io [2021-04-26T03:06:59.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:06:59.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:06:59.423Z] Configure a credential helper to remove this warning. See [2021-04-26T03:06:59.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:06:59.423Z] [2021-04-26T03:06:59.423Z] Login Succeeded [2021-04-26T03:06:59.423Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T03:06:59.456Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T03:06:59.873Z] ========================================================= [2021-04-26T03:06:59.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T03:06:59.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:07:00.280Z] + 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-26T03:07:00.885Z] Sending build context to Docker daemon 2.483MB [2021-04-26T03:07:00.885Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T03:07:00.885Z] Step 2/8 : FROM ${BASE} [2021-04-26T03:07:00.885Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T03:07:00.885Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T03:07:00.885Z] a4357932f1b6: Pulling fs layer [2021-04-26T03:07:00.885Z] 18c013af1878: Pulling fs layer [2021-04-26T03:07:00.885Z] 00ac8860ef70: Pulling fs layer [2021-04-26T03:07:00.885Z] 63d7cb157983: Pulling fs layer [2021-04-26T03:07:00.885Z] b116817d02f9: Pulling fs layer [2021-04-26T03:07:00.885Z] 745a02a5169b: Pulling fs layer [2021-04-26T03:07:00.885Z] 00ac8860ef70: Waiting [2021-04-26T03:07:00.885Z] 63d7cb157983: Waiting [2021-04-26T03:07:00.885Z] b116817d02f9: Waiting [2021-04-26T03:07:00.885Z] 745a02a5169b: Waiting [2021-04-26T03:07:00.885Z] 18c013af1878: Verifying Checksum [2021-04-26T03:07:00.885Z] 18c013af1878: Download complete [2021-04-26T03:07:00.885Z] a4357932f1b6: Download complete [2021-04-26T03:07:00.885Z] 63d7cb157983: Verifying Checksum [2021-04-26T03:07:00.885Z] 63d7cb157983: Download complete [2021-04-26T03:07:00.885Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T03:07:00.885Z] b116817d02f9: Verifying Checksum [2021-04-26T03:07:00.885Z] b116817d02f9: Download complete [2021-04-26T03:07:01.496Z] 5f621e34cdf4: Pull complete [2021-04-26T03:07:02.102Z] a4357932f1b6: Pull complete [2021-04-26T03:07:02.380Z] 18c013af1878: Pull complete [2021-04-26T03:07:03.048Z] Running on prd-centos7-docker-4c-2g-1697 in /w/workspace/dgexfoundry_device-sdk-go_PR-895 [Pipeline] { [Pipeline] ws [2021-04-26T03:07:03.104Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-26T03:07:03.835Z] 745a02a5169b: Verifying Checksum [2021-04-26T03:07:03.835Z] 745a02a5169b: Download complete [2021-04-26T03:07:04.820Z] 00ac8860ef70: Verifying Checksum [2021-04-26T03:07:04.820Z] 00ac8860ef70: Download complete [2021-04-26T03:07:05.954Z] using credential edgex-jenkins-ssh [2021-04-26T03:07:05.968Z] Cloning the remote Git repository [2021-04-26T03:07:05.619Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:07:05.693Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-26T03:07:05.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:07:05.760Z] > git --version # timeout=10 [2021-04-26T03:07:05.768Z] > git --version # 'git version 2.24.3' [2021-04-26T03:07:05.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:07:05.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T03:07:06.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T03:07:06.764Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T03:07:06.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T03:07:06.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T03:07:06.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:07:06.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/895/head:refs/remotes/origin/PR-895 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T03:07:07.638Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:07:07.742Z] Merge succeeded, producing 1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:07:07.742Z] Checking out Revision 1370f961bbae2e26ba267d183fa534df73e62524 (PR-895) [2021-04-26T03:07:07.419Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T03:07:07.427Z] > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 [2021-04-26T03:07:07.481Z] > git remote # timeout=10 [2021-04-26T03:07:07.487Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T03:07:07.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T03:07:07.498Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-26T03:07:07.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T03:07:07.519Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T03:07:07.527Z] > git checkout -f 1370f961bbae2e26ba267d183fa534df73e62524 # timeout=10 [2021-04-26T03:07:11.248Z] Commit message: "feat: update CommandRequest.Attributes type" [2021-04-26T03:07:11.285Z] > git --version # timeout=10 [2021-04-26T03:07:11.294Z] > git --version # 'git version 2.24.3' [2021-04-26T03:07:11.302Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T03:07:12.735Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T03:07:13.083Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T03:07:13.402Z] + sudo service docker restart [2021-04-26T03:07:13.402Z] + true [2021-04-26T03:07:13.402Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T03:07:14.901Z] provisioning config files... [2021-04-26T03:07:14.932Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6318866238430224964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:07:15.015Z] 00ac8860ef70: Pull complete [2021-04-26T03:07:15.015Z] 63d7cb157983: Pull complete [2021-04-26T03:07:15.290Z] b116817d02f9: Pull complete [2021-04-26T03:07:15.311Z] ---> docker-login.sh [2021-04-26T03:07:15.311Z] nexus3.edgexfoundry.org:10001 [2021-04-26T03:07:15.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:07:15.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:07:15.574Z] Configure a credential helper to remove this warning. See [2021-04-26T03:07:15.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:07:15.574Z] [2021-04-26T03:07:15.574Z] Login Succeeded [2021-04-26T03:07:15.574Z] nexus3.edgexfoundry.org:10002 [2021-04-26T03:07:15.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:07:15.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:07:15.840Z] Configure a credential helper to remove this warning. See [2021-04-26T03:07:15.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:07:15.840Z] [2021-04-26T03:07:15.840Z] Login Succeeded [2021-04-26T03:07:15.840Z] nexus3.edgexfoundry.org:10003 [2021-04-26T03:07:16.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:07:16.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:07:16.105Z] Configure a credential helper to remove this warning. See [2021-04-26T03:07:16.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:07:16.105Z] [2021-04-26T03:07:16.105Z] Login Succeeded [2021-04-26T03:07:16.105Z] nexus3.edgexfoundry.org:10004 [2021-04-26T03:07:16.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:07:16.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:07:16.365Z] Configure a credential helper to remove this warning. See [2021-04-26T03:07:16.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:07:16.366Z] [2021-04-26T03:07:16.366Z] Login Succeeded [2021-04-26T03:07:16.366Z] docker.io [2021-04-26T03:07:16.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T03:07:16.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T03:07:16.635Z] Configure a credential helper to remove this warning. See [2021-04-26T03:07:16.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T03:07:16.635Z] [2021-04-26T03:07:16.635Z] Login Succeeded [2021-04-26T03:07:16.635Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T03:07:16.675Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T03:07:17.015Z] ========================================================= [2021-04-26T03:07:17.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T03:07:17.015Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:07:17.399Z] + 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-26T03:07:17.399Z] Sending build context to Docker daemon 2.49MB [2021-04-26T03:07:17.399Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T03:07:17.399Z] Step 2/8 : FROM ${BASE} [2021-04-26T03:07:17.663Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T03:07:17.663Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T03:07:17.663Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T03:07:17.663Z] de9db76c5a1d: Pulling fs layer [2021-04-26T03:07:17.663Z] bca2f99d35d6: Pulling fs layer [2021-04-26T03:07:17.663Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T03:07:17.663Z] 7c6f9722023f: Pulling fs layer [2021-04-26T03:07:17.663Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T03:07:17.663Z] 93359f2a8cfa: Waiting [2021-04-26T03:07:17.663Z] 7c6f9722023f: Waiting [2021-04-26T03:07:17.663Z] a35cf1a2eb13: Waiting [2021-04-26T03:07:17.663Z] bca2f99d35d6: Waiting [2021-04-26T03:07:17.663Z] de9db76c5a1d: Verifying Checksum [2021-04-26T03:07:17.663Z] de9db76c5a1d: Download complete [2021-04-26T03:07:17.663Z] 0ef7d3d256c8: Download complete [2021-04-26T03:07:17.663Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T03:07:17.663Z] 93359f2a8cfa: Download complete [2021-04-26T03:07:17.663Z] 7c6f9722023f: Verifying Checksum [2021-04-26T03:07:17.663Z] 7c6f9722023f: Download complete [2021-04-26T03:07:17.663Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T03:07:17.663Z] 188c0c94c7c5: Download complete [2021-04-26T03:07:17.927Z] 188c0c94c7c5: Pull complete [2021-04-26T03:07:18.189Z] 0ef7d3d256c8: Pull complete [2021-04-26T03:07:18.455Z] de9db76c5a1d: Pull complete [2021-04-26T03:07:19.416Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T03:07:19.416Z] a35cf1a2eb13: Download complete [2021-04-26T03:07:19.614Z] 745a02a5169b: Pull complete [2021-04-26T03:07:19.614Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T03:07:19.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T03:07:19.614Z] ---> b7e6874047d6 [2021-04-26T03:07:19.614Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:07:19.996Z] bca2f99d35d6: Verifying Checksum [2021-04-26T03:07:19.996Z] bca2f99d35d6: Download complete [2021-04-26T03:07:22.251Z] ---> Running in 9bc06708b793 [2021-04-26T03:07:22.251Z] Removing intermediate container 9bc06708b793 [2021-04-26T03:07:22.251Z] ---> de78c6068199 [2021-04-26T03:07:22.251Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:07:22.526Z] ---> Running in 5ad4437a3681 [2021-04-26T03:07:25.161Z] Removing intermediate container 5ad4437a3681 [2021-04-26T03:07:25.161Z] ---> d34e7cb7079f [2021-04-26T03:07:25.161Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T03:07:25.161Z] ---> Running in 57b02747eda3 [2021-04-26T03:07:25.312Z] bca2f99d35d6: Pull complete [2021-04-26T03:07:25.585Z] 93359f2a8cfa: Pull complete [2021-04-26T03:07:25.585Z] 7c6f9722023f: Pull complete [2021-04-26T03:07:26.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T03:07:27.581Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T03:07:28.173Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T03:07:28.173Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T03:07:28.173Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T03:07:28.444Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T03:07:28.444Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T03:07:28.444Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T03:07:28.747Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T03:07:28.747Z] OK: 144 MiB in 45 packages [2021-04-26T03:07:30.177Z] Removing intermediate container 57b02747eda3 [2021-04-26T03:07:30.177Z] ---> fc0debe7c1b9 [2021-04-26T03:07:30.177Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T03:07:30.177Z] ---> Running in cf62bb519b8e [2021-04-26T03:07:30.769Z] Removing intermediate container cf62bb519b8e [2021-04-26T03:07:30.769Z] ---> 37f4131754d7 [2021-04-26T03:07:30.769Z] Step 7/8 : COPY . . [2021-04-26T03:07:32.206Z] ---> 9002e27ea8cf [2021-04-26T03:07:32.206Z] Step 8/8 : RUN go mod download [2021-04-26T03:07:32.206Z] ---> Running in 004d11f06ff2 [2021-04-26T03:07:32.225Z] a35cf1a2eb13: Pull complete [2021-04-26T03:07:32.225Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T03:07:32.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T03:07:32.225Z] ---> a62c8e92a672 [2021-04-26T03:07:32.225Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:07:32.488Z] ---> Running in 5d6d9f60f474 [2021-04-26T03:07:32.754Z] Removing intermediate container 5d6d9f60f474 [2021-04-26T03:07:32.754Z] ---> ced7278c845f [2021-04-26T03:07:32.754Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:07:33.018Z] ---> Running in 22a9c2160331 [2021-04-26T03:07:33.983Z] Removing intermediate container 22a9c2160331 [2021-04-26T03:07:33.983Z] ---> 706ec1000880 [2021-04-26T03:07:33.983Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T03:07:33.983Z] ---> Running in 365c9171e5af [2021-04-26T03:07:34.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T03:07:35.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T03:07:36.095Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T03:07:36.095Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T03:07:36.095Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T03:07:36.359Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T03:07:36.359Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T03:07:36.359Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T03:07:36.637Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T03:07:36.637Z] OK: 167 MiB in 45 packages [2021-04-26T03:07:37.216Z] Removing intermediate container 365c9171e5af [2021-04-26T03:07:37.216Z] ---> a60f691268c2 [2021-04-26T03:07:37.216Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T03:07:37.216Z] ---> Running in 4a354590b373 [2021-04-26T03:07:37.481Z] Removing intermediate container 4a354590b373 [2021-04-26T03:07:37.481Z] ---> ab340c49b148 [2021-04-26T03:07:37.481Z] Step 7/8 : COPY . . [2021-04-26T03:07:38.903Z] ---> 6afb594bbf63 [2021-04-26T03:07:38.903Z] Step 8/8 : RUN go mod download [2021-04-26T03:07:38.903Z] ---> Running in 60e3f7246076 [2021-04-26T03:07:59.004Z] Removing intermediate container 004d11f06ff2 [2021-04-26T03:07:59.004Z] ---> 3b64cbee3386 [2021-04-26T03:07:59.004Z] Successfully built 3b64cbee3386 [2021-04-26T03:07:59.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:07:59.371Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T03:07:59.372Z] . [Pipeline] withDockerContainer [2021-04-26T03:07:59.668Z] prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container [2021-04-26T03:07:59.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T03:08:00.951Z] Removing intermediate container 60e3f7246076 [2021-04-26T03:08:00.952Z] ---> b56f20471e1c [2021-04-26T03:08:00.952Z] Successfully built b56f20471e1c [2021-04-26T03:08:00.952Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-26T03:08:01.255Z] $ docker top 32e29503c455d980e168dd53a9ac0337a5b8d214b3d087650a6d614afd748121 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:08:02.275Z] + go version [2021-04-26T03:08:02.275Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T03:08:02.313Z] $ docker stop --time=1 32e29503c455d980e168dd53a9ac0337a5b8d214b3d087650a6d614afd748121 [2021-04-26T03:08:02.459Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T03:08:02.459Z] . [2021-04-26T03:08:04.295Z] $ docker rm -f 32e29503c455d980e168dd53a9ac0337a5b8d214b3d087650a6d614afd748121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-04-26T03:08:04.722Z] prd-centos7-docker-4c-2g-1697 does not seem to be running inside a container [2021-04-26T03:08:04.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T03:08:05.739Z] $ docker top c0fb406486c57daf14156238800196dfb396718a5fc4aa5f19af60dc46e7a8e9 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:08:06.286Z] + go version [2021-04-26T03:08:06.287Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T03:08:06.388Z] $ docker stop --time=1 c0fb406486c57daf14156238800196dfb396718a5fc4aa5f19af60dc46e7a8e9 [2021-04-26T03:08:06.576Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T03:08:06.576Z] . [2021-04-26T03:08:07.749Z] $ docker rm -f c0fb406486c57daf14156238800196dfb396718a5fc4aa5f19af60dc46e7a8e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-04-26T03:08:08.162Z] prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container [2021-04-26T03:08:08.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T03:08:09.742Z] $ docker top 5d974d75207ea884a97491c6e2a495b5b425c3f0a5accd7fcd40dab5a186e9ac -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:08:10.761Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T03:08:10.761Z] . [Pipeline] withDockerContainer [2021-04-26T03:08:10.808Z] + make test [2021-04-26T03:08:10.808Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T03:08:10.899Z] prd-centos7-docker-4c-2g-1697 does not seem to be running inside a container [2021-04-26T03:08:10.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T03:08:11.556Z] $ docker top c1886fd09153fa751a6e8ce973d1ea7e2ddd730b5d79f58d70ec561750ad53c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T03:08:12.065Z] + make test [2021-04-26T03:08:12.065Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T03:08:20.304Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T03:08:32.993Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T03:08:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T03:08:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T03:08:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T03:08:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T03:08:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T03:08:44.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.136s coverage: 28.1% of statements [2021-04-26T03:08:44.366Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.141s coverage: 78.9% of statements [2021-04-26T03:08:45.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.097s coverage: 7.8% of statements [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T03:08:45.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 32.0% of statements [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T03:08:45.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T03:08:45.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.2% of statements [2021-04-26T03:08:45.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.237s coverage: 6.6% of statements [2021-04-26T03:08:45.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-26T03:08:45.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T03:08:46.214Z] GO111MODULE=on go vet ./... [2021-04-26T03:09:01.289Z] gofmt -l . [2021-04-26T03:09:01.289Z] [ "`gofmt -l .`" = "" ] [2021-04-26T03:09:01.289Z] ./bin/test-attribution-txt.sh [2021-04-26T03:09:03.247Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T03:09:03.298Z] $ docker stop --time=1 c1886fd09153fa751a6e8ce973d1ea7e2ddd730b5d79f58d70ec561750ad53c7 [2021-04-26T03:09:05.601Z] $ docker rm -f c1886fd09153fa751a6e8ce973d1ea7e2ddd730b5d79f58d70ec561750ad53c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T03:09:06.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T03:09:06.779Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T03:09:09.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T03:09:09.672Z] + ls -al . [2021-04-26T03:09:09.672Z] total 188 [2021-04-26T03:09:09.672Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 03:09 . [2021-04-26T03:09:09.672Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 03:07 .. [2021-04-26T03:09:09.672Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 03:07 bin [2021-04-26T03:09:09.672Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 03:08 coverage.out [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 03:07 Dockerfile.build [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 03:07 .dockerignore [2021-04-26T03:09:09.672Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 03:07 example [2021-04-26T03:09:09.672Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 03:07 .git [2021-04-26T03:09:09.672Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 03:07 .github [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 03:07 .gitignore [2021-04-26T03:09:09.672Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 03:09 go.mod [2021-04-26T03:09:09.672Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 26 03:09 go.sum [2021-04-26T03:09:09.672Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 03:07 internal [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 03:07 Jenkinsfile [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 03:07 LICENSE [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 03:07 Makefile [2021-04-26T03:09:09.672Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 03:07 openapi [2021-04-26T03:09:09.672Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 03:07 pkg [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 03:07 README.md [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 03:07 RELEASE-NOTES.txt [2021-04-26T03:09:09.672Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 03:07 snap [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 03:04 VERSION [2021-04-26T03:09:09.672Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 03:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:09:10.016Z] + 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=1370f961bbae2e26ba267d183fa534df73e62524 --label arch=amd64 --label version=0.0.0 . [2021-04-26T03:09:10.282Z] Sending build context to Docker daemon 2.591MB [2021-04-26T03:09:10.282Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T03:09:10.282Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T03:09:10.282Z] ---> b56f20471e1c [2021-04-26T03:09:10.282Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T03:09:10.857Z] ---> Running in 8cbbe334c865 [2021-04-26T03:09:11.120Z] Removing intermediate container 8cbbe334c865 [2021-04-26T03:09:11.120Z] ---> 1ca6776f07a7 [2021-04-26T03:09:11.120Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:09:11.120Z] ---> Running in b3941b83e6d0 [2021-04-26T03:09:11.392Z] Removing intermediate container b3941b83e6d0 [2021-04-26T03:09:11.392Z] ---> b21181bfd427 [2021-04-26T03:09:11.392Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:09:11.392Z] ---> Running in 61cbba4a8f57 [2021-04-26T03:09:12.792Z] Removing intermediate container 61cbba4a8f57 [2021-04-26T03:09:12.792Z] ---> 233ae4900807 [2021-04-26T03:09:12.792Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T03:09:12.792Z] ---> Running in 100ff7d2665e [2021-04-26T03:09:13.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T03:09:13.636Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T03:09:14.213Z] OK: 167 MiB in 45 packages [2021-04-26T03:09:14.476Z] Removing intermediate container 100ff7d2665e [2021-04-26T03:09:14.476Z] ---> e78d73e1cc20 [2021-04-26T03:09:14.476Z] Step 7/23 : COPY . . [2021-04-26T03:09:15.869Z] ---> 6d5c7a096c6f [2021-04-26T03:09:15.869Z] Step 8/23 : RUN go mod download [2021-04-26T03:09:15.869Z] ---> Running in f82c1891ec51 [2021-04-26T03:09:16.816Z] Removing intermediate container f82c1891ec51 [2021-04-26T03:09:16.816Z] ---> 2fdb455ff484 [2021-04-26T03:09:16.816Z] Step 9/23 : RUN make build [2021-04-26T03:09:16.816Z] ---> Running in d0dce6eb1272 [2021-04-26T03:09:17.402Z] 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-26T03:09:29.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T03:09:29.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T03:09:29.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T03:09:29.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T03:09:29.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T03:09:29.749Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T03:09:30.011Z] Removing intermediate container d0dce6eb1272 [2021-04-26T03:09:30.011Z] ---> 0292a4e39d04 [2021-04-26T03:09:30.011Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T03:09:30.275Z] 3.12: Pulling from library/alpine [2021-04-26T03:09:30.275Z] 339de151aab4: Pulling fs layer [2021-04-26T03:09:30.539Z] 339de151aab4: Verifying Checksum [2021-04-26T03:09:30.539Z] 339de151aab4: Download complete [2021-04-26T03:09:30.804Z] 339de151aab4: Pull complete [2021-04-26T03:09:30.804Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T03:09:30.804Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T03:09:30.804Z] ---> 13621d1b12d4 [2021-04-26T03:09:30.804Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:09:30.804Z] ---> Running in 397e15b2d200 [2021-04-26T03:09:31.066Z] Removing intermediate container 397e15b2d200 [2021-04-26T03:09:31.066Z] ---> 9f1ce02e0fe9 [2021-04-26T03:09:31.066Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:09:31.066Z] ---> Running in 05a7b8046ed6 [2021-04-26T03:09:32.263Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.167s coverage: 28.1% of statements [2021-04-26T03:09:32.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.228s coverage: 78.9% of statements [2021-04-26T03:09:32.991Z] Removing intermediate container 05a7b8046ed6 [2021-04-26T03:09:32.991Z] ---> f358281f41e3 [2021-04-26T03:09:32.991Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T03:09:32.991Z] ---> Running in 6d7f34445413 [2021-04-26T03:09:33.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.215s coverage: 7.8% of statements [2021-04-26T03:09:33.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T03:09:33.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T03:09:33.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T03:09:33.258Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T03:09:33.835Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T03:09:34.410Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T03:09:34.410Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T03:09:34.644Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.247s coverage: 32.0% of statements [2021-04-26T03:09:34.644Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T03:09:34.644Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T03:09:34.644Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T03:09:34.675Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T03:09:35.625Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T03:09:35.625Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T03:09:35.625Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T03:09:35.625Z] OK: 8 MiB in 19 packages [2021-04-26T03:09:36.199Z] Removing intermediate container 6d7f34445413 [2021-04-26T03:09:36.199Z] ---> 36cf9ccc92cb [2021-04-26T03:09:36.199Z] Step 14/23 : WORKDIR / [2021-04-26T03:09:36.199Z] ---> Running in dc1d18bb97ee [2021-04-26T03:09:36.464Z] Removing intermediate container dc1d18bb97ee [2021-04-26T03:09:36.464Z] ---> 6d581564ae75 [2021-04-26T03:09:36.464Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T03:09:36.735Z] ---> 2dd1a7982dc0 [2021-04-26T03:09:36.735Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T03:09:37.315Z] ---> fcac98ade2d2 [2021-04-26T03:09:37.315Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T03:09:37.579Z] ---> dd7d8154fb64 [2021-04-26T03:09:37.579Z] Step 18/23 : EXPOSE 49990 [2021-04-26T03:09:37.579Z] ---> Running in e48b914a5590 [2021-04-26T03:09:37.848Z] Removing intermediate container e48b914a5590 [2021-04-26T03:09:37.848Z] ---> 50077d1c9c99 [2021-04-26T03:09:37.848Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T03:09:37.848Z] ---> Running in 97124611b885 [2021-04-26T03:09:38.109Z] Removing intermediate container 97124611b885 [2021-04-26T03:09:38.109Z] ---> 8293ba22ee5a [2021-04-26T03:09:38.109Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T03:09:38.109Z] ---> Running in 78f1eb522c20 [2021-04-26T03:09:38.109Z] Removing intermediate container 78f1eb522c20 [2021-04-26T03:09:38.109Z] ---> 4f29498c8ddb [2021-04-26T03:09:38.109Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T03:09:38.371Z] ---> Running in 387c23a83c1d [2021-04-26T03:09:38.371Z] Removing intermediate container 387c23a83c1d [2021-04-26T03:09:38.371Z] ---> fb93eae3d5b6 [2021-04-26T03:09:38.371Z] Step 22/23 : LABEL git_sha=1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:09:38.679Z] ---> Running in fd1b2298e6bf [2021-04-26T03:09:38.679Z] Removing intermediate container fd1b2298e6bf [2021-04-26T03:09:38.679Z] ---> 7afa69644e3f [2021-04-26T03:09:38.679Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T03:09:38.679Z] ---> Running in 5177f20a6075 [2021-04-26T03:09:38.943Z] Removing intermediate container 5177f20a6075 [2021-04-26T03:09:38.943Z] ---> 067022b5a955 [2021-04-26T03:09:38.943Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-26T03:09:38.943Z] Successfully built 067022b5a955 [2021-04-26T03:09:38.943Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2021-04-26T03:09:39.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.289s coverage: 57.2% of statements [2021-04-26T03:09:39.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.115s coverage: 6.6% of statements [2021-04-26T03:09:39.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.0% of statements [2021-04-26T03:09:39.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T03:09:39.011Z] GO111MODULE=on go vet ./... [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-26T03:09:39.951Z] ---> job-cost.sh [2021-04-26T03:09:39.951Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OBx6 [2021-04-26T03:09:54.890Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T03:10:21.526Z] lf-activate-venv(): INFO: Adding /tmp/venv-OBx6/bin to PATH [2021-04-26T03:10:21.526Z] INFO: No Stack... [2021-04-26T03:10:22.179Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T03:10:22.810Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T03:10:23.168Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-26T03:10:23.168Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T03:10:23.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] [2021-04-26T03:10:23.407Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] did not exist. Created. [2021-04-26T03:10:23.407Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T03:10:23.848Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T03:10:23.993Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T03:10:24.013Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T03:10:26.072Z] gofmt -l . [2021-04-26T03:10:26.072Z] [ "`gofmt -l .`" = "" ] [2021-04-26T03:10:26.072Z] ./bin/test-attribution-txt.sh [2021-04-26T03:10:26.072Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T03:10:26.108Z] $ docker stop --time=1 5d974d75207ea884a97491c6e2a495b5b425c3f0a5accd7fcd40dab5a186e9ac [2021-04-26T03:10:28.361Z] $ docker rm -f 5d974d75207ea884a97491c6e2a495b5b425c3f0a5accd7fcd40dab5a186e9ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T03:10:29.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T03:10:29.507Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T03:10:30.551Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T03:10:31.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T03:10:31.577Z] + ls -al . [2021-04-26T03:10:31.578Z] total 224 [2021-04-26T03:10:31.578Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 03:10 . [2021-04-26T03:10:31.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 03:06 .. [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 03:06 .dockerignore [2021-04-26T03:10:31.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 03:06 .git [2021-04-26T03:10:31.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 03:06 .github [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 03:06 .gitignore [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 03:06 Dockerfile.build [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 03:06 Jenkinsfile [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 03:06 LICENSE [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 03:06 Makefile [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 03:06 README.md [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 03:06 RELEASE-NOTES.txt [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 03:04 VERSION [2021-04-26T03:10:31.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 03:06 bin [2021-04-26T03:10:31.578Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 03:09 coverage.out [2021-04-26T03:10:31.578Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 03:06 example [2021-04-26T03:10:31.578Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 03:10 go.mod [2021-04-26T03:10:31.578Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 26 03:10 go.sum [2021-04-26T03:10:31.578Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 03:06 internal [2021-04-26T03:10:31.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 03:06 openapi [2021-04-26T03:10:31.578Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 03:06 pkg [2021-04-26T03:10:31.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 03:06 snap [2021-04-26T03:10:31.578Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 03:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:10:31.966Z] + 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=1370f961bbae2e26ba267d183fa534df73e62524 --label arch=arm64 --label version=0.0.0 . [2021-04-26T03:10:32.262Z] Sending build context to Docker daemon 2.584MB [2021-04-26T03:10:32.551Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T03:10:32.551Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T03:10:32.551Z] ---> 3b64cbee3386 [2021-04-26T03:10:32.551Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T03:10:32.834Z] ---> Running in c033fcf9b36a [2021-04-26T03:10:34.305Z] Removing intermediate container c033fcf9b36a [2021-04-26T03:10:34.305Z] ---> 360d3da383db [2021-04-26T03:10:34.305Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:10:34.578Z] ---> Running in 64257bb23f71 [2021-04-26T03:10:35.175Z] Removing intermediate container 64257bb23f71 [2021-04-26T03:10:35.175Z] ---> c43ffc54175b [2021-04-26T03:10:35.175Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:10:35.175Z] ---> Running in 863c4d8a9c67 [2021-04-26T03:10:37.154Z] Removing intermediate container 863c4d8a9c67 [2021-04-26T03:10:37.155Z] ---> d96540c12a4a [2021-04-26T03:10:37.155Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T03:10:37.436Z] ---> Running in d4ce3ae640e9 [2021-04-26T03:10:38.418Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T03:10:39.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T03:10:39.994Z] OK: 144 MiB in 45 packages [2021-04-26T03:10:40.971Z] Removing intermediate container d4ce3ae640e9 [2021-04-26T03:10:40.971Z] ---> 51dc81c46d45 [2021-04-26T03:10:40.971Z] Step 7/23 : COPY . . [2021-04-26T03:10:42.409Z] ---> 09af61f05f7f [2021-04-26T03:10:42.409Z] Step 8/23 : RUN go mod download [2021-04-26T03:10:42.409Z] ---> Running in 08c99b678959 [2021-04-26T03:10:45.036Z] Removing intermediate container 08c99b678959 [2021-04-26T03:10:45.036Z] ---> 3d40dc10b7d9 [2021-04-26T03:10:45.036Z] Step 9/23 : RUN make build [2021-04-26T03:10:45.036Z] ---> Running in aaa2df9bb8bc [2021-04-26T03:10:46.034Z] 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-26T03:11:18.393Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T03:11:21.778Z] Removing intermediate container aaa2df9bb8bc [2021-04-26T03:11:21.778Z] ---> f04423786474 [2021-04-26T03:11:21.778Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T03:11:22.048Z] 3.12: Pulling from library/alpine [2021-04-26T03:11:22.048Z] d2f70382dc9a: Pulling fs layer [2021-04-26T03:11:22.320Z] d2f70382dc9a: Verifying Checksum [2021-04-26T03:11:22.320Z] d2f70382dc9a: Download complete [2021-04-26T03:11:22.915Z] d2f70382dc9a: Pull complete [2021-04-26T03:11:22.915Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T03:11:22.915Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T03:11:22.915Z] ---> 9852663dfa18 [2021-04-26T03:11:22.915Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T03:11:23.189Z] ---> Running in 2c333896ea30 [2021-04-26T03:11:23.459Z] Removing intermediate container 2c333896ea30 [2021-04-26T03:11:23.459Z] ---> 557e3a3ceef8 [2021-04-26T03:11:23.459Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T03:11:23.732Z] ---> Running in eac83c43fd93 [2021-04-26T03:11:25.707Z] Removing intermediate container eac83c43fd93 [2021-04-26T03:11:25.707Z] ---> d8dca4e38ccc [2021-04-26T03:11:25.707Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T03:11:25.982Z] ---> Running in 7378e64c5dd2 [2021-04-26T03:11:26.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T03:11:27.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T03:11:28.901Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T03:11:28.901Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T03:11:28.901Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T03:11:29.177Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T03:11:29.177Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T03:11:29.177Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T03:11:29.177Z] OK: 8 MiB in 19 packages [2021-04-26T03:11:30.613Z] Removing intermediate container 7378e64c5dd2 [2021-04-26T03:11:30.613Z] ---> de1af52bb044 [2021-04-26T03:11:30.613Z] Step 14/23 : WORKDIR / [2021-04-26T03:11:30.613Z] ---> Running in 17616ec4b502 [2021-04-26T03:11:31.207Z] Removing intermediate container 17616ec4b502 [2021-04-26T03:11:31.207Z] ---> 69831cc3e697 [2021-04-26T03:11:31.207Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T03:11:32.187Z] ---> a41a532d4907 [2021-04-26T03:11:32.187Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T03:11:33.167Z] ---> 7fc58f9e366e [2021-04-26T03:11:33.167Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T03:11:34.145Z] ---> 6e21428012dd [2021-04-26T03:11:34.145Z] Step 18/23 : EXPOSE 49990 [2021-04-26T03:11:34.145Z] ---> Running in 1f691f0ce584 [2021-04-26T03:11:34.417Z] Removing intermediate container 1f691f0ce584 [2021-04-26T03:11:34.417Z] ---> 0cb1285c3ee4 [2021-04-26T03:11:34.417Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T03:11:34.691Z] ---> Running in 874bb7a55288 [2021-04-26T03:11:35.283Z] Removing intermediate container 874bb7a55288 [2021-04-26T03:11:35.283Z] ---> ac2f5e22df2d [2021-04-26T03:11:35.283Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T03:11:35.283Z] ---> Running in 0ee144a53bb5 [2021-04-26T03:11:35.877Z] Removing intermediate container 0ee144a53bb5 [2021-04-26T03:11:35.877Z] ---> fbb4d28b7759 [2021-04-26T03:11:35.877Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T03:11:35.877Z] ---> Running in 73749738f071 [2021-04-26T03:11:36.472Z] Removing intermediate container 73749738f071 [2021-04-26T03:11:36.472Z] ---> e4bad3931f62 [2021-04-26T03:11:36.472Z] Step 22/23 : LABEL git_sha=1370f961bbae2e26ba267d183fa534df73e62524 [2021-04-26T03:11:36.472Z] ---> Running in 90497f11a3ea [2021-04-26T03:11:37.095Z] Removing intermediate container 90497f11a3ea [2021-04-26T03:11:37.095Z] ---> 96e046772eb1 [2021-04-26T03:11:37.095Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T03:11:37.095Z] ---> Running in 0e367acc1599 [2021-04-26T03:11:37.697Z] Removing intermediate container 0e367acc1599 [2021-04-26T03:11:37.697Z] ---> f0342c6573c3 [2021-04-26T03:11:37.697Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-26T03:11:37.697Z] Successfully built f0342c6573c3 [2021-04-26T03:11:37.697Z] 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-26T03:11:38.491Z] ---> job-cost.sh [2021-04-26T03:11:38.491Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TSTg [2021-04-26T03:12:17.462Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T03:13:39.189Z] lf-activate-venv(): INFO: Adding /tmp/venv-TSTg/bin to PATH [2021-04-26T03:13:39.189Z] INFO: No Stack... [2021-04-26T03:13:39.189Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T03:13:39.189Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T03:13:39.547Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-26T03:13:39.547Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T03:13:39.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] [2021-04-26T03:13:39.687Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] did not exist. Created. [2021-04-26T03:13:39.687Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-895-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T03:13:40.118Z] /w/workspace/device-sdk-go/1@tmp/durable-f230aa6d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-f230aa6d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T03:13:40.489Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T03:13:40.526Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T03:13:40.681Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T03:13:40.701Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-895-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-26T03:13:41.710Z] provisioning config files... [2021-04-26T03:13:41.723Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/config5843421666422608145tmp [Pipeline] { [Pipeline] sh [2021-04-26T03:13:42.135Z] + set +x [2021-04-26T03:13:42.135Z] + curl -s https://codecov.io/bash [2021-04-26T03:13:42.135Z] + bash -s -- [2021-04-26T03:13:42.417Z] [2021-04-26T03:13:42.417Z] _____ _ [2021-04-26T03:13:42.417Z] / ____| | | [2021-04-26T03:13:42.417Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T03:13:42.417Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T03:13:42.417Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T03:13:42.417Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T03:13:42.417Z] Bash-1.0.2 [2021-04-26T03:13:42.417Z] [2021-04-26T03:13:42.417Z] [2021-04-26T03:13:42.417Z] ==> git version 2.24.3 found [2021-04-26T03:13:42.417Z] ==> 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-26T03:13:42.417Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T03:13:42.417Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T03:13:42.417Z] ==> Jenkins CI detected. [2021-04-26T03:13:42.417Z] project root: . [2021-04-26T03:13:42.417Z] --> token set from env [2021-04-26T03:13:42.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T03:13:42.723Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T03:13:42.723Z] ==> Python coveragepy not found [2021-04-26T03:13:42.723Z] ==> Searching for coverage reports in: [2021-04-26T03:13:42.723Z] + . [2021-04-26T03:13:42.723Z] -> Found 1 reports [2021-04-26T03:13:42.723Z] ==> Detecting git/mercurial file structure [2021-04-26T03:13:42.723Z] ==> Reading reports [2021-04-26T03:13:42.723Z] + ./coverage.out bytes=100024 [2021-04-26T03:13:42.723Z] ==> Appending adjustments [2021-04-26T03:13:42.723Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T03:13:43.756Z] + Found adjustments [2021-04-26T03:13:43.756Z] ==> Gzipping contents [2021-04-26T03:13:43.756Z] 16K /tmp/codecov.eWPkOn.gz [2021-04-26T03:13:43.756Z] ==> Uploading reports [2021-04-26T03:13:43.756Z] url: https://codecov.io [2021-04-26T03:13:43.756Z] query: branch=PR-895&commit=1370f961bbae2e26ba267d183fa534df73e62524&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-895%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=895&job=&cmd_args= [2021-04-26T03:13:43.756Z] -> Pinging Codecov [2021-04-26T03:13:43.756Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-895&commit=1370f961bbae2e26ba267d183fa534df73e62524&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-895%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=895&job=&cmd_args= [2021-04-26T03:13:44.030Z] -> Uploading to [2021-04-26T03:13:44.030Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/1370f961bbae2e26ba267d183fa534df73e62524/3dfaeb97-f9d5-42ef-af30-b7dd46546e03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T031343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6226097842ae8ff9167cc8e6f3488c65b73f9425551b7322f02eeb09f86865e [2021-04-26T03:13:44.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T03:13:44.030Z] Dload Upload Total Spent Left Speed [2021-04-26T03:13:44.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13537 0 0 100 13537 0 31561 --:--:-- --:--:-- --:--:-- 31554 100 13537 0 0 100 13537 0 31536 --:--:-- --:--:-- --:--:-- 31481 [2021-04-26T03:13:44.626Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1370f961bbae2e26ba267d183fa534df73e62524 [Pipeline] } [2021-04-26T03:13:44.655Z] 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-26T03:13:46.710Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:13:47.551Z] ---> package-listing.sh [2021-04-26T03:13:47.551Z] ++ facter osfamily [2021-04-26T03:13:47.551Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T03:13:47.551Z] + OS_FAMILY=redhat [2021-04-26T03:13:47.551Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-895 [2021-04-26T03:13:47.551Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T03:13:47.551Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T03:13:47.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T03:13:47.551Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T03:13:47.551Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-895 ']' [2021-04-26T03:13:47.551Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T03:13:47.551Z] + case "${OS_FAMILY}" in [2021-04-26T03:13:47.551Z] + rpm -qa [2021-04-26T03:13:47.551Z] + sort [2021-04-26T03:13:52.995Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T03:13:52.995Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T03:13:52.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T03:13:52.995Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-895 ']' [2021-04-26T03:13:52.995Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-895/archives/ [2021-04-26T03:13:52.995Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-895/archives/ [Pipeline] echo [2021-04-26T03:13:53.037Z] 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-895/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-26T03:13:53.366Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:13:53.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T03:13:54.247Z] [2021-04-26T03:13:54.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T03:13:54.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T03:13:54.625Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T03:13:54.625Z] df20fa9351a1: Pulling fs layer [2021-04-26T03:13:54.625Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T03:13:54.625Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T03:13:54.625Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T03:13:54.625Z] 93b61091891f: Pulling fs layer [2021-04-26T03:13:54.625Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T03:13:54.625Z] 5e14af77c1be: Pulling fs layer [2021-04-26T03:13:54.625Z] 01666e4c0597: Pulling fs layer [2021-04-26T03:13:54.625Z] aa168da1d23b: Pulling fs layer [2021-04-26T03:13:54.625Z] 46f8f816bc3b: Waiting [2021-04-26T03:13:54.625Z] 93b61091891f: Waiting [2021-04-26T03:13:54.625Z] 93b9cdb0e59b: Waiting [2021-04-26T03:13:54.625Z] 5e14af77c1be: Waiting [2021-04-26T03:13:54.625Z] aa168da1d23b: Waiting [2021-04-26T03:13:54.626Z] 01666e4c0597: Waiting [2021-04-26T03:13:54.626Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T03:13:54.626Z] 36b3adc4ff6f: Download complete [2021-04-26T03:13:54.626Z] 46f8f816bc3b: Verifying Checksum [2021-04-26T03:13:54.626Z] 46f8f816bc3b: Download complete [2021-04-26T03:13:54.626Z] df20fa9351a1: Verifying Checksum [2021-04-26T03:13:54.626Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T03:13:54.626Z] 93b9cdb0e59b: Download complete [2021-04-26T03:13:54.891Z] 93b61091891f: Verifying Checksum [2021-04-26T03:13:54.891Z] 93b61091891f: Download complete [2021-04-26T03:13:54.891Z] 5e14af77c1be: Verifying Checksum [2021-04-26T03:13:54.891Z] 5e14af77c1be: Download complete [2021-04-26T03:13:54.891Z] 01666e4c0597: Verifying Checksum [2021-04-26T03:13:54.891Z] 01666e4c0597: Download complete [2021-04-26T03:13:54.891Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T03:13:54.891Z] 8ad3a11d3b57: Download complete [2021-04-26T03:13:55.163Z] df20fa9351a1: Pull complete [2021-04-26T03:13:55.440Z] 36b3adc4ff6f: Pull complete [2021-04-26T03:13:56.867Z] 8ad3a11d3b57: Pull complete [2021-04-26T03:13:56.867Z] 46f8f816bc3b: Pull complete [2021-04-26T03:13:57.490Z] aa168da1d23b: Verifying Checksum [2021-04-26T03:13:57.490Z] aa168da1d23b: Download complete [2021-04-26T03:13:57.490Z] 93b61091891f: Pull complete [2021-04-26T03:13:57.490Z] 93b9cdb0e59b: Pull complete [2021-04-26T03:13:57.755Z] 5e14af77c1be: Pull complete [2021-04-26T03:13:57.755Z] 01666e4c0597: Pull complete [2021-04-26T03:14:05.988Z] aa168da1d23b: Pull complete [2021-04-26T03:14:05.988Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T03:14:05.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T03:14:05.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T03:14:06.255Z] prd-centos7-docker-4c-2g-1694 does not seem to be running inside a container [2021-04-26T03:14:06.310Z] $ 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-895/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-895 -v /w/workspace/dgexfoundry_device-sdk-go_PR-895:/w/workspace/dgexfoundry_device-sdk-go_PR-895:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-895@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-26T03:14:09.703Z] $ docker top e28d1b175e2d20b306b96dd53b2048e5cafd9e899e2e2364efa3d7fdaf879c1e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T03:14:10.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T03:14:10.624Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T03:14:10.958Z] + ls /var/log/sa-host [2021-04-26T03:14:10.958Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T03:14:10.958Z] file_magic: OK [2021-04-26T03:14:10.958Z] HZ: Using current value: 100 [2021-04-26T03:14:10.958Z] file_header: OK [2021-04-26T03:14:10.958Z] 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-26T03:14:10.958Z] Statistics: [2021-04-26T03:14:10.958Z] Hnuu...uuuununununu... [2021-04-26T03:14:10.958Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T03:14:10.958Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T03:14:10.958Z] file_magic: OK [2021-04-26T03:14:10.958Z] HZ: Using current value: 100 [2021-04-26T03:14:10.958Z] file_header: OK [2021-04-26T03:14:10.958Z] 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-26T03:14:10.958Z] Statistics: [2021-04-26T03:14:10.958Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T03:14:10.958Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T03:14:11.604Z] provisioning config files... [2021-04-26T03:14:11.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-895@tmp/config9028774043730378583tmp [Pipeline] { [Pipeline] echo [2021-04-26T03:14:11.678Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:14:12.031Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T03:14:12.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T03:14:12.143Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:14:12.532Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T03:14:12.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:14:12.916Z] ---> sudo-logs.sh [2021-04-26T03:14:12.916Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T03:14:13.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:14:13.365Z] ---> job-cost.sh [2021-04-26T03:14:13.365Z] lf-activate-venv: SKIPPING [2021-04-26T03:14:13.365Z] DEBUG: total: 0.20999999344348907 [2021-04-26T03:14:13.365Z] INFO: Retrieving Stack Cost... [2021-04-26T03:14:14.319Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T03:14:14.895Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T03:14:14.935Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T03:14:15.276Z] ---> logs-deploy.sh [2021-04-26T03:14:15.276Z] lf-activate-venv: SKIPPING [2021-04-26T03:14:15.276Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-895/1 [2021-04-26T03:14:15.276Z] INFO: archiving workspace using pattern(s): [2021-04-26T03:14:17.208Z] Archives upload complete. [2021-04-26T03:14:17.208Z] INFO: archiving logs to Nexus