Pull request #862 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b292f1c52d86a78f2a842fe4b599153adb4b841c+34bcbadecb817e113f443ebd9bc4fa59ecf970a2 (60445d80d508513d9a811b97cf3e88ffbb893603) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32939 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [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-862 # 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/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit b292f1c52d86a78f2a842fe4b599153adb4b841c Merge succeeded, producing b292f1c52d86a78f2a842fe4b599153adb4b841c Checking out Revision b292f1c52d86a78f2a842fe4b599153adb4b841c (PR-862) > git config core.sparsecheckout # timeout=10 > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # 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 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 Commit message: "refactor: leverage latest profile cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-06T08:37:02.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-06T08:37:02.314Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-06T08:37:02.413Z] ========================================================= [2021-04-06T08:37:02.413Z] EdgeX Global Pipelines Version Info [2021-04-06T08:37:02.413Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:37:03.919Z] ------------------- [2021-04-06T08:37:03.920Z] stable info: [2021-04-06T08:37:03.920Z] ------------------- [2021-04-06T08:37:03.920Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-06T08:37:03.920Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-06T08:37:03.920Z] Message: update stable to v1.0.186 [2021-04-06T08:37:04.869Z] ------------------- [2021-04-06T08:37:04.869Z] experimental info: [2021-04-06T08:37:04.869Z] ------------------- [2021-04-06T08:37:04.869Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-06T08:37:04.869Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-06T08:37:04.869Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-06T08:37:05.133Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-06T08:37:05.221Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-06T08:37:05.309Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-06T08:37:05.396Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-06T08:37:05.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-06T08:37:05.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-06T08:37:05.688Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-06T08:37:05.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-06T08:37:05.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-06T08:37:06.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-06T08:37:06.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-06T08:37:06.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-06T08:37:06.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-06T08:37:06.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-06T08:37:06.540Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-06T08:37:06.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:37:06.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:37:06.805Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-06T08:37:06.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-06T08:37:07.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-06T08:37:07.111Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-06T08:37:07.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-06T08:37:07.292Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-06T08:37:07.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-06T08:37:07.496Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-06T08:37:07.581Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-06T08:37:07.688Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-862 [Pipeline] echo [2021-04-06T08:37:07.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-862 [Pipeline] echo [2021-04-06T08:37:07.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-862 [Pipeline] echo [2021-04-06T08:37:07.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b292f1c52d86a78f2a842fe4b599153adb4b841c [Pipeline] echo [2021-04-06T08:37:08.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b292f1c [Pipeline] echo [2021-04-06T08:37:08.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:37:08.377Z] provisioning config files... [2021-04-06T08:37:08.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config5309164851784322977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:37:08.790Z] ---> docker-login.sh [2021-04-06T08:37:08.790Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:37:09.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:37:09.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:37:09.057Z] Configure a credential helper to remove this warning. See [2021-04-06T08:37:09.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:37:09.057Z] [2021-04-06T08:37:09.057Z] Login Succeeded [2021-04-06T08:37:09.057Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:37:09.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:37:09.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:37:09.326Z] Configure a credential helper to remove this warning. See [2021-04-06T08:37:09.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:37:09.326Z] [2021-04-06T08:37:09.326Z] Login Succeeded [2021-04-06T08:37:09.326Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:37:09.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:37:09.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:37:09.589Z] Configure a credential helper to remove this warning. See [2021-04-06T08:37:09.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:37:09.589Z] [2021-04-06T08:37:09.589Z] Login Succeeded [2021-04-06T08:37:09.589Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:37:09.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:37:09.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:37:09.851Z] Configure a credential helper to remove this warning. See [2021-04-06T08:37:09.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:37:09.851Z] [2021-04-06T08:37:09.851Z] Login Succeeded [2021-04-06T08:37:09.851Z] docker.io [2021-04-06T08:37:09.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:37:10.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:37:10.114Z] Configure a credential helper to remove this warning. See [2021-04-06T08:37:10.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:37:10.114Z] [2021-04-06T08:37:10.114Z] Login Succeeded [2021-04-06T08:37:10.114Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:37:10.124Z] 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-04-06T08:37:11.005Z] + git log --format=format:%s -1 b292f1c52d86a78f2a842fe4b599153adb4b841c [Pipeline] echo [2021-04-06T08:37:11.076Z] GIT_COMMIT: b292f1c52d86a78f2a842fe4b599153adb4b841c, Commit Message: refactor: leverage latest profile cache [Pipeline] echo [2021-04-06T08:37:11.147Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:37:11.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:37:11.747Z] [2021-04-06T08:37:11.747Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:37:12.135Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:37:12.135Z] latest: Pulling from edgex-devops/git-semver [2021-04-06T08:37:12.135Z] 31603596830f: Pulling fs layer [2021-04-06T08:37:12.135Z] 2a8b12db71e7: Pulling fs layer [2021-04-06T08:37:12.135Z] 6ca5941a6612: Pulling fs layer [2021-04-06T08:37:12.135Z] ecc8261a40a4: Pulling fs layer [2021-04-06T08:37:12.135Z] ecc8261a40a4: Waiting [2021-04-06T08:37:12.135Z] 2a8b12db71e7: Verifying Checksum [2021-04-06T08:37:12.135Z] 2a8b12db71e7: Download complete [2021-04-06T08:37:12.135Z] 31603596830f: Verifying Checksum [2021-04-06T08:37:12.135Z] 31603596830f: Download complete [2021-04-06T08:37:12.399Z] ecc8261a40a4: Verifying Checksum [2021-04-06T08:37:12.399Z] ecc8261a40a4: Download complete [2021-04-06T08:37:12.399Z] 6ca5941a6612: Verifying Checksum [2021-04-06T08:37:12.399Z] 6ca5941a6612: Download complete [2021-04-06T08:37:12.665Z] 31603596830f: Pull complete [2021-04-06T08:37:12.665Z] 2a8b12db71e7: Pull complete [2021-04-06T08:37:13.609Z] 6ca5941a6612: Pull complete [2021-04-06T08:37:13.610Z] ecc8261a40a4: Pull complete [2021-04-06T08:37:13.610Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-06T08:37:13.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-06T08:37:13.610Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-06T08:37:13.717Z] prd-centos7-docker-4c-2g-32939 does not seem to be running inside a container [2021-04-06T08:37:13.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@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-04-06T08:37:15.635Z] $ docker top e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-06T08:37:15.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:37:15.907Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:37:16.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:37:16.120Z] $ docker exec e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e ssh-agent [2021-04-06T08:37:16.281Z] SSH_AUTH_SOCK=/tmp/ssh-tenRiW1cWVo1/agent.12 [2021-04-06T08:37:16.281Z] SSH_AGENT_PID=17 [2021-04-06T08:37:16.290Z] Running ssh-add (command line suppressed) [2021-04-06T08:37:16.402Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_5857203785654327709.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_5857203785654327709.key) [2021-04-06T08:37:16.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:37:16.784Z] + git tag --points-at HEAD [Pipeline] } [2021-04-06T08:37:16.806Z] $ docker exec --env ******** --env ******** e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e ssh-agent -k [2021-04-06T08:37:16.911Z] unset SSH_AUTH_SOCK; [2021-04-06T08:37:16.912Z] unset SSH_AGENT_PID; [2021-04-06T08:37:16.912Z] echo Agent pid 17 killed; [2021-04-06T08:37:16.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-06T08:37:17.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-06T08:37:17.088Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-06T08:37:17.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-06T08:37:17.247Z] $ docker exec e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e ssh-agent [2021-04-06T08:37:17.403Z] SSH_AUTH_SOCK=/tmp/ssh-GL8SWwUrt2rY/agent.47 [2021-04-06T08:37:17.403Z] SSH_AGENT_PID=52 [2021-04-06T08:37:17.409Z] Running ssh-add (command line suppressed) [2021-04-06T08:37:17.520Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_9133939203641038615.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_9133939203641038615.key) [2021-04-06T08:37:17.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-06T08:37:17.911Z] + git semver init [2021-04-06T08:37:17.911Z] # -> Open(): unable to determine branch for HEAD [2021-04-06T08:37:17.911Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.git [2021-04-06T08:37:17.911Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T08:37:17.912Z] # $SEMVER_REMOTE_NAME = origin [2021-04-06T08:37:17.912Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-06T08:37:17.912Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-06T08:37:17.912Z] # $SEMVER_BRANCH = PR-862 [2021-04-06T08:37:17.912Z] # $SEMVER_TEMP = /tmp/semver-520249052 [2021-04-06T08:37:17.912Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-06T08:37:18.486Z] # '/tmp/semver-520249052' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver' [2021-04-06T08:37:18.486Z] # -> Force: false [2021-04-06T08:37:18.486Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver [Pipeline] } [2021-04-06T08:37:18.500Z] $ docker exec --env ******** --env ******** e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e ssh-agent -k [2021-04-06T08:37:18.609Z] unset SSH_AUTH_SOCK; [2021-04-06T08:37:18.609Z] unset SSH_AGENT_PID; [2021-04-06T08:37:18.610Z] echo Agent pid 52 killed; [2021-04-06T08:37:18.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-06T08:37:19.121Z] + git semver [Pipeline] } [2021-04-06T08:37:19.138Z] $ docker stop --time=1 e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e [2021-04-06T08:37:20.593Z] $ docker rm -f e2e614b35d319f1773bbe54838166c610273ec5a3e003c397a7adf45607fad6e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:37:21.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-06T08:37:21.580Z] Stashed 1 file(s) [Pipeline] echo [2021-04-06T08:37:21.583Z] [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-04-06T08:37:37.089Z] Still waiting to schedule task [2021-04-06T08:37:37.089Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-06T08:37:37.092Z] Still waiting to schedule task [2021-04-06T08:37:37.092Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-06T08:40:36.521Z] Running on prd-centos7-docker-4c-2g-32941 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T08:40:36.638Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-06T08:40:39.176Z] using credential edgex-jenkins-ssh [2021-04-06T08:40:39.228Z] Cloning the remote Git repository [2021-04-06T08:40:39.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:40:39.074Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-06T08:40:39.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:40:39.140Z] > git --version # timeout=10 [2021-04-06T08:40:39.146Z] > git --version # 'git version 2.24.3' [2021-04-06T08:40:39.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:40:39.194Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:40:40.757Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:40:40.856Z] Merge succeeded, producing b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:40:40.856Z] Checking out Revision b292f1c52d86a78f2a842fe4b599153adb4b841c (PR-862) [2021-04-06T08:40:40.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:40:40.016Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:40:40.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:40:40.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:40:40.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:40:40.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:40:40.642Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:40:40.648Z] > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [2021-04-06T08:40:40.693Z] > git remote # timeout=10 [2021-04-06T08:40:40.700Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:40:40.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:40:40.718Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T08:40:40.729Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:40:40.739Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:40:40.746Z] > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [2021-04-06T08:40:44.518Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:40:45.766Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:40:46.098Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:40:46.399Z] + sudo service docker restart [2021-04-06T08:40:46.399Z] + true [2021-04-06T08:40:46.399Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:40:47.890Z] provisioning config files... [2021-04-06T08:40:47.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8887829106712785209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:40:48.303Z] ---> docker-login.sh [2021-04-06T08:40:48.303Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:40:48.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:40:48.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:40:48.567Z] Configure a credential helper to remove this warning. See [2021-04-06T08:40:48.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:40:48.567Z] [2021-04-06T08:40:48.567Z] Login Succeeded [2021-04-06T08:40:48.567Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:40:48.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:40:48.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:40:48.831Z] Configure a credential helper to remove this warning. See [2021-04-06T08:40:48.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:40:48.831Z] [2021-04-06T08:40:48.831Z] Login Succeeded [2021-04-06T08:40:48.831Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:40:49.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:40:49.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:40:49.093Z] Configure a credential helper to remove this warning. See [2021-04-06T08:40:49.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:40:49.093Z] [2021-04-06T08:40:49.093Z] Login Succeeded [2021-04-06T08:40:49.093Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:40:49.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:40:49.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:40:49.356Z] Configure a credential helper to remove this warning. See [2021-04-06T08:40:49.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:40:49.356Z] [2021-04-06T08:40:49.356Z] Login Succeeded [2021-04-06T08:40:49.356Z] docker.io [2021-04-06T08:40:49.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:40:49.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:40:49.623Z] Configure a credential helper to remove this warning. See [2021-04-06T08:40:49.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:40:49.623Z] [2021-04-06T08:40:49.623Z] Login Succeeded [2021-04-06T08:40:49.623Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:40:49.634Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T08:40:50.027Z] ========================================================= [2021-04-06T08:40:50.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-06T08:40:50.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:40:50.458Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-06T08:40:50.728Z] Sending build context to Docker daemon 2.393MB [2021-04-06T08:40:50.728Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:40:50.728Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:40:50.728Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-06T08:40:50.728Z] 188c0c94c7c5: Pulling fs layer [2021-04-06T08:40:50.728Z] 0ef7d3d256c8: Pulling fs layer [2021-04-06T08:40:50.728Z] de9db76c5a1d: Pulling fs layer [2021-04-06T08:40:50.728Z] bca2f99d35d6: Pulling fs layer [2021-04-06T08:40:50.728Z] 93359f2a8cfa: Pulling fs layer [2021-04-06T08:40:50.728Z] 7c6f9722023f: Pulling fs layer [2021-04-06T08:40:50.728Z] a35cf1a2eb13: Pulling fs layer [2021-04-06T08:40:50.728Z] 93359f2a8cfa: Waiting [2021-04-06T08:40:50.728Z] 7c6f9722023f: Waiting [2021-04-06T08:40:50.728Z] a35cf1a2eb13: Waiting [2021-04-06T08:40:50.728Z] bca2f99d35d6: Waiting [2021-04-06T08:40:50.728Z] de9db76c5a1d: Verifying Checksum [2021-04-06T08:40:50.728Z] de9db76c5a1d: Download complete [2021-04-06T08:40:50.728Z] 0ef7d3d256c8: Download complete [2021-04-06T08:40:50.728Z] 93359f2a8cfa: Verifying Checksum [2021-04-06T08:40:50.728Z] 93359f2a8cfa: Download complete [2021-04-06T08:40:50.728Z] 7c6f9722023f: Verifying Checksum [2021-04-06T08:40:50.728Z] 7c6f9722023f: Download complete [2021-04-06T08:40:50.728Z] 188c0c94c7c5: Verifying Checksum [2021-04-06T08:40:50.728Z] 188c0c94c7c5: Download complete [2021-04-06T08:40:50.992Z] 188c0c94c7c5: Pull complete [2021-04-06T08:40:51.257Z] 0ef7d3d256c8: Pull complete [2021-04-06T08:40:51.520Z] de9db76c5a1d: Pull complete [2021-04-06T08:40:52.937Z] a35cf1a2eb13: Verifying Checksum [2021-04-06T08:40:52.937Z] a35cf1a2eb13: Download complete [2021-04-06T08:40:53.206Z] bca2f99d35d6: Verifying Checksum [2021-04-06T08:40:53.206Z] bca2f99d35d6: Download complete [2021-04-06T08:40:59.833Z] bca2f99d35d6: Pull complete [2021-04-06T08:40:59.833Z] 93359f2a8cfa: Pull complete [2021-04-06T08:40:59.833Z] 7c6f9722023f: Pull complete [2021-04-06T08:41:04.093Z] a35cf1a2eb13: Pull complete [2021-04-06T08:41:04.093Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-06T08:41:04.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-06T08:41:04.093Z] ---> a62c8e92a672 [2021-04-06T08:41:04.093Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:41:04.093Z] ---> Running in cb92d84ad2ee [2021-04-06T08:41:04.361Z] Removing intermediate container cb92d84ad2ee [2021-04-06T08:41:04.361Z] ---> d7600e2c7711 [2021-04-06T08:41:04.361Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:41:04.361Z] ---> Running in 7c8f8a10121a [2021-04-06T08:41:05.317Z] Removing intermediate container 7c8f8a10121a [2021-04-06T08:41:05.317Z] ---> 7be7e5ce074e [2021-04-06T08:41:05.317Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:41:05.581Z] ---> Running in 5bf4de135c8c [2021-04-06T08:41:06.530Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:41:07.479Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:41:08.054Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:41:08.054Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:41:08.316Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:41:08.316Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:41:08.580Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:41:08.842Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:41:08.842Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:41:08.842Z] OK: 167 MiB in 45 packages [2021-04-06T08:41:09.418Z] Removing intermediate container 5bf4de135c8c [2021-04-06T08:41:09.418Z] ---> f5d1f11654b3 [2021-04-06T08:41:09.418Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:41:09.682Z] ---> Running in 419baa27104e [2021-04-06T08:41:09.683Z] Removing intermediate container 419baa27104e [2021-04-06T08:41:09.683Z] ---> 1af0cc7f3086 [2021-04-06T08:41:09.683Z] Step 7/8 : COPY . . [2021-04-06T08:41:11.077Z] ---> bcb1d589c739 [2021-04-06T08:41:11.077Z] Step 8/8 : RUN go mod download [2021-04-06T08:41:11.077Z] ---> Running in 8aaa56c9ee81 [2021-04-06T08:41:37.862Z] Removing intermediate container 8aaa56c9ee81 [2021-04-06T08:41:37.862Z] ---> 6c51cff43aab [2021-04-06T08:41:37.862Z] Successfully built 6c51cff43aab [2021-04-06T08:41:37.862Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:41:38.203Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:41:38.203Z] . [Pipeline] withDockerContainer [2021-04-06T08:41:38.347Z] prd-centos7-docker-4c-2g-32941 does not seem to be running inside a container [2021-04-06T08:41:38.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-04-06T08:41:39.355Z] $ docker top 805f8a61a29c4d00ddd24600fa0f8deeda52e3b8ba6b655fd3fb41e7108defc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:41:39.894Z] + go version [2021-04-06T08:41:39.894Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-06T08:41:39.913Z] $ docker stop --time=1 805f8a61a29c4d00ddd24600fa0f8deeda52e3b8ba6b655fd3fb41e7108defc1 [2021-04-06T08:41:41.254Z] $ docker rm -f 805f8a61a29c4d00ddd24600fa0f8deeda52e3b8ba6b655fd3fb41e7108defc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:41:42.139Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-06T08:41:42.140Z] . [Pipeline] withDockerContainer [2021-04-06T08:41:42.253Z] prd-centos7-docker-4c-2g-32941 does not seem to be running inside a container [2021-04-06T08:41:42.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-04-06T08:41:43.012Z] $ docker top 0e80abd80d609899b30d2fa0d767312c94a739c23ecd5fd22d20bf78fd125bcb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:41:43.532Z] + make test [2021-04-06T08:41:43.532Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:41:51.754Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:41:54.382Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32942 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws [2021-04-06T08:41:54.444Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-06T08:41:59.390Z] using credential edgex-jenkins-ssh [2021-04-06T08:41:59.471Z] Cloning the remote Git repository [2021-04-06T08:41:59.515Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:41:59.621Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-06T08:41:59.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:41:59.707Z] > git --version # timeout=10 [2021-04-06T08:41:59.729Z] > git --version # 'git version 2.17.1' [2021-04-06T08:41:59.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:41:59.788Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:42:01.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:42:01.159Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-06T08:42:01.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-06T08:42:01.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-06T08:42:01.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:42:01.253Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-06T08:42:02.673Z] Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:42:02.909Z] Merge succeeded, producing b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:42:02.910Z] Checking out Revision b292f1c52d86a78f2a842fe4b599153adb4b841c (PR-862) [2021-04-06T08:42:02.682Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:42:02.703Z] > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [2021-04-06T08:42:02.807Z] > git remote # timeout=10 [2021-04-06T08:42:02.830Z] > git config --get remote.origin.url # timeout=10 [2021-04-06T08:42:02.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-06T08:42:02.861Z] > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 [2021-04-06T08:42:02.883Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-06T08:42:02.907Z] > git config core.sparsecheckout # timeout=10 [2021-04-06T08:42:02.921Z] > git checkout -f b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [2021-04-06T08:42:07.413Z] Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:42:08.857Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:42:09.274Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-06T08:42:09.678Z] + sudo service docker restart [2021-04-06T08:42:09.678Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-06T08:42:12.386Z] provisioning config files... [2021-04-06T08:42:12.425Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6298778152837364848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:42:12.835Z] ---> docker-login.sh [2021-04-06T08:42:12.836Z] nexus3.edgexfoundry.org:10001 [2021-04-06T08:42:13.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:42:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:42:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:42:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:42:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:42:13.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:42:14.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:42:14.048Z] Configure a credential helper to remove this warning. See [2021-04-06T08:42:14.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:42:14.048Z] [2021-04-06T08:42:14.048Z] Login Succeeded [2021-04-06T08:42:14.048Z] nexus3.edgexfoundry.org:10002 [2021-04-06T08:42:14.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:42:14.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:42:14.604Z] Configure a credential helper to remove this warning. See [2021-04-06T08:42:14.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:42:14.604Z] [2021-04-06T08:42:14.604Z] Login Succeeded [2021-04-06T08:42:14.604Z] nexus3.edgexfoundry.org:10003 [2021-04-06T08:42:14.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:42:15.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:42:15.152Z] Configure a credential helper to remove this warning. See [2021-04-06T08:42:15.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:42:15.152Z] [2021-04-06T08:42:15.152Z] Login Succeeded [2021-04-06T08:42:15.152Z] nexus3.edgexfoundry.org:10004 [2021-04-06T08:42:15.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:42:15.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:42:15.701Z] Configure a credential helper to remove this warning. See [2021-04-06T08:42:15.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:42:15.701Z] [2021-04-06T08:42:15.701Z] Login Succeeded [2021-04-06T08:42:15.701Z] docker.io [2021-04-06T08:42:15.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-06T08:42:16.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.091s coverage: 28.1% of statements [2021-04-06T08:42:16.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements [2021-04-06T08:42:16.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-06T08:42:16.587Z] Configure a credential helper to remove this warning. See [2021-04-06T08:42:16.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-06T08:42:16.587Z] [2021-04-06T08:42:16.587Z] Login Succeeded [2021-04-06T08:42:16.587Z] ---> docker-login.sh ends [Pipeline] } [2021-04-06T08:42:16.604Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-06T08:42:17.068Z] ========================================================= [2021-04-06T08:42:17.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-06T08:42:17.069Z] ========================================================= [2021-04-06T08:42:17.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.104s coverage: 7.8% of statements [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:42:17.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 32.5% of statements [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:42:17.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:42:17.451Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-06T08:42:17.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 57.3% of statements [2021-04-06T08:42:18.056Z] Sending build context to Docker daemon 2.394MB [2021-04-06T08:42:18.056Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:42:18.056Z] Step 2/8 : FROM ${BASE} [2021-04-06T08:42:18.056Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-06T08:42:18.056Z] 5f621e34cdf4: Pulling fs layer [2021-04-06T08:42:18.056Z] a4357932f1b6: Pulling fs layer [2021-04-06T08:42:18.056Z] 18c013af1878: Pulling fs layer [2021-04-06T08:42:18.056Z] 00ac8860ef70: Pulling fs layer [2021-04-06T08:42:18.056Z] 63d7cb157983: Pulling fs layer [2021-04-06T08:42:18.056Z] b116817d02f9: Pulling fs layer [2021-04-06T08:42:18.056Z] 745a02a5169b: Pulling fs layer [2021-04-06T08:42:18.056Z] 00ac8860ef70: Waiting [2021-04-06T08:42:18.056Z] 63d7cb157983: Waiting [2021-04-06T08:42:18.056Z] b116817d02f9: Waiting [2021-04-06T08:42:18.056Z] 745a02a5169b: Waiting [2021-04-06T08:42:18.056Z] 18c013af1878: Verifying Checksum [2021-04-06T08:42:18.056Z] 18c013af1878: Download complete [2021-04-06T08:42:18.056Z] a4357932f1b6: Verifying Checksum [2021-04-06T08:42:18.056Z] a4357932f1b6: Download complete [2021-04-06T08:42:18.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.191s coverage: 6.6% of statements [2021-04-06T08:42:18.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-06T08:42:18.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:42:18.280Z] GO111MODULE=on go vet ./... [2021-04-06T08:42:18.334Z] 63d7cb157983: Verifying Checksum [2021-04-06T08:42:18.334Z] 63d7cb157983: Download complete [2021-04-06T08:42:18.611Z] b116817d02f9: Verifying Checksum [2021-04-06T08:42:18.611Z] b116817d02f9: Download complete [2021-04-06T08:42:18.611Z] 5f621e34cdf4: Verifying Checksum [2021-04-06T08:42:18.611Z] 5f621e34cdf4: Download complete [2021-04-06T08:42:19.615Z] 5f621e34cdf4: Pull complete [2021-04-06T08:42:19.894Z] a4357932f1b6: Pull complete [2021-04-06T08:42:20.493Z] 18c013af1878: Pull complete [2021-04-06T08:42:21.091Z] 745a02a5169b: Verifying Checksum [2021-04-06T08:42:21.091Z] 745a02a5169b: Download complete [2021-04-06T08:42:22.075Z] 00ac8860ef70: Download complete [2021-04-06T08:42:32.243Z] 00ac8860ef70: Pull complete [2021-04-06T08:42:32.243Z] 63d7cb157983: Pull complete [2021-04-06T08:42:32.844Z] b116817d02f9: Pull complete [2021-04-06T08:42:36.256Z] 745a02a5169b: Pull complete [2021-04-06T08:42:36.532Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-06T08:42:36.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-06T08:42:36.532Z] ---> b7e6874047d6 [2021-04-06T08:42:36.532Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:42:36.594Z] gofmt -l . [2021-04-06T08:42:36.594Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:42:36.594Z] ./bin/test-attribution-txt.sh [2021-04-06T08:42:36.594Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T08:42:36.611Z] $ docker stop --time=1 0e80abd80d609899b30d2fa0d767312c94a739c23ecd5fd22d20bf78fd125bcb [2021-04-06T08:42:38.963Z] $ docker rm -f 0e80abd80d609899b30d2fa0d767312c94a739c23ecd5fd22d20bf78fd125bcb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:42:39.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T08:42:39.935Z] ---> Running in 3d9c22df3c67 [2021-04-06T08:42:39.935Z] Removing intermediate container 3d9c22df3c67 [2021-04-06T08:42:39.935Z] ---> f20f41bbb6eb [2021-04-06T08:42:39.935Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:42:39.935Z] ---> Running in eb86382528c1 [2021-04-06T08:42:40.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-06T08:42:42.585Z] Removing intermediate container eb86382528c1 [2021-04-06T08:42:42.585Z] ---> 25c58afe0f1e [2021-04-06T08:42:42.585Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-06T08:42:42.585Z] ---> Running in 97d5c9650838 [2021-04-06T08:42:43.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-04-06T08:42:43.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:42:44.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:42:44.205Z] + ls -al . [2021-04-06T08:42:44.205Z] total 188 [2021-04-06T08:42:44.205Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 08:42 . [2021-04-06T08:42:44.205Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 08:40 .. [2021-04-06T08:42:44.205Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 08:40 bin [2021-04-06T08:42:44.205Z] -rw-r--r--. 1 jenkins jenkins 99189 Apr 6 08:42 coverage.out [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 08:40 Dockerfile.build [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 08:40 .dockerignore [2021-04-06T08:42:44.205Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 08:40 example [2021-04-06T08:42:44.205Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 08:40 .git [2021-04-06T08:42:44.205Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 08:40 .github [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 08:40 .gitignore [2021-04-06T08:42:44.205Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 6 08:42 go.mod [2021-04-06T08:42:44.205Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 08:42 go.sum [2021-04-06T08:42:44.205Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 08:40 internal [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 08:40 Jenkinsfile [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 08:40 LICENSE [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 08:40 Makefile [2021-04-06T08:42:44.205Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 08:40 openapi [2021-04-06T08:42:44.205Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 08:40 pkg [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 08:40 README.md [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 08:40 RELEASE-NOTES.txt [2021-04-06T08:42:44.205Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 08:40 snap [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 08:37 VERSION [2021-04-06T08:42:44.205Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 08:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:42:44.527Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b292f1c52d86a78f2a842fe4b599153adb4b841c --label arch=amd64 --label version=0.0.0 . [2021-04-06T08:42:44.792Z] Sending build context to Docker daemon 2.493MB [2021-04-06T08:42:44.792Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:42:44.792Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:42:44.792Z] ---> 6c51cff43aab [2021-04-06T08:42:44.792Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:42:45.129Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-06T08:42:45.129Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-06T08:42:45.129Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-06T08:42:45.129Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-06T08:42:45.367Z] ---> Running in 3399dc4ded9e [2021-04-06T08:42:45.400Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-06T08:42:45.400Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-06T08:42:45.628Z] Removing intermediate container 3399dc4ded9e [2021-04-06T08:42:45.629Z] ---> a17d96cac664 [2021-04-06T08:42:45.629Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:42:45.629Z] ---> Running in 17317a60d7a4 [2021-04-06T08:42:45.670Z] Executing busybox-1.31.1-r19.trigger [2021-04-06T08:42:45.670Z] OK: 144 MiB in 45 packages [2021-04-06T08:42:45.892Z] Removing intermediate container 17317a60d7a4 [2021-04-06T08:42:45.892Z] ---> 9836f986b2a0 [2021-04-06T08:42:45.892Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:42:45.892Z] ---> Running in 8084bdb31d74 [2021-04-06T08:42:46.651Z] Removing intermediate container 97d5c9650838 [2021-04-06T08:42:46.651Z] ---> b104f74bb03a [2021-04-06T08:42:46.651Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-06T08:42:46.848Z] Removing intermediate container 8084bdb31d74 [2021-04-06T08:42:46.848Z] ---> 5bec7fa32bc1 [2021-04-06T08:42:46.848Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:42:46.848Z] ---> Running in c923b504fa39 [2021-04-06T08:42:46.922Z] ---> Running in 6259fd3fd2e4 [2021-04-06T08:42:47.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:42:47.519Z] Removing intermediate container 6259fd3fd2e4 [2021-04-06T08:42:47.519Z] ---> 105e3d297a61 [2021-04-06T08:42:47.519Z] Step 7/8 : COPY . . [2021-04-06T08:42:48.375Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:42:48.498Z] ---> 3a86245f68dd [2021-04-06T08:42:48.498Z] Step 8/8 : RUN go mod download [2021-04-06T08:42:48.770Z] ---> Running in 577d2a80f0e6 [2021-04-06T08:42:48.950Z] OK: 167 MiB in 45 packages [2021-04-06T08:42:49.528Z] Removing intermediate container c923b504fa39 [2021-04-06T08:42:49.528Z] ---> 23b0f44891d8 [2021-04-06T08:42:49.528Z] Step 7/23 : COPY . . [2021-04-06T08:42:50.476Z] ---> 4f6b6202d82a [2021-04-06T08:42:50.476Z] Step 8/23 : RUN go mod download [2021-04-06T08:42:50.745Z] ---> Running in b8382cbad96d [2021-04-06T08:42:51.703Z] Removing intermediate container b8382cbad96d [2021-04-06T08:42:51.703Z] ---> 94f83ca9ec88 [2021-04-06T08:42:51.703Z] Step 9/23 : RUN make build [2021-04-06T08:42:51.965Z] ---> Running in 9576ad069f3e [2021-04-06T08:42:52.234Z] 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-04-06T08:43:04.625Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:43:04.895Z] Removing intermediate container 9576ad069f3e [2021-04-06T08:43:04.895Z] ---> 5e91ebc46ef2 [2021-04-06T08:43:04.895Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:43:05.470Z] 3.12: Pulling from library/alpine [2021-04-06T08:43:05.470Z] 532819f3e44c: Pulling fs layer [2021-04-06T08:43:05.732Z] 532819f3e44c: Verifying Checksum [2021-04-06T08:43:05.732Z] 532819f3e44c: Download complete [2021-04-06T08:43:05.994Z] 532819f3e44c: Pull complete [2021-04-06T08:43:05.994Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:43:05.994Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:43:05.994Z] ---> 7230e588e954 [2021-04-06T08:43:05.994Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:43:05.994Z] ---> Running in 365836610aff [2021-04-06T08:43:06.263Z] Removing intermediate container 365836610aff [2021-04-06T08:43:06.263Z] ---> 44236bee9322 [2021-04-06T08:43:06.263Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:43:06.263Z] ---> Running in 168de284a296 [2021-04-06T08:43:07.225Z] Removing intermediate container 168de284a296 [2021-04-06T08:43:07.225Z] ---> 3ac6dae8ae5b [2021-04-06T08:43:07.225Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:43:07.497Z] ---> Running in dff67331461d [2021-04-06T08:43:07.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-06T08:43:08.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-06T08:43:09.284Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:43:09.546Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:43:09.546Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:43:09.808Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:43:10.082Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:43:10.082Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:43:10.082Z] OK: 8 MiB in 19 packages [2021-04-06T08:43:10.657Z] Removing intermediate container dff67331461d [2021-04-06T08:43:10.657Z] ---> 0963ead70d59 [2021-04-06T08:43:10.657Z] Step 14/23 : WORKDIR / [2021-04-06T08:43:10.657Z] ---> Running in 822c6104e602 [2021-04-06T08:43:10.657Z] Removing intermediate container 822c6104e602 [2021-04-06T08:43:10.657Z] ---> efbcfc944ac0 [2021-04-06T08:43:10.657Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:43:10.919Z] ---> c6c8a0255bca [2021-04-06T08:43:10.919Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:43:11.498Z] ---> 34ba62a332d2 [2021-04-06T08:43:11.498Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:43:11.763Z] ---> 17e5a0f55af9 [2021-04-06T08:43:11.763Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:43:11.763Z] ---> Running in 3b2986d0c9a2 [2021-04-06T08:43:12.025Z] Removing intermediate container 3b2986d0c9a2 [2021-04-06T08:43:12.025Z] ---> 7368f3cf6f59 [2021-04-06T08:43:12.025Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:43:12.025Z] ---> Running in 9cdb4cde9263 [2021-04-06T08:43:12.288Z] Removing intermediate container 9cdb4cde9263 [2021-04-06T08:43:12.288Z] ---> e58d54156df1 [2021-04-06T08:43:12.288Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:43:12.288Z] ---> Running in cb8581a02029 [2021-04-06T08:43:12.550Z] Removing intermediate container cb8581a02029 [2021-04-06T08:43:12.550Z] ---> e20a9c46b235 [2021-04-06T08:43:12.550Z] Step 21/23 : LABEL arch=amd64 [2021-04-06T08:43:12.550Z] ---> Running in cc0fd9a0d9c1 [2021-04-06T08:43:12.550Z] Removing intermediate container cc0fd9a0d9c1 [2021-04-06T08:43:12.550Z] ---> 64c7d55bb9e5 [2021-04-06T08:43:12.550Z] Step 22/23 : LABEL git_sha=b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:43:12.812Z] ---> Running in 9d0ec384117c [2021-04-06T08:43:12.812Z] Removing intermediate container 9d0ec384117c [2021-04-06T08:43:12.812Z] ---> 7e3096ad85e4 [2021-04-06T08:43:12.812Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:43:12.812Z] ---> Running in dcded459e7af [2021-04-06T08:43:13.074Z] Removing intermediate container dcded459e7af [2021-04-06T08:43:13.074Z] ---> 88d11cf185eb [2021-04-06T08:43:13.074Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-06T08:43:13.074Z] Successfully built 88d11cf185eb [2021-04-06T08:43:13.074Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:43:13.988Z] ---> job-cost.sh [2021-04-06T08:43:13.988Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9uJX [2021-04-06T08:43:15.584Z] Removing intermediate container 577d2a80f0e6 [2021-04-06T08:43:15.584Z] ---> ec6b50b301e2 [2021-04-06T08:43:15.584Z] Successfully built ec6b50b301e2 [2021-04-06T08:43:15.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:43:15.927Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:43:15.927Z] . [Pipeline] withDockerContainer [2021-04-06T08:43:16.197Z] prd-ubuntu18.04-docker-arm64-4c-16g-32942 does not seem to be running inside a container [2021-04-06T08:43:16.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-04-06T08:43:17.806Z] $ docker top cb0abe07b31dde169471457070cdb332455e6c8e81c46619c377ab4f0a4b94cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:43:18.840Z] + go version [2021-04-06T08:43:18.840Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-06T08:43:18.863Z] $ docker stop --time=1 cb0abe07b31dde169471457070cdb332455e6c8e81c46619c377ab4f0a4b94cb [2021-04-06T08:43:20.762Z] $ docker rm -f cb0abe07b31dde169471457070cdb332455e6c8e81c46619c377ab4f0a4b94cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:43:21.783Z] + docker inspect -f . ci-base-image-arm64 [2021-04-06T08:43:21.783Z] . [Pipeline] withDockerContainer [2021-04-06T08:43:22.047Z] prd-ubuntu18.04-docker-arm64-4c-16g-32942 does not seem to be running inside a container [2021-04-06T08:43:22.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-04-06T08:43:23.583Z] $ docker top 35590097932afd0c623bc04aee6ab6a5ff9b42c88114ebfbb11557e9c06587ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:43:24.602Z] + make test [2021-04-06T08:43:24.602Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-06T08:43:28.948Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:43:46.798Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-06T08:43:55.616Z] lf-activate-venv(): INFO: Adding /tmp/venv-9uJX/bin to PATH [2021-04-06T08:43:55.616Z] INFO: No Stack... [2021-04-06T08:43:56.564Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:43:57.139Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:43:57.457Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-06T08:43:57.457Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T08:43:57.591Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] [2021-04-06T08:43:57.610Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] did not exist. Created. [2021-04-06T08:43:57.611Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:43:58.005Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-06T08:43:58.109Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:43:58.123Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-06T08:44:33.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-06T08:44:33.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-06T08:44:33.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-06T08:44:33.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-06T08:44:33.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-06T08:44:46.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 28.1% of statements [2021-04-06T08:44:46.887Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.184s coverage: 78.9% of statements [2021-04-06T08:44:46.887Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.138s coverage: 7.8% of statements [2021-04-06T08:44:46.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-06T08:44:46.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-06T08:44:46.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-06T08:44:47.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.257s coverage: 32.5% of statements [2021-04-06T08:44:47.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-06T08:44:47.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-06T08:44:47.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-06T08:44:51.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.252s coverage: 57.3% of statements [2021-04-06T08:44:51.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.158s coverage: 6.6% of statements [2021-04-06T08:44:51.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-06T08:44:51.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-06T08:44:51.885Z] GO111MODULE=on go vet ./... [2021-04-06T08:45:38.939Z] gofmt -l . [2021-04-06T08:45:38.939Z] [ "`gofmt -l .`" = "" ] [2021-04-06T08:45:38.939Z] ./bin/test-attribution-txt.sh [2021-04-06T08:45:38.939Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-06T08:45:38.954Z] $ docker stop --time=1 35590097932afd0c623bc04aee6ab6a5ff9b42c88114ebfbb11557e9c06587ed [2021-04-06T08:45:41.432Z] $ docker rm -f 35590097932afd0c623bc04aee6ab6a5ff9b42c88114ebfbb11557e9c06587ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-06T08:45:42.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-06T08:45:42.681Z] Warning: overwriting stash ‘coverage-report’ [2021-04-06T08:45:43.535Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-06T08:45:44.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-06T08:45:44.694Z] + ls -al . [2021-04-06T08:45:44.694Z] total 224 [2021-04-06T08:45:44.694Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:45 . [2021-04-06T08:45:44.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:41 .. [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 08:42 .dockerignore [2021-04-06T08:45:44.694Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:42 .git [2021-04-06T08:45:44.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:42 .github [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 08:42 .gitignore [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 08:42 Dockerfile.build [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 08:42 Jenkinsfile [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 08:42 LICENSE [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 08:42 Makefile [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 08:42 README.md [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 08:42 RELEASE-NOTES.txt [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:37 VERSION [2021-04-06T08:45:44.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:42 bin [2021-04-06T08:45:44.694Z] -rw-r--r-- 1 jenkins jenkins 99190 Apr 6 08:44 coverage.out [2021-04-06T08:45:44.694Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:42 example [2021-04-06T08:45:44.694Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 6 08:45 go.mod [2021-04-06T08:45:44.694Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 08:45 go.sum [2021-04-06T08:45:44.694Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 08:42 internal [2021-04-06T08:45:44.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:42 openapi [2021-04-06T08:45:44.694Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:42 pkg [2021-04-06T08:45:44.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:42 snap [2021-04-06T08:45:44.694Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 08:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:45:45.074Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b292f1c52d86a78f2a842fe4b599153adb4b841c --label arch=arm64 --label version=0.0.0 . [2021-04-06T08:45:45.706Z] Sending build context to Docker daemon 2.494MB [2021-04-06T08:45:45.706Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-06T08:45:45.706Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-06T08:45:45.706Z] ---> ec6b50b301e2 [2021-04-06T08:45:45.706Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-06T08:45:46.321Z] ---> Running in 9c49cfc7d914 [2021-04-06T08:45:46.597Z] Removing intermediate container 9c49cfc7d914 [2021-04-06T08:45:46.597Z] ---> 11cf21cdba72 [2021-04-06T08:45:46.597Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:45:46.876Z] ---> Running in 6b21a5fb978c [2021-04-06T08:45:47.476Z] Removing intermediate container 6b21a5fb978c [2021-04-06T08:45:47.476Z] ---> 5ff011c8d2e7 [2021-04-06T08:45:47.476Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:45:47.476Z] ---> Running in c149941a165d [2021-04-06T08:45:50.100Z] Removing intermediate container c149941a165d [2021-04-06T08:45:50.100Z] ---> d4b65075489a [2021-04-06T08:45:50.100Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-06T08:45:50.100Z] ---> Running in 5cdc12b9e74f [2021-04-06T08:45:51.077Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:45:51.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:45:52.644Z] OK: 144 MiB in 45 packages [2021-04-06T08:45:53.630Z] Removing intermediate container 5cdc12b9e74f [2021-04-06T08:45:53.630Z] ---> eff4c5cf16d7 [2021-04-06T08:45:53.630Z] Step 7/23 : COPY . . [2021-04-06T08:45:55.063Z] ---> 168ccf268287 [2021-04-06T08:45:55.063Z] Step 8/23 : RUN go mod download [2021-04-06T08:45:55.063Z] ---> Running in a3a2ba6ce224 [2021-04-06T08:45:57.683Z] Removing intermediate container a3a2ba6ce224 [2021-04-06T08:45:57.683Z] ---> bee0ae456d12 [2021-04-06T08:45:57.683Z] Step 9/23 : RUN make build [2021-04-06T08:45:57.683Z] ---> Running in aa1bc2da8f1c [2021-04-06T08:45:58.666Z] 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-04-06T08:46:31.071Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-06T08:46:33.686Z] Removing intermediate container aa1bc2da8f1c [2021-04-06T08:46:33.686Z] ---> ca3f112fa242 [2021-04-06T08:46:33.686Z] Step 10/23 : FROM alpine:3.12 [2021-04-06T08:46:33.686Z] 3.12: Pulling from library/alpine [2021-04-06T08:46:33.686Z] 9a219e8acc52: Pulling fs layer [2021-04-06T08:46:33.960Z] 9a219e8acc52: Verifying Checksum [2021-04-06T08:46:33.960Z] 9a219e8acc52: Download complete [2021-04-06T08:46:34.557Z] 9a219e8acc52: Pull complete [2021-04-06T08:46:34.557Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-06T08:46:34.557Z] Status: Downloaded newer image for alpine:3.12 [2021-04-06T08:46:34.557Z] ---> d75e27dfc0a0 [2021-04-06T08:46:34.557Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-06T08:46:34.829Z] ---> Running in 10dadc64235d [2021-04-06T08:46:35.100Z] Removing intermediate container 10dadc64235d [2021-04-06T08:46:35.100Z] ---> 08c20398415e [2021-04-06T08:46:35.100Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-06T08:46:35.373Z] ---> Running in e70412bfa398 [2021-04-06T08:46:37.370Z] Removing intermediate container e70412bfa398 [2021-04-06T08:46:37.370Z] ---> 8f48fae8a7c0 [2021-04-06T08:46:37.370Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-06T08:46:37.370Z] ---> Running in 2f4201464f53 [2021-04-06T08:46:38.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-06T08:46:39.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-06T08:46:40.290Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-06T08:46:40.290Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-06T08:46:40.558Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-06T08:46:40.827Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-06T08:46:41.097Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-06T08:46:41.097Z] Executing busybox-1.31.1-r20.trigger [2021-04-06T08:46:41.097Z] OK: 8 MiB in 19 packages [2021-04-06T08:46:42.530Z] Removing intermediate container 2f4201464f53 [2021-04-06T08:46:42.530Z] ---> 55ecf2591ee3 [2021-04-06T08:46:42.530Z] Step 14/23 : WORKDIR / [2021-04-06T08:46:42.530Z] ---> Running in f296ce066ead [2021-04-06T08:46:43.129Z] Removing intermediate container f296ce066ead [2021-04-06T08:46:43.129Z] ---> 99c0116f41ab [2021-04-06T08:46:43.129Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-06T08:46:43.729Z] ---> 7102d9ecf575 [2021-04-06T08:46:43.729Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-06T08:46:45.156Z] ---> 565c5ea09ef6 [2021-04-06T08:46:45.156Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-06T08:46:45.748Z] ---> 74171f4bdde5 [2021-04-06T08:46:45.748Z] Step 18/23 : EXPOSE 49990 [2021-04-06T08:46:45.748Z] ---> Running in 2658cfb7b049 [2021-04-06T08:46:46.343Z] Removing intermediate container 2658cfb7b049 [2021-04-06T08:46:46.343Z] ---> ff5118500d0a [2021-04-06T08:46:46.343Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-06T08:46:46.343Z] ---> Running in 93a6d2b9ac08 [2021-04-06T08:46:46.937Z] Removing intermediate container 93a6d2b9ac08 [2021-04-06T08:46:46.937Z] ---> 04493eec44ba [2021-04-06T08:46:46.937Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-06T08:46:46.937Z] ---> Running in a3c854e7e3bd [2021-04-06T08:46:47.530Z] Removing intermediate container a3c854e7e3bd [2021-04-06T08:46:47.530Z] ---> e34cf2937097 [2021-04-06T08:46:47.530Z] Step 21/23 : LABEL arch=arm64 [2021-04-06T08:46:47.530Z] ---> Running in 020ef9cd4363 [2021-04-06T08:46:47.804Z] Removing intermediate container 020ef9cd4363 [2021-04-06T08:46:47.804Z] ---> 683f2c2f93f4 [2021-04-06T08:46:47.804Z] Step 22/23 : LABEL git_sha=b292f1c52d86a78f2a842fe4b599153adb4b841c [2021-04-06T08:46:48.082Z] ---> Running in ee3df572a6d6 [2021-04-06T08:46:48.358Z] Removing intermediate container ee3df572a6d6 [2021-04-06T08:46:48.358Z] ---> d0147e171ef1 [2021-04-06T08:46:48.358Z] Step 23/23 : LABEL version=0.0.0 [2021-04-06T08:46:48.631Z] ---> Running in ab144beb2ab7 [2021-04-06T08:46:48.903Z] Removing intermediate container ab144beb2ab7 [2021-04-06T08:46:48.903Z] ---> 350e95050a1b [2021-04-06T08:46:48.903Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-06T08:46:49.175Z] Successfully built 350e95050a1b [2021-04-06T08:46:49.175Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:46:49.918Z] ---> job-cost.sh [2021-04-06T08:46:49.918Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dtzP [2021-04-06T08:47:28.876Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-06T08:49:05.613Z] lf-activate-venv(): INFO: Adding /tmp/venv-dtzP/bin to PATH [2021-04-06T08:49:05.613Z] INFO: No Stack... [2021-04-06T08:49:05.613Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-06T08:49:05.613Z] INFO: Archiving Costs [Pipeline] sh [2021-04-06T08:49:05.944Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-06T08:49:05.944Z] + cut -d, -f6 [Pipeline] lock [2021-04-06T08:49:06.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] [2021-04-06T08:49:06.066Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] did not exist. Created. [2021-04-06T08:49:06.066Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-06T08:49:06.491Z] /w/workspace/device-sdk-go/3@tmp/durable-56faf1a6/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-56faf1a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-06T08:49:06.837Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-06T08:49:06.897Z] Warning: overwriting stash ‘stack-cost’ [2021-04-06T08:49:07.060Z] Stashed 1 file(s) [Pipeline] } [2021-04-06T08:49:07.073Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-3-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-04-06T08:49:08.342Z] provisioning config files... [2021-04-06T08:49:08.354Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config5719406342061830085tmp [Pipeline] { [Pipeline] sh [2021-04-06T08:49:08.737Z] + set +x [2021-04-06T08:49:08.738Z] + curl -s https://codecov.io/bash [2021-04-06T08:49:08.738Z] + bash -s -- [2021-04-06T08:49:09.001Z] [2021-04-06T08:49:09.001Z] _____ _ [2021-04-06T08:49:09.001Z] / ____| | | [2021-04-06T08:49:09.001Z] | | ___ __| | ___ ___ _____ __ [2021-04-06T08:49:09.001Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-06T08:49:09.001Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-06T08:49:09.001Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-06T08:49:09.001Z] Bash-20210309-2b87ace [2021-04-06T08:49:09.001Z] [2021-04-06T08:49:09.001Z] [2021-04-06T08:49:09.001Z] ==> git version 2.24.3 found [2021-04-06T08:49:09.001Z] ==> 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-04-06T08:49:09.001Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-06T08:49:09.001Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-06T08:49:09.001Z] ==> Jenkins CI detected. [2021-04-06T08:49:09.001Z] project root: . [2021-04-06T08:49:09.001Z] --> token set from env [2021-04-06T08:49:09.001Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-06T08:49:09.001Z] ==> Running gcov in . (disable via -X gcov) [2021-04-06T08:49:09.001Z] ==> Python coveragepy not found [2021-04-06T08:49:09.001Z] ==> Searching for coverage reports in: [2021-04-06T08:49:09.001Z] + . [2021-04-06T08:49:09.001Z] -> Found 1 reports [2021-04-06T08:49:09.001Z] ==> Detecting git/mercurial file structure [2021-04-06T08:49:09.001Z] ==> Reading reports [2021-04-06T08:49:09.001Z] + ./coverage.out bytes=99190 [2021-04-06T08:49:09.001Z] ==> Appending adjustments [2021-04-06T08:49:09.001Z] https://docs.codecov.io/docs/fixing-reports [2021-04-06T08:49:09.264Z] + Found adjustments [2021-04-06T08:49:09.264Z] ==> Gzipping contents [2021-04-06T08:49:09.264Z] 16K /tmp/codecov.PDsz1I.gz [2021-04-06T08:49:09.264Z] ==> Uploading reports [2021-04-06T08:49:09.264Z] url: https://codecov.io [2021-04-06T08:49:09.264Z] query: branch=PR-862&commit=b292f1c52d86a78f2a842fe4b599153adb4b841c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T08:49:09.264Z] -> Pinging Codecov [2021-04-06T08:49:09.264Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-862&commit=b292f1c52d86a78f2a842fe4b599153adb4b841c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= [2021-04-06T08:49:09.841Z] -> Uploading to [2021-04-06T08:49:09.841Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/b292f1c52d86a78f2a842fe4b599153adb4b841c/74b4df0c-abf0-4877-a978-9d5a3153c97f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T084909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6536c11b44b3f65cf2fcf647eb794bc1dccdc3cbfd6f779edea9149a80a0082c [2021-04-06T08:49:09.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-06T08:49:09.841Z] Dload Upload Total Spent Left Speed [2021-04-06T08:49:10.102Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13411 0 0 100 13411 0 28577 --:--:-- --:--:-- --:--:-- 28534 [2021-04-06T08:49:10.102Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b292f1c52d86a78f2a842fe4b599153adb4b841c [Pipeline] } [2021-04-06T08:49:10.112Z] 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-04-06T08:49:12.316Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:12.668Z] ---> package-listing.sh [2021-04-06T08:49:12.668Z] ++ facter osfamily [2021-04-06T08:49:12.668Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-06T08:49:12.668Z] + OS_FAMILY=redhat [2021-04-06T08:49:12.668Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-862 [2021-04-06T08:49:12.668Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-06T08:49:12.668Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-06T08:49:12.668Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-06T08:49:12.668Z] + PACKAGES=/tmp/packages_start.txt [2021-04-06T08:49:12.668Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T08:49:12.668Z] + PACKAGES=/tmp/packages_end.txt [2021-04-06T08:49:12.668Z] + case "${OS_FAMILY}" in [2021-04-06T08:49:12.668Z] + rpm -qa [2021-04-06T08:49:12.668Z] + sort [2021-04-06T08:49:16.888Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-06T08:49:16.888Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-06T08:49:16.888Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-06T08:49:16.888Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' [2021-04-06T08:49:16.888Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [2021-04-06T08:49:16.888Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [Pipeline] echo [2021-04-06T08:49:16.901Z] 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-862/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-06T08:49:17.191Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:49:17.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:49:17.496Z] [2021-04-06T08:49:17.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-06T08:49:17.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:49:17.867Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-06T08:49:17.867Z] df20fa9351a1: Pulling fs layer [2021-04-06T08:49:17.867Z] 36b3adc4ff6f: Pulling fs layer [2021-04-06T08:49:17.867Z] 8ad3a11d3b57: Pulling fs layer [2021-04-06T08:49:17.867Z] 46f8f816bc3b: Pulling fs layer [2021-04-06T08:49:17.867Z] 93b61091891f: Pulling fs layer [2021-04-06T08:49:17.867Z] 93b9cdb0e59b: Pulling fs layer [2021-04-06T08:49:17.867Z] 5e14af77c1be: Pulling fs layer [2021-04-06T08:49:17.867Z] 01666e4c0597: Pulling fs layer [2021-04-06T08:49:17.867Z] aa168da1d23b: Pulling fs layer [2021-04-06T08:49:17.867Z] 93b9cdb0e59b: Waiting [2021-04-06T08:49:17.867Z] 5e14af77c1be: Waiting [2021-04-06T08:49:17.867Z] 01666e4c0597: Waiting [2021-04-06T08:49:17.867Z] 46f8f816bc3b: Waiting [2021-04-06T08:49:17.867Z] aa168da1d23b: Waiting [2021-04-06T08:49:17.867Z] 36b3adc4ff6f: Download complete [2021-04-06T08:49:17.867Z] 46f8f816bc3b: Verifying Checksum [2021-04-06T08:49:17.867Z] 46f8f816bc3b: Download complete [2021-04-06T08:49:18.130Z] df20fa9351a1: Verifying Checksum [2021-04-06T08:49:18.130Z] df20fa9351a1: Download complete [2021-04-06T08:49:18.130Z] 93b9cdb0e59b: Verifying Checksum [2021-04-06T08:49:18.130Z] 93b9cdb0e59b: Download complete [2021-04-06T08:49:18.130Z] 93b61091891f: Download complete [2021-04-06T08:49:18.130Z] 5e14af77c1be: Verifying Checksum [2021-04-06T08:49:18.130Z] 5e14af77c1be: Download complete [2021-04-06T08:49:18.130Z] 01666e4c0597: Verifying Checksum [2021-04-06T08:49:18.130Z] 01666e4c0597: Download complete [2021-04-06T08:49:18.130Z] 8ad3a11d3b57: Verifying Checksum [2021-04-06T08:49:18.130Z] 8ad3a11d3b57: Download complete [2021-04-06T08:49:18.393Z] df20fa9351a1: Pull complete [2021-04-06T08:49:18.665Z] 36b3adc4ff6f: Pull complete [2021-04-06T08:49:19.259Z] 8ad3a11d3b57: Pull complete [2021-04-06T08:49:19.525Z] 46f8f816bc3b: Pull complete [2021-04-06T08:49:20.102Z] aa168da1d23b: Verifying Checksum [2021-04-06T08:49:20.102Z] aa168da1d23b: Download complete [2021-04-06T08:49:20.364Z] 93b61091891f: Pull complete [2021-04-06T08:49:20.364Z] 93b9cdb0e59b: Pull complete [2021-04-06T08:49:20.364Z] 5e14af77c1be: Pull complete [2021-04-06T08:49:20.625Z] 01666e4c0597: Pull complete [2021-04-06T08:49:28.806Z] aa168da1d23b: Pull complete [2021-04-06T08:49:28.806Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-06T08:49:28.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-06T08:49:28.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-06T08:49:28.939Z] prd-centos7-docker-4c-2g-32939 does not seem to be running inside a container [2021-04-06T08:49:28.988Z] $ 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-862/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-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@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-04-06T08:49:32.297Z] $ docker top 1adb6973ab172e7a77c0ec169a7e60158f7a1014051afc3317edbf8e4ffef730 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-06T08:49:32.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-06T08:49:33.068Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-06T08:49:33.367Z] + ls /var/log/sa-host [2021-04-06T08:49:33.367Z] + sadf -c /var/log/sa-host/sa06 [2021-04-06T08:49:33.367Z] file_magic: OK [2021-04-06T08:49:33.367Z] HZ: Using current value: 100 [2021-04-06T08:49:33.367Z] file_header: OK [2021-04-06T08:49:33.367Z] 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-04-06T08:49:33.367Z] Statistics: [2021-04-06T08:49:33.367Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-06T08:49:33.367Z] File successfully converted to sysstat format version 12.2.1 [2021-04-06T08:49:33.367Z] + sadf -c /var/log/sa-host/sa23 [2021-04-06T08:49:33.367Z] file_magic: OK [2021-04-06T08:49:33.367Z] HZ: Using current value: 100 [2021-04-06T08:49:33.368Z] file_header: OK [2021-04-06T08:49:33.368Z] 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-04-06T08:49:33.368Z] Statistics: [2021-04-06T08:49:33.368Z] Hnuu...uuuununununu... [2021-04-06T08:49:33.368Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-06T08:49:33.570Z] provisioning config files... [2021-04-06T08:49:33.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config7348975162633984009tmp [Pipeline] { [Pipeline] echo [2021-04-06T08:49:33.656Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:33.954Z] ---> create-netrc.sh [Pipeline] } [2021-04-06T08:49:33.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-06T08:49:34.050Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:34.345Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-06T08:49:34.356Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:34.655Z] ---> sudo-logs.sh [2021-04-06T08:49:34.655Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-06T08:49:34.724Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:35.019Z] ---> job-cost.sh [2021-04-06T08:49:35.019Z] lf-activate-venv: SKIPPING [2021-04-06T08:49:35.019Z] DEBUG: total: 0.20999999344348907 [2021-04-06T08:49:35.019Z] INFO: Retrieving Stack Cost... [2021-04-06T08:49:35.966Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-06T08:49:36.228Z] INFO: Archiving Costs [Pipeline] echo [2021-04-06T08:49:36.243Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-06T08:49:36.539Z] ---> logs-deploy.sh [2021-04-06T08:49:36.539Z] lf-activate-venv: SKIPPING [2021-04-06T08:49:36.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-862/3 [2021-04-06T08:49:36.539Z] INFO: archiving workspace using pattern(s): [2021-04-06T08:49:38.462Z] Archives upload complete. [2021-04-06T08:49:38.462Z] INFO: archiving logs to Nexus