Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11+76d059c2e27a3d5d488ff0022063f09e99d334bf (92e0c014283dd9a699c26255400f8e9b60f91440) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23326 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [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-756 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Merge succeeded, producing 408f6c3789b4154c80c1501ca8baeea3f125df39 Checking out Revision 408f6c3789b4154c80c1501ca8baeea3f125df39 (PR-756) > 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/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 408f6c3789b4154c80c1501ca8baeea3f125df39 # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T02:42:48.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:42:48.941Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:42:49.035Z] ========================================================= [2021-01-27T02:42:49.035Z] EdgeX Global Pipelines Version Info [2021-01-27T02:42:49.035Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:42:50.793Z] ------------------- [2021-01-27T02:42:50.793Z] stable info: [2021-01-27T02:42:50.793Z] ------------------- [2021-01-27T02:42:50.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:42:50.793Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:42:50.793Z] Message: update stable to v1.0.179 [2021-01-27T02:42:51.746Z] ------------------- [2021-01-27T02:42:51.746Z] experimental info: [2021-01-27T02:42:51.746Z] ------------------- [2021-01-27T02:42:51.746Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:42:51.746Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:42:51.746Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:42:52.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T02:42:52.089Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T02:42:52.173Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:42:52.263Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:42:52.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:42:52.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:42:52.524Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:42:52.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:42:52.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T02:42:52.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:42:52.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:42:53.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T02:42:53.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:42:53.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:42:53.353Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T02:42:53.441Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:42:53.526Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:42:53.719Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:42:53.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:42:53.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:42:54.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T02:42:54.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T02:42:54.214Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:42:54.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:42:54.398Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T02:42:54.489Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:42:54.580Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:42:54.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-756 [Pipeline] echo [2021-01-27T02:42:54.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-756 [Pipeline] echo [2021-01-27T02:42:54.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-756 [Pipeline] echo [2021-01-27T02:42:54.976Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] echo [2021-01-27T02:42:55.060Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 408f6c3 [Pipeline] echo [2021-01-27T02:42:55.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:42:55.326Z] provisioning config files... [2021-01-27T02:42:55.355Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1613896304830494117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:42:55.748Z] ---> docker-login.sh [2021-01-27T02:42:55.748Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:42:56.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:42:56.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:42:56.277Z] Configure a credential helper to remove this warning. See [2021-01-27T02:42:56.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:42:56.277Z] [2021-01-27T02:42:56.277Z] Login Succeeded [2021-01-27T02:42:56.277Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:42:56.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:42:56.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:42:56.277Z] Configure a credential helper to remove this warning. See [2021-01-27T02:42:56.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:42:56.277Z] [2021-01-27T02:42:56.277Z] Login Succeeded [2021-01-27T02:42:56.277Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:42:56.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:42:56.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:42:56.543Z] Configure a credential helper to remove this warning. See [2021-01-27T02:42:56.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:42:56.543Z] [2021-01-27T02:42:56.543Z] Login Succeeded [2021-01-27T02:42:56.543Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:42:56.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:42:56.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:42:56.809Z] Configure a credential helper to remove this warning. See [2021-01-27T02:42:56.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:42:56.809Z] [2021-01-27T02:42:56.809Z] Login Succeeded [2021-01-27T02:42:56.809Z] docker.io [2021-01-27T02:42:56.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:42:57.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:42:57.081Z] Configure a credential helper to remove this warning. See [2021-01-27T02:42:57.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:42:57.081Z] [2021-01-27T02:42:57.081Z] Login Succeeded [2021-01-27T02:42:57.081Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:42:57.093Z] 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-01-27T02:42:58.049Z] + git log --format=format:%s -1 408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] echo [2021-01-27T02:42:58.189Z] GIT_COMMIT: 408f6c3789b4154c80c1501ca8baeea3f125df39, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo [2021-01-27T02:42:58.232Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:42:58.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:42:58.840Z] [2021-01-27T02:42:58.840Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:42:59.209Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:42:59.209Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:42:59.209Z] 31603596830f: Pulling fs layer [2021-01-27T02:42:59.209Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:42:59.209Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:42:59.209Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:42:59.209Z] ecc8261a40a4: Waiting [2021-01-27T02:42:59.209Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T02:42:59.209Z] 2a8b12db71e7: Download complete [2021-01-27T02:42:59.481Z] 31603596830f: Download complete [2021-01-27T02:42:59.481Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:42:59.481Z] ecc8261a40a4: Download complete [2021-01-27T02:42:59.481Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:42:59.481Z] 6ca5941a6612: Download complete [2021-01-27T02:42:59.762Z] 31603596830f: Pull complete [2021-01-27T02:43:00.037Z] 2a8b12db71e7: Pull complete [2021-01-27T02:43:00.639Z] 6ca5941a6612: Pull complete [2021-01-27T02:43:00.904Z] ecc8261a40a4: Pull complete [2021-01-27T02:43:01.173Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:43:01.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:43:01.173Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:43:01.293Z] prd-centos7-docker-4c-2g-23326 does not seem to be running inside a container [2021-01-27T02:43:01.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-27T02:43:03.529Z] $ docker top fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:43:03.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:03.889Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:04.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:04.135Z] $ docker exec fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent [2021-01-27T02:43:04.318Z] SSH_AUTH_SOCK=/tmp/ssh-SCDPrLoRJTKM/agent.11 [2021-01-27T02:43:04.318Z] SSH_AGENT_PID=17 [2021-01-27T02:43:04.338Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:04.463Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5687428881924186362.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5687428881924186362.key) [2021-01-27T02:43:04.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:04.896Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:43:04.923Z] $ docker exec --env ******** --env ******** fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent -k [2021-01-27T02:43:05.057Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:05.057Z] unset SSH_AGENT_PID; [2021-01-27T02:43:05.057Z] echo Agent pid 17 killed; [2021-01-27T02:43:05.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:43:05.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:43:05.344Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:43:05.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:43:05.546Z] $ docker exec fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent [2021-01-27T02:43:05.719Z] SSH_AUTH_SOCK=/tmp/ssh-Vlrulhk8UwCt/agent.45 [2021-01-27T02:43:05.720Z] SSH_AGENT_PID=51 [2021-01-27T02:43:05.727Z] Running ssh-add (command line suppressed) [2021-01-27T02:43:05.850Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_526419131489327129.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_526419131489327129.key) [2021-01-27T02:43:05.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:43:06.243Z] + git semver init [2021-01-27T02:43:06.243Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:43:06.243Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.git [2021-01-27T02:43:06.243Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-756 [2021-01-27T02:43:06.243Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:43:06.243Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:43:06.243Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:43:06.243Z] # $SEMVER_BRANCH = PR-756 [2021-01-27T02:43:06.243Z] # $SEMVER_TEMP = /tmp/semver-799325191 [2021-01-27T02:43:06.243Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T02:43:07.194Z] # '/tmp/semver-799325191' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver' [2021-01-27T02:43:07.194Z] # -> Force: false [2021-01-27T02:43:07.194Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver [Pipeline] } [2021-01-27T02:43:07.208Z] $ docker exec --env ******** --env ******** fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 ssh-agent -k [2021-01-27T02:43:07.333Z] unset SSH_AUTH_SOCK; [2021-01-27T02:43:07.333Z] unset SSH_AGENT_PID; [2021-01-27T02:43:07.333Z] echo Agent pid 51 killed; [2021-01-27T02:43:07.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:43:07.860Z] + git semver [Pipeline] } [2021-01-27T02:43:07.881Z] $ docker stop --time=1 fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 [2021-01-27T02:43:09.292Z] $ docker rm -f fb30da6686f64b7810fd314abe054855d6738350571e10f6e4836c81c79f39e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:43:09.783Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:43:10.326Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:43:10.329Z] [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-01-27T02:43:25.944Z] Still waiting to schedule task [2021-01-27T02:43:25.944Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23325’ is offline; ‘prd-centos7-docker-4c-2g-23331’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-27T02:43:25.945Z] Still waiting to schedule task [2021-01-27T02:43:25.945Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-27T02:44:39.455Z] Running on prd-centos7-docker-4c-2g-23334 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws [2021-01-27T02:44:39.512Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-27T02:44:42.458Z] using credential edgex-jenkins-ssh [2021-01-27T02:44:42.509Z] Cloning the remote Git repository [2021-01-27T02:44:42.549Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:42.624Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-27T02:44:42.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:42.696Z] > git --version # timeout=10 [2021-01-27T02:44:42.706Z] > git --version # 'git version 2.24.3' [2021-01-27T02:44:42.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:42.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:43.986Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-27T02:44:44.118Z] Merge succeeded, producing 82ce21132bdfaeb250030ece30d199bb12c6dffa [2021-01-27T02:44:44.118Z] Checking out Revision 82ce21132bdfaeb250030ece30d199bb12c6dffa (PR-756) [2021-01-27T02:44:43.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:43.540Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:44:43.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:44:43.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:44:43.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:43.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:44:43.998Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:44.003Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-27T02:44:44.054Z] > git remote # timeout=10 [2021-01-27T02:44:44.062Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:44:44.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:44:44.074Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:44:44.114Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:44:44.124Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:44:44.129Z] > git checkout -f 82ce21132bdfaeb250030ece30d199bb12c6dffa # timeout=10 [2021-01-27T02:44:47.891Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:44:47.899Z] > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:44:49.241Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:44:49.608Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:44:49.914Z] + sudo service docker restart [2021-01-27T02:44:49.915Z] + true [2021-01-27T02:44:49.915Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:44:51.437Z] provisioning config files... [2021-01-27T02:44:51.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7426984067721855516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:44:51.902Z] ---> docker-login.sh [2021-01-27T02:44:51.902Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:44:52.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:52.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:52.486Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:52.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:52.486Z] [2021-01-27T02:44:52.486Z] Login Succeeded [2021-01-27T02:44:52.486Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:44:52.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:52.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:52.752Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:52.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:52.752Z] [2021-01-27T02:44:52.752Z] Login Succeeded [2021-01-27T02:44:52.752Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:44:52.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:52.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:52.752Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:52.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:52.752Z] [2021-01-27T02:44:52.752Z] Login Succeeded [2021-01-27T02:44:52.752Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:44:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:53.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:53.018Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:53.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:53.018Z] [2021-01-27T02:44:53.018Z] Login Succeeded [2021-01-27T02:44:53.018Z] docker.io [2021-01-27T02:44:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:44:53.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:44:53.280Z] Configure a credential helper to remove this warning. See [2021-01-27T02:44:53.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:44:53.280Z] [2021-01-27T02:44:53.280Z] Login Succeeded [2021-01-27T02:44:53.280Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:44:53.292Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:44:53.772Z] ========================================================= [2021-01-27T02:44:53.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:44:53.772Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:44:54.127Z] + 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-01-27T02:44:54.398Z] Sending build context to Docker daemon 2.571MB [2021-01-27T02:44:54.398Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:44:54.398Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:44:54.398Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:44:54.398Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:44:54.398Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:44:54.398Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:44:54.398Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:44:54.398Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:44:54.398Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:44:54.398Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:44:54.398Z] 93359f2a8cfa: Waiting [2021-01-27T02:44:54.398Z] 7c6f9722023f: Waiting [2021-01-27T02:44:54.398Z] a35cf1a2eb13: Waiting [2021-01-27T02:44:54.398Z] bca2f99d35d6: Waiting [2021-01-27T02:44:54.398Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T02:44:54.398Z] 0ef7d3d256c8: Download complete [2021-01-27T02:44:54.398Z] de9db76c5a1d: Download complete [2021-01-27T02:44:54.398Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T02:44:54.398Z] 93359f2a8cfa: Download complete [2021-01-27T02:44:54.398Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:44:54.398Z] 188c0c94c7c5: Download complete [2021-01-27T02:44:54.398Z] 7c6f9722023f: Verifying Checksum [2021-01-27T02:44:54.398Z] 7c6f9722023f: Download complete [2021-01-27T02:44:54.665Z] 188c0c94c7c5: Pull complete [2021-01-27T02:44:54.937Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:44:55.201Z] de9db76c5a1d: Pull complete [2021-01-27T02:44:56.188Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:44:57.179Z] bca2f99d35d6: Verifying Checksum [2021-01-27T02:44:57.179Z] bca2f99d35d6: Download complete [2021-01-27T02:45:03.921Z] bca2f99d35d6: Pull complete [2021-01-27T02:45:03.921Z] 93359f2a8cfa: Pull complete [2021-01-27T02:45:03.921Z] 7c6f9722023f: Pull complete [2021-01-27T02:45:08.201Z] a35cf1a2eb13: Pull complete [2021-01-27T02:45:08.201Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:45:08.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:45:08.201Z] ---> a62c8e92a672 [2021-01-27T02:45:08.201Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:45:08.468Z] ---> Running in bb5f1623110e [2021-01-27T02:45:08.743Z] Removing intermediate container bb5f1623110e [2021-01-27T02:45:08.743Z] ---> e03a5a123d8b [2021-01-27T02:45:08.743Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:45:08.743Z] ---> Running in 9f4237a163b8 [2021-01-27T02:45:10.141Z] Removing intermediate container 9f4237a163b8 [2021-01-27T02:45:10.141Z] ---> cc0132e7e8c5 [2021-01-27T02:45:10.141Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:45:10.141Z] ---> Running in 2c75012191db [2021-01-27T02:45:11.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:11.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:45:12.287Z] OK: 166 MiB in 39 packages [2021-01-27T02:45:12.884Z] Removing intermediate container 2c75012191db [2021-01-27T02:45:12.884Z] ---> 031b177af6ad [2021-01-27T02:45:12.884Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:45:12.884Z] ---> Running in 85340eeeede1 [2021-01-27T02:45:13.151Z] Removing intermediate container 85340eeeede1 [2021-01-27T02:45:13.151Z] ---> 77ab354a7ceb [2021-01-27T02:45:13.151Z] Step 7/8 : COPY . . [2021-01-27T02:45:14.550Z] ---> b58929c05c24 [2021-01-27T02:45:14.550Z] Step 8/8 : RUN go mod download [2021-01-27T02:45:14.550Z] ---> Running in 2fa58d553459 [2021-01-27T02:45:32.741Z] Removing intermediate container 2fa58d553459 [2021-01-27T02:45:32.741Z] ---> 2c6d4446992a [2021-01-27T02:45:32.741Z] Successfully built 2c6d4446992a [2021-01-27T02:45:32.741Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:33.068Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:45:33.068Z] . [Pipeline] withDockerContainer [2021-01-27T02:45:33.198Z] prd-centos7-docker-4c-2g-23334 does not seem to be running inside a container [2021-01-27T02:45:33.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-01-27T02:45:34.218Z] $ docker top 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:45:34.765Z] + go version [2021-01-27T02:45:34.765Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:45:34.785Z] $ docker stop --time=1 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 [2021-01-27T02:45:36.175Z] $ docker rm -f 1564d8885997f02cff950f369405e3000572324bdae3b8514cbfaada764f08c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:45:37.016Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:45:37.016Z] . [Pipeline] withDockerContainer [2021-01-27T02:45:37.123Z] prd-centos7-docker-4c-2g-23334 does not seem to be running inside a container [2021-01-27T02:45:37.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-01-27T02:45:37.782Z] $ docker top b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:45:38.303Z] + make test [2021-01-27T02:45:38.303Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:45:46.549Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:45:56.176Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23337 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws [2021-01-27T02:45:56.243Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-01-27T02:46:01.515Z] using credential edgex-jenkins-ssh [2021-01-27T02:46:01.573Z] Cloning the remote Git repository [2021-01-27T02:46:01.664Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:01.779Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-01-27T02:46:01.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:01.849Z] > git --version # timeout=10 [2021-01-27T02:46:01.872Z] > git --version # 'git version 2.17.1' [2021-01-27T02:46:01.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:01.960Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:04.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:46:04.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:46:04.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:46:04.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.093s coverage: 19.4% of statements [2021-01-27T02:46:04.990Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-27T02:46:04.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:04.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:46:04.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T02:46:04.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T02:46:04.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:04.414Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:46:05.019Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:05.041Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-27T02:46:05.294Z] Merge succeeded, producing 0a4d58a85759dff60e23b4af3b14fddfa600831e [2021-01-27T02:46:05.294Z] Checking out Revision 0a4d58a85759dff60e23b4af3b14fddfa600831e (PR-756) [2021-01-27T02:46:06.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.470s coverage: 97.1% of statements [2021-01-27T02:46:05.148Z] > git remote # timeout=10 [2021-01-27T02:46:05.168Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:46:05.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:46:05.192Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T02:46:05.287Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:46:05.311Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:46:05.324Z] > git checkout -f 0a4d58a85759dff60e23b4af3b14fddfa600831e # timeout=10 [2021-01-27T02:46:09.665Z] Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" [2021-01-27T02:46:09.684Z] > git rev-list --no-walk 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:46:11.373Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:11.827Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:46:12.195Z] + + sudo service dockertrue restart [2021-01-27T02:46:12.195Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T02:46:14.916Z] provisioning config files... [2021-01-27T02:46:14.961Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8535533833578143112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:46:15.377Z] ---> docker-login.sh [2021-01-27T02:46:15.377Z] nexus3.edgexfoundry.org:10001 [2021-01-27T02:46:16.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:16.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:16.642Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:16.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:16.642Z] [2021-01-27T02:46:16.642Z] Login Succeeded [2021-01-27T02:46:16.642Z] nexus3.edgexfoundry.org:10002 [2021-01-27T02:46:17.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:17.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:17.241Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:17.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:17.241Z] [2021-01-27T02:46:17.241Z] Login Succeeded [2021-01-27T02:46:17.241Z] nexus3.edgexfoundry.org:10003 [2021-01-27T02:46:17.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:17.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:17.842Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:17.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:17.842Z] [2021-01-27T02:46:17.842Z] Login Succeeded [2021-01-27T02:46:17.842Z] nexus3.edgexfoundry.org:10004 [2021-01-27T02:46:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:18.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:18.399Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:18.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:18.399Z] [2021-01-27T02:46:18.399Z] Login Succeeded [2021-01-27T02:46:18.399Z] docker.io [2021-01-27T02:46:19.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T02:46:19.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T02:46:19.298Z] Configure a credential helper to remove this warning. See [2021-01-27T02:46:19.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T02:46:19.298Z] [2021-01-27T02:46:19.298Z] Login Succeeded [2021-01-27T02:46:19.298Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T02:46:19.317Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T02:46:19.877Z] ========================================================= [2021-01-27T02:46:19.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:46:19.877Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:20.290Z] + 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-01-27T02:46:20.903Z] Sending build context to Docker daemon 2.568MB [2021-01-27T02:46:20.903Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:46:20.903Z] Step 2/8 : FROM ${BASE} [2021-01-27T02:46:20.903Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:46:20.903Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:46:20.903Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:46:20.903Z] 18c013af1878: Pulling fs layer [2021-01-27T02:46:20.903Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:46:20.903Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:46:20.903Z] b116817d02f9: Pulling fs layer [2021-01-27T02:46:20.903Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:46:20.903Z] 00ac8860ef70: Waiting [2021-01-27T02:46:20.903Z] 63d7cb157983: Waiting [2021-01-27T02:46:20.903Z] b116817d02f9: Waiting [2021-01-27T02:46:20.903Z] 745a02a5169b: Waiting [2021-01-27T02:46:20.903Z] 18c013af1878: Verifying Checksum [2021-01-27T02:46:20.903Z] 18c013af1878: Download complete [2021-01-27T02:46:20.903Z] a4357932f1b6: Download complete [2021-01-27T02:46:20.903Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:46:20.903Z] 63d7cb157983: Download complete [2021-01-27T02:46:21.181Z] b116817d02f9: Verifying Checksum [2021-01-27T02:46:21.181Z] b116817d02f9: Download complete [2021-01-27T02:46:21.460Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:46:21.460Z] 5f621e34cdf4: Download complete [2021-01-27T02:46:22.483Z] 5f621e34cdf4: Pull complete [2021-01-27T02:46:23.105Z] a4357932f1b6: Pull complete [2021-01-27T02:46:23.381Z] 18c013af1878: Pull complete [2021-01-27T02:46:26.032Z] 745a02a5169b: Download complete [2021-01-27T02:46:27.481Z] 00ac8860ef70: Verifying Checksum [2021-01-27T02:46:27.481Z] 00ac8860ef70: Download complete [2021-01-27T02:46:37.689Z] 00ac8860ef70: Pull complete [2021-01-27T02:46:37.689Z] 63d7cb157983: Pull complete [2021-01-27T02:46:37.689Z] b116817d02f9: Pull complete [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.085s coverage: 9.4% of statements [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.241s coverage: 43.2% of statements [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.308s coverage: 68.9% of statements [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 53.8% of statements [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.066s coverage: 26.8% of statements [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.528s coverage: 83.5% of statements [2021-01-27T02:46:38.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.2% of statements [2021-01-27T02:46:38.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:46:38.463Z] GO111MODULE=on go vet ./... [2021-01-27T02:46:41.078Z] 745a02a5169b: Pull complete [2021-01-27T02:46:41.078Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:46:41.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:46:41.078Z] ---> b7e6874047d6 [2021-01-27T02:46:41.079Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:46:44.512Z] ---> Running in 07732d4552e1 [2021-01-27T02:46:44.512Z] Removing intermediate container 07732d4552e1 [2021-01-27T02:46:44.512Z] ---> d000ab1e10aa [2021-01-27T02:46:44.512Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:46:44.791Z] ---> Running in 4d24bf9e1399 [2021-01-27T02:46:46.750Z] gofmt -l . [2021-01-27T02:46:46.750Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:46:46.750Z] ./bin/test-attribution-txt.sh [2021-01-27T02:46:46.750Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:46:46.771Z] $ docker stop --time=1 b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 [2021-01-27T02:46:47.472Z] Removing intermediate container 4d24bf9e1399 [2021-01-27T02:46:47.472Z] ---> 56ac0b757c35 [2021-01-27T02:46:47.472Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T02:46:47.472Z] ---> Running in d72b5f85b69c [2021-01-27T02:46:48.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:46:48.764Z] $ docker rm -f b95b4634774400eb3e0299f610bca29a7d3df85cda8b4bce320ed78a0eff16c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:46:49.437Z] + sudo chown -R jenkins:jenkins . [2021-01-27T02:46:49.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stash [2021-01-27T02:46:49.874Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-27T02:46:51.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:46:51.393Z] + ls -al . [2021-01-27T02:46:51.393Z] total 216 [2021-01-27T02:46:51.393Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:46 . [2021-01-27T02:46:51.393Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:44 .. [2021-01-27T02:46:51.393Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:44 bin [2021-01-27T02:46:51.393Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 02:46 coverage.out [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:44 Dockerfile.build [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:44 .dockerignore [2021-01-27T02:46:51.393Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:44 example [2021-01-27T02:46:51.393Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:44 .git [2021-01-27T02:46:51.393Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:44 .github [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:44 .gitignore [2021-01-27T02:46:51.393Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 02:46 go.mod [2021-01-27T02:46:51.393Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 27 02:46 go.sum [2021-01-27T02:46:51.393Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 02:44 internal [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:44 Jenkinsfile [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:44 LICENSE [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:44 Makefile [2021-01-27T02:46:51.393Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:44 openapi [2021-01-27T02:46:51.393Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:44 pkg [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:44 README.md [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:44 RELEASE-NOTES.txt [2021-01-27T02:46:51.393Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:44 snap [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:46:51.393Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:46:51.440Z] OK: 142 MiB in 39 packages [2021-01-27T02:46:51.706Z] + 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=408f6c3789b4154c80c1501ca8baeea3f125df39 --label arch=amd64 --label version=0.0.0 . [2021-01-27T02:46:51.972Z] Sending build context to Docker daemon 2.708MB [2021-01-27T02:46:52.238Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:46:52.238Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:46:52.238Z] ---> 2c6d4446992a [2021-01-27T02:46:52.238Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:46:52.818Z] ---> Running in 3c60c33a9223 [2021-01-27T02:46:52.818Z] Removing intermediate container 3c60c33a9223 [2021-01-27T02:46:52.818Z] ---> d7b0fd0cd5f8 [2021-01-27T02:46:52.818Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:46:52.905Z] Removing intermediate container d72b5f85b69c [2021-01-27T02:46:52.906Z] ---> a13bd1a47551 [2021-01-27T02:46:52.906Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T02:46:52.906Z] ---> Running in 8722a5f9e1fd [2021-01-27T02:46:53.083Z] ---> Running in bafb93975865 [2021-01-27T02:46:53.354Z] Removing intermediate container bafb93975865 [2021-01-27T02:46:53.354Z] ---> 3106726fdf32 [2021-01-27T02:46:53.354Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:46:53.354Z] ---> Running in 4247fec2ae74 [2021-01-27T02:46:53.502Z] Removing intermediate container 8722a5f9e1fd [2021-01-27T02:46:53.502Z] ---> e7cd80764469 [2021-01-27T02:46:53.502Z] Step 7/8 : COPY . . [2021-01-27T02:46:53.618Z] Removing intermediate container 4247fec2ae74 [2021-01-27T02:46:53.619Z] ---> ec19a24b65de [2021-01-27T02:46:53.619Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:46:53.619Z] ---> Running in ef1b76af23fa [2021-01-27T02:46:54.949Z] ---> 08efcb210340 [2021-01-27T02:46:54.949Z] Step 8/8 : RUN go mod download [2021-01-27T02:46:54.949Z] ---> Running in f74d1dfbcd54 [2021-01-27T02:46:55.040Z] Removing intermediate container ef1b76af23fa [2021-01-27T02:46:55.040Z] ---> e1c43eebb6c7 [2021-01-27T02:46:55.040Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:46:55.040Z] ---> Running in 8f6b1a51e905 [2021-01-27T02:46:55.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:57.030Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T02:46:58.986Z] OK: 166 MiB in 39 packages [2021-01-27T02:46:59.270Z] Removing intermediate container 8f6b1a51e905 [2021-01-27T02:46:59.270Z] ---> 0c200d7f0679 [2021-01-27T02:46:59.270Z] Step 8/24 : COPY . . [2021-01-27T02:47:00.680Z] ---> 6ea6a10607d9 [2021-01-27T02:47:00.680Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:47:00.680Z] ---> Running in 7c7aa9970896 [2021-01-27T02:47:00.947Z] CGO_ENABLED=0 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-01-27T02:47:11.113Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:47:13.054Z] Removing intermediate container 7c7aa9970896 [2021-01-27T02:47:13.054Z] ---> 90a6108c2d61 [2021-01-27T02:47:13.054Z] Step 10/24 : FROM scratch [2021-01-27T02:47:13.054Z] ---> [2021-01-27T02:47:13.054Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:47:13.054Z] ---> Running in 32c44bd06417 [2021-01-27T02:47:13.054Z] Removing intermediate container 32c44bd06417 [2021-01-27T02:47:13.054Z] ---> 7bc76c24dd38 [2021-01-27T02:47:13.054Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:47:13.320Z] ---> Running in 144fd4404ff4 [2021-01-27T02:47:13.320Z] Removing intermediate container 144fd4404ff4 [2021-01-27T02:47:13.320Z] ---> 1ad922ea736b [2021-01-27T02:47:13.320Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:47:13.588Z] ---> Running in 58b5b04b92a9 [2021-01-27T02:47:13.588Z] Removing intermediate container 58b5b04b92a9 [2021-01-27T02:47:13.588Z] ---> 8d699c24258d [2021-01-27T02:47:13.588Z] Step 14/24 : WORKDIR / [2021-01-27T02:47:13.853Z] ---> Running in d525de1102bb [2021-01-27T02:47:13.853Z] Removing intermediate container d525de1102bb [2021-01-27T02:47:13.853Z] ---> e31dbe37f6a1 [2021-01-27T02:47:13.853Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:47:14.435Z] ---> 0f27c48f7e2f [2021-01-27T02:47:14.435Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:47:14.698Z] ---> d676b8bcf07f [2021-01-27T02:47:14.698Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:47:14.960Z] ---> d0b858f83ab9 [2021-01-27T02:47:14.961Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:47:15.225Z] ---> 22f7ba45c2e0 [2021-01-27T02:47:15.225Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:47:15.488Z] ---> baacbda35f10 [2021-01-27T02:47:15.488Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:47:15.749Z] ---> Running in 5e87fb719676 [2021-01-27T02:47:16.010Z] Removing intermediate container 5e87fb719676 [2021-01-27T02:47:16.010Z] ---> 3567f2494678 [2021-01-27T02:47:16.010Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:47:16.010Z] ---> Running in 77e73e2881fa [2021-01-27T02:47:16.272Z] Removing intermediate container 77e73e2881fa [2021-01-27T02:47:16.273Z] ---> 2b704c4870cd [2021-01-27T02:47:16.273Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T02:47:16.535Z] ---> Running in a019ae8b4a09 [2021-01-27T02:47:16.535Z] Removing intermediate container a019ae8b4a09 [2021-01-27T02:47:16.535Z] ---> 39233f574fba [2021-01-27T02:47:16.535Z] Step 23/24 : LABEL git_sha=408f6c3789b4154c80c1501ca8baeea3f125df39 [2021-01-27T02:47:16.800Z] ---> Running in c2932b461b71 [2021-01-27T02:47:16.800Z] Removing intermediate container c2932b461b71 [2021-01-27T02:47:16.800Z] ---> 210626fb1623 [2021-01-27T02:47:16.800Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:47:17.064Z] ---> Running in dd2ca3fce959 [2021-01-27T02:47:17.064Z] Removing intermediate container dd2ca3fce959 [2021-01-27T02:47:17.064Z] ---> 3f7080b1566b [2021-01-27T02:47:17.064Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:47:17.175Z] Removing intermediate container f74d1dfbcd54 [2021-01-27T02:47:17.175Z] ---> afda3d45555e [2021-01-27T02:47:17.175Z] Successfully built afda3d45555e [2021-01-27T02:47:17.175Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:17.329Z] Successfully built 3f7080b1566b [2021-01-27T02:47:17.329Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-01-27T02:47:17.527Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:17.527Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:17.791Z] prd-ubuntu18.04-docker-arm64-4c-16g-23337 does not seem to be running inside a container [2021-01-27T02:47:17.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-01-27T02:47:19.384Z] $ docker top 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 -eo pid,comm [Pipeline] { [Pipeline] sh 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-27T02:47:20.401Z] + go version [2021-01-27T02:47:20.401Z] go version go1.15.5 linux/arm64 [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2021-01-27T02:47:20.559Z] $ docker stop --time=1 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 [2021-01-27T02:47:22.522Z] $ docker rm -f 39cd212e26a30d0259f11c14faa95ea0602c4702d801a6c507c008c65b4b0a45 [Pipeline] // ws [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:47:24.010Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:47:24.011Z] . [Pipeline] withDockerContainer [2021-01-27T02:47:24.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-23337 does not seem to be running inside a container [2021-01-27T02:47:24.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-01-27T02:47:26.133Z] $ docker top 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:47:27.248Z] + make test [2021-01-27T02:47:27.248Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T02:47:54.168Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T02:48:41.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T02:48:41.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T02:48:41.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T02:48:42.395Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 19.4% of statements [2021-01-27T02:48:45.826Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.674s coverage: 97.1% of statements [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.171s coverage: 9.4% of statements [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.151s coverage: 21.7% of statements [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.623s coverage: 43.2% of statements [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.830s coverage: 68.9% of statements [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 53.8% of statements [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.216s coverage: 26.8% of statements [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.577s coverage: 83.5% of statements [2021-01-27T02:49:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.164s coverage: 4.2% of statements [2021-01-27T02:49:18.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T02:49:18.253Z] GO111MODULE=on go vet ./... [2021-01-27T02:49:57.338Z] gofmt -l . [2021-01-27T02:49:57.338Z] [ "`gofmt -l .`" = "" ] [2021-01-27T02:49:57.338Z] ./bin/test-attribution-txt.sh [2021-01-27T02:49:57.338Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T02:49:57.360Z] $ docker stop --time=1 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 [2021-01-27T02:49:59.703Z] $ docker rm -f 570cad1541ec9b77e4100eebb321155dd6e84b125d1948716e0f02b7a1287fb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:50:00.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:50:01.020Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:50:02.147Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:50:02.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T02:50:03.308Z] + ls -al . [2021-01-27T02:50:03.308Z] total 252 [2021-01-27T02:50:03.308Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:49 . [2021-01-27T02:50:03.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 .. [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:46 .dockerignore [2021-01-27T02:50:03.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:46 .git [2021-01-27T02:50:03.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 .github [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:46 .gitignore [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:46 Dockerfile.build [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:46 Jenkinsfile [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:46 LICENSE [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:46 Makefile [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:46 README.md [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:46 RELEASE-NOTES.txt [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:43 VERSION [2021-01-27T02:50:03.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:46 bin [2021-01-27T02:50:03.308Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 02:49 coverage.out [2021-01-27T02:50:03.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 example [2021-01-27T02:50:03.308Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 02:49 go.mod [2021-01-27T02:50:03.308Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 27 02:49 go.sum [2021-01-27T02:50:03.308Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 02:46 internal [2021-01-27T02:50:03.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 openapi [2021-01-27T02:50:03.308Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:46 pkg [2021-01-27T02:50:03.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:46 snap [2021-01-27T02:50:03.308Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:50:03.651Z] + 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=408f6c3789b4154c80c1501ca8baeea3f125df39 --label arch=arm64 --label version=0.0.0 . [2021-01-27T02:50:04.252Z] Sending build context to Docker daemon 2.706MB [2021-01-27T02:50:04.252Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T02:50:04.252Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T02:50:04.252Z] ---> afda3d45555e [2021-01-27T02:50:04.252Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T02:50:04.526Z] ---> Running in 9d851c85b7e1 [2021-01-27T02:50:04.797Z] Removing intermediate container 9d851c85b7e1 [2021-01-27T02:50:04.797Z] ---> 86e56049d4fa [2021-01-27T02:50:04.797Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T02:50:05.071Z] ---> Running in ebe92452de2c [2021-01-27T02:50:05.666Z] Removing intermediate container ebe92452de2c [2021-01-27T02:50:05.666Z] ---> 8daa0493fa4c [2021-01-27T02:50:05.666Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:50:05.666Z] ---> Running in a8d07b2b08da [2021-01-27T02:50:06.265Z] Removing intermediate container a8d07b2b08da [2021-01-27T02:50:06.265Z] ---> 1d80e20aa096 [2021-01-27T02:50:06.265Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T02:50:06.540Z] ---> Running in 911c968b8744 [2021-01-27T02:50:08.518Z] Removing intermediate container 911c968b8744 [2021-01-27T02:50:08.518Z] ---> 6ec7c697f62f [2021-01-27T02:50:08.518Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T02:50:08.792Z] ---> Running in 1f3666b8d020 [2021-01-27T02:50:09.780Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:10.759Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:50:11.355Z] OK: 142 MiB in 39 packages [2021-01-27T02:50:12.790Z] Removing intermediate container 1f3666b8d020 [2021-01-27T02:50:12.790Z] ---> 678638aefbc6 [2021-01-27T02:50:12.790Z] Step 8/24 : COPY . . [2021-01-27T02:50:14.228Z] ---> e1d88d4bdecc [2021-01-27T02:50:14.228Z] Step 9/24 : RUN ${MAKE} [2021-01-27T02:50:14.228Z] ---> Running in a726f993a76b [2021-01-27T02:50:15.670Z] CGO_ENABLED=0 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-01-27T02:50:42.509Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T02:50:45.929Z] Removing intermediate container a726f993a76b [2021-01-27T02:50:45.929Z] ---> 1a2050dbcf27 [2021-01-27T02:50:45.929Z] Step 10/24 : FROM scratch [2021-01-27T02:50:45.929Z] ---> [2021-01-27T02:50:45.929Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T02:50:45.929Z] ---> Running in 86b453093eae [2021-01-27T02:50:46.203Z] Removing intermediate container 86b453093eae [2021-01-27T02:50:46.203Z] ---> 99795ddfdcdd [2021-01-27T02:50:46.203Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T02:50:46.203Z] ---> Running in d009200038a0 [2021-01-27T02:50:46.808Z] Removing intermediate container d009200038a0 [2021-01-27T02:50:46.808Z] ---> 970074847fac [2021-01-27T02:50:46.808Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T02:50:46.808Z] ---> Running in 5f0b04009144 [2021-01-27T02:50:47.406Z] Removing intermediate container 5f0b04009144 [2021-01-27T02:50:47.406Z] ---> fb7a7810de79 [2021-01-27T02:50:47.406Z] Step 14/24 : WORKDIR / [2021-01-27T02:50:47.406Z] ---> Running in da2df69a0c0f [2021-01-27T02:50:48.040Z] Removing intermediate container da2df69a0c0f [2021-01-27T02:50:48.040Z] ---> b22974ef037d [2021-01-27T02:50:48.040Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T02:50:49.477Z] ---> 89afb7af422a [2021-01-27T02:50:49.477Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T02:50:50.073Z] ---> 7873a3898950 [2021-01-27T02:50:50.073Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T02:50:51.056Z] ---> 631a36829838 [2021-01-27T02:50:51.056Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T02:50:51.652Z] ---> 3041acd89f3c [2021-01-27T02:50:51.652Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T02:50:52.635Z] ---> 31f22ecd9c15 [2021-01-27T02:50:52.635Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T02:50:52.635Z] ---> Running in 0f9f2056ad2b [2021-01-27T02:50:53.236Z] Removing intermediate container 0f9f2056ad2b [2021-01-27T02:50:53.236Z] ---> 8ea55047cca6 [2021-01-27T02:50:53.236Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T02:50:53.236Z] ---> Running in 6fe9f9711374 [2021-01-27T02:50:53.831Z] Removing intermediate container 6fe9f9711374 [2021-01-27T02:50:53.831Z] ---> 419c12765e5d [2021-01-27T02:50:53.831Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T02:50:53.831Z] ---> Running in 9e5783833369 [2021-01-27T02:50:54.427Z] Removing intermediate container 9e5783833369 [2021-01-27T02:50:54.427Z] ---> 052efa1e0e65 [2021-01-27T02:50:54.427Z] Step 23/24 : LABEL git_sha=408f6c3789b4154c80c1501ca8baeea3f125df39 [2021-01-27T02:50:54.427Z] ---> Running in b1ad8f203905 [2021-01-27T02:50:55.025Z] Removing intermediate container b1ad8f203905 [2021-01-27T02:50:55.025Z] ---> 994d74149baf [2021-01-27T02:50:55.025Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T02:50:55.299Z] ---> Running in 4764c893d764 [2021-01-27T02:50:55.575Z] Removing intermediate container 4764c893d764 [2021-01-27T02:50:55.575Z] ---> d09c7654d1b4 [2021-01-27T02:50:55.575Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T02:50:55.850Z] Successfully built d09c7654d1b4 [2021-01-27T02:50:55.850Z] 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 [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-01-27T02:50:57.458Z] provisioning config files... [2021-01-27T02:50:57.477Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config7724635885226567556tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:50:57.870Z] + set +x [2021-01-27T02:50:57.870Z] + curl -s https://codecov.io/bash [2021-01-27T02:50:57.870Z] + bash -s -- [2021-01-27T02:50:58.132Z] [2021-01-27T02:50:58.132Z] _____ _ [2021-01-27T02:50:58.132Z] / ____| | | [2021-01-27T02:50:58.132Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:50:58.132Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:50:58.132Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:50:58.132Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:50:58.132Z] Bash-20210115-cec3c92 [2021-01-27T02:50:58.132Z] [2021-01-27T02:50:58.132Z] [2021-01-27T02:50:58.132Z] ==> git version 2.24.3 found [2021-01-27T02:50:58.132Z] ==> 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-01-27T02:50:58.132Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:50:58.132Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:50:58.132Z] ==> Jenkins CI detected. [2021-01-27T02:50:58.132Z] project root: . [2021-01-27T02:50:58.132Z] --> token set from env [2021-01-27T02:50:58.132Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:50:58.132Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:50:58.132Z] ==> Python coveragepy not found [2021-01-27T02:50:58.132Z] ==> Searching for coverage reports in: [2021-01-27T02:50:58.132Z] + . [2021-01-27T02:50:58.132Z] -> Found 1 reports [2021-01-27T02:50:58.132Z] ==> Detecting git/mercurial file structure [2021-01-27T02:50:58.132Z] ==> Reading reports [2021-01-27T02:50:58.132Z] + ./coverage.out bytes=136842 [2021-01-27T02:50:58.132Z] ==> Appending adjustments [2021-01-27T02:50:58.132Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:50:58.706Z] + Found adjustments [2021-01-27T02:50:58.706Z] ==> Gzipping contents [2021-01-27T02:50:58.706Z] 24K /tmp/codecov.Wn3vhe.gz [2021-01-27T02:50:58.706Z] ==> Uploading reports [2021-01-27T02:50:58.706Z] url: https://codecov.io [2021-01-27T02:50:58.706Z] query: branch=PR-756&commit=408f6c3789b4154c80c1501ca8baeea3f125df39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= [2021-01-27T02:50:58.706Z] -> Pinging Codecov [2021-01-27T02:50:58.706Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-756&commit=408f6c3789b4154c80c1501ca8baeea3f125df39&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= [2021-01-27T02:50:59.282Z] -> Uploading to [2021-01-27T02:50:59.282Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/408f6c3789b4154c80c1501ca8baeea3f125df39/9857b4c3-18c8-49b8-8c77-1614f087fb61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=179bff96177327564a2d605a4ff48b5c224063051c9cf601542f429b56b3b93f [2021-01-27T02:50:59.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:50:59.282Z] Dload Upload Total Spent Left Speed [2021-01-27T02:50:59.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21537 0 0 100 21537 0 52565 --:--:-- --:--:-- --:--:-- 52657 [2021-01-27T02:50:59.544Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/408f6c3789b4154c80c1501ca8baeea3f125df39 [Pipeline] } [2021-01-27T02:50:59.555Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-27T02:51:03.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:04.180Z] ---> package-listing.sh [2021-01-27T02:51:04.180Z] ++ facter osfamily [2021-01-27T02:51:04.180Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:51:04.180Z] + OS_FAMILY=redhat [2021-01-27T02:51:04.180Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-756 [2021-01-27T02:51:04.180Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:51:04.180Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:51:04.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:51:04.180Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:51:04.180Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' [2021-01-27T02:51:04.180Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:51:04.180Z] + case "${OS_FAMILY}" in [2021-01-27T02:51:04.180Z] + rpm -qa [2021-01-27T02:51:04.180Z] + sort [2021-01-27T02:51:09.524Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:51:09.524Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:51:09.524Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:51:09.524Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' [2021-01-27T02:51:09.524Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [2021-01-27T02:51:09.524Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [Pipeline] echo [2021-01-27T02:51:09.540Z] 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-756/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:51:09.835Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:10.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:10.141Z] [2021-01-27T02:51:10.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:51:10.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:10.493Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:51:10.493Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:51:10.493Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:51:10.493Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:51:10.493Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:51:10.493Z] 93b61091891f: Pulling fs layer [2021-01-27T02:51:10.493Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:51:10.493Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:51:10.493Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:51:10.493Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:51:10.493Z] 93b9cdb0e59b: Waiting [2021-01-27T02:51:10.493Z] 5e14af77c1be: Waiting [2021-01-27T02:51:10.493Z] 01666e4c0597: Waiting [2021-01-27T02:51:10.493Z] aa168da1d23b: Waiting [2021-01-27T02:51:10.493Z] 46f8f816bc3b: Waiting [2021-01-27T02:51:10.493Z] 93b61091891f: Waiting [2021-01-27T02:51:10.493Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T02:51:10.493Z] 36b3adc4ff6f: Download complete [2021-01-27T02:51:10.757Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T02:51:10.757Z] 46f8f816bc3b: Download complete [2021-01-27T02:51:10.757Z] df20fa9351a1: Download complete [2021-01-27T02:51:10.757Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T02:51:10.757Z] 93b9cdb0e59b: Download complete [2021-01-27T02:51:10.757Z] 5e14af77c1be: Download complete [2021-01-27T02:51:10.757Z] 93b61091891f: Download complete [2021-01-27T02:51:10.757Z] 01666e4c0597: Verifying Checksum [2021-01-27T02:51:10.757Z] 01666e4c0597: Download complete [2021-01-27T02:51:10.757Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T02:51:10.757Z] 8ad3a11d3b57: Download complete [2021-01-27T02:51:11.022Z] df20fa9351a1: Pull complete [2021-01-27T02:51:11.298Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:51:12.258Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:51:12.258Z] 46f8f816bc3b: Pull complete [2021-01-27T02:51:13.212Z] aa168da1d23b: Download complete [2021-01-27T02:51:13.474Z] 93b61091891f: Pull complete [2021-01-27T02:51:13.744Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:51:14.015Z] 5e14af77c1be: Pull complete [2021-01-27T02:51:14.015Z] 01666e4c0597: Pull complete [2021-01-27T02:51:20.675Z] aa168da1d23b: Pull complete [2021-01-27T02:51:20.675Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:51:20.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:51:20.675Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:51:20.907Z] prd-centos7-docker-4c-2g-23326 does not seem to be running inside a container [2021-01-27T02:51:20.970Z] $ 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-756/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-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T02:51:24.644Z] $ docker top d42d1778dd10eab429a30d2b841cbe74770cfdfd23719990aff4cf06e9b2323d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:51:25.144Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:51:25.446Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:51:25.759Z] + ls /var/log/sa-host [2021-01-27T02:51:25.759Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:51:25.759Z] file_magic: OK [2021-01-27T02:51:25.759Z] HZ: Using current value: 100 [2021-01-27T02:51:25.759Z] file_header: OK [2021-01-27T02:51:25.759Z] 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-01-27T02:51:25.759Z] Statistics: [2021-01-27T02:51:25.759Z] Hnuu...uuuununununu... [2021-01-27T02:51:25.759Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:51:25.759Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:51:25.759Z] file_magic: OK [2021-01-27T02:51:25.759Z] HZ: Using current value: 100 [2021-01-27T02:51:25.759Z] file_header: OK [2021-01-27T02:51:25.759Z] 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-01-27T02:51:25.759Z] Statistics: [2021-01-27T02:51:25.759Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:51:25.759Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:51:25.979Z] provisioning config files... [2021-01-27T02:51:26.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config7968542963676793158tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:51:26.095Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:26.416Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:51:26.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:51:26.540Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:26.846Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:51:26.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:27.195Z] ---> sudo-logs.sh [2021-01-27T02:51:27.196Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:51:27.209Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:27.531Z] ---> job-cost.sh [2021-01-27T02:51:27.531Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:27.531Z] INFO: No Stack... [2021-01-27T02:51:28.477Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:51:29.049Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:51:29.063Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:51:29.358Z] ---> logs-deploy.sh [2021-01-27T02:51:29.358Z] lf-activate-venv: SKIPPING [2021-01-27T02:51:29.358Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-756/2 [2021-01-27T02:51:29.358Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:51:31.281Z] Archives upload complete. [2021-01-27T02:51:31.281Z] INFO: archiving logs to Nexus