Pull request #759 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9940e7e7532e34e94c7029b3abebaa9f207a5ccd+2e0b14878cfb4a574be8745ab7c226ce26d53775 (5aac778103b7cbc57b86752c1024a9fa8f650b57) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-759/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-759/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22817 in /w/workspace/dgexfoundry_device-sdk-go_PR-759 [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-759 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/759/head:refs/remotes/origin/PR-759 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 9940e7e7532e34e94c7029b3abebaa9f207a5ccd Merge succeeded, producing 9940e7e7532e34e94c7029b3abebaa9f207a5ccd Checking out Revision 9940e7e7532e34e94c7029b3abebaa9f207a5ccd (PR-759) > git config core.sparsecheckout # timeout=10 > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # timeout=10 Commit message: "fix: sync v2 query parameter with ADR" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T10:00:51.881Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T10:00:52.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T10:00:52.506Z] ========================================================= [2021-01-26T10:00:52.507Z] EdgeX Global Pipelines Version Info [2021-01-26T10:00:52.507Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:00:55.097Z] ------------------- [2021-01-26T10:00:55.097Z] stable info: [2021-01-26T10:00:55.097Z] ------------------- [2021-01-26T10:00:55.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T10:00:55.097Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T10:00:55.097Z] Message: update stable to v1.0.179 [2021-01-26T10:00:56.079Z] ------------------- [2021-01-26T10:00:56.079Z] experimental info: [2021-01-26T10:00:56.079Z] ------------------- [2021-01-26T10:00:56.079Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T10:00:56.079Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T10:00:56.079Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T10:00:56.508Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-26T10:00:56.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-26T10:00:56.783Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T10:00:56.927Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T10:00:57.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T10:00:57.229Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T10:00:57.365Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T10:00:57.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T10:00:57.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-26T10:00:57.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T10:00:57.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T10:00:58.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-26T10:00:58.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T10:00:58.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T10:00:58.465Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-26T10:00:58.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T10:00:58.726Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T10:00:58.855Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T10:00:58.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T10:00:59.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T10:00:59.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-26T10:00:59.384Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-26T10:00:59.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T10:00:59.664Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T10:00:59.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-26T10:00:59.921Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T10:01:00.045Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T10:01:00.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-759 [Pipeline] echo [2021-01-26T10:01:00.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-759 [Pipeline] echo [2021-01-26T10:01:00.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-759 [Pipeline] echo [2021-01-26T10:01:00.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [Pipeline] echo [2021-01-26T10:01:00.787Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9940e7e [Pipeline] echo [2021-01-26T10:01:00.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T10:01:01.204Z] provisioning config files... [2021-01-26T10:01:01.242Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/config3156494656436672914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:01:01.969Z] ---> docker-login.sh [2021-01-26T10:01:01.969Z] nexus3.edgexfoundry.org:10001 [2021-01-26T10:01:03.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:01:03.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:01:03.584Z] Configure a credential helper to remove this warning. See [2021-01-26T10:01:03.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:01:03.584Z] [2021-01-26T10:01:03.584Z] Login Succeeded [2021-01-26T10:01:03.584Z] nexus3.edgexfoundry.org:10002 [2021-01-26T10:01:03.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:01:04.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:01:04.194Z] Configure a credential helper to remove this warning. See [2021-01-26T10:01:04.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:01:04.194Z] [2021-01-26T10:01:04.194Z] Login Succeeded [2021-01-26T10:01:04.194Z] nexus3.edgexfoundry.org:10003 [2021-01-26T10:01:04.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:01:04.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:01:04.503Z] Configure a credential helper to remove this warning. See [2021-01-26T10:01:04.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:01:04.503Z] [2021-01-26T10:01:04.503Z] Login Succeeded [2021-01-26T10:01:04.503Z] nexus3.edgexfoundry.org:10004 [2021-01-26T10:01:04.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:01:05.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:01:05.060Z] Configure a credential helper to remove this warning. See [2021-01-26T10:01:05.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:01:05.060Z] [2021-01-26T10:01:05.060Z] Login Succeeded [2021-01-26T10:01:05.060Z] docker.io [2021-01-26T10:01:05.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:01:05.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:01:05.661Z] Configure a credential helper to remove this warning. See [2021-01-26T10:01:05.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:01:05.661Z] [2021-01-26T10:01:05.661Z] Login Succeeded [2021-01-26T10:01:05.661Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T10:01:05.751Z] 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-26T10:01:06.899Z] + git log --format=format:%s -1 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [Pipeline] echo [2021-01-26T10:01:07.026Z] GIT_COMMIT: 9940e7e7532e34e94c7029b3abebaa9f207a5ccd, Commit Message: fix: sync v2 query parameter with ADR [Pipeline] echo [2021-01-26T10:01:07.110Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:01:07.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T10:01:07.808Z] [2021-01-26T10:01:07.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:01:08.471Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T10:01:08.757Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T10:01:08.757Z] 31603596830f: Pulling fs layer [2021-01-26T10:01:08.757Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T10:01:08.757Z] 6ca5941a6612: Pulling fs layer [2021-01-26T10:01:08.757Z] ecc8261a40a4: Pulling fs layer [2021-01-26T10:01:08.757Z] ecc8261a40a4: Waiting [2021-01-26T10:01:08.757Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T10:01:08.757Z] 2a8b12db71e7: Download complete [2021-01-26T10:01:09.077Z] 31603596830f: Download complete [2021-01-26T10:01:09.362Z] 6ca5941a6612: Verifying Checksum [2021-01-26T10:01:09.362Z] 6ca5941a6612: Download complete [2021-01-26T10:01:09.362Z] ecc8261a40a4: Verifying Checksum [2021-01-26T10:01:09.362Z] ecc8261a40a4: Download complete [2021-01-26T10:01:09.644Z] 31603596830f: Pull complete [2021-01-26T10:01:09.918Z] 2a8b12db71e7: Pull complete [2021-01-26T10:01:11.377Z] 6ca5941a6612: Pull complete [2021-01-26T10:01:12.029Z] ecc8261a40a4: Pull complete [2021-01-26T10:01:12.029Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T10:01:12.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T10:01:12.367Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T10:01:12.771Z] prd-centos7-docker-4c-2g-22817 does not seem to be running inside a container [2021-01-26T10:01:12.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-759 -v /w/workspace/dgexfoundry_device-sdk-go_PR-759:/w/workspace/dgexfoundry_device-sdk-go_PR-759:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-759@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T10:01:15.571Z] $ docker top 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T10:01:16.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T10:01:16.008Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T10:01:16.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T10:01:16.517Z] $ docker exec 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b ssh-agent [2021-01-26T10:01:17.086Z] SSH_AUTH_SOCK=/tmp/ssh-XB2i5ZrTiGKF/agent.13 [2021-01-26T10:01:17.086Z] SSH_AGENT_PID=18 [2021-01-26T10:01:17.147Z] Running ssh-add (command line suppressed) [2021-01-26T10:01:17.380Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/private_key_2573116547319986039.key (/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/private_key_2573116547319986039.key) [2021-01-26T10:01:17.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T10:01:17.983Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T10:01:18.147Z] $ docker exec --env ******** --env ******** 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b ssh-agent -k [2021-01-26T10:01:18.617Z] unset SSH_AUTH_SOCK; [2021-01-26T10:01:18.618Z] unset SSH_AGENT_PID; [2021-01-26T10:01:18.618Z] echo Agent pid 18 killed; [2021-01-26T10:01:18.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T10:01:19.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T10:01:19.026Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T10:01:19.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T10:01:19.374Z] $ docker exec 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b ssh-agent [2021-01-26T10:01:19.732Z] SSH_AUTH_SOCK=/tmp/ssh-gb7o9OUtKvyo/agent.47 [2021-01-26T10:01:19.732Z] SSH_AGENT_PID=52 [2021-01-26T10:01:19.741Z] Running ssh-add (command line suppressed) [2021-01-26T10:01:20.088Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/private_key_3501302964815110167.key (/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/private_key_3501302964815110167.key) [2021-01-26T10:01:20.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T10:01:21.294Z] + git semver init [2021-01-26T10:01:21.294Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T10:01:21.294Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-759/.git [2021-01-26T10:01:21.294Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-759 [2021-01-26T10:01:21.294Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T10:01:21.294Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T10:01:21.294Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T10:01:21.294Z] # $SEMVER_BRANCH = PR-759 [2021-01-26T10:01:21.294Z] # $SEMVER_TEMP = /tmp/semver-208715554 [2021-01-26T10:01:21.294Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-26T10:01:22.335Z] # '/tmp/semver-208715554' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-759/.semver' [2021-01-26T10:01:22.335Z] # -> Force: false [2021-01-26T10:01:22.335Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-759/.semver [Pipeline] } [2021-01-26T10:01:22.365Z] $ docker exec --env ******** --env ******** 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b ssh-agent -k [2021-01-26T10:01:22.614Z] unset SSH_AUTH_SOCK; [2021-01-26T10:01:22.615Z] unset SSH_AGENT_PID; [2021-01-26T10:01:22.615Z] echo Agent pid 52 killed; [2021-01-26T10:01:22.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T10:01:23.496Z] + git semver [Pipeline] } [2021-01-26T10:01:23.567Z] $ docker stop --time=1 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b [2021-01-26T10:01:25.171Z] $ docker rm -f 8f7254c8088156642a50f088292a7bddf0907fa036ef226b1e3fb568b4d1b06b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T10:01:25.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T10:01:26.616Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T10:01:26.639Z] [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-26T10:01:42.498Z] Still waiting to schedule task [2021-01-26T10:01:42.498Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-26T10:01:42.527Z] Still waiting to schedule task [2021-01-26T10:01:42.527Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-26T10:04:37.206Z] Running on prd-centos7-docker-4c-2g-22820 in /w/workspace/dgexfoundry_device-sdk-go_PR-759 [Pipeline] { [Pipeline] ws [2021-01-26T10:04:37.296Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-26T10:04:39.873Z] using credential edgex-jenkins-ssh [2021-01-26T10:04:39.928Z] Cloning the remote Git repository [2021-01-26T10:04:39.957Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:04:40.034Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-26T10:04:40.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:04:40.113Z] > git --version # timeout=10 [2021-01-26T10:04:40.121Z] > git --version # 'git version 2.24.3' [2021-01-26T10:04:40.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:04:40.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T10:04:41.570Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:04:41.664Z] Merge succeeded, producing 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:04:41.664Z] Checking out Revision 9940e7e7532e34e94c7029b3abebaa9f207a5ccd (PR-759) [2021-01-26T10:04:41.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T10:04:41.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T10:04:41.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T10:04:41.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:04:41.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:04:41.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/759/head:refs/remotes/origin/PR-759 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T10:04:41.580Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T10:04:41.586Z] > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # timeout=10 [2021-01-26T10:04:41.635Z] > git remote # timeout=10 [2021-01-26T10:04:41.641Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T10:04:41.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:04:41.649Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-26T10:04:41.659Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T10:04:41.669Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T10:04:41.673Z] > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # timeout=10 [2021-01-26T10:04:45.322Z] Commit message: "fix: sync v2 query parameter with ADR" [2021-01-26T10:04:45.352Z] > git --version # timeout=10 [2021-01-26T10:04:45.356Z] > git --version # 'git version 2.24.3' [2021-01-26T10:04:45.361Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T10:04:46.718Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T10:04:47.070Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T10:04:47.392Z] + sudo service docker restart [2021-01-26T10:04:47.392Z] + true [2021-01-26T10:04:47.392Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T10:04:48.928Z] provisioning config files... [2021-01-26T10:04:48.970Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8408496263676674533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:04:49.415Z] ---> docker-login.sh [2021-01-26T10:04:49.416Z] nexus3.edgexfoundry.org:10001 [2021-01-26T10:04:49.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:04:49.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:04:49.942Z] Configure a credential helper to remove this warning. See [2021-01-26T10:04:49.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:04:49.942Z] [2021-01-26T10:04:49.942Z] Login Succeeded [2021-01-26T10:04:49.942Z] nexus3.edgexfoundry.org:10002 [2021-01-26T10:04:49.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:04:49.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:04:49.942Z] Configure a credential helper to remove this warning. See [2021-01-26T10:04:49.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:04:49.942Z] [2021-01-26T10:04:49.942Z] Login Succeeded [2021-01-26T10:04:49.942Z] nexus3.edgexfoundry.org:10003 [2021-01-26T10:04:50.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:04:50.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:04:50.209Z] Configure a credential helper to remove this warning. See [2021-01-26T10:04:50.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:04:50.209Z] [2021-01-26T10:04:50.209Z] Login Succeeded [2021-01-26T10:04:50.209Z] nexus3.edgexfoundry.org:10004 [2021-01-26T10:04:50.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:04:50.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:04:50.471Z] Configure a credential helper to remove this warning. See [2021-01-26T10:04:50.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:04:50.471Z] [2021-01-26T10:04:50.471Z] Login Succeeded [2021-01-26T10:04:50.471Z] docker.io [2021-01-26T10:04:50.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:04:50.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:04:50.733Z] Configure a credential helper to remove this warning. See [2021-01-26T10:04:50.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:04:50.733Z] [2021-01-26T10:04:50.733Z] Login Succeeded [2021-01-26T10:04:50.733Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T10:04:50.757Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T10:04:51.304Z] ========================================================= [2021-01-26T10:04:51.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T10:04:51.304Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:04:51.696Z] + 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-26T10:04:51.963Z] Sending build context to Docker daemon 2.58MB [2021-01-26T10:04:51.963Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T10:04:51.963Z] Step 2/8 : FROM ${BASE} [2021-01-26T10:04:51.963Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T10:04:51.963Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T10:04:51.963Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T10:04:51.963Z] de9db76c5a1d: Pulling fs layer [2021-01-26T10:04:51.963Z] bca2f99d35d6: Pulling fs layer [2021-01-26T10:04:51.963Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T10:04:51.963Z] 7c6f9722023f: Pulling fs layer [2021-01-26T10:04:51.963Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T10:04:51.963Z] 93359f2a8cfa: Waiting [2021-01-26T10:04:51.963Z] 7c6f9722023f: Waiting [2021-01-26T10:04:51.963Z] a35cf1a2eb13: Waiting [2021-01-26T10:04:51.963Z] bca2f99d35d6: Waiting [2021-01-26T10:04:51.963Z] de9db76c5a1d: Verifying Checksum [2021-01-26T10:04:51.963Z] de9db76c5a1d: Download complete [2021-01-26T10:04:51.963Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T10:04:51.963Z] 0ef7d3d256c8: Download complete [2021-01-26T10:04:51.963Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T10:04:51.963Z] 93359f2a8cfa: Download complete [2021-01-26T10:04:51.963Z] 7c6f9722023f: Verifying Checksum [2021-01-26T10:04:51.963Z] 7c6f9722023f: Download complete [2021-01-26T10:04:51.963Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T10:04:51.963Z] 188c0c94c7c5: Download complete [2021-01-26T10:04:52.230Z] 188c0c94c7c5: Pull complete [2021-01-26T10:04:52.493Z] 0ef7d3d256c8: Pull complete [2021-01-26T10:04:52.493Z] de9db76c5a1d: Pull complete [2021-01-26T10:04:55.054Z] a35cf1a2eb13: Download complete [2021-01-26T10:04:55.054Z] bca2f99d35d6: Verifying Checksum [2021-01-26T10:04:55.054Z] bca2f99d35d6: Download complete [2021-01-26T10:05:00.382Z] bca2f99d35d6: Pull complete [2021-01-26T10:05:00.644Z] 93359f2a8cfa: Pull complete [2021-01-26T10:05:00.644Z] 7c6f9722023f: Pull complete [2021-01-26T10:05:06.004Z] a35cf1a2eb13: Pull complete [2021-01-26T10:05:06.004Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T10:05:06.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T10:05:06.004Z] ---> a62c8e92a672 [2021-01-26T10:05:06.004Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:05:06.004Z] ---> Running in 2fae2d53a20f [2021-01-26T10:05:06.004Z] Removing intermediate container 2fae2d53a20f [2021-01-26T10:05:06.004Z] ---> 02582d421ac7 [2021-01-26T10:05:06.004Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T10:05:06.004Z] ---> Running in 1d74a1ee07e4 [2021-01-26T10:05:06.961Z] Removing intermediate container 1d74a1ee07e4 [2021-01-26T10:05:06.961Z] ---> 4b6294b85fd0 [2021-01-26T10:05:06.961Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T10:05:06.961Z] ---> Running in 8d0a1119f037 [2021-01-26T10:05:07.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T10:05:08.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T10:05:09.144Z] OK: 166 MiB in 39 packages [2021-01-26T10:05:09.727Z] Removing intermediate container 8d0a1119f037 [2021-01-26T10:05:09.727Z] ---> f365dd536fa8 [2021-01-26T10:05:09.727Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T10:05:09.727Z] ---> Running in 8bbe105a1ed5 [2021-01-26T10:05:09.995Z] Removing intermediate container 8bbe105a1ed5 [2021-01-26T10:05:09.995Z] ---> eb420d6575e1 [2021-01-26T10:05:09.995Z] Step 7/8 : COPY . . [2021-01-26T10:05:11.416Z] ---> b2d8d4baf3a2 [2021-01-26T10:05:11.416Z] Step 8/8 : RUN go mod download [2021-01-26T10:05:11.416Z] ---> Running in d435e54ce9e7 [2021-01-26T10:05:27.628Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22821 in /w/workspace/dgexfoundry_device-sdk-go_PR-759 [Pipeline] { [Pipeline] ws [2021-01-26T10:05:27.751Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-26T10:05:29.605Z] Removing intermediate container d435e54ce9e7 [2021-01-26T10:05:29.606Z] ---> 5e1080c75aac [2021-01-26T10:05:29.606Z] Successfully built 5e1080c75aac [2021-01-26T10:05:29.606Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:05:29.954Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T10:05:29.954Z] . [Pipeline] withDockerContainer [2021-01-26T10:05:30.093Z] prd-centos7-docker-4c-2g-22820 does not seem to be running inside a container [2021-01-26T10:05:30.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-26T10:05:31.079Z] $ docker top d6ad8e343b41bb82acd9a36ffec1ae32d6dda9a292522ea8a9612438b5327ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T10:05:31.654Z] + go version [2021-01-26T10:05:31.654Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T10:05:31.689Z] $ docker stop --time=1 d6ad8e343b41bb82acd9a36ffec1ae32d6dda9a292522ea8a9612438b5327ea5 [2021-01-26T10:05:32.921Z] using credential edgex-jenkins-ssh [2021-01-26T10:05:32.978Z] Cloning the remote Git repository [2021-01-26T10:05:33.085Z] $ docker rm -f d6ad8e343b41bb82acd9a36ffec1ae32d6dda9a292522ea8a9612438b5327ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:05:33.032Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:05:33.163Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-26T10:05:33.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:05:33.317Z] > git --version # timeout=10 [2021-01-26T10:05:33.361Z] > git --version # 'git version 2.17.1' [2021-01-26T10:05:33.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:05:33.519Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T10:05:34.198Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T10:05:34.198Z] . [Pipeline] withDockerContainer [2021-01-26T10:05:34.315Z] prd-centos7-docker-4c-2g-22820 does not seem to be running inside a container [2021-01-26T10:05:34.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-01-26T10:05:34.992Z] $ docker top 747d08c46453b0ad98f197bce70d713ac2294e5b3f809e473711a8e37a80a812 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T10:05:34.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T10:05:34.754Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T10:05:34.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T10:05:34.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T10:05:34.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:05:34.849Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/759/head:refs/remotes/origin/PR-759 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T10:05:35.445Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:05:35.520Z] + make test [2021-01-26T10:05:35.520Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T10:05:35.788Z] Merge succeeded, producing 9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:05:35.789Z] Checking out Revision 9940e7e7532e34e94c7029b3abebaa9f207a5ccd (PR-759) [2021-01-26T10:05:35.465Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T10:05:35.493Z] > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # timeout=10 [2021-01-26T10:05:35.597Z] > git remote # timeout=10 [2021-01-26T10:05:35.613Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T10:05:35.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T10:05:35.704Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-26T10:05:35.761Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T10:05:35.797Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T10:05:35.848Z] > git checkout -f 9940e7e7532e34e94c7029b3abebaa9f207a5ccd # timeout=10 [2021-01-26T10:05:40.140Z] Commit message: "fix: sync v2 query parameter with ADR" [2021-01-26T10:05:40.198Z] > git --version # timeout=10 [2021-01-26T10:05:40.212Z] > git --version # 'git version 2.17.1' [2021-01-26T10:05:40.227Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T10:05:42.079Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T10:05:42.562Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T10:05:42.929Z] + sudo service docker restart [2021-01-26T10:05:42.929Z] + true [2021-01-26T10:05:43.761Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T10:05:45.061Z] provisioning config files... [2021-01-26T10:05:45.099Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4955351201406093362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:05:45.572Z] ---> docker-login.sh [2021-01-26T10:05:45.572Z] nexus3.edgexfoundry.org:10001 [2021-01-26T10:05:46.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:05:46.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:05:46.839Z] Configure a credential helper to remove this warning. See [2021-01-26T10:05:46.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:05:46.839Z] [2021-01-26T10:05:46.839Z] Login Succeeded [2021-01-26T10:05:46.839Z] nexus3.edgexfoundry.org:10002 [2021-01-26T10:05:47.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:05:47.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:05:47.388Z] Configure a credential helper to remove this warning. See [2021-01-26T10:05:47.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:05:47.388Z] [2021-01-26T10:05:47.388Z] Login Succeeded [2021-01-26T10:05:47.388Z] nexus3.edgexfoundry.org:10003 [2021-01-26T10:05:47.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:05:47.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:05:47.942Z] Configure a credential helper to remove this warning. See [2021-01-26T10:05:47.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:05:47.942Z] [2021-01-26T10:05:47.942Z] Login Succeeded [2021-01-26T10:05:47.942Z] nexus3.edgexfoundry.org:10004 [2021-01-26T10:05:48.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:05:48.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:05:48.490Z] Configure a credential helper to remove this warning. See [2021-01-26T10:05:48.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:05:48.490Z] [2021-01-26T10:05:48.490Z] Login Succeeded [2021-01-26T10:05:48.490Z] docker.io [2021-01-26T10:05:48.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T10:05:49.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T10:05:49.038Z] Configure a credential helper to remove this warning. See [2021-01-26T10:05:49.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T10:05:49.038Z] [2021-01-26T10:05:49.038Z] Login Succeeded [2021-01-26T10:05:49.038Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T10:05:49.071Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T10:05:49.616Z] ========================================================= [2021-01-26T10:05:49.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T10:05:49.617Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:05:50.046Z] + 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-26T10:05:50.661Z] Sending build context to Docker daemon 2.58MB [2021-01-26T10:05:50.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T10:05:50.661Z] Step 2/8 : FROM ${BASE} [2021-01-26T10:05:50.661Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T10:05:50.661Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T10:05:50.661Z] a4357932f1b6: Pulling fs layer [2021-01-26T10:05:50.661Z] 18c013af1878: Pulling fs layer [2021-01-26T10:05:50.661Z] 00ac8860ef70: Pulling fs layer [2021-01-26T10:05:50.661Z] 63d7cb157983: Pulling fs layer [2021-01-26T10:05:50.661Z] b116817d02f9: Pulling fs layer [2021-01-26T10:05:50.661Z] 745a02a5169b: Pulling fs layer [2021-01-26T10:05:50.661Z] 00ac8860ef70: Waiting [2021-01-26T10:05:50.661Z] 63d7cb157983: Waiting [2021-01-26T10:05:50.661Z] b116817d02f9: Waiting [2021-01-26T10:05:50.661Z] 745a02a5169b: Waiting [2021-01-26T10:05:50.661Z] 18c013af1878: Verifying Checksum [2021-01-26T10:05:50.661Z] 18c013af1878: Download complete [2021-01-26T10:05:50.661Z] a4357932f1b6: Verifying Checksum [2021-01-26T10:05:50.661Z] a4357932f1b6: Download complete [2021-01-26T10:05:50.661Z] 63d7cb157983: Verifying Checksum [2021-01-26T10:05:50.661Z] 63d7cb157983: Download complete [2021-01-26T10:05:50.661Z] b116817d02f9: Verifying Checksum [2021-01-26T10:05:50.661Z] b116817d02f9: Download complete [2021-01-26T10:05:50.935Z] 5f621e34cdf4: Download complete [2021-01-26T10:05:51.546Z] 5f621e34cdf4: Pull complete [2021-01-26T10:05:52.548Z] a4357932f1b6: Pull complete [2021-01-26T10:05:52.826Z] 18c013af1878: Pull complete [2021-01-26T10:05:53.103Z] 745a02a5169b: Verifying Checksum [2021-01-26T10:05:53.103Z] 745a02a5169b: Download complete [2021-01-26T10:05:54.550Z] 00ac8860ef70: Verifying Checksum [2021-01-26T10:05:54.550Z] 00ac8860ef70: Download complete [2021-01-26T10:05:58.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T10:05:58.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T10:05:58.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T10:05:59.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 19.4% of statements [2021-01-26T10:06:03.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.466s coverage: 97.1% of statements [2021-01-26T10:06:04.725Z] 00ac8860ef70: Pull complete [2021-01-26T10:06:04.998Z] 63d7cb157983: Pull complete [2021-01-26T10:06:05.273Z] b116817d02f9: Pull complete [2021-01-26T10:06:09.589Z] 745a02a5169b: Pull complete [2021-01-26T10:06:09.589Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T10:06:09.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T10:06:09.589Z] ---> b7e6874047d6 [2021-01-26T10:06:09.589Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:06:11.591Z] ---> Running in 120ac1a84d7e [2021-01-26T10:06:12.182Z] Removing intermediate container 120ac1a84d7e [2021-01-26T10:06:12.182Z] ---> 426be44e3bbc [2021-01-26T10:06:12.182Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T10:06:12.182Z] ---> Running in 2471a70f5997 [2021-01-26T10:06:14.157Z] Removing intermediate container 2471a70f5997 [2021-01-26T10:06:14.158Z] ---> ca6dde47a60c [2021-01-26T10:06:14.158Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T10:06:14.431Z] ---> Running in 6ed2ecf0e02e [2021-01-26T10:06:15.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T10:06:16.010Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T10:06:16.984Z] OK: 142 MiB in 39 packages [2021-01-26T10:06:17.986Z] Removing intermediate container 6ed2ecf0e02e [2021-01-26T10:06:17.986Z] ---> f2e46b7430a0 [2021-01-26T10:06:17.986Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T10:06:17.986Z] ---> Running in 2c0e054b4c23 [2021-01-26T10:06:18.585Z] Removing intermediate container 2c0e054b4c23 [2021-01-26T10:06:18.585Z] ---> c41042261205 [2021-01-26T10:06:18.585Z] Step 7/8 : COPY . . [2021-01-26T10:06:20.022Z] ---> 19761ce6357d [2021-01-26T10:06:20.022Z] Step 8/8 : RUN go mod download [2021-01-26T10:06:20.022Z] ---> Running in fd260c518628 [2021-01-26T10:06:35.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.102s coverage: 9.4% of statements [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 21.7% of statements [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s coverage: 43.2% of statements [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.297s coverage: 68.9% of statements [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.077s coverage: 26.8% of statements [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.472s coverage: 83.5% of statements [2021-01-26T10:06:35.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-26T10:06:35.850Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T10:06:35.850Z] GO111MODULE=on go vet ./... [2021-01-26T10:06:42.183Z] Removing intermediate container fd260c518628 [2021-01-26T10:06:42.183Z] ---> 1ff6dc0f20e5 [2021-01-26T10:06:42.183Z] Successfully built 1ff6dc0f20e5 [2021-01-26T10:06:42.183Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:06:42.536Z] gofmt -l . [2021-01-26T10:06:42.536Z] [ "`gofmt -l .`" = "" ] [2021-01-26T10:06:42.560Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T10:06:42.560Z] . [Pipeline] withDockerContainer [2021-01-26T10:06:42.806Z] ./bin/test-attribution-txt.sh [2021-01-26T10:06:42.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-22821 does not seem to be running inside a container [2021-01-26T10:06:42.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-26T10:06:43.396Z] ./bin/test-go-mod-tidy.sh [2021-01-26T10:06:44.478Z] $ docker top bf21a6ff3b2ecd6cb58c6957480270876d256ad7d7b98a4d6528c1d3811c4840 -eo pid,comm [Pipeline] { [Pipeline] } [2021-01-26T10:06:44.937Z] $ docker stop --time=1 747d08c46453b0ad98f197bce70d713ac2294e5b3f809e473711a8e37a80a812 [2021-01-26T10:06:47.049Z] $ docker rm -f 747d08c46453b0ad98f197bce70d713ac2294e5b3f809e473711a8e37a80a812 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-01-26T10:06:47.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T10:06:48.224Z] + go version [2021-01-26T10:06:48.224Z] go version go1.15.5 linux/arm64 [2021-01-26T10:06:48.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } [2021-01-26T10:06:48.364Z] $ docker stop --time=1 bf21a6ff3b2ecd6cb58c6957480270876d256ad7d7b98a4d6528c1d3811c4840 [2021-01-26T10:06:50.274Z] $ docker rm -f bf21a6ff3b2ecd6cb58c6957480270876d256ad7d7b98a4d6528c1d3811c4840 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:06:52.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T10:06:53.021Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T10:06:53.021Z] . [Pipeline] withDockerContainer [2021-01-26T10:06:53.194Z] + ls -al . [2021-01-26T10:06:53.194Z] total 216 [2021-01-26T10:06:53.194Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 26 10:06 . [2021-01-26T10:06:53.194Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 26 10:04 .. [2021-01-26T10:06:53.194Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 26 10:04 bin [2021-01-26T10:06:53.194Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 26 10:06 coverage.out [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 26 10:04 Dockerfile.build [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 10:04 .dockerignore [2021-01-26T10:06:53.194Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 26 10:04 example [2021-01-26T10:06:53.194Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 26 10:04 .git [2021-01-26T10:06:53.194Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 26 10:04 .github [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 26 10:04 .gitignore [2021-01-26T10:06:53.194Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 26 10:06 go.mod [2021-01-26T10:06:53.194Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 26 10:06 go.sum [2021-01-26T10:06:53.194Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 26 10:04 internal [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 26 10:04 Jenkinsfile [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 10:04 LICENSE [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 26 10:04 Makefile [2021-01-26T10:06:53.194Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 26 10:04 openapi [2021-01-26T10:06:53.194Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 10:04 pkg [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 26 10:04 README.md [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 26 10:04 RELEASE-NOTES.txt [2021-01-26T10:06:53.194Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 10:04 snap [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 26 10:01 VERSION [2021-01-26T10:06:53.194Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 10:04 version.go [2021-01-26T10:06:53.268Z] prd-ubuntu18.04-docker-arm64-4c-16g-22821 does not seem to be running inside a container [2021-01-26T10:06:53.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-26T10:06:54.777Z] $ docker top 2ee0bb3d14ef92d0e68ebb8d8989d8bca5d113a93ebb729240d98d395cf48e2d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:06:55.614Z] + 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=9940e7e7532e34e94c7029b3abebaa9f207a5ccd --label arch=amd64 --label version=0.0.0 . [2021-01-26T10:06:55.827Z] + make test [2021-01-26T10:06:55.827Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T10:06:55.879Z] Sending build context to Docker daemon 2.718MB [2021-01-26T10:06:55.879Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T10:06:55.879Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T10:06:55.879Z] ---> 5e1080c75aac [2021-01-26T10:06:55.879Z] Step 3/24 : ARG MAKE='make build' [2021-01-26T10:06:56.455Z] ---> Running in 3c889c49e97e [2021-01-26T10:06:56.718Z] Removing intermediate container 3c889c49e97e [2021-01-26T10:06:56.718Z] ---> 7147ab9ce70f [2021-01-26T10:06:56.718Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T10:06:56.718Z] ---> Running in 223a339381f5 [2021-01-26T10:06:56.989Z] Removing intermediate container 223a339381f5 [2021-01-26T10:06:56.989Z] ---> cbc4d94c50fc [2021-01-26T10:06:56.989Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:06:56.989Z] ---> Running in f90f6642c91c [2021-01-26T10:06:57.253Z] Removing intermediate container f90f6642c91c [2021-01-26T10:06:57.253Z] ---> 6787eb6b2fcb [2021-01-26T10:06:57.253Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T10:06:57.253Z] ---> Running in 6d5d1b05bebe [2021-01-26T10:06:58.216Z] Removing intermediate container 6d5d1b05bebe [2021-01-26T10:06:58.216Z] ---> 324a831c0741 [2021-01-26T10:06:58.216Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T10:06:58.216Z] ---> Running in 0595e9d8ccaa [2021-01-26T10:06:58.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T10:06:59.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T10:07:00.333Z] OK: 166 MiB in 39 packages [2021-01-26T10:07:00.908Z] Removing intermediate container 0595e9d8ccaa [2021-01-26T10:07:00.908Z] ---> 3443d7af5016 [2021-01-26T10:07:00.908Z] Step 8/24 : COPY . . [2021-01-26T10:07:01.859Z] ---> b5b658d50038 [2021-01-26T10:07:01.859Z] Step 9/24 : RUN ${MAKE} [2021-01-26T10:07:01.859Z] ---> Running in 2b48eeea20f8 [2021-01-26T10:07:02.446Z] 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-26T10:07:12.633Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T10:07:13.581Z] Removing intermediate container 2b48eeea20f8 [2021-01-26T10:07:13.581Z] ---> 95a090d88afd [2021-01-26T10:07:13.581Z] Step 10/24 : FROM scratch [2021-01-26T10:07:13.581Z] ---> [2021-01-26T10:07:13.581Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:07:13.581Z] ---> Running in 87cffa769b4f [2021-01-26T10:07:13.845Z] Removing intermediate container 87cffa769b4f [2021-01-26T10:07:13.845Z] ---> 0a8765018643 [2021-01-26T10:07:13.845Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T10:07:13.845Z] ---> Running in ccd52ed56063 [2021-01-26T10:07:13.845Z] Removing intermediate container ccd52ed56063 [2021-01-26T10:07:13.845Z] ---> 1113a9145429 [2021-01-26T10:07:13.845Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T10:07:14.110Z] ---> Running in 7dfb3c90e56c [2021-01-26T10:07:14.110Z] Removing intermediate container 7dfb3c90e56c [2021-01-26T10:07:14.110Z] ---> e88775f8bd8e [2021-01-26T10:07:14.110Z] Step 14/24 : WORKDIR / [2021-01-26T10:07:14.110Z] ---> Running in 4d7a824a3bad [2021-01-26T10:07:14.377Z] Removing intermediate container 4d7a824a3bad [2021-01-26T10:07:14.377Z] ---> 66945df75d31 [2021-01-26T10:07:14.377Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T10:07:14.957Z] ---> 76b3b868cda2 [2021-01-26T10:07:14.957Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T10:07:15.221Z] ---> ab00b08b7b05 [2021-01-26T10:07:15.221Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T10:07:15.485Z] ---> 27746b2dd961 [2021-01-26T10:07:15.485Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T10:07:15.750Z] ---> a1e09027326b [2021-01-26T10:07:15.750Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-26T10:07:16.012Z] ---> d2342621b6d5 [2021-01-26T10:07:16.012Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T10:07:16.012Z] ---> Running in ae74f25b5403 [2021-01-26T10:07:16.275Z] Removing intermediate container ae74f25b5403 [2021-01-26T10:07:16.275Z] ---> d852c84ff107 [2021-01-26T10:07:16.275Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T10:07:16.275Z] ---> Running in 2bb73209a15c [2021-01-26T10:07:16.539Z] Removing intermediate container 2bb73209a15c [2021-01-26T10:07:16.539Z] ---> 531005a67194 [2021-01-26T10:07:16.539Z] Step 22/24 : LABEL arch=amd64 [2021-01-26T10:07:16.539Z] ---> Running in 2b026a71e07e [2021-01-26T10:07:16.801Z] Removing intermediate container 2b026a71e07e [2021-01-26T10:07:16.801Z] ---> 014c6754fa05 [2021-01-26T10:07:16.801Z] Step 23/24 : LABEL git_sha=9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:07:16.801Z] ---> Running in c486994fed96 [2021-01-26T10:07:17.062Z] Removing intermediate container c486994fed96 [2021-01-26T10:07:17.062Z] ---> 4f4977d33463 [2021-01-26T10:07:17.062Z] Step 24/24 : LABEL version=0.0.0 [2021-01-26T10:07:17.062Z] ---> Running in f217d5506a1a [2021-01-26T10:07:17.324Z] Removing intermediate container f217d5506a1a [2021-01-26T10:07:17.324Z] ---> c3f466d73b97 [2021-01-26T10:07:17.324Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T10:07:17.324Z] Successfully built c3f466d73b97 [2021-01-26T10:07:17.324Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-01-26T10:07:18.032Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T10:07:57.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T10:07:57.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T10:07:57.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T10:07:57.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.171s coverage: 19.4% of statements [2021-01-26T10:08:01.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.227s coverage: 97.1% of statements [2021-01-26T10:08:33.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 9.4% of statements [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.106s coverage: 21.7% of statements [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.609s coverage: 43.2% of statements [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.738s coverage: 68.9% of statements [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.213s coverage: 53.8% of statements [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.187s coverage: 26.8% of statements [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.922s coverage: 83.5% of statements [2021-01-26T10:08:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-01-26T10:08:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T10:08:33.817Z] GO111MODULE=on go vet ./... [2021-01-26T10:09:06.215Z] gofmt -l . [2021-01-26T10:09:06.215Z] [ "`gofmt -l .`" = "" ] [2021-01-26T10:09:06.215Z] ./bin/test-attribution-txt.sh [2021-01-26T10:09:06.215Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T10:09:06.275Z] $ docker stop --time=1 2ee0bb3d14ef92d0e68ebb8d8989d8bca5d113a93ebb729240d98d395cf48e2d [2021-01-26T10:09:08.471Z] $ docker rm -f 2ee0bb3d14ef92d0e68ebb8d8989d8bca5d113a93ebb729240d98d395cf48e2d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T10:09:09.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T10:09:09.634Z] Warning: overwriting stash ‘coverage-report’ [2021-01-26T10:09:10.515Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T10:09:11.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T10:09:11.916Z] + ls -al . [2021-01-26T10:09:11.917Z] total 252 [2021-01-26T10:09:11.917Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 10:09 . [2021-01-26T10:09:11.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 10:05 .. [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 10:05 .dockerignore [2021-01-26T10:09:11.917Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 10:05 .git [2021-01-26T10:09:11.917Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 10:05 .github [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 26 10:05 .gitignore [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 26 10:05 Dockerfile.build [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 26 10:05 Jenkinsfile [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 10:05 LICENSE [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 26 10:05 Makefile [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 26 10:05 README.md [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 26 10:05 RELEASE-NOTES.txt [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 10:01 VERSION [2021-01-26T10:09:11.917Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 10:05 bin [2021-01-26T10:09:11.917Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 26 10:08 coverage.out [2021-01-26T10:09:11.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 10:05 example [2021-01-26T10:09:11.917Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 26 10:09 go.mod [2021-01-26T10:09:11.917Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 26 10:09 go.sum [2021-01-26T10:09:11.917Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 10:05 internal [2021-01-26T10:09:11.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 10:05 openapi [2021-01-26T10:09:11.917Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 10:05 pkg [2021-01-26T10:09:11.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 10:05 snap [2021-01-26T10:09:11.917Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 10:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:09:12.361Z] + 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=9940e7e7532e34e94c7029b3abebaa9f207a5ccd --label arch=arm64 --label version=0.0.0 . [2021-01-26T10:09:12.984Z] Sending build context to Docker daemon 2.718MB [2021-01-26T10:09:12.984Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T10:09:12.984Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T10:09:12.984Z] ---> 1ff6dc0f20e5 [2021-01-26T10:09:12.984Z] Step 3/24 : ARG MAKE='make build' [2021-01-26T10:09:13.261Z] ---> Running in 92f17fbb4b1c [2021-01-26T10:09:13.539Z] Removing intermediate container 92f17fbb4b1c [2021-01-26T10:09:13.539Z] ---> 9de2583df3d9 [2021-01-26T10:09:13.539Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T10:09:13.823Z] ---> Running in f5a9fec2aae8 [2021-01-26T10:09:14.421Z] Removing intermediate container f5a9fec2aae8 [2021-01-26T10:09:14.421Z] ---> 35d839007e7b [2021-01-26T10:09:14.421Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:09:14.421Z] ---> Running in 0b7311b01fbd [2021-01-26T10:09:14.695Z] Removing intermediate container 0b7311b01fbd [2021-01-26T10:09:14.695Z] ---> 42c4f1429f34 [2021-01-26T10:09:14.695Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T10:09:14.970Z] ---> Running in c23c734b702a [2021-01-26T10:09:16.953Z] Removing intermediate container c23c734b702a [2021-01-26T10:09:16.953Z] ---> 84255eb1302a [2021-01-26T10:09:16.953Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T10:09:16.953Z] ---> Running in 513de2e85853 [2021-01-26T10:09:18.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T10:09:18.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T10:09:19.584Z] OK: 142 MiB in 39 packages [2021-01-26T10:09:20.572Z] Removing intermediate container 513de2e85853 [2021-01-26T10:09:20.572Z] ---> e8b796a34135 [2021-01-26T10:09:20.572Z] Step 8/24 : COPY . . [2021-01-26T10:09:22.003Z] ---> 99c4ec76dca8 [2021-01-26T10:09:22.003Z] Step 9/24 : RUN ${MAKE} [2021-01-26T10:09:22.003Z] ---> Running in fc3fb8e1bc2c [2021-01-26T10:09:22.980Z] 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-26T10:09:49.797Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T10:09:49.797Z] Removing intermediate container fc3fb8e1bc2c [2021-01-26T10:09:49.797Z] ---> 02a9c6226616 [2021-01-26T10:09:49.797Z] Step 10/24 : FROM scratch [2021-01-26T10:09:49.797Z] ---> [2021-01-26T10:09:49.797Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T10:09:50.075Z] ---> Running in 63141a9a98b5 [2021-01-26T10:09:50.358Z] Removing intermediate container 63141a9a98b5 [2021-01-26T10:09:50.358Z] ---> fcae396cbf2c [2021-01-26T10:09:50.358Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T10:09:50.358Z] ---> Running in 0680fd6b27e7 [2021-01-26T10:09:50.955Z] Removing intermediate container 0680fd6b27e7 [2021-01-26T10:09:50.955Z] ---> 0fdeec0d218c [2021-01-26T10:09:50.955Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T10:09:50.955Z] ---> Running in 6c3bc9df41fe [2021-01-26T10:09:51.549Z] Removing intermediate container 6c3bc9df41fe [2021-01-26T10:09:51.549Z] ---> 43f691996f1b [2021-01-26T10:09:51.549Z] Step 14/24 : WORKDIR / [2021-01-26T10:09:51.549Z] ---> Running in ff16bc82ddb6 [2021-01-26T10:09:52.142Z] Removing intermediate container ff16bc82ddb6 [2021-01-26T10:09:52.142Z] ---> 5a08f1cc6018 [2021-01-26T10:09:52.142Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T10:09:53.116Z] ---> 0eece10ed5c5 [2021-01-26T10:09:53.116Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T10:09:53.708Z] ---> 5e5ceba8a493 [2021-01-26T10:09:53.708Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T10:09:54.683Z] ---> ad2bbb5e1d1c [2021-01-26T10:09:54.683Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T10:09:55.276Z] ---> b18af951afc2 [2021-01-26T10:09:55.276Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-26T10:09:55.872Z] ---> 36f89be44293 [2021-01-26T10:09:55.872Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T10:09:55.872Z] ---> Running in 6eb1bcfbc094 [2021-01-26T10:09:56.473Z] Removing intermediate container 6eb1bcfbc094 [2021-01-26T10:09:56.473Z] ---> 911e646c4006 [2021-01-26T10:09:56.473Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T10:09:56.473Z] ---> Running in d71208a2d915 [2021-01-26T10:09:57.067Z] Removing intermediate container d71208a2d915 [2021-01-26T10:09:57.067Z] ---> db4fc123e960 [2021-01-26T10:09:57.067Z] Step 22/24 : LABEL arch=arm64 [2021-01-26T10:09:57.067Z] ---> Running in 7baf2d5c295d [2021-01-26T10:09:57.659Z] Removing intermediate container 7baf2d5c295d [2021-01-26T10:09:57.659Z] ---> 886059a5a95b [2021-01-26T10:09:57.659Z] Step 23/24 : LABEL git_sha=9940e7e7532e34e94c7029b3abebaa9f207a5ccd [2021-01-26T10:09:57.659Z] ---> Running in 109e49beb88e [2021-01-26T10:09:58.254Z] Removing intermediate container 109e49beb88e [2021-01-26T10:09:58.254Z] ---> e32ab11445af [2021-01-26T10:09:58.254Z] Step 24/24 : LABEL version=0.0.0 [2021-01-26T10:09:58.254Z] ---> Running in 6bd4c64acbf4 [2021-01-26T10:09:58.849Z] Removing intermediate container 6bd4c64acbf4 [2021-01-26T10:09:58.849Z] ---> a839b4a6c54c [2021-01-26T10:09:58.849Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T10:09:58.849Z] Successfully built a839b4a6c54c [2021-01-26T10:09:58.849Z] 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-26T10:10:01.761Z] provisioning config files... [2021-01-26T10:10:01.778Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/config6581694180111136737tmp [Pipeline] { [Pipeline] sh [2021-01-26T10:10:02.282Z] + set +x [2021-01-26T10:10:02.282Z] + bash -s -- [2021-01-26T10:10:02.282Z] + curl -s https://codecov.io/bash [2021-01-26T10:10:02.580Z] [2021-01-26T10:10:02.580Z] _____ _ [2021-01-26T10:10:02.580Z] / ____| | | [2021-01-26T10:10:02.580Z] | | ___ __| | ___ ___ _____ __ [2021-01-26T10:10:02.580Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-26T10:10:02.580Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-26T10:10:02.580Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-26T10:10:02.580Z] Bash-20210115-cec3c92 [2021-01-26T10:10:02.580Z] [2021-01-26T10:10:02.580Z] [2021-01-26T10:10:02.580Z] ==> git version 2.24.3 found [2021-01-26T10:10:02.580Z] ==> 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-26T10:10:02.580Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-26T10:10:02.580Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-26T10:10:02.580Z] ==> Jenkins CI detected. [2021-01-26T10:10:02.580Z] project root: . [2021-01-26T10:10:02.580Z] --> token set from env [2021-01-26T10:10:02.580Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-26T10:10:02.885Z] ==> Running gcov in . (disable via -X gcov) [2021-01-26T10:10:02.885Z] ==> Python coveragepy not found [2021-01-26T10:10:02.885Z] ==> Searching for coverage reports in: [2021-01-26T10:10:02.885Z] + . [2021-01-26T10:10:02.885Z] -> Found 1 reports [2021-01-26T10:10:02.885Z] ==> Detecting git/mercurial file structure [2021-01-26T10:10:02.885Z] ==> Reading reports [2021-01-26T10:10:02.885Z] + ./coverage.out bytes=136842 [2021-01-26T10:10:02.885Z] ==> Appending adjustments [2021-01-26T10:10:02.885Z] https://docs.codecov.io/docs/fixing-reports [2021-01-26T10:10:03.924Z] + Found adjustments [2021-01-26T10:10:03.924Z] ==> Gzipping contents [2021-01-26T10:10:04.264Z] 24K /tmp/codecov.v5rolR.gz [2021-01-26T10:10:04.264Z] ==> Uploading reports [2021-01-26T10:10:04.264Z] url: https://codecov.io [2021-01-26T10:10:04.264Z] query: branch=PR-759&commit=9940e7e7532e34e94c7029b3abebaa9f207a5ccd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-759%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=759&job=&cmd_args= [2021-01-26T10:10:04.264Z] -> Pinging Codecov [2021-01-26T10:10:04.264Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-759&commit=9940e7e7532e34e94c7029b3abebaa9f207a5ccd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-759%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=759&job=&cmd_args= [2021-01-26T10:10:04.535Z] -> Uploading to [2021-01-26T10:10:04.535Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-26/7E55EF52A471D76F132DFD9A03CDDE97/9940e7e7532e34e94c7029b3abebaa9f207a5ccd/7efc0a32-6225-4393-9ddd-54f45f5b2b25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T101004Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0704bc56a83531eed8c4d15acb3b0e3b5d2d12d5ce26f8c7b5563d584993db37 [2021-01-26T10:10:04.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T10:10:04.804Z] Dload Upload Total Spent Left Speed [2021-01-26T10:10:05.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21560 0 0 100 21560 0 41808 --:--:-- --:--:-- --:--:-- 41782 100 21560 0 0 100 21560 0 41793 --:--:-- --:--:-- --:--:-- 41782 [2021-01-26T10:10:05.073Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9940e7e7532e34e94c7029b3abebaa9f207a5ccd [Pipeline] } [2021-01-26T10:10:05.101Z] 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-26T10:10:08.778Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:09.421Z] ---> package-listing.sh [2021-01-26T10:10:09.421Z] ++ facter osfamily [2021-01-26T10:10:09.421Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T10:10:09.718Z] + OS_FAMILY=redhat [2021-01-26T10:10:09.718Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-759 [2021-01-26T10:10:09.718Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T10:10:09.718Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T10:10:09.718Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T10:10:09.718Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T10:10:09.718Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-759 ']' [2021-01-26T10:10:09.718Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T10:10:09.718Z] + case "${OS_FAMILY}" in [2021-01-26T10:10:09.718Z] + rpm -qa [2021-01-26T10:10:09.718Z] + sort [2021-01-26T10:10:16.438Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T10:10:16.438Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T10:10:16.438Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T10:10:16.438Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-759 ']' [2021-01-26T10:10:16.438Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-759/archives/ [2021-01-26T10:10:16.438Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-759/archives/ [Pipeline] echo [2021-01-26T10:10:16.472Z] 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-759/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T10:10:16.792Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:10:17.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T10:10:17.737Z] [2021-01-26T10:10:17.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T10:10:18.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T10:10:18.535Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T10:10:18.535Z] df20fa9351a1: Pulling fs layer [2021-01-26T10:10:18.535Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T10:10:18.535Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T10:10:18.535Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T10:10:18.535Z] 93b61091891f: Pulling fs layer [2021-01-26T10:10:18.535Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T10:10:18.535Z] 5e14af77c1be: Pulling fs layer [2021-01-26T10:10:18.535Z] 01666e4c0597: Pulling fs layer [2021-01-26T10:10:18.535Z] aa168da1d23b: Pulling fs layer [2021-01-26T10:10:18.535Z] 93b9cdb0e59b: Waiting [2021-01-26T10:10:18.535Z] 5e14af77c1be: Waiting [2021-01-26T10:10:18.535Z] 93b61091891f: Waiting [2021-01-26T10:10:18.535Z] 46f8f816bc3b: Waiting [2021-01-26T10:10:18.535Z] 01666e4c0597: Waiting [2021-01-26T10:10:18.535Z] aa168da1d23b: Waiting [2021-01-26T10:10:18.535Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T10:10:18.535Z] 36b3adc4ff6f: Download complete [2021-01-26T10:10:18.535Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T10:10:18.535Z] 46f8f816bc3b: Download complete [2021-01-26T10:10:18.535Z] df20fa9351a1: Verifying Checksum [2021-01-26T10:10:18.535Z] df20fa9351a1: Download complete [2021-01-26T10:10:18.823Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T10:10:18.823Z] 93b9cdb0e59b: Download complete [2021-01-26T10:10:18.823Z] 5e14af77c1be: Verifying Checksum [2021-01-26T10:10:18.823Z] 5e14af77c1be: Download complete [2021-01-26T10:10:18.823Z] 93b61091891f: Download complete [2021-01-26T10:10:18.823Z] 01666e4c0597: Verifying Checksum [2021-01-26T10:10:18.823Z] 01666e4c0597: Download complete [2021-01-26T10:10:19.408Z] df20fa9351a1: Pull complete [2021-01-26T10:10:19.408Z] 36b3adc4ff6f: Pull complete [2021-01-26T10:10:19.689Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T10:10:19.689Z] 8ad3a11d3b57: Download complete [2021-01-26T10:10:21.163Z] 8ad3a11d3b57: Pull complete [2021-01-26T10:10:21.774Z] 46f8f816bc3b: Pull complete [2021-01-26T10:10:22.794Z] 93b61091891f: Pull complete [2021-01-26T10:10:23.137Z] 93b9cdb0e59b: Pull complete [2021-01-26T10:10:23.497Z] 5e14af77c1be: Pull complete [2021-01-26T10:10:23.790Z] 01666e4c0597: Pull complete [2021-01-26T10:10:26.105Z] aa168da1d23b: Verifying Checksum [2021-01-26T10:10:26.105Z] aa168da1d23b: Download complete [2021-01-26T10:10:41.727Z] aa168da1d23b: Pull complete [2021-01-26T10:10:41.727Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T10:10:41.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T10:10:41.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T10:10:42.120Z] prd-centos7-docker-4c-2g-22817 does not seem to be running inside a container [2021-01-26T10:10:42.212Z] $ 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-759/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-759 -v /w/workspace/dgexfoundry_device-sdk-go_PR-759:/w/workspace/dgexfoundry_device-sdk-go_PR-759:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-26T10:10:46.624Z] $ docker top ebab84b65113ce68305f181c59e3ffee38950a332d21d73a3dff4e3cae62f297 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T10:10:47.448Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T10:10:47.858Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T10:10:48.249Z] + ls /var/log/sa-host [2021-01-26T10:10:48.249Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T10:10:48.249Z] file_magic: OK [2021-01-26T10:10:48.249Z] HZ: Using current value: 100 [2021-01-26T10:10:48.249Z] file_header: OK [2021-01-26T10:10:48.249Z] 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-26T10:10:48.249Z] Statistics: [2021-01-26T10:10:48.249Z] Hnuu...uuuununununu... [2021-01-26T10:10:48.249Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T10:10:48.249Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T10:10:48.249Z] file_magic: OK [2021-01-26T10:10:48.249Z] HZ: Using current value: 100 [2021-01-26T10:10:48.249Z] file_header: OK [2021-01-26T10:10:48.249Z] 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-26T10:10:48.249Z] Statistics: [2021-01-26T10:10:48.249Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T10:10:48.249Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T10:10:48.960Z] provisioning config files... [2021-01-26T10:10:49.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-759@tmp/config3402998204261855202tmp [Pipeline] { [Pipeline] echo [2021-01-26T10:10:49.140Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:49.894Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T10:10:49.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T10:10:50.081Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:50.558Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T10:10:50.619Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:51.159Z] ---> sudo-logs.sh [2021-01-26T10:10:51.159Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T10:10:51.204Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:51.812Z] ---> job-cost.sh [2021-01-26T10:10:51.812Z] lf-activate-venv: SKIPPING [2021-01-26T10:10:51.812Z] INFO: No Stack... [2021-01-26T10:10:53.242Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T10:10:53.512Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T10:10:53.548Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T10:10:53.911Z] ---> logs-deploy.sh [2021-01-26T10:10:53.911Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-759/1 [2021-01-26T10:10:53.911Z] INFO: archiving workspace using pattern(s): [2021-01-26T10:10:56.559Z] Archives upload complete. [2021-01-26T10:10:56.559Z] INFO: archiving logs to Nexus [2021-01-26T10:10:58.576Z] ---> uname -a: [2021-01-26T10:10:58.576Z] Linux prd-centos7-docker-4c-2g-22817.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-26T10:10:58.576Z] [2021-01-26T10:10:58.576Z] [2021-01-26T10:10:58.576Z] ---> lscpu: [2021-01-26T10:10:58.576Z] Architecture: x86_64 [2021-01-26T10:10:58.576Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-26T10:10:58.576Z] Byte Order: Little Endian [2021-01-26T10:10:58.576Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-26T10:10:58.576Z] CPU(s): 4 [2021-01-26T10:10:58.576Z] On-line CPU(s) list: 0-3 [2021-01-26T10:10:58.576Z] Thread(s) per core: 1 [2021-01-26T10:10:58.576Z] Core(s) per socket: 1 [2021-01-26T10:10:58.576Z] Socket(s): 4 [2021-01-26T10:10:58.576Z] NUMA node(s): 1 [2021-01-26T10:10:58.576Z] Vendor ID: GenuineIntel [2021-01-26T10:10:58.576Z] CPU family: 6 [2021-01-26T10:10:58.576Z] Model: 44 [2021-01-26T10:10:58.576Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-26T10:10:58.576Z] Stepping: 1 [2021-01-26T10:10:58.576Z] CPU MHz: 2933.438 [2021-01-26T10:10:58.576Z] BogoMIPS: 5866.87 [2021-01-26T10:10:58.576Z] Virtualization: VT-x [2021-01-26T10:10:58.576Z] Hypervisor vendor: KVM [2021-01-26T10:10:58.576Z] Virtualization type: full [2021-01-26T10:10:58.576Z] L1d cache: 128 KiB [2021-01-26T10:10:58.576Z] L1i cache: 128 KiB [2021-01-26T10:10:58.576Z] L2 cache: 16 MiB [2021-01-26T10:10:58.576Z] L3 cache: 64 MiB [2021-01-26T10:10:58.576Z] NUMA node0 CPU(s): 0-3 [2021-01-26T10:10:58.576Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-26T10:10:58.576Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-26T10:10:58.576Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-26T10:10:58.576Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-26T10:10:58.576Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-26T10:10:58.576Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-26T10:10:58.576Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-26T10:10:58.576Z] Vulnerability Srbds: Not affected [2021-01-26T10:10:58.576Z] Vulnerability Tsx async abort: Not affected [2021-01-26T10:10:58.576Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-26T10:10:58.576Z] [2021-01-26T10:10:58.576Z]