Pull request #900 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a6d8b77750f96f2bc258c0f41868b8ebbb4671a3+70dff52b8df9807f5114cad14836e8310fd11d9c (feb3ca1c1852859025b19d7c42288619876e5921) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3820’ is offline; ‘prd-centos7-docker-4c-2g-3822’ is offline; ‘prd-centos7-docker-4c-2g-3823’ is offline; ‘prd-centos7-docker-4c-2g-3824’ is offline; ‘prd-centos7-docker-4c-2g-3830’ is offline; ‘prd-centos7-docker-4c-2g-3832’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-3829’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3817’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3827’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3828’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3836 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) > 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/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 Commit message: "Merge branch 'master' into ut" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 80c53e719aff91ae985600ad7eb1f4c51c8f6884 # timeout=10 [Pipeline] timeout [2021-05-09T11:28:05.730Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T11:28:05.824Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T11:28:05.852Z] ========================================================= [2021-05-09T11:28:05.852Z] EdgeX Global Pipelines Version Info [2021-05-09T11:28:05.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:28:07.406Z] ------------------- [2021-05-09T11:28:07.407Z] stable info: [2021-05-09T11:28:07.407Z] ------------------- [2021-05-09T11:28:07.407Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T11:28:07.407Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:07.407Z] Message: update stable to v1.0.191 [2021-05-09T11:28:08.360Z] ------------------- [2021-05-09T11:28:08.360Z] experimental info: [2021-05-09T11:28:08.360Z] ------------------- [2021-05-09T11:28:08.360Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:08.360Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:08.360Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T11:28:08.478Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-09T11:28:08.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-09T11:28:08.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T11:28:08.547Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T11:28:08.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T11:28:08.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T11:28:08.617Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T11:28:08.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T11:28:08.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-09T11:28:08.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T11:28:08.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T11:28:08.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-09T11:28:08.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T11:28:08.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T11:28:08.839Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:28:08.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T11:28:08.884Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T11:28:08.909Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T11:28:08.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T11:28:08.956Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-09T11:28:08.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-09T11:28:09.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-09T11:28:09.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-09T11:28:09.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-09T11:28:09.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-09T11:28:09.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T11:28:09.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo [2021-05-09T11:28:09.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo [2021-05-09T11:28:09.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo [2021-05-09T11:28:09.198Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] echo [2021-05-09T11:28:09.222Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d8b77 [Pipeline] echo [2021-05-09T11:28:09.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:28:09.316Z] provisioning config files... [2021-05-09T11:28:09.345Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config253690615405617227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:28:09.662Z] ---> docker-login.sh [2021-05-09T11:28:09.662Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:28:09.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:09.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:09.928Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:09.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:09.928Z] [2021-05-09T11:28:09.928Z] Login Succeeded [2021-05-09T11:28:10.191Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:28:10.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:10.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:10.191Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:10.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:10.191Z] [2021-05-09T11:28:10.191Z] Login Succeeded [2021-05-09T11:28:10.191Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:28:10.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:10.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:10.460Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:10.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:10.460Z] [2021-05-09T11:28:10.460Z] Login Succeeded [2021-05-09T11:28:10.460Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:28:10.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:10.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:10.722Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:10.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:10.722Z] [2021-05-09T11:28:10.722Z] Login Succeeded [2021-05-09T11:28:10.722Z] docker.io [2021-05-09T11:28:10.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:10.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:10.986Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:10.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:10.986Z] [2021-05-09T11:28:10.986Z] Login Succeeded [2021-05-09T11:28:10.986Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:28:10.997Z] 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-09T11:28:11.455Z] + git log --format=format:%s -1 a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] echo [2021-05-09T11:28:11.537Z] GIT_COMMIT: a6d8b77750f96f2bc258c0f41868b8ebbb4671a3, Commit Message: Merge branch 'master' into ut [Pipeline] echo [2021-05-09T11:28:11.550Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:28:12.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:12.087Z] [2021-05-09T11:28:12.087Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:28:12.411Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:12.411Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T11:28:12.411Z] 31603596830f: Pulling fs layer [2021-05-09T11:28:12.411Z] 54011a49482f: Pulling fs layer [2021-05-09T11:28:12.411Z] a6820b24f6d8: Pulling fs layer [2021-05-09T11:28:12.411Z] f581987b2513: Pulling fs layer [2021-05-09T11:28:12.411Z] f581987b2513: Waiting [2021-05-09T11:28:12.411Z] 54011a49482f: Verifying Checksum [2021-05-09T11:28:12.411Z] 54011a49482f: Download complete [2021-05-09T11:28:12.411Z] 31603596830f: Verifying Checksum [2021-05-09T11:28:12.411Z] 31603596830f: Download complete [2021-05-09T11:28:12.686Z] f581987b2513: Verifying Checksum [2021-05-09T11:28:12.686Z] f581987b2513: Download complete [2021-05-09T11:28:12.686Z] a6820b24f6d8: Verifying Checksum [2021-05-09T11:28:12.686Z] a6820b24f6d8: Download complete [2021-05-09T11:28:12.952Z] 31603596830f: Pull complete [2021-05-09T11:28:12.952Z] 54011a49482f: Pull complete [2021-05-09T11:28:13.906Z] a6820b24f6d8: Pull complete [2021-05-09T11:28:14.172Z] f581987b2513: Pull complete [2021-05-09T11:28:14.172Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T11:28:14.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:14.172Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T11:28:14.277Z] prd-centos7-docker-4c-2g-3836 does not seem to be running inside a container [2021-05-09T11:28:14.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:28:16.261Z] $ docker top 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:28:16.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:16.418Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:16.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:16.633Z] $ docker exec 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent [2021-05-09T11:28:16.807Z] SSH_AUTH_SOCK=/tmp/ssh-VIcbw95dZ3aN/agent.13 [2021-05-09T11:28:16.807Z] SSH_AGENT_PID=19 [2021-05-09T11:28:16.817Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:16.941Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5718190665608444143.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5718190665608444143.key) [2021-05-09T11:28:16.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:17.299Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T11:28:17.314Z] $ docker exec --env ******** --env ******** 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent -k [2021-05-09T11:28:17.427Z] unset SSH_AUTH_SOCK; [2021-05-09T11:28:17.427Z] unset SSH_AGENT_PID; [2021-05-09T11:28:17.427Z] echo Agent pid 19 killed; [2021-05-09T11:28:17.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T11:28:17.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:17.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:17.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:17.691Z] $ docker exec 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent [2021-05-09T11:28:17.882Z] SSH_AUTH_SOCK=/tmp/ssh-thbkxxk09svc/agent.50 [2021-05-09T11:28:17.883Z] SSH_AGENT_PID=56 [2021-05-09T11:28:17.889Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:18.008Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6392916177797081736.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6392916177797081736.key) [2021-05-09T11:28:18.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:18.366Z] + git semver init [2021-05-09T11:28:18.366Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:28:18.366Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git [2021-05-09T11:28:18.366Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-09T11:28:18.366Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:28:18.366Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:18.366Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:28:18.366Z] # $SEMVER_BRANCH = PR-900 [2021-05-09T11:28:18.366Z] # $SEMVER_TEMP = /tmp/semver-089422313 [2021-05-09T11:28:18.366Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-09T11:28:19.309Z] # '/tmp/semver-089422313' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' [2021-05-09T11:28:19.309Z] # -> Force: false [2021-05-09T11:28:19.309Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } [2021-05-09T11:28:19.321Z] $ docker exec --env ******** --env ******** 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent -k [2021-05-09T11:28:19.443Z] unset SSH_AUTH_SOCK; [2021-05-09T11:28:19.444Z] unset SSH_AGENT_PID; [2021-05-09T11:28:19.444Z] echo Agent pid 56 killed; [2021-05-09T11:28:19.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:28:19.828Z] + git semver [Pipeline] } [2021-05-09T11:28:19.845Z] $ docker stop --time=1 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b [2021-05-09T11:28:21.491Z] $ docker rm -f 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:28:22.365Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T11:28:22.693Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T11:28:22.697Z] [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-09T11:28:37.883Z] Still waiting to schedule task [2021-05-09T11:28:37.883Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-09T11:28:37.886Z] Still waiting to schedule task [2021-05-09T11:28:37.887Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T11:30:39.498Z] Running on prd-centos7-docker-4c-2g-3839 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-09T11:30:39.523Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-09T11:30:46.039Z] using credential edgex-jenkins-ssh [2021-05-09T11:30:46.059Z] Cloning the remote Git repository [2021-05-09T11:30:46.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:30:46.357Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-09T11:30:46.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:30:46.477Z] > git --version # timeout=10 [2021-05-09T11:30:46.547Z] > git --version # 'git version 2.24.3' [2021-05-09T11:30:46.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:30:46.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:30:48.769Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:30:48.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-09T11:30:48.141Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:30:48.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-09T11:30:48.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:30:48.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:30:48.174Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T11:30:48.788Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:30:48.804Z] > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [2021-05-09T11:30:49.094Z] Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:30:49.094Z] Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) [2021-05-09T11:30:48.882Z] > git remote # timeout=10 [2021-05-09T11:30:48.913Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:30:48.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:30:48.945Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-09T11:30:48.970Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:30:49.101Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:30:49.163Z] > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [2021-05-09T11:30:53.429Z] Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:30:55.496Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:30:55.996Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:30:56.330Z] + sudo service docker restart [2021-05-09T11:30:56.330Z] + true [2021-05-09T11:30:56.330Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:30:58.338Z] provisioning config files... [2021-05-09T11:30:58.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config639927393048938490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:30:58.794Z] ---> docker-login.sh [2021-05-09T11:30:58.794Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:30:59.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:30:59.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:30:59.382Z] Configure a credential helper to remove this warning. See [2021-05-09T11:30:59.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:30:59.382Z] [2021-05-09T11:30:59.382Z] Login Succeeded [2021-05-09T11:30:59.382Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:30:59.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:30:59.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:30:59.672Z] Configure a credential helper to remove this warning. See [2021-05-09T11:30:59.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:30:59.672Z] [2021-05-09T11:30:59.672Z] Login Succeeded [2021-05-09T11:30:59.672Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:30:59.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:31:00.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:31:00.265Z] Configure a credential helper to remove this warning. See [2021-05-09T11:31:00.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:31:00.265Z] [2021-05-09T11:31:00.265Z] Login Succeeded [2021-05-09T11:31:00.265Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:31:00.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:31:00.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:31:00.551Z] Configure a credential helper to remove this warning. See [2021-05-09T11:31:00.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:31:00.551Z] [2021-05-09T11:31:00.551Z] Login Succeeded [2021-05-09T11:31:00.551Z] docker.io [2021-05-09T11:31:00.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:31:00.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:31:00.815Z] Configure a credential helper to remove this warning. See [2021-05-09T11:31:00.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:31:00.815Z] [2021-05-09T11:31:01.083Z] Login Succeeded [2021-05-09T11:31:01.083Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:31:01.102Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:31:01.372Z] ========================================================= [2021-05-09T11:31:01.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T11:31:01.372Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:31:01.699Z] + 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-09T11:31:01.977Z] Sending build context to Docker daemon 2.573MB [2021-05-09T11:31:01.977Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:31:01.977Z] Step 2/8 : FROM ${BASE} [2021-05-09T11:31:01.977Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T11:31:01.977Z] 540db60ca938: Pulling fs layer [2021-05-09T11:31:01.977Z] adcc1eea9eea: Pulling fs layer [2021-05-09T11:31:01.977Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T11:31:01.977Z] 0510c868ecb4: Pulling fs layer [2021-05-09T11:31:01.977Z] afea3b2eda06: Pulling fs layer [2021-05-09T11:31:01.977Z] 7809a108b3ef: Pulling fs layer [2021-05-09T11:31:01.977Z] f706445af74f: Pulling fs layer [2021-05-09T11:31:01.977Z] afea3b2eda06: Waiting [2021-05-09T11:31:01.977Z] 0510c868ecb4: Waiting [2021-05-09T11:31:01.977Z] 7809a108b3ef: Waiting [2021-05-09T11:31:01.977Z] f706445af74f: Waiting [2021-05-09T11:31:01.977Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T11:31:01.977Z] 4c4ab2625f07: Download complete [2021-05-09T11:31:01.977Z] adcc1eea9eea: Verifying Checksum [2021-05-09T11:31:01.977Z] adcc1eea9eea: Download complete [2021-05-09T11:31:02.266Z] afea3b2eda06: Verifying Checksum [2021-05-09T11:31:02.266Z] afea3b2eda06: Download complete [2021-05-09T11:31:02.266Z] 7809a108b3ef: Verifying Checksum [2021-05-09T11:31:02.266Z] 7809a108b3ef: Download complete [2021-05-09T11:31:02.266Z] 540db60ca938: Verifying Checksum [2021-05-09T11:31:02.266Z] 540db60ca938: Download complete [2021-05-09T11:31:02.879Z] 540db60ca938: Pull complete [2021-05-09T11:31:03.173Z] adcc1eea9eea: Pull complete [2021-05-09T11:31:03.458Z] 4c4ab2625f07: Pull complete [2021-05-09T11:31:05.468Z] f706445af74f: Download complete [2021-05-09T11:31:06.893Z] 0510c868ecb4: Verifying Checksum [2021-05-09T11:31:06.893Z] 0510c868ecb4: Download complete [2021-05-09T11:31:15.267Z] 0510c868ecb4: Pull complete [2021-05-09T11:31:15.267Z] afea3b2eda06: Pull complete [2021-05-09T11:31:15.546Z] 7809a108b3ef: Pull complete [2021-05-09T11:31:25.715Z] f706445af74f: Pull complete [2021-05-09T11:31:25.715Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T11:31:25.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T11:31:25.715Z] ---> b068be0155e3 [2021-05-09T11:31:25.715Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:31:25.715Z] ---> Running in 65ed9d790f5d [2021-05-09T11:31:25.715Z] Removing intermediate container 65ed9d790f5d [2021-05-09T11:31:25.715Z] ---> 38cfbd06ab16 [2021-05-09T11:31:25.715Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:31:25.715Z] ---> Running in 707f02e5eea9 [2021-05-09T11:31:25.988Z] Removing intermediate container 707f02e5eea9 [2021-05-09T11:31:25.988Z] ---> 7a1d94a1bd96 [2021-05-09T11:31:25.988Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-09T11:31:26.253Z] ---> Running in b288ef1042eb [2021-05-09T11:31:27.705Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:31:29.667Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:31:30.249Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-09T11:31:30.523Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:31:30.790Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-09T11:31:30.790Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:31:31.058Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-09T11:31:31.333Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:31:31.333Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:31:31.333Z] OK: 150 MiB in 46 packages [2021-05-09T11:31:32.215Z] Removing intermediate container b288ef1042eb [2021-05-09T11:31:32.215Z] ---> 50133416ac1a [2021-05-09T11:31:32.215Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-09T11:31:32.215Z] ---> Running in 4d928c572cd7 [2021-05-09T11:31:32.886Z] Removing intermediate container 4d928c572cd7 [2021-05-09T11:31:32.886Z] ---> 9c954bfc74e0 [2021-05-09T11:31:32.886Z] Step 7/8 : COPY . . [2021-05-09T11:31:34.319Z] ---> 9d6b0f380c0e [2021-05-09T11:31:34.319Z] Step 8/8 : RUN go mod download [2021-05-09T11:31:34.319Z] ---> Running in bb391d3005cb [2021-05-09T11:32:03.221Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3841 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-09T11:32:03.244Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-05-09T11:32:06.792Z] Removing intermediate container bb391d3005cb [2021-05-09T11:32:06.792Z] ---> 013c084ec03a [2021-05-09T11:32:06.792Z] Successfully built 013c084ec03a [2021-05-09T11:32:06.792Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:32:07.218Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:32:07.567Z] . [Pipeline] withDockerContainer [2021-05-09T11:32:07.907Z] prd-centos7-docker-4c-2g-3839 does not seem to be running inside a container [2021-05-09T11:32:08.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-09T11:32:08.992Z] using credential edgex-jenkins-ssh [2021-05-09T11:32:09.076Z] Cloning the remote Git repository [2021-05-09T11:32:09.643Z] $ docker top cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 -eo pid,comm [2021-05-09T11:32:09.180Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:32:09.347Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-05-09T11:32:09.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:32:09.417Z] > git --version # timeout=10 [2021-05-09T11:32:09.436Z] > git --version # 'git version 2.17.1' [2021-05-09T11:32:09.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:09.511Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh [2021-05-09T11:32:10.501Z] + go version [2021-05-09T11:32:10.501Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T11:32:10.587Z] $ docker stop --time=1 cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 [2021-05-09T11:32:10.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-09T11:32:10.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:32:10.829Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-09T11:32:10.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-09T11:32:10.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:10.882Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T11:32:11.493Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:32:11.697Z] Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:32:11.698Z] Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) [2021-05-09T11:32:11.513Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:32:11.532Z] > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [2021-05-09T11:32:11.628Z] > git remote # timeout=10 [2021-05-09T11:32:11.643Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:32:11.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:11.665Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-09T11:32:11.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:32:11.708Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:32:11.727Z] > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [2021-05-09T11:32:12.754Z] $ docker rm -f cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:32:13.976Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:32:13.976Z] . [Pipeline] withDockerContainer [2021-05-09T11:32:14.332Z] prd-centos7-docker-4c-2g-3839 does not seem to be running inside a container [2021-05-09T11:32:14.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-09T11:32:15.902Z] $ docker top d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 -eo pid,comm [2021-05-09T11:32:15.966Z] Commit message: "Merge branch 'master' into ut" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:32:16.969Z] + go mod tidy [2021-05-09T11:32:17.383Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:32:17.815Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:32:18.153Z] + + sudo service docker restart [2021-05-09T11:32:18.153Z] true [Pipeline] sh [2021-05-09T11:32:19.862Z] + make test [2021-05-09T11:32:19.862Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:32:20.815Z] provisioning config files... [2021-05-09T11:32:20.856Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8494253532145121471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:32:21.231Z] ---> docker-login.sh [2021-05-09T11:32:21.232Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:32:21.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:22.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:22.429Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:22.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:22.429Z] [2021-05-09T11:32:22.429Z] Login Succeeded [2021-05-09T11:32:22.429Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:32:22.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:22.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:22.976Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:22.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:22.976Z] [2021-05-09T11:32:22.976Z] Login Succeeded [2021-05-09T11:32:22.976Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:32:23.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:23.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:23.523Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:23.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:23.523Z] [2021-05-09T11:32:23.523Z] Login Succeeded [2021-05-09T11:32:23.523Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:32:23.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:24.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:24.071Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:24.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:24.071Z] [2021-05-09T11:32:24.071Z] Login Succeeded [2021-05-09T11:32:24.071Z] docker.io [2021-05-09T11:32:24.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:24.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:24.940Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:24.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:24.940Z] [2021-05-09T11:32:24.940Z] Login Succeeded [2021-05-09T11:32:24.940Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:32:24.957Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:32:25.283Z] ========================================================= [2021-05-09T11:32:25.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T11:32:25.283Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:32:25.632Z] + 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-09T11:32:26.237Z] Sending build context to Docker daemon 2.569MB [2021-05-09T11:32:26.238Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:32:26.238Z] Step 2/8 : FROM ${BASE} [2021-05-09T11:32:26.238Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T11:32:26.238Z] 595b0fe564bb: Pulling fs layer [2021-05-09T11:32:26.238Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T11:32:26.238Z] 316046926c0a: Pulling fs layer [2021-05-09T11:32:26.238Z] 4ebd0625c992: Pulling fs layer [2021-05-09T11:32:26.238Z] 207e8628e3a3: Pulling fs layer [2021-05-09T11:32:26.238Z] c791037a9be2: Pulling fs layer [2021-05-09T11:32:26.238Z] ffd874e62e21: Pulling fs layer [2021-05-09T11:32:26.238Z] 207e8628e3a3: Waiting [2021-05-09T11:32:26.238Z] 4ebd0625c992: Waiting [2021-05-09T11:32:26.238Z] c791037a9be2: Waiting [2021-05-09T11:32:26.238Z] ffd874e62e21: Waiting [2021-05-09T11:32:26.238Z] 316046926c0a: Verifying Checksum [2021-05-09T11:32:26.238Z] 316046926c0a: Download complete [2021-05-09T11:32:26.238Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T11:32:26.238Z] 7186ed65a4f7: Download complete [2021-05-09T11:32:26.517Z] 207e8628e3a3: Verifying Checksum [2021-05-09T11:32:26.517Z] 207e8628e3a3: Download complete [2021-05-09T11:32:26.517Z] c791037a9be2: Verifying Checksum [2021-05-09T11:32:26.517Z] c791037a9be2: Download complete [2021-05-09T11:32:26.517Z] 595b0fe564bb: Download complete [2021-05-09T11:32:27.118Z] 595b0fe564bb: Pull complete [2021-05-09T11:32:27.728Z] 7186ed65a4f7: Pull complete [2021-05-09T11:32:28.332Z] 316046926c0a: Pull complete [2021-05-09T11:32:28.947Z] ffd874e62e21: Verifying Checksum [2021-05-09T11:32:28.947Z] ffd874e62e21: Download complete [2021-05-09T11:32:30.385Z] 4ebd0625c992: Verifying Checksum [2021-05-09T11:32:30.385Z] 4ebd0625c992: Download complete [2021-05-09T11:32:35.604Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-09T11:32:40.575Z] 4ebd0625c992: Pull complete [2021-05-09T11:32:41.176Z] 207e8628e3a3: Pull complete [2021-05-09T11:32:41.451Z] c791037a9be2: Pull complete [2021-05-09T11:32:45.797Z] ffd874e62e21: Pull complete [2021-05-09T11:32:45.797Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T11:32:45.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T11:32:45.797Z] ---> cfc18b08335c [2021-05-09T11:32:45.797Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:32:47.793Z] ---> Running in 3aabe01e94d7 [2021-05-09T11:32:48.394Z] Removing intermediate container 3aabe01e94d7 [2021-05-09T11:32:48.394Z] ---> d5a68410c1c9 [2021-05-09T11:32:48.394Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:32:48.394Z] ---> Running in e99313721fea [2021-05-09T11:32:51.018Z] Removing intermediate container e99313721fea [2021-05-09T11:32:51.018Z] ---> 5b7bc9b57451 [2021-05-09T11:32:51.018Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-09T11:32:51.018Z] ---> Running in a7e9039ed308 [2021-05-09T11:32:51.608Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:32:53.567Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:32:56.170Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-09T11:32:56.170Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:32:56.170Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-09T11:32:56.441Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:32:56.441Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-09T11:32:56.713Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:32:56.983Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:32:56.983Z] OK: 139 MiB in 46 packages [2021-05-09T11:32:58.412Z] Removing intermediate container a7e9039ed308 [2021-05-09T11:32:58.412Z] ---> dace130d2944 [2021-05-09T11:32:58.412Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-09T11:32:58.412Z] ---> Running in 66b824048d9b [2021-05-09T11:32:59.004Z] Removing intermediate container 66b824048d9b [2021-05-09T11:32:59.004Z] ---> a68d93693b13 [2021-05-09T11:32:59.004Z] Step 7/8 : COPY . . [2021-05-09T11:33:00.437Z] ---> 14786ab613a3 [2021-05-09T11:33:00.437Z] Step 8/8 : RUN go mod download [2021-05-09T11:33:00.437Z] ---> Running in 9f666e4f273c [2021-05-09T11:33:15.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-09T11:33:15.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-09T11:33:15.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-09T11:33:19.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 25.4% of statements [2021-05-09T11:33:19.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-09T11:33:19.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 28.1% of statements [2021-05-09T11:33:19.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.128s coverage: 78.9% of statements [2021-05-09T11:33:20.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.095s coverage: 7.8% of statements [2021-05-09T11:33:20.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-09T11:33:20.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-09T11:33:20.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-09T11:33:20.839Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.108s coverage: 30.2% of statements [2021-05-09T11:33:20.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-09T11:33:20.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-09T11:33:20.839Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-09T11:33:21.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 58.4% of statements [2021-05-09T11:33:22.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.399s coverage: 89.2% of statements [2021-05-09T11:33:22.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-09T11:33:22.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 5.0% of statements [2021-05-09T11:33:22.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-09T11:33:22.661Z] GO111MODULE=on go vet ./... [2021-05-09T11:33:27.295Z] Removing intermediate container 9f666e4f273c [2021-05-09T11:33:27.295Z] ---> a71f337c6dcb [2021-05-09T11:33:27.295Z] Successfully built a71f337c6dcb [2021-05-09T11:33:27.295Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:33:27.639Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:33:27.640Z] . [Pipeline] withDockerContainer [2021-05-09T11:33:27.908Z] prd-ubuntu18.04-docker-arm64-4c-16g-3841 does not seem to be running inside a container [2021-05-09T11:33:27.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:33:29.545Z] $ docker top aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:33:30.509Z] + go version [2021-05-09T11:33:30.509Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T11:33:30.535Z] $ docker stop --time=1 aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 [2021-05-09T11:33:32.512Z] $ docker rm -f aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:33:33.235Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:33:33.235Z] . [Pipeline] withDockerContainer [2021-05-09T11:33:33.491Z] prd-ubuntu18.04-docker-arm64-4c-16g-3841 does not seem to be running inside a container [2021-05-09T11:33:33.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-09T11:33:35.101Z] $ docker top 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:33:36.056Z] + go mod tidy [Pipeline] sh [2021-05-09T11:33:37.313Z] + make test [2021-05-09T11:33:37.313Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-09T11:33:55.680Z] gofmt -l . [2021-05-09T11:33:55.680Z] [ "`gofmt -l .`" = "" ] [2021-05-09T11:33:55.680Z] ./bin/test-attribution-txt.sh [2021-05-09T11:33:55.680Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T11:33:56.021Z] $ docker stop --time=1 d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 [2021-05-09T11:33:58.015Z] $ docker rm -f d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:33:58.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T11:33:59.477Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-09T11:33:59.936Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-09T11:34:00.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T11:34:01.330Z] + ls -al . [2021-05-09T11:34:01.330Z] total 212 [2021-05-09T11:34:01.330Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 9 11:33 . [2021-05-09T11:34:01.330Z] drwxrwxr-x. 4 jenkins jenkins 28 May 9 11:30 .. [2021-05-09T11:34:01.330Z] drwxrwxr-x. 2 jenkins jenkins 64 May 9 11:30 bin [2021-05-09T11:34:01.330Z] -rw-r--r--. 1 jenkins jenkins 125561 May 9 11:33 coverage.out [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 987 May 9 11:30 Dockerfile.build [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 140 May 9 11:30 .dockerignore [2021-05-09T11:34:01.330Z] drwxrwxr-x. 5 jenkins jenkins 62 May 9 11:30 example [2021-05-09T11:34:01.330Z] drwxrwxr-x. 8 jenkins jenkins 179 May 9 11:30 .git [2021-05-09T11:34:01.330Z] drwxrwxr-x. 2 jenkins jenkins 103 May 9 11:30 .github [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 138 May 9 11:30 .gitignore [2021-05-09T11:34:01.330Z] -rw-r--r--. 1 jenkins jenkins 575 May 9 11:33 go.mod [2021-05-09T11:34:01.330Z] -rw-r--r--. 1 jenkins jenkins 20957 May 9 11:32 go.sum [2021-05-09T11:34:01.330Z] drwxrwxr-x. 14 jenkins jenkins 207 May 9 11:30 internal [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 901 May 9 11:30 Jenkinsfile [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 9 11:30 LICENSE [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 9 11:30 Makefile [2021-05-09T11:34:01.330Z] drwxrwxr-x. 4 jenkins jenkins 26 May 9 11:30 openapi [2021-05-09T11:34:01.330Z] drwxrwxr-x. 5 jenkins jenkins 50 May 9 11:30 pkg [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 9 11:30 README.md [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 9 11:30 RELEASE-NOTES.txt [2021-05-09T11:34:01.330Z] drwxrwxr-x. 4 jenkins jenkins 54 May 9 11:30 snap [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 5 May 9 11:28 VERSION [2021-05-09T11:34:01.330Z] -rw-rw-r--. 1 jenkins jenkins 222 May 9 11:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:34:01.700Z] + 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=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 --label arch=amd64 --label version=0.0.0 . [2021-05-09T11:34:02.311Z] Sending build context to Docker daemon 2.699MB [2021-05-09T11:34:02.311Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:34:02.311Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-09T11:34:02.311Z] ---> 013c084ec03a [2021-05-09T11:34:02.311Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-09T11:34:02.898Z] ---> Running in 03046372ece1 [2021-05-09T11:34:02.898Z] Removing intermediate container 03046372ece1 [2021-05-09T11:34:02.898Z] ---> e6f102b5ee42 [2021-05-09T11:34:02.898Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:34:03.184Z] ---> Running in 6a630d593e24 [2021-05-09T11:34:03.459Z] Removing intermediate container 6a630d593e24 [2021-05-09T11:34:03.460Z] ---> 6dcb0c538424 [2021-05-09T11:34:03.460Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:34:03.460Z] ---> Running in d3b5f09eccd5 [2021-05-09T11:34:05.440Z] Removing intermediate container d3b5f09eccd5 [2021-05-09T11:34:05.440Z] ---> c2f83067f1c3 [2021-05-09T11:34:05.440Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-09T11:34:05.440Z] ---> Running in 6bc57ac0da4e [2021-05-09T11:34:05.712Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:34:07.665Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:34:08.250Z] OK: 150 MiB in 46 packages [2021-05-09T11:34:09.233Z] Removing intermediate container 6bc57ac0da4e [2021-05-09T11:34:09.233Z] ---> 5c2e065137d1 [2021-05-09T11:34:09.233Z] Step 7/23 : COPY . . [2021-05-09T11:34:10.678Z] ---> da0d96931c61 [2021-05-09T11:34:10.678Z] Step 8/23 : RUN go mod download [2021-05-09T11:34:10.678Z] ---> Running in c7df09c83e80 [2021-05-09T11:34:12.076Z] Removing intermediate container c7df09c83e80 [2021-05-09T11:34:12.076Z] ---> c5c95d3d4954 [2021-05-09T11:34:12.076Z] Step 9/23 : RUN make build [2021-05-09T11:34:12.076Z] ---> Running in 4120fe79d7dd [2021-05-09T11:34:12.690Z] 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-09T11:34:31.187Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-09T11:34:31.461Z] Removing intermediate container 4120fe79d7dd [2021-05-09T11:34:31.461Z] ---> 9f75e6011367 [2021-05-09T11:34:31.461Z] Step 10/23 : FROM alpine:3.12 [2021-05-09T11:34:31.734Z] 3.12: Pulling from library/alpine [2021-05-09T11:34:32.004Z] 339de151aab4: Pulling fs layer [2021-05-09T11:34:32.004Z] 339de151aab4: Verifying Checksum [2021-05-09T11:34:32.004Z] 339de151aab4: Download complete [2021-05-09T11:34:32.271Z] 339de151aab4: Pull complete [2021-05-09T11:34:32.271Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:34:32.271Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:34:32.271Z] ---> 13621d1b12d4 [2021-05-09T11:34:32.271Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:34:32.545Z] ---> Running in 75db1527ec2b [2021-05-09T11:34:32.813Z] Removing intermediate container 75db1527ec2b [2021-05-09T11:34:32.813Z] ---> 8daea275e3ca [2021-05-09T11:34:32.813Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:34:32.813Z] ---> Running in 732ae02c5685 [2021-05-09T11:34:34.254Z] Removing intermediate container 732ae02c5685 [2021-05-09T11:34:34.255Z] ---> a1b6a875b2c8 [2021-05-09T11:34:34.255Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-09T11:34:34.255Z] ---> Running in 2f76851a8b36 [2021-05-09T11:34:34.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:34:36.265Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:34:36.904Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-09T11:34:36.904Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-09T11:34:37.187Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:34:38.649Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-09T11:34:38.649Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-09T11:34:38.649Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:34:38.649Z] OK: 8 MiB in 19 packages [2021-05-09T11:34:39.236Z] Removing intermediate container 2f76851a8b36 [2021-05-09T11:34:39.236Z] ---> 065b835d764f [2021-05-09T11:34:39.236Z] Step 14/23 : WORKDIR / [2021-05-09T11:34:39.549Z] ---> Running in 963a15f9a704 [2021-05-09T11:34:39.834Z] Removing intermediate container 963a15f9a704 [2021-05-09T11:34:39.834Z] ---> d25931e0412a [2021-05-09T11:34:39.834Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-09T11:34:40.453Z] ---> e9d4dfb50a01 [2021-05-09T11:34:40.453Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-09T11:34:42.005Z] ---> 625ddfb794fd [2021-05-09T11:34:42.005Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-09T11:34:42.285Z] ---> 31fb6732f51e [2021-05-09T11:34:42.285Z] Step 18/23 : EXPOSE 49990 [2021-05-09T11:34:42.285Z] ---> Running in b8136f429a87 [2021-05-09T11:34:42.569Z] Removing intermediate container b8136f429a87 [2021-05-09T11:34:42.569Z] ---> 226d51f85b32 [2021-05-09T11:34:42.569Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-09T11:34:42.875Z] ---> Running in f9d31408d04f [2021-05-09T11:34:43.208Z] Removing intermediate container f9d31408d04f [2021-05-09T11:34:43.208Z] ---> e284dfe4158b [2021-05-09T11:34:43.208Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T11:34:43.554Z] ---> Running in 80e765910deb [2021-05-09T11:34:43.880Z] Removing intermediate container 80e765910deb [2021-05-09T11:34:43.880Z] ---> ecf5cf29370c [2021-05-09T11:34:43.880Z] Step 21/23 : LABEL arch=amd64 [2021-05-09T11:34:44.156Z] ---> Running in 5f56805e2330 [2021-05-09T11:34:44.471Z] Removing intermediate container 5f56805e2330 [2021-05-09T11:34:44.471Z] ---> 758878fed774 [2021-05-09T11:34:44.471Z] Step 22/23 : LABEL git_sha=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:34:44.760Z] ---> Running in 4e9548c74df6 [2021-05-09T11:34:45.080Z] Removing intermediate container 4e9548c74df6 [2021-05-09T11:34:45.080Z] ---> b4073c2bbf43 [2021-05-09T11:34:45.080Z] Step 23/23 : LABEL version=0.0.0 [2021-05-09T11:34:45.363Z] ---> Running in 7f15b536b87b [2021-05-09T11:34:45.646Z] Removing intermediate container 7f15b536b87b [2021-05-09T11:34:45.646Z] ---> 0596451f4105 [2021-05-09T11:34:45.646Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-09T11:34:45.646Z] Successfully built 0596451f4105 [2021-05-09T11:34:46.196Z] 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-09T11:34:47.439Z] ---> job-cost.sh [2021-05-09T11:34:47.439Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YZzW [2021-05-09T11:35:07.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-09T11:35:07.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-09T11:35:07.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-09T11:35:14.336Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.229s coverage: 25.4% of statements [2021-05-09T11:35:14.336Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-09T11:35:14.336Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.179s coverage: 28.1% of statements [2021-05-09T11:35:14.336Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements [2021-05-09T11:35:14.336Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 7.8% of statements [2021-05-09T11:35:14.336Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-09T11:35:14.336Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-09T11:35:14.336Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-09T11:35:14.645Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:35:16.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.236s coverage: 30.2% of statements [2021-05-09T11:35:16.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-09T11:35:16.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-09T11:35:16.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-09T11:35:17.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 58.4% of statements [2021-05-09T11:35:20.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.191s coverage: 89.2% of statements [2021-05-09T11:35:20.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-09T11:35:20.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-05-09T11:35:20.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-09T11:35:20.021Z] GO111MODULE=on go vet ./... [2021-05-09T11:35:47.220Z] lf-activate-venv(): INFO: Adding /tmp/venv-YZzW/bin to PATH [2021-05-09T11:35:47.220Z] INFO: No Stack... [2021-05-09T11:35:50.028Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:35:51.077Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:35:51.492Z] + cut -d, -f6 [2021-05-09T11:35:51.492Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-05-09T11:35:51.819Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [2021-05-09T11:35:51.831Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] did not exist. Created. [2021-05-09T11:35:51.831Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:35:52.252Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-09T11:35:52.461Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:35:52.473Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T11:36:16.620Z] gofmt -l . [2021-05-09T11:36:16.620Z] [ "`gofmt -l .`" = "" ] [2021-05-09T11:36:16.620Z] ./bin/test-attribution-txt.sh [2021-05-09T11:36:16.620Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T11:36:16.643Z] $ docker stop --time=1 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 [2021-05-09T11:36:18.727Z] $ docker rm -f 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:36:19.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T11:36:19.833Z] Warning: overwriting stash ‘coverage-report’ [2021-05-09T11:36:20.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:36:21.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T11:36:21.688Z] + ls -al . [2021-05-09T11:36:21.688Z] total 248 [2021-05-09T11:36:21.688Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 11:36 . [2021-05-09T11:36:21.688Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 .. [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 11:32 .dockerignore [2021-05-09T11:36:21.688Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:32 .git [2021-05-09T11:36:21.688Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:32 .github [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 138 May 9 11:32 .gitignore [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 987 May 9 11:32 Dockerfile.build [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 901 May 9 11:32 Jenkinsfile [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 11:32 LICENSE [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 9 11:32 Makefile [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 9 11:32 README.md [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 9 11:32 RELEASE-NOTES.txt [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:28 VERSION [2021-05-09T11:36:21.688Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:32 bin [2021-05-09T11:36:21.688Z] -rw-r--r-- 1 jenkins jenkins 125561 May 9 11:35 coverage.out [2021-05-09T11:36:21.688Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 11:32 example [2021-05-09T11:36:21.688Z] -rw-r--r-- 1 jenkins jenkins 575 May 9 11:36 go.mod [2021-05-09T11:36:21.688Z] -rw-r--r-- 1 jenkins jenkins 20957 May 9 11:33 go.sum [2021-05-09T11:36:21.688Z] drwxrwxr-x 14 jenkins jenkins 4096 May 9 11:32 internal [2021-05-09T11:36:21.688Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 openapi [2021-05-09T11:36:21.688Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 11:32 pkg [2021-05-09T11:36:21.688Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 snap [2021-05-09T11:36:21.688Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 11:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:36:22.057Z] + 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=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 --label arch=arm64 --label version=0.0.0 . [2021-05-09T11:36:22.684Z] Sending build context to Docker daemon 2.695MB [2021-05-09T11:36:22.685Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:36:22.685Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-09T11:36:22.685Z] ---> a71f337c6dcb [2021-05-09T11:36:22.685Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-09T11:36:22.961Z] ---> Running in 5a1cfb503968 [2021-05-09T11:36:23.558Z] Removing intermediate container 5a1cfb503968 [2021-05-09T11:36:23.558Z] ---> 66cde8104de3 [2021-05-09T11:36:23.558Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:36:23.558Z] ---> Running in d42d44da54a9 [2021-05-09T11:36:24.150Z] Removing intermediate container d42d44da54a9 [2021-05-09T11:36:24.150Z] ---> 518f94911f9a [2021-05-09T11:36:24.150Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:36:24.150Z] ---> Running in 61d7a4531480 [2021-05-09T11:36:26.117Z] Removing intermediate container 61d7a4531480 [2021-05-09T11:36:26.117Z] ---> ebe004375925 [2021-05-09T11:36:26.117Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-09T11:36:26.388Z] ---> Running in 79d7881ab8ce [2021-05-09T11:36:27.362Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:36:29.321Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:36:30.747Z] OK: 139 MiB in 46 packages [2021-05-09T11:36:31.722Z] Removing intermediate container 79d7881ab8ce [2021-05-09T11:36:31.722Z] ---> 8d94d04f99fc [2021-05-09T11:36:31.722Z] Step 7/23 : COPY . . [2021-05-09T11:36:33.144Z] ---> 468e86ebf4b8 [2021-05-09T11:36:33.144Z] Step 8/23 : RUN go mod download [2021-05-09T11:36:33.144Z] ---> Running in 14fff353b9ff [2021-05-09T11:36:35.110Z] Removing intermediate container 14fff353b9ff [2021-05-09T11:36:35.110Z] ---> 0cc6c56edffc [2021-05-09T11:36:35.110Z] Step 9/23 : RUN make build [2021-05-09T11:36:35.110Z] ---> Running in 11edfd91966b [2021-05-09T11:36:36.545Z] 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-09T11:37:08.903Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-09T11:37:11.523Z] Removing intermediate container 11edfd91966b [2021-05-09T11:37:11.523Z] ---> 1f99b02582f6 [2021-05-09T11:37:11.523Z] Step 10/23 : FROM alpine:3.12 [2021-05-09T11:37:11.793Z] 3.12: Pulling from library/alpine [2021-05-09T11:37:12.065Z] d2f70382dc9a: Pulling fs layer [2021-05-09T11:37:12.065Z] d2f70382dc9a: Download complete [2021-05-09T11:37:12.674Z] d2f70382dc9a: Pull complete [2021-05-09T11:37:12.674Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:37:12.674Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:37:12.674Z] ---> 9852663dfa18 [2021-05-09T11:37:12.674Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-09T11:37:12.950Z] ---> Running in ce366569319c [2021-05-09T11:37:13.543Z] Removing intermediate container ce366569319c [2021-05-09T11:37:13.543Z] ---> bfc65a230cd2 [2021-05-09T11:37:13.543Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:37:13.543Z] ---> Running in 84843c435936 [2021-05-09T11:37:15.521Z] Removing intermediate container 84843c435936 [2021-05-09T11:37:15.521Z] ---> 83a5f2dadd54 [2021-05-09T11:37:15.521Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-09T11:37:15.794Z] ---> Running in 6b6bb6d71a51 [2021-05-09T11:37:16.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:37:18.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:37:19.625Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-09T11:37:19.625Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-09T11:37:19.625Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:37:20.216Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-09T11:37:20.216Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-09T11:37:20.489Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:37:20.489Z] OK: 8 MiB in 19 packages [2021-05-09T11:37:21.928Z] Removing intermediate container 6b6bb6d71a51 [2021-05-09T11:37:21.928Z] ---> a03b6fc8c314 [2021-05-09T11:37:21.928Z] Step 14/23 : WORKDIR / [2021-05-09T11:37:21.928Z] ---> Running in 7870426acd4d [2021-05-09T11:37:22.523Z] Removing intermediate container 7870426acd4d [2021-05-09T11:37:22.523Z] ---> d936e2af1a19 [2021-05-09T11:37:22.523Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-09T11:37:23.118Z] ---> 852a7e94c68e [2021-05-09T11:37:23.118Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-09T11:37:24.585Z] ---> 7b6c1e737ab8 [2021-05-09T11:37:24.585Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-09T11:37:25.180Z] ---> 402b96bba316 [2021-05-09T11:37:25.180Z] Step 18/23 : EXPOSE 49990 [2021-05-09T11:37:25.180Z] ---> Running in 97117cc99820 [2021-05-09T11:37:25.771Z] Removing intermediate container 97117cc99820 [2021-05-09T11:37:25.771Z] ---> a3463347e541 [2021-05-09T11:37:25.771Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-09T11:37:25.771Z] ---> Running in 8faebda4947f [2021-05-09T11:37:26.367Z] Removing intermediate container 8faebda4947f [2021-05-09T11:37:26.367Z] ---> daafaf3896b0 [2021-05-09T11:37:26.367Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T11:37:26.367Z] ---> Running in 1a0ac770f797 [2021-05-09T11:37:26.637Z] Removing intermediate container 1a0ac770f797 [2021-05-09T11:37:26.637Z] ---> 46b6524b0792 [2021-05-09T11:37:26.638Z] Step 21/23 : LABEL arch=arm64 [2021-05-09T11:37:26.910Z] ---> Running in 444704f56345 [2021-05-09T11:37:27.180Z] Removing intermediate container 444704f56345 [2021-05-09T11:37:27.180Z] ---> d7fbf77d3fb3 [2021-05-09T11:37:27.180Z] Step 22/23 : LABEL git_sha=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [2021-05-09T11:37:27.454Z] ---> Running in e7fb42f2d1a3 [2021-05-09T11:37:28.049Z] Removing intermediate container e7fb42f2d1a3 [2021-05-09T11:37:28.049Z] ---> d9614f5d82fd [2021-05-09T11:37:28.049Z] Step 23/23 : LABEL version=0.0.0 [2021-05-09T11:37:28.049Z] ---> Running in 1214f01c9df3 [2021-05-09T11:37:28.324Z] Removing intermediate container 1214f01c9df3 [2021-05-09T11:37:28.324Z] ---> bae32773f3d2 [2021-05-09T11:37:28.324Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-09T11:37:28.597Z] Successfully built bae32773f3d2 [2021-05-09T11:37:28.597Z] 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-09T11:37:29.053Z] ---> job-cost.sh [2021-05-09T11:37:29.053Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X2yO [2021-05-09T11:38:07.990Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:39:29.719Z] lf-activate-venv(): INFO: Adding /tmp/venv-X2yO/bin to PATH [2021-05-09T11:39:29.719Z] INFO: No Stack... [2021-05-09T11:39:30.687Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:39:30.958Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:39:31.291Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-05-09T11:39:31.291Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T11:39:31.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [2021-05-09T11:39:31.421Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] did not exist. Created. [2021-05-09T11:39:31.421Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:39:31.778Z] /w/workspace/device-sdk-go/4@tmp/durable-a4aa81f2/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-a4aa81f2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-09T11:39:32.121Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:39:32.141Z] Warning: overwriting stash ‘stack-cost’ [2021-05-09T11:39:32.300Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:39:32.313Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-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-09T11:39:33.243Z] provisioning config files... [2021-05-09T11:39:33.254Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config7764347143527693407tmp [Pipeline] { [Pipeline] sh [2021-05-09T11:39:33.581Z] + set +x [2021-05-09T11:39:33.581Z] + curl -s https://codecov.io/bash [2021-05-09T11:39:33.581Z] + bash -s -- [2021-05-09T11:39:33.843Z] [2021-05-09T11:39:33.843Z] _____ _ [2021-05-09T11:39:33.843Z] / ____| | | [2021-05-09T11:39:33.843Z] | | ___ __| | ___ ___ _____ __ [2021-05-09T11:39:33.843Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-09T11:39:33.843Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-09T11:39:33.843Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-09T11:39:33.843Z] Bash-1.0.2 [2021-05-09T11:39:33.843Z] [2021-05-09T11:39:33.843Z] [2021-05-09T11:39:33.843Z] ==> git version 2.24.3 found [2021-05-09T11:39:33.843Z] ==> 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-09T11:39:33.843Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-09T11:39:33.843Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-09T11:39:33.843Z] ==> Jenkins CI detected. [2021-05-09T11:39:33.843Z] project root: . [2021-05-09T11:39:33.843Z] --> token set from env [2021-05-09T11:39:33.843Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-09T11:39:33.843Z] ==> Running gcov in . (disable via -X gcov) [2021-05-09T11:39:33.843Z] ==> Python coveragepy not found [2021-05-09T11:39:33.843Z] ==> Searching for coverage reports in: [2021-05-09T11:39:33.843Z] + . [2021-05-09T11:39:33.843Z] -> Found 1 reports [2021-05-09T11:39:33.843Z] ==> Detecting git/mercurial file structure [2021-05-09T11:39:33.843Z] ==> Reading reports [2021-05-09T11:39:33.843Z] + ./coverage.out bytes=125561 [2021-05-09T11:39:33.843Z] ==> Appending adjustments [2021-05-09T11:39:33.843Z] https://docs.codecov.io/docs/fixing-reports [2021-05-09T11:39:34.106Z] + Found adjustments [2021-05-09T11:39:34.106Z] ==> Gzipping contents [2021-05-09T11:39:34.106Z] 16K /tmp/codecov.espU45.gz [2021-05-09T11:39:34.106Z] ==> Uploading reports [2021-05-09T11:39:34.106Z] url: https://codecov.io [2021-05-09T11:39:34.106Z] query: branch=PR-900&commit=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-09T11:39:34.106Z] -> Pinging Codecov [2021-05-09T11:39:34.107Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-09T11:39:34.680Z] -> Uploading to [2021-05-09T11:39:34.680Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-09/7E55EF52A471D76F132DFD9A03CDDE97/a6d8b77750f96f2bc258c0f41868b8ebbb4671a3/c9c722a7-631c-4df4-9379-f03b074f492b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T113934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df4cdc6ce93ad9933a6ee355acd0acf8f5378e7c2a4ee3d6de0502638e7a0982 [2021-05-09T11:39:34.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-09T11:39:34.680Z] Dload Upload Total Spent Left Speed [2021-05-09T11:39:35.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16333 0 0 100 16333 0 40446 --:--:-- --:--:-- --:--:-- 40428 100 16333 0 0 100 16333 0 40430 --:--:-- --:--:-- --:--:-- 40428 [2021-05-09T11:39:35.255Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] } [2021-05-09T11:39:35.267Z] 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-09T11:39:36.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:39:36.779Z] ---> package-listing.sh [2021-05-09T11:39:36.779Z] ++ facter osfamily [2021-05-09T11:39:36.779Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:39:36.779Z] + OS_FAMILY=redhat [2021-05-09T11:39:36.779Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-09T11:39:36.779Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:39:36.779Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:39:36.779Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:39:36.779Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:39:36.779Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-09T11:39:36.779Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:39:36.779Z] + case "${OS_FAMILY}" in [2021-05-09T11:39:36.779Z] + rpm -qa [2021-05-09T11:39:36.779Z] + sort [2021-05-09T11:39:42.100Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:39:42.100Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:39:42.100Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:39:42.100Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-09T11:39:42.100Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [2021-05-09T11:39:42.100Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo [2021-05-09T11:39:42.115Z] 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-09T11:39:42.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:39:42.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:39:42.726Z] [2021-05-09T11:39:42.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:39:43.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:39:43.063Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:39:43.063Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:39:43.063Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:39:43.063Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:39:43.063Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:39:43.063Z] 93b61091891f: Pulling fs layer [2021-05-09T11:39:43.063Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:39:43.063Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:39:43.063Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:39:43.063Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:39:43.063Z] 01666e4c0597: Waiting [2021-05-09T11:39:43.063Z] 93b9cdb0e59b: Waiting [2021-05-09T11:39:43.063Z] 5e14af77c1be: Waiting [2021-05-09T11:39:43.063Z] aa168da1d23b: Waiting [2021-05-09T11:39:43.063Z] 46f8f816bc3b: Waiting [2021-05-09T11:39:43.063Z] 93b61091891f: Waiting [2021-05-09T11:39:43.063Z] 36b3adc4ff6f: Download complete [2021-05-09T11:39:43.063Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:39:43.063Z] 46f8f816bc3b: Download complete [2021-05-09T11:39:43.063Z] df20fa9351a1: Download complete [2021-05-09T11:39:43.063Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:39:43.063Z] 93b9cdb0e59b: Download complete [2021-05-09T11:39:43.333Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:39:43.333Z] 5e14af77c1be: Download complete [2021-05-09T11:39:43.333Z] 93b61091891f: Verifying Checksum [2021-05-09T11:39:43.333Z] 93b61091891f: Download complete [2021-05-09T11:39:43.333Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:39:43.333Z] 01666e4c0597: Download complete [2021-05-09T11:39:43.333Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:39:43.333Z] 8ad3a11d3b57: Download complete [2021-05-09T11:39:43.598Z] df20fa9351a1: Pull complete [2021-05-09T11:39:43.867Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:39:44.454Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:39:44.718Z] 46f8f816bc3b: Pull complete [2021-05-09T11:39:45.673Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:39:45.673Z] aa168da1d23b: Download complete [2021-05-09T11:39:45.935Z] 93b61091891f: Pull complete [2021-05-09T11:39:45.935Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:39:46.199Z] 5e14af77c1be: Pull complete [2021-05-09T11:39:46.199Z] 01666e4c0597: Pull complete [2021-05-09T11:39:54.402Z] aa168da1d23b: Pull complete [2021-05-09T11:39:54.665Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:39:54.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:39:54.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:39:54.920Z] prd-centos7-docker-4c-2g-3836 does not seem to be running inside a container [2021-05-09T11:39:54.973Z] $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:39:57.780Z] $ docker top 015fe490c72ce712c8a49695a3d7df69a315e31e4de3c4da729ee971092e8931 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:39:58.191Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:39:58.493Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:39:58.796Z] + ls /var/log/sa-host [2021-05-09T11:39:58.796Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:39:58.796Z] file_magic: OK [2021-05-09T11:39:58.796Z] HZ: Using current value: 100 [2021-05-09T11:39:58.796Z] file_header: OK [2021-05-09T11:39:58.796Z] 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-09T11:39:58.796Z] Statistics: [2021-05-09T11:39:58.796Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-09T11:39:58.796Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:39:58.796Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:39:58.796Z] file_magic: OK [2021-05-09T11:39:58.796Z] HZ: Using current value: 100 [2021-05-09T11:39:58.796Z] file_header: OK [2021-05-09T11:39:58.796Z] 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-09T11:39:58.796Z] Statistics: [2021-05-09T11:39:58.796Z] Hnuu...uuuununununu... [2021-05-09T11:39:58.796Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:39:59.382Z] provisioning config files... [2021-05-09T11:39:59.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config7170501903271119709tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:39:59.422Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:39:59.722Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:39:59.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:39:59.761Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:40:00.061Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:40:00.074Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:40:00.375Z] ---> sudo-logs.sh [2021-05-09T11:40:00.375Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:40:00.405Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:40:00.704Z] ---> job-cost.sh [2021-05-09T11:40:00.704Z] lf-activate-venv: SKIPPING [2021-05-09T11:40:00.704Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:40:00.704Z] INFO: Retrieving Stack Cost... [2021-05-09T11:40:01.652Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:40:02.230Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:40:02.249Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:40:02.550Z] ---> logs-deploy.sh [2021-05-09T11:40:02.550Z] lf-activate-venv: SKIPPING [2021-05-09T11:40:02.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/4 [2021-05-09T11:40:02.550Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:40:04.475Z] Archives upload complete. [2021-05-09T11:40:04.475Z] INFO: archiving logs to Nexus [2021-05-09T11:40:05.422Z] ---> uname -a: [2021-05-09T11:40:05.422Z] Linux prd-centos7-docker-4c-2g-3836.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-09T11:40:05.422Z] [2021-05-09T11:40:05.422Z] [2021-05-09T11:40:05.422Z] ---> lscpu: [2021-05-09T11:40:05.423Z] Architecture: x86_64 [2021-05-09T11:40:05.423Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-09T11:40:05.423Z] Byte Order: Little Endian [2021-05-09T11:40:05.423Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-09T11:40:05.423Z] CPU(s): 4 [2021-05-09T11:40:05.423Z] On-line CPU(s) list: 0-3 [2021-05-09T11:40:05.423Z] Thread(s) per core: 1 [2021-05-09T11:40:05.423Z] Core(s) per socket: 1 [2021-05-09T11:40:05.423Z] Socket(s): 4 [2021-05-09T11:40:05.423Z] NUMA node(s): 1 [2021-05-09T11:40:05.423Z] Vendor ID: GenuineIntel [2021-05-09T11:40:05.423Z] CPU family: 6 [2021-05-09T11:40:05.423Z] Model: 44 [2021-05-09T11:40:05.423Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-09T11:40:05.423Z] Stepping: 1 [2021-05-09T11:40:05.423Z] CPU MHz: 2933.442 [2021-05-09T11:40:05.423Z] BogoMIPS: 5866.88 [2021-05-09T11:40:05.423Z] Virtualization: VT-x [2021-05-09T11:40:05.423Z] Hypervisor vendor: KVM [2021-05-09T11:40:05.423Z] Virtualization type: full [2021-05-09T11:40:05.423Z] L1d cache: 128 KiB [2021-05-09T11:40:05.423Z] L1i cache: 128 KiB [2021-05-09T11:40:05.423Z] L2 cache: 16 MiB [2021-05-09T11:40:05.423Z] L3 cache: 64 MiB [2021-05-09T11:40:05.423Z] NUMA node0 CPU(s): 0-3 [2021-05-09T11:40:05.423Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-09T11:40:05.423Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-09T11:40:05.423Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-09T11:40:05.423Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-09T11:40:05.423Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-09T11:40:05.423Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-09T11:40:05.423Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-09T11:40:05.423Z] Vulnerability Srbds: Not affected [2021-05-09T11:40:05.423Z] Vulnerability Tsx async abort: Not affected [2021-05-09T11:40:05.423Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] ---> nproc: [2021-05-09T11:40:05.423Z] 4 [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] ---> df -h: [2021-05-09T11:40:05.423Z] Filesystem Size Used Available Use% Mounted on [2021-05-09T11:40:05.423Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-09T11:40:05.423Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-09T11:40:05.423Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-09T11:40:05.423Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-09T11:40:05.423Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] ---> free -m: [2021-05-09T11:40:05.423Z] total used free shared buff/cache available [2021-05-09T11:40:05.423Z] Mem: 1837 695 96 0 1044 1037 [2021-05-09T11:40:05.423Z] Swap: 1023 1 1022 [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z] ---> ip addr: [2021-05-09T11:40:05.423Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-09T11:40:05.423Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-09T11:40:05.423Z] inet 127.0.0.1/8 scope host lo [2021-05-09T11:40:05.423Z] valid_lft forever preferred_lft forever [2021-05-09T11:40:05.423Z] inet6 ::1/128 scope host [2021-05-09T11:40:05.423Z] valid_lft forever preferred_lft forever [2021-05-09T11:40:05.423Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-09T11:40:05.423Z] link/ether fa:16:3e:7e:69:59 brd ff:ff:ff:ff:ff:ff [2021-05-09T11:40:05.423Z] inet 10.30.123.101/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-09T11:40:05.423Z] valid_lft 85648sec preferred_lft 85648sec [2021-05-09T11:40:05.423Z] inet6 fe80::f816:3eff:fe7e:6959/64 scope link [2021-05-09T11:40:05.423Z] valid_lft forever preferred_lft forever [2021-05-09T11:40:05.423Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-09T11:40:05.423Z] link/ether 02:42:46:bf:a8:2c brd ff:ff:ff:ff:ff:ff [2021-05-09T11:40:05.423Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-09T11:40:05.423Z] valid_lft forever preferred_lft forever [2021-05-09T11:40:05.423Z] inet6 fe80::42:46ff:febf:a82c/64 scope link [2021-05-09T11:40:05.423Z] valid_lft forever preferred_lft forever [2021-05-09T11:40:05.423Z] [2021-05-09T11:40:05.423Z]