Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+70dff52b8df9807f5114cad14836e8310fd11d9c (da506c8b3a2f1f81cab1e40721972cfd7fbc661b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3344 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 8900d2ec7da814012faf0094bf31f898361a3aca Checking out Revision 8900d2ec7da814012faf0094bf31f898361a3aca (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8900d2ec7da814012faf0094bf31f898361a3aca # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:43:15.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:43:15.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:43:15.678Z] ========================================================= [2021-05-06T22:43:15.678Z] EdgeX Global Pipelines Version Info [2021-05-06T22:43:15.678Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2c4eb43e9d1b624285ed560293ea7378e1c86003 # timeout=10 [2021-05-06T22:43:17.939Z] ------------------- [2021-05-06T22:43:17.940Z] stable info: [2021-05-06T22:43:17.940Z] ------------------- [2021-05-06T22:43:17.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:43:17.940Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:43:17.940Z] Message: update stable to v1.0.191 [2021-05-06T22:43:18.894Z] ------------------- [2021-05-06T22:43:18.895Z] experimental info: [2021-05-06T22:43:18.895Z] ------------------- [2021-05-06T22:43:18.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:43:18.895Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:43:18.895Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:43:19.016Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T22:43:19.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T22:43:19.063Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:43:19.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:43:19.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:43:19.131Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:43:19.155Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:43:19.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:43:19.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T22:43:19.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:43:19.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:43:19.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-06T22:43:19.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:43:19.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:43:19.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:43:19.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:43:19.389Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:43:19.415Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:43:19.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:43:19.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:43:19.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T22:43:19.512Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T22:43:19.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:43:19.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:43:19.620Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:43:19.642Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:43:19.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-05-06T22:43:19.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-05-06T22:43:19.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-05-06T22:43:19.735Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8900d2ec7da814012faf0094bf31f898361a3aca [Pipeline] echo [2021-05-06T22:43:19.758Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8900d2e [Pipeline] echo [2021-05-06T22:43:19.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:43:19.850Z] provisioning config files... [2021-05-06T22:43:19.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3524253382808518047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:43:20.217Z] ---> docker-login.sh [2021-05-06T22:43:20.217Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:43:20.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:20.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:20.750Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:20.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:20.750Z] [2021-05-06T22:43:20.750Z] Login Succeeded [2021-05-06T22:43:20.750Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:43:20.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:20.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:20.750Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:20.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:20.750Z] [2021-05-06T22:43:20.750Z] Login Succeeded [2021-05-06T22:43:20.750Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:43:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:21.015Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:21.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:21.015Z] [2021-05-06T22:43:21.015Z] Login Succeeded [2021-05-06T22:43:21.015Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:43:21.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:21.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:21.278Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:21.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:21.278Z] [2021-05-06T22:43:21.278Z] Login Succeeded [2021-05-06T22:43:21.278Z] docker.io [2021-05-06T22:43:21.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:21.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:21.857Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:21.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:21.857Z] [2021-05-06T22:43:21.857Z] Login Succeeded [2021-05-06T22:43:21.857Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:43:21.868Z] 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-06T22:43:22.328Z] + git log --format=format:%s -1 8900d2ec7da814012faf0094bf31f898361a3aca [Pipeline] echo [2021-05-06T22:43:22.412Z] GIT_COMMIT: 8900d2ec7da814012faf0094bf31f898361a3aca, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-06T22:43:22.426Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:43:23.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:23.005Z] [2021-05-06T22:43:23.005Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:43:23.327Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:23.327Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:43:23.327Z] 31603596830f: Pulling fs layer [2021-05-06T22:43:23.327Z] 54011a49482f: Pulling fs layer [2021-05-06T22:43:23.327Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:43:23.327Z] f581987b2513: Pulling fs layer [2021-05-06T22:43:23.327Z] f581987b2513: Waiting [2021-05-06T22:43:23.327Z] 54011a49482f: Verifying Checksum [2021-05-06T22:43:23.327Z] 54011a49482f: Download complete [2021-05-06T22:43:23.327Z] 31603596830f: Verifying Checksum [2021-05-06T22:43:23.327Z] 31603596830f: Download complete [2021-05-06T22:43:23.592Z] f581987b2513: Verifying Checksum [2021-05-06T22:43:23.592Z] f581987b2513: Download complete [2021-05-06T22:43:23.592Z] a6820b24f6d8: Download complete [2021-05-06T22:43:23.858Z] 31603596830f: Pull complete [2021-05-06T22:43:23.858Z] 54011a49482f: Pull complete [2021-05-06T22:43:25.321Z] a6820b24f6d8: Pull complete [2021-05-06T22:43:25.322Z] f581987b2513: Pull complete [2021-05-06T22:43:25.322Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:43:25.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:25.588Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:43:25.796Z] prd-centos7-docker-4c-2g-3344 does not seem to be running inside a container [2021-05-06T22:43:25.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:43:28.350Z] $ docker top 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:43:28.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:43:28.642Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:43:29.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:43:29.167Z] $ docker exec 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 ssh-agent [2021-05-06T22:43:29.610Z] SSH_AUTH_SOCK=/tmp/ssh-m7su3TFgL5Sk/agent.11 [2021-05-06T22:43:29.610Z] SSH_AGENT_PID=16 [2021-05-06T22:43:29.637Z] Running ssh-add (command line suppressed) [2021-05-06T22:43:30.068Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9056331068814761658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9056331068814761658.key) [2021-05-06T22:43:30.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:43:30.578Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:43:30.697Z] $ docker exec --env ******** --env ******** 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 ssh-agent -k [2021-05-06T22:43:30.908Z] unset SSH_AUTH_SOCK; [2021-05-06T22:43:30.909Z] unset SSH_AGENT_PID; [2021-05-06T22:43:30.909Z] echo Agent pid 16 killed; [2021-05-06T22:43:31.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:43:31.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:43:31.051Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:43:31.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:43:31.790Z] $ docker exec 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 ssh-agent [2021-05-06T22:43:32.177Z] SSH_AUTH_SOCK=/tmp/ssh-H46hNb8s8SUu/agent.45 [2021-05-06T22:43:32.177Z] SSH_AGENT_PID=50 [2021-05-06T22:43:32.188Z] Running ssh-add (command line suppressed) [2021-05-06T22:43:32.468Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1796805545220332340.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1796805545220332340.key) [2021-05-06T22:43:32.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:43:33.313Z] + git semver init [2021-05-06T22:43:33.314Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:43:33.314Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-05-06T22:43:33.314Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-06T22:43:33.314Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:43:33.314Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:43:33.314Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:43:33.314Z] # $SEMVER_BRANCH = PR-725 [2021-05-06T22:43:33.314Z] # $SEMVER_TEMP = /tmp/semver-582935318 [2021-05-06T22:43:33.314Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T22:43:34.306Z] # '/tmp/semver-582935318' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-05-06T22:43:34.306Z] # -> Force: false [2021-05-06T22:43:34.306Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-05-06T22:43:34.381Z] $ docker exec --env ******** --env ******** 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 ssh-agent -k [2021-05-06T22:43:34.786Z] unset SSH_AUTH_SOCK; [2021-05-06T22:43:34.786Z] unset SSH_AGENT_PID; [2021-05-06T22:43:34.786Z] echo Agent pid 50 killed; [2021-05-06T22:43:34.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:43:35.653Z] + git semver [Pipeline] } [2021-05-06T22:43:35.694Z] $ docker stop --time=1 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 [2021-05-06T22:43:37.596Z] $ docker rm -f 3bdce19fcf99d822d5de250ac11cc7a5b0dab434730e760a6792311606b70819 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:43:38.303Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:43:38.998Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:43:39.002Z] [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-06T22:43:54.169Z] Still waiting to schedule task [2021-05-06T22:43:54.169Z] ‘prd-centos7-docker-4c-2g-3338’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline [2021-05-06T22:43:54.172Z] Still waiting to schedule task [2021-05-06T22:43:54.172Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T22:45:19.216Z] Running on prd-centos7-docker-4c-2g-3351 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-06T22:45:19.239Z] Running in /w/workspace/device-sdk-go/41 [Pipeline] { [Pipeline] checkout [2021-05-06T22:45:22.058Z] using credential edgex-jenkins-ssh [2021-05-06T22:45:22.072Z] Cloning the remote Git repository [2021-05-06T22:45:22.099Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:22.170Z] > git init /w/workspace/device-sdk-go/41 # timeout=10 [2021-05-06T22:45:22.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:22.231Z] > git --version # timeout=10 [2021-05-06T22:45:22.236Z] > git --version # 'git version 2.24.3' [2021-05-06T22:45:22.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:22.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:23.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:23.131Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:23.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:23.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:23.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:23.166Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:45:23.934Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-05-06T22:45:24.137Z] Merge succeeded, producing bc05572344509028a94e7848e1fc00a15b6a0bc9 [2021-05-06T22:45:24.137Z] Checking out Revision bc05572344509028a94e7848e1fc00a15b6a0bc9 (PR-725) [2021-05-06T22:45:23.943Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:23.949Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-05-06T22:45:24.010Z] > git remote # timeout=10 [2021-05-06T22:45:24.016Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:45:24.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:24.028Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:45:24.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:45:24.141Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:24.148Z] > git checkout -f bc05572344509028a94e7848e1fc00a15b6a0bc9 # timeout=10 [2021-05-06T22:45:27.747Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:45:27.759Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:45:28.890Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:45:27.752Z] > git rev-list --no-walk 2c4eb43e9d1b624285ed560293ea7378e1c86003 # timeout=10 [2021-05-06T22:45:29.216Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:45:29.516Z] + sudo service docker restart [2021-05-06T22:45:29.516Z] + true [2021-05-06T22:45:29.516Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:45:30.497Z] provisioning config files... [2021-05-06T22:45:30.544Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/41@tmp/config2159643894219207972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:45:30.862Z] ---> docker-login.sh [2021-05-06T22:45:30.862Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:45:31.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:31.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:31.125Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:31.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:31.125Z] [2021-05-06T22:45:31.125Z] Login Succeeded [2021-05-06T22:45:31.125Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:45:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:31.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:31.394Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:31.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:31.394Z] [2021-05-06T22:45:31.394Z] Login Succeeded [2021-05-06T22:45:31.394Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:45:31.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:31.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:31.661Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:31.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:31.661Z] [2021-05-06T22:45:31.661Z] Login Succeeded [2021-05-06T22:45:31.661Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:45:31.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:31.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:31.661Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:31.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:31.661Z] [2021-05-06T22:45:31.661Z] Login Succeeded [2021-05-06T22:45:31.661Z] docker.io [2021-05-06T22:45:31.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:32.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:32.187Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:32.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:32.187Z] [2021-05-06T22:45:32.187Z] Login Succeeded [2021-05-06T22:45:32.187Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:45:32.198Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:45:32.387Z] ========================================================= [2021-05-06T22:45:32.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:45:32.387Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:32.708Z] + 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-06T22:45:32.708Z] Sending build context to Docker daemon 2.48MB [2021-05-06T22:45:32.708Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:45:32.708Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:45:32.975Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:45:32.975Z] 540db60ca938: Pulling fs layer [2021-05-06T22:45:32.975Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:45:32.975Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:45:32.975Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:45:32.975Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:45:32.975Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:45:32.975Z] f706445af74f: Pulling fs layer [2021-05-06T22:45:32.975Z] afea3b2eda06: Waiting [2021-05-06T22:45:32.975Z] 7809a108b3ef: Waiting [2021-05-06T22:45:32.976Z] f706445af74f: Waiting [2021-05-06T22:45:32.976Z] 0510c868ecb4: Waiting [2021-05-06T22:45:32.976Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:45:32.976Z] 4c4ab2625f07: Download complete [2021-05-06T22:45:32.976Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:45:32.976Z] adcc1eea9eea: Download complete [2021-05-06T22:45:32.976Z] afea3b2eda06: Download complete [2021-05-06T22:45:32.976Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:45:32.976Z] 7809a108b3ef: Download complete [2021-05-06T22:45:33.238Z] 540db60ca938: Verifying Checksum [2021-05-06T22:45:33.238Z] 540db60ca938: Download complete [2021-05-06T22:45:33.500Z] 540db60ca938: Pull complete [2021-05-06T22:45:33.762Z] adcc1eea9eea: Pull complete [2021-05-06T22:45:33.762Z] 4c4ab2625f07: Pull complete [2021-05-06T22:45:35.717Z] f706445af74f: Verifying Checksum [2021-05-06T22:45:35.717Z] f706445af74f: Download complete [2021-05-06T22:45:36.677Z] 0510c868ecb4: Download complete [2021-05-06T22:45:42.016Z] 0510c868ecb4: Pull complete [2021-05-06T22:45:42.597Z] afea3b2eda06: Pull complete [2021-05-06T22:45:42.861Z] 7809a108b3ef: Pull complete [2021-05-06T22:45:47.123Z] f706445af74f: Pull complete [2021-05-06T22:45:47.123Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:45:47.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:45:47.123Z] ---> b068be0155e3 [2021-05-06T22:45:47.123Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:45:47.703Z] ---> Running in c1d44ab532db [2021-05-06T22:45:47.703Z] Removing intermediate container c1d44ab532db [2021-05-06T22:45:47.703Z] ---> 0d4968dff7e1 [2021-05-06T22:45:47.703Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:45:47.967Z] ---> Running in 029596195fd0 [2021-05-06T22:45:48.934Z] Removing intermediate container 029596195fd0 [2021-05-06T22:45:48.934Z] ---> b544714c22d4 [2021-05-06T22:45:48.934Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:45:48.934Z] ---> Running in 18b002fa0947 [2021-05-06T22:45:49.928Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:50.880Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:51.145Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:45:51.408Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:45:51.408Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:45:51.408Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:45:51.674Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:45:51.674Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:45:51.939Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:45:51.939Z] OK: 150 MiB in 46 packages [2021-05-06T22:45:52.517Z] Removing intermediate container 18b002fa0947 [2021-05-06T22:45:52.517Z] ---> 2d63af0fdf8a [2021-05-06T22:45:52.517Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:45:52.517Z] ---> Running in 155fb788a825 [2021-05-06T22:45:52.787Z] Removing intermediate container 155fb788a825 [2021-05-06T22:45:52.787Z] ---> a6357aeb7cb6 [2021-05-06T22:45:52.787Z] Step 7/8 : COPY . . [2021-05-06T22:45:54.192Z] ---> 9dc6862ee0ff [2021-05-06T22:45:54.192Z] Step 8/8 : RUN go mod download [2021-05-06T22:45:54.192Z] ---> Running in 6dcab1835535 [2021-05-06T22:46:16.230Z] Removing intermediate container 6dcab1835535 [2021-05-06T22:46:16.230Z] ---> fa69b83e2b24 [2021-05-06T22:46:16.230Z] Successfully built fa69b83e2b24 [2021-05-06T22:46:16.230Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:16.554Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:46:16.554Z] . [Pipeline] withDockerContainer [2021-05-06T22:46:16.667Z] prd-centos7-docker-4c-2g-3351 does not seem to be running inside a container [2021-05-06T22:46:16.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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-06T22:46:17.506Z] $ docker top 222c4aacc7c1bd0b71dc152c3faad684841d4cd5459a29dc699ce664a197236c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:46:18.003Z] + go version [2021-05-06T22:46:18.003Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:46:18.019Z] $ docker stop --time=1 222c4aacc7c1bd0b71dc152c3faad684841d4cd5459a29dc699ce664a197236c [2021-05-06T22:46:19.375Z] $ docker rm -f 222c4aacc7c1bd0b71dc152c3faad684841d4cd5459a29dc699ce664a197236c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:19.889Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:46:19.889Z] . [Pipeline] withDockerContainer [2021-05-06T22:46:19.995Z] prd-centos7-docker-4c-2g-3351 does not seem to be running inside a container [2021-05-06T22:46:20.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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-06T22:46:20.813Z] $ docker top 652d17abbad58bfe892e8bcbbde87d710acfa43d0f7cc25f1c00a5c527f2ebdd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:46:21.264Z] + go mod tidy [Pipeline] sh [2021-05-06T22:46:22.161Z] + make test [2021-05-06T22:46:22.161Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:46:30.424Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:46:57.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.071s coverage: 28.1% of statements [2021-05-06T22:46:57.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements [2021-05-06T22:46:57.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.078s coverage: 7.8% of statements [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:46:57.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 30.2% of statements [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:46:57.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:46:57.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.129s coverage: 57.2% of statements [2021-05-06T22:46:58.345Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.259s coverage: 6.6% of statements [2021-05-06T22:46:58.345Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 5.0% of statements [2021-05-06T22:46:58.345Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:46:58.925Z] GO111MODULE=on go vet ./... [2021-05-06T22:47:13.665Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3355 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-06T22:47:13.686Z] Running in /w/workspace/device-sdk-go/41 [Pipeline] { [Pipeline] checkout [2021-05-06T22:47:19.711Z] using credential edgex-jenkins-ssh [2021-05-06T22:47:19.732Z] Cloning the remote Git repository [2021-05-06T22:47:19.822Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:47:19.936Z] > git init /w/workspace/device-sdk-go/41 # timeout=10 [2021-05-06T22:47:20.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:47:20.037Z] > git --version # timeout=10 [2021-05-06T22:47:20.053Z] > git --version # 'git version 2.17.1' [2021-05-06T22:47:20.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:47:20.124Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:47:21.363Z] gofmt -l . [2021-05-06T22:47:21.363Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:47:21.363Z] ./bin/test-attribution-txt.sh [2021-05-06T22:47:21.363Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:47:21.395Z] $ docker stop --time=1 652d17abbad58bfe892e8bcbbde87d710acfa43d0f7cc25f1c00a5c527f2ebdd [2021-05-06T22:47:21.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:47:21.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:47:21.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:47:21.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:47:21.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:47:21.506Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:47:22.128Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-05-06T22:47:22.563Z] Merge succeeded, producing b29697daccabe2a7290e601eb896be457af62b22 [2021-05-06T22:47:22.564Z] Checking out Revision b29697daccabe2a7290e601eb896be457af62b22 (PR-725) [2021-05-06T22:47:22.149Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:47:22.172Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-05-06T22:47:22.301Z] > git remote # timeout=10 [2021-05-06T22:47:22.321Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:47:22.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:47:22.346Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:47:22.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:47:22.572Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:47:22.583Z] > git checkout -f b29697daccabe2a7290e601eb896be457af62b22 # timeout=10 [2021-05-06T22:47:23.229Z] $ docker rm -f 652d17abbad58bfe892e8bcbbde87d710acfa43d0f7cc25f1c00a5c527f2ebdd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:47:23.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:47:24.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:47:25.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:47:25.814Z] + ls -al . [2021-05-06T22:47:25.814Z] total 188 [2021-05-06T22:47:25.814Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:47 . [2021-05-06T22:47:25.814Z] drwxrwxr-x. 4 jenkins jenkins 30 May 6 22:45 .. [2021-05-06T22:47:25.814Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:45 bin [2021-05-06T22:47:25.814Z] -rw-r--r--. 1 jenkins jenkins 100320 May 6 22:46 coverage.out [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:45 Dockerfile.build [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:45 .dockerignore [2021-05-06T22:47:25.814Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:45 example [2021-05-06T22:47:25.814Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:45 .git [2021-05-06T22:47:25.814Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:45 .github [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:45 .gitignore [2021-05-06T22:47:25.814Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 22:47 go.mod [2021-05-06T22:47:25.814Z] -rw-r--r--. 1 jenkins jenkins 20957 May 6 22:46 go.sum [2021-05-06T22:47:25.814Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:45 internal [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 894 May 6 22:45 Jenkinsfile [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:45 LICENSE [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:45 Makefile [2021-05-06T22:47:25.814Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:45 openapi [2021-05-06T22:47:25.814Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:45 pkg [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:45 README.md [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:45 RELEASE-NOTES.txt [2021-05-06T22:47:25.814Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:45 snap [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:47:25.814Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:26.131Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8900d2ec7da814012faf0094bf31f898361a3aca --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:47:26.395Z] Sending build context to Docker daemon 2.58MB [2021-05-06T22:47:26.395Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:47:26.395Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:47:26.395Z] ---> fa69b83e2b24 [2021-05-06T22:47:26.395Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:47:26.842Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:47:26.865Z] First time build. Skipping changelog. [2021-05-06T22:47:26.973Z] ---> Running in 09703ac0fd34 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:47:27.236Z] Removing intermediate container 09703ac0fd34 [2021-05-06T22:47:27.237Z] ---> b62d2e557114 [2021-05-06T22:47:27.237Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:27.237Z] ---> Running in bef396e88bd3 [2021-05-06T22:47:26.851Z] > git rev-list --no-walk 2c4eb43e9d1b624285ed560293ea7378e1c86003 # timeout=10 [2021-05-06T22:47:27.502Z] Removing intermediate container bef396e88bd3 [2021-05-06T22:47:27.502Z] ---> 2289f08dc3d1 [2021-05-06T22:47:27.502Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:27.502Z] ---> Running in 9e4f8239d27c [2021-05-06T22:47:28.187Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:47:28.471Z] Removing intermediate container 9e4f8239d27c [2021-05-06T22:47:28.472Z] ---> b16b5cbb18cc [2021-05-06T22:47:28.472Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:47:28.472Z] ---> Running in 95df0f9b530a [2021-05-06T22:47:28.599Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:47:28.974Z] + sudo service docker restart [2021-05-06T22:47:28.974Z] + true [2021-05-06T22:47:29.060Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:30.026Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2021-05-06T22:47:30.982Z] OK: 150 MiB in 46 packages [Pipeline] wrap [2021-05-06T22:47:30.993Z] provisioning config files... [2021-05-06T22:47:31.035Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/41@tmp/config1040297135482258505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:47:31.246Z] Removing intermediate container 95df0f9b530a [2021-05-06T22:47:31.246Z] ---> 5bf919ebd1f9 [2021-05-06T22:47:31.246Z] Step 7/23 : COPY . . [2021-05-06T22:47:31.413Z] ---> docker-login.sh [2021-05-06T22:47:31.413Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:47:32.197Z] ---> 6a4779ff2356 [2021-05-06T22:47:32.198Z] Step 8/23 : RUN go mod download [2021-05-06T22:47:32.198Z] ---> Running in c650e2fa25f2 [2021-05-06T22:47:32.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:47:32.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:47:32.685Z] Configure a credential helper to remove this warning. See [2021-05-06T22:47:32.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:47:32.685Z] [2021-05-06T22:47:32.685Z] Login Succeeded [2021-05-06T22:47:32.685Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:47:33.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:47:33.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:47:33.282Z] Configure a credential helper to remove this warning. See [2021-05-06T22:47:33.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:47:33.282Z] [2021-05-06T22:47:33.282Z] Login Succeeded [2021-05-06T22:47:33.282Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:47:33.620Z] Removing intermediate container c650e2fa25f2 [2021-05-06T22:47:33.620Z] ---> 091925ccb45d [2021-05-06T22:47:33.620Z] Step 9/23 : RUN make build [2021-05-06T22:47:33.620Z] ---> Running in 4d5ad2ff2910 [2021-05-06T22:47:33.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:47:33.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:47:33.881Z] Configure a credential helper to remove this warning. See [2021-05-06T22:47:33.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:47:33.881Z] [2021-05-06T22:47:33.881Z] Login Succeeded [2021-05-06T22:47:33.881Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:47:34.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:47:34.214Z] 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-06T22:47:34.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:47:34.434Z] Configure a credential helper to remove this warning. See [2021-05-06T22:47:34.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:47:34.434Z] [2021-05-06T22:47:34.434Z] Login Succeeded [2021-05-06T22:47:34.434Z] docker.io [2021-05-06T22:47:35.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:47:35.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:47:35.316Z] Configure a credential helper to remove this warning. See [2021-05-06T22:47:35.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:47:35.316Z] [2021-05-06T22:47:35.316Z] Login Succeeded [2021-05-06T22:47:35.316Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:47:35.345Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:47:35.718Z] ========================================================= [2021-05-06T22:47:35.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:47:35.718Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:36.072Z] + 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-06T22:47:36.682Z] Sending build context to Docker daemon 2.476MB [2021-05-06T22:47:36.682Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:47:36.682Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:47:36.682Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:47:36.682Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:47:36.682Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:47:36.682Z] 316046926c0a: Pulling fs layer [2021-05-06T22:47:36.682Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:47:36.682Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:47:36.682Z] c791037a9be2: Pulling fs layer [2021-05-06T22:47:36.682Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:47:36.682Z] 4ebd0625c992: Waiting [2021-05-06T22:47:36.682Z] 207e8628e3a3: Waiting [2021-05-06T22:47:36.682Z] c791037a9be2: Waiting [2021-05-06T22:47:36.682Z] 316046926c0a: Verifying Checksum [2021-05-06T22:47:36.682Z] 316046926c0a: Download complete [2021-05-06T22:47:36.682Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:47:36.682Z] 207e8628e3a3: Verifying Checksum [2021-05-06T22:47:36.682Z] 207e8628e3a3: Download complete [2021-05-06T22:47:36.682Z] c791037a9be2: Verifying Checksum [2021-05-06T22:47:36.682Z] c791037a9be2: Download complete [2021-05-06T22:47:36.682Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:47:36.682Z] 595b0fe564bb: Download complete [2021-05-06T22:47:37.675Z] 595b0fe564bb: Pull complete [2021-05-06T22:47:38.282Z] 7186ed65a4f7: Pull complete [2021-05-06T22:47:38.557Z] 316046926c0a: Pull complete [2021-05-06T22:47:38.837Z] ffd874e62e21: Download complete [2021-05-06T22:47:40.318Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:47:40.318Z] 4ebd0625c992: Download complete [2021-05-06T22:47:49.274Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:47:49.274Z] Removing intermediate container 4d5ad2ff2910 [2021-05-06T22:47:49.274Z] ---> a700073ce5e3 [2021-05-06T22:47:49.274Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:47:49.537Z] 3.12: Pulling from library/alpine [2021-05-06T22:47:49.537Z] 339de151aab4: Pulling fs layer [2021-05-06T22:47:49.802Z] 339de151aab4: Verifying Checksum [2021-05-06T22:47:49.802Z] 339de151aab4: Download complete [2021-05-06T22:47:50.069Z] 339de151aab4: Pull complete [2021-05-06T22:47:50.069Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:47:50.069Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:47:50.069Z] ---> 13621d1b12d4 [2021-05-06T22:47:50.069Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:50.069Z] ---> Running in ec48a9e04eaa [2021-05-06T22:47:50.332Z] Removing intermediate container ec48a9e04eaa [2021-05-06T22:47:50.332Z] ---> eb7aa58882cc [2021-05-06T22:47:50.332Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:50.332Z] ---> Running in fafc6772e528 [2021-05-06T22:47:50.497Z] 4ebd0625c992: Pull complete [2021-05-06T22:47:50.772Z] 207e8628e3a3: Pull complete [2021-05-06T22:47:51.051Z] c791037a9be2: Pull complete [2021-05-06T22:47:51.291Z] Removing intermediate container fafc6772e528 [2021-05-06T22:47:51.291Z] ---> 40d0f68f4912 [2021-05-06T22:47:51.291Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:47:51.291Z] ---> Running in 09d1886e661b [2021-05-06T22:47:51.868Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:52.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:53.027Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:47:53.027Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:47:53.296Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:47:53.880Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:47:54.144Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:47:54.144Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:47:54.144Z] OK: 8 MiB in 19 packages [2021-05-06T22:47:54.729Z] Removing intermediate container 09d1886e661b [2021-05-06T22:47:54.729Z] ---> a87208d88739 [2021-05-06T22:47:54.729Z] Step 14/23 : WORKDIR / [2021-05-06T22:47:54.729Z] ---> Running in 814e3c185b33 [2021-05-06T22:47:55.000Z] Removing intermediate container 814e3c185b33 [2021-05-06T22:47:55.000Z] ---> e121ef941186 [2021-05-06T22:47:55.000Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:47:55.263Z] ---> b68cb91738f6 [2021-05-06T22:47:55.263Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:47:55.373Z] ffd874e62e21: Pull complete [2021-05-06T22:47:55.373Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:47:55.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:47:55.373Z] ---> cfc18b08335c [2021-05-06T22:47:55.373Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:55.842Z] ---> bbe591948e65 [2021-05-06T22:47:55.842Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:47:56.111Z] ---> b6d255b39e14 [2021-05-06T22:47:56.111Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:47:56.379Z] ---> Running in b08a9b1cc9bb [2021-05-06T22:47:56.379Z] Removing intermediate container b08a9b1cc9bb [2021-05-06T22:47:56.379Z] ---> 9885cb5a2def [2021-05-06T22:47:56.379Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:47:56.379Z] ---> Running in 1c4fc67f8ba0 [2021-05-06T22:47:56.646Z] Removing intermediate container 1c4fc67f8ba0 [2021-05-06T22:47:56.646Z] ---> 17a97b9aa0eb [2021-05-06T22:47:56.646Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:47:56.646Z] ---> Running in ee27948909cb [2021-05-06T22:47:56.913Z] Removing intermediate container ee27948909cb [2021-05-06T22:47:56.913Z] ---> 19e4d8699e1d [2021-05-06T22:47:56.913Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T22:47:56.913Z] ---> Running in 05352f2fba04 [2021-05-06T22:47:57.183Z] Removing intermediate container 05352f2fba04 [2021-05-06T22:47:57.183Z] ---> c95191e255a8 [2021-05-06T22:47:57.183Z] Step 22/23 : LABEL git_sha=8900d2ec7da814012faf0094bf31f898361a3aca [2021-05-06T22:47:57.183Z] ---> Running in dd0805404da6 [2021-05-06T22:47:57.446Z] Removing intermediate container dd0805404da6 [2021-05-06T22:47:57.447Z] ---> 01d7d9593aec [2021-05-06T22:47:57.447Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:47:57.447Z] ---> Running in cd5a8f536538 [2021-05-06T22:47:57.710Z] Removing intermediate container cd5a8f536538 [2021-05-06T22:47:57.710Z] ---> 1243c96bd180 [2021-05-06T22:47:57.710Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-06T22:47:57.710Z] Successfully built 1243c96bd180 [2021-05-06T22:47:57.710Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:47:58.044Z] ---> Running in 5352d75fb40a [2021-05-06T22:47:58.255Z] ---> job-cost.sh [2021-05-06T22:47:58.255Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ROyE [2021-05-06T22:47:58.322Z] Removing intermediate container 5352d75fb40a [2021-05-06T22:47:58.322Z] ---> a5e381fa377b [2021-05-06T22:47:58.322Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:58.595Z] ---> Running in 1a0c3f43c78b [2021-05-06T22:48:01.261Z] Removing intermediate container 1a0c3f43c78b [2021-05-06T22:48:01.261Z] ---> 37be970efce3 [2021-05-06T22:48:01.261Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:48:01.261Z] ---> Running in c255ea8cb618 [2021-05-06T22:48:02.247Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:48:03.226Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:48:04.205Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:48:04.205Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:48:04.205Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:48:04.477Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:48:04.477Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:48:04.477Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:48:04.749Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:48:04.749Z] OK: 139 MiB in 46 packages [2021-05-06T22:48:06.190Z] Removing intermediate container c255ea8cb618 [2021-05-06T22:48:06.190Z] ---> 1dba6d4f4e1c [2021-05-06T22:48:06.190Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:48:06.190Z] ---> Running in 921a7df8985e [2021-05-06T22:48:06.785Z] Removing intermediate container 921a7df8985e [2021-05-06T22:48:06.785Z] ---> 55f8088ea4d4 [2021-05-06T22:48:06.785Z] Step 7/8 : COPY . . [2021-05-06T22:48:08.216Z] ---> 26ca77643274 [2021-05-06T22:48:08.216Z] Step 8/8 : RUN go mod download [2021-05-06T22:48:08.216Z] ---> Running in 2c37e8d4f253 [2021-05-06T22:48:16.858Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:48:35.043Z] Removing intermediate container 2c37e8d4f253 [2021-05-06T22:48:35.043Z] ---> 636de1f6410f [2021-05-06T22:48:35.043Z] Successfully built 636de1f6410f [2021-05-06T22:48:35.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:48:35.389Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:48:35.390Z] . [Pipeline] withDockerContainer [2021-05-06T22:48:35.676Z] prd-ubuntu18.04-docker-arm64-4c-16g-3355 does not seem to be running inside a container [2021-05-06T22:48:35.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:48:37.447Z] $ docker top 79e6da9edaa4d0c3b90696efd40ba62e6e37ba372287bdaf3f8576a4fd7a1204 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:48:38.426Z] + go version [2021-05-06T22:48:38.426Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T22:48:38.452Z] $ docker stop --time=1 79e6da9edaa4d0c3b90696efd40ba62e6e37ba372287bdaf3f8576a4fd7a1204 [2021-05-06T22:48:40.529Z] $ docker rm -f 79e6da9edaa4d0c3b90696efd40ba62e6e37ba372287bdaf3f8576a4fd7a1204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:48:41.263Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:48:41.263Z] . [Pipeline] withDockerContainer [2021-05-06T22:48:41.540Z] prd-ubuntu18.04-docker-arm64-4c-16g-3355 does not seem to be running inside a container [2021-05-06T22:48:41.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:48:43.247Z] $ docker top 0ae4772e4b622afaaee7d46594926908c8b79bedcee0cc1c352dd04e12ed91cd -eo pid,comm [2021-05-06T22:48:43.534Z] lf-activate-venv(): INFO: Adding /tmp/venv-ROyE/bin to PATH [2021-05-06T22:48:43.534Z] INFO: No Stack... [2021-05-06T22:48:43.534Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:48:43.534Z] INFO: Archiving Costs [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-06T22:48:43.887Z] + cat /w/workspace/device-sdk-go/41/archives/cost.csv [2021-05-06T22:48:43.887Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:48:43.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] [2021-05-06T22:48:43.978Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] did not exist. Created. [2021-05-06T22:48:43.978Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:48:44.312Z] + echo total: 0.029999999329447746 [2021-05-06T22:48:44.313Z] + go mod tidy [Pipeline] stash [2021-05-06T22:48:44.483Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:48:44.490Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh [2021-05-06T22:48:45.592Z] + make test [2021-05-06T22:48:45.592Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:49:12.460Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:50:20.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:50:20.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:50:20.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:50:20.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:50:20.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:50:30.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 28.1% of statements [2021-05-06T22:50:30.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.190s coverage: 78.9% of statements [2021-05-06T22:50:30.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 7.8% of statements [2021-05-06T22:50:30.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:50:30.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:50:30.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:50:33.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.260s coverage: 30.2% of statements [2021-05-06T22:50:33.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:50:33.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:50:33.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:50:36.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.326s coverage: 57.2% of statements [2021-05-06T22:50:37.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.357s coverage: 6.6% of statements [2021-05-06T22:50:37.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.173s coverage: 5.0% of statements [2021-05-06T22:50:37.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:50:37.387Z] GO111MODULE=on go vet ./... [2021-05-06T22:51:45.581Z] gofmt -l . [2021-05-06T22:51:45.581Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:51:45.581Z] ./bin/test-attribution-txt.sh [2021-05-06T22:51:45.581Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:51:45.603Z] $ docker stop --time=1 0ae4772e4b622afaaee7d46594926908c8b79bedcee0cc1c352dd04e12ed91cd [2021-05-06T22:51:47.718Z] $ docker rm -f 0ae4772e4b622afaaee7d46594926908c8b79bedcee0cc1c352dd04e12ed91cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:51:48.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:51:48.936Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T22:51:50.228Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:51:50.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:51:51.096Z] + ls -al . [2021-05-06T22:51:51.096Z] total 224 [2021-05-06T22:51:51.096Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:51 . [2021-05-06T22:51:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:47 .. [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:47 .dockerignore [2021-05-06T22:51:51.096Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:47 .git [2021-05-06T22:51:51.096Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:47 .github [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:47 .gitignore [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:47 Dockerfile.build [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 894 May 6 22:47 Jenkinsfile [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:47 LICENSE [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:47 Makefile [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:47 README.md [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:47 RELEASE-NOTES.txt [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:51:51.096Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:47 bin [2021-05-06T22:51:51.096Z] -rw-r--r-- 1 jenkins jenkins 100320 May 6 22:50 coverage.out [2021-05-06T22:51:51.096Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:47 example [2021-05-06T22:51:51.096Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 22:51 go.mod [2021-05-06T22:51:51.096Z] -rw-r--r-- 1 jenkins jenkins 20957 May 6 22:48 go.sum [2021-05-06T22:51:51.096Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:47 internal [2021-05-06T22:51:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:47 openapi [2021-05-06T22:51:51.096Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:47 pkg [2021-05-06T22:51:51.096Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:47 snap [2021-05-06T22:51:51.096Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:51:51.459Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8900d2ec7da814012faf0094bf31f898361a3aca --label arch=arm64 --label version=0.0.0 . [2021-05-06T22:51:52.082Z] Sending build context to Docker daemon 2.577MB [2021-05-06T22:51:52.082Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:51:52.082Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:51:52.082Z] ---> 636de1f6410f [2021-05-06T22:51:52.082Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:51:52.358Z] ---> Running in bba2129628b0 [2021-05-06T22:51:52.963Z] Removing intermediate container bba2129628b0 [2021-05-06T22:51:52.963Z] ---> f044ada9f873 [2021-05-06T22:51:52.963Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:51:52.963Z] ---> Running in 4223e45674d7 [2021-05-06T22:51:53.563Z] Removing intermediate container 4223e45674d7 [2021-05-06T22:51:53.563Z] ---> 57c00b264485 [2021-05-06T22:51:53.563Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:51:53.563Z] ---> Running in a32256d7a0fb [2021-05-06T22:51:56.194Z] Removing intermediate container a32256d7a0fb [2021-05-06T22:51:56.194Z] ---> 4141e702c716 [2021-05-06T22:51:56.194Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:51:56.194Z] ---> Running in 4f8414ec0acc [2021-05-06T22:51:57.188Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:58.175Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:59.169Z] OK: 139 MiB in 46 packages [2021-05-06T22:52:00.615Z] Removing intermediate container 4f8414ec0acc [2021-05-06T22:52:00.615Z] ---> 8e7ba3484e1c [2021-05-06T22:52:00.615Z] Step 7/23 : COPY . . [2021-05-06T22:52:01.838Z] ---> 2fa274361aa6 [2021-05-06T22:52:01.838Z] Step 8/23 : RUN go mod download [2021-05-06T22:52:02.124Z] ---> Running in 3dc4a0b95b5a [2021-05-06T22:52:04.748Z] Removing intermediate container 3dc4a0b95b5a [2021-05-06T22:52:04.748Z] ---> 607d74627ffd [2021-05-06T22:52:04.748Z] Step 9/23 : RUN make build [2021-05-06T22:52:04.748Z] ---> Running in 8deda97d2ebd [2021-05-06T22:52:05.741Z] 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-06T22:52:44.786Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:52:44.786Z] Removing intermediate container 8deda97d2ebd [2021-05-06T22:52:44.786Z] ---> e038547e3665 [2021-05-06T22:52:44.786Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:52:44.786Z] 3.12: Pulling from library/alpine [2021-05-06T22:52:44.786Z] d2f70382dc9a: Pulling fs layer [2021-05-06T22:52:45.057Z] d2f70382dc9a: Verifying Checksum [2021-05-06T22:52:45.057Z] d2f70382dc9a: Download complete [2021-05-06T22:52:45.649Z] d2f70382dc9a: Pull complete [2021-05-06T22:52:45.649Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:52:45.649Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:52:45.649Z] ---> 9852663dfa18 [2021-05-06T22:52:45.649Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:52:45.921Z] ---> Running in c33b3fd319a0 [2021-05-06T22:52:46.195Z] Removing intermediate container c33b3fd319a0 [2021-05-06T22:52:46.195Z] ---> 315f824cd400 [2021-05-06T22:52:46.195Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:52:46.470Z] ---> Running in ccc1a673d1fa [2021-05-06T22:52:48.455Z] Removing intermediate container ccc1a673d1fa [2021-05-06T22:52:48.455Z] ---> 9391f8e3dff9 [2021-05-06T22:52:48.455Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:52:48.725Z] ---> Running in 6e6159d5a23a [2021-05-06T22:52:49.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:52:50.681Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:52:51.271Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:52:51.271Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:52:51.271Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:52:51.541Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:52:51.813Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:52:51.813Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:52:51.813Z] OK: 8 MiB in 19 packages [2021-05-06T22:52:53.254Z] Removing intermediate container 6e6159d5a23a [2021-05-06T22:52:53.254Z] ---> df496b689187 [2021-05-06T22:52:53.254Z] Step 14/23 : WORKDIR / [2021-05-06T22:52:53.254Z] ---> Running in 7084adb938e8 [2021-05-06T22:52:53.859Z] Removing intermediate container 7084adb938e8 [2021-05-06T22:52:53.859Z] ---> 12a4d46c80ed [2021-05-06T22:52:53.859Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:52:54.845Z] ---> 9cfd5f80cffb [2021-05-06T22:52:54.845Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:52:56.287Z] ---> fe2394b4a652 [2021-05-06T22:52:56.287Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:52:56.885Z] ---> b1107375411d [2021-05-06T22:52:56.885Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:52:57.160Z] ---> Running in 07476ffe0336 [2021-05-06T22:52:57.435Z] Removing intermediate container 07476ffe0336 [2021-05-06T22:52:57.435Z] ---> 012d63e77ba6 [2021-05-06T22:52:57.435Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:52:57.711Z] ---> Running in 941560bcf29c [2021-05-06T22:52:58.312Z] Removing intermediate container 941560bcf29c [2021-05-06T22:52:58.312Z] ---> 89ffc9a75b4e [2021-05-06T22:52:58.312Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:52:58.312Z] ---> Running in 5365ce1183dd [2021-05-06T22:52:58.910Z] Removing intermediate container 5365ce1183dd [2021-05-06T22:52:58.910Z] ---> 89fe451c2f88 [2021-05-06T22:52:58.910Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T22:52:58.910Z] ---> Running in fd47489da3b8 [2021-05-06T22:52:59.890Z] Removing intermediate container fd47489da3b8 [2021-05-06T22:52:59.890Z] ---> ca17c7f49ede [2021-05-06T22:52:59.890Z] Step 22/23 : LABEL git_sha=8900d2ec7da814012faf0094bf31f898361a3aca [2021-05-06T22:52:59.890Z] ---> Running in db1b210ca3be [2021-05-06T22:53:00.493Z] Removing intermediate container db1b210ca3be [2021-05-06T22:53:00.493Z] ---> dbace33cbab5 [2021-05-06T22:53:00.493Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:53:00.493Z] ---> Running in f86d9b91f6d8 [2021-05-06T22:53:01.099Z] Removing intermediate container f86d9b91f6d8 [2021-05-06T22:53:01.099Z] ---> 755474c047b6 [2021-05-06T22:53:01.099Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-06T22:53:01.099Z] Successfully built 755474c047b6 [2021-05-06T22:53:01.099Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:01.610Z] ---> job-cost.sh [2021-05-06T22:53:01.610Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AyGi [2021-05-06T22:53:58.127Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:56:05.314Z] lf-activate-venv(): INFO: Adding /tmp/venv-AyGi/bin to PATH [2021-05-06T22:56:05.314Z] INFO: No Stack... [2021-05-06T22:56:05.314Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T22:56:05.314Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:56:05.655Z] + cat /w/workspace/device-sdk-go/41/archives/cost.csv [2021-05-06T22:56:05.655Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:56:05.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] [2021-05-06T22:56:05.773Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] did not exist. Created. [2021-05-06T22:56:05.773Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:56:06.141Z] /w/workspace/device-sdk-go/41@tmp/durable-9165f976/script.sh: 1: /w/workspace/device-sdk-go/41@tmp/durable-9165f976/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T22:56:06.488Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T22:56:06.522Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T22:56:06.694Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:56:06.711Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-41-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-06T22:56:07.170Z] provisioning config files... [2021-05-06T22:56:07.186Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4101498635976309340tmp [Pipeline] { [Pipeline] sh [2021-05-06T22:56:07.569Z] + set +x [2021-05-06T22:56:07.569Z] + bash -s -- [2021-05-06T22:56:07.569Z] + curl -s https://codecov.io/bash [2021-05-06T22:56:07.844Z] [2021-05-06T22:56:07.844Z] _____ _ [2021-05-06T22:56:07.844Z] / ____| | | [2021-05-06T22:56:07.844Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T22:56:07.844Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T22:56:07.844Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T22:56:07.844Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T22:56:07.844Z] Bash-1.0.2 [2021-05-06T22:56:07.844Z] [2021-05-06T22:56:07.844Z] [2021-05-06T22:56:07.844Z] ==> git version 2.24.3 found [2021-05-06T22:56:07.844Z] ==> 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-06T22:56:07.844Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T22:56:07.844Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T22:56:07.844Z] ==> Jenkins CI detected. [2021-05-06T22:56:07.844Z] project root: . [2021-05-06T22:56:07.844Z] --> token set from env [2021-05-06T22:56:07.844Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T22:56:07.844Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T22:56:07.844Z] ==> Python coveragepy not found [2021-05-06T22:56:07.844Z] ==> Searching for coverage reports in: [2021-05-06T22:56:07.844Z] + . [2021-05-06T22:56:08.119Z] -> Found 1 reports [2021-05-06T22:56:08.119Z] ==> Detecting git/mercurial file structure [2021-05-06T22:56:08.119Z] ==> Reading reports [2021-05-06T22:56:08.119Z] + ./coverage.out bytes=100320 [2021-05-06T22:56:08.120Z] ==> Appending adjustments [2021-05-06T22:56:08.120Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T22:56:08.711Z] + Found adjustments [2021-05-06T22:56:08.711Z] ==> Gzipping contents [2021-05-06T22:56:08.711Z] 16K /tmp/codecov.5PnMun.gz [2021-05-06T22:56:08.711Z] ==> Uploading reports [2021-05-06T22:56:08.711Z] url: https://codecov.io [2021-05-06T22:56:08.711Z] query: branch=PR-725&commit=8900d2ec7da814012faf0094bf31f898361a3aca&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-06T22:56:08.711Z] -> Pinging Codecov [2021-05-06T22:56:08.711Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=8900d2ec7da814012faf0094bf31f898361a3aca&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-06T22:56:09.317Z] -> Uploading to [2021-05-06T22:56:09.317Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/8900d2ec7da814012faf0094bf31f898361a3aca/9aa22f66-cde9-45f1-9fe1-ea895fac4f39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0564c207782200cb31bc156e27ecb456347945ffa43dc22fac14a424cc1ebae [2021-05-06T22:56:09.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T22:56:09.317Z] Dload Upload Total Spent Left Speed [2021-05-06T22:56:09.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13513 0 0 100 13513 0 26202 --:--:-- --:--:-- --:--:-- 26187 [2021-05-06T22:56:09.857Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8900d2ec7da814012faf0094bf31f898361a3aca [Pipeline] } [2021-05-06T22:56:09.893Z] 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-06T22:56:10.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:11.831Z] ---> package-listing.sh [2021-05-06T22:56:11.831Z] ++ facter osfamily [2021-05-06T22:56:11.831Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T22:56:12.131Z] + OS_FAMILY=redhat [2021-05-06T22:56:12.131Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-06T22:56:12.131Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T22:56:12.131Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T22:56:12.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T22:56:12.131Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T22:56:12.131Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-06T22:56:12.131Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T22:56:12.131Z] + case "${OS_FAMILY}" in [2021-05-06T22:56:12.131Z] + rpm -qa [2021-05-06T22:56:12.131Z] + sort [2021-05-06T22:56:17.545Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T22:56:17.546Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T22:56:17.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T22:56:17.546Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-06T22:56:17.546Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-05-06T22:56:17.546Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-05-06T22:56:17.560Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T22:56:17.862Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:56:18.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:56:18.183Z] [2021-05-06T22:56:18.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:56:18.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:56:18.521Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T22:56:18.521Z] df20fa9351a1: Pulling fs layer [2021-05-06T22:56:18.521Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T22:56:18.521Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T22:56:18.521Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T22:56:18.521Z] 93b61091891f: Pulling fs layer [2021-05-06T22:56:18.521Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T22:56:18.521Z] 5e14af77c1be: Pulling fs layer [2021-05-06T22:56:18.521Z] 01666e4c0597: Pulling fs layer [2021-05-06T22:56:18.521Z] aa168da1d23b: Pulling fs layer [2021-05-06T22:56:18.521Z] 93b9cdb0e59b: Waiting [2021-05-06T22:56:18.521Z] 5e14af77c1be: Waiting [2021-05-06T22:56:18.521Z] 01666e4c0597: Waiting [2021-05-06T22:56:18.521Z] 46f8f816bc3b: Waiting [2021-05-06T22:56:18.521Z] 93b61091891f: Waiting [2021-05-06T22:56:18.521Z] aa168da1d23b: Waiting [2021-05-06T22:56:18.521Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T22:56:18.521Z] 36b3adc4ff6f: Download complete [2021-05-06T22:56:18.521Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T22:56:18.521Z] 46f8f816bc3b: Download complete [2021-05-06T22:56:18.788Z] df20fa9351a1: Verifying Checksum [2021-05-06T22:56:18.788Z] df20fa9351a1: Download complete [2021-05-06T22:56:18.788Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T22:56:18.788Z] 93b9cdb0e59b: Download complete [2021-05-06T22:56:18.788Z] 5e14af77c1be: Verifying Checksum [2021-05-06T22:56:18.788Z] 5e14af77c1be: Download complete [2021-05-06T22:56:18.788Z] 93b61091891f: Verifying Checksum [2021-05-06T22:56:18.788Z] 93b61091891f: Download complete [2021-05-06T22:56:18.788Z] 01666e4c0597: Download complete [2021-05-06T22:56:19.057Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T22:56:19.057Z] 8ad3a11d3b57: Download complete [2021-05-06T22:56:19.057Z] df20fa9351a1: Pull complete [2021-05-06T22:56:19.329Z] 36b3adc4ff6f: Pull complete [2021-05-06T22:56:20.760Z] 8ad3a11d3b57: Pull complete [2021-05-06T22:56:21.340Z] 46f8f816bc3b: Pull complete [2021-05-06T22:56:21.934Z] 93b61091891f: Pull complete [2021-05-06T22:56:21.934Z] aa168da1d23b: Verifying Checksum [2021-05-06T22:56:21.934Z] aa168da1d23b: Download complete [2021-05-06T22:56:22.205Z] 93b9cdb0e59b: Pull complete [2021-05-06T22:56:22.205Z] 5e14af77c1be: Pull complete [2021-05-06T22:56:22.475Z] 01666e4c0597: Pull complete [2021-05-06T22:56:32.679Z] aa168da1d23b: Pull complete [2021-05-06T22:56:32.679Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T22:56:32.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:56:32.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T22:56:32.946Z] prd-centos7-docker-4c-2g-3344 does not seem to be running inside a container [2021-05-06T22:56:33.013Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T22:56:35.836Z] $ docker top 2cd3790c0c3a0d09ac290c8572da805395ef664860840a7ea41f4019dfc11dcb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:56:36.348Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T22:56:36.704Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T22:56:37.035Z] + ls /var/log/sa-host [2021-05-06T22:56:37.036Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T22:56:37.036Z] file_magic: OK [2021-05-06T22:56:37.036Z] HZ: Using current value: 100 [2021-05-06T22:56:37.036Z] file_header: OK [2021-05-06T22:56:37.036Z] 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-06T22:56:37.036Z] Statistics: [2021-05-06T22:56:37.036Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T22:56:37.036Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T22:56:37.036Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T22:56:37.036Z] file_magic: OK [2021-05-06T22:56:37.036Z] HZ: Using current value: 100 [2021-05-06T22:56:37.036Z] file_header: OK [2021-05-06T22:56:37.036Z] 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-06T22:56:37.036Z] Statistics: [2021-05-06T22:56:37.036Z] Hnuu...uuuununununu... [2021-05-06T22:56:37.036Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T22:56:37.217Z] provisioning config files... [2021-05-06T22:56:37.235Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7709088463013825375tmp [Pipeline] { [Pipeline] echo [2021-05-06T22:56:37.269Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:37.574Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T22:56:37.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T22:56:37.615Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:37.952Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T22:56:37.966Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:38.286Z] ---> sudo-logs.sh [2021-05-06T22:56:38.286Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T22:56:38.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:38.642Z] ---> job-cost.sh [2021-05-06T22:56:38.642Z] lf-activate-venv: SKIPPING [2021-05-06T22:56:38.642Z] DEBUG: total: 0.20999999344348907 [2021-05-06T22:56:38.642Z] INFO: Retrieving Stack Cost... [2021-05-06T22:56:40.039Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:56:40.615Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T22:56:40.630Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:40.933Z] ---> logs-deploy.sh [2021-05-06T22:56:40.933Z] lf-activate-venv: SKIPPING [2021-05-06T22:56:40.933Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/41 [2021-05-06T22:56:40.933Z] INFO: archiving workspace using pattern(s): [2021-05-06T22:56:42.865Z] Archives upload complete. [2021-05-06T22:56:42.865Z] INFO: archiving logs to Nexus