Pull request #902 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c4d485eba0dd609e9271d218bd64bedf9696d5aa+92affc97e25621ac5a3617c0e5e42feb55191c77 (cf608782f55c42f448f02b661a095f4e235bca31) 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-902/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-902/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 Running on prd-centos7-docker-4c-2g-2150 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [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-902 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-28T05:57:20.215Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-28T05:57:20.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-28T05:57:20.575Z] ========================================================= [2021-04-28T05:57:20.575Z] EdgeX Global Pipelines Version Info [2021-04-28T05:57:20.575Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:57:22.688Z] ------------------- [2021-04-28T05:57:22.688Z] stable info: [2021-04-28T05:57:22.688Z] ------------------- [2021-04-28T05:57:22.688Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-28T05:57:22.688Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-28T05:57:22.688Z] Message: update stable to v1.0.186 [2021-04-28T05:57:23.262Z] ------------------- [2021-04-28T05:57:23.262Z] experimental info: [2021-04-28T05:57:23.262Z] ------------------- [2021-04-28T05:57:23.262Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-28T05:57:23.262Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T05:57:23.262Z] Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-28T05:57:23.495Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-28T05:57:23.554Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-28T05:57:23.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-28T05:57:23.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-28T05:57:23.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-28T05:57:23.762Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-28T05:57:23.818Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-28T05:57:23.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-28T05:57:23.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-28T05:57:24.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-28T05:57:24.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-28T05:57:24.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-28T05:57:24.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-28T05:57:24.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-28T05:57:24.425Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-28T05:57:24.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:57:24.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:57:24.671Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T05:57:24.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-28T05:57:24.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-28T05:57:24.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-28T05:57:25.016Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-28T05:57:25.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-28T05:57:25.182Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-28T05:57:25.267Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-28T05:57:25.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-28T05:57:25.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-902 [Pipeline] echo [2021-04-28T05:57:25.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-902 [Pipeline] echo [2021-04-28T05:57:25.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-902 [Pipeline] echo [2021-04-28T05:57:25.732Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] echo [2021-04-28T05:57:25.837Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4d485e [Pipeline] echo [2021-04-28T05:57:25.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T05:57:26.265Z] provisioning config files... [2021-04-28T05:57:26.300Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config18535124453514259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T05:57:26.890Z] ---> docker-login.sh [2021-04-28T05:57:26.890Z] nexus3.edgexfoundry.org:10001 [2021-04-28T05:57:27.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:57:27.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:57:27.436Z] Configure a credential helper to remove this warning. See [2021-04-28T05:57:27.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:57:27.436Z] [2021-04-28T05:57:27.436Z] Login Succeeded [2021-04-28T05:57:27.436Z] nexus3.edgexfoundry.org:10002 [2021-04-28T05:57:27.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:57:27.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:57:27.436Z] Configure a credential helper to remove this warning. See [2021-04-28T05:57:27.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:57:27.436Z] [2021-04-28T05:57:27.436Z] Login Succeeded [2021-04-28T05:57:27.436Z] nexus3.edgexfoundry.org:10003 [2021-04-28T05:57:27.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:57:27.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:57:27.709Z] Configure a credential helper to remove this warning. See [2021-04-28T05:57:27.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:57:27.709Z] [2021-04-28T05:57:27.709Z] Login Succeeded [2021-04-28T05:57:27.709Z] nexus3.edgexfoundry.org:10004 [2021-04-28T05:57:27.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:57:27.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:57:27.977Z] Configure a credential helper to remove this warning. See [2021-04-28T05:57:27.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:57:27.977Z] [2021-04-28T05:57:27.977Z] Login Succeeded [2021-04-28T05:57:27.977Z] docker.io [2021-04-28T05:57:27.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T05:57:28.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T05:57:28.241Z] Configure a credential helper to remove this warning. See [2021-04-28T05:57:28.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T05:57:28.241Z] [2021-04-28T05:57:28.241Z] Login Succeeded [2021-04-28T05:57:28.241Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T05:57:28.308Z] 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-28T05:57:29.296Z] + git log --format=format:%s -1 c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] echo [2021-04-28T05:57:29.517Z] GIT_COMMIT: c4d485eba0dd609e9271d218bd64bedf9696d5aa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-04-28T05:57:29.636Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:57:30.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:57:30.383Z] [2021-04-28T05:57:30.383Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T05:57:30.911Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:57:30.911Z] latest: Pulling from edgex-devops/git-semver [2021-04-28T05:57:30.911Z] 31603596830f: Pulling fs layer [2021-04-28T05:57:30.911Z] 54011a49482f: Pulling fs layer [2021-04-28T05:57:30.911Z] a6820b24f6d8: Pulling fs layer [2021-04-28T05:57:30.911Z] f581987b2513: Pulling fs layer [2021-04-28T05:57:30.911Z] f581987b2513: Waiting [2021-04-28T05:57:30.911Z] 54011a49482f: Verifying Checksum [2021-04-28T05:57:30.911Z] 54011a49482f: Download complete [2021-04-28T05:57:30.911Z] 31603596830f: Verifying Checksum [2021-04-28T05:57:30.911Z] 31603596830f: Download complete [2021-04-28T05:57:31.176Z] f581987b2513: Verifying Checksum [2021-04-28T05:57:31.176Z] f581987b2513: Download complete [2021-04-28T05:57:31.176Z] a6820b24f6d8: Verifying Checksum [2021-04-28T05:57:31.176Z] a6820b24f6d8: Download complete [2021-04-28T05:57:31.441Z] 31603596830f: Pull complete [2021-04-28T05:57:31.711Z] 54011a49482f: Pull complete [2021-04-28T05:57:32.730Z] a6820b24f6d8: Pull complete [2021-04-28T05:57:33.315Z] f581987b2513: Pull complete [2021-04-28T05:57:33.315Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-28T05:57:33.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T05:57:33.315Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-28T05:57:33.602Z] prd-centos7-docker-4c-2g-2150 does not seem to be running inside a container [2021-04-28T05:57:33.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-902 -v /w/workspace/dgexfoundry_device-sdk-go_PR-902:/w/workspace/dgexfoundry_device-sdk-go_PR-902:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-902@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-28T05:57:36.037Z] $ docker top c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T05:57:36.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T05:57:36.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T05:57:36.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T05:57:36.840Z] $ docker exec c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent [2021-04-28T05:57:37.020Z] SSH_AUTH_SOCK=/tmp/ssh-4IAZ7ZVl9ORr/agent.11 [2021-04-28T05:57:37.020Z] SSH_AGENT_PID=17 [2021-04-28T05:57:37.040Z] Running ssh-add (command line suppressed) [2021-04-28T05:57:37.175Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1672918551516227681.key (/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1672918551516227681.key) [2021-04-28T05:57:37.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T05:57:37.703Z] + git tag --points-at HEAD [Pipeline] } [2021-04-28T05:57:37.769Z] $ docker exec --env ******** --env ******** c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent -k [2021-04-28T05:57:37.883Z] unset SSH_AUTH_SOCK; [2021-04-28T05:57:37.883Z] unset SSH_AGENT_PID; [2021-04-28T05:57:37.883Z] echo Agent pid 17 killed; [2021-04-28T05:57:37.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-28T05:57:38.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T05:57:38.087Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T05:57:38.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T05:57:38.258Z] $ docker exec c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent [2021-04-28T05:57:38.452Z] SSH_AUTH_SOCK=/tmp/ssh-Hno82Z0ytgfj/agent.47 [2021-04-28T05:57:38.452Z] SSH_AGENT_PID=52 [2021-04-28T05:57:38.460Z] Running ssh-add (command line suppressed) [2021-04-28T05:57:38.583Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1956772973850830192.key (/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1956772973850830192.key) [2021-04-28T05:57:38.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T05:57:39.105Z] + git semver init [2021-04-28T05:57:39.105Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T05:57:39.105Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-902/.git [2021-04-28T05:57:39.105Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-902 [2021-04-28T05:57:39.105Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T05:57:39.105Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T05:57:39.105Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T05:57:39.105Z] # $SEMVER_BRANCH = PR-902 [2021-04-28T05:57:39.105Z] # $SEMVER_TEMP = /tmp/semver-344515993 [2021-04-28T05:57:39.105Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-28T05:57:40.054Z] # '/tmp/semver-344515993' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-902/.semver' [2021-04-28T05:57:40.054Z] # -> Force: false [2021-04-28T05:57:40.054Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-902/.semver [Pipeline] } [2021-04-28T05:57:40.096Z] $ docker exec --env ******** --env ******** c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent -k [2021-04-28T05:57:40.211Z] unset SSH_AUTH_SOCK; [2021-04-28T05:57:40.211Z] unset SSH_AGENT_PID; [2021-04-28T05:57:40.211Z] echo Agent pid 52 killed; [2021-04-28T05:57:40.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T05:57:40.773Z] + git semver [Pipeline] } [2021-04-28T05:57:40.876Z] $ docker stop --time=1 c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c [2021-04-28T05:57:42.508Z] $ docker rm -f c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T05:57:43.086Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-28T05:57:43.740Z] Stashed 1 file(s) [Pipeline] echo [2021-04-28T05:57:43.888Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-28T05:57:59.869Z] Still waiting to schedule task [2021-04-28T05:57:59.869Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-28T05:57:59.923Z] Still waiting to schedule task [2021-04-28T05:57:59.923Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-28T06:00:39.810Z] Running on prd-centos7-docker-4c-2g-2153 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [Pipeline] { [Pipeline] ws [2021-04-28T06:00:39.883Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-28T06:00:45.685Z] using credential edgex-jenkins-ssh [2021-04-28T06:00:45.705Z] Cloning the remote Git repository [2021-04-28T06:00:45.772Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:00:45.856Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-28T06:00:45.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:00:45.959Z] > git --version # timeout=10 [2021-04-28T06:00:45.985Z] > git --version # 'git version 2.24.3' [2021-04-28T06:00:45.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:00:46.076Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T06:00:47.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T06:00:47.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T06:00:47.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T06:00:47.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:00:47.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:00:47.120Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T06:00:47.541Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:00:47.822Z] Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:00:47.823Z] Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) [2021-04-28T06:00:47.553Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T06:00:47.587Z] > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 [2021-04-28T06:00:47.660Z] > git remote # timeout=10 [2021-04-28T06:00:47.669Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T06:00:47.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:00:47.695Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T06:00:47.725Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T06:00:47.829Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T06:00:47.878Z] > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 [2021-04-28T06:00:52.183Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-28T06:00:52.249Z] > git --version # timeout=10 [2021-04-28T06:00:52.260Z] > git --version # 'git version 2.24.3' [2021-04-28T06:00:52.275Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T06:00:53.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-28T06:00:54.391Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T06:00:54.779Z] + sudo service docker restart [2021-04-28T06:00:54.779Z] + true [2021-04-28T06:00:54.779Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T06:00:56.920Z] provisioning config files... [2021-04-28T06:00:56.956Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3841658177094031746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:00:57.420Z] ---> docker-login.sh [2021-04-28T06:00:57.420Z] nexus3.edgexfoundry.org:10001 [2021-04-28T06:00:58.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:00:58.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:00:58.402Z] Configure a credential helper to remove this warning. See [2021-04-28T06:00:58.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:00:58.402Z] [2021-04-28T06:00:58.402Z] Login Succeeded [2021-04-28T06:00:58.402Z] nexus3.edgexfoundry.org:10002 [2021-04-28T06:00:58.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:00:58.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:00:58.680Z] Configure a credential helper to remove this warning. See [2021-04-28T06:00:58.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:00:58.680Z] [2021-04-28T06:00:58.680Z] Login Succeeded [2021-04-28T06:00:58.680Z] nexus3.edgexfoundry.org:10003 [2021-04-28T06:00:58.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:00:58.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:00:58.954Z] Configure a credential helper to remove this warning. See [2021-04-28T06:00:58.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:00:58.954Z] [2021-04-28T06:00:58.954Z] Login Succeeded [2021-04-28T06:00:58.954Z] nexus3.edgexfoundry.org:10004 [2021-04-28T06:00:59.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:00:59.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:00:59.223Z] Configure a credential helper to remove this warning. See [2021-04-28T06:00:59.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:00:59.223Z] [2021-04-28T06:00:59.223Z] Login Succeeded [2021-04-28T06:00:59.223Z] docker.io [2021-04-28T06:00:59.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:00:59.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:00:59.764Z] Configure a credential helper to remove this warning. See [2021-04-28T06:00:59.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:00:59.764Z] [2021-04-28T06:00:59.764Z] Login Succeeded [2021-04-28T06:00:59.764Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T06:00:59.829Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-28T06:01:00.285Z] ========================================================= [2021-04-28T06:01:00.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-28T06:01:00.285Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:01:00.684Z] + 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-28T06:01:00.956Z] Sending build context to Docker daemon 2.464MB [2021-04-28T06:01:00.956Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:01:00.956Z] Step 2/8 : FROM ${BASE} [2021-04-28T06:01:01.229Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-28T06:01:01.229Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T06:01:01.229Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T06:01:01.229Z] de9db76c5a1d: Pulling fs layer [2021-04-28T06:01:01.229Z] bca2f99d35d6: Pulling fs layer [2021-04-28T06:01:01.229Z] 93359f2a8cfa: Pulling fs layer [2021-04-28T06:01:01.229Z] 7c6f9722023f: Pulling fs layer [2021-04-28T06:01:01.229Z] a35cf1a2eb13: Pulling fs layer [2021-04-28T06:01:01.229Z] bca2f99d35d6: Waiting [2021-04-28T06:01:01.229Z] 7c6f9722023f: Waiting [2021-04-28T06:01:01.229Z] 93359f2a8cfa: Waiting [2021-04-28T06:01:01.229Z] a35cf1a2eb13: Waiting [2021-04-28T06:01:01.229Z] de9db76c5a1d: Verifying Checksum [2021-04-28T06:01:01.229Z] de9db76c5a1d: Download complete [2021-04-28T06:01:01.229Z] 0ef7d3d256c8: Verifying Checksum [2021-04-28T06:01:01.229Z] 0ef7d3d256c8: Download complete [2021-04-28T06:01:01.229Z] 93359f2a8cfa: Verifying Checksum [2021-04-28T06:01:01.229Z] 93359f2a8cfa: Download complete [2021-04-28T06:01:01.229Z] 7c6f9722023f: Verifying Checksum [2021-04-28T06:01:01.229Z] 7c6f9722023f: Download complete [2021-04-28T06:01:01.229Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T06:01:01.229Z] 188c0c94c7c5: Download complete [2021-04-28T06:01:01.893Z] 188c0c94c7c5: Pull complete [2021-04-28T06:01:02.525Z] 0ef7d3d256c8: Pull complete [2021-04-28T06:01:02.525Z] de9db76c5a1d: Pull complete [2021-04-28T06:01:05.149Z] a35cf1a2eb13: Verifying Checksum [2021-04-28T06:01:05.149Z] a35cf1a2eb13: Download complete [2021-04-28T06:01:09.600Z] bca2f99d35d6: Verifying Checksum [2021-04-28T06:01:09.600Z] bca2f99d35d6: Download complete [2021-04-28T06:01:16.225Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2154 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [Pipeline] { [Pipeline] ws [2021-04-28T06:01:16.310Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-28T06:01:22.243Z] bca2f99d35d6: Pull complete [2021-04-28T06:01:22.243Z] 93359f2a8cfa: Pull complete [2021-04-28T06:01:22.243Z] 7c6f9722023f: Pull complete [2021-04-28T06:01:23.251Z] using credential edgex-jenkins-ssh [2021-04-28T06:01:23.289Z] Cloning the remote Git repository [2021-04-28T06:01:23.407Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:01:23.610Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-28T06:01:23.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:01:23.716Z] > git --version # timeout=10 [2021-04-28T06:01:23.733Z] > git --version # 'git version 2.17.1' [2021-04-28T06:01:23.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:01:23.817Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T06:01:25.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T06:01:25.303Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T06:01:25.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T06:01:25.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T06:01:25.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:01:25.393Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T06:01:26.003Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:01:26.252Z] Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:01:26.253Z] Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) [2021-04-28T06:01:26.023Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T06:01:26.041Z] > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 [2021-04-28T06:01:26.156Z] > git remote # timeout=10 [2021-04-28T06:01:26.178Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T06:01:26.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T06:01:26.206Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T06:01:26.230Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T06:01:26.256Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T06:01:26.272Z] > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 [2021-04-28T06:01:28.936Z] a35cf1a2eb13: Pull complete [2021-04-28T06:01:28.936Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-28T06:01:28.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-28T06:01:28.936Z] ---> a62c8e92a672 [2021-04-28T06:01:28.936Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:01:28.936Z] ---> Running in 96f671067ec9 [2021-04-28T06:01:29.775Z] Removing intermediate container 96f671067ec9 [2021-04-28T06:01:29.775Z] ---> 027c9203819b [2021-04-28T06:01:29.775Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:01:29.775Z] ---> Running in 01fc0e123ccb [2021-04-28T06:01:30.717Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-04-28T06:01:30.792Z] > git --version # timeout=10 [2021-04-28T06:01:30.813Z] > git --version # 'git version 2.17.1' [2021-04-28T06:01:30.831Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T06:01:32.538Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-28T06:01:32.717Z] Removing intermediate container 01fc0e123ccb [2021-04-28T06:01:32.717Z] ---> 328c95167949 [2021-04-28T06:01:32.717Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T06:01:32.717Z] ---> Running in 4730aa64c0df [Pipeline] sh [2021-04-28T06:01:33.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T06:01:33.468Z] + + sudo service dockertrue restart [2021-04-28T06:01:33.468Z] [2021-04-28T06:01:34.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:34.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T06:01:35.042Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T06:01:35.042Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T06:01:35.308Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T06:01:35.308Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T06:01:35.308Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T06:01:35.572Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T06:01:35.572Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T06:01:35.572Z] OK: 167 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T06:01:36.228Z] provisioning config files... [2021-04-28T06:01:36.271Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8842717909599243396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:01:36.531Z] Removing intermediate container 4730aa64c0df [2021-04-28T06:01:36.531Z] ---> ea30d0ff8717 [2021-04-28T06:01:36.531Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T06:01:36.710Z] ---> docker-login.sh [2021-04-28T06:01:36.710Z] nexus3.edgexfoundry.org:10001 [2021-04-28T06:01:36.813Z] ---> Running in cf8da0396f8d [2021-04-28T06:01:37.105Z] Removing intermediate container cf8da0396f8d [2021-04-28T06:01:37.105Z] ---> 089316b98eed [2021-04-28T06:01:37.105Z] Step 7/8 : COPY . . [2021-04-28T06:01:37.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:01:37.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:01:37.976Z] Configure a credential helper to remove this warning. See [2021-04-28T06:01:37.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:01:37.976Z] [2021-04-28T06:01:37.976Z] Login Succeeded [2021-04-28T06:01:37.976Z] nexus3.edgexfoundry.org:10002 [2021-04-28T06:01:38.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:01:38.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:01:38.524Z] Configure a credential helper to remove this warning. See [2021-04-28T06:01:38.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:01:38.524Z] [2021-04-28T06:01:38.524Z] Login Succeeded [2021-04-28T06:01:38.524Z] nexus3.edgexfoundry.org:10003 [2021-04-28T06:01:38.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:01:39.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:01:39.080Z] Configure a credential helper to remove this warning. See [2021-04-28T06:01:39.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:01:39.080Z] [2021-04-28T06:01:39.080Z] Login Succeeded [2021-04-28T06:01:39.080Z] nexus3.edgexfoundry.org:10004 [2021-04-28T06:01:39.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:01:39.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:01:39.678Z] Configure a credential helper to remove this warning. See [2021-04-28T06:01:39.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:01:39.678Z] [2021-04-28T06:01:39.678Z] Login Succeeded [2021-04-28T06:01:39.678Z] docker.io [2021-04-28T06:01:39.745Z] ---> ffcac14bf62b [2021-04-28T06:01:39.745Z] Step 8/8 : RUN go mod download [2021-04-28T06:01:40.021Z] ---> Running in 963a0a8eeb07 [2021-04-28T06:01:40.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T06:01:40.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T06:01:40.552Z] Configure a credential helper to remove this warning. See [2021-04-28T06:01:40.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T06:01:40.552Z] [2021-04-28T06:01:40.552Z] Login Succeeded [2021-04-28T06:01:40.552Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T06:01:40.586Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-28T06:01:41.086Z] ========================================================= [2021-04-28T06:01:41.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-28T06:01:41.086Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:01:41.477Z] + 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-28T06:01:42.079Z] Sending build context to Docker daemon 2.473MB [2021-04-28T06:01:42.079Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:01:42.079Z] Step 2/8 : FROM ${BASE} [2021-04-28T06:01:42.079Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-28T06:01:42.079Z] 5f621e34cdf4: Pulling fs layer [2021-04-28T06:01:42.079Z] a4357932f1b6: Pulling fs layer [2021-04-28T06:01:42.079Z] 18c013af1878: Pulling fs layer [2021-04-28T06:01:42.079Z] 00ac8860ef70: Pulling fs layer [2021-04-28T06:01:42.079Z] 63d7cb157983: Pulling fs layer [2021-04-28T06:01:42.079Z] b116817d02f9: Pulling fs layer [2021-04-28T06:01:42.079Z] 745a02a5169b: Pulling fs layer [2021-04-28T06:01:42.079Z] 63d7cb157983: Waiting [2021-04-28T06:01:42.079Z] b116817d02f9: Waiting [2021-04-28T06:01:42.079Z] 745a02a5169b: Waiting [2021-04-28T06:01:42.079Z] 00ac8860ef70: Waiting [2021-04-28T06:01:42.079Z] 18c013af1878: Verifying Checksum [2021-04-28T06:01:42.079Z] 18c013af1878: Download complete [2021-04-28T06:01:42.079Z] a4357932f1b6: Verifying Checksum [2021-04-28T06:01:42.079Z] a4357932f1b6: Download complete [2021-04-28T06:01:42.079Z] 63d7cb157983: Verifying Checksum [2021-04-28T06:01:42.079Z] 63d7cb157983: Download complete [2021-04-28T06:01:42.079Z] b116817d02f9: Download complete [2021-04-28T06:01:42.359Z] 5f621e34cdf4: Verifying Checksum [2021-04-28T06:01:42.359Z] 5f621e34cdf4: Download complete [2021-04-28T06:01:42.981Z] 5f621e34cdf4: Pull complete [2021-04-28T06:01:43.971Z] a4357932f1b6: Pull complete [2021-04-28T06:01:44.250Z] 18c013af1878: Pull complete [2021-04-28T06:01:44.527Z] 745a02a5169b: Verifying Checksum [2021-04-28T06:01:44.527Z] 745a02a5169b: Download complete [2021-04-28T06:01:46.527Z] 00ac8860ef70: Download complete [2021-04-28T06:01:56.718Z] 00ac8860ef70: Pull complete [2021-04-28T06:01:56.718Z] 63d7cb157983: Pull complete [2021-04-28T06:01:56.991Z] b116817d02f9: Pull complete [2021-04-28T06:02:00.402Z] 745a02a5169b: Pull complete [2021-04-28T06:02:00.402Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-28T06:02:00.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-28T06:02:00.402Z] ---> b7e6874047d6 [2021-04-28T06:02:00.402Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:02:03.839Z] ---> Running in 1c1ac804b197 [2021-04-28T06:02:04.114Z] Removing intermediate container 1c1ac804b197 [2021-04-28T06:02:04.114Z] ---> 131c7f65911a [2021-04-28T06:02:04.114Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:02:04.114Z] ---> Running in a896d4a61dd7 [2021-04-28T06:02:06.761Z] Removing intermediate container a896d4a61dd7 [2021-04-28T06:02:06.761Z] ---> 97f61bd72934 [2021-04-28T06:02:06.762Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T06:02:06.762Z] ---> Running in 240c3ab5816c [2021-04-28T06:02:08.212Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T06:02:08.809Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T06:02:09.408Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T06:02:09.681Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T06:02:09.681Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T06:02:09.681Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T06:02:09.954Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T06:02:09.954Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T06:02:10.227Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T06:02:10.227Z] OK: 144 MiB in 45 packages [2021-04-28T06:02:11.681Z] Removing intermediate container 240c3ab5816c [2021-04-28T06:02:11.681Z] ---> e738ba424f06 [2021-04-28T06:02:11.681Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T06:02:11.681Z] ---> Running in f4d247a12f63 [2021-04-28T06:02:12.288Z] Removing intermediate container f4d247a12f63 [2021-04-28T06:02:12.288Z] ---> dd0c93ac29ee [2021-04-28T06:02:12.288Z] Step 7/8 : COPY . . [2021-04-28T06:02:13.738Z] ---> 976d1404f8be [2021-04-28T06:02:13.738Z] Step 8/8 : RUN go mod download [2021-04-28T06:02:13.738Z] ---> Running in 05e8ef7e8e9e [2021-04-28T06:02:19.497Z] Removing intermediate container 963a0a8eeb07 [2021-04-28T06:02:19.497Z] ---> 1f93e5aaa48b [2021-04-28T06:02:19.497Z] Successfully built 1f93e5aaa48b [2021-04-28T06:02:19.497Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:02:19.956Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T06:02:20.533Z] . [Pipeline] withDockerContainer [2021-04-28T06:02:20.758Z] prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container [2021-04-28T06:02:20.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-28T06:02:22.984Z] $ docker top 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:02:23.608Z] + go version [2021-04-28T06:02:23.608Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-28T06:02:23.643Z] $ docker stop --time=1 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 [2021-04-28T06:02:25.303Z] $ docker rm -f 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:02:26.562Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T06:02:26.563Z] . [Pipeline] withDockerContainer [2021-04-28T06:02:26.747Z] prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container [2021-04-28T06:02:26.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-28T06:02:27.789Z] $ docker top 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:02:28.490Z] + make test [2021-04-28T06:02:28.491Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T06:02:40.556Z] Removing intermediate container 05e8ef7e8e9e [2021-04-28T06:02:40.556Z] ---> 3149cf26a904 [2021-04-28T06:02:40.556Z] Successfully built 3149cf26a904 [2021-04-28T06:02:40.556Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:02:40.936Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T06:02:40.936Z] . [Pipeline] withDockerContainer [2021-04-28T06:02:41.216Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2021-04-28T06:02:41.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-28T06:02:41.760Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T06:02:42.988Z] $ docker top d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:02:44.045Z] + go version [2021-04-28T06:02:44.045Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-28T06:02:44.086Z] $ docker stop --time=1 d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 [2021-04-28T06:02:46.065Z] $ docker rm -f d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:02:47.007Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T06:02:47.007Z] . [Pipeline] withDockerContainer [2021-04-28T06:02:47.270Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2021-04-28T06:02:47.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-28T06:02:48.788Z] $ docker top 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:02:49.762Z] + make test [2021-04-28T06:02:49.762Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T06:03:12.065Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T06:03:29.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T06:03:29.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T06:03:29.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-28T06:03:29.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-28T06:03:29.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T06:03:33.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 28.1% of statements [2021-04-28T06:03:33.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.223s coverage: 78.9% of statements [2021-04-28T06:03:34.136Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.115s coverage: 7.8% of statements [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T06:03:34.136Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.258s coverage: 30.2% of statements [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T06:03:34.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T06:03:36.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 57.2% of statements [2021-04-28T06:03:36.693Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.189s coverage: 6.6% of statements [2021-04-28T06:03:37.010Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 5.0% of statements [2021-04-28T06:03:37.010Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T06:03:37.337Z] GO111MODULE=on go vet ./... [2021-04-28T06:04:08.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T06:04:08.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T06:04:08.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-28T06:04:08.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-28T06:04:08.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T06:04:10.056Z] gofmt -l . [2021-04-28T06:04:10.056Z] [ "`gofmt -l .`" = "" ] [2021-04-28T06:04:10.056Z] ./bin/test-attribution-txt.sh [2021-04-28T06:04:10.056Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T06:04:10.096Z] $ docker stop --time=1 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 [2021-04-28T06:04:12.126Z] $ docker rm -f 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T06:04:12.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T06:04:13.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-28T06:04:14.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T06:04:15.265Z] + ls -al . [2021-04-28T06:04:15.266Z] total 188 [2021-04-28T06:04:15.266Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 28 06:04 . [2021-04-28T06:04:15.266Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 06:00 .. [2021-04-28T06:04:15.266Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 06:00 bin [2021-04-28T06:04:15.266Z] -rw-r--r--. 1 jenkins jenkins 100321 Apr 28 06:03 coverage.out [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 28 06:00 Dockerfile.build [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 06:00 .dockerignore [2021-04-28T06:04:15.266Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 28 06:00 example [2021-04-28T06:04:15.266Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 06:00 .git [2021-04-28T06:04:15.266Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 28 06:00 .github [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 28 06:00 .gitignore [2021-04-28T06:04:15.266Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 28 06:04 go.mod [2021-04-28T06:04:15.266Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 28 06:04 go.sum [2021-04-28T06:04:15.266Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 28 06:00 internal [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 28 06:00 Jenkinsfile [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 28 06:00 LICENSE [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 28 06:00 Makefile [2021-04-28T06:04:15.266Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 28 06:00 openapi [2021-04-28T06:04:15.266Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 28 06:00 pkg [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 28 06:00 README.md [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 28 06:00 RELEASE-NOTES.txt [2021-04-28T06:04:15.266Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 06:00 snap [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:57 VERSION [2021-04-28T06:04:15.266Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 28 06:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:04:15.629Z] + 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=c4d485eba0dd609e9271d218bd64bedf9696d5aa --label arch=amd64 --label version=0.0.0 . [2021-04-28T06:04:15.697Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 28.1% of statements [2021-04-28T06:04:15.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.218s coverage: 78.9% of statements [2021-04-28T06:04:15.973Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.166s coverage: 7.8% of statements [2021-04-28T06:04:15.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T06:04:15.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T06:04:15.973Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T06:04:16.209Z] Sending build context to Docker daemon 2.565MB [2021-04-28T06:04:16.209Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:04:16.209Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T06:04:16.209Z] ---> 1f93e5aaa48b [2021-04-28T06:04:16.209Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T06:04:16.798Z] ---> Running in 23f6bb404218 [2021-04-28T06:04:17.066Z] Removing intermediate container 23f6bb404218 [2021-04-28T06:04:17.066Z] ---> ab62a6cbe5e4 [2021-04-28T06:04:17.066Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:04:17.334Z] ---> Running in 1b8cde7975f8 [2021-04-28T06:04:17.671Z] Removing intermediate container 1b8cde7975f8 [2021-04-28T06:04:17.671Z] ---> 770b07000171 [2021-04-28T06:04:17.671Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:04:17.943Z] ---> Running in 2442a5ac9d8f [2021-04-28T06:04:18.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.219s coverage: 30.2% of statements [2021-04-28T06:04:18.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T06:04:18.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T06:04:18.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T06:04:19.931Z] Removing intermediate container 2442a5ac9d8f [2021-04-28T06:04:19.931Z] ---> 35deac925326 [2021-04-28T06:04:19.931Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T06:04:19.931Z] ---> Running in 9b6d1f502d4c [2021-04-28T06:04:21.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.292s coverage: 57.2% of statements [2021-04-28T06:04:21.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.109s coverage: 6.6% of statements [2021-04-28T06:04:21.438Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T06:04:22.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T06:04:22.312Z] OK: 167 MiB in 45 packages [2021-04-28T06:04:22.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-28T06:04:22.318Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T06:04:22.591Z] GO111MODULE=on go vet ./... [2021-04-28T06:04:23.325Z] Removing intermediate container 9b6d1f502d4c [2021-04-28T06:04:23.325Z] ---> 06a8104eecf1 [2021-04-28T06:04:23.325Z] Step 7/23 : COPY . . [2021-04-28T06:04:23.949Z] ---> 8c7a01130d14 [2021-04-28T06:04:23.949Z] Step 8/23 : RUN go mod download [2021-04-28T06:04:24.211Z] ---> Running in 90012cbd6356 [2021-04-28T06:04:26.316Z] Removing intermediate container 90012cbd6356 [2021-04-28T06:04:26.316Z] ---> a0bd1d10e04f [2021-04-28T06:04:26.316Z] Step 9/23 : RUN make build [2021-04-28T06:04:26.316Z] ---> Running in 916dc8a10289 [2021-04-28T06:04:28.811Z] 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-28T06:04:47.324Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T06:04:49.266Z] Removing intermediate container 916dc8a10289 [2021-04-28T06:04:49.266Z] ---> b8da651ae9a5 [2021-04-28T06:04:49.266Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T06:04:49.531Z] 3.12: Pulling from library/alpine [2021-04-28T06:04:49.531Z] 339de151aab4: Pulling fs layer [2021-04-28T06:04:49.795Z] 339de151aab4: Verifying Checksum [2021-04-28T06:04:49.795Z] 339de151aab4: Download complete [2021-04-28T06:04:50.061Z] 339de151aab4: Pull complete [2021-04-28T06:04:50.061Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T06:04:50.061Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T06:04:50.061Z] ---> 13621d1b12d4 [2021-04-28T06:04:50.061Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:04:50.344Z] ---> Running in 1a1eed17966f [2021-04-28T06:04:50.626Z] Removing intermediate container 1a1eed17966f [2021-04-28T06:04:50.626Z] ---> bc2cab369b4f [2021-04-28T06:04:50.626Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:04:50.909Z] ---> Running in 1b0baa42351a [2021-04-28T06:04:54.702Z] Removing intermediate container 1b0baa42351a [2021-04-28T06:04:54.702Z] ---> c324f84503b5 [2021-04-28T06:04:54.702Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T06:04:54.702Z] ---> Running in 2e1b484a60a4 [2021-04-28T06:04:55.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T06:04:56.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T06:04:57.224Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T06:04:57.224Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T06:04:57.224Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T06:04:57.523Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T06:04:57.814Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T06:04:57.814Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T06:04:57.814Z] OK: 8 MiB in 19 packages [2021-04-28T06:04:58.926Z] Removing intermediate container 2e1b484a60a4 [2021-04-28T06:04:58.926Z] ---> 2ae2360e5e46 [2021-04-28T06:04:58.926Z] Step 14/23 : WORKDIR / [2021-04-28T06:04:59.290Z] ---> Running in 51d06da3a8fb [2021-04-28T06:04:59.674Z] Removing intermediate container 51d06da3a8fb [2021-04-28T06:04:59.674Z] ---> 18e7ef430595 [2021-04-28T06:04:59.674Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T06:05:00.298Z] ---> f2e5d1ae2f6c [2021-04-28T06:05:00.298Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T06:05:01.350Z] ---> c6c2fa3bd5ab [2021-04-28T06:05:01.350Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T06:05:02.530Z] ---> 46abe141cb69 [2021-04-28T06:05:02.530Z] Step 18/23 : EXPOSE 49990 [2021-04-28T06:05:02.530Z] ---> Running in 90b69414d308 [2021-04-28T06:05:02.530Z] Removing intermediate container 90b69414d308 [2021-04-28T06:05:02.530Z] ---> 85ce0419a25c [2021-04-28T06:05:02.530Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T06:05:02.801Z] ---> Running in fa555fd0ad0e [2021-04-28T06:05:03.099Z] Removing intermediate container fa555fd0ad0e [2021-04-28T06:05:03.100Z] ---> 21c4efb2574f [2021-04-28T06:05:03.100Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T06:05:03.100Z] ---> Running in e95c4dfaa1e4 [2021-04-28T06:05:03.389Z] Removing intermediate container e95c4dfaa1e4 [2021-04-28T06:05:03.389Z] ---> 78ccf863154a [2021-04-28T06:05:03.389Z] Step 21/23 : LABEL arch=amd64 [2021-04-28T06:05:03.389Z] ---> Running in 731442d517b0 [2021-04-28T06:05:03.673Z] Removing intermediate container 731442d517b0 [2021-04-28T06:05:03.673Z] ---> c587725bedef [2021-04-28T06:05:03.673Z] Step 22/23 : LABEL git_sha=c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:05:03.956Z] ---> Running in 985cc1249330 [2021-04-28T06:05:04.575Z] Removing intermediate container 985cc1249330 [2021-04-28T06:05:04.575Z] ---> cd2e97f69467 [2021-04-28T06:05:04.575Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T06:05:04.575Z] ---> Running in 3d163266945f [2021-04-28T06:05:04.843Z] Removing intermediate container 3d163266945f [2021-04-28T06:05:04.843Z] ---> 4731f60ede6a [2021-04-28T06:05:04.843Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-28T06:05:04.843Z] Successfully built 4731f60ede6a [2021-04-28T06:05:04.843Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:05:05.812Z] ---> job-cost.sh [2021-04-28T06:05:06.078Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xZ0v [2021-04-28T06:05:09.595Z] gofmt -l . [2021-04-28T06:05:09.595Z] [ "`gofmt -l .`" = "" ] [2021-04-28T06:05:09.595Z] ./bin/test-attribution-txt.sh [2021-04-28T06:05:09.595Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T06:05:09.628Z] $ docker stop --time=1 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 [2021-04-28T06:05:12.019Z] $ docker rm -f 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T06:05:13.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T06:05:13.240Z] Warning: overwriting stash ‘coverage-report’ [2021-04-28T06:05:13.821Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T06:05:14.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T06:05:14.838Z] + ls -al . [2021-04-28T06:05:14.839Z] total 224 [2021-04-28T06:05:14.839Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 06:05 . [2021-04-28T06:05:14.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 .. [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 06:01 .dockerignore [2021-04-28T06:05:14.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 06:01 .git [2021-04-28T06:05:14.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 06:01 .github [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 28 06:01 .gitignore [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 28 06:01 Dockerfile.build [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 28 06:01 Jenkinsfile [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 06:01 LICENSE [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 28 06:01 Makefile [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 28 06:01 README.md [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 28 06:01 RELEASE-NOTES.txt [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:57 VERSION [2021-04-28T06:05:14.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 06:01 bin [2021-04-28T06:05:14.839Z] -rw-r--r-- 1 jenkins jenkins 100320 Apr 28 06:04 coverage.out [2021-04-28T06:05:14.839Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 06:01 example [2021-04-28T06:05:14.839Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 28 06:05 go.mod [2021-04-28T06:05:14.839Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 28 06:05 go.sum [2021-04-28T06:05:14.839Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 28 06:01 internal [2021-04-28T06:05:14.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 openapi [2021-04-28T06:05:14.839Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 06:01 pkg [2021-04-28T06:05:14.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 snap [2021-04-28T06:05:14.839Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 06:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:05:15.220Z] + 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=c4d485eba0dd609e9271d218bd64bedf9696d5aa --label arch=arm64 --label version=0.0.0 . [2021-04-28T06:05:15.823Z] Sending build context to Docker daemon 2.574MB [2021-04-28T06:05:15.823Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T06:05:15.823Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T06:05:15.823Z] ---> 3149cf26a904 [2021-04-28T06:05:15.823Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T06:05:16.104Z] ---> Running in 0e3f514ac732 [2021-04-28T06:05:16.381Z] Removing intermediate container 0e3f514ac732 [2021-04-28T06:05:16.381Z] ---> 24c21529d77a [2021-04-28T06:05:16.381Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:05:16.658Z] ---> Running in 586c5c67aaca [2021-04-28T06:05:16.932Z] Removing intermediate container 586c5c67aaca [2021-04-28T06:05:16.932Z] ---> 4d045c1faff3 [2021-04-28T06:05:16.932Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:05:17.205Z] ---> Running in 57ba2d018a01 [2021-04-28T06:05:19.825Z] Removing intermediate container 57ba2d018a01 [2021-04-28T06:05:19.825Z] ---> aa563f31efa2 [2021-04-28T06:05:19.825Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T06:05:19.825Z] ---> Running in a1928521a344 [2021-04-28T06:05:20.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T06:05:21.394Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T06:05:21.987Z] OK: 144 MiB in 45 packages [2021-04-28T06:05:23.418Z] Removing intermediate container a1928521a344 [2021-04-28T06:05:23.418Z] ---> ad114524ac1b [2021-04-28T06:05:23.418Z] Step 7/23 : COPY . . [2021-04-28T06:05:24.393Z] ---> 06f80a25607a [2021-04-28T06:05:24.393Z] Step 8/23 : RUN go mod download [2021-04-28T06:05:24.668Z] ---> Running in 45cb193fc37c [2021-04-28T06:05:27.289Z] Removing intermediate container 45cb193fc37c [2021-04-28T06:05:27.289Z] ---> 9b94f575f887 [2021-04-28T06:05:27.289Z] Step 9/23 : RUN make build [2021-04-28T06:05:27.289Z] ---> Running in 29f43d35f4bd [2021-04-28T06:05:28.271Z] 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-28T06:05:33.134Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T06:06:07.324Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T06:06:07.324Z] Removing intermediate container 29f43d35f4bd [2021-04-28T06:06:07.324Z] ---> 8428d5c6960b [2021-04-28T06:06:07.324Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T06:06:07.324Z] 3.12: Pulling from library/alpine [2021-04-28T06:06:07.324Z] d2f70382dc9a: Pulling fs layer [2021-04-28T06:06:07.324Z] d2f70382dc9a: Verifying Checksum [2021-04-28T06:06:07.324Z] d2f70382dc9a: Download complete [2021-04-28T06:06:07.324Z] d2f70382dc9a: Pull complete [2021-04-28T06:06:07.324Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T06:06:07.324Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T06:06:07.324Z] ---> 9852663dfa18 [2021-04-28T06:06:07.324Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T06:06:07.324Z] ---> Running in e9569c6ea5ef [2021-04-28T06:06:07.324Z] Removing intermediate container e9569c6ea5ef [2021-04-28T06:06:07.324Z] ---> 2e9425849701 [2021-04-28T06:06:07.324Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T06:06:07.324Z] ---> Running in d773f8ea64f5 [2021-04-28T06:06:09.301Z] Removing intermediate container d773f8ea64f5 [2021-04-28T06:06:09.302Z] ---> f096c09d2cab [2021-04-28T06:06:09.302Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T06:06:09.302Z] ---> Running in 2db066bc15b5 [2021-04-28T06:06:10.288Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T06:06:11.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T06:06:11.867Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T06:06:11.867Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T06:06:11.867Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T06:06:12.141Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T06:06:12.141Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T06:06:12.413Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T06:06:12.413Z] OK: 8 MiB in 19 packages [2021-04-28T06:06:13.863Z] Removing intermediate container 2db066bc15b5 [2021-04-28T06:06:13.863Z] ---> 49e5e97a9859 [2021-04-28T06:06:13.863Z] Step 14/23 : WORKDIR / [2021-04-28T06:06:13.863Z] ---> Running in d13525feae08 [2021-04-28T06:06:14.460Z] Removing intermediate container d13525feae08 [2021-04-28T06:06:14.460Z] ---> 966f9ca67d0a [2021-04-28T06:06:14.460Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T06:06:15.053Z] ---> 77d4825c7578 [2021-04-28T06:06:15.053Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T06:06:16.489Z] ---> 5b0a04ec8f9a [2021-04-28T06:06:16.489Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T06:06:17.086Z] ---> 6da99be8c942 [2021-04-28T06:06:17.086Z] Step 18/23 : EXPOSE 49990 [2021-04-28T06:06:17.086Z] ---> Running in 7fc24e3b6363 [2021-04-28T06:06:17.688Z] Removing intermediate container 7fc24e3b6363 [2021-04-28T06:06:17.688Z] ---> 2b34c9592755 [2021-04-28T06:06:17.688Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T06:06:17.688Z] ---> Running in 1c43861e4a5c [2021-04-28T06:06:18.284Z] Removing intermediate container 1c43861e4a5c [2021-04-28T06:06:18.284Z] ---> 502c6b803c81 [2021-04-28T06:06:18.284Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T06:06:18.284Z] ---> Running in 477b9c2ea874 [2021-04-28T06:06:18.887Z] Removing intermediate container 477b9c2ea874 [2021-04-28T06:06:18.887Z] ---> 9ef7d2484ab2 [2021-04-28T06:06:18.887Z] Step 21/23 : LABEL arch=arm64 [2021-04-28T06:06:18.887Z] ---> Running in 6a23b7a0d5c6 [2021-04-28T06:06:19.484Z] Removing intermediate container 6a23b7a0d5c6 [2021-04-28T06:06:19.484Z] ---> 95b4b29c0c8d [2021-04-28T06:06:19.484Z] Step 22/23 : LABEL git_sha=c4d485eba0dd609e9271d218bd64bedf9696d5aa [2021-04-28T06:06:19.484Z] ---> Running in 46c8dec8872b [2021-04-28T06:06:20.088Z] Removing intermediate container 46c8dec8872b [2021-04-28T06:06:20.088Z] ---> f0047653e1c8 [2021-04-28T06:06:20.088Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T06:06:20.088Z] ---> Running in 07fd2fc3f9c0 [2021-04-28T06:06:20.336Z] lf-activate-venv(): INFO: Adding /tmp/venv-xZ0v/bin to PATH [2021-04-28T06:06:20.336Z] INFO: No Stack... [2021-04-28T06:06:20.689Z] Removing intermediate container 07fd2fc3f9c0 [2021-04-28T06:06:20.690Z] ---> b52766db0343 [2021-04-28T06:06:20.690Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-28T06:06:20.690Z] Successfully built b52766db0343 [2021-04-28T06:06:20.690Z] Successfully tagged docker-device-sdk-simple-arm64:latest [2021-04-28T06:06:20.692Z] INFO: Retrieving Pricing Info for: v1-standard-2 [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-28T06:06:21.411Z] ---> job-cost.sh [2021-04-28T06:06:21.411Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d2wO [2021-04-28T06:06:22.311Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T06:06:22.774Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-28T06:06:22.774Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T06:06:23.134Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [2021-04-28T06:06:23.141Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] did not exist. Created. [2021-04-28T06:06:23.141Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T06:06:24.004Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-28T06:06:24.335Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T06:06:24.357Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-28T06:07:00.392Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T06:08:22.158Z] lf-activate-venv(): INFO: Adding /tmp/venv-d2wO/bin to PATH [2021-04-28T06:08:22.158Z] INFO: No Stack... [2021-04-28T06:08:23.586Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-28T06:08:24.177Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T06:08:24.534Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-28T06:08:24.534Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T06:08:24.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [2021-04-28T06:08:24.682Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] did not exist. Created. [2021-04-28T06:08:24.682Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T06:08:25.127Z] /w/workspace/device-sdk-go/1@tmp/durable-72e4ff7a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-72e4ff7a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-28T06:08:25.500Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-28T06:08:25.537Z] Warning: overwriting stash ‘stack-cost’ [2021-04-28T06:08:25.697Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T06:08:25.740Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-902-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-28T06:08:26.665Z] provisioning config files... [2021-04-28T06:08:26.676Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config7523733955097343976tmp [Pipeline] { [Pipeline] sh [2021-04-28T06:08:27.064Z] + set +x [2021-04-28T06:08:27.064Z] + curl -s https://codecov.io/bash [2021-04-28T06:08:27.064Z] + bash -s -- [2021-04-28T06:08:27.327Z] [2021-04-28T06:08:27.328Z] _____ _ [2021-04-28T06:08:27.328Z] / ____| | | [2021-04-28T06:08:27.328Z] | | ___ __| | ___ ___ _____ __ [2021-04-28T06:08:27.328Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-28T06:08:27.328Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-28T06:08:27.328Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-28T06:08:27.328Z] Bash-1.0.2 [2021-04-28T06:08:27.328Z] [2021-04-28T06:08:27.328Z] [2021-04-28T06:08:27.328Z] ==> git version 2.24.3 found [2021-04-28T06:08:27.328Z] ==> 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-28T06:08:27.328Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-28T06:08:27.328Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-28T06:08:27.328Z] ==> Jenkins CI detected. [2021-04-28T06:08:27.328Z] project root: . [2021-04-28T06:08:27.328Z] --> token set from env [2021-04-28T06:08:27.328Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-28T06:08:27.328Z] ==> Running gcov in . (disable via -X gcov) [2021-04-28T06:08:27.328Z] ==> Python coveragepy not found [2021-04-28T06:08:27.328Z] ==> Searching for coverage reports in: [2021-04-28T06:08:27.328Z] + . [2021-04-28T06:08:27.328Z] -> Found 1 reports [2021-04-28T06:08:27.328Z] ==> Detecting git/mercurial file structure [2021-04-28T06:08:27.328Z] ==> Reading reports [2021-04-28T06:08:27.328Z] + ./coverage.out bytes=100320 [2021-04-28T06:08:27.328Z] ==> Appending adjustments [2021-04-28T06:08:27.328Z] https://docs.codecov.io/docs/fixing-reports [2021-04-28T06:08:27.598Z] + Found adjustments [2021-04-28T06:08:27.863Z] ==> Gzipping contents [2021-04-28T06:08:27.863Z] 16K /tmp/codecov.X09YKr.gz [2021-04-28T06:08:27.863Z] ==> Uploading reports [2021-04-28T06:08:27.863Z] url: https://codecov.io [2021-04-28T06:08:27.863Z] query: branch=PR-902&commit=c4d485eba0dd609e9271d218bd64bedf9696d5aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-902%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=902&job=&cmd_args= [2021-04-28T06:08:27.863Z] -> Pinging Codecov [2021-04-28T06:08:27.863Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-902&commit=c4d485eba0dd609e9271d218bd64bedf9696d5aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-902%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=902&job=&cmd_args= [2021-04-28T06:08:28.441Z] -> Uploading to [2021-04-28T06:08:28.441Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-28/7E55EF52A471D76F132DFD9A03CDDE97/c4d485eba0dd609e9271d218bd64bedf9696d5aa/f97098be-507f-4d68-b79b-81b0845089c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T060828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56962692e457c7efd05ec69cb7c092bd6bd6ab4271246769eef88b71ce2f49e8 [2021-04-28T06:08:28.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T06:08:28.441Z] Dload Upload Total Spent Left Speed [2021-04-28T06:08:28.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13549 0 0 100 13549 0 35640 --:--:-- --:--:-- --:--:-- 35655 100 13549 0 0 100 13549 0 35622 --:--:-- --:--:-- --:--:-- 35561 [2021-04-28T06:08:28.708Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] } [2021-04-28T06:08:28.735Z] 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-28T06:08:30.758Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:08:31.389Z] ---> package-listing.sh [2021-04-28T06:08:31.389Z] ++ facter osfamily [2021-04-28T06:08:31.389Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-28T06:08:31.389Z] + OS_FAMILY=redhat [2021-04-28T06:08:31.389Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-902 [2021-04-28T06:08:31.389Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-28T06:08:31.389Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-28T06:08:31.389Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-28T06:08:31.389Z] + PACKAGES=/tmp/packages_start.txt [2021-04-28T06:08:31.389Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-902 ']' [2021-04-28T06:08:31.389Z] + PACKAGES=/tmp/packages_end.txt [2021-04-28T06:08:31.389Z] + case "${OS_FAMILY}" in [2021-04-28T06:08:31.389Z] + rpm -qa [2021-04-28T06:08:31.389Z] + sort [2021-04-28T06:08:36.802Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-28T06:08:36.802Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-28T06:08:36.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-28T06:08:36.802Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-902 ']' [2021-04-28T06:08:36.802Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-902/archives/ [2021-04-28T06:08:36.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-902/archives/ [Pipeline] echo [2021-04-28T06:08:36.845Z] 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-902/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-28T06:08:37.172Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:08:37.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:08:37.786Z] [2021-04-28T06:08:37.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-28T06:08:38.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:08:38.168Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-28T06:08:38.168Z] df20fa9351a1: Pulling fs layer [2021-04-28T06:08:38.168Z] 36b3adc4ff6f: Pulling fs layer [2021-04-28T06:08:38.168Z] 8ad3a11d3b57: Pulling fs layer [2021-04-28T06:08:38.168Z] 46f8f816bc3b: Pulling fs layer [2021-04-28T06:08:38.168Z] 93b61091891f: Pulling fs layer [2021-04-28T06:08:38.168Z] 93b9cdb0e59b: Pulling fs layer [2021-04-28T06:08:38.168Z] 5e14af77c1be: Pulling fs layer [2021-04-28T06:08:38.168Z] 01666e4c0597: Pulling fs layer [2021-04-28T06:08:38.168Z] aa168da1d23b: Pulling fs layer [2021-04-28T06:08:38.168Z] 5e14af77c1be: Waiting [2021-04-28T06:08:38.168Z] 93b61091891f: Waiting [2021-04-28T06:08:38.168Z] 01666e4c0597: Waiting [2021-04-28T06:08:38.168Z] aa168da1d23b: Waiting [2021-04-28T06:08:38.168Z] 46f8f816bc3b: Waiting [2021-04-28T06:08:38.168Z] 36b3adc4ff6f: Verifying Checksum [2021-04-28T06:08:38.168Z] 36b3adc4ff6f: Download complete [2021-04-28T06:08:38.168Z] 46f8f816bc3b: Verifying Checksum [2021-04-28T06:08:38.168Z] 46f8f816bc3b: Download complete [2021-04-28T06:08:38.168Z] df20fa9351a1: Verifying Checksum [2021-04-28T06:08:38.168Z] df20fa9351a1: Download complete [2021-04-28T06:08:38.436Z] 93b9cdb0e59b: Verifying Checksum [2021-04-28T06:08:38.436Z] 93b9cdb0e59b: Download complete [2021-04-28T06:08:38.436Z] 5e14af77c1be: Verifying Checksum [2021-04-28T06:08:38.436Z] 5e14af77c1be: Download complete [2021-04-28T06:08:38.436Z] 01666e4c0597: Verifying Checksum [2021-04-28T06:08:38.436Z] 01666e4c0597: Download complete [2021-04-28T06:08:38.436Z] 93b61091891f: Verifying Checksum [2021-04-28T06:08:38.436Z] 93b61091891f: Download complete [2021-04-28T06:08:38.705Z] 8ad3a11d3b57: Verifying Checksum [2021-04-28T06:08:38.705Z] 8ad3a11d3b57: Download complete [2021-04-28T06:08:38.705Z] df20fa9351a1: Pull complete [2021-04-28T06:08:38.969Z] 36b3adc4ff6f: Pull complete [2021-04-28T06:08:39.938Z] 8ad3a11d3b57: Pull complete [2021-04-28T06:08:39.938Z] 46f8f816bc3b: Pull complete [2021-04-28T06:08:40.526Z] 93b61091891f: Pull complete [2021-04-28T06:08:40.790Z] aa168da1d23b: Verifying Checksum [2021-04-28T06:08:40.790Z] aa168da1d23b: Download complete [2021-04-28T06:08:41.053Z] 93b9cdb0e59b: Pull complete [2021-04-28T06:08:41.317Z] 5e14af77c1be: Pull complete [2021-04-28T06:08:41.317Z] 01666e4c0597: Pull complete [2021-04-28T06:08:51.429Z] aa168da1d23b: Pull complete [2021-04-28T06:08:51.429Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-28T06:08:51.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T06:08:51.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-28T06:08:51.638Z] prd-centos7-docker-4c-2g-2150 does not seem to be running inside a container [2021-04-28T06:08:51.696Z] $ 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-902/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-902 -v /w/workspace/dgexfoundry_device-sdk-go_PR-902:/w/workspace/dgexfoundry_device-sdk-go_PR-902:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-902@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-28T06:08:55.002Z] $ docker top 07c67503967e39a34059e59d012365dcff5e9801f447ee133e6e4e4bb0fa7a98 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T06:08:55.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-28T06:08:55.921Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-28T06:08:56.255Z] + ls /var/log/sa-host [2021-04-28T06:08:56.255Z] + sadf -c /var/log/sa-host/sa23 [2021-04-28T06:08:56.255Z] file_magic: OK [2021-04-28T06:08:56.255Z] HZ: Using current value: 100 [2021-04-28T06:08:56.255Z] file_header: OK [2021-04-28T06:08:56.255Z] 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-28T06:08:56.255Z] Statistics: [2021-04-28T06:08:56.255Z] Hnuu...uuuununununu... [2021-04-28T06:08:56.255Z] File successfully converted to sysstat format version 12.2.1 [2021-04-28T06:08:56.255Z] + sadf -c /var/log/sa-host/sa28 [2021-04-28T06:08:56.255Z] file_magic: OK [2021-04-28T06:08:56.255Z] HZ: Using current value: 100 [2021-04-28T06:08:56.255Z] file_header: OK [2021-04-28T06:08:56.255Z] 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-28T06:08:56.255Z] Statistics: [2021-04-28T06:08:56.255Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-28T06:08:56.255Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T06:08:56.499Z] provisioning config files... [2021-04-28T06:08:56.518Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config1628629053950823265tmp [Pipeline] { [Pipeline] echo [2021-04-28T06:08:56.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:08:56.948Z] ---> create-netrc.sh [Pipeline] } [2021-04-28T06:08:56.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-28T06:08:57.054Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:08:57.412Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-28T06:08:57.444Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:08:57.790Z] ---> sudo-logs.sh [2021-04-28T06:08:57.790Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-28T06:08:57.874Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:08:58.239Z] ---> job-cost.sh [2021-04-28T06:08:58.239Z] lf-activate-venv: SKIPPING [2021-04-28T06:08:58.239Z] DEBUG: total: 0.20999999344348907 [2021-04-28T06:08:58.239Z] INFO: Retrieving Stack Cost... [2021-04-28T06:09:00.814Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T06:09:01.080Z] INFO: Archiving Costs [Pipeline] echo [2021-04-28T06:09:01.134Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T06:09:01.489Z] ---> logs-deploy.sh [2021-04-28T06:09:01.489Z] lf-activate-venv: SKIPPING [2021-04-28T06:09:01.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-902/1 [2021-04-28T06:09:01.489Z] INFO: archiving workspace using pattern(s): [2021-04-28T06:09:04.082Z] Archives upload complete. [2021-04-28T06:09:04.082Z] INFO: archiving logs to Nexus