Pull request #907 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 692b28680fefed51e933ff85e2bc551ffbcd2762+70dff52b8df9807f5114cad14836e8310fd11d9c (6a1b3f45d54033c6976c375525d82e01e2c871ee) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3657 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [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-907 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) > 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/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 Commit message: "fix: Addressed PR feedback" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T20:35:26.508Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T20:35:26.630Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T20:35:26.685Z] ========================================================= [2021-05-07T20:35:26.685Z] EdgeX Global Pipelines Version Info [2021-05-07T20:35:26.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 11d87cd80a1885e9eab7a16acd349efd5263f67d # timeout=10 [2021-05-07T20:35:29.682Z] ------------------- [2021-05-07T20:35:29.682Z] stable info: [2021-05-07T20:35:29.682Z] ------------------- [2021-05-07T20:35:29.682Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T20:35:29.682Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T20:35:29.682Z] Message: update stable to v1.0.191 [2021-05-07T20:35:30.749Z] ------------------- [2021-05-07T20:35:30.749Z] experimental info: [2021-05-07T20:35:30.749Z] ------------------- [2021-05-07T20:35:30.749Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T20:35:30.749Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T20:35:30.749Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T20:35:31.041Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T20:35:31.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T20:35:31.100Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T20:35:31.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T20:35:31.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T20:35:31.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T20:35:31.192Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T20:35:31.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T20:35:31.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T20:35:31.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T20:35:31.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T20:35:31.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T20:35:31.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T20:35:31.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T20:35:31.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T20:35:31.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T20:35:31.497Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T20:35:31.533Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T20:35:31.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T20:35:31.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T20:35:31.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T20:35:31.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T20:35:31.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T20:35:31.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T20:35:31.741Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T20:35:31.763Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T20:35:31.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-907 [Pipeline] echo [2021-05-07T20:35:31.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-907 [Pipeline] echo [2021-05-07T20:35:31.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-907 [Pipeline] echo [2021-05-07T20:35:31.961Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo [2021-05-07T20:35:31.983Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 692b286 [Pipeline] echo [2021-05-07T20:35:32.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T20:35:32.126Z] provisioning config files... [2021-05-07T20:35:32.165Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config2021937510876588451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:35:32.558Z] ---> docker-login.sh [2021-05-07T20:35:32.558Z] nexus3.edgexfoundry.org:10001 [2021-05-07T20:35:33.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:35:33.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:35:33.484Z] Configure a credential helper to remove this warning. See [2021-05-07T20:35:33.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:35:33.484Z] [2021-05-07T20:35:33.484Z] Login Succeeded [2021-05-07T20:35:33.484Z] nexus3.edgexfoundry.org:10002 [2021-05-07T20:35:33.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:35:34.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:35:34.209Z] Configure a credential helper to remove this warning. See [2021-05-07T20:35:34.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:35:34.209Z] [2021-05-07T20:35:34.209Z] Login Succeeded [2021-05-07T20:35:34.209Z] nexus3.edgexfoundry.org:10003 [2021-05-07T20:35:34.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:35:34.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:35:34.803Z] Configure a credential helper to remove this warning. See [2021-05-07T20:35:34.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:35:34.803Z] [2021-05-07T20:35:34.803Z] Login Succeeded [2021-05-07T20:35:34.803Z] nexus3.edgexfoundry.org:10004 [2021-05-07T20:35:34.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:35:35.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:35:35.126Z] Configure a credential helper to remove this warning. See [2021-05-07T20:35:35.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:35:35.126Z] [2021-05-07T20:35:35.126Z] Login Succeeded [2021-05-07T20:35:35.126Z] docker.io [2021-05-07T20:35:35.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:35:36.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:35:36.063Z] Configure a credential helper to remove this warning. See [2021-05-07T20:35:36.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:35:36.063Z] [2021-05-07T20:35:36.063Z] Login Succeeded [2021-05-07T20:35:36.063Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T20:35:36.101Z] 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-07T20:35:36.746Z] + git log --format=format:%s -1 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo [2021-05-07T20:35:36.891Z] GIT_COMMIT: 692b28680fefed51e933ff85e2bc551ffbcd2762, Commit Message: fix: Addressed PR feedback [Pipeline] echo [2021-05-07T20:35:36.906Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:35:38.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T20:35:38.328Z] [2021-05-07T20:35:38.328Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:35:38.776Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T20:35:38.776Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T20:35:38.777Z] 31603596830f: Pulling fs layer [2021-05-07T20:35:38.777Z] 54011a49482f: Pulling fs layer [2021-05-07T20:35:38.777Z] a6820b24f6d8: Pulling fs layer [2021-05-07T20:35:38.777Z] f581987b2513: Pulling fs layer [2021-05-07T20:35:38.777Z] f581987b2513: Waiting [2021-05-07T20:35:39.177Z] 54011a49482f: Verifying Checksum [2021-05-07T20:35:39.178Z] 54011a49482f: Download complete [2021-05-07T20:35:39.535Z] 31603596830f: Verifying Checksum [2021-05-07T20:35:39.535Z] 31603596830f: Download complete [2021-05-07T20:35:39.863Z] f581987b2513: Verifying Checksum [2021-05-07T20:35:39.863Z] f581987b2513: Download complete [2021-05-07T20:35:39.863Z] a6820b24f6d8: Verifying Checksum [2021-05-07T20:35:39.863Z] a6820b24f6d8: Download complete [2021-05-07T20:35:40.480Z] 31603596830f: Pull complete [2021-05-07T20:35:40.771Z] 54011a49482f: Pull complete [2021-05-07T20:35:42.887Z] a6820b24f6d8: Pull complete [2021-05-07T20:35:43.496Z] f581987b2513: Pull complete [2021-05-07T20:35:43.496Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T20:35:43.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T20:35:43.496Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T20:35:43.746Z] prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container [2021-05-07T20:35:43.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@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-07T20:35:46.589Z] $ docker top d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T20:35:46.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T20:35:46.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T20:35:47.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T20:35:47.357Z] $ docker exec d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent [2021-05-07T20:35:47.854Z] SSH_AUTH_SOCK=/tmp/ssh-xmoPfnJJ7wzf/agent.12 [2021-05-07T20:35:47.854Z] SSH_AGENT_PID=17 [2021-05-07T20:35:47.890Z] Running ssh-add (command line suppressed) [2021-05-07T20:35:48.108Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_754029393335475322.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_754029393335475322.key) [2021-05-07T20:35:48.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T20:35:48.564Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T20:35:48.612Z] $ docker exec --env ******** --env ******** d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent -k [2021-05-07T20:35:48.972Z] unset SSH_AUTH_SOCK; [2021-05-07T20:35:48.973Z] unset SSH_AGENT_PID; [2021-05-07T20:35:48.973Z] echo Agent pid 17 killed; [2021-05-07T20:35:49.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T20:35:49.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T20:35:49.086Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T20:35:49.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T20:35:49.939Z] $ docker exec d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent [2021-05-07T20:35:50.441Z] SSH_AUTH_SOCK=/tmp/ssh-l7EK3vB8ttir/agent.47 [2021-05-07T20:35:50.441Z] SSH_AGENT_PID=52 [2021-05-07T20:35:50.478Z] Running ssh-add (command line suppressed) [2021-05-07T20:35:50.776Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_2984095190303080860.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_2984095190303080860.key) [2021-05-07T20:35:50.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T20:35:51.332Z] + git semver init [2021-05-07T20:35:51.630Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T20:35:51.630Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.git [2021-05-07T20:35:51.630Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-907 [2021-05-07T20:35:51.630Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T20:35:51.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T20:35:51.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T20:35:51.630Z] # $SEMVER_BRANCH = PR-907 [2021-05-07T20:35:51.630Z] # $SEMVER_TEMP = /tmp/semver-185307990 [2021-05-07T20:35:51.630Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T20:35:53.134Z] # '/tmp/semver-185307990' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver' [2021-05-07T20:35:53.134Z] # -> Force: false [2021-05-07T20:35:53.134Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver [Pipeline] } [2021-05-07T20:35:53.175Z] $ docker exec --env ******** --env ******** d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent -k [2021-05-07T20:35:53.503Z] unset SSH_AUTH_SOCK; [2021-05-07T20:35:53.504Z] unset SSH_AGENT_PID; [2021-05-07T20:35:53.504Z] echo Agent pid 52 killed; [2021-05-07T20:35:53.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T20:35:54.013Z] + git semver [Pipeline] } [2021-05-07T20:35:54.331Z] $ docker stop --time=1 d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b [2021-05-07T20:35:56.057Z] $ docker rm -f d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T20:35:56.658Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T20:35:57.335Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T20:35:57.368Z] [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-07T20:36:12.551Z] Still waiting to schedule task [2021-05-07T20:36:12.551Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-07T20:36:12.554Z] Still waiting to schedule task [2021-05-07T20:36:12.554Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T20:37:58.061Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3658 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws [2021-05-07T20:37:58.082Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-05-07T20:38:03.868Z] using credential edgex-jenkins-ssh [2021-05-07T20:38:03.887Z] Cloning the remote Git repository [2021-05-07T20:38:03.947Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:04.061Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-05-07T20:38:04.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:04.143Z] > git --version # timeout=10 [2021-05-07T20:38:04.190Z] > git --version # 'git version 2.17.1' [2021-05-07T20:38:04.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:04.268Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T20:38:06.820Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 [2021-05-07T20:38:07.057Z] Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 [2021-05-07T20:38:07.058Z] Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) [2021-05-07T20:38:05.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T20:38:06.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T20:38:06.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T20:38:06.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:06.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:06.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T20:38:06.847Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T20:38:06.870Z] > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 [2021-05-07T20:38:06.979Z] > git remote # timeout=10 [2021-05-07T20:38:07.000Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T20:38:07.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:07.024Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T20:38:07.046Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T20:38:07.071Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T20:38:07.091Z] > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 [2021-05-07T20:38:11.289Z] Commit message: "fix: Addressed PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T20:38:12.878Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T20:38:13.310Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T20:38:13.650Z] + sudo service docker restart [2021-05-07T20:38:13.650Z] + true [2021-05-07T20:38:16.221Z] Running on prd-centos7-docker-4c-2g-3659 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws [2021-05-07T20:38:16.239Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T20:38:16.375Z] provisioning config files... [2021-05-07T20:38:16.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8365620879686808946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:38:16.796Z] ---> docker-login.sh [2021-05-07T20:38:16.796Z] nexus3.edgexfoundry.org:10001 [2021-05-07T20:38:17.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:18.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:18.064Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:18.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:18.064Z] [2021-05-07T20:38:18.064Z] Login Succeeded [2021-05-07T20:38:18.064Z] nexus3.edgexfoundry.org:10002 [2021-05-07T20:38:18.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:18.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:18.621Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:18.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:18.621Z] [2021-05-07T20:38:18.621Z] Login Succeeded [2021-05-07T20:38:18.621Z] nexus3.edgexfoundry.org:10003 [2021-05-07T20:38:18.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:18.938Z] using credential edgex-jenkins-ssh [2021-05-07T20:38:18.953Z] Cloning the remote Git repository [2021-05-07T20:38:19.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:19.168Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:19.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:19.168Z] [2021-05-07T20:38:19.168Z] Login Succeeded [2021-05-07T20:38:19.168Z] nexus3.edgexfoundry.org:10004 [2021-05-07T20:38:19.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:19.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:19.441Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:19.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:19.441Z] [2021-05-07T20:38:19.441Z] Login Succeeded [2021-05-07T20:38:19.441Z] docker.io [2021-05-07T20:38:18.981Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:19.050Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-05-07T20:38:19.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:19.123Z] > git --version # timeout=10 [2021-05-07T20:38:19.129Z] > git --version # 'git version 2.24.3' [2021-05-07T20:38:19.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:19.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T20:38:20.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:20.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:20.308Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:20.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:20.308Z] [2021-05-07T20:38:20.308Z] Login Succeeded [2021-05-07T20:38:20.308Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T20:38:20.325Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-07T20:38:20.574Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo [2021-05-07T20:38:20.619Z] ========================================================= [2021-05-07T20:38:20.620Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T20:38:20.620Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:38:20.671Z] Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 [2021-05-07T20:38:20.672Z] Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) [2021-05-07T20:38:20.976Z] + 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-07T20:38:19.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T20:38:20.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T20:38:20.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T20:38:20.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T20:38:20.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:20.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T20:38:20.582Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T20:38:20.587Z] > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 [2021-05-07T20:38:20.642Z] > git remote # timeout=10 [2021-05-07T20:38:20.647Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T20:38:20.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T20:38:20.657Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T20:38:20.665Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T20:38:20.674Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T20:38:20.679Z] > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 [2021-05-07T20:38:21.578Z] Sending build context to Docker daemon 2.555MB [2021-05-07T20:38:21.578Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T20:38:21.578Z] Step 2/8 : FROM ${BASE} [2021-05-07T20:38:21.578Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T20:38:21.578Z] 595b0fe564bb: Pulling fs layer [2021-05-07T20:38:21.578Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T20:38:21.578Z] 316046926c0a: Pulling fs layer [2021-05-07T20:38:21.578Z] 4ebd0625c992: Pulling fs layer [2021-05-07T20:38:21.578Z] 207e8628e3a3: Pulling fs layer [2021-05-07T20:38:21.578Z] c791037a9be2: Pulling fs layer [2021-05-07T20:38:21.578Z] ffd874e62e21: Pulling fs layer [2021-05-07T20:38:21.578Z] 4ebd0625c992: Waiting [2021-05-07T20:38:21.578Z] 207e8628e3a3: Waiting [2021-05-07T20:38:21.578Z] c791037a9be2: Waiting [2021-05-07T20:38:21.578Z] ffd874e62e21: Waiting [2021-05-07T20:38:21.578Z] 316046926c0a: Download complete [2021-05-07T20:38:21.578Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T20:38:21.578Z] 7186ed65a4f7: Download complete [2021-05-07T20:38:21.578Z] 207e8628e3a3: Verifying Checksum [2021-05-07T20:38:21.578Z] 207e8628e3a3: Download complete [2021-05-07T20:38:21.855Z] 595b0fe564bb: Verifying Checksum [2021-05-07T20:38:21.855Z] 595b0fe564bb: Download complete [2021-05-07T20:38:21.855Z] c791037a9be2: Verifying Checksum [2021-05-07T20:38:21.855Z] c791037a9be2: Download complete [2021-05-07T20:38:22.489Z] 595b0fe564bb: Pull complete [2021-05-07T20:38:23.086Z] 7186ed65a4f7: Pull complete [2021-05-07T20:38:23.360Z] 316046926c0a: Pull complete [2021-05-07T20:38:23.954Z] ffd874e62e21: Verifying Checksum [2021-05-07T20:38:23.954Z] ffd874e62e21: Download complete [2021-05-07T20:38:24.346Z] Commit message: "fix: Addressed PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T20:38:25.383Z] 4ebd0625c992: Verifying Checksum [2021-05-07T20:38:25.383Z] 4ebd0625c992: Download complete [2021-05-07T20:38:25.388Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T20:38:25.720Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T20:38:26.020Z] + sudo service docker restart [2021-05-07T20:38:26.020Z] + true [2021-05-07T20:38:26.020Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T20:38:27.450Z] provisioning config files... [2021-05-07T20:38:27.482Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4514558190602392882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:38:27.822Z] ---> docker-login.sh [2021-05-07T20:38:27.822Z] nexus3.edgexfoundry.org:10001 [2021-05-07T20:38:28.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:28.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:28.352Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:28.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:28.352Z] [2021-05-07T20:38:28.352Z] Login Succeeded [2021-05-07T20:38:28.352Z] nexus3.edgexfoundry.org:10002 [2021-05-07T20:38:28.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:28.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:28.618Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:28.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:28.618Z] [2021-05-07T20:38:28.618Z] Login Succeeded [2021-05-07T20:38:28.618Z] nexus3.edgexfoundry.org:10003 [2021-05-07T20:38:28.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:28.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:28.618Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:28.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:28.618Z] [2021-05-07T20:38:28.618Z] Login Succeeded [2021-05-07T20:38:28.618Z] nexus3.edgexfoundry.org:10004 [2021-05-07T20:38:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:28.882Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:28.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:28.882Z] [2021-05-07T20:38:28.882Z] Login Succeeded [2021-05-07T20:38:28.882Z] docker.io [2021-05-07T20:38:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T20:38:29.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T20:38:29.144Z] Configure a credential helper to remove this warning. See [2021-05-07T20:38:29.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T20:38:29.144Z] [2021-05-07T20:38:29.144Z] Login Succeeded [2021-05-07T20:38:29.144Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T20:38:29.156Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T20:38:29.339Z] ========================================================= [2021-05-07T20:38:29.339Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T20:38:29.339Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:38:29.665Z] + 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-07T20:38:29.666Z] Sending build context to Docker daemon 2.556MB [2021-05-07T20:38:29.666Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T20:38:29.666Z] Step 2/8 : FROM ${BASE} [2021-05-07T20:38:29.934Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T20:38:29.934Z] 540db60ca938: Pulling fs layer [2021-05-07T20:38:29.934Z] adcc1eea9eea: Pulling fs layer [2021-05-07T20:38:29.934Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T20:38:29.934Z] 0510c868ecb4: Pulling fs layer [2021-05-07T20:38:29.934Z] afea3b2eda06: Pulling fs layer [2021-05-07T20:38:29.934Z] 7809a108b3ef: Pulling fs layer [2021-05-07T20:38:29.934Z] f706445af74f: Pulling fs layer [2021-05-07T20:38:29.934Z] 0510c868ecb4: Waiting [2021-05-07T20:38:29.934Z] afea3b2eda06: Waiting [2021-05-07T20:38:29.934Z] 7809a108b3ef: Waiting [2021-05-07T20:38:29.934Z] f706445af74f: Waiting [2021-05-07T20:38:29.934Z] 4c4ab2625f07: Download complete [2021-05-07T20:38:29.934Z] adcc1eea9eea: Download complete [2021-05-07T20:38:29.934Z] afea3b2eda06: Verifying Checksum [2021-05-07T20:38:29.934Z] afea3b2eda06: Download complete [2021-05-07T20:38:29.934Z] 7809a108b3ef: Verifying Checksum [2021-05-07T20:38:29.934Z] 7809a108b3ef: Download complete [2021-05-07T20:38:29.934Z] 540db60ca938: Verifying Checksum [2021-05-07T20:38:29.934Z] 540db60ca938: Download complete [2021-05-07T20:38:30.518Z] 540db60ca938: Pull complete [2021-05-07T20:38:30.518Z] adcc1eea9eea: Pull complete [2021-05-07T20:38:30.782Z] 4c4ab2625f07: Pull complete [2021-05-07T20:38:31.361Z] f706445af74f: Verifying Checksum [2021-05-07T20:38:31.361Z] f706445af74f: Download complete [2021-05-07T20:38:32.315Z] 0510c868ecb4: Verifying Checksum [2021-05-07T20:38:32.315Z] 0510c868ecb4: Download complete [2021-05-07T20:38:35.537Z] 4ebd0625c992: Pull complete [2021-05-07T20:38:35.810Z] 207e8628e3a3: Pull complete [2021-05-07T20:38:36.418Z] c791037a9be2: Pull complete [2021-05-07T20:38:37.649Z] 0510c868ecb4: Pull complete [2021-05-07T20:38:37.914Z] afea3b2eda06: Pull complete [2021-05-07T20:38:37.914Z] 7809a108b3ef: Pull complete [2021-05-07T20:38:40.733Z] ffd874e62e21: Pull complete [2021-05-07T20:38:40.733Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T20:38:40.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T20:38:40.733Z] ---> cfc18b08335c [2021-05-07T20:38:40.733Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:38:43.362Z] ---> Running in 2207970a03d8 [2021-05-07T20:38:43.634Z] Removing intermediate container 2207970a03d8 [2021-05-07T20:38:43.634Z] ---> 65d467ec545d [2021-05-07T20:38:43.634Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:38:43.918Z] ---> Running in f2dfe17d7efc [2021-05-07T20:38:46.115Z] f706445af74f: Pull complete [2021-05-07T20:38:46.116Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T20:38:46.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T20:38:46.116Z] ---> b068be0155e3 [2021-05-07T20:38:46.116Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:38:46.380Z] ---> Running in 1dd6ce4cfee6 [2021-05-07T20:38:46.550Z] Removing intermediate container f2dfe17d7efc [2021-05-07T20:38:46.550Z] ---> df7a09d48bed [2021-05-07T20:38:46.550Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T20:38:46.652Z] Removing intermediate container 1dd6ce4cfee6 [2021-05-07T20:38:46.652Z] ---> 60cd189d6a58 [2021-05-07T20:38:46.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:38:46.652Z] ---> Running in 4e739eee95bc [2021-05-07T20:38:47.144Z] ---> Running in 9d905a9364a5 [2021-05-07T20:38:47.606Z] Removing intermediate container 4e739eee95bc [2021-05-07T20:38:47.606Z] ---> cc97da0c7848 [2021-05-07T20:38:47.606Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T20:38:47.873Z] ---> Running in 29187f0447a7 [2021-05-07T20:38:48.142Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T20:38:48.586Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T20:38:49.099Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T20:38:49.567Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T20:38:49.674Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T20:38:49.937Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T20:38:49.937Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T20:38:50.160Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T20:38:50.160Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T20:38:50.161Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T20:38:50.199Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T20:38:50.199Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T20:38:50.430Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T20:38:50.430Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T20:38:50.462Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T20:38:50.463Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T20:38:50.463Z] OK: 150 MiB in 46 packages [2021-05-07T20:38:50.703Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T20:38:50.703Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T20:38:50.703Z] OK: 139 MiB in 46 packages [2021-05-07T20:38:51.413Z] Removing intermediate container 29187f0447a7 [2021-05-07T20:38:51.413Z] ---> 761f38668efa [2021-05-07T20:38:51.413Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T20:38:51.413Z] ---> Running in 11ea1eb985c6 [2021-05-07T20:38:51.413Z] Removing intermediate container 11ea1eb985c6 [2021-05-07T20:38:51.413Z] ---> 9e5952b92d44 [2021-05-07T20:38:51.413Z] Step 7/8 : COPY . . [2021-05-07T20:38:52.136Z] Removing intermediate container 9d905a9364a5 [2021-05-07T20:38:52.136Z] ---> 07b9c25d3be5 [2021-05-07T20:38:52.136Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T20:38:52.409Z] ---> Running in 6ccbea74cf8b [2021-05-07T20:38:52.812Z] ---> f9c7d7b748d4 [2021-05-07T20:38:52.812Z] Step 8/8 : RUN go mod download [2021-05-07T20:38:52.812Z] ---> Running in 63a48e2aeaee [2021-05-07T20:38:53.006Z] Removing intermediate container 6ccbea74cf8b [2021-05-07T20:38:53.006Z] ---> db21d565b624 [2021-05-07T20:38:53.006Z] Step 7/8 : COPY . . [2021-05-07T20:38:54.473Z] ---> 72daee7a05af [2021-05-07T20:38:54.473Z] Step 8/8 : RUN go mod download [2021-05-07T20:38:55.146Z] ---> Running in ebe524914f91 [2021-05-07T20:39:19.463Z] Removing intermediate container 63a48e2aeaee [2021-05-07T20:39:19.463Z] ---> 04710ff4aa24 [2021-05-07T20:39:19.463Z] Successfully built 04710ff4aa24 [2021-05-07T20:39:19.463Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:39:19.798Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T20:39:19.798Z] . [Pipeline] withDockerContainer [2021-05-07T20:39:19.966Z] prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container [2021-05-07T20:39:20.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-07T20:39:20.737Z] $ docker top 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T20:39:21.157Z] + go version [2021-05-07T20:39:21.157Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T20:39:21.173Z] $ docker stop --time=1 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b [2021-05-07T20:39:22.532Z] $ docker rm -f 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:39:23.036Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T20:39:23.036Z] . [Pipeline] withDockerContainer [2021-05-07T20:39:23.141Z] prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container [2021-05-07T20:39:23.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-07T20:39:23.912Z] $ docker top f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T20:39:24.368Z] + go mod tidy [Pipeline] sh [2021-05-07T20:39:25.278Z] + make test [2021-05-07T20:39:25.278Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T20:39:27.493Z] Removing intermediate container ebe524914f91 [2021-05-07T20:39:27.493Z] ---> ce1769df98d0 [2021-05-07T20:39:27.493Z] Successfully built ce1769df98d0 [2021-05-07T20:39:27.494Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:39:27.831Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T20:39:27.831Z] . [Pipeline] withDockerContainer [2021-05-07T20:39:28.106Z] prd-ubuntu18.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container [2021-05-07T20:39:28.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat [2021-05-07T20:39:30.139Z] $ docker top 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T20:39:31.095Z] + go version [2021-05-07T20:39:31.095Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T20:39:31.122Z] $ docker stop --time=1 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc [2021-05-07T20:39:33.163Z] $ docker rm -f 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-07T20:39:33.500Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:39:33.871Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T20:39:33.871Z] . [Pipeline] withDockerContainer [2021-05-07T20:39:34.129Z] prd-ubuntu18.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container [2021-05-07T20:39:34.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-arm64 cat [2021-05-07T20:39:35.629Z] $ docker top 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T20:39:36.523Z] + go mod tidy [Pipeline] sh [2021-05-07T20:39:37.772Z] + make test [2021-05-07T20:39:37.772Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T20:39:56.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T20:39:56.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T20:39:56.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T20:39:56.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T20:39:56.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T20:39:59.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 28.1% of statements [2021-05-07T20:39:59.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2021-05-07T20:39:59.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.082s coverage: 10.7% of statements [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T20:39:59.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T20:39:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T20:39:59.975Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T20:40:02.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.2% of statements [2021-05-07T20:40:02.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.302s coverage: 6.6% of statements [2021-05-07T20:40:02.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-05-07T20:40:02.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T20:40:02.300Z] GO111MODULE=on go vet ./... [2021-05-07T20:40:20.528Z] gofmt -l . [2021-05-07T20:40:20.528Z] [ "`gofmt -l .`" = "" ] [2021-05-07T20:40:20.528Z] ./bin/test-attribution-txt.sh [2021-05-07T20:40:21.108Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T20:40:21.392Z] $ docker stop --time=1 f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f [2021-05-07T20:40:23.050Z] $ docker rm -f f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T20:40:23.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T20:40:24.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-07T20:40:26.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T20:40:27.042Z] + ls -al . [2021-05-07T20:40:27.042Z] total 188 [2021-05-07T20:40:27.042Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 20:40 . [2021-05-07T20:40:27.042Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 20:38 .. [2021-05-07T20:40:27.042Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 20:38 bin [2021-05-07T20:40:27.042Z] -rw-r--r--. 1 jenkins jenkins 98899 May 7 20:40 coverage.out [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 20:38 Dockerfile.build [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 20:38 .dockerignore [2021-05-07T20:40:27.042Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 20:38 example [2021-05-07T20:40:27.042Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 20:38 .git [2021-05-07T20:40:27.042Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 20:38 .github [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 20:38 .gitignore [2021-05-07T20:40:27.042Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 20:40 go.mod [2021-05-07T20:40:27.042Z] -rw-r--r--. 1 jenkins jenkins 20904 May 7 20:39 go.sum [2021-05-07T20:40:27.042Z] drwxrwxr-x. 15 jenkins jenkins 222 May 7 20:38 internal [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 20:38 Jenkinsfile [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 20:38 LICENSE [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 20:38 Makefile [2021-05-07T20:40:27.042Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 20:38 openapi [2021-05-07T20:40:27.042Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 20:38 pkg [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 20:38 README.md [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 20:38 RELEASE-NOTES.txt [2021-05-07T20:40:27.042Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 20:38 snap [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 20:35 VERSION [2021-05-07T20:40:27.042Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 20:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:40:27.352Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 --label arch=amd64 --label version=0.0.0 . [2021-05-07T20:40:27.617Z] Sending build context to Docker daemon 2.656MB [2021-05-07T20:40:27.617Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T20:40:27.617Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T20:40:27.617Z] ---> 04710ff4aa24 [2021-05-07T20:40:27.617Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T20:40:28.195Z] ---> Running in 56f44bbf2c52 [2021-05-07T20:40:28.459Z] Removing intermediate container 56f44bbf2c52 [2021-05-07T20:40:28.459Z] ---> ac3f38948e28 [2021-05-07T20:40:28.459Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:40:28.725Z] ---> Running in c2e01753eb83 [2021-05-07T20:40:28.725Z] Removing intermediate container c2e01753eb83 [2021-05-07T20:40:28.725Z] ---> d59c75e35979 [2021-05-07T20:40:28.725Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:40:28.725Z] ---> Running in fd824f407aa2 [2021-05-07T20:40:30.124Z] Removing intermediate container fd824f407aa2 [2021-05-07T20:40:30.124Z] ---> 1b09fc99100a [2021-05-07T20:40:30.124Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T20:40:30.124Z] ---> Running in 7de3f2268f6b [2021-05-07T20:40:30.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T20:40:31.338Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T20:40:31.916Z] OK: 150 MiB in 46 packages [2021-05-07T20:40:32.492Z] Removing intermediate container 7de3f2268f6b [2021-05-07T20:40:32.492Z] ---> ba80723c2b04 [2021-05-07T20:40:32.492Z] Step 7/23 : COPY . . [2021-05-07T20:40:33.885Z] ---> 48adefc0948c [2021-05-07T20:40:33.885Z] Step 8/23 : RUN go mod download [2021-05-07T20:40:33.885Z] ---> Running in 82ad51f50dae [2021-05-07T20:40:34.845Z] Removing intermediate container 82ad51f50dae [2021-05-07T20:40:34.845Z] ---> 128775d391e0 [2021-05-07T20:40:34.845Z] Step 9/23 : RUN make build [2021-05-07T20:40:34.845Z] ---> Running in b19e79cfab55 [2021-05-07T20:40:35.423Z] 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-07T20:40:47.820Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T20:40:49.210Z] Removing intermediate container b19e79cfab55 [2021-05-07T20:40:49.210Z] ---> 444d317905c3 [2021-05-07T20:40:49.210Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T20:40:49.472Z] 3.12: Pulling from library/alpine [2021-05-07T20:40:49.472Z] 339de151aab4: Pulling fs layer [2021-05-07T20:40:49.735Z] 339de151aab4: Download complete [2021-05-07T20:40:49.998Z] 339de151aab4: Pull complete [2021-05-07T20:40:49.998Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T20:40:49.998Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T20:40:49.998Z] ---> 13621d1b12d4 [2021-05-07T20:40:49.998Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:40:49.998Z] ---> Running in e0603e569ef8 [2021-05-07T20:40:50.263Z] Removing intermediate container e0603e569ef8 [2021-05-07T20:40:50.263Z] ---> 26471f3e672b [2021-05-07T20:40:50.263Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:40:50.263Z] ---> Running in c1da5e9a71ce [2021-05-07T20:40:51.220Z] Removing intermediate container c1da5e9a71ce [2021-05-07T20:40:51.220Z] ---> fe92fd7a9736 [2021-05-07T20:40:51.220Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T20:40:51.220Z] ---> Running in ce175d7a2431 [2021-05-07T20:40:51.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T20:40:52.751Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T20:40:53.698Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T20:40:53.964Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T20:40:53.964Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T20:40:54.232Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T20:40:54.501Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T20:40:54.769Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T20:40:54.769Z] OK: 8 MiB in 19 packages [2021-05-07T20:40:55.351Z] Removing intermediate container ce175d7a2431 [2021-05-07T20:40:55.351Z] ---> 4f4b4a87e810 [2021-05-07T20:40:55.351Z] Step 14/23 : WORKDIR / [2021-05-07T20:40:55.351Z] ---> Running in 3ae836425c3f [2021-05-07T20:40:55.614Z] Removing intermediate container 3ae836425c3f [2021-05-07T20:40:55.614Z] ---> c80d6112a3e9 [2021-05-07T20:40:55.614Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T20:40:55.876Z] ---> 98b53c11e8d7 [2021-05-07T20:40:55.876Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T20:40:56.450Z] ---> 9a5d8f47e082 [2021-05-07T20:40:56.450Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T20:40:56.450Z] ---> eb03ee64af83 [2021-05-07T20:40:56.450Z] Step 18/23 : EXPOSE 49990 [2021-05-07T20:40:56.712Z] ---> Running in cfd421ce3545 [2021-05-07T20:40:56.712Z] Removing intermediate container cfd421ce3545 [2021-05-07T20:40:56.712Z] ---> 1478e980be71 [2021-05-07T20:40:56.712Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T20:40:56.976Z] ---> Running in ba499752fe38 [2021-05-07T20:40:56.976Z] Removing intermediate container ba499752fe38 [2021-05-07T20:40:56.976Z] ---> a63f3a97eb67 [2021-05-07T20:40:56.976Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T20:40:56.976Z] ---> Running in 09f34d1f1047 [2021-05-07T20:40:57.238Z] Removing intermediate container 09f34d1f1047 [2021-05-07T20:40:57.238Z] ---> 5e8da95b60f0 [2021-05-07T20:40:57.238Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T20:40:57.238Z] ---> Running in 03aff8cab9bf [2021-05-07T20:40:57.500Z] Removing intermediate container 03aff8cab9bf [2021-05-07T20:40:57.500Z] ---> aa4b1ac47587 [2021-05-07T20:40:57.500Z] Step 22/23 : LABEL git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 [2021-05-07T20:40:57.500Z] ---> Running in a62ae9b9e702 [2021-05-07T20:40:57.763Z] Removing intermediate container a62ae9b9e702 [2021-05-07T20:40:57.763Z] ---> bc029b2af77d [2021-05-07T20:40:57.763Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T20:40:57.763Z] ---> Running in 7eff759368f1 [2021-05-07T20:40:58.024Z] Removing intermediate container 7eff759368f1 [2021-05-07T20:40:58.024Z] ---> 4bbefdb15bfe [2021-05-07T20:40:58.024Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T20:40:58.025Z] Successfully built 4bbefdb15bfe [2021-05-07T20:40:58.025Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:40:58.693Z] ---> job-cost.sh [2021-05-07T20:40:58.693Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-niQc [2021-05-07T20:41:08.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T20:41:08.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T20:41:08.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T20:41:08.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T20:41:08.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T20:41:09.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 28.1% of statements [2021-05-07T20:41:10.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements [2021-05-07T20:41:10.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.193s coverage: 10.7% of statements [2021-05-07T20:41:10.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T20:41:10.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T20:41:10.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T20:41:12.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 30.2% of statements [2021-05-07T20:41:12.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T20:41:12.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-07T20:41:12.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T20:41:12.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T20:41:13.628Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T20:41:15.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.304s coverage: 57.2% of statements [2021-05-07T20:41:15.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.287s coverage: 6.6% of statements [2021-05-07T20:41:15.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements [2021-05-07T20:41:15.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T20:41:16.302Z] GO111MODULE=on go vet ./... [2021-05-07T20:41:40.325Z] lf-activate-venv(): INFO: Adding /tmp/venv-niQc/bin to PATH [2021-05-07T20:41:40.325Z] INFO: No Stack... [2021-05-07T20:41:40.325Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T20:41:41.270Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T20:41:41.586Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-05-07T20:41:41.587Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T20:41:41.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [2021-05-07T20:41:41.684Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] did not exist. Created. [2021-05-07T20:41:41.684Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T20:41:42.016Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T20:41:42.145Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T20:41:42.160Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T20:42:12.882Z] gofmt -l . [2021-05-07T20:42:12.882Z] [ "`gofmt -l .`" = "" ] [2021-05-07T20:42:12.882Z] ./bin/test-attribution-txt.sh [2021-05-07T20:42:12.882Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T20:42:12.907Z] $ docker stop --time=1 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 [2021-05-07T20:42:15.255Z] $ docker rm -f 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T20:42:16.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T20:42:16.401Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T20:42:17.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T20:42:18.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T20:42:18.485Z] + ls -al . [2021-05-07T20:42:18.485Z] total 224 [2021-05-07T20:42:18.485Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 20:42 . [2021-05-07T20:42:18.485Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 .. [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 20:38 .dockerignore [2021-05-07T20:42:18.485Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 20:38 .git [2021-05-07T20:42:18.485Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:38 .github [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 20:38 .gitignore [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 20:38 Dockerfile.build [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 20:38 Jenkinsfile [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 20:38 LICENSE [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 20:38 Makefile [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 20:38 README.md [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 20:38 RELEASE-NOTES.txt [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 20:35 VERSION [2021-05-07T20:42:18.485Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:38 bin [2021-05-07T20:42:18.485Z] -rw-r--r-- 1 jenkins jenkins 98899 May 7 20:41 coverage.out [2021-05-07T20:42:18.485Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:38 example [2021-05-07T20:42:18.485Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 20:42 go.mod [2021-05-07T20:42:18.485Z] -rw-r--r-- 1 jenkins jenkins 20904 May 7 20:39 go.sum [2021-05-07T20:42:18.485Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 20:38 internal [2021-05-07T20:42:18.485Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 openapi [2021-05-07T20:42:18.485Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:38 pkg [2021-05-07T20:42:18.485Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 snap [2021-05-07T20:42:18.485Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 20:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:42:18.890Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 --label arch=arm64 --label version=0.0.0 . [2021-05-07T20:42:19.530Z] Sending build context to Docker daemon 2.655MB [2021-05-07T20:42:19.530Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T20:42:19.530Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T20:42:19.530Z] ---> ce1769df98d0 [2021-05-07T20:42:19.530Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T20:42:19.839Z] ---> Running in e36f41088ecd [2021-05-07T20:42:20.459Z] Removing intermediate container e36f41088ecd [2021-05-07T20:42:20.459Z] ---> ec7504979b0a [2021-05-07T20:42:20.459Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:42:20.459Z] ---> Running in da0bfb4158fb [2021-05-07T20:42:21.056Z] Removing intermediate container da0bfb4158fb [2021-05-07T20:42:21.056Z] ---> 5e20c9e70a09 [2021-05-07T20:42:21.056Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:42:21.056Z] ---> Running in 652bd71d5e99 [2021-05-07T20:42:23.743Z] Removing intermediate container 652bd71d5e99 [2021-05-07T20:42:23.743Z] ---> 12f002e3f150 [2021-05-07T20:42:23.743Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T20:42:23.743Z] ---> Running in 710bc1ee7f36 [2021-05-07T20:42:24.721Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T20:42:25.694Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T20:42:26.673Z] OK: 139 MiB in 46 packages [2021-05-07T20:42:28.112Z] Removing intermediate container 710bc1ee7f36 [2021-05-07T20:42:28.112Z] ---> ebcb9824c577 [2021-05-07T20:42:28.112Z] Step 7/23 : COPY . . [2021-05-07T20:42:29.547Z] ---> 5cdf7681907d [2021-05-07T20:42:29.547Z] Step 8/23 : RUN go mod download [2021-05-07T20:42:29.547Z] ---> Running in a2f9822f1275 [2021-05-07T20:42:31.529Z] Removing intermediate container a2f9822f1275 [2021-05-07T20:42:31.529Z] ---> da76299bf248 [2021-05-07T20:42:31.529Z] Step 9/23 : RUN make build [2021-05-07T20:42:31.803Z] ---> Running in 3928b835b80b [2021-05-07T20:42:32.782Z] 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-07T20:43:05.158Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T20:43:07.127Z] Removing intermediate container 3928b835b80b [2021-05-07T20:43:07.127Z] ---> c4b39b067b92 [2021-05-07T20:43:07.127Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T20:43:07.716Z] 3.12: Pulling from library/alpine [2021-05-07T20:43:07.716Z] d2f70382dc9a: Pulling fs layer [2021-05-07T20:43:08.311Z] d2f70382dc9a: Verifying Checksum [2021-05-07T20:43:08.311Z] d2f70382dc9a: Download complete [2021-05-07T20:43:08.906Z] d2f70382dc9a: Pull complete [2021-05-07T20:43:08.906Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T20:43:08.906Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T20:43:08.906Z] ---> 9852663dfa18 [2021-05-07T20:43:08.906Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T20:43:08.906Z] ---> Running in 8ae886aa8a26 [2021-05-07T20:43:09.501Z] Removing intermediate container 8ae886aa8a26 [2021-05-07T20:43:09.501Z] ---> 0e4e91eed3cd [2021-05-07T20:43:09.501Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T20:43:09.501Z] ---> Running in b6f6b130bb50 [2021-05-07T20:43:11.474Z] Removing intermediate container b6f6b130bb50 [2021-05-07T20:43:11.474Z] ---> fdc6ccdfac68 [2021-05-07T20:43:11.474Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T20:43:11.747Z] ---> Running in fb861a119246 [2021-05-07T20:43:12.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T20:43:13.699Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T20:43:14.290Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T20:43:14.558Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T20:43:14.558Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T20:43:15.146Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T20:43:15.146Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T20:43:15.418Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T20:43:15.418Z] OK: 8 MiB in 19 packages [2021-05-07T20:43:16.855Z] Removing intermediate container fb861a119246 [2021-05-07T20:43:16.855Z] ---> 46fbc40c1166 [2021-05-07T20:43:16.855Z] Step 14/23 : WORKDIR / [2021-05-07T20:43:16.855Z] ---> Running in 336478f7d238 [2021-05-07T20:43:17.451Z] Removing intermediate container 336478f7d238 [2021-05-07T20:43:17.451Z] ---> 5d346f44fc40 [2021-05-07T20:43:17.451Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T20:43:18.045Z] ---> 6e47320bed3a [2021-05-07T20:43:18.045Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T20:43:19.481Z] ---> 90bc09f4cdc3 [2021-05-07T20:43:19.481Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T20:43:20.076Z] ---> 27313f973a0e [2021-05-07T20:43:20.076Z] Step 18/23 : EXPOSE 49990 [2021-05-07T20:43:20.076Z] ---> Running in a3e348256dfc [2021-05-07T20:43:20.673Z] Removing intermediate container a3e348256dfc [2021-05-07T20:43:20.673Z] ---> 9f4509c895cf [2021-05-07T20:43:20.673Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T20:43:20.673Z] ---> Running in d2dc22fe4691 [2021-05-07T20:43:21.269Z] Removing intermediate container d2dc22fe4691 [2021-05-07T20:43:21.269Z] ---> 34af00917194 [2021-05-07T20:43:21.269Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T20:43:21.269Z] ---> Running in cc065fc8ce6b [2021-05-07T20:43:21.865Z] Removing intermediate container cc065fc8ce6b [2021-05-07T20:43:21.865Z] ---> a0bb9438237d [2021-05-07T20:43:21.865Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T20:43:21.865Z] ---> Running in c081139a0484 [2021-05-07T20:43:22.460Z] Removing intermediate container c081139a0484 [2021-05-07T20:43:22.460Z] ---> 79bec4ed0beb [2021-05-07T20:43:22.460Z] Step 22/23 : LABEL git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 [2021-05-07T20:43:22.460Z] ---> Running in decad49d88e3 [2021-05-07T20:43:23.053Z] Removing intermediate container decad49d88e3 [2021-05-07T20:43:23.053Z] ---> 7c51caa612b1 [2021-05-07T20:43:23.053Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T20:43:23.053Z] ---> Running in e85ce7d81860 [2021-05-07T20:43:23.648Z] Removing intermediate container e85ce7d81860 [2021-05-07T20:43:23.648Z] ---> 37306542d891 [2021-05-07T20:43:23.648Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-07T20:43:23.648Z] Successfully built 37306542d891 [2021-05-07T20:43:23.648Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:43:24.118Z] ---> job-cost.sh [2021-05-07T20:43:24.118Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AS69 [2021-05-07T20:44:03.065Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T20:45:24.793Z] lf-activate-venv(): INFO: Adding /tmp/venv-AS69/bin to PATH [2021-05-07T20:45:24.793Z] INFO: No Stack... [2021-05-07T20:45:24.793Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T20:45:24.793Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T20:45:25.136Z] + + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-05-07T20:45:25.136Z] cut -d, -f6 [Pipeline] lock [2021-05-07T20:45:25.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [2021-05-07T20:45:25.266Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] did not exist. Created. [2021-05-07T20:45:25.266Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T20:45:25.642Z] /w/workspace/device-sdk-go/6@tmp/durable-39e849eb/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-39e849eb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T20:45:25.997Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T20:45:26.029Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T20:45:26.180Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T20:45:26.197Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-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-07T20:45:26.813Z] provisioning config files... [2021-05-07T20:45:26.833Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config2574691065463275429tmp [Pipeline] { [Pipeline] sh [2021-05-07T20:45:27.240Z] + set +x [2021-05-07T20:45:27.241Z] + curl -s https://codecov.io/bash [2021-05-07T20:45:27.241Z] + bash -s -- [2021-05-07T20:45:27.515Z] [2021-05-07T20:45:27.515Z] _____ _ [2021-05-07T20:45:27.515Z] / ____| | | [2021-05-07T20:45:27.515Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T20:45:27.515Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T20:45:27.515Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T20:45:27.515Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T20:45:27.515Z] Bash-1.0.2 [2021-05-07T20:45:27.515Z] [2021-05-07T20:45:27.515Z] [2021-05-07T20:45:27.515Z] ==> git version 2.24.3 found [2021-05-07T20:45:27.515Z] ==> 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-07T20:45:27.515Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T20:45:27.515Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T20:45:27.515Z] ==> Jenkins CI detected. [2021-05-07T20:45:27.515Z] project root: . [2021-05-07T20:45:27.515Z] --> token set from env [2021-05-07T20:45:27.515Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T20:45:27.784Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T20:45:27.784Z] ==> Python coveragepy not found [2021-05-07T20:45:27.784Z] ==> Searching for coverage reports in: [2021-05-07T20:45:27.784Z] + . [2021-05-07T20:45:27.784Z] -> Found 1 reports [2021-05-07T20:45:27.784Z] ==> Detecting git/mercurial file structure [2021-05-07T20:45:27.784Z] ==> Reading reports [2021-05-07T20:45:27.784Z] + ./coverage.out bytes=98899 [2021-05-07T20:45:27.784Z] ==> Appending adjustments [2021-05-07T20:45:27.784Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T20:45:28.401Z] + Found adjustments [2021-05-07T20:45:28.401Z] ==> Gzipping contents [2021-05-07T20:45:28.401Z] 16K /tmp/codecov.MGCvmf.gz [2021-05-07T20:45:28.401Z] ==> Uploading reports [2021-05-07T20:45:28.401Z] url: https://codecov.io [2021-05-07T20:45:28.401Z] query: branch=PR-907&commit=692b28680fefed51e933ff85e2bc551ffbcd2762&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= [2021-05-07T20:45:28.401Z] -> Pinging Codecov [2021-05-07T20:45:28.401Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-907&commit=692b28680fefed51e933ff85e2bc551ffbcd2762&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= [2021-05-07T20:45:29.014Z] -> Uploading to [2021-05-07T20:45:29.014Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/692b28680fefed51e933ff85e2bc551ffbcd2762/4c7b2c57-744d-4115-bdb7-218d51cbc00a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T204528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17452c6eb386de1ad880d5ff9b4af5fefd4b823f39c316ab1525bc848f916ed5 [2021-05-07T20:45:29.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T20:45:29.014Z] Dload Upload Total Spent Left Speed [2021-05-07T20:45:29.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13430 0 0 100 13430 0 30357 --:--:-- --:--:-- --:--:-- 30316 [2021-05-07T20:45:29.551Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] } [2021-05-07T20:45:29.565Z] 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-07T20:45:30.543Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:45:31.649Z] ---> package-listing.sh [2021-05-07T20:45:31.649Z] ++ facter osfamily [2021-05-07T20:45:31.649Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T20:45:32.184Z] + OS_FAMILY=redhat [2021-05-07T20:45:32.184Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-907 [2021-05-07T20:45:32.184Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T20:45:32.184Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T20:45:32.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T20:45:32.184Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T20:45:32.184Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' [2021-05-07T20:45:32.184Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T20:45:32.184Z] + case "${OS_FAMILY}" in [2021-05-07T20:45:32.184Z] + sort [2021-05-07T20:45:32.184Z] + rpm -qa [2021-05-07T20:45:39.085Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T20:45:39.085Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T20:45:39.085Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T20:45:39.085Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' [2021-05-07T20:45:39.085Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [2021-05-07T20:45:39.085Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [Pipeline] echo [2021-05-07T20:45:39.102Z] 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-907/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T20:45:39.419Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:45:40.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T20:45:40.323Z] [2021-05-07T20:45:40.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T20:45:40.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T20:45:40.713Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T20:45:41.040Z] df20fa9351a1: Pulling fs layer [2021-05-07T20:45:41.040Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T20:45:41.040Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T20:45:41.040Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T20:45:41.040Z] 93b61091891f: Pulling fs layer [2021-05-07T20:45:41.040Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T20:45:41.040Z] 5e14af77c1be: Pulling fs layer [2021-05-07T20:45:41.040Z] 01666e4c0597: Pulling fs layer [2021-05-07T20:45:41.040Z] aa168da1d23b: Pulling fs layer [2021-05-07T20:45:41.040Z] 93b9cdb0e59b: Waiting [2021-05-07T20:45:41.040Z] 5e14af77c1be: Waiting [2021-05-07T20:45:41.040Z] 01666e4c0597: Waiting [2021-05-07T20:45:41.040Z] aa168da1d23b: Waiting [2021-05-07T20:45:41.040Z] 93b61091891f: Waiting [2021-05-07T20:45:41.040Z] 46f8f816bc3b: Waiting [2021-05-07T20:45:41.040Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T20:45:41.040Z] 36b3adc4ff6f: Download complete [2021-05-07T20:45:41.040Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T20:45:41.040Z] 46f8f816bc3b: Download complete [2021-05-07T20:45:41.040Z] df20fa9351a1: Verifying Checksum [2021-05-07T20:45:41.040Z] df20fa9351a1: Download complete [2021-05-07T20:45:41.344Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T20:45:41.344Z] 93b9cdb0e59b: Download complete [2021-05-07T20:45:41.344Z] 5e14af77c1be: Verifying Checksum [2021-05-07T20:45:41.344Z] 5e14af77c1be: Download complete [2021-05-07T20:45:41.344Z] 93b61091891f: Download complete [2021-05-07T20:45:41.344Z] 01666e4c0597: Verifying Checksum [2021-05-07T20:45:41.344Z] 01666e4c0597: Download complete [2021-05-07T20:45:42.452Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T20:45:42.452Z] 8ad3a11d3b57: Download complete [2021-05-07T20:45:42.452Z] df20fa9351a1: Pull complete [2021-05-07T20:45:43.129Z] 36b3adc4ff6f: Pull complete [2021-05-07T20:45:44.654Z] 8ad3a11d3b57: Pull complete [2021-05-07T20:45:44.963Z] 46f8f816bc3b: Pull complete [2021-05-07T20:45:45.980Z] 93b61091891f: Pull complete [2021-05-07T20:45:46.595Z] 93b9cdb0e59b: Pull complete [2021-05-07T20:45:46.896Z] 5e14af77c1be: Pull complete [2021-05-07T20:45:47.555Z] 01666e4c0597: Pull complete [2021-05-07T20:45:48.574Z] aa168da1d23b: Verifying Checksum [2021-05-07T20:45:48.574Z] aa168da1d23b: Download complete [2021-05-07T20:46:04.147Z] aa168da1d23b: Pull complete [2021-05-07T20:46:04.147Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T20:46:04.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T20:46:04.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T20:46:04.657Z] prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container [2021-05-07T20:46:04.754Z] $ 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-907/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-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@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-07T20:46:09.026Z] $ docker top b4104f725571b4ba46fa6fda2b7e8a8c8530f4231fadf4e3941de0ab176c7507 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T20:46:10.073Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T20:46:10.783Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T20:46:11.218Z] + ls /var/log/sa-host [2021-05-07T20:46:11.218Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T20:46:11.218Z] file_magic: OK [2021-05-07T20:46:11.218Z] HZ: Using current value: 100 [2021-05-07T20:46:11.218Z] file_header: OK [2021-05-07T20:46:11.218Z] 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-07T20:46:11.218Z] Statistics: [2021-05-07T20:46:11.218Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T20:46:11.218Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T20:46:11.218Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T20:46:11.218Z] file_magic: OK [2021-05-07T20:46:11.218Z] HZ: Using current value: 100 [2021-05-07T20:46:11.218Z] file_header: OK [2021-05-07T20:46:11.218Z] 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-07T20:46:11.218Z] Statistics: [2021-05-07T20:46:11.218Z] Hnuu...uuuununununu... [2021-05-07T20:46:11.218Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T20:46:11.845Z] provisioning config files... [2021-05-07T20:46:11.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config222085932143782482tmp [Pipeline] { [Pipeline] echo [2021-05-07T20:46:11.940Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:46:12.652Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T20:46:12.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T20:46:12.741Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:46:13.501Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T20:46:13.528Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:46:13.912Z] ---> sudo-logs.sh [2021-05-07T20:46:13.912Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T20:46:14.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:46:14.619Z] ---> job-cost.sh [2021-05-07T20:46:14.891Z] lf-activate-venv: SKIPPING [2021-05-07T20:46:14.891Z] DEBUG: total: 0.20999999344348907 [2021-05-07T20:46:14.891Z] INFO: Retrieving Stack Cost... [2021-05-07T20:46:15.905Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T20:46:16.989Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T20:46:17.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T20:46:17.418Z] ---> logs-deploy.sh [2021-05-07T20:46:17.418Z] lf-activate-venv: SKIPPING [2021-05-07T20:46:17.418Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-907/6 [2021-05-07T20:46:17.418Z] INFO: archiving workspace using pattern(s): [2021-05-07T20:46:20.833Z] Archives upload complete. [2021-05-07T20:46:20.833Z] INFO: archiving logs to Nexus [2021-05-07T20:46:22.336Z] ---> uname -a: [2021-05-07T20:46:22.336Z] Linux prd-centos7-docker-4c-2g-3657.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-07T20:46:22.336Z] [2021-05-07T20:46:22.336Z] [2021-05-07T20:46:22.336Z] ---> lscpu: [2021-05-07T20:46:22.336Z] Architecture: x86_64 [2021-05-07T20:46:22.336Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-07T20:46:22.336Z] Byte Order: Little Endian [2021-05-07T20:46:22.336Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-07T20:46:22.336Z] CPU(s): 4 [2021-05-07T20:46:22.336Z] On-line CPU(s) list: 0-3 [2021-05-07T20:46:22.336Z] Thread(s) per core: 1 [2021-05-07T20:46:22.336Z] Core(s) per socket: 1 [2021-05-07T20:46:22.336Z] Socket(s): 4 [2021-05-07T20:46:22.336Z] NUMA node(s): 1 [2021-05-07T20:46:22.336Z] Vendor ID: GenuineIntel [2021-05-07T20:46:22.336Z] CPU family: 6 [2021-05-07T20:46:22.336Z] Model: 44 [2021-05-07T20:46:22.336Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-07T20:46:22.336Z] Stepping: 1 [2021-05-07T20:46:22.336Z] CPU MHz: 2933.438 [2021-05-07T20:46:22.336Z] BogoMIPS: 5866.87 [2021-05-07T20:46:22.336Z] Virtualization: VT-x [2021-05-07T20:46:22.336Z] Hypervisor vendor: KVM [2021-05-07T20:46:22.336Z] Virtualization type: full [2021-05-07T20:46:22.336Z] L1d cache: 128 KiB [2021-05-07T20:46:22.336Z] L1i cache: 128 KiB [2021-05-07T20:46:22.336Z] L2 cache: 16 MiB [2021-05-07T20:46:22.336Z] L3 cache: 64 MiB [2021-05-07T20:46:22.336Z] NUMA node0 CPU(s): 0-3 [2021-05-07T20:46:22.336Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-07T20:46:22.336Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-07T20:46:22.337Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-07T20:46:22.337Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-07T20:46:22.337Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-07T20:46:22.337Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-07T20:46:22.337Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-07T20:46:22.337Z] Vulnerability Srbds: Not affected [2021-05-07T20:46:22.337Z] Vulnerability Tsx async abort: Not affected [2021-05-07T20:46:22.337Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] ---> nproc: [2021-05-07T20:46:22.337Z] 4 [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] ---> df -h: [2021-05-07T20:46:22.337Z] Filesystem Size Used Available Use% Mounted on [2021-05-07T20:46:22.337Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-07T20:46:22.337Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-07T20:46:22.337Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-07T20:46:22.337Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-907 [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-07T20:46:22.337Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z] ---> free -m: [2021-05-07T20:46:22.337Z] total used free shared buff/cache available [2021-05-07T20:46:22.337Z] Mem: 1837 742 99 0 995 989 [2021-05-07T20:46:22.337Z] Swap: 1023 1 1022 [2021-05-07T20:46:22.337Z] [2021-05-07T20:46:22.337Z]