Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (0db6fec619b414cc08d70f0db55417ccd1f3c618) 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4240 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing c763ee5280991fd424af314741a617bc5fa09c19 Checking out Revision c763ee5280991fd424af314741a617bc5fa09c19 (PR-725) > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c763ee5280991fd424af314741a617bc5fa09c19 # timeout=10 Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 8900d2ec7da814012faf0094bf31f898361a3aca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T22:44:44.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T22:44:44.904Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T22:44:44.934Z] ========================================================= [2021-05-10T22:44:44.934Z] EdgeX Global Pipelines Version Info [2021-05-10T22:44:44.934Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:44:46.462Z] ------------------- [2021-05-10T22:44:46.462Z] stable info: [2021-05-10T22:44:46.462Z] ------------------- [2021-05-10T22:44:46.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T22:44:46.462Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T22:44:46.462Z] Message: update stable to v1.0.191 [2021-05-10T22:44:47.410Z] ------------------- [2021-05-10T22:44:47.410Z] experimental info: [2021-05-10T22:44:47.410Z] ------------------- [2021-05-10T22:44:47.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T22:44:47.410Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T22:44:47.410Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T22:44:47.538Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-10T22:44:47.563Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-10T22:44:47.587Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T22:44:47.611Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T22:44:47.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T22:44:47.678Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T22:44:47.701Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T22:44:47.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T22:44:47.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-10T22:44:47.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T22:44:47.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T22:44:47.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-10T22:44:47.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T22:44:47.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T22:44:47.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T22:44:47.930Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:44:47.955Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:44:47.979Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T22:44:48.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T22:44:48.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T22:44:48.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T22:44:48.072Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T22:44:48.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T22:44:48.139Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T22:44:48.162Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T22:44:48.185Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T22:44:48.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-05-10T22:44:48.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-05-10T22:44:48.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-05-10T22:44:48.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c763ee5280991fd424af314741a617bc5fa09c19 [Pipeline] echo [2021-05-10T22:44:48.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c763ee5 [Pipeline] echo [2021-05-10T22:44:48.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T22:44:48.460Z] provisioning config files... [2021-05-10T22:44:48.492Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5586958837096695224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:44:48.818Z] ---> docker-login.sh [2021-05-10T22:44:48.818Z] nexus3.edgexfoundry.org:10001 [2021-05-10T22:44:49.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:44:49.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:44:49.083Z] Configure a credential helper to remove this warning. See [2021-05-10T22:44:49.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:44:49.083Z] [2021-05-10T22:44:49.083Z] Login Succeeded [2021-05-10T22:44:49.083Z] nexus3.edgexfoundry.org:10002 [2021-05-10T22:44:49.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:44:49.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:44:49.348Z] Configure a credential helper to remove this warning. See [2021-05-10T22:44:49.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:44:49.348Z] [2021-05-10T22:44:49.348Z] Login Succeeded [2021-05-10T22:44:49.348Z] nexus3.edgexfoundry.org:10003 [2021-05-10T22:44:49.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:44:49.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:44:49.611Z] Configure a credential helper to remove this warning. See [2021-05-10T22:44:49.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:44:49.611Z] [2021-05-10T22:44:49.611Z] Login Succeeded [2021-05-10T22:44:49.611Z] nexus3.edgexfoundry.org:10004 [2021-05-10T22:44:49.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:44:49.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:44:49.874Z] Configure a credential helper to remove this warning. See [2021-05-10T22:44:49.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:44:49.874Z] [2021-05-10T22:44:49.874Z] Login Succeeded [2021-05-10T22:44:49.874Z] docker.io [2021-05-10T22:44:49.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:44:50.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:44:50.138Z] Configure a credential helper to remove this warning. See [2021-05-10T22:44:50.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:44:50.138Z] [2021-05-10T22:44:50.138Z] Login Succeeded [2021-05-10T22:44:50.138Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T22:44:50.149Z] 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-10T22:44:50.601Z] + git log --format=format:%s -1 c763ee5280991fd424af314741a617bc5fa09c19 [Pipeline] echo [2021-05-10T22:44:50.692Z] GIT_COMMIT: c763ee5280991fd424af314741a617bc5fa09c19, Commit Message: Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD [Pipeline] echo [2021-05-10T22:44:50.724Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:44:51.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:44:51.684Z] [2021-05-10T22:44:51.684Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:44:51.999Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:44:51.999Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T22:44:51.999Z] 31603596830f: Pulling fs layer [2021-05-10T22:44:51.999Z] 54011a49482f: Pulling fs layer [2021-05-10T22:44:51.999Z] a6820b24f6d8: Pulling fs layer [2021-05-10T22:44:51.999Z] f581987b2513: Pulling fs layer [2021-05-10T22:44:51.999Z] f581987b2513: Waiting [2021-05-10T22:44:51.999Z] 54011a49482f: Verifying Checksum [2021-05-10T22:44:51.999Z] 54011a49482f: Download complete [2021-05-10T22:44:52.267Z] 31603596830f: Verifying Checksum [2021-05-10T22:44:52.267Z] 31603596830f: Download complete [2021-05-10T22:44:52.267Z] a6820b24f6d8: Verifying Checksum [2021-05-10T22:44:52.267Z] a6820b24f6d8: Download complete [2021-05-10T22:44:52.267Z] f581987b2513: Verifying Checksum [2021-05-10T22:44:52.267Z] f581987b2513: Download complete [2021-05-10T22:44:52.530Z] 31603596830f: Pull complete [2021-05-10T22:44:52.795Z] 54011a49482f: Pull complete [2021-05-10T22:44:53.751Z] a6820b24f6d8: Pull complete [2021-05-10T22:44:53.751Z] f581987b2513: Pull complete [2021-05-10T22:44:54.013Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T22:44:54.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T22:44:54.013Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T22:44:54.122Z] prd-centos7-docker-4c-2g-4240 does not seem to be running inside a container [2021-05-10T22:44:54.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T22:44:56.083Z] $ docker top a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T22:44:56.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T22:44:56.238Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T22:44:56.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T22:44:56.466Z] $ docker exec a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae ssh-agent [2021-05-10T22:44:56.637Z] SSH_AUTH_SOCK=/tmp/ssh-ia4MJv9kyqxY/agent.12 [2021-05-10T22:44:56.637Z] SSH_AGENT_PID=18 [2021-05-10T22:44:56.649Z] Running ssh-add (command line suppressed) [2021-05-10T22:44:56.766Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1158736144438641613.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1158736144438641613.key) [2021-05-10T22:44:56.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T22:44:57.127Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T22:44:57.152Z] $ docker exec --env ******** --env ******** a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae ssh-agent -k [2021-05-10T22:44:57.279Z] unset SSH_AUTH_SOCK; [2021-05-10T22:44:57.279Z] unset SSH_AGENT_PID; [2021-05-10T22:44:57.279Z] echo Agent pid 18 killed; [2021-05-10T22:44:57.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T22:44:57.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T22:44:57.375Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T22:44:57.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T22:44:57.566Z] $ docker exec a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae ssh-agent [2021-05-10T22:44:57.740Z] SSH_AUTH_SOCK=/tmp/ssh-kuFZyPhAjsy9/agent.46 [2021-05-10T22:44:57.740Z] SSH_AGENT_PID=51 [2021-05-10T22:44:57.750Z] Running ssh-add (command line suppressed) [2021-05-10T22:44:57.883Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7930361521051754708.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7930361521051754708.key) [2021-05-10T22:44:57.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T22:44:58.236Z] + git semver init [2021-05-10T22:44:58.236Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T22:44:58.236Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-05-10T22:44:58.236Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-10T22:44:58.236Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T22:44:58.236Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T22:44:58.236Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T22:44:58.236Z] # $SEMVER_BRANCH = PR-725 [2021-05-10T22:44:58.236Z] # $SEMVER_TEMP = /tmp/semver-352402428 [2021-05-10T22:44:58.236Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-10T22:44:59.202Z] # '/tmp/semver-352402428' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-05-10T22:44:59.465Z] # -> Force: false [2021-05-10T22:44:59.465Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-05-10T22:44:59.481Z] $ docker exec --env ******** --env ******** a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae ssh-agent -k [2021-05-10T22:44:59.600Z] unset SSH_AUTH_SOCK; [2021-05-10T22:44:59.601Z] unset SSH_AGENT_PID; [2021-05-10T22:44:59.601Z] echo Agent pid 51 killed; [2021-05-10T22:44:59.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T22:44:59.983Z] + git semver [Pipeline] } [2021-05-10T22:45:00.004Z] $ docker stop --time=1 a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae [2021-05-10T22:45:01.496Z] $ docker rm -f a038288c845a00983e06eceefc81ac0fe53f634f603f692b35def249a515b6ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:45:01.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T22:45:02.216Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T22:45:02.219Z] [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-10T22:45:17.426Z] Still waiting to schedule task [2021-05-10T22:45:17.426Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T22:45:17.429Z] Still waiting to schedule task [2021-05-10T22:45:17.430Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T22:48:08.666Z] Running on prd-centos7-docker-4c-2g-4241 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-10T22:48:08.687Z] Running in /w/workspace/device-sdk-go/42 [Pipeline] { [Pipeline] checkout [2021-05-10T22:48:11.477Z] using credential edgex-jenkins-ssh [2021-05-10T22:48:11.495Z] Cloning the remote Git repository [2021-05-10T22:48:11.526Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:48:11.597Z] > git init /w/workspace/device-sdk-go/42 # timeout=10 [2021-05-10T22:48:11.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:48:11.662Z] > git --version # timeout=10 [2021-05-10T22:48:11.669Z] > git --version # 'git version 2.24.3' [2021-05-10T22:48:11.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:48:11.696Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:48:12.929Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-05-10T22:48:13.134Z] Merge succeeded, producing fe05cf1b9d5de415e2e42c54807deedff42be53a [2021-05-10T22:48:13.134Z] Checking out Revision fe05cf1b9d5de415e2e42c54807deedff42be53a (PR-725) [2021-05-10T22:48:12.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T22:48:12.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:48:12.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T22:48:12.429Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:48:12.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:48:12.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T22:48:12.938Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:48:12.947Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-05-10T22:48:13.002Z] > git remote # timeout=10 [2021-05-10T22:48:13.008Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T22:48:13.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:48:13.017Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-10T22:48:13.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T22:48:13.138Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:48:13.143Z] > git checkout -f fe05cf1b9d5de415e2e42c54807deedff42be53a # timeout=10 [2021-05-10T22:48:16.754Z] Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" [2021-05-10T22:48:16.766Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T22:48:16.759Z] > git rev-list --no-walk 8900d2ec7da814012faf0094bf31f898361a3aca # timeout=10 [2021-05-10T22:48:17.821Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:48:18.145Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:48:18.441Z] + sudo service docker restart [2021-05-10T22:48:18.441Z] + true [2021-05-10T22:48:18.441Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T22:48:20.404Z] provisioning config files... [2021-05-10T22:48:20.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/42@tmp/config6059848580824022655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:48:20.757Z] ---> docker-login.sh [2021-05-10T22:48:20.757Z] nexus3.edgexfoundry.org:10001 [2021-05-10T22:48:21.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:48:21.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:48:21.019Z] Configure a credential helper to remove this warning. See [2021-05-10T22:48:21.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:48:21.019Z] [2021-05-10T22:48:21.019Z] Login Succeeded [2021-05-10T22:48:21.019Z] nexus3.edgexfoundry.org:10002 [2021-05-10T22:48:21.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:48:21.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:48:21.283Z] Configure a credential helper to remove this warning. See [2021-05-10T22:48:21.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:48:21.283Z] [2021-05-10T22:48:21.283Z] Login Succeeded [2021-05-10T22:48:21.283Z] nexus3.edgexfoundry.org:10003 [2021-05-10T22:48:21.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:48:21.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:48:21.545Z] Configure a credential helper to remove this warning. See [2021-05-10T22:48:21.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:48:21.545Z] [2021-05-10T22:48:21.545Z] Login Succeeded [2021-05-10T22:48:21.545Z] nexus3.edgexfoundry.org:10004 [2021-05-10T22:48:21.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:48:21.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:48:21.808Z] Configure a credential helper to remove this warning. See [2021-05-10T22:48:21.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:48:21.808Z] [2021-05-10T22:48:21.808Z] Login Succeeded [2021-05-10T22:48:21.808Z] docker.io [2021-05-10T22:48:21.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:48:22.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:48:22.072Z] Configure a credential helper to remove this warning. See [2021-05-10T22:48:22.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:48:22.072Z] [2021-05-10T22:48:22.072Z] Login Succeeded [2021-05-10T22:48:22.072Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T22:48:22.082Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T22:48:22.292Z] ========================================================= [2021-05-10T22:48:22.292Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T22:48:22.292Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:48:22.598Z] + 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-10T22:48:22.862Z] Sending build context to Docker daemon 2.528MB [2021-05-10T22:48:22.862Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T22:48:22.862Z] Step 2/8 : FROM ${BASE} [2021-05-10T22:48:22.862Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T22:48:22.862Z] 540db60ca938: Pulling fs layer [2021-05-10T22:48:22.862Z] adcc1eea9eea: Pulling fs layer [2021-05-10T22:48:22.862Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T22:48:22.862Z] 0510c868ecb4: Pulling fs layer [2021-05-10T22:48:22.862Z] afea3b2eda06: Pulling fs layer [2021-05-10T22:48:22.862Z] 7809a108b3ef: Pulling fs layer [2021-05-10T22:48:22.862Z] f706445af74f: Pulling fs layer [2021-05-10T22:48:22.862Z] afea3b2eda06: Waiting [2021-05-10T22:48:22.862Z] 7809a108b3ef: Waiting [2021-05-10T22:48:22.862Z] f706445af74f: Waiting [2021-05-10T22:48:22.862Z] 0510c868ecb4: Waiting [2021-05-10T22:48:22.862Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T22:48:22.862Z] 4c4ab2625f07: Download complete [2021-05-10T22:48:22.862Z] adcc1eea9eea: Verifying Checksum [2021-05-10T22:48:22.862Z] adcc1eea9eea: Download complete [2021-05-10T22:48:22.862Z] afea3b2eda06: Verifying Checksum [2021-05-10T22:48:22.862Z] afea3b2eda06: Download complete [2021-05-10T22:48:22.862Z] 540db60ca938: Verifying Checksum [2021-05-10T22:48:22.862Z] 7809a108b3ef: Verifying Checksum [2021-05-10T22:48:22.862Z] 7809a108b3ef: Download complete [2021-05-10T22:48:23.128Z] 540db60ca938: Pull complete [2021-05-10T22:48:23.390Z] adcc1eea9eea: Pull complete [2021-05-10T22:48:23.652Z] 4c4ab2625f07: Pull complete [2021-05-10T22:48:25.046Z] f706445af74f: Verifying Checksum [2021-05-10T22:48:25.046Z] f706445af74f: Download complete [2021-05-10T22:48:26.007Z] 0510c868ecb4: Verifying Checksum [2021-05-10T22:48:26.007Z] 0510c868ecb4: Download complete [2021-05-10T22:48:31.346Z] 0510c868ecb4: Pull complete [2021-05-10T22:48:31.346Z] afea3b2eda06: Pull complete [2021-05-10T22:48:31.346Z] 7809a108b3ef: Pull complete [2021-05-10T22:48:35.597Z] f706445af74f: Pull complete [2021-05-10T22:48:35.597Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T22:48:35.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T22:48:35.597Z] ---> b068be0155e3 [2021-05-10T22:48:35.597Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:48:35.860Z] ---> Running in 44910b19b206 [2021-05-10T22:48:36.127Z] Removing intermediate container 44910b19b206 [2021-05-10T22:48:36.127Z] ---> 5da117e97943 [2021-05-10T22:48:36.127Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:48:36.127Z] ---> Running in 9a4d3b07fba3 [2021-05-10T22:48:37.079Z] Removing intermediate container 9a4d3b07fba3 [2021-05-10T22:48:37.080Z] ---> 22892dde9962 [2021-05-10T22:48:37.080Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T22:48:37.342Z] ---> Running in e51054fd81ca [2021-05-10T22:48:38.290Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T22:48:40.221Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T22:48:41.178Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T22:48:41.178Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T22:48:41.441Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T22:48:41.441Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T22:48:41.704Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T22:48:41.968Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T22:48:41.968Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T22:48:41.968Z] OK: 150 MiB in 46 packages [2021-05-10T22:48:42.919Z] Removing intermediate container e51054fd81ca [2021-05-10T22:48:42.919Z] ---> 478213073dcd [2021-05-10T22:48:42.919Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T22:48:42.919Z] ---> Running in bc9568200136 [2021-05-10T22:48:42.919Z] Removing intermediate container bc9568200136 [2021-05-10T22:48:42.919Z] ---> f756ff1ad41e [2021-05-10T22:48:42.919Z] Step 7/8 : COPY . . [2021-05-10T22:48:44.323Z] ---> c95031d706d6 [2021-05-10T22:48:44.323Z] Step 8/8 : RUN go mod download [2021-05-10T22:48:44.323Z] ---> Running in 6adc8b6c93ae [2021-05-10T22:49:06.369Z] Removing intermediate container 6adc8b6c93ae [2021-05-10T22:49:06.369Z] ---> 578a6dbda9ae [2021-05-10T22:49:06.369Z] Successfully built 578a6dbda9ae [2021-05-10T22:49:06.369Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:49:06.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T22:49:06.694Z] . [Pipeline] withDockerContainer [2021-05-10T22:49:06.818Z] prd-centos7-docker-4c-2g-4241 does not seem to be running inside a container [2021-05-10T22:49:06.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@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 ******** ci-base-image-x86_64 cat [2021-05-10T22:49:07.767Z] $ docker top 1b07a661c750081d0791f35c6f1a44c240a0ebce3ba7d0cc02b3dc10d4b753d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:49:08.223Z] + go version [2021-05-10T22:49:08.224Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T22:49:08.240Z] $ docker stop --time=1 1b07a661c750081d0791f35c6f1a44c240a0ebce3ba7d0cc02b3dc10d4b753d2 [2021-05-10T22:49:09.595Z] $ docker rm -f 1b07a661c750081d0791f35c6f1a44c240a0ebce3ba7d0cc02b3dc10d4b753d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:49:10.101Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T22:49:10.101Z] . [Pipeline] withDockerContainer [2021-05-10T22:49:10.200Z] prd-centos7-docker-4c-2g-4241 does not seem to be running inside a container [2021-05-10T22:49:10.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@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 ******** ci-base-image-x86_64 cat [2021-05-10T22:49:10.868Z] $ docker top 4646c92f69a3e4259da398519166ffd2933d61b484c28cbaea51e26b6a4147dd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:49:11.303Z] + go mod tidy [Pipeline] sh [2021-05-10T22:49:12.201Z] + make test [2021-05-10T22:49:12.201Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T22:49:20.449Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T22:49:37.108Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4242 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-10T22:49:37.131Z] Running in /w/workspace/device-sdk-go/42 [Pipeline] { [Pipeline] checkout [2021-05-10T22:49:42.872Z] using credential edgex-jenkins-ssh [2021-05-10T22:49:42.891Z] Cloning the remote Git repository [2021-05-10T22:49:43.027Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:49:43.239Z] > git init /w/workspace/device-sdk-go/42 # timeout=10 [2021-05-10T22:49:43.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:49:43.344Z] > git --version # timeout=10 [2021-05-10T22:49:43.374Z] > git --version # 'git version 2.17.1' [2021-05-10T22:49:43.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:49:43.486Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:49:44.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T22:49:44.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T22:49:44.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T22:49:44.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T22:49:44.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:49:44.843Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T22:49:45.444Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-05-10T22:49:45.854Z] Merge succeeded, producing 02a9dd96c97dcfdddac8522d6d74725c05e638ef [2021-05-10T22:49:45.855Z] Checking out Revision 02a9dd96c97dcfdddac8522d6d74725c05e638ef (PR-725) [2021-05-10T22:49:45.464Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:49:45.481Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-05-10T22:49:45.596Z] > git remote # timeout=10 [2021-05-10T22:49:45.612Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T22:49:45.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T22:49:45.643Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-10T22:49:45.841Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T22:49:45.862Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T22:49:45.879Z] > git checkout -f 02a9dd96c97dcfdddac8522d6d74725c05e638ef # timeout=10 [2021-05-10T22:49:47.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T22:49:47.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T22:49:47.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T22:49:47.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 25.4% of statements [2021-05-10T22:49:47.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T22:49:47.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.083s coverage: 28.1% of statements [2021-05-10T22:49:47.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-05-10T22:49:48.177Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.088s coverage: 10.7% of statements [2021-05-10T22:49:48.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T22:49:48.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T22:49:48.177Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T22:49:48.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.106s coverage: 30.2% of statements [2021-05-10T22:49:48.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T22:49:48.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T22:49:48.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T22:49:48.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T22:49:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 58.4% of statements [2021-05-10T22:49:50.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.242s coverage: 89.2% of statements [2021-05-10T22:49:50.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T22:49:50.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-05-10T22:49:50.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T22:49:50.126Z] GO111MODULE=on go vet ./... [2021-05-10T22:49:50.196Z] Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" [2021-05-10T22:49:50.219Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T22:49:50.207Z] > git rev-list --no-walk 8900d2ec7da814012faf0094bf31f898361a3aca # timeout=10 [2021-05-10T22:49:51.577Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:49:52.011Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T22:49:52.352Z] + true [2021-05-10T22:49:52.352Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T22:49:55.023Z] provisioning config files... [2021-05-10T22:49:55.089Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/42@tmp/config6426144899107679912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:49:55.480Z] ---> docker-login.sh [2021-05-10T22:49:55.480Z] nexus3.edgexfoundry.org:10001 [2021-05-10T22:49:56.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:49:56.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:49:56.677Z] Configure a credential helper to remove this warning. See [2021-05-10T22:49:56.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:49:56.677Z] [2021-05-10T22:49:56.677Z] Login Succeeded [2021-05-10T22:49:56.677Z] nexus3.edgexfoundry.org:10002 [2021-05-10T22:49:56.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:49:56.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:49:56.950Z] Configure a credential helper to remove this warning. See [2021-05-10T22:49:56.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:49:56.950Z] [2021-05-10T22:49:56.950Z] Login Succeeded [2021-05-10T22:49:56.950Z] nexus3.edgexfoundry.org:10003 [2021-05-10T22:49:57.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:49:57.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:49:57.553Z] Configure a credential helper to remove this warning. See [2021-05-10T22:49:57.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:49:57.553Z] [2021-05-10T22:49:57.553Z] Login Succeeded [2021-05-10T22:49:57.553Z] nexus3.edgexfoundry.org:10004 [2021-05-10T22:49:57.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:49:58.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:49:58.103Z] Configure a credential helper to remove this warning. See [2021-05-10T22:49:58.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:49:58.103Z] [2021-05-10T22:49:58.103Z] Login Succeeded [2021-05-10T22:49:58.103Z] docker.io [2021-05-10T22:49:58.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T22:49:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T22:49:58.973Z] Configure a credential helper to remove this warning. See [2021-05-10T22:49:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T22:49:58.973Z] [2021-05-10T22:49:58.973Z] Login Succeeded [2021-05-10T22:49:58.973Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T22:49:58.990Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T22:49:59.320Z] ========================================================= [2021-05-10T22:49:59.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T22:49:59.320Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:49:59.666Z] + 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-10T22:50:00.271Z] Sending build context to Docker daemon 2.53MB [2021-05-10T22:50:00.271Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T22:50:00.271Z] Step 2/8 : FROM ${BASE} [2021-05-10T22:50:00.271Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T22:50:00.271Z] 595b0fe564bb: Pulling fs layer [2021-05-10T22:50:00.271Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T22:50:00.271Z] 316046926c0a: Pulling fs layer [2021-05-10T22:50:00.271Z] 4ebd0625c992: Pulling fs layer [2021-05-10T22:50:00.271Z] 207e8628e3a3: Pulling fs layer [2021-05-10T22:50:00.271Z] c791037a9be2: Pulling fs layer [2021-05-10T22:50:00.271Z] ffd874e62e21: Pulling fs layer [2021-05-10T22:50:00.271Z] 4ebd0625c992: Waiting [2021-05-10T22:50:00.271Z] 207e8628e3a3: Waiting [2021-05-10T22:50:00.271Z] c791037a9be2: Waiting [2021-05-10T22:50:00.271Z] 316046926c0a: Verifying Checksum [2021-05-10T22:50:00.271Z] 316046926c0a: Download complete [2021-05-10T22:50:00.271Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T22:50:00.271Z] 7186ed65a4f7: Download complete [2021-05-10T22:50:00.271Z] 207e8628e3a3: Verifying Checksum [2021-05-10T22:50:00.271Z] 207e8628e3a3: Download complete [2021-05-10T22:50:00.271Z] c791037a9be2: Download complete [2021-05-10T22:50:00.271Z] 595b0fe564bb: Verifying Checksum [2021-05-10T22:50:00.271Z] 595b0fe564bb: Download complete [2021-05-10T22:50:00.879Z] 595b0fe564bb: Pull complete [2021-05-10T22:50:01.503Z] 7186ed65a4f7: Pull complete [2021-05-10T22:50:02.106Z] 316046926c0a: Pull complete [2021-05-10T22:50:02.707Z] ffd874e62e21: Verifying Checksum [2021-05-10T22:50:02.707Z] ffd874e62e21: Download complete [2021-05-10T22:50:04.151Z] 4ebd0625c992: Verifying Checksum [2021-05-10T22:50:04.151Z] 4ebd0625c992: Download complete [2021-05-10T22:50:12.244Z] gofmt -l . [2021-05-10T22:50:12.244Z] [ "`gofmt -l .`" = "" ] [2021-05-10T22:50:12.244Z] ./bin/test-attribution-txt.sh [2021-05-10T22:50:12.244Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T22:50:12.264Z] $ docker stop --time=1 4646c92f69a3e4259da398519166ffd2933d61b484c28cbaea51e26b6a4147dd [2021-05-10T22:50:13.952Z] $ docker rm -f 4646c92f69a3e4259da398519166ffd2933d61b484c28cbaea51e26b6a4147dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:50:14.320Z] 4ebd0625c992: Pull complete [2021-05-10T22:50:14.320Z] 207e8628e3a3: Pull complete [2021-05-10T22:50:14.590Z] + sudo chown -R jenkins:jenkins . [2021-05-10T22:50:14.595Z] c791037a9be2: Pull complete [Pipeline] stash [2021-05-10T22:50:14.981Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T22:50:17.990Z] ffd874e62e21: Pull complete [2021-05-10T22:50:17.990Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T22:50:17.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T22:50:17.990Z] ---> cfc18b08335c [2021-05-10T22:50:17.990Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:50:18.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T22:50:18.337Z] + ls -al . [2021-05-10T22:50:18.337Z] total 212 [2021-05-10T22:50:18.337Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 10 22:50 . [2021-05-10T22:50:18.337Z] drwxrwxr-x. 4 jenkins jenkins 30 May 10 22:48 .. [2021-05-10T22:50:18.337Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 22:48 bin [2021-05-10T22:50:18.337Z] -rw-r--r--. 1 jenkins jenkins 124140 May 10 22:49 coverage.out [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 987 May 10 22:48 Dockerfile.build [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 140 May 10 22:48 .dockerignore [2021-05-10T22:50:18.337Z] drwxrwxr-x. 5 jenkins jenkins 62 May 10 22:48 example [2021-05-10T22:50:18.337Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 22:48 .git [2021-05-10T22:50:18.337Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 22:48 .github [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 138 May 10 22:48 .gitignore [2021-05-10T22:50:18.337Z] -rw-r--r--. 1 jenkins jenkins 575 May 10 22:50 go.mod [2021-05-10T22:50:18.337Z] -rw-r--r--. 1 jenkins jenkins 20637 May 10 22:49 go.sum [2021-05-10T22:50:18.337Z] drwxrwxr-x. 15 jenkins jenkins 222 May 10 22:48 internal [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 894 May 10 22:48 Jenkinsfile [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 10 22:48 LICENSE [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 10 22:48 Makefile [2021-05-10T22:50:18.337Z] drwxrwxr-x. 4 jenkins jenkins 26 May 10 22:48 openapi [2021-05-10T22:50:18.337Z] drwxrwxr-x. 5 jenkins jenkins 50 May 10 22:48 pkg [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 10 22:48 README.md [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 10 22:48 RELEASE-NOTES.txt [2021-05-10T22:50:18.337Z] drwxrwxr-x. 4 jenkins jenkins 54 May 10 22:48 snap [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 22:45 VERSION [2021-05-10T22:50:18.337Z] -rw-rw-r--. 1 jenkins jenkins 222 May 10 22:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:50:18.649Z] + docker build -t 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=c763ee5280991fd424af314741a617bc5fa09c19 --label arch=amd64 --label version=0.0.0 . [2021-05-10T22:50:18.913Z] Sending build context to Docker daemon 2.653MB [2021-05-10T22:50:18.913Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T22:50:18.913Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T22:50:18.913Z] ---> 578a6dbda9ae [2021-05-10T22:50:18.913Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T22:50:19.488Z] ---> Running in c81bae6b0c51 [2021-05-10T22:50:19.751Z] Removing intermediate container c81bae6b0c51 [2021-05-10T22:50:19.751Z] ---> 377474f75601 [2021-05-10T22:50:19.751Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:50:19.751Z] ---> Running in c074ebed8e1a [2021-05-10T22:50:20.013Z] Removing intermediate container c074ebed8e1a [2021-05-10T22:50:20.013Z] ---> e3342eb0b541 [2021-05-10T22:50:20.013Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:50:20.013Z] ---> Running in d5f56413520e [2021-05-10T22:50:20.629Z] ---> Running in 4a79296bc295 [2021-05-10T22:50:20.965Z] Removing intermediate container d5f56413520e [2021-05-10T22:50:20.965Z] ---> 050d1691f4c8 [2021-05-10T22:50:20.965Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T22:50:21.223Z] Removing intermediate container 4a79296bc295 [2021-05-10T22:50:21.223Z] ---> 6f8f84500c16 [2021-05-10T22:50:21.223Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:50:21.223Z] ---> Running in 753ea27331d6 [2021-05-10T22:50:21.238Z] ---> Running in 51cc698b41a5 [2021-05-10T22:50:21.818Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T22:50:23.211Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T22:50:23.858Z] Removing intermediate container 753ea27331d6 [2021-05-10T22:50:23.858Z] ---> 19863fb19487 [2021-05-10T22:50:23.858Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T22:50:23.858Z] ---> Running in 223a0fc13bcf [2021-05-10T22:50:24.159Z] OK: 150 MiB in 46 packages [2021-05-10T22:50:24.739Z] Removing intermediate container 51cc698b41a5 [2021-05-10T22:50:24.739Z] ---> cb96c09d2bd8 [2021-05-10T22:50:24.739Z] Step 7/23 : COPY . . [2021-05-10T22:50:24.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T22:50:26.135Z] ---> 700350b86814 [2021-05-10T22:50:26.135Z] Step 8/23 : RUN go mod download [2021-05-10T22:50:26.135Z] ---> Running in dcdf35f81eb0 [2021-05-10T22:50:26.826Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T22:50:27.082Z] Removing intermediate container dcdf35f81eb0 [2021-05-10T22:50:27.082Z] ---> 559b02a65a2c [2021-05-10T22:50:27.082Z] Step 9/23 : RUN make build [2021-05-10T22:50:27.082Z] ---> Running in 9a624456e756 [2021-05-10T22:50:27.351Z] 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-10T22:50:30.200Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T22:50:30.200Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T22:50:30.200Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T22:50:30.201Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T22:50:30.201Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T22:50:30.471Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T22:50:30.742Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T22:50:30.742Z] OK: 139 MiB in 46 packages [2021-05-10T22:50:32.171Z] Removing intermediate container 223a0fc13bcf [2021-05-10T22:50:32.172Z] ---> 95fe94041dcb [2021-05-10T22:50:32.172Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T22:50:32.172Z] ---> Running in f3253867521e [2021-05-10T22:50:32.765Z] Removing intermediate container f3253867521e [2021-05-10T22:50:32.765Z] ---> 17708615cc1b [2021-05-10T22:50:32.765Z] Step 7/8 : COPY . . [2021-05-10T22:50:34.215Z] ---> 41fc8b4b3939 [2021-05-10T22:50:34.215Z] Step 8/8 : RUN go mod download [2021-05-10T22:50:34.215Z] ---> Running in d6f0658438b6 [2021-05-10T22:50:39.676Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T22:50:40.631Z] Removing intermediate container 9a624456e756 [2021-05-10T22:50:40.631Z] ---> a81a5fa338f2 [2021-05-10T22:50:40.631Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T22:50:40.892Z] 3.12: Pulling from library/alpine [2021-05-10T22:50:41.157Z] 339de151aab4: Pulling fs layer [2021-05-10T22:50:41.157Z] 339de151aab4: Verifying Checksum [2021-05-10T22:50:41.157Z] 339de151aab4: Download complete [2021-05-10T22:50:41.420Z] 339de151aab4: Pull complete [2021-05-10T22:50:41.420Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T22:50:41.685Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T22:50:41.685Z] ---> 13621d1b12d4 [2021-05-10T22:50:41.685Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:50:41.685Z] ---> Running in a67b3872f974 [2021-05-10T22:50:41.948Z] Removing intermediate container a67b3872f974 [2021-05-10T22:50:41.948Z] ---> 6c0dd740645e [2021-05-10T22:50:41.948Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:50:41.948Z] ---> Running in d07029141799 [2021-05-10T22:50:42.904Z] Removing intermediate container d07029141799 [2021-05-10T22:50:42.904Z] ---> c9975051ede0 [2021-05-10T22:50:42.904Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T22:50:43.169Z] ---> Running in b543240d1c61 [2021-05-10T22:50:43.432Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T22:50:44.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T22:50:45.423Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T22:50:45.687Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T22:50:45.687Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T22:50:46.637Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T22:50:46.900Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T22:50:47.164Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T22:50:47.164Z] OK: 8 MiB in 19 packages [2021-05-10T22:50:47.739Z] Removing intermediate container b543240d1c61 [2021-05-10T22:50:47.739Z] ---> 06625c203a37 [2021-05-10T22:50:47.739Z] Step 14/23 : WORKDIR / [2021-05-10T22:50:47.739Z] ---> Running in 9d6ad98dbea9 [2021-05-10T22:50:47.739Z] Removing intermediate container 9d6ad98dbea9 [2021-05-10T22:50:47.739Z] ---> 8fb40bc2b0e5 [2021-05-10T22:50:47.739Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T22:50:48.001Z] ---> 5d2e1f3f573f [2021-05-10T22:50:48.001Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T22:50:48.579Z] ---> 9633546a958e [2021-05-10T22:50:48.579Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T22:50:48.842Z] ---> d05c89801cab [2021-05-10T22:50:48.842Z] Step 18/23 : EXPOSE 49990 [2021-05-10T22:50:49.104Z] ---> Running in 480b65c17550 [2021-05-10T22:50:49.104Z] Removing intermediate container 480b65c17550 [2021-05-10T22:50:49.104Z] ---> 66e8815b2948 [2021-05-10T22:50:49.104Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T22:50:49.366Z] ---> Running in 9ad2e918edce [2021-05-10T22:50:49.366Z] Removing intermediate container 9ad2e918edce [2021-05-10T22:50:49.366Z] ---> 2547b2e200b9 [2021-05-10T22:50:49.366Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T22:50:49.630Z] ---> Running in 3ca0cfb74f36 [2021-05-10T22:50:49.630Z] Removing intermediate container 3ca0cfb74f36 [2021-05-10T22:50:49.630Z] ---> 1537219ea075 [2021-05-10T22:50:49.630Z] Step 21/23 : LABEL arch=amd64 [2021-05-10T22:50:49.895Z] ---> Running in eebe1e69cb87 [2021-05-10T22:50:49.895Z] Removing intermediate container eebe1e69cb87 [2021-05-10T22:50:49.895Z] ---> 51de18f2c11e [2021-05-10T22:50:49.895Z] Step 22/23 : LABEL git_sha=c763ee5280991fd424af314741a617bc5fa09c19 [2021-05-10T22:50:49.895Z] ---> Running in d9fdbf88ca4c [2021-05-10T22:50:50.161Z] Removing intermediate container d9fdbf88ca4c [2021-05-10T22:50:50.161Z] ---> 2a0b5fb14183 [2021-05-10T22:50:50.161Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T22:50:50.161Z] ---> Running in c63dc0b3ef7a [2021-05-10T22:50:50.424Z] Removing intermediate container c63dc0b3ef7a [2021-05-10T22:50:50.424Z] ---> 2c8eb42742ce [2021-05-10T22:50:50.424Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-10T22:50:50.424Z] Successfully built 2c8eb42742ce [2021-05-10T22:50:50.424Z] Successfully tagged 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-10T22:50:51.056Z] ---> job-cost.sh [2021-05-10T22:50:51.056Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nlkq [2021-05-10T22:51:01.052Z] Removing intermediate container d6f0658438b6 [2021-05-10T22:51:01.052Z] ---> 2327d477112f [2021-05-10T22:51:01.052Z] Successfully built 2327d477112f [2021-05-10T22:51:01.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:51:01.394Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T22:51:01.394Z] . [Pipeline] withDockerContainer [2021-05-10T22:51:01.673Z] prd-ubuntu18.04-docker-arm64-4c-16g-4242 does not seem to be running inside a container [2021-05-10T22:51:01.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@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-10T22:51:03.316Z] $ docker top 77e102ad8d4bc376de02d0205e9a9eb3578154a058d094696837a5bbef150a68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:51:04.264Z] + go version [2021-05-10T22:51:04.264Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T22:51:04.299Z] $ docker stop --time=1 77e102ad8d4bc376de02d0205e9a9eb3578154a058d094696837a5bbef150a68 [2021-05-10T22:51:06.170Z] $ docker rm -f 77e102ad8d4bc376de02d0205e9a9eb3578154a058d094696837a5bbef150a68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:51:06.837Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T22:51:06.837Z] . [Pipeline] withDockerContainer [2021-05-10T22:51:07.056Z] prd-ubuntu18.04-docker-arm64-4c-16g-4242 does not seem to be running inside a container [2021-05-10T22:51:07.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@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-10T22:51:08.651Z] $ docker top cbba1014ce335b019de40980b1bc5489e4f7e14f92c5de0aa74c7c4c57c239fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:51:09.223Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T22:51:09.571Z] + go mod tidy [Pipeline] sh [2021-05-10T22:51:10.839Z] + make test [2021-05-10T22:51:10.840Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T22:51:35.869Z] lf-activate-venv(): INFO: Adding /tmp/venv-Nlkq/bin to PATH [2021-05-10T22:51:35.869Z] INFO: No Stack... [2021-05-10T22:51:36.131Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T22:51:36.705Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T22:51:37.019Z] + cat /w/workspace/device-sdk-go/42/archives/cost.csv [2021-05-10T22:51:37.019Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T22:51:37.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] [2021-05-10T22:51:37.111Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] did not exist. Created. [2021-05-10T22:51:37.111Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T22:51:37.440Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T22:51:37.567Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T22:51:37.580Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-05-10T22:51:37.692Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T22:52:34.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T22:52:34.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T22:52:34.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T22:52:49.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.188s coverage: 25.4% of statements [2021-05-10T22:52:49.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T22:52:49.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 28.1% of statements [2021-05-10T22:52:49.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements [2021-05-10T22:52:49.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.205s coverage: 10.7% of statements [2021-05-10T22:52:49.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T22:52:49.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T22:52:49.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T22:52:50.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.261s coverage: 30.2% of statements [2021-05-10T22:52:50.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T22:52:50.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T22:52:50.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T22:52:50.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T22:52:50.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.338s coverage: 58.4% of statements [2021-05-10T22:52:53.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.112s coverage: 89.2% of statements [2021-05-10T22:52:53.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T22:52:53.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-05-10T22:52:53.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T22:52:53.338Z] GO111MODULE=on go vet ./... [2021-05-10T22:53:49.951Z] gofmt -l . [2021-05-10T22:53:49.951Z] [ "`gofmt -l .`" = "" ] [2021-05-10T22:53:49.951Z] ./bin/test-attribution-txt.sh [2021-05-10T22:53:49.951Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T22:53:50.598Z] $ docker stop --time=1 cbba1014ce335b019de40980b1bc5489e4f7e14f92c5de0aa74c7c4c57c239fe [2021-05-10T22:53:52.934Z] $ docker rm -f cbba1014ce335b019de40980b1bc5489e4f7e14f92c5de0aa74c7c4c57c239fe [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T22:53:54.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T22:53:54.059Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T22:53:55.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T22:53:55.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T22:53:55.826Z] + ls -al . [2021-05-10T22:53:55.827Z] total 248 [2021-05-10T22:53:55.827Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:53 . [2021-05-10T22:53:55.827Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:49 .. [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 22:49 .dockerignore [2021-05-10T22:53:55.827Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:49 .git [2021-05-10T22:53:55.827Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:49 .github [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 138 May 10 22:49 .gitignore [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 987 May 10 22:49 Dockerfile.build [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 894 May 10 22:49 Jenkinsfile [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 22:49 LICENSE [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 10 22:49 Makefile [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 10 22:49 README.md [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 10 22:49 RELEASE-NOTES.txt [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:45 VERSION [2021-05-10T22:53:55.827Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:49 bin [2021-05-10T22:53:55.827Z] -rw-r--r-- 1 jenkins jenkins 124140 May 10 22:52 coverage.out [2021-05-10T22:53:55.827Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 22:49 example [2021-05-10T22:53:55.827Z] -rw-r--r-- 1 jenkins jenkins 575 May 10 22:53 go.mod [2021-05-10T22:53:55.827Z] -rw-r--r-- 1 jenkins jenkins 20637 May 10 22:51 go.sum [2021-05-10T22:53:55.827Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 22:49 internal [2021-05-10T22:53:55.827Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:49 openapi [2021-05-10T22:53:55.827Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 22:49 pkg [2021-05-10T22:53:55.827Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:49 snap [2021-05-10T22:53:55.827Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 22:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:53:56.605Z] + docker build -t 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=c763ee5280991fd424af314741a617bc5fa09c19 --label arch=arm64 --label version=0.0.0 . [2021-05-10T22:53:56.910Z] Sending build context to Docker daemon 2.655MB [2021-05-10T22:53:56.910Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T22:53:56.910Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T22:53:56.910Z] ---> 2327d477112f [2021-05-10T22:53:56.910Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T22:53:57.186Z] ---> Running in 4b38b28b454c [2021-05-10T22:53:57.793Z] Removing intermediate container 4b38b28b454c [2021-05-10T22:53:57.793Z] ---> e463931dce40 [2021-05-10T22:53:57.793Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:53:58.064Z] ---> Running in 42543c2f498e [2021-05-10T22:53:58.336Z] Removing intermediate container 42543c2f498e [2021-05-10T22:53:58.336Z] ---> 48efe6c56244 [2021-05-10T22:53:58.336Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:53:58.613Z] ---> Running in 67b0eb015b39 [2021-05-10T22:54:00.591Z] Removing intermediate container 67b0eb015b39 [2021-05-10T22:54:00.591Z] ---> f7e1970d6e22 [2021-05-10T22:54:00.591Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T22:54:00.868Z] ---> Running in 0d110d9fe25a [2021-05-10T22:54:01.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T22:54:03.823Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T22:54:04.814Z] OK: 139 MiB in 46 packages [2021-05-10T22:54:06.251Z] Removing intermediate container 0d110d9fe25a [2021-05-10T22:54:06.251Z] ---> 1640c2b7c3d2 [2021-05-10T22:54:06.251Z] Step 7/23 : COPY . . [2021-05-10T22:54:07.231Z] ---> e638d2974655 [2021-05-10T22:54:07.231Z] Step 8/23 : RUN go mod download [2021-05-10T22:54:07.231Z] ---> Running in 0c91c95d690c [2021-05-10T22:54:09.862Z] Removing intermediate container 0c91c95d690c [2021-05-10T22:54:09.862Z] ---> ab50b63e9b5a [2021-05-10T22:54:09.862Z] Step 9/23 : RUN make build [2021-05-10T22:54:09.862Z] ---> Running in 26e87580416c [2021-05-10T22:54:10.845Z] 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-10T22:54:43.195Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T22:54:45.806Z] Removing intermediate container 26e87580416c [2021-05-10T22:54:45.806Z] ---> fb1906c1d036 [2021-05-10T22:54:45.806Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T22:54:45.806Z] 3.12: Pulling from library/alpine [2021-05-10T22:54:45.806Z] d2f70382dc9a: Pulling fs layer [2021-05-10T22:54:46.078Z] d2f70382dc9a: Download complete [2021-05-10T22:54:46.672Z] d2f70382dc9a: Pull complete [2021-05-10T22:54:46.672Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T22:54:46.672Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T22:54:46.672Z] ---> 9852663dfa18 [2021-05-10T22:54:46.672Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T22:54:46.944Z] ---> Running in 4a22f7164891 [2021-05-10T22:54:47.216Z] Removing intermediate container 4a22f7164891 [2021-05-10T22:54:47.216Z] ---> 3ee0bd1f25aa [2021-05-10T22:54:47.216Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T22:54:47.488Z] ---> Running in 9867ba5fc43b [2021-05-10T22:54:50.096Z] Removing intermediate container 9867ba5fc43b [2021-05-10T22:54:50.096Z] ---> e18486f2687a [2021-05-10T22:54:50.096Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T22:54:50.096Z] ---> Running in 443bb062e490 [2021-05-10T22:54:51.072Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T22:54:52.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T22:54:53.469Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T22:54:53.739Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T22:54:53.739Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T22:54:54.329Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T22:54:54.329Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T22:54:54.601Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T22:54:54.601Z] OK: 8 MiB in 19 packages [2021-05-10T22:54:56.036Z] Removing intermediate container 443bb062e490 [2021-05-10T22:54:56.036Z] ---> 29c1d7fb1a79 [2021-05-10T22:54:56.036Z] Step 14/23 : WORKDIR / [2021-05-10T22:54:56.036Z] ---> Running in aa4ed6974ece [2021-05-10T22:54:56.319Z] Removing intermediate container aa4ed6974ece [2021-05-10T22:54:56.319Z] ---> f748b84fdfd0 [2021-05-10T22:54:56.319Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T22:54:57.300Z] ---> 2b4998d88f53 [2021-05-10T22:54:57.300Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T22:54:58.277Z] ---> 3829da211c26 [2021-05-10T22:54:58.277Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T22:54:59.253Z] ---> 8f3024b01c67 [2021-05-10T22:54:59.253Z] Step 18/23 : EXPOSE 49990 [2021-05-10T22:54:59.253Z] ---> Running in 36978914f8e1 [2021-05-10T22:54:59.848Z] Removing intermediate container 36978914f8e1 [2021-05-10T22:54:59.848Z] ---> 325a825f9153 [2021-05-10T22:54:59.848Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T22:54:59.848Z] ---> Running in 790c382e3e67 [2021-05-10T22:55:00.444Z] Removing intermediate container 790c382e3e67 [2021-05-10T22:55:00.444Z] ---> e7d149775bad [2021-05-10T22:55:00.444Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T22:55:00.444Z] ---> Running in 3fe32043d9b5 [2021-05-10T22:55:01.037Z] Removing intermediate container 3fe32043d9b5 [2021-05-10T22:55:01.037Z] ---> 81822d8794a3 [2021-05-10T22:55:01.037Z] Step 21/23 : LABEL arch=arm64 [2021-05-10T22:55:01.037Z] ---> Running in 05914ffb5031 [2021-05-10T22:55:01.638Z] Removing intermediate container 05914ffb5031 [2021-05-10T22:55:01.638Z] ---> 94c655744d7c [2021-05-10T22:55:01.638Z] Step 22/23 : LABEL git_sha=c763ee5280991fd424af314741a617bc5fa09c19 [2021-05-10T22:55:01.638Z] ---> Running in 43276860b884 [2021-05-10T22:55:02.233Z] Removing intermediate container 43276860b884 [2021-05-10T22:55:02.233Z] ---> 12683f948e15 [2021-05-10T22:55:02.233Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T22:55:02.233Z] ---> Running in 3f3d3a95e9d3 [2021-05-10T22:55:02.829Z] Removing intermediate container 3f3d3a95e9d3 [2021-05-10T22:55:02.829Z] ---> f15245a6f1ed [2021-05-10T22:55:02.829Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T22:55:02.829Z] Successfully built f15245a6f1ed [2021-05-10T22:55:02.829Z] Successfully tagged 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-10T22:55:03.326Z] ---> job-cost.sh [2021-05-10T22:55:03.327Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yVsQ [2021-05-10T22:55:42.280Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T22:57:19.043Z] lf-activate-venv(): INFO: Adding /tmp/venv-yVsQ/bin to PATH [2021-05-10T22:57:19.043Z] INFO: No Stack... [2021-05-10T22:57:19.044Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T22:57:19.044Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T22:57:19.394Z] + cat /w/workspace/device-sdk-go/42/archives/cost.csv [2021-05-10T22:57:19.394Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T22:57:19.522Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] [2021-05-10T22:57:19.531Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] did not exist. Created. [2021-05-10T22:57:19.531Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T22:57:19.900Z] /w/workspace/device-sdk-go/42@tmp/durable-db4b524c/script.sh: 1: /w/workspace/device-sdk-go/42@tmp/durable-db4b524c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T22:57:20.243Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T22:57:20.265Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T22:57:20.423Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T22:57:20.439Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-42-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-10T22:57:21.041Z] provisioning config files... [2021-05-10T22:57:21.054Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4437466671749218535tmp [Pipeline] { [Pipeline] sh [2021-05-10T22:57:21.386Z] + set +x [2021-05-10T22:57:21.386Z] + curl -s https://codecov.io/bash [2021-05-10T22:57:21.386Z] + bash -s -- [2021-05-10T22:57:21.649Z] [2021-05-10T22:57:21.649Z] _____ _ [2021-05-10T22:57:21.649Z] / ____| | | [2021-05-10T22:57:21.649Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T22:57:21.649Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T22:57:21.649Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T22:57:21.649Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T22:57:21.649Z] Bash-1.0.2 [2021-05-10T22:57:21.649Z] [2021-05-10T22:57:21.649Z] [2021-05-10T22:57:21.649Z] ==> git version 2.24.3 found [2021-05-10T22:57:21.649Z] ==> 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-10T22:57:21.649Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T22:57:21.649Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T22:57:21.649Z] ==> Jenkins CI detected. [2021-05-10T22:57:21.649Z] project root: . [2021-05-10T22:57:21.649Z] --> token set from env [2021-05-10T22:57:21.649Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T22:57:21.649Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T22:57:21.649Z] ==> Python coveragepy not found [2021-05-10T22:57:21.649Z] ==> Searching for coverage reports in: [2021-05-10T22:57:21.649Z] + . [2021-05-10T22:57:21.649Z] -> Found 1 reports [2021-05-10T22:57:21.649Z] ==> Detecting git/mercurial file structure [2021-05-10T22:57:21.649Z] ==> Reading reports [2021-05-10T22:57:21.649Z] + ./coverage.out bytes=124140 [2021-05-10T22:57:21.650Z] ==> Appending adjustments [2021-05-10T22:57:21.650Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T22:57:21.914Z] + Found adjustments [2021-05-10T22:57:21.914Z] ==> Gzipping contents [2021-05-10T22:57:21.914Z] 16K /tmp/codecov.0MeVf4.gz [2021-05-10T22:57:21.914Z] ==> Uploading reports [2021-05-10T22:57:21.914Z] url: https://codecov.io [2021-05-10T22:57:21.914Z] query: branch=PR-725&commit=c763ee5280991fd424af314741a617bc5fa09c19&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-10T22:57:21.914Z] -> Pinging Codecov [2021-05-10T22:57:21.915Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=c763ee5280991fd424af314741a617bc5fa09c19&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-10T22:57:22.491Z] -> Uploading to [2021-05-10T22:57:22.491Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/c763ee5280991fd424af314741a617bc5fa09c19/da33a0d9-8190-4172-a92e-eb6a522dbc9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T225722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f14693aba813f5e7ca11f935c7fbfcc5d8ad572b61824af53feedc679d93c50 [2021-05-10T22:57:22.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T22:57:22.491Z] Dload Upload Total Spent Left Speed [2021-05-10T22:57:23.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16175 0 0 100 16175 0 37715 --:--:-- --:--:-- --:--:-- 37792 [2021-05-10T22:57:23.068Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c763ee5280991fd424af314741a617bc5fa09c19 [Pipeline] } [2021-05-10T22:57:23.079Z] 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-10T22:57:24.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:24.659Z] ---> package-listing.sh [2021-05-10T22:57:24.659Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T22:57:24.659Z] ++ facter osfamily [2021-05-10T22:57:24.659Z] + OS_FAMILY=redhat [2021-05-10T22:57:24.659Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-10T22:57:24.659Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T22:57:24.659Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T22:57:24.659Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T22:57:24.659Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T22:57:24.659Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-10T22:57:24.659Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T22:57:24.659Z] + case "${OS_FAMILY}" in [2021-05-10T22:57:24.659Z] + rpm -qa [2021-05-10T22:57:24.659Z] + sort [2021-05-10T22:57:30.004Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T22:57:30.004Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T22:57:30.004Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T22:57:30.004Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-10T22:57:30.004Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-05-10T22:57:30.004Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-05-10T22:57:30.019Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T22:57:30.311Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:57:30.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:57:30.619Z] [2021-05-10T22:57:30.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T22:57:30.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:57:30.934Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T22:57:30.934Z] df20fa9351a1: Pulling fs layer [2021-05-10T22:57:30.934Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T22:57:30.934Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T22:57:30.934Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T22:57:30.934Z] 93b61091891f: Pulling fs layer [2021-05-10T22:57:30.934Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T22:57:30.934Z] 5e14af77c1be: Pulling fs layer [2021-05-10T22:57:30.934Z] 01666e4c0597: Pulling fs layer [2021-05-10T22:57:30.934Z] aa168da1d23b: Pulling fs layer [2021-05-10T22:57:30.934Z] 46f8f816bc3b: Waiting [2021-05-10T22:57:30.934Z] 93b61091891f: Waiting [2021-05-10T22:57:30.934Z] 93b9cdb0e59b: Waiting [2021-05-10T22:57:30.934Z] 5e14af77c1be: Waiting [2021-05-10T22:57:30.934Z] 01666e4c0597: Waiting [2021-05-10T22:57:30.934Z] 36b3adc4ff6f: Download complete [2021-05-10T22:57:30.934Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T22:57:30.934Z] 46f8f816bc3b: Download complete [2021-05-10T22:57:31.200Z] df20fa9351a1: Verifying Checksum [2021-05-10T22:57:31.200Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T22:57:31.200Z] 93b9cdb0e59b: Download complete [2021-05-10T22:57:31.200Z] 5e14af77c1be: Verifying Checksum [2021-05-10T22:57:31.200Z] 5e14af77c1be: Download complete [2021-05-10T22:57:31.200Z] 93b61091891f: Download complete [2021-05-10T22:57:31.200Z] 01666e4c0597: Verifying Checksum [2021-05-10T22:57:31.200Z] 01666e4c0597: Download complete [2021-05-10T22:57:31.466Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T22:57:31.466Z] 8ad3a11d3b57: Download complete [2021-05-10T22:57:31.466Z] df20fa9351a1: Pull complete [2021-05-10T22:57:31.734Z] 36b3adc4ff6f: Pull complete [2021-05-10T22:57:32.319Z] 8ad3a11d3b57: Pull complete [2021-05-10T22:57:32.581Z] 46f8f816bc3b: Pull complete [2021-05-10T22:57:33.974Z] aa168da1d23b: Verifying Checksum [2021-05-10T22:57:33.974Z] aa168da1d23b: Download complete [2021-05-10T22:57:33.974Z] 93b61091891f: Pull complete [2021-05-10T22:57:34.237Z] 93b9cdb0e59b: Pull complete [2021-05-10T22:57:34.237Z] 5e14af77c1be: Pull complete [2021-05-10T22:57:34.504Z] 01666e4c0597: Pull complete [2021-05-10T22:57:41.146Z] aa168da1d23b: Pull complete [2021-05-10T22:57:41.146Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T22:57:41.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T22:57:41.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T22:57:41.337Z] prd-centos7-docker-4c-2g-4240 does not seem to be running inside a container [2021-05-10T22:57:41.382Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T22:57:44.971Z] $ docker top 8aeb7cff8e3254dc668f2cc537407ab484253ac6a6ef0a75be489875feed4e67 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T22:57:45.398Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T22:57:45.696Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T22:57:45.996Z] + ls /var/log/sa-host [2021-05-10T22:57:45.996Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T22:57:45.996Z] file_magic: OK [2021-05-10T22:57:45.996Z] HZ: Using current value: 100 [2021-05-10T22:57:45.996Z] file_header: OK [2021-05-10T22:57:45.996Z] 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-10T22:57:45.996Z] Statistics: [2021-05-10T22:57:45.996Z] HRHnuu...uuuununununu...Hnuu...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-10T22:57:45.996Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T22:57:45.996Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T22:57:45.996Z] file_magic: OK [2021-05-10T22:57:45.996Z] HZ: Using current value: 100 [2021-05-10T22:57:45.996Z] file_header: OK [2021-05-10T22:57:45.996Z] 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-10T22:57:45.996Z] Statistics: [2021-05-10T22:57:45.996Z] Hnuu...uuuununununu... [2021-05-10T22:57:45.996Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T22:57:46.188Z] provisioning config files... [2021-05-10T22:57:46.202Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1172193857243491530tmp [Pipeline] { [Pipeline] echo [2021-05-10T22:57:46.225Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:46.522Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T22:57:46.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T22:57:46.559Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:46.858Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T22:57:46.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:47.166Z] ---> sudo-logs.sh [2021-05-10T22:57:47.166Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T22:57:47.194Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:47.494Z] ---> job-cost.sh [2021-05-10T22:57:47.494Z] lf-activate-venv: SKIPPING [2021-05-10T22:57:47.494Z] DEBUG: total: 0.20999999344348907 [2021-05-10T22:57:47.494Z] INFO: Retrieving Stack Cost... [2021-05-10T22:57:48.443Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T22:57:48.706Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T22:57:48.721Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T22:57:49.019Z] ---> logs-deploy.sh [2021-05-10T22:57:49.019Z] lf-activate-venv: SKIPPING [2021-05-10T22:57:49.019Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/42 [2021-05-10T22:57:49.019Z] INFO: archiving workspace using pattern(s): [2021-05-10T22:57:50.947Z] Archives upload complete. [2021-05-10T22:57:50.947Z] INFO: archiving logs to Nexus