Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (f4c5efe1efda797f559945bed5a1a42585154d06) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21493 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 323969d8b0d68d395ac13414534f7318de76b2f3 Checking out Revision 323969d8b0d68d395ac13414534f7318de76b2f3 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 323969d8b0d68d395ac13414534f7318de76b2f3 # timeout=10 Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T02:42:33.874Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk fd1d405e0f5f50a066d695d8c3b52aff05b38da4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T02:42:34.155Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T02:42:34.253Z] ========================================================= [2021-01-20T02:42:34.253Z] EdgeX Global Pipelines Version Info [2021-01-20T02:42:34.253Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:42:35.720Z] ------------------- [2021-01-20T02:42:35.720Z] stable info: [2021-01-20T02:42:35.720Z] ------------------- [2021-01-20T02:42:35.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T02:42:35.720Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T02:42:35.720Z] Message: update stable to v1.0.179 [2021-01-20T02:42:36.664Z] ------------------- [2021-01-20T02:42:36.664Z] experimental info: [2021-01-20T02:42:36.664Z] ------------------- [2021-01-20T02:42:36.664Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T02:42:36.664Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T02:42:36.664Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T02:42:36.922Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-20T02:42:37.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-20T02:42:37.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T02:42:37.203Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T02:42:37.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T02:42:37.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T02:42:37.481Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T02:42:37.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T02:42:37.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-20T02:42:37.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T02:42:37.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T02:42:37.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-20T02:42:38.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T02:42:38.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T02:42:38.421Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T02:42:38.510Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T02:42:38.602Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T02:42:38.707Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T02:42:38.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T02:42:38.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T02:42:39.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-20T02:42:39.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-20T02:42:39.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T02:42:39.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T02:42:39.415Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T02:42:39.501Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T02:42:39.588Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T02:42:39.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-20T02:42:39.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-20T02:42:39.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-20T02:42:39.937Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 323969d8b0d68d395ac13414534f7318de76b2f3 [Pipeline] echo [2021-01-20T02:42:40.026Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 323969d [Pipeline] echo [2021-01-20T02:42:40.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T02:42:40.434Z] provisioning config files... [2021-01-20T02:42:40.461Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2630982467522977040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:42:40.831Z] ---> docker-login.sh [2021-01-20T02:42:40.831Z] nexus3.edgexfoundry.org:10001 [2021-01-20T02:42:41.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:42:41.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:42:41.094Z] Configure a credential helper to remove this warning. See [2021-01-20T02:42:41.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:42:41.094Z] [2021-01-20T02:42:41.094Z] Login Succeeded [2021-01-20T02:42:41.094Z] nexus3.edgexfoundry.org:10002 [2021-01-20T02:42:41.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:42:41.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:42:41.356Z] Configure a credential helper to remove this warning. See [2021-01-20T02:42:41.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:42:41.356Z] [2021-01-20T02:42:41.356Z] Login Succeeded [2021-01-20T02:42:41.356Z] nexus3.edgexfoundry.org:10003 [2021-01-20T02:42:41.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:42:41.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:42:41.619Z] Configure a credential helper to remove this warning. See [2021-01-20T02:42:41.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:42:41.619Z] [2021-01-20T02:42:41.619Z] Login Succeeded [2021-01-20T02:42:41.619Z] nexus3.edgexfoundry.org:10004 [2021-01-20T02:42:41.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:42:41.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:42:41.619Z] Configure a credential helper to remove this warning. See [2021-01-20T02:42:41.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:42:41.619Z] [2021-01-20T02:42:41.619Z] Login Succeeded [2021-01-20T02:42:41.619Z] docker.io [2021-01-20T02:42:41.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:42:42.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:42:42.144Z] Configure a credential helper to remove this warning. See [2021-01-20T02:42:42.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:42:42.144Z] [2021-01-20T02:42:42.144Z] Login Succeeded [2021-01-20T02:42:42.144Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T02:42:42.153Z] 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-20T02:42:43.027Z] + git log --format=format:%s -1 323969d8b0d68d395ac13414534f7318de76b2f3 [Pipeline] echo [2021-01-20T02:42:43.090Z] GIT_COMMIT: 323969d8b0d68d395ac13414534f7318de76b2f3, Commit Message: Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD [Pipeline] echo [2021-01-20T02:42:43.139Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:42:43.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T02:42:43.721Z] [2021-01-20T02:42:43.721Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:42:44.099Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T02:42:44.099Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T02:42:44.099Z] 31603596830f: Pulling fs layer [2021-01-20T02:42:44.099Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T02:42:44.099Z] 6ca5941a6612: Pulling fs layer [2021-01-20T02:42:44.099Z] ecc8261a40a4: Pulling fs layer [2021-01-20T02:42:44.099Z] ecc8261a40a4: Waiting [2021-01-20T02:42:44.099Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T02:42:44.099Z] 2a8b12db71e7: Download complete [2021-01-20T02:42:44.099Z] 31603596830f: Verifying Checksum [2021-01-20T02:42:44.099Z] 31603596830f: Download complete [2021-01-20T02:42:44.365Z] 6ca5941a6612: Verifying Checksum [2021-01-20T02:42:44.365Z] 6ca5941a6612: Download complete [2021-01-20T02:42:44.365Z] ecc8261a40a4: Verifying Checksum [2021-01-20T02:42:44.365Z] ecc8261a40a4: Download complete [2021-01-20T02:42:44.629Z] 31603596830f: Pull complete [2021-01-20T02:42:44.629Z] 2a8b12db71e7: Pull complete [2021-01-20T02:42:45.576Z] 6ca5941a6612: Pull complete [2021-01-20T02:42:45.838Z] ecc8261a40a4: Pull complete [2021-01-20T02:42:45.838Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T02:42:45.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T02:42:45.838Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T02:42:45.937Z] prd-centos7-docker-4c-2g-21493 does not seem to be running inside a container [2021-01-20T02:42:45.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T02:42:48.098Z] $ docker top 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T02:42:48.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T02:42:48.456Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T02:42:48.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T02:42:48.668Z] $ docker exec 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 ssh-agent [2021-01-20T02:42:48.832Z] SSH_AUTH_SOCK=/tmp/ssh-FKi9UeWVOjfw/agent.11 [2021-01-20T02:42:48.832Z] SSH_AGENT_PID=16 [2021-01-20T02:42:48.844Z] Running ssh-add (command line suppressed) [2021-01-20T02:42:48.967Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5636473206209125720.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5636473206209125720.key) [2021-01-20T02:42:49.016Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T02:42:49.358Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T02:42:49.382Z] $ docker exec --env ******** --env ******** 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 ssh-agent -k [2021-01-20T02:42:49.495Z] unset SSH_AUTH_SOCK; [2021-01-20T02:42:49.495Z] unset SSH_AGENT_PID; [2021-01-20T02:42:49.495Z] echo Agent pid 16 killed; [2021-01-20T02:42:49.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T02:42:49.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T02:42:49.694Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T02:42:49.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T02:42:49.863Z] $ docker exec 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 ssh-agent [2021-01-20T02:42:50.024Z] SSH_AUTH_SOCK=/tmp/ssh-Ueq0aEn2XphK/agent.45 [2021-01-20T02:42:50.024Z] SSH_AGENT_PID=51 [2021-01-20T02:42:50.031Z] Running ssh-add (command line suppressed) [2021-01-20T02:42:50.149Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6019063397107663424.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6019063397107663424.key) [2021-01-20T02:42:50.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T02:42:50.530Z] + git semver init [2021-01-20T02:42:50.530Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T02:42:50.530Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-20T02:42:50.530Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-20T02:42:50.530Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T02:42:50.530Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T02:42:50.530Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T02:42:50.530Z] # $SEMVER_BRANCH = PR-725 [2021-01-20T02:42:50.530Z] # $SEMVER_TEMP = /tmp/semver-222189264 [2021-01-20T02:42:50.530Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-20T02:42:51.107Z] # '/tmp/semver-222189264' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-20T02:42:51.107Z] # -> Force: false [2021-01-20T02:42:51.107Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-20T02:42:51.124Z] $ docker exec --env ******** --env ******** 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 ssh-agent -k [2021-01-20T02:42:51.238Z] unset SSH_AUTH_SOCK; [2021-01-20T02:42:51.239Z] unset SSH_AGENT_PID; [2021-01-20T02:42:51.239Z] echo Agent pid 51 killed; [2021-01-20T02:42:51.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T02:42:51.766Z] + git semver [Pipeline] } [2021-01-20T02:42:51.785Z] $ docker stop --time=1 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 [2021-01-20T02:42:53.202Z] $ docker rm -f 4746ad5078805a95e0032d0d07ba4f2c397992fb86465cbaeaadc71bd25ba9b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T02:42:53.662Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T02:42:54.219Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T02:42:54.222Z] [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-20T02:43:09.839Z] Still waiting to schedule task [2021-01-20T02:43:09.839Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T02:43:09.841Z] Still waiting to schedule task [2021-01-20T02:43:09.841Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-20T02:44:53.715Z] Running on prd-centos7-docker-4c-2g-21496 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-20T02:44:53.788Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-20T02:44:56.531Z] using credential edgex-jenkins-ssh [2021-01-20T02:44:56.585Z] Cloning the remote Git repository [2021-01-20T02:44:56.612Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:44:56.675Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-20T02:44:56.735Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:44:56.736Z] > git --version # timeout=10 [2021-01-20T02:44:56.744Z] > git --version # 'git version 2.24.3' [2021-01-20T02:44:56.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:44:56.786Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T02:44:57.970Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-20T02:44:58.127Z] Merge succeeded, producing 8384ad538ba7619f18ab45197a9423d702bd2675 [2021-01-20T02:44:58.128Z] Checking out Revision 8384ad538ba7619f18ab45197a9423d702bd2675 (PR-725) [2021-01-20T02:44:57.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T02:44:57.518Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T02:44:57.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T02:44:57.540Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:44:57.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:44:57.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T02:44:57.979Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T02:44:57.987Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-20T02:44:58.040Z] > git remote # timeout=10 [2021-01-20T02:44:58.046Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T02:44:58.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:44:58.057Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-20T02:44:58.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T02:44:58.130Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T02:44:58.135Z] > git checkout -f 8384ad538ba7619f18ab45197a9423d702bd2675 # timeout=10 [2021-01-20T02:45:01.798Z] Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" [2021-01-20T02:45:01.809Z] First time build. Skipping changelog. [2021-01-20T02:45:01.801Z] > git rev-list --no-walk fd1d405e0f5f50a066d695d8c3b52aff05b38da4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T02:45:03.487Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T02:45:03.831Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T02:45:04.134Z] + sudo service docker restart [2021-01-20T02:45:04.134Z] + true [2021-01-20T02:45:04.134Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T02:45:05.153Z] provisioning config files... [2021-01-20T02:45:05.184Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2763706137869741973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:45:05.546Z] ---> docker-login.sh [2021-01-20T02:45:05.546Z] nexus3.edgexfoundry.org:10001 [2021-01-20T02:45:05.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:45:05.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:45:05.809Z] Configure a credential helper to remove this warning. See [2021-01-20T02:45:05.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:45:05.809Z] [2021-01-20T02:45:05.809Z] Login Succeeded [2021-01-20T02:45:05.809Z] nexus3.edgexfoundry.org:10002 [2021-01-20T02:45:06.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:45:06.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:45:06.073Z] Configure a credential helper to remove this warning. See [2021-01-20T02:45:06.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:45:06.073Z] [2021-01-20T02:45:06.073Z] Login Succeeded [2021-01-20T02:45:06.073Z] nexus3.edgexfoundry.org:10003 [2021-01-20T02:45:06.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:45:06.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:45:06.339Z] Configure a credential helper to remove this warning. See [2021-01-20T02:45:06.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:45:06.339Z] [2021-01-20T02:45:06.339Z] Login Succeeded [2021-01-20T02:45:06.339Z] nexus3.edgexfoundry.org:10004 [2021-01-20T02:45:06.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:45:06.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:45:06.605Z] Configure a credential helper to remove this warning. See [2021-01-20T02:45:06.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:45:06.605Z] [2021-01-20T02:45:06.605Z] Login Succeeded [2021-01-20T02:45:06.605Z] docker.io [2021-01-20T02:45:06.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:45:06.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:45:06.870Z] Configure a credential helper to remove this warning. See [2021-01-20T02:45:06.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:45:06.870Z] [2021-01-20T02:45:06.870Z] Login Succeeded [2021-01-20T02:45:06.870Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T02:45:06.880Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T02:45:07.231Z] ========================================================= [2021-01-20T02:45:07.231Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T02:45:07.231Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:45:07.581Z] + 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-20T02:45:07.581Z] Sending build context to Docker daemon 2.519MB [2021-01-20T02:45:07.581Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T02:45:07.581Z] Step 2/8 : FROM ${BASE} [2021-01-20T02:45:07.849Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T02:45:07.849Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T02:45:07.849Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T02:45:07.849Z] de9db76c5a1d: Pulling fs layer [2021-01-20T02:45:07.849Z] bca2f99d35d6: Pulling fs layer [2021-01-20T02:45:07.849Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T02:45:07.849Z] 7c6f9722023f: Pulling fs layer [2021-01-20T02:45:07.849Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T02:45:07.849Z] 93359f2a8cfa: Waiting [2021-01-20T02:45:07.849Z] 7c6f9722023f: Waiting [2021-01-20T02:45:07.849Z] a35cf1a2eb13: Waiting [2021-01-20T02:45:07.849Z] bca2f99d35d6: Waiting [2021-01-20T02:45:07.849Z] de9db76c5a1d: Verifying Checksum [2021-01-20T02:45:07.849Z] de9db76c5a1d: Download complete [2021-01-20T02:45:07.849Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T02:45:07.849Z] 0ef7d3d256c8: Download complete [2021-01-20T02:45:07.849Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T02:45:07.849Z] 93359f2a8cfa: Download complete [2021-01-20T02:45:07.849Z] 7c6f9722023f: Verifying Checksum [2021-01-20T02:45:07.849Z] 7c6f9722023f: Download complete [2021-01-20T02:45:07.849Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T02:45:07.849Z] 188c0c94c7c5: Download complete [2021-01-20T02:45:08.115Z] 188c0c94c7c5: Pull complete [2021-01-20T02:45:08.380Z] 0ef7d3d256c8: Pull complete [2021-01-20T02:45:08.380Z] de9db76c5a1d: Pull complete [2021-01-20T02:45:09.783Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T02:45:09.783Z] a35cf1a2eb13: Download complete [2021-01-20T02:45:10.360Z] bca2f99d35d6: Verifying Checksum [2021-01-20T02:45:10.360Z] bca2f99d35d6: Download complete [2021-01-20T02:45:17.012Z] bca2f99d35d6: Pull complete [2021-01-20T02:45:17.012Z] 93359f2a8cfa: Pull complete [2021-01-20T02:45:17.012Z] 7c6f9722023f: Pull complete [2021-01-20T02:45:21.251Z] a35cf1a2eb13: Pull complete [2021-01-20T02:45:21.251Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T02:45:21.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T02:45:21.251Z] ---> a62c8e92a672 [2021-01-20T02:45:21.251Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:45:21.515Z] ---> Running in 06a44337be47 [2021-01-20T02:45:21.780Z] Removing intermediate container 06a44337be47 [2021-01-20T02:45:21.780Z] ---> 86d1964b2c6e [2021-01-20T02:45:21.780Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T02:45:21.780Z] ---> Running in 42d887cb2839 [2021-01-20T02:45:23.190Z] Removing intermediate container 42d887cb2839 [2021-01-20T02:45:23.190Z] ---> 2aa05a1f86bb [2021-01-20T02:45:23.190Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-20T02:45:23.190Z] ---> Running in 4dd099c66e97 [2021-01-20T02:45:23.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T02:45:24.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T02:45:24.982Z] OK: 166 MiB in 39 packages [2021-01-20T02:45:25.563Z] Removing intermediate container 4dd099c66e97 [2021-01-20T02:45:25.563Z] ---> a13e49ba0380 [2021-01-20T02:45:25.563Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-20T02:45:25.563Z] ---> Running in c9fa7be019c5 [2021-01-20T02:45:25.826Z] Removing intermediate container c9fa7be019c5 [2021-01-20T02:45:25.826Z] ---> 91001e54b63a [2021-01-20T02:45:25.826Z] Step 7/8 : COPY . . [2021-01-20T02:45:26.779Z] ---> 39561c5b5045 [2021-01-20T02:45:26.779Z] Step 8/8 : RUN go mod download [2021-01-20T02:45:26.779Z] ---> Running in ed1961b4eb19 [2021-01-20T02:45:44.960Z] Removing intermediate container ed1961b4eb19 [2021-01-20T02:45:44.960Z] ---> 389ed38bbc6e [2021-01-20T02:45:44.960Z] Successfully built 389ed38bbc6e [2021-01-20T02:45:44.960Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:45:45.283Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T02:45:45.283Z] . [Pipeline] withDockerContainer [2021-01-20T02:45:45.526Z] prd-centos7-docker-4c-2g-21496 does not seem to be running inside a container [2021-01-20T02:45:45.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T02:45:46.585Z] $ docker top 33a0f0ace3dbf30c48bb9afde7e2d0cb5bacce619f7666324268411e421c4d80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T02:45:46.950Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21497 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-20T02:45:47.004Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-01-20T02:45:47.102Z] + go version [2021-01-20T02:45:47.102Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T02:45:47.126Z] $ docker stop --time=1 33a0f0ace3dbf30c48bb9afde7e2d0cb5bacce619f7666324268411e421c4d80 [2021-01-20T02:45:48.462Z] $ docker rm -f 33a0f0ace3dbf30c48bb9afde7e2d0cb5bacce619f7666324268411e421c4d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:45:49.281Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T02:45:49.281Z] . [Pipeline] withDockerContainer [2021-01-20T02:45:49.391Z] prd-centos7-docker-4c-2g-21496 does not seem to be running inside a container [2021-01-20T02:45:49.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T02:45:50.037Z] $ docker top e1a26958cdad5391cf1859239127ce44802eecb6b76ff91fa835254ed3bbbc7e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T02:45:50.662Z] + make test [2021-01-20T02:45:50.662Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-20T02:45:52.843Z] using credential edgex-jenkins-ssh [2021-01-20T02:45:52.903Z] Cloning the remote Git repository [2021-01-20T02:45:52.964Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:45:53.083Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-01-20T02:45:53.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:45:53.182Z] > git --version # timeout=10 [2021-01-20T02:45:53.200Z] > git --version # 'git version 2.17.1' [2021-01-20T02:45:53.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:45:53.253Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T02:45:54.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T02:45:54.509Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T02:45:54.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T02:45:54.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T02:45:54.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:45:54.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T02:45:55.193Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-20T02:45:55.688Z] Merge succeeded, producing bc252262bc44d9f374ae157e8c526636f9b4436d [2021-01-20T02:45:55.688Z] Checking out Revision bc252262bc44d9f374ae157e8c526636f9b4436d (PR-725) [2021-01-20T02:45:55.219Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T02:45:55.240Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-20T02:45:55.356Z] > git remote # timeout=10 [2021-01-20T02:45:55.378Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T02:45:55.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T02:45:55.479Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-20T02:45:55.653Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T02:45:55.699Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T02:45:55.714Z] > git checkout -f bc252262bc44d9f374ae157e8c526636f9b4436d # timeout=10 [2021-01-20T02:45:58.885Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-20T02:46:00.136Z] Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" [2021-01-20T02:46:00.162Z] First time build. Skipping changelog. [2021-01-20T02:46:00.148Z] > git rev-list --no-walk fd1d405e0f5f50a066d695d8c3b52aff05b38da4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T02:46:02.006Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T02:46:02.486Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T02:46:02.842Z] + true [2021-01-20T02:46:02.842Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T02:46:05.552Z] provisioning config files... [2021-01-20T02:46:05.595Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6129918597389330467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:46:06.063Z] ---> docker-login.sh [2021-01-20T02:46:06.064Z] nexus3.edgexfoundry.org:10001 [2021-01-20T02:46:06.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:46:07.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:46:07.271Z] Configure a credential helper to remove this warning. See [2021-01-20T02:46:07.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:46:07.271Z] [2021-01-20T02:46:07.271Z] Login Succeeded [2021-01-20T02:46:07.271Z] nexus3.edgexfoundry.org:10002 [2021-01-20T02:46:07.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:46:07.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:46:07.820Z] Configure a credential helper to remove this warning. See [2021-01-20T02:46:07.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:46:07.820Z] [2021-01-20T02:46:07.820Z] Login Succeeded [2021-01-20T02:46:07.820Z] nexus3.edgexfoundry.org:10003 [2021-01-20T02:46:08.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:46:08.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:46:08.375Z] Configure a credential helper to remove this warning. See [2021-01-20T02:46:08.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:46:08.375Z] [2021-01-20T02:46:08.375Z] Login Succeeded [2021-01-20T02:46:08.375Z] nexus3.edgexfoundry.org:10004 [2021-01-20T02:46:08.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:46:08.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:46:08.979Z] Configure a credential helper to remove this warning. See [2021-01-20T02:46:08.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:46:08.979Z] [2021-01-20T02:46:08.979Z] Login Succeeded [2021-01-20T02:46:08.979Z] docker.io [2021-01-20T02:46:09.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T02:46:09.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T02:46:09.543Z] Configure a credential helper to remove this warning. See [2021-01-20T02:46:09.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T02:46:09.543Z] [2021-01-20T02:46:09.543Z] Login Succeeded [2021-01-20T02:46:09.543Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T02:46:09.564Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T02:46:10.009Z] ========================================================= [2021-01-20T02:46:10.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T02:46:10.010Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:46:10.417Z] + 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-20T02:46:11.024Z] Sending build context to Docker daemon 2.517MB [2021-01-20T02:46:11.024Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T02:46:11.024Z] Step 2/8 : FROM ${BASE} [2021-01-20T02:46:11.024Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T02:46:11.024Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T02:46:11.024Z] a4357932f1b6: Pulling fs layer [2021-01-20T02:46:11.024Z] 18c013af1878: Pulling fs layer [2021-01-20T02:46:11.024Z] 00ac8860ef70: Pulling fs layer [2021-01-20T02:46:11.024Z] 63d7cb157983: Pulling fs layer [2021-01-20T02:46:11.024Z] b116817d02f9: Pulling fs layer [2021-01-20T02:46:11.024Z] 745a02a5169b: Pulling fs layer [2021-01-20T02:46:11.024Z] 63d7cb157983: Waiting [2021-01-20T02:46:11.024Z] b116817d02f9: Waiting [2021-01-20T02:46:11.024Z] 745a02a5169b: Waiting [2021-01-20T02:46:11.024Z] 00ac8860ef70: Waiting [2021-01-20T02:46:11.024Z] 18c013af1878: Verifying Checksum [2021-01-20T02:46:11.024Z] 18c013af1878: Download complete [2021-01-20T02:46:11.024Z] a4357932f1b6: Verifying Checksum [2021-01-20T02:46:11.024Z] a4357932f1b6: Download complete [2021-01-20T02:46:11.024Z] 63d7cb157983: Verifying Checksum [2021-01-20T02:46:11.024Z] 63d7cb157983: Download complete [2021-01-20T02:46:11.301Z] b116817d02f9: Download complete [2021-01-20T02:46:11.301Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T02:46:11.301Z] 5f621e34cdf4: Download complete [2021-01-20T02:46:11.908Z] 5f621e34cdf4: Pull complete [2021-01-20T02:46:12.519Z] a4357932f1b6: Pull complete [2021-01-20T02:46:13.125Z] 18c013af1878: Pull complete [2021-01-20T02:46:13.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-20T02:46:13.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-20T02:46:13.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-20T02:46:13.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 19.4% of statements [2021-01-20T02:46:14.116Z] 745a02a5169b: Verifying Checksum [2021-01-20T02:46:14.116Z] 745a02a5169b: Download complete [2021-01-20T02:46:14.718Z] 00ac8860ef70: Verifying Checksum [2021-01-20T02:46:14.718Z] 00ac8860ef70: Download complete [2021-01-20T02:46:16.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.464s coverage: 97.1% of statements [2021-01-20T02:46:27.163Z] 00ac8860ef70: Pull complete [2021-01-20T02:46:27.163Z] 63d7cb157983: Pull complete [2021-01-20T02:46:27.163Z] b116817d02f9: Pull complete [2021-01-20T02:46:29.807Z] 745a02a5169b: Pull complete [2021-01-20T02:46:29.807Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T02:46:29.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T02:46:29.807Z] ---> b7e6874047d6 [2021-01-20T02:46:29.807Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:46:32.449Z] ---> Running in 8d952e5b8569 [2021-01-20T02:46:33.052Z] Removing intermediate container 8d952e5b8569 [2021-01-20T02:46:33.052Z] ---> 14ba95d49145 [2021-01-20T02:46:33.052Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T02:46:33.052Z] ---> Running in 943e4e621ea9 [2021-01-20T02:46:35.676Z] Removing intermediate container 943e4e621ea9 [2021-01-20T02:46:35.676Z] ---> dae12b84217d [2021-01-20T02:46:35.676Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-20T02:46:35.676Z] ---> Running in 1003fa1b0bf9 [2021-01-20T02:46:36.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T02:46:37.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T02:46:39.069Z] OK: 142 MiB in 39 packages [2021-01-20T02:46:40.064Z] Removing intermediate container 1003fa1b0bf9 [2021-01-20T02:46:40.064Z] ---> 54b1146fb625 [2021-01-20T02:46:40.064Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-20T02:46:40.338Z] ---> Running in 556dba0253fa [2021-01-20T02:46:40.939Z] Removing intermediate container 556dba0253fa [2021-01-20T02:46:40.940Z] ---> 359bda046100 [2021-01-20T02:46:40.940Z] Step 7/8 : COPY . . [2021-01-20T02:46:42.381Z] ---> 13c322d51fcf [2021-01-20T02:46:42.381Z] Step 8/8 : RUN go mod download [2021-01-20T02:46:42.381Z] ---> Running in 8912a2235ee8 [2021-01-20T02:46:48.723Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 9.4% of statements [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 21.7% of statements [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.244s coverage: 43.2% of statements [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.289s coverage: 68.9% of statements [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 53.8% of statements [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 26.8% of statements [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.313s coverage: 68.9% of statements [2021-01-20T02:46:48.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.2% of statements [2021-01-20T02:46:48.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-20T02:46:48.724Z] GO111MODULE=on go vet ./... [2021-01-20T02:46:54.107Z] gofmt -l . [2021-01-20T02:46:54.107Z] [ "`gofmt -l .`" = "" ] [2021-01-20T02:46:54.107Z] ./bin/test-attribution-txt.sh [2021-01-20T02:46:54.684Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T02:46:54.965Z] $ docker stop --time=1 e1a26958cdad5391cf1859239127ce44802eecb6b76ff91fa835254ed3bbbc7e [2021-01-20T02:46:56.899Z] $ docker rm -f e1a26958cdad5391cf1859239127ce44802eecb6b76ff91fa835254ed3bbbc7e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T02:46:57.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T02:46:58.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-20T02:46:59.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T02:46:59.606Z] + ls -al . [2021-01-20T02:46:59.607Z] total 224 [2021-01-20T02:46:59.607Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 02:46 . [2021-01-20T02:46:59.607Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 02:44 .. [2021-01-20T02:46:59.607Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 02:44 bin [2021-01-20T02:46:59.607Z] -rw-r--r--. 1 jenkins jenkins 143472 Jan 20 02:46 coverage.out [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 20 02:44 Dockerfile.build [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 02:44 .dockerignore [2021-01-20T02:46:59.607Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 20 02:44 example [2021-01-20T02:46:59.607Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 02:45 .git [2021-01-20T02:46:59.607Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 02:44 .github [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 20 02:44 .gitignore [2021-01-20T02:46:59.607Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 20 02:46 go.mod [2021-01-20T02:46:59.607Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 20 02:46 go.sum [2021-01-20T02:46:59.607Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 20 02:44 internal [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 20 02:44 Jenkinsfile [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 20 02:44 LICENSE [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 20 02:44 Makefile [2021-01-20T02:46:59.607Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 20 02:44 openapi [2021-01-20T02:46:59.607Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 20 02:44 pkg [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 20 02:44 README.md [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 20 02:44 RELEASE-NOTES.txt [2021-01-20T02:46:59.607Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 20 02:44 snap [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 02:42 VERSION [2021-01-20T02:46:59.607Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:46:59.916Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=323969d8b0d68d395ac13414534f7318de76b2f3 --label arch=amd64 --label version=0.0.0 . [2021-01-20T02:47:00.178Z] Sending build context to Docker daemon 2.663MB [2021-01-20T02:47:00.178Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T02:47:00.178Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-20T02:47:00.178Z] ---> 389ed38bbc6e [2021-01-20T02:47:00.178Z] Step 3/24 : ARG MAKE='make build' [2021-01-20T02:47:00.753Z] ---> Running in a6a52e122044 [2021-01-20T02:47:01.015Z] Removing intermediate container a6a52e122044 [2021-01-20T02:47:01.015Z] ---> f181e0810dd7 [2021-01-20T02:47:01.015Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-20T02:47:01.015Z] ---> Running in 81c9079b7f95 [2021-01-20T02:47:01.281Z] Removing intermediate container 81c9079b7f95 [2021-01-20T02:47:01.281Z] ---> 26d2948aa425 [2021-01-20T02:47:01.281Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:47:01.281Z] ---> Running in cd4fc21d4fc3 [2021-01-20T02:47:01.547Z] Removing intermediate container cd4fc21d4fc3 [2021-01-20T02:47:01.547Z] ---> 25cd19a1cf28 [2021-01-20T02:47:01.547Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T02:47:01.547Z] ---> Running in c87b31f1133e [2021-01-20T02:47:02.498Z] Removing intermediate container c87b31f1133e [2021-01-20T02:47:02.498Z] ---> a244ae4d2503 [2021-01-20T02:47:02.498Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-20T02:47:02.498Z] ---> Running in 4a41c9616bb9 [2021-01-20T02:47:03.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T02:47:03.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T02:47:04.532Z] Removing intermediate container 8912a2235ee8 [2021-01-20T02:47:04.533Z] ---> f9078488d487 [2021-01-20T02:47:04.533Z] Successfully built f9078488d487 [2021-01-20T02:47:04.533Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:47:04.602Z] OK: 166 MiB in 39 packages [2021-01-20T02:47:04.868Z] Removing intermediate container 4a41c9616bb9 [2021-01-20T02:47:04.869Z] ---> d01ea778e4de [2021-01-20T02:47:04.869Z] Step 8/24 : COPY . . [2021-01-20T02:47:04.876Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T02:47:04.876Z] . [Pipeline] withDockerContainer [2021-01-20T02:47:05.159Z] prd-ubuntu18.04-docker-arm64-4c-16g-21497 does not seem to be running inside a container [2021-01-20T02:47:05.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T02:47:06.268Z] ---> 3d78e4f192dc [2021-01-20T02:47:06.268Z] Step 9/24 : RUN ${MAKE} [2021-01-20T02:47:06.268Z] ---> Running in e2519ec82e65 [2021-01-20T02:47:06.534Z] 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-20T02:47:06.802Z] $ docker top a973e53e96e52205ce5ca55c7c9259d9f0e575044ebaf608dad8c5686d83756c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T02:47:07.784Z] + go version [2021-01-20T02:47:07.784Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T02:47:07.811Z] $ docker stop --time=1 a973e53e96e52205ce5ca55c7c9259d9f0e575044ebaf608dad8c5686d83756c [2021-01-20T02:47:09.768Z] $ docker rm -f a973e53e96e52205ce5ca55c7c9259d9f0e575044ebaf608dad8c5686d83756c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:47:10.945Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T02:47:10.945Z] . [Pipeline] withDockerContainer [2021-01-20T02:47:11.219Z] prd-ubuntu18.04-docker-arm64-4c-16g-21497 does not seem to be running inside a container [2021-01-20T02:47:11.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T02:47:12.815Z] $ docker top 317dbe1d4857829c2e2afac8cd344a6cfb8b39ba2a8d9a9f43549207ca806f8c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T02:47:13.860Z] + make test [2021-01-20T02:47:13.860Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-20T02:47:14.791Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-20T02:47:16.719Z] Removing intermediate container e2519ec82e65 [2021-01-20T02:47:16.719Z] ---> 66894043ab4d [2021-01-20T02:47:16.719Z] Step 10/24 : FROM scratch [2021-01-20T02:47:16.719Z] ---> [2021-01-20T02:47:16.719Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:47:16.983Z] ---> Running in 6451f2b943b2 [2021-01-20T02:47:16.983Z] Removing intermediate container 6451f2b943b2 [2021-01-20T02:47:16.983Z] ---> 36c6e15bee9c [2021-01-20T02:47:16.983Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-20T02:47:16.983Z] ---> Running in b4079f4f927f [2021-01-20T02:47:17.247Z] Removing intermediate container b4079f4f927f [2021-01-20T02:47:17.247Z] ---> 3d54f86090ee [2021-01-20T02:47:17.247Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-20T02:47:17.247Z] ---> Running in 19eb18b0c3d5 [2021-01-20T02:47:17.512Z] Removing intermediate container 19eb18b0c3d5 [2021-01-20T02:47:17.512Z] ---> 7a68dadcee71 [2021-01-20T02:47:17.512Z] Step 14/24 : WORKDIR / [2021-01-20T02:47:17.512Z] ---> Running in 1dfa4d7ecc53 [2021-01-20T02:47:17.775Z] Removing intermediate container 1dfa4d7ecc53 [2021-01-20T02:47:17.775Z] ---> a7d828d9ca38 [2021-01-20T02:47:17.775Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-20T02:47:18.038Z] ---> 2df52b23a99c [2021-01-20T02:47:18.038Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-20T02:47:18.308Z] ---> d5564c0e1e78 [2021-01-20T02:47:18.308Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-20T02:47:18.573Z] ---> fc61557241f4 [2021-01-20T02:47:18.574Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-20T02:47:18.838Z] ---> 3996f85b72ab [2021-01-20T02:47:18.838Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-20T02:47:19.102Z] ---> d07e8990aff1 [2021-01-20T02:47:19.102Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-20T02:47:19.102Z] ---> Running in 22f778b475a5 [2021-01-20T02:47:19.364Z] Removing intermediate container 22f778b475a5 [2021-01-20T02:47:19.364Z] ---> bbdeca2c13b7 [2021-01-20T02:47:19.364Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T02:47:19.364Z] ---> Running in 104b5ad5728d [2021-01-20T02:47:19.628Z] Removing intermediate container 104b5ad5728d [2021-01-20T02:47:19.628Z] ---> d3845265c6e2 [2021-01-20T02:47:19.628Z] Step 22/24 : LABEL arch=amd64 [2021-01-20T02:47:19.628Z] ---> Running in 1b9b9bc1e066 [2021-01-20T02:47:19.891Z] Removing intermediate container 1b9b9bc1e066 [2021-01-20T02:47:19.892Z] ---> 1004939e65f5 [2021-01-20T02:47:19.892Z] Step 23/24 : LABEL git_sha=323969d8b0d68d395ac13414534f7318de76b2f3 [2021-01-20T02:47:19.892Z] ---> Running in 2e406ac26609 [2021-01-20T02:47:20.154Z] Removing intermediate container 2e406ac26609 [2021-01-20T02:47:20.154Z] ---> 89424d593fb5 [2021-01-20T02:47:20.154Z] Step 24/24 : LABEL version=0.0.0 [2021-01-20T02:47:20.154Z] ---> Running in 20bf5e2e086f [2021-01-20T02:47:20.154Z] Removing intermediate container 20bf5e2e086f [2021-01-20T02:47:20.154Z] ---> 24450eb2e5bd [2021-01-20T02:47:20.154Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T02:47:20.154Z] Successfully built 24450eb2e5bd [2021-01-20T02:47:20.417Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T02:47:36.059Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-20T02:48:15.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-20T02:48:15.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-20T02:48:15.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-20T02:48:15.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.154s coverage: 19.4% of statements [2021-01-20T02:48:20.548Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.158s coverage: 97.1% of statements [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.144s coverage: 9.4% of statements [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 21.7% of statements [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.603s coverage: 43.2% of statements [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.725s coverage: 68.9% of statements [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.186s coverage: 26.8% of statements [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.958s coverage: 68.9% of statements [2021-01-20T02:48:52.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 4.2% of statements [2021-01-20T02:48:52.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-20T02:48:52.901Z] GO111MODULE=on go vet ./... [2021-01-20T02:49:25.326Z] gofmt -l . [2021-01-20T02:49:25.326Z] [ "`gofmt -l .`" = "" ] [2021-01-20T02:49:25.326Z] ./bin/test-attribution-txt.sh [2021-01-20T02:49:25.326Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T02:49:25.354Z] $ docker stop --time=1 317dbe1d4857829c2e2afac8cd344a6cfb8b39ba2a8d9a9f43549207ca806f8c [2021-01-20T02:49:27.583Z] $ docker rm -f 317dbe1d4857829c2e2afac8cd344a6cfb8b39ba2a8d9a9f43549207ca806f8c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T02:49:28.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T02:49:28.682Z] Warning: overwriting stash ‘coverage-report’ [2021-01-20T02:49:29.605Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T02:49:30.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T02:49:30.674Z] + ls -al . [2021-01-20T02:49:30.674Z] total 260 [2021-01-20T02:49:30.674Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 02:49 . [2021-01-20T02:49:30.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:45 .. [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 02:45 .dockerignore [2021-01-20T02:49:30.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 02:45 .git [2021-01-20T02:49:30.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:45 .github [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 20 02:45 .gitignore [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 20 02:45 Dockerfile.build [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 20 02:45 Jenkinsfile [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 20 02:45 LICENSE [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 20 02:45 Makefile [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 20 02:45 README.md [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 20 02:45 RELEASE-NOTES.txt [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 02:42 VERSION [2021-01-20T02:49:30.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:45 bin [2021-01-20T02:49:30.674Z] -rw-r--r-- 1 jenkins jenkins 143471 Jan 20 02:48 coverage.out [2021-01-20T02:49:30.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:45 example [2021-01-20T02:49:30.674Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 20 02:49 go.mod [2021-01-20T02:49:30.674Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 20 02:49 go.sum [2021-01-20T02:49:30.674Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 20 02:45 internal [2021-01-20T02:49:30.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:45 openapi [2021-01-20T02:49:30.674Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 20 02:45 pkg [2021-01-20T02:49:30.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:45 snap [2021-01-20T02:49:30.674Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 20 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:49:31.059Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=323969d8b0d68d395ac13414534f7318de76b2f3 --label arch=arm64 --label version=0.0.0 . [2021-01-20T02:49:31.685Z] Sending build context to Docker daemon 2.661MB [2021-01-20T02:49:31.685Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T02:49:31.685Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-20T02:49:31.685Z] ---> f9078488d487 [2021-01-20T02:49:31.685Z] Step 3/24 : ARG MAKE='make build' [2021-01-20T02:49:31.969Z] ---> Running in e8b9c5076538 [2021-01-20T02:49:32.262Z] Removing intermediate container e8b9c5076538 [2021-01-20T02:49:32.262Z] ---> 83edf5fca8b1 [2021-01-20T02:49:32.262Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-20T02:49:32.538Z] ---> Running in c2e9715e7295 [2021-01-20T02:49:33.139Z] Removing intermediate container c2e9715e7295 [2021-01-20T02:49:33.139Z] ---> 32da6a1af9b4 [2021-01-20T02:49:33.139Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:49:33.139Z] ---> Running in 2c9c16ff24d4 [2021-01-20T02:49:33.739Z] Removing intermediate container 2c9c16ff24d4 [2021-01-20T02:49:33.739Z] ---> 0087012fcec8 [2021-01-20T02:49:33.739Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T02:49:33.739Z] ---> Running in 24132c955072 [2021-01-20T02:49:35.726Z] Removing intermediate container 24132c955072 [2021-01-20T02:49:35.726Z] ---> 298816b0cc93 [2021-01-20T02:49:35.726Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-20T02:49:36.014Z] ---> Running in f0f8de61a375 [2021-01-20T02:49:36.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T02:49:37.586Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T02:49:38.564Z] OK: 142 MiB in 39 packages [2021-01-20T02:49:39.549Z] Removing intermediate container f0f8de61a375 [2021-01-20T02:49:39.549Z] ---> d145d00acb42 [2021-01-20T02:49:39.549Z] Step 8/24 : COPY . . [2021-01-20T02:49:41.535Z] ---> 7e96a292e86a [2021-01-20T02:49:41.535Z] Step 9/24 : RUN ${MAKE} [2021-01-20T02:49:41.535Z] ---> Running in cb42bf2054d6 [2021-01-20T02:49:42.532Z] 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-20T02:50:09.369Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-20T02:50:09.369Z] Removing intermediate container cb42bf2054d6 [2021-01-20T02:50:09.369Z] ---> 36109749a92b [2021-01-20T02:50:09.369Z] Step 10/24 : FROM scratch [2021-01-20T02:50:09.369Z] ---> [2021-01-20T02:50:09.369Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T02:50:09.644Z] ---> Running in a956de0e5781 [2021-01-20T02:50:09.919Z] Removing intermediate container a956de0e5781 [2021-01-20T02:50:09.919Z] ---> 27de646d2924 [2021-01-20T02:50:09.919Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-20T02:50:10.198Z] ---> Running in ed00758b6da9 [2021-01-20T02:50:10.478Z] Removing intermediate container ed00758b6da9 [2021-01-20T02:50:10.479Z] ---> 58e23f6d28a9 [2021-01-20T02:50:10.479Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-20T02:50:10.752Z] ---> Running in 1943af1d7c58 [2021-01-20T02:50:11.026Z] Removing intermediate container 1943af1d7c58 [2021-01-20T02:50:11.026Z] ---> 3f48658a10b6 [2021-01-20T02:50:11.026Z] Step 14/24 : WORKDIR / [2021-01-20T02:50:11.298Z] ---> Running in 53cd6a5f4ce6 [2021-01-20T02:50:11.898Z] Removing intermediate container 53cd6a5f4ce6 [2021-01-20T02:50:11.898Z] ---> 05a62a77f829 [2021-01-20T02:50:11.898Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-20T02:50:12.877Z] ---> 417ee4453955 [2021-01-20T02:50:12.877Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-20T02:50:13.477Z] ---> d769329ef64f [2021-01-20T02:50:13.477Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-20T02:50:14.459Z] ---> 715a5c9cc278 [2021-01-20T02:50:14.459Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-20T02:50:15.054Z] ---> ff7f85af1821 [2021-01-20T02:50:15.054Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-20T02:50:15.653Z] ---> 5f8b5739ea8b [2021-01-20T02:50:15.653Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-20T02:50:15.927Z] ---> Running in ad228215dce1 [2021-01-20T02:50:16.202Z] Removing intermediate container ad228215dce1 [2021-01-20T02:50:16.202Z] ---> fb9368473c3d [2021-01-20T02:50:16.202Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T02:50:16.474Z] ---> Running in 33c67a1159ba [2021-01-20T02:50:17.068Z] Removing intermediate container 33c67a1159ba [2021-01-20T02:50:17.068Z] ---> c63f398c2889 [2021-01-20T02:50:17.068Z] Step 22/24 : LABEL arch=arm64 [2021-01-20T02:50:17.068Z] ---> Running in 0e998b0e2314 [2021-01-20T02:50:17.662Z] Removing intermediate container 0e998b0e2314 [2021-01-20T02:50:17.662Z] ---> d4a4f931d530 [2021-01-20T02:50:17.662Z] Step 23/24 : LABEL git_sha=323969d8b0d68d395ac13414534f7318de76b2f3 [2021-01-20T02:50:17.662Z] ---> Running in eb912b90d8b8 [2021-01-20T02:50:18.261Z] Removing intermediate container eb912b90d8b8 [2021-01-20T02:50:18.261Z] ---> e4b16799f5df [2021-01-20T02:50:18.261Z] Step 24/24 : LABEL version=0.0.0 [2021-01-20T02:50:18.261Z] ---> Running in 4671940b7696 [2021-01-20T02:50:18.858Z] Removing intermediate container 4671940b7696 [2021-01-20T02:50:18.858Z] ---> 1fad7699288f [2021-01-20T02:50:18.858Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T02:50:18.858Z] Successfully built 1fad7699288f [2021-01-20T02:50:18.858Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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-20T02:50:21.043Z] provisioning config files... [2021-01-20T02:50:21.056Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6765828972254051336tmp [Pipeline] { [Pipeline] sh [2021-01-20T02:50:21.466Z] + set +x [2021-01-20T02:50:21.466Z] + curl -s https://codecov.io/bash [2021-01-20T02:50:21.466Z] + bash -s -- [2021-01-20T02:50:21.731Z] [2021-01-20T02:50:21.731Z] _____ _ [2021-01-20T02:50:21.731Z] / ____| | | [2021-01-20T02:50:21.731Z] | | ___ __| | ___ ___ _____ __ [2021-01-20T02:50:21.731Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-20T02:50:21.731Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-20T02:50:21.731Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-20T02:50:21.731Z] Bash-20210115-cec3c92 [2021-01-20T02:50:21.731Z] [2021-01-20T02:50:21.731Z] [2021-01-20T02:50:21.731Z] ==> git version 2.24.3 found [2021-01-20T02:50:21.731Z] ==> 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-20T02:50:21.731Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-20T02:50:21.731Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-20T02:50:21.731Z] ==> Jenkins CI detected. [2021-01-20T02:50:21.731Z] project root: . [2021-01-20T02:50:21.731Z] --> token set from env [2021-01-20T02:50:21.731Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-20T02:50:21.731Z] ==> Running gcov in . (disable via -X gcov) [2021-01-20T02:50:21.731Z] ==> Python coveragepy not found [2021-01-20T02:50:21.731Z] ==> Searching for coverage reports in: [2021-01-20T02:50:21.731Z] + . [2021-01-20T02:50:21.731Z] -> Found 1 reports [2021-01-20T02:50:21.731Z] ==> Detecting git/mercurial file structure [2021-01-20T02:50:21.731Z] ==> Reading reports [2021-01-20T02:50:21.731Z] + ./coverage.out bytes=143471 [2021-01-20T02:50:21.731Z] ==> Appending adjustments [2021-01-20T02:50:21.731Z] https://docs.codecov.io/docs/fixing-reports [2021-01-20T02:50:22.309Z] + Found adjustments [2021-01-20T02:50:22.309Z] ==> Gzipping contents [2021-01-20T02:50:22.309Z] 24K /tmp/codecov.BSl5Bj.gz [2021-01-20T02:50:22.309Z] ==> Uploading reports [2021-01-20T02:50:22.309Z] url: https://codecov.io [2021-01-20T02:50:22.310Z] query: branch=PR-725&commit=323969d8b0d68d395ac13414534f7318de76b2f3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-20T02:50:22.310Z] -> Pinging Codecov [2021-01-20T02:50:22.310Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=323969d8b0d68d395ac13414534f7318de76b2f3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-20T02:50:22.573Z] -> Uploading to [2021-01-20T02:50:22.573Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-20/7E55EF52A471D76F132DFD9A03CDDE97/323969d8b0d68d395ac13414534f7318de76b2f3/03230daa-ac26-462a-aacd-a83176ccbfa3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T025022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0378a62dab9e4d399f705059a20d232e7b5ff546a41f43e4ee5ff5ecd0d94ec [2021-01-20T02:50:22.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-20T02:50:22.573Z] Dload Upload Total Spent Left Speed [2021-01-20T02:50:23.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22247 0 0 100 22247 0 54138 --:--:-- --:--:-- --:--:-- 54128 [2021-01-20T02:50:23.098Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/323969d8b0d68d395ac13414534f7318de76b2f3 [Pipeline] } [2021-01-20T02:50:23.109Z] 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-20T02:50:27.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:27.522Z] ---> package-listing.sh [2021-01-20T02:50:27.522Z] ++ facter osfamily [2021-01-20T02:50:27.522Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T02:50:27.522Z] + OS_FAMILY=redhat [2021-01-20T02:50:27.522Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-20T02:50:27.522Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T02:50:27.522Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T02:50:27.522Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T02:50:27.522Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T02:50:27.522Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-20T02:50:27.522Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T02:50:27.522Z] + case "${OS_FAMILY}" in [2021-01-20T02:50:27.522Z] + rpm -qa [2021-01-20T02:50:27.522Z] + sort [2021-01-20T02:50:32.838Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T02:50:32.838Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T02:50:32.838Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T02:50:32.838Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-20T02:50:32.838Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-20T02:50:32.838Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-01-20T02:50:32.854Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T02:50:33.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:50:33.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T02:50:33.461Z] [2021-01-20T02:50:33.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T02:50:33.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T02:50:33.813Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T02:50:33.813Z] df20fa9351a1: Pulling fs layer [2021-01-20T02:50:33.813Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T02:50:33.813Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T02:50:33.813Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T02:50:33.813Z] 93b61091891f: Pulling fs layer [2021-01-20T02:50:33.813Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T02:50:33.813Z] 5e14af77c1be: Pulling fs layer [2021-01-20T02:50:33.813Z] 01666e4c0597: Pulling fs layer [2021-01-20T02:50:33.813Z] aa168da1d23b: Pulling fs layer [2021-01-20T02:50:33.813Z] 93b9cdb0e59b: Waiting [2021-01-20T02:50:33.813Z] 5e14af77c1be: Waiting [2021-01-20T02:50:33.813Z] 01666e4c0597: Waiting [2021-01-20T02:50:33.813Z] aa168da1d23b: Waiting [2021-01-20T02:50:33.813Z] 46f8f816bc3b: Waiting [2021-01-20T02:50:33.813Z] 93b61091891f: Waiting [2021-01-20T02:50:33.813Z] 36b3adc4ff6f: Download complete [2021-01-20T02:50:33.813Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T02:50:33.813Z] 46f8f816bc3b: Download complete [2021-01-20T02:50:34.076Z] df20fa9351a1: Verifying Checksum [2021-01-20T02:50:34.076Z] df20fa9351a1: Download complete [2021-01-20T02:50:34.076Z] 93b61091891f: Download complete [2021-01-20T02:50:34.076Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T02:50:34.077Z] 93b9cdb0e59b: Download complete [2021-01-20T02:50:34.077Z] 5e14af77c1be: Verifying Checksum [2021-01-20T02:50:34.077Z] 5e14af77c1be: Download complete [2021-01-20T02:50:34.077Z] 01666e4c0597: Verifying Checksum [2021-01-20T02:50:34.077Z] 01666e4c0597: Download complete [2021-01-20T02:50:34.339Z] df20fa9351a1: Pull complete [2021-01-20T02:50:34.603Z] 36b3adc4ff6f: Pull complete [2021-01-20T02:50:34.867Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T02:50:34.867Z] 8ad3a11d3b57: Download complete [2021-01-20T02:50:35.446Z] 8ad3a11d3b57: Pull complete [2021-01-20T02:50:35.709Z] 46f8f816bc3b: Pull complete [2021-01-20T02:50:36.664Z] aa168da1d23b: Verifying Checksum [2021-01-20T02:50:36.664Z] aa168da1d23b: Download complete [2021-01-20T02:50:36.926Z] 93b61091891f: Pull complete [2021-01-20T02:50:37.190Z] 93b9cdb0e59b: Pull complete [2021-01-20T02:50:37.190Z] 5e14af77c1be: Pull complete [2021-01-20T02:50:37.453Z] 01666e4c0597: Pull complete [2021-01-20T02:50:44.094Z] aa168da1d23b: Pull complete [2021-01-20T02:50:44.094Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T02:50:44.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T02:50:44.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T02:50:44.250Z] prd-centos7-docker-4c-2g-21493 does not seem to be running inside a container [2021-01-20T02:50:44.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T02:50:50.029Z] $ docker top 8daa70b57b9166cfebd82c7fdba4b2299eacd838861d555eae876fe7c0e17648 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T02:50:50.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T02:50:50.925Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T02:50:51.713Z] + ls /var/log/sa-host [2021-01-20T02:50:51.713Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T02:50:51.713Z] file_magic: OK [2021-01-20T02:50:51.713Z] HZ: Using current value: 100 [2021-01-20T02:50:51.713Z] file_header: OK [2021-01-20T02:50:51.713Z] 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-20T02:50:51.713Z] Statistics: [2021-01-20T02:50:51.713Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T02:50:51.713Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T02:50:51.713Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T02:50:51.713Z] file_magic: OK [2021-01-20T02:50:51.713Z] HZ: Using current value: 100 [2021-01-20T02:50:51.713Z] file_header: OK [2021-01-20T02:50:51.713Z] 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-20T02:50:51.713Z] Statistics: [2021-01-20T02:50:51.713Z] Hnuu...uuuununununu... [2021-01-20T02:50:51.713Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T02:50:51.924Z] provisioning config files... [2021-01-20T02:50:51.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2248861339183355828tmp [Pipeline] { [Pipeline] echo [2021-01-20T02:50:52.014Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:52.310Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T02:50:52.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T02:50:52.407Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:52.703Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T02:50:52.714Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:53.009Z] ---> sudo-logs.sh [2021-01-20T02:50:53.009Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T02:50:53.019Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:53.316Z] ---> job-cost.sh [2021-01-20T02:50:53.316Z] lf-activate-venv: SKIPPING [2021-01-20T02:50:53.316Z] INFO: No Stack... [2021-01-20T02:50:54.261Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T02:50:54.836Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T02:50:54.849Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T02:50:55.145Z] ---> logs-deploy.sh [2021-01-20T02:50:55.145Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/6 [2021-01-20T02:50:55.145Z] INFO: archiving workspace using pattern(s): [2021-01-20T02:50:57.059Z] Archives upload complete. [2021-01-20T02:50:57.059Z] INFO: archiving logs to Nexus