Pull request #905 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c48d0fd9c0737fbf92a06ef469e542a1d1799588+92affc97e25621ac5a3617c0e5e42feb55191c77 (85d32f2794c0d6bb52fdd5096d27afe6086fb468) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-905/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-905/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3028 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [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-905 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) > git config core.sparsecheckout # timeout=10 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # 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 c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 Commit message: "fix: correctly update DeviceService.deviceService model" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-05T10:16:44.193Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-05T10:16:44.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-05T10:16:44.523Z] ========================================================= [2021-05-05T10:16:44.523Z] EdgeX Global Pipelines Version Info [2021-05-05T10:16:44.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:16:46.689Z] ------------------- [2021-05-05T10:16:46.689Z] stable info: [2021-05-05T10:16:46.689Z] ------------------- [2021-05-05T10:16:46.689Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-05T10:16:46.689Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T10:16:46.689Z] Message: update stable to v1.0.191 [2021-05-05T10:16:47.644Z] ------------------- [2021-05-05T10:16:47.644Z] experimental info: [2021-05-05T10:16:47.644Z] ------------------- [2021-05-05T10:16:47.644Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-05T10:16:47.644Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-05T10:16:47.644Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-05T10:16:47.906Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-05T10:16:47.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-05T10:16:48.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-05T10:16:48.083Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-05T10:16:48.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-05T10:16:48.207Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-05T10:16:48.280Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-05T10:16:48.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-05T10:16:48.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-05T10:16:48.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-05T10:16:48.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-05T10:16:48.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-05T10:16:48.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-05T10:16:48.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-05T10:16:48.783Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-05T10:16:48.856Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T10:16:48.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T10:16:48.988Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-05T10:16:49.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-05T10:16:49.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-05T10:16:49.165Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-05T10:16:49.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-05T10:16:49.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-05T10:16:49.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-05T10:16:49.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-05T10:16:49.473Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-05T10:16:49.539Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-905 [Pipeline] echo [2021-05-05T10:16:49.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-905 [Pipeline] echo [2021-05-05T10:16:49.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-905 [Pipeline] echo [2021-05-05T10:16:49.721Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] echo [2021-05-05T10:16:49.778Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c48d0fd [Pipeline] echo [2021-05-05T10:16:49.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T10:16:50.011Z] provisioning config files... [2021-05-05T10:16:50.051Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config1165394003335693346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:16:50.460Z] ---> docker-login.sh [2021-05-05T10:16:50.460Z] nexus3.edgexfoundry.org:10001 [2021-05-05T10:16:50.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:16:50.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:16:50.998Z] Configure a credential helper to remove this warning. See [2021-05-05T10:16:50.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:16:50.998Z] [2021-05-05T10:16:50.998Z] Login Succeeded [2021-05-05T10:16:50.998Z] nexus3.edgexfoundry.org:10002 [2021-05-05T10:16:51.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:16:51.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:16:51.263Z] Configure a credential helper to remove this warning. See [2021-05-05T10:16:51.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:16:51.263Z] [2021-05-05T10:16:51.263Z] Login Succeeded [2021-05-05T10:16:51.263Z] nexus3.edgexfoundry.org:10003 [2021-05-05T10:16:51.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:16:51.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:16:51.795Z] Configure a credential helper to remove this warning. See [2021-05-05T10:16:51.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:16:51.795Z] [2021-05-05T10:16:51.795Z] Login Succeeded [2021-05-05T10:16:51.795Z] nexus3.edgexfoundry.org:10004 [2021-05-05T10:16:51.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:16:51.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:16:51.795Z] Configure a credential helper to remove this warning. See [2021-05-05T10:16:51.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:16:51.795Z] [2021-05-05T10:16:51.795Z] Login Succeeded [2021-05-05T10:16:51.795Z] docker.io [2021-05-05T10:16:52.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:16:52.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:16:52.323Z] Configure a credential helper to remove this warning. See [2021-05-05T10:16:52.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:16:52.323Z] [2021-05-05T10:16:52.323Z] Login Succeeded [2021-05-05T10:16:52.323Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T10:16:52.348Z] 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-05-05T10:16:53.108Z] + git log --format=format:%s -1 c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] echo [2021-05-05T10:16:53.260Z] GIT_COMMIT: c48d0fd9c0737fbf92a06ef469e542a1d1799588, Commit Message: fix: correctly update DeviceService.deviceService model [Pipeline] echo [2021-05-05T10:16:53.300Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:16:54.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T10:16:54.379Z] [2021-05-05T10:16:54.379Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:16:54.743Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T10:16:54.743Z] latest: Pulling from edgex-devops/git-semver [2021-05-05T10:16:54.743Z] 31603596830f: Pulling fs layer [2021-05-05T10:16:54.743Z] 54011a49482f: Pulling fs layer [2021-05-05T10:16:54.743Z] a6820b24f6d8: Pulling fs layer [2021-05-05T10:16:54.743Z] f581987b2513: Pulling fs layer [2021-05-05T10:16:54.743Z] f581987b2513: Waiting [2021-05-05T10:16:54.743Z] 54011a49482f: Download complete [2021-05-05T10:16:55.032Z] 31603596830f: Verifying Checksum [2021-05-05T10:16:55.032Z] 31603596830f: Download complete [2021-05-05T10:16:55.032Z] f581987b2513: Verifying Checksum [2021-05-05T10:16:55.032Z] f581987b2513: Download complete [2021-05-05T10:16:55.325Z] a6820b24f6d8: Verifying Checksum [2021-05-05T10:16:55.325Z] a6820b24f6d8: Download complete [2021-05-05T10:16:55.590Z] 31603596830f: Pull complete [2021-05-05T10:16:55.590Z] 54011a49482f: Pull complete [2021-05-05T10:16:57.026Z] a6820b24f6d8: Pull complete [2021-05-05T10:16:57.295Z] f581987b2513: Pull complete [2021-05-05T10:16:57.295Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-05T10:16:57.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-05T10:16:57.295Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-05T10:16:57.429Z] prd-centos7-docker-4c-2g-3028 does not seem to be running inside a container [2021-05-05T10:16:57.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-905 -v /w/workspace/dgexfoundry_device-sdk-go_PR-905:/w/workspace/dgexfoundry_device-sdk-go_PR-905:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-05T10:16:59.607Z] $ docker top 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-05T10:16:59.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T10:16:59.903Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T10:17:00.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T10:17:00.261Z] $ docker exec 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent [2021-05-05T10:17:00.474Z] SSH_AUTH_SOCK=/tmp/ssh-PjbHC4lR6D5x/agent.11 [2021-05-05T10:17:00.475Z] SSH_AGENT_PID=16 [2021-05-05T10:17:00.486Z] Running ssh-add (command line suppressed) [2021-05-05T10:17:00.632Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_3176070491790732686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_3176070491790732686.key) [2021-05-05T10:17:00.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T10:17:01.057Z] + git tag --points-at HEAD [Pipeline] } [2021-05-05T10:17:01.099Z] $ docker exec --env ******** --env ******** 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent -k [2021-05-05T10:17:01.280Z] unset SSH_AUTH_SOCK; [2021-05-05T10:17:01.280Z] unset SSH_AGENT_PID; [2021-05-05T10:17:01.280Z] echo Agent pid 16 killed; [2021-05-05T10:17:01.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-05T10:17:01.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-05T10:17:01.440Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-05T10:17:01.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-05T10:17:01.639Z] $ docker exec 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent [2021-05-05T10:17:01.828Z] SSH_AUTH_SOCK=/tmp/ssh-DBdFzAdmii61/agent.45 [2021-05-05T10:17:01.828Z] SSH_AGENT_PID=50 [2021-05-05T10:17:01.836Z] Running ssh-add (command line suppressed) [2021-05-05T10:17:01.972Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_1220232815235764127.key (/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_1220232815235764127.key) [2021-05-05T10:17:02.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-05T10:17:02.381Z] + git semver init [2021-05-05T10:17:02.381Z] # -> Open(): unable to determine branch for HEAD [2021-05-05T10:17:02.381Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-905/.git [2021-05-05T10:17:02.381Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-905 [2021-05-05T10:17:02.381Z] # $SEMVER_REMOTE_NAME = origin [2021-05-05T10:17:02.381Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-05T10:17:02.381Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-05T10:17:02.381Z] # $SEMVER_BRANCH = PR-905 [2021-05-05T10:17:02.381Z] # $SEMVER_TEMP = /tmp/semver-089024715 [2021-05-05T10:17:02.381Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-05T10:17:04.951Z] # '/tmp/semver-089024715' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-905/.semver' [2021-05-05T10:17:04.951Z] # -> Force: false [2021-05-05T10:17:04.951Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-905/.semver [Pipeline] } [2021-05-05T10:17:04.976Z] $ docker exec --env ******** --env ******** 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent -k [2021-05-05T10:17:05.107Z] unset SSH_AUTH_SOCK; [2021-05-05T10:17:05.107Z] unset SSH_AGENT_PID; [2021-05-05T10:17:05.107Z] echo Agent pid 50 killed; [2021-05-05T10:17:05.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-05T10:17:05.617Z] + git semver [Pipeline] } [2021-05-05T10:17:05.656Z] $ docker stop --time=1 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 [2021-05-05T10:17:07.156Z] $ docker rm -f 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T10:17:07.629Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-05T10:17:08.044Z] Stashed 1 file(s) [Pipeline] echo [2021-05-05T10:17:08.067Z] [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-05-05T10:17:23.579Z] Still waiting to schedule task [2021-05-05T10:17:23.579Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3028’ [2021-05-05T10:17:23.608Z] Still waiting to schedule task [2021-05-05T10:17:23.608Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-05T10:19:00.652Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3029 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [Pipeline] { [Pipeline] ws [2021-05-05T10:19:00.714Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-05T10:19:06.550Z] using credential edgex-jenkins-ssh [2021-05-05T10:19:06.571Z] Cloning the remote Git repository [2021-05-05T10:19:06.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:06.731Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-05T10:19:06.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:06.804Z] > git --version # timeout=10 [2021-05-05T10:19:06.822Z] > git --version # 'git version 2.17.1' [2021-05-05T10:19:06.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:06.902Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T10:19:08.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T10:19:08.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T10:19:08.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T10:19:08.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:08.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:08.178Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T10:19:08.866Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:19:09.075Z] Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:19:09.075Z] Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) [2021-05-05T10:19:08.885Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T10:19:08.899Z] > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 [2021-05-05T10:19:08.998Z] > git remote # timeout=10 [2021-05-05T10:19:09.013Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T10:19:09.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:09.035Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-05T10:19:09.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T10:19:09.083Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T10:19:09.095Z] > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 [2021-05-05T10:19:13.362Z] Commit message: "fix: correctly update DeviceService.deviceService model" [2021-05-05T10:19:13.422Z] > git --version # timeout=10 [2021-05-05T10:19:13.437Z] > git --version # 'git version 2.17.1' [2021-05-05T10:19:13.465Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T10:19:15.320Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-05T10:19:15.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T10:19:16.124Z] + sudo service docker restart+ [2021-05-05T10:19:16.125Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T10:19:18.869Z] provisioning config files... [2021-05-05T10:19:18.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8318942365799345444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:19:19.371Z] ---> docker-login.sh [2021-05-05T10:19:19.371Z] nexus3.edgexfoundry.org:10001 [2021-05-05T10:19:20.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:19:20.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:19:20.630Z] Configure a credential helper to remove this warning. See [2021-05-05T10:19:20.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:19:20.630Z] [2021-05-05T10:19:20.630Z] Login Succeeded [2021-05-05T10:19:20.630Z] nexus3.edgexfoundry.org:10002 [2021-05-05T10:19:20.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:19:21.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:19:21.183Z] Configure a credential helper to remove this warning. See [2021-05-05T10:19:21.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:19:21.183Z] [2021-05-05T10:19:21.183Z] Login Succeeded [2021-05-05T10:19:21.183Z] nexus3.edgexfoundry.org:10003 [2021-05-05T10:19:21.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:19:21.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:19:21.736Z] Configure a credential helper to remove this warning. See [2021-05-05T10:19:21.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:19:21.736Z] [2021-05-05T10:19:21.736Z] Login Succeeded [2021-05-05T10:19:21.736Z] nexus3.edgexfoundry.org:10004 [2021-05-05T10:19:22.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:19:22.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:19:22.289Z] Configure a credential helper to remove this warning. See [2021-05-05T10:19:22.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:19:22.289Z] [2021-05-05T10:19:22.289Z] Login Succeeded [2021-05-05T10:19:22.289Z] docker.io [2021-05-05T10:19:22.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:19:22.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:19:22.837Z] Configure a credential helper to remove this warning. See [2021-05-05T10:19:22.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:19:22.838Z] [2021-05-05T10:19:22.838Z] Login Succeeded [2021-05-05T10:19:23.111Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T10:19:23.142Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-05T10:19:23.632Z] ========================================================= [2021-05-05T10:19:23.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-05T10:19:23.632Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:19:24.021Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-05T10:19:24.301Z] Sending build context to Docker daemon 2.485MB [2021-05-05T10:19:24.581Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T10:19:24.581Z] Step 2/8 : FROM ${BASE} [2021-05-05T10:19:24.581Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-05T10:19:24.581Z] 595b0fe564bb: Pulling fs layer [2021-05-05T10:19:24.581Z] 7186ed65a4f7: Pulling fs layer [2021-05-05T10:19:24.581Z] 316046926c0a: Pulling fs layer [2021-05-05T10:19:24.581Z] 4ebd0625c992: Pulling fs layer [2021-05-05T10:19:24.581Z] 207e8628e3a3: Pulling fs layer [2021-05-05T10:19:24.581Z] c791037a9be2: Pulling fs layer [2021-05-05T10:19:24.581Z] ffd874e62e21: Pulling fs layer [2021-05-05T10:19:24.581Z] 207e8628e3a3: Waiting [2021-05-05T10:19:24.581Z] c791037a9be2: Waiting [2021-05-05T10:19:24.581Z] ffd874e62e21: Waiting [2021-05-05T10:19:24.581Z] 4ebd0625c992: Waiting [2021-05-05T10:19:24.581Z] 316046926c0a: Download complete [2021-05-05T10:19:24.581Z] 7186ed65a4f7: Verifying Checksum [2021-05-05T10:19:24.581Z] 7186ed65a4f7: Download complete [2021-05-05T10:19:24.581Z] 207e8628e3a3: Verifying Checksum [2021-05-05T10:19:24.581Z] 207e8628e3a3: Download complete [2021-05-05T10:19:24.581Z] 595b0fe564bb: Verifying Checksum [2021-05-05T10:19:24.581Z] 595b0fe564bb: Download complete [2021-05-05T10:19:24.860Z] c791037a9be2: Verifying Checksum [2021-05-05T10:19:24.860Z] c791037a9be2: Download complete [2021-05-05T10:19:25.465Z] 595b0fe564bb: Pull complete [2021-05-05T10:19:26.068Z] 7186ed65a4f7: Pull complete [2021-05-05T10:19:26.343Z] 316046926c0a: Pull complete [2021-05-05T10:19:26.942Z] ffd874e62e21: Verifying Checksum [2021-05-05T10:19:26.942Z] ffd874e62e21: Download complete [2021-05-05T10:19:28.373Z] 4ebd0625c992: Verifying Checksum [2021-05-05T10:19:28.373Z] 4ebd0625c992: Download complete [2021-05-05T10:19:38.533Z] 4ebd0625c992: Pull complete [2021-05-05T10:19:38.807Z] 207e8628e3a3: Pull complete [2021-05-05T10:19:39.080Z] c791037a9be2: Pull complete [2021-05-05T10:19:43.421Z] ffd874e62e21: Pull complete [2021-05-05T10:19:43.421Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-05T10:19:43.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-05T10:19:43.421Z] ---> cfc18b08335c [2021-05-05T10:19:43.421Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:19:45.446Z] ---> Running in cb818fcde74c [2021-05-05T10:19:46.061Z] Removing intermediate container cb818fcde74c [2021-05-05T10:19:46.061Z] ---> af7a83b1f715 [2021-05-05T10:19:46.061Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:19:46.061Z] ---> Running in bcf6bb390bc5 [2021-05-05T10:19:47.829Z] Running on prd-centos7-docker-4c-2g-3030 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [Pipeline] { [Pipeline] ws [2021-05-05T10:19:47.889Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-05T10:19:48.767Z] Removing intermediate container bcf6bb390bc5 [2021-05-05T10:19:48.767Z] ---> 457b911f294d [2021-05-05T10:19:48.767Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-05T10:19:48.767Z] ---> Running in afbb2d0d0a4a [2021-05-05T10:19:49.753Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-05T10:19:50.630Z] using credential edgex-jenkins-ssh [2021-05-05T10:19:50.642Z] Cloning the remote Git repository [2021-05-05T10:19:51.191Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-05T10:19:50.517Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:50.586Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-05T10:19:50.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:50.686Z] > git --version # timeout=10 [2021-05-05T10:19:50.694Z] > git --version # 'git version 2.24.3' [2021-05-05T10:19:50.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:50.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T10:19:52.216Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:19:52.305Z] Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:19:52.305Z] Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) [2021-05-05T10:19:51.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T10:19:51.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-05T10:19:51.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-05T10:19:51.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-05T10:19:51.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:51.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-05T10:19:52.206Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T10:19:52.213Z] > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 [2021-05-05T10:19:52.259Z] > git remote # timeout=10 [2021-05-05T10:19:52.265Z] > git config --get remote.origin.url # timeout=10 [2021-05-05T10:19:52.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-05T10:19:52.275Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-05T10:19:52.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-05T10:19:52.296Z] > git config core.sparsecheckout # timeout=10 [2021-05-05T10:19:52.307Z] > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 [2021-05-05T10:19:52.674Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-05T10:19:52.674Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-05T10:19:52.943Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-05T10:19:53.215Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-05T10:19:53.215Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-05T10:19:53.485Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-05T10:19:53.757Z] Executing busybox-1.32.1-r6.trigger [2021-05-05T10:19:53.757Z] OK: 139 MiB in 46 packages [2021-05-05T10:19:55.203Z] Removing intermediate container afbb2d0d0a4a [2021-05-05T10:19:55.203Z] ---> 5cb42dfd048d [2021-05-05T10:19:55.203Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-05T10:19:55.203Z] ---> Running in ea6c227979d5 [2021-05-05T10:19:55.802Z] Removing intermediate container ea6c227979d5 [2021-05-05T10:19:55.802Z] ---> 90bca9a48962 [2021-05-05T10:19:55.802Z] Step 7/8 : COPY . . [2021-05-05T10:19:55.957Z] Commit message: "fix: correctly update DeviceService.deviceService model" [2021-05-05T10:19:55.986Z] > git --version # timeout=10 [2021-05-05T10:19:55.993Z] > git --version # 'git version 2.24.3' [2021-05-05T10:19:56.001Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T10:19:56.801Z] ---> 866777479d61 [2021-05-05T10:19:56.801Z] Step 8/8 : RUN go mod download [2021-05-05T10:19:57.075Z] ---> Running in 219cd57b7ca1 [2021-05-05T10:19:57.283Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-05T10:19:57.653Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-05T10:19:57.986Z] + sudo service docker restart [2021-05-05T10:19:57.986Z] + true [2021-05-05T10:19:57.986Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-05T10:19:59.490Z] provisioning config files... [2021-05-05T10:19:59.536Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4935726926607298287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:19:59.917Z] ---> docker-login.sh [2021-05-05T10:19:59.917Z] nexus3.edgexfoundry.org:10001 [2021-05-05T10:20:00.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:20:00.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:20:00.181Z] Configure a credential helper to remove this warning. See [2021-05-05T10:20:00.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:20:00.181Z] [2021-05-05T10:20:00.181Z] Login Succeeded [2021-05-05T10:20:00.181Z] nexus3.edgexfoundry.org:10002 [2021-05-05T10:20:00.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:20:00.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:20:00.444Z] Configure a credential helper to remove this warning. See [2021-05-05T10:20:00.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:20:00.444Z] [2021-05-05T10:20:00.444Z] Login Succeeded [2021-05-05T10:20:00.445Z] nexus3.edgexfoundry.org:10003 [2021-05-05T10:20:00.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:20:00.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:20:00.710Z] Configure a credential helper to remove this warning. See [2021-05-05T10:20:00.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:20:00.710Z] [2021-05-05T10:20:00.710Z] Login Succeeded [2021-05-05T10:20:00.710Z] nexus3.edgexfoundry.org:10004 [2021-05-05T10:20:00.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:20:00.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:20:00.710Z] Configure a credential helper to remove this warning. See [2021-05-05T10:20:00.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:20:00.710Z] [2021-05-05T10:20:00.710Z] Login Succeeded [2021-05-05T10:20:00.710Z] docker.io [2021-05-05T10:20:00.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-05T10:20:01.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-05T10:20:01.236Z] Configure a credential helper to remove this warning. See [2021-05-05T10:20:01.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-05T10:20:01.236Z] [2021-05-05T10:20:01.236Z] Login Succeeded [2021-05-05T10:20:01.236Z] ---> docker-login.sh ends [Pipeline] } [2021-05-05T10:20:01.279Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-05T10:20:01.609Z] ========================================================= [2021-05-05T10:20:01.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-05T10:20:01.609Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:20:01.966Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-05T10:20:01.966Z] Sending build context to Docker daemon 2.475MB [2021-05-05T10:20:01.966Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T10:20:01.966Z] Step 2/8 : FROM ${BASE} [2021-05-05T10:20:02.230Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-05T10:20:02.230Z] 540db60ca938: Pulling fs layer [2021-05-05T10:20:02.230Z] adcc1eea9eea: Pulling fs layer [2021-05-05T10:20:02.230Z] 4c4ab2625f07: Pulling fs layer [2021-05-05T10:20:02.230Z] 0510c868ecb4: Pulling fs layer [2021-05-05T10:20:02.230Z] afea3b2eda06: Pulling fs layer [2021-05-05T10:20:02.230Z] 7809a108b3ef: Pulling fs layer [2021-05-05T10:20:02.230Z] f706445af74f: Pulling fs layer [2021-05-05T10:20:02.230Z] 0510c868ecb4: Waiting [2021-05-05T10:20:02.230Z] afea3b2eda06: Waiting [2021-05-05T10:20:02.230Z] 7809a108b3ef: Waiting [2021-05-05T10:20:02.230Z] f706445af74f: Waiting [2021-05-05T10:20:02.230Z] 4c4ab2625f07: Verifying Checksum [2021-05-05T10:20:02.230Z] 4c4ab2625f07: Download complete [2021-05-05T10:20:02.230Z] adcc1eea9eea: Verifying Checksum [2021-05-05T10:20:02.230Z] adcc1eea9eea: Download complete [2021-05-05T10:20:02.230Z] afea3b2eda06: Verifying Checksum [2021-05-05T10:20:02.230Z] afea3b2eda06: Download complete [2021-05-05T10:20:02.230Z] 540db60ca938: Verifying Checksum [2021-05-05T10:20:02.230Z] 540db60ca938: Download complete [2021-05-05T10:20:02.230Z] 7809a108b3ef: Verifying Checksum [2021-05-05T10:20:02.230Z] 7809a108b3ef: Download complete [2021-05-05T10:20:02.491Z] 540db60ca938: Pull complete [2021-05-05T10:20:02.777Z] adcc1eea9eea: Pull complete [2021-05-05T10:20:02.777Z] 4c4ab2625f07: Pull complete [2021-05-05T10:20:04.706Z] f706445af74f: Verifying Checksum [2021-05-05T10:20:04.706Z] f706445af74f: Download complete [2021-05-05T10:20:04.973Z] 0510c868ecb4: Verifying Checksum [2021-05-05T10:20:04.973Z] 0510c868ecb4: Download complete [2021-05-05T10:20:11.608Z] 0510c868ecb4: Pull complete [2021-05-05T10:20:11.608Z] afea3b2eda06: Pull complete [2021-05-05T10:20:11.608Z] 7809a108b3ef: Pull complete [2021-05-05T10:20:15.859Z] f706445af74f: Pull complete [2021-05-05T10:20:15.859Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-05T10:20:15.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-05T10:20:15.859Z] ---> b068be0155e3 [2021-05-05T10:20:15.859Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:20:15.859Z] ---> Running in 2c3be75fac19 [2021-05-05T10:20:15.859Z] Removing intermediate container 2c3be75fac19 [2021-05-05T10:20:15.859Z] ---> 7f14a80eb097 [2021-05-05T10:20:15.859Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:20:15.859Z] ---> Running in fb6cd8e148ac [2021-05-05T10:20:16.811Z] Removing intermediate container fb6cd8e148ac [2021-05-05T10:20:16.811Z] ---> 974ad482b591 [2021-05-05T10:20:16.811Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-05T10:20:16.811Z] ---> Running in bc8f4cacb4f3 [2021-05-05T10:20:17.760Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-05T10:20:18.711Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-05T10:20:19.287Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-05T10:20:19.550Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-05T10:20:19.550Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-05T10:20:19.550Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-05T10:20:19.813Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-05T10:20:19.813Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-05T10:20:20.081Z] Executing busybox-1.32.1-r6.trigger [2021-05-05T10:20:20.082Z] OK: 150 MiB in 46 packages [2021-05-05T10:20:20.656Z] Removing intermediate container bc8f4cacb4f3 [2021-05-05T10:20:20.656Z] ---> d397c441e618 [2021-05-05T10:20:20.656Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-05T10:20:20.656Z] ---> Running in 8162f840ec4f [2021-05-05T10:20:20.919Z] Removing intermediate container 8162f840ec4f [2021-05-05T10:20:20.919Z] ---> a5f9f0ecfcea [2021-05-05T10:20:20.919Z] Step 7/8 : COPY . . [2021-05-05T10:20:21.868Z] ---> f67d36243544 [2021-05-05T10:20:21.868Z] Step 8/8 : RUN go mod download [2021-05-05T10:20:22.131Z] ---> Running in bae00f29006d [2021-05-05T10:20:23.888Z] Removing intermediate container 219cd57b7ca1 [2021-05-05T10:20:23.888Z] ---> b91f528abe6a [2021-05-05T10:20:23.888Z] Successfully built b91f528abe6a [2021-05-05T10:20:23.888Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:20:24.286Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T10:20:24.286Z] . [Pipeline] withDockerContainer [2021-05-05T10:20:24.592Z] prd-ubuntu18.04-docker-arm64-4c-16g-3029 does not seem to be running inside a container [2021-05-05T10:20:24.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-05T10:20:26.110Z] $ docker top cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T10:20:27.088Z] + go version [2021-05-05T10:20:27.089Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-05T10:20:27.136Z] $ docker stop --time=1 cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 [2021-05-05T10:20:29.112Z] $ docker rm -f cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:20:30.068Z] + docker inspect -f . ci-base-image-arm64 [2021-05-05T10:20:30.068Z] . [Pipeline] withDockerContainer [2021-05-05T10:20:30.354Z] prd-ubuntu18.04-docker-arm64-4c-16g-3029 does not seem to be running inside a container [2021-05-05T10:20:30.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-05T10:20:31.911Z] $ docker top e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T10:20:32.892Z] + go mod tidy [Pipeline] sh [2021-05-05T10:20:34.180Z] + make test [2021-05-05T10:20:34.180Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-05T10:20:44.157Z] Removing intermediate container bae00f29006d [2021-05-05T10:20:44.157Z] ---> 14baef15e514 [2021-05-05T10:20:44.157Z] Successfully built 14baef15e514 [2021-05-05T10:20:44.157Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:20:44.509Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T10:20:44.509Z] . [Pipeline] withDockerContainer [2021-05-05T10:20:44.652Z] prd-centos7-docker-4c-2g-3030 does not seem to be running inside a container [2021-05-05T10:20:44.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T10:20:45.547Z] $ docker top 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T10:20:46.060Z] + go version [2021-05-05T10:20:46.060Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-05T10:20:46.119Z] $ docker stop --time=1 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d [2021-05-05T10:20:47.462Z] $ docker rm -f 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:20:48.306Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-05T10:20:48.307Z] . [Pipeline] withDockerContainer [2021-05-05T10:20:48.438Z] prd-centos7-docker-4c-2g-3030 does not seem to be running inside a container [2021-05-05T10:20:48.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-05T10:20:49.078Z] $ docker top 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T10:20:49.603Z] + go mod tidy [Pipeline] sh [2021-05-05T10:20:50.535Z] + make test [2021-05-05T10:20:50.535Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-05T10:20:58.729Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-05T10:21:01.274Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-05T10:21:25.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 28.1% of statements [2021-05-05T10:21:25.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.097s coverage: 78.9% of statements [2021-05-05T10:21:25.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.079s coverage: 7.8% of statements [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-05T10:21:25.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-05T10:21:25.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 30.2% of statements [2021-05-05T10:21:25.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-05T10:21:25.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-05T10:21:25.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-05T10:21:25.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.2% of statements [2021-05-05T10:21:26.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.193s coverage: 6.6% of statements [2021-05-05T10:21:26.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-05-05T10:21:26.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-05T10:21:27.252Z] GO111MODULE=on go vet ./... [2021-05-05T10:21:45.645Z] gofmt -l . [2021-05-05T10:21:45.645Z] [ "`gofmt -l .`" = "" ] [2021-05-05T10:21:45.908Z] ./bin/test-attribution-txt.sh [2021-05-05T10:21:46.859Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-05T10:21:46.898Z] $ docker stop --time=1 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 [2021-05-05T10:21:48.622Z] $ docker rm -f 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T10:21:49.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-05T10:21:49.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-05T10:21:53.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-05T10:21:53.372Z] + ls -al . [2021-05-05T10:21:53.372Z] total 188 [2021-05-05T10:21:53.372Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 5 10:21 . [2021-05-05T10:21:53.372Z] drwxrwxr-x. 4 jenkins jenkins 28 May 5 10:19 .. [2021-05-05T10:21:53.372Z] drwxrwxr-x. 2 jenkins jenkins 64 May 5 10:19 bin [2021-05-05T10:21:53.372Z] -rw-r--r--. 1 jenkins jenkins 100320 May 5 10:21 coverage.out [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 987 May 5 10:19 Dockerfile.build [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 140 May 5 10:19 .dockerignore [2021-05-05T10:21:53.372Z] drwxrwxr-x. 5 jenkins jenkins 62 May 5 10:19 example [2021-05-05T10:21:53.372Z] drwxrwxr-x. 8 jenkins jenkins 179 May 5 10:19 .git [2021-05-05T10:21:53.372Z] drwxrwxr-x. 2 jenkins jenkins 103 May 5 10:19 .github [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 138 May 5 10:19 .gitignore [2021-05-05T10:21:53.372Z] -rw-r--r--. 1 jenkins jenkins 575 May 5 10:21 go.mod [2021-05-05T10:21:53.372Z] -rw-r--r--. 1 jenkins jenkins 20957 May 5 10:20 go.sum [2021-05-05T10:21:53.372Z] drwxrwxr-x. 14 jenkins jenkins 207 May 5 10:19 internal [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 901 May 5 10:19 Jenkinsfile [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 5 10:19 LICENSE [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 5 10:19 Makefile [2021-05-05T10:21:53.372Z] drwxrwxr-x. 4 jenkins jenkins 26 May 5 10:19 openapi [2021-05-05T10:21:53.372Z] drwxrwxr-x. 5 jenkins jenkins 50 May 5 10:19 pkg [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 5 10:19 README.md [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 5 10:19 RELEASE-NOTES.txt [2021-05-05T10:21:53.372Z] drwxrwxr-x. 4 jenkins jenkins 54 May 5 10:19 snap [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 5 May 5 10:17 VERSION [2021-05-05T10:21:53.372Z] -rw-rw-r--. 1 jenkins jenkins 222 May 5 10:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:21:53.749Z] + 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=c48d0fd9c0737fbf92a06ef469e542a1d1799588 --label arch=amd64 --label version=0.0.0 . [2021-05-05T10:21:54.011Z] Sending build context to Docker daemon 2.576MB [2021-05-05T10:21:54.011Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T10:21:54.011Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-05T10:21:54.011Z] ---> 14baef15e514 [2021-05-05T10:21:54.011Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-05T10:21:54.589Z] ---> Running in 2225899fb997 [2021-05-05T10:21:55.346Z] Removing intermediate container 2225899fb997 [2021-05-05T10:21:55.346Z] ---> 169dba866546 [2021-05-05T10:21:55.346Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:21:55.346Z] ---> Running in 81ec4244e5e0 [2021-05-05T10:21:55.346Z] Removing intermediate container 81ec4244e5e0 [2021-05-05T10:21:55.346Z] ---> 54e6c6e31d6c [2021-05-05T10:21:55.346Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:21:55.346Z] ---> Running in 043ba05981a7 [2021-05-05T10:21:55.933Z] Removing intermediate container 043ba05981a7 [2021-05-05T10:21:55.933Z] ---> 796ca831dfa6 [2021-05-05T10:21:55.933Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-05T10:21:56.200Z] ---> Running in 80f9d42c64f8 [2021-05-05T10:21:56.779Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-05T10:21:57.828Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-05T10:21:57.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-05T10:21:57.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-05T10:21:57.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-05T10:21:57.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-05T10:21:57.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-05T10:21:58.404Z] OK: 150 MiB in 46 packages [2021-05-05T10:21:59.086Z] Removing intermediate container 80f9d42c64f8 [2021-05-05T10:21:59.086Z] ---> ff11ae110b09 [2021-05-05T10:21:59.086Z] Step 7/23 : COPY . . [2021-05-05T10:22:00.035Z] ---> 152c2ce1259a [2021-05-05T10:22:00.035Z] Step 8/23 : RUN go mod download [2021-05-05T10:22:00.035Z] ---> Running in c8b38f8402c0 [2021-05-05T10:22:01.011Z] Removing intermediate container c8b38f8402c0 [2021-05-05T10:22:01.011Z] ---> 0f5678f91003 [2021-05-05T10:22:01.011Z] Step 9/23 : RUN make build [2021-05-05T10:22:01.011Z] ---> Running in 21be10031658 [2021-05-05T10:22:01.595Z] 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-05-05T10:22:08.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements [2021-05-05T10:22:09.072Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.211s coverage: 78.9% of statements [2021-05-05T10:22:09.072Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.193s coverage: 7.8% of statements [2021-05-05T10:22:09.072Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-05T10:22:09.072Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-05T10:22:09.072Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-05T10:22:10.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 30.2% of statements [2021-05-05T10:22:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-05T10:22:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-05T10:22:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-05T10:22:13.166Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements [2021-05-05T10:22:13.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.249s coverage: 6.6% of statements [2021-05-05T10:22:13.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-05-05T10:22:13.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-05T10:22:13.936Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-05T10:22:14.363Z] GO111MODULE=on go vet ./... [2021-05-05T10:22:15.333Z] Removing intermediate container 21be10031658 [2021-05-05T10:22:15.333Z] ---> 4726e6e09d27 [2021-05-05T10:22:15.333Z] Step 10/23 : FROM alpine:3.12 [2021-05-05T10:22:15.597Z] 3.12: Pulling from library/alpine [2021-05-05T10:22:15.597Z] 339de151aab4: Pulling fs layer [2021-05-05T10:22:15.859Z] 339de151aab4: Verifying Checksum [2021-05-05T10:22:15.859Z] 339de151aab4: Download complete [2021-05-05T10:22:16.122Z] 339de151aab4: Pull complete [2021-05-05T10:22:16.122Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-05T10:22:16.122Z] Status: Downloaded newer image for alpine:3.12 [2021-05-05T10:22:16.122Z] ---> 13621d1b12d4 [2021-05-05T10:22:16.122Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:22:16.385Z] ---> Running in 8fd259842971 [2021-05-05T10:22:16.647Z] Removing intermediate container 8fd259842971 [2021-05-05T10:22:16.647Z] ---> 738a790fb611 [2021-05-05T10:22:16.647Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:22:16.647Z] ---> Running in 916e628d845d [2021-05-05T10:22:17.604Z] Removing intermediate container 916e628d845d [2021-05-05T10:22:17.604Z] ---> 299abeeab934 [2021-05-05T10:22:17.604Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-05T10:22:17.604Z] ---> Running in 1330ad69d7d1 [2021-05-05T10:22:18.187Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-05T10:22:19.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-05T10:22:19.396Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-05T10:22:19.396Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-05T10:22:19.661Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-05T10:22:20.607Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-05T10:22:20.607Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-05T10:22:20.607Z] Executing busybox-1.31.1-r20.trigger [2021-05-05T10:22:20.607Z] OK: 8 MiB in 19 packages [2021-05-05T10:22:21.184Z] Removing intermediate container 1330ad69d7d1 [2021-05-05T10:22:21.184Z] ---> a71c283dd753 [2021-05-05T10:22:21.184Z] Step 14/23 : WORKDIR / [2021-05-05T10:22:21.184Z] ---> Running in a9378bdef1f8 [2021-05-05T10:22:21.446Z] Removing intermediate container a9378bdef1f8 [2021-05-05T10:22:21.446Z] ---> 57c5e61f2b3d [2021-05-05T10:22:21.446Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-05T10:22:21.710Z] ---> 048a46995183 [2021-05-05T10:22:21.710Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-05T10:22:22.287Z] ---> 8f77920e0e15 [2021-05-05T10:22:22.287Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-05T10:22:22.557Z] ---> f2f23823004a [2021-05-05T10:22:22.557Z] Step 18/23 : EXPOSE 49990 [2021-05-05T10:22:22.557Z] ---> Running in a9e5f6893a12 [2021-05-05T10:22:22.822Z] Removing intermediate container a9e5f6893a12 [2021-05-05T10:22:22.822Z] ---> 6a933af6c37f [2021-05-05T10:22:22.822Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-05T10:22:22.822Z] ---> Running in 17d2d4c732bf [2021-05-05T10:22:23.087Z] Removing intermediate container 17d2d4c732bf [2021-05-05T10:22:23.087Z] ---> 4eff0f8719db [2021-05-05T10:22:23.087Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-05T10:22:23.087Z] ---> Running in 7333c1fdfa91 [2021-05-05T10:22:23.087Z] Removing intermediate container 7333c1fdfa91 [2021-05-05T10:22:23.087Z] ---> d153b0ddbe85 [2021-05-05T10:22:23.087Z] Step 21/23 : LABEL arch=amd64 [2021-05-05T10:22:23.351Z] ---> Running in 84e7eb45c284 [2021-05-05T10:22:23.351Z] Removing intermediate container 84e7eb45c284 [2021-05-05T10:22:23.351Z] ---> df95fe645014 [2021-05-05T10:22:23.351Z] Step 22/23 : LABEL git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:22:23.619Z] ---> Running in 202a17131825 [2021-05-05T10:22:23.619Z] Removing intermediate container 202a17131825 [2021-05-05T10:22:23.619Z] ---> 47835c7a203b [2021-05-05T10:22:23.619Z] Step 23/23 : LABEL version=0.0.0 [2021-05-05T10:22:23.619Z] ---> Running in b988e2a3b30e [2021-05-05T10:22:23.886Z] Removing intermediate container b988e2a3b30e [2021-05-05T10:22:23.886Z] ---> 465dc242af52 [2021-05-05T10:22:23.886Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-05T10:22:23.886Z] Successfully built 465dc242af52 [2021-05-05T10:22:23.886Z] 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-05-05T10:22:24.869Z] ---> job-cost.sh [2021-05-05T10:22:24.869Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xixF [2021-05-05T10:22:39.825Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T10:23:06.459Z] lf-activate-venv(): INFO: Adding /tmp/venv-xixF/bin to PATH [2021-05-05T10:23:06.459Z] INFO: No Stack... [2021-05-05T10:23:07.044Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T10:23:07.624Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T10:23:07.963Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-05T10:23:07.963Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T10:23:08.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [2021-05-05T10:23:08.085Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] did not exist. Created. [2021-05-05T10:23:08.086Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T10:23:08.552Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-05T10:23:08.692Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T10:23:08.711Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-05T10:23:10.937Z] gofmt -l . [2021-05-05T10:23:10.937Z] [ "`gofmt -l .`" = "" ] [2021-05-05T10:23:10.937Z] ./bin/test-attribution-txt.sh [2021-05-05T10:23:10.937Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-05T10:23:10.982Z] $ docker stop --time=1 e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 [2021-05-05T10:23:13.208Z] $ docker rm -f e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-05T10:23:14.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-05T10:23:14.383Z] Warning: overwriting stash ‘coverage-report’ [2021-05-05T10:23:15.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-05T10:23:15.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-05T10:23:16.346Z] + ls -al . [2021-05-05T10:23:16.346Z] total 224 [2021-05-05T10:23:16.346Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 10:23 . [2021-05-05T10:23:16.346Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 .. [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 10:19 .dockerignore [2021-05-05T10:23:16.346Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 10:19 .git [2021-05-05T10:23:16.346Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 10:19 .github [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 138 May 5 10:19 .gitignore [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 987 May 5 10:19 Dockerfile.build [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 901 May 5 10:19 Jenkinsfile [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 5 10:19 LICENSE [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 5 10:19 Makefile [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 5 10:19 README.md [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 5 10:19 RELEASE-NOTES.txt [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 10:17 VERSION [2021-05-05T10:23:16.346Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 10:19 bin [2021-05-05T10:23:16.346Z] -rw-r--r-- 1 jenkins jenkins 100320 May 5 10:22 coverage.out [2021-05-05T10:23:16.346Z] drwxrwxr-x 5 jenkins jenkins 4096 May 5 10:19 example [2021-05-05T10:23:16.346Z] -rw-r--r-- 1 jenkins jenkins 575 May 5 10:23 go.mod [2021-05-05T10:23:16.346Z] -rw-r--r-- 1 jenkins jenkins 20957 May 5 10:20 go.sum [2021-05-05T10:23:16.346Z] drwxrwxr-x 14 jenkins jenkins 4096 May 5 10:19 internal [2021-05-05T10:23:16.346Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 openapi [2021-05-05T10:23:16.346Z] drwxrwxr-x 5 jenkins jenkins 4096 May 5 10:19 pkg [2021-05-05T10:23:16.346Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 snap [2021-05-05T10:23:16.346Z] -rw-rw-r-- 1 jenkins jenkins 222 May 5 10:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:23:16.738Z] + 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=c48d0fd9c0737fbf92a06ef469e542a1d1799588 --label arch=arm64 --label version=0.0.0 . [2021-05-05T10:23:17.015Z] Sending build context to Docker daemon 2.586MB [2021-05-05T10:23:17.286Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-05T10:23:17.286Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-05T10:23:17.286Z] ---> b91f528abe6a [2021-05-05T10:23:17.286Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-05T10:23:17.557Z] ---> Running in 45dbfc2705fa [2021-05-05T10:23:17.831Z] Removing intermediate container 45dbfc2705fa [2021-05-05T10:23:17.831Z] ---> 6cba3647ace2 [2021-05-05T10:23:17.831Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:23:18.106Z] ---> Running in 001eafa5f25b [2021-05-05T10:23:18.380Z] Removing intermediate container 001eafa5f25b [2021-05-05T10:23:18.380Z] ---> 542dfe169b00 [2021-05-05T10:23:18.380Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:23:18.653Z] ---> Running in 1ee03b0989fd [2021-05-05T10:23:20.635Z] Removing intermediate container 1ee03b0989fd [2021-05-05T10:23:20.635Z] ---> aa0cb51c0146 [2021-05-05T10:23:20.635Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-05T10:23:20.635Z] ---> Running in ca4fe8d20a5f [2021-05-05T10:23:22.068Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-05T10:23:23.046Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-05T10:23:24.033Z] OK: 139 MiB in 46 packages [2021-05-05T10:23:25.005Z] Removing intermediate container ca4fe8d20a5f [2021-05-05T10:23:25.005Z] ---> 85ad3ef4c3a5 [2021-05-05T10:23:25.005Z] Step 7/23 : COPY . . [2021-05-05T10:23:26.438Z] ---> ccd83a905132 [2021-05-05T10:23:26.438Z] Step 8/23 : RUN go mod download [2021-05-05T10:23:26.438Z] ---> Running in 0d5ccb1123d5 [2021-05-05T10:23:29.078Z] Removing intermediate container 0d5ccb1123d5 [2021-05-05T10:23:29.078Z] ---> 1f434347eecb [2021-05-05T10:23:29.078Z] Step 9/23 : RUN make build [2021-05-05T10:23:29.078Z] ---> Running in 5c7df6701582 [2021-05-05T10:23:30.060Z] 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-05-05T10:24:02.451Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-05T10:24:05.107Z] Removing intermediate container 5c7df6701582 [2021-05-05T10:24:05.107Z] ---> 70e2e226fc9f [2021-05-05T10:24:05.107Z] Step 10/23 : FROM alpine:3.12 [2021-05-05T10:24:05.377Z] 3.12: Pulling from library/alpine [2021-05-05T10:24:05.377Z] d2f70382dc9a: Pulling fs layer [2021-05-05T10:24:05.647Z] d2f70382dc9a: Download complete [2021-05-05T10:24:06.236Z] d2f70382dc9a: Pull complete [2021-05-05T10:24:06.236Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-05T10:24:06.236Z] Status: Downloaded newer image for alpine:3.12 [2021-05-05T10:24:06.236Z] ---> 9852663dfa18 [2021-05-05T10:24:06.236Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-05T10:24:06.236Z] ---> Running in d48ec2b1ab32 [2021-05-05T10:24:06.828Z] Removing intermediate container d48ec2b1ab32 [2021-05-05T10:24:06.828Z] ---> cdab3588d6c8 [2021-05-05T10:24:06.828Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-05T10:24:06.828Z] ---> Running in f87e79f83f07 [2021-05-05T10:24:08.846Z] Removing intermediate container f87e79f83f07 [2021-05-05T10:24:08.846Z] ---> 2dac9c75dfdf [2021-05-05T10:24:08.846Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-05T10:24:09.119Z] ---> Running in c0d754ccd00c [2021-05-05T10:24:10.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-05T10:24:11.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-05T10:24:12.995Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-05T10:24:12.995Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-05T10:24:13.268Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-05T10:24:13.866Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-05T10:24:13.866Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-05T10:24:13.866Z] Executing busybox-1.31.1-r20.trigger [2021-05-05T10:24:14.143Z] OK: 8 MiB in 19 packages [2021-05-05T10:24:15.125Z] Removing intermediate container c0d754ccd00c [2021-05-05T10:24:15.125Z] ---> 025a574de40a [2021-05-05T10:24:15.125Z] Step 14/23 : WORKDIR / [2021-05-05T10:24:15.401Z] ---> Running in b393d7960629 [2021-05-05T10:24:16.003Z] Removing intermediate container b393d7960629 [2021-05-05T10:24:16.003Z] ---> e0f76173b12b [2021-05-05T10:24:16.003Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-05T10:24:16.604Z] ---> 7cfaad510834 [2021-05-05T10:24:16.604Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-05T10:24:18.046Z] ---> b84370236a43 [2021-05-05T10:24:18.046Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-05T10:24:18.649Z] ---> 87ced8bc749d [2021-05-05T10:24:18.649Z] Step 18/23 : EXPOSE 49990 [2021-05-05T10:24:18.926Z] ---> Running in dd363f9cf463 [2021-05-05T10:24:19.205Z] Removing intermediate container dd363f9cf463 [2021-05-05T10:24:19.205Z] ---> 220bc8d6eebc [2021-05-05T10:24:19.205Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-05T10:24:19.485Z] ---> Running in b3e5d0bb8a35 [2021-05-05T10:24:19.768Z] Removing intermediate container b3e5d0bb8a35 [2021-05-05T10:24:19.768Z] ---> 244889aab2c0 [2021-05-05T10:24:19.768Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-05T10:24:20.042Z] ---> Running in fd1314663098 [2021-05-05T10:24:20.644Z] Removing intermediate container fd1314663098 [2021-05-05T10:24:20.644Z] ---> c7af8254e2d8 [2021-05-05T10:24:20.644Z] Step 21/23 : LABEL arch=arm64 [2021-05-05T10:24:20.644Z] ---> Running in 6fc04c3e85d0 [2021-05-05T10:24:20.923Z] Removing intermediate container 6fc04c3e85d0 [2021-05-05T10:24:20.923Z] ---> 446263c9e510 [2021-05-05T10:24:20.923Z] Step 22/23 : LABEL git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 [2021-05-05T10:24:21.200Z] ---> Running in 16466ce83729 [2021-05-05T10:24:21.479Z] Removing intermediate container 16466ce83729 [2021-05-05T10:24:21.479Z] ---> 1caa621479ad [2021-05-05T10:24:21.479Z] Step 23/23 : LABEL version=0.0.0 [2021-05-05T10:24:21.757Z] ---> Running in 697c5a1ab815 [2021-05-05T10:24:22.353Z] Removing intermediate container 697c5a1ab815 [2021-05-05T10:24:22.353Z] ---> 50780f096a78 [2021-05-05T10:24:22.353Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-05T10:24:22.353Z] Successfully built 50780f096a78 [2021-05-05T10:24:22.353Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:24:23.079Z] ---> job-cost.sh [2021-05-05T10:24:23.079Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4GOH [2021-05-05T10:25:02.051Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-05T10:26:38.816Z] lf-activate-venv(): INFO: Adding /tmp/venv-4GOH/bin to PATH [2021-05-05T10:26:38.816Z] INFO: No Stack... [2021-05-05T10:26:38.816Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-05T10:26:38.816Z] INFO: Archiving Costs [Pipeline] sh [2021-05-05T10:26:39.182Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-05T10:26:39.182Z] + cut -d, -f6 [Pipeline] lock [2021-05-05T10:26:39.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [2021-05-05T10:26:39.344Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] did not exist. Created. [2021-05-05T10:26:39.344Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-05T10:26:39.797Z] /w/workspace/device-sdk-go/1@tmp/durable-e43ff475/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e43ff475/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-05T10:26:40.167Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-05T10:26:40.217Z] Warning: overwriting stash ‘stack-cost’ [2021-05-05T10:26:40.364Z] Stashed 1 file(s) [Pipeline] } [2021-05-05T10:26:40.392Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-905-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-05-05T10:26:41.444Z] provisioning config files... [2021-05-05T10:26:41.458Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config2269476106862232729tmp [Pipeline] { [Pipeline] sh [2021-05-05T10:26:41.865Z] + set +x [2021-05-05T10:26:41.865Z] + bash -s -- [2021-05-05T10:26:41.865Z] + curl -s https://codecov.io/bash [2021-05-05T10:26:42.140Z] [2021-05-05T10:26:42.140Z] _____ _ [2021-05-05T10:26:42.140Z] / ____| | | [2021-05-05T10:26:42.140Z] | | ___ __| | ___ ___ _____ __ [2021-05-05T10:26:42.140Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-05T10:26:42.140Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-05T10:26:42.140Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-05T10:26:42.140Z] Bash-1.0.2 [2021-05-05T10:26:42.140Z] [2021-05-05T10:26:42.140Z] [2021-05-05T10:26:42.140Z] ==> git version 2.24.3 found [2021-05-05T10:26:42.140Z] ==> 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-05-05T10:26:42.140Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-05T10:26:42.140Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-05T10:26:42.140Z] ==> Jenkins CI detected. [2021-05-05T10:26:42.140Z] project root: . [2021-05-05T10:26:42.140Z] --> token set from env [2021-05-05T10:26:42.140Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-05T10:26:42.140Z] ==> Running gcov in . (disable via -X gcov) [2021-05-05T10:26:42.140Z] ==> Python coveragepy not found [2021-05-05T10:26:42.140Z] ==> Searching for coverage reports in: [2021-05-05T10:26:42.140Z] + . [2021-05-05T10:26:42.140Z] -> Found 1 reports [2021-05-05T10:26:42.140Z] ==> Detecting git/mercurial file structure [2021-05-05T10:26:42.140Z] ==> Reading reports [2021-05-05T10:26:42.411Z] + ./coverage.out bytes=100320 [2021-05-05T10:26:42.411Z] ==> Appending adjustments [2021-05-05T10:26:42.411Z] https://docs.codecov.io/docs/fixing-reports [2021-05-05T10:26:42.674Z] + Found adjustments [2021-05-05T10:26:42.674Z] ==> Gzipping contents [2021-05-05T10:26:42.674Z] 16K /tmp/codecov.ccMq8n.gz [2021-05-05T10:26:42.674Z] ==> Uploading reports [2021-05-05T10:26:42.674Z] url: https://codecov.io [2021-05-05T10:26:42.674Z] query: branch=PR-905&commit=c48d0fd9c0737fbf92a06ef469e542a1d1799588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-905%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=905&job=&cmd_args= [2021-05-05T10:26:42.674Z] -> Pinging Codecov [2021-05-05T10:26:42.674Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-905&commit=c48d0fd9c0737fbf92a06ef469e542a1d1799588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-905%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=905&job=&cmd_args= [2021-05-05T10:26:43.257Z] -> Uploading to [2021-05-05T10:26:43.257Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-05/7E55EF52A471D76F132DFD9A03CDDE97/c48d0fd9c0737fbf92a06ef469e542a1d1799588/cfd5a0d1-2287-491f-a585-2007e20f825a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210505T102642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45d5da44bad305e78057b2a27962209ad45e3dcf7529d5402ac85400952683f0 [2021-05-05T10:26:43.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-05T10:26:43.257Z] Dload Upload Total Spent Left Speed [2021-05-05T10:26:43.521Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13558 0 0 100 13558 0 32649 --:--:-- --:--:-- --:--:-- 32748 [2021-05-05T10:26:43.522Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] } [2021-05-05T10:26:43.546Z] 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-05-05T10:26:45.924Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:26:46.603Z] ---> package-listing.sh [2021-05-05T10:26:46.603Z] ++ facter osfamily [2021-05-05T10:26:46.603Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-05T10:26:46.603Z] + OS_FAMILY=redhat [2021-05-05T10:26:46.603Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-905 [2021-05-05T10:26:46.603Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-05T10:26:46.603Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-05T10:26:46.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-05T10:26:46.603Z] + PACKAGES=/tmp/packages_start.txt [2021-05-05T10:26:46.603Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-905 ']' [2021-05-05T10:26:46.603Z] + PACKAGES=/tmp/packages_end.txt [2021-05-05T10:26:46.603Z] + case "${OS_FAMILY}" in [2021-05-05T10:26:46.603Z] + rpm -qa [2021-05-05T10:26:46.603Z] + sort [2021-05-05T10:26:51.969Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-05T10:26:51.969Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-05T10:26:51.969Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-05T10:26:51.969Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-905 ']' [2021-05-05T10:26:51.969Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-905/archives/ [2021-05-05T10:26:51.969Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-905/archives/ [Pipeline] echo [2021-05-05T10:26:52.004Z] 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-905/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-05T10:26:52.325Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:26:52.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T10:26:52.938Z] [2021-05-05T10:26:52.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-05T10:26:53.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T10:26:53.310Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-05T10:26:53.310Z] df20fa9351a1: Pulling fs layer [2021-05-05T10:26:53.310Z] 36b3adc4ff6f: Pulling fs layer [2021-05-05T10:26:53.310Z] 8ad3a11d3b57: Pulling fs layer [2021-05-05T10:26:53.310Z] 46f8f816bc3b: Pulling fs layer [2021-05-05T10:26:53.310Z] 93b61091891f: Pulling fs layer [2021-05-05T10:26:53.310Z] 93b9cdb0e59b: Pulling fs layer [2021-05-05T10:26:53.310Z] 5e14af77c1be: Pulling fs layer [2021-05-05T10:26:53.310Z] 01666e4c0597: Pulling fs layer [2021-05-05T10:26:53.310Z] aa168da1d23b: Pulling fs layer [2021-05-05T10:26:53.310Z] 93b9cdb0e59b: Waiting [2021-05-05T10:26:53.310Z] 5e14af77c1be: Waiting [2021-05-05T10:26:53.310Z] 93b61091891f: Waiting [2021-05-05T10:26:53.310Z] 01666e4c0597: Waiting [2021-05-05T10:26:53.310Z] aa168da1d23b: Waiting [2021-05-05T10:26:53.310Z] 36b3adc4ff6f: Verifying Checksum [2021-05-05T10:26:53.310Z] 36b3adc4ff6f: Download complete [2021-05-05T10:26:53.583Z] 46f8f816bc3b: Verifying Checksum [2021-05-05T10:26:53.583Z] 46f8f816bc3b: Download complete [2021-05-05T10:26:53.583Z] df20fa9351a1: Verifying Checksum [2021-05-05T10:26:53.583Z] df20fa9351a1: Download complete [2021-05-05T10:26:53.583Z] 93b9cdb0e59b: Download complete [2021-05-05T10:26:53.583Z] 5e14af77c1be: Verifying Checksum [2021-05-05T10:26:53.583Z] 5e14af77c1be: Download complete [2021-05-05T10:26:53.583Z] 01666e4c0597: Verifying Checksum [2021-05-05T10:26:53.583Z] 01666e4c0597: Download complete [2021-05-05T10:26:53.583Z] 93b61091891f: Verifying Checksum [2021-05-05T10:26:53.583Z] 93b61091891f: Download complete [2021-05-05T10:26:53.855Z] 8ad3a11d3b57: Verifying Checksum [2021-05-05T10:26:53.855Z] 8ad3a11d3b57: Download complete [2021-05-05T10:26:53.855Z] df20fa9351a1: Pull complete [2021-05-05T10:26:54.128Z] 36b3adc4ff6f: Pull complete [2021-05-05T10:26:55.100Z] 8ad3a11d3b57: Pull complete [2021-05-05T10:26:55.100Z] 46f8f816bc3b: Pull complete [2021-05-05T10:26:56.517Z] aa168da1d23b: Verifying Checksum [2021-05-05T10:26:56.517Z] aa168da1d23b: Download complete [2021-05-05T10:26:56.517Z] 93b61091891f: Pull complete [2021-05-05T10:26:56.781Z] 93b9cdb0e59b: Pull complete [2021-05-05T10:26:56.781Z] 5e14af77c1be: Pull complete [2021-05-05T10:26:57.373Z] 01666e4c0597: Pull complete [2021-05-05T10:27:07.499Z] aa168da1d23b: Pull complete [2021-05-05T10:27:07.499Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-05T10:27:07.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-05T10:27:07.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-05T10:27:07.824Z] prd-centos7-docker-4c-2g-3028 does not seem to be running inside a container [2021-05-05T10:27:07.886Z] $ 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-905/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-905 -v /w/workspace/dgexfoundry_device-sdk-go_PR-905:/w/workspace/dgexfoundry_device-sdk-go_PR-905:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-05T10:27:11.027Z] $ docker top ed44103d660f5a479d4c0c0da51885ad5e4dd53988950a7b7890b5f54613b5d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-05T10:27:11.533Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-05T10:27:11.866Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-05T10:27:12.193Z] + ls /var/log/sa-host [2021-05-05T10:27:12.193Z] + sadf -c /var/log/sa-host/sa05 [2021-05-05T10:27:12.193Z] file_magic: OK [2021-05-05T10:27:12.193Z] HZ: Using current value: 100 [2021-05-05T10:27:12.193Z] file_header: OK [2021-05-05T10:27:12.193Z] 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-05-05T10:27:12.193Z] Statistics: [2021-05-05T10:27:12.193Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-05T10:27:12.193Z] File successfully converted to sysstat format version 12.2.1 [2021-05-05T10:27:12.193Z] + sadf -c /var/log/sa-host/sa23 [2021-05-05T10:27:12.193Z] file_magic: OK [2021-05-05T10:27:12.193Z] HZ: Using current value: 100 [2021-05-05T10:27:12.193Z] file_header: OK [2021-05-05T10:27:12.193Z] 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-05-05T10:27:12.193Z] Statistics: [2021-05-05T10:27:12.193Z] Hnuu...uuuununununu... [2021-05-05T10:27:12.193Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-05T10:27:12.894Z] provisioning config files... [2021-05-05T10:27:12.917Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config5946364482341856584tmp [Pipeline] { [Pipeline] echo [2021-05-05T10:27:12.991Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:27:13.363Z] ---> create-netrc.sh [Pipeline] } [2021-05-05T10:27:13.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-05T10:27:13.466Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:27:13.837Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-05T10:27:13.875Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:27:14.273Z] ---> sudo-logs.sh [2021-05-05T10:27:14.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-05T10:27:14.356Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:27:14.700Z] ---> job-cost.sh [2021-05-05T10:27:14.969Z] lf-activate-venv: SKIPPING [2021-05-05T10:27:14.969Z] DEBUG: total: 0.20999999344348907 [2021-05-05T10:27:14.969Z] INFO: Retrieving Stack Cost... [2021-05-05T10:27:15.929Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-05T10:27:16.511Z] INFO: Archiving Costs [Pipeline] echo [2021-05-05T10:27:16.549Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-05T10:27:16.896Z] ---> logs-deploy.sh [2021-05-05T10:27:16.897Z] lf-activate-venv: SKIPPING [2021-05-05T10:27:16.897Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-905/1 [2021-05-05T10:27:16.897Z] INFO: archiving workspace using pattern(s): [2021-05-05T10:27:18.830Z] Archives upload complete. [2021-05-05T10:27:18.831Z] INFO: archiving logs to Nexus