Pull request #692 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b+d0df7b9da6961378affa4a44df784d03e7885d3e (56c0791ce0215980c44c23444e90c8d58b724b9d) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16044 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [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-692 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b Merge succeeded, producing a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b Checking out Revision a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b (PR-692) > 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/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # 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 d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. > git rev-list --no-walk b51476b3eb5332e9f205f64ae55ba9fc3f7f6495 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-15T04:40:32.309Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T04:40:32.606Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T04:40:32.719Z] ========================================================= [2020-12-15T04:40:32.719Z] EdgeX Global Pipelines Version Info [2020-12-15T04:40:32.719Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:40:34.158Z] ------------------- [2020-12-15T04:40:34.158Z] stable info: [2020-12-15T04:40:34.158Z] ------------------- [2020-12-15T04:40:34.158Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:40:34.158Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:40:34.158Z] Message: update stable to v1.0.172 [2020-12-15T04:40:35.106Z] ------------------- [2020-12-15T04:40:35.106Z] experimental info: [2020-12-15T04:40:35.106Z] ------------------- [2020-12-15T04:40:35.106Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T04:40:35.106Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T04:40:35.106Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T04:40:35.430Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-15T04:40:35.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-15T04:40:35.651Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T04:40:35.751Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T04:40:35.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T04:40:35.955Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T04:40:36.048Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T04:40:36.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T04:40:36.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-15T04:40:36.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T04:40:36.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T04:40:36.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-15T04:40:36.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T04:40:36.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T04:40:36.919Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-15T04:40:37.019Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:40:37.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:40:37.200Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T04:40:37.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-15T04:40:37.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T04:40:37.483Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-15T04:40:37.584Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-15T04:40:37.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T04:40:37.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T04:40:37.892Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-15T04:40:37.991Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T04:40:38.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-692 [Pipeline] echo [2020-12-15T04:40:38.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-692 [Pipeline] echo [2020-12-15T04:40:38.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-692 [Pipeline] echo [2020-12-15T04:40:38.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [Pipeline] echo [2020-12-15T04:40:38.586Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6e7e57 [Pipeline] echo [2020-12-15T04:40:38.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:40:38.878Z] provisioning config files... [2020-12-15T04:40:38.911Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config3610597741515337981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:40:39.296Z] ---> docker-login.sh [2020-12-15T04:40:39.297Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:40:39.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:39.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:39.563Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:39.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:39.563Z] [2020-12-15T04:40:39.563Z] Login Succeeded [2020-12-15T04:40:39.563Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:40:39.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:39.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:39.831Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:39.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:39.831Z] [2020-12-15T04:40:39.831Z] Login Succeeded [2020-12-15T04:40:39.831Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:40:40.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:40.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:40.095Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:40.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:40.095Z] [2020-12-15T04:40:40.095Z] Login Succeeded [2020-12-15T04:40:40.095Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:40:40.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:40.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:40.357Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:40.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:40.357Z] [2020-12-15T04:40:40.357Z] Login Succeeded [2020-12-15T04:40:40.357Z] docker.io [2020-12-15T04:40:40.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:40:40.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:40:40.620Z] Configure a credential helper to remove this warning. See [2020-12-15T04:40:40.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:40:40.620Z] [2020-12-15T04:40:40.620Z] Login Succeeded [2020-12-15T04:40:40.620Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:40:40.630Z] 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 [2020-12-15T04:40:41.554Z] + git log --format=format:%s -1 a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [Pipeline] echo [2020-12-15T04:40:41.687Z] GIT_COMMIT: a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo [2020-12-15T04:40:41.737Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:40:42.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:40:42.364Z] [2020-12-15T04:40:42.364Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:40:42.726Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:40:42.726Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T04:40:42.726Z] 31603596830f: Pulling fs layer [2020-12-15T04:40:42.726Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T04:40:42.726Z] 6ca5941a6612: Pulling fs layer [2020-12-15T04:40:42.726Z] ecc8261a40a4: Pulling fs layer [2020-12-15T04:40:42.726Z] ecc8261a40a4: Waiting [2020-12-15T04:40:42.726Z] 2a8b12db71e7: Verifying Checksum [2020-12-15T04:40:42.726Z] 2a8b12db71e7: Download complete [2020-12-15T04:40:42.726Z] 31603596830f: Verifying Checksum [2020-12-15T04:40:42.726Z] 31603596830f: Download complete [2020-12-15T04:40:42.993Z] ecc8261a40a4: Verifying Checksum [2020-12-15T04:40:42.993Z] ecc8261a40a4: Download complete [2020-12-15T04:40:42.993Z] 6ca5941a6612: Verifying Checksum [2020-12-15T04:40:42.993Z] 6ca5941a6612: Download complete [2020-12-15T04:40:43.257Z] 31603596830f: Pull complete [2020-12-15T04:40:43.257Z] 2a8b12db71e7: Pull complete [2020-12-15T04:40:44.212Z] 6ca5941a6612: Pull complete [2020-12-15T04:40:44.474Z] ecc8261a40a4: Pull complete [2020-12-15T04:40:44.474Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T04:40:44.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T04:40:44.474Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T04:40:44.648Z] prd-centos7-docker-4c-2g-16044 does not seem to be running inside a container [2020-12-15T04:40:44.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T04:40:46.678Z] $ docker top 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T04:40:46.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:40:46.973Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:40:47.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:40:47.201Z] $ docker exec 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 ssh-agent [2020-12-15T04:40:47.364Z] SSH_AUTH_SOCK=/tmp/ssh-avHEFxv3XuTD/agent.12 [2020-12-15T04:40:47.365Z] SSH_AGENT_PID=17 [2020-12-15T04:40:47.374Z] Running ssh-add (command line suppressed) [2020-12-15T04:40:47.495Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_6442827830483198948.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_6442827830483198948.key) [2020-12-15T04:40:47.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:40:47.960Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T04:40:47.986Z] $ docker exec --env ******** --env ******** 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 ssh-agent -k [2020-12-15T04:40:48.102Z] unset SSH_AUTH_SOCK; [2020-12-15T04:40:48.102Z] unset SSH_AGENT_PID; [2020-12-15T04:40:48.103Z] echo Agent pid 17 killed; [2020-12-15T04:40:48.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T04:40:48.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T04:40:48.322Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T04:40:48.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T04:40:48.490Z] $ docker exec 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 ssh-agent [2020-12-15T04:40:48.644Z] SSH_AUTH_SOCK=/tmp/ssh-uE1PkPQST9Tm/agent.45 [2020-12-15T04:40:48.644Z] SSH_AGENT_PID=51 [2020-12-15T04:40:48.650Z] Running ssh-add (command line suppressed) [2020-12-15T04:40:48.771Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_6939316830381424920.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_6939316830381424920.key) [2020-12-15T04:40:48.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T04:40:49.165Z] + git semver init [2020-12-15T04:40:49.165Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T04:40:49.165Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.git [2020-12-15T04:40:49.165Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-692 [2020-12-15T04:40:49.165Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T04:40:49.165Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T04:40:49.165Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T04:40:49.165Z] # $SEMVER_BRANCH = PR-692 [2020-12-15T04:40:49.165Z] # $SEMVER_TEMP = /tmp/semver-397340340 [2020-12-15T04:40:49.165Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-15T04:40:49.742Z] # '/tmp/semver-397340340' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver' [2020-12-15T04:40:50.003Z] # -> Force: false [2020-12-15T04:40:50.003Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver [Pipeline] } [2020-12-15T04:40:50.018Z] $ docker exec --env ******** --env ******** 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 ssh-agent -k [2020-12-15T04:40:50.132Z] unset SSH_AUTH_SOCK; [2020-12-15T04:40:50.132Z] unset SSH_AGENT_PID; [2020-12-15T04:40:50.132Z] echo Agent pid 51 killed; [2020-12-15T04:40:50.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T04:40:50.793Z] + git semver [Pipeline] } [2020-12-15T04:40:50.813Z] $ docker stop --time=1 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 [2020-12-15T04:40:52.331Z] $ docker rm -f 4ec15f0c6b3d04cce265244f5fcdff4672c8bd71f5264657ff86888950e1f5a4 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:40:52.792Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T04:40:53.325Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T04:40:53.328Z] [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 [2020-12-15T04:41:08.921Z] Still waiting to schedule task [2020-12-15T04:41:08.922Z] ‘prd-centos7-builder-2c-1g-16036’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16038’ is offline; ‘prd-centos7-docker-4c-2g-16039’ is offline; ‘prd-centos7-docker-4c-2g-16041’ is offline; ‘prd-centos7-docker-4c-2g-16046’ is offline; ‘prd-centos7-docker-4c-2g-16047’ is offline [2020-12-15T04:41:08.925Z] Still waiting to schedule task [2020-12-15T04:41:08.925Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16042’ [2020-12-15T04:41:26.445Z] Running on prd-centos7-docker-4c-2g-16049 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws [2020-12-15T04:41:26.501Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-12-15T04:41:29.179Z] using credential edgex-jenkins-ssh [2020-12-15T04:41:29.330Z] Cloning the remote Git repository [2020-12-15T04:41:29.364Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:29.526Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-12-15T04:41:29.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:29.588Z] > git --version # timeout=10 [2020-12-15T04:41:29.597Z] > git --version # 'git version 2.24.3' [2020-12-15T04:41:29.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:29.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:41:30.858Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:41:30.962Z] Merge succeeded, producing a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:41:30.962Z] Checking out Revision a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b (PR-692) [2020-12-15T04:41:30.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:41:30.417Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:41:30.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:41:30.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:41:30.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:30.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T04:41:30.867Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:41:30.872Z] > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [2020-12-15T04:41:30.933Z] > git remote # timeout=10 [2020-12-15T04:41:30.939Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:41:30.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:41:30.948Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:41:30.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:41:30.966Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:41:30.972Z] > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [2020-12-15T04:41:34.624Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:41:35.869Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:41:36.214Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:41:36.517Z] + sudo service docker restart [2020-12-15T04:41:36.517Z] + true [2020-12-15T04:41:36.517Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:41:37.532Z] provisioning config files... [2020-12-15T04:41:37.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8637470678909217945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:41:37.917Z] ---> docker-login.sh [2020-12-15T04:41:37.917Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:41:38.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:38.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:38.190Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:38.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:38.190Z] [2020-12-15T04:41:38.190Z] Login Succeeded [2020-12-15T04:41:38.190Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:41:38.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:38.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:38.454Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:38.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:38.454Z] [2020-12-15T04:41:38.454Z] Login Succeeded [2020-12-15T04:41:38.454Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:41:38.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:38.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:38.716Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:38.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:38.716Z] [2020-12-15T04:41:38.716Z] Login Succeeded [2020-12-15T04:41:38.716Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:41:38.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:38.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:38.980Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:38.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:38.980Z] [2020-12-15T04:41:38.980Z] Login Succeeded [2020-12-15T04:41:38.980Z] docker.io [2020-12-15T04:41:38.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:41:39.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:41:39.244Z] Configure a credential helper to remove this warning. See [2020-12-15T04:41:39.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:41:39.244Z] [2020-12-15T04:41:39.244Z] Login Succeeded [2020-12-15T04:41:39.244Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:41:39.270Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:41:39.622Z] ========================================================= [2020-12-15T04:41:39.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T04:41:39.622Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:41:39.964Z] + 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 . [2020-12-15T04:41:39.965Z] Sending build context to Docker daemon 2.385MB [2020-12-15T04:41:39.965Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:41:39.965Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:41:40.227Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T04:41:40.227Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T04:41:40.227Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T04:41:40.227Z] de9db76c5a1d: Pulling fs layer [2020-12-15T04:41:40.227Z] bca2f99d35d6: Pulling fs layer [2020-12-15T04:41:40.227Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T04:41:40.227Z] 7c6f9722023f: Pulling fs layer [2020-12-15T04:41:40.227Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T04:41:40.227Z] bca2f99d35d6: Waiting [2020-12-15T04:41:40.227Z] 93359f2a8cfa: Waiting [2020-12-15T04:41:40.227Z] 7c6f9722023f: Waiting [2020-12-15T04:41:40.227Z] a35cf1a2eb13: Waiting [2020-12-15T04:41:40.227Z] de9db76c5a1d: Download complete [2020-12-15T04:41:40.227Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T04:41:40.227Z] 0ef7d3d256c8: Download complete [2020-12-15T04:41:40.227Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T04:41:40.227Z] 93359f2a8cfa: Download complete [2020-12-15T04:41:40.227Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T04:41:40.227Z] 188c0c94c7c5: Download complete [2020-12-15T04:41:40.227Z] 7c6f9722023f: Verifying Checksum [2020-12-15T04:41:40.227Z] 7c6f9722023f: Download complete [2020-12-15T04:41:40.501Z] 188c0c94c7c5: Pull complete [2020-12-15T04:41:40.768Z] 0ef7d3d256c8: Pull complete [2020-12-15T04:41:40.768Z] de9db76c5a1d: Pull complete [2020-12-15T04:41:42.168Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T04:41:42.168Z] a35cf1a2eb13: Download complete [2020-12-15T04:41:42.747Z] bca2f99d35d6: Verifying Checksum [2020-12-15T04:41:42.747Z] bca2f99d35d6: Download complete [2020-12-15T04:41:49.376Z] bca2f99d35d6: Pull complete [2020-12-15T04:41:49.376Z] 93359f2a8cfa: Pull complete [2020-12-15T04:41:49.376Z] 7c6f9722023f: Pull complete [2020-12-15T04:41:51.942Z] a35cf1a2eb13: Pull complete [2020-12-15T04:41:51.942Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T04:41:52.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T04:41:52.206Z] ---> a62c8e92a672 [2020-12-15T04:41:52.206Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:41:52.471Z] ---> Running in 986a67e6ad03 [2020-12-15T04:41:52.471Z] Removing intermediate container 986a67e6ad03 [2020-12-15T04:41:52.471Z] ---> 1b34715377f1 [2020-12-15T04:41:52.471Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:41:52.741Z] ---> Running in f83bc39c431e [2020-12-15T04:41:53.712Z] Removing intermediate container f83bc39c431e [2020-12-15T04:41:53.712Z] ---> b72eb86258ec [2020-12-15T04:41:53.712Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:41:53.712Z] ---> Running in abf741815d14 [2020-12-15T04:41:55.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:41:55.689Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:41:56.264Z] OK: 166 MiB in 39 packages [2020-12-15T04:41:56.855Z] Removing intermediate container abf741815d14 [2020-12-15T04:41:56.855Z] ---> 6a6da36ae91f [2020-12-15T04:41:56.855Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:41:56.855Z] ---> Running in 6d3f97ccf98d [2020-12-15T04:41:57.119Z] Removing intermediate container 6d3f97ccf98d [2020-12-15T04:41:57.119Z] ---> a3b4717c4fa6 [2020-12-15T04:41:57.119Z] Step 7/8 : COPY . . [2020-12-15T04:41:58.139Z] ---> b30ad0103d3e [2020-12-15T04:41:58.139Z] Step 8/8 : RUN go mod download [2020-12-15T04:41:58.139Z] ---> Running in a4c194e27712 [2020-12-15T04:42:16.360Z] Removing intermediate container a4c194e27712 [2020-12-15T04:42:16.360Z] ---> 7e601db8ac01 [2020-12-15T04:42:16.360Z] Successfully built 7e601db8ac01 [2020-12-15T04:42:16.360Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:42:16.690Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:42:16.690Z] . [Pipeline] withDockerContainer [2020-12-15T04:42:16.988Z] prd-centos7-docker-4c-2g-16049 does not seem to be running inside a container [2020-12-15T04:42:17.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-12-15T04:42:18.413Z] $ docker top c3158026977d05fc1f6b349e2ffcbd483ed67b2b149be57f79082cb3282b0432 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:42:18.909Z] + go version [2020-12-15T04:42:18.909Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T04:42:18.929Z] $ docker stop --time=1 c3158026977d05fc1f6b349e2ffcbd483ed67b2b149be57f79082cb3282b0432 [2020-12-15T04:42:20.309Z] $ docker rm -f c3158026977d05fc1f6b349e2ffcbd483ed67b2b149be57f79082cb3282b0432 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:42:21.296Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T04:42:21.296Z] . [Pipeline] withDockerContainer [2020-12-15T04:42:21.397Z] prd-centos7-docker-4c-2g-16049 does not seem to be running inside a container [2020-12-15T04:42:21.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-12-15T04:42:22.019Z] $ docker top 0d44bfabcb5fc3cd422db26d590ed89cb7f3db9c44b45fcfebee6ea5224a5c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:42:22.513Z] + make test [2020-12-15T04:42:22.513Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:42:30.729Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:42:45.795Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:42:45.795Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:42:45.795Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:42:45.795Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 20.6% of statements [2020-12-15T04:42:46.749Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.440s coverage: 97.1% of statements [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.218s coverage: 42.5% of statements [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.294s coverage: 68.9% of statements [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 53.8% of statements [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.289s coverage: 68.9% of statements [2020-12-15T04:43:18.941Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.6% of statements [2020-12-15T04:43:18.941Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:43:18.941Z] GO111MODULE=on go vet ./... [2020-12-15T04:43:24.345Z] gofmt -l . [2020-12-15T04:43:24.345Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:43:24.345Z] ./bin/test-attribution-txt.sh [2020-12-15T04:43:25.295Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:43:25.314Z] $ docker stop --time=1 0d44bfabcb5fc3cd422db26d590ed89cb7f3db9c44b45fcfebee6ea5224a5c8c [2020-12-15T04:43:27.230Z] $ docker rm -f 0d44bfabcb5fc3cd422db26d590ed89cb7f3db9c44b45fcfebee6ea5224a5c8c [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:43:27.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:43:28.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-15T04:43:29.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:43:29.822Z] + ls -al . [2020-12-15T04:43:29.822Z] total 208 [2020-12-15T04:43:29.822Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 04:43 . [2020-12-15T04:43:29.822Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 15 04:41 .. [2020-12-15T04:43:29.822Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 04:41 bin [2020-12-15T04:43:29.822Z] -rw-r--r--. 1 jenkins jenkins 128828 Dec 15 04:43 coverage.out [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 04:41 Dockerfile.build [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 04:41 .dockerignore [2020-12-15T04:43:29.822Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 04:41 example [2020-12-15T04:43:29.822Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 15 04:41 .git [2020-12-15T04:43:29.822Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 04:41 .github [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 04:41 .gitignore [2020-12-15T04:43:29.822Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 15 04:43 go.mod [2020-12-15T04:43:29.822Z] -rw-r--r--. 1 jenkins jenkins 13734 Dec 15 04:43 go.sum [2020-12-15T04:43:29.822Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 04:41 internal [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 04:41 Jenkinsfile [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 04:41 LICENSE [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 04:41 Makefile [2020-12-15T04:43:29.822Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 04:41 openapi [2020-12-15T04:43:29.822Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 04:41 pkg [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 04:41 README.md [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 04:41 RELEASE-NOTES.txt [2020-12-15T04:43:29.822Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 04:41 snap [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 15 04:40 VERSION [2020-12-15T04:43:29.822Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 04:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:43:30.133Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b --label arch=amd64 --label version=0.0.0 . [2020-12-15T04:43:30.402Z] Sending build context to Docker daemon 2.514MB [2020-12-15T04:43:30.402Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:43:30.402Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:43:30.402Z] ---> 7e601db8ac01 [2020-12-15T04:43:30.402Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:43:31.000Z] ---> Running in 2da43053e218 [2020-12-15T04:43:31.270Z] Removing intermediate container 2da43053e218 [2020-12-15T04:43:31.270Z] ---> eaa937e9683f [2020-12-15T04:43:31.270Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:43:31.270Z] ---> Running in 6fd69859acb4 [2020-12-15T04:43:31.541Z] Removing intermediate container 6fd69859acb4 [2020-12-15T04:43:31.541Z] ---> 8874d4e9eeb6 [2020-12-15T04:43:31.541Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:43:31.541Z] ---> Running in 31171852471f [2020-12-15T04:43:31.541Z] Removing intermediate container 31171852471f [2020-12-15T04:43:31.541Z] ---> 92968599cbe7 [2020-12-15T04:43:31.541Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:43:31.805Z] ---> Running in eb21bcdfb830 [2020-12-15T04:43:32.763Z] Removing intermediate container eb21bcdfb830 [2020-12-15T04:43:32.763Z] ---> 4b6b976adc81 [2020-12-15T04:43:32.763Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:43:32.763Z] ---> Running in 1638bfdb1aac [2020-12-15T04:43:33.340Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T04:43:33.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T04:43:34.873Z] OK: 166 MiB in 39 packages [2020-12-15T04:43:35.150Z] Removing intermediate container 1638bfdb1aac [2020-12-15T04:43:35.150Z] ---> 84da588137c8 [2020-12-15T04:43:35.150Z] Step 8/24 : COPY . . [2020-12-15T04:43:36.098Z] ---> d23318bf67aa [2020-12-15T04:43:36.098Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:43:36.364Z] ---> Running in a75ba7c01574 [2020-12-15T04:43:36.942Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:43:43.977Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16051 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws [2020-12-15T04:43:44.060Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-12-15T04:43:45.214Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:43:47.143Z] Removing intermediate container a75ba7c01574 [2020-12-15T04:43:47.143Z] ---> 9d460ab68561 [2020-12-15T04:43:47.143Z] Step 10/24 : FROM scratch [2020-12-15T04:43:47.143Z] ---> [2020-12-15T04:43:47.143Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:43:47.143Z] ---> Running in 5b21595bea36 [2020-12-15T04:43:47.143Z] Removing intermediate container 5b21595bea36 [2020-12-15T04:43:47.143Z] ---> c38f682ea1ff [2020-12-15T04:43:47.143Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:43:47.143Z] ---> Running in eb03c5356a78 [2020-12-15T04:43:47.405Z] Removing intermediate container eb03c5356a78 [2020-12-15T04:43:47.405Z] ---> 35f1f04d5f8b [2020-12-15T04:43:47.405Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:43:47.405Z] ---> Running in 66840bf3c222 [2020-12-15T04:43:47.405Z] Removing intermediate container 66840bf3c222 [2020-12-15T04:43:47.405Z] ---> 3d6549aea4e4 [2020-12-15T04:43:47.405Z] Step 14/24 : WORKDIR / [2020-12-15T04:43:47.667Z] ---> Running in 9a1b221fd1da [2020-12-15T04:43:47.667Z] Removing intermediate container 9a1b221fd1da [2020-12-15T04:43:47.667Z] ---> 792776117e3b [2020-12-15T04:43:47.667Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:43:48.612Z] ---> c711d640419a [2020-12-15T04:43:48.612Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:43:48.877Z] ---> e3e1086ad71b [2020-12-15T04:43:48.877Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:43:49.143Z] ---> a91c4a424e5d [2020-12-15T04:43:49.143Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:43:49.405Z] ---> a7cfccd611dd [2020-12-15T04:43:49.405Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:43:49.667Z] ---> d450ad4c5c0e [2020-12-15T04:43:49.667Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:43:49.667Z] ---> Running in 307131a17d01 [2020-12-15T04:43:49.667Z] Removing intermediate container 307131a17d01 [2020-12-15T04:43:49.667Z] ---> f54032766c06 [2020-12-15T04:43:49.667Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:43:49.835Z] using credential edgex-jenkins-ssh [2020-12-15T04:43:49.899Z] Cloning the remote Git repository [2020-12-15T04:43:49.929Z] ---> Running in 09ef2ff339f3 [2020-12-15T04:43:49.930Z] Removing intermediate container 09ef2ff339f3 [2020-12-15T04:43:49.930Z] ---> 92dd20e04294 [2020-12-15T04:43:49.930Z] Step 22/24 : LABEL arch=amd64 [2020-12-15T04:43:50.191Z] ---> Running in 394d69e28082 [2020-12-15T04:43:50.191Z] Removing intermediate container 394d69e28082 [2020-12-15T04:43:50.191Z] ---> 319f1c07c43f [2020-12-15T04:43:50.191Z] Step 23/24 : LABEL git_sha=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:43:50.191Z] ---> Running in a0e8e9689f07 [2020-12-15T04:43:50.458Z] Removing intermediate container a0e8e9689f07 [2020-12-15T04:43:50.458Z] ---> ebaac15c9d09 [2020-12-15T04:43:50.458Z] Step 24/24 : LABEL version=0.0.0 [2020-12-15T04:43:50.458Z] ---> Running in dcd42c159717 [2020-12-15T04:43:49.964Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:50.084Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-12-15T04:43:50.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:50.170Z] > git --version # timeout=10 [2020-12-15T04:43:50.189Z] > git --version # 'git version 2.17.1' [2020-12-15T04:43:50.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:50.247Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:43:50.720Z] Removing intermediate container dcd42c159717 [2020-12-15T04:43:50.721Z] ---> f15b881b113b [2020-12-15T04:43:50.721Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:43:50.721Z] Successfully built f15b881b113b [2020-12-15T04:43:50.721Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-12-15T04:43:51.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:43:51.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T04:43:51.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-15T04:43:51.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-15T04:43:51.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:51.712Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-15T04:43:52.220Z] Merging remotes/origin/master commit d0df7b9da6961378affa4a44df784d03e7885d3e into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:43:52.517Z] Merge succeeded, producing a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:43:52.517Z] Checking out Revision a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b (PR-692) [2020-12-15T04:43:52.245Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:43:52.269Z] > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [2020-12-15T04:43:52.403Z] > git remote # timeout=10 [2020-12-15T04:43:52.423Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T04:43:52.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T04:43:52.473Z] > git merge d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 [2020-12-15T04:43:52.499Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T04:43:52.582Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T04:43:52.618Z] > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 [2020-12-15T04:43:57.157Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:43:58.685Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:43:59.138Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T04:43:59.563Z] + sudo service docker+ restart [2020-12-15T04:43:59.563Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-15T04:44:02.283Z] provisioning config files... [2020-12-15T04:44:02.325Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1594432273972094211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:44:02.733Z] ---> docker-login.sh [2020-12-15T04:44:02.733Z] nexus3.edgexfoundry.org:10001 [2020-12-15T04:44:03.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:44:03.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:44:03.931Z] Configure a credential helper to remove this warning. See [2020-12-15T04:44:03.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:44:03.931Z] [2020-12-15T04:44:03.931Z] Login Succeeded [2020-12-15T04:44:03.931Z] nexus3.edgexfoundry.org:10002 [2020-12-15T04:44:04.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:44:04.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:44:04.486Z] Configure a credential helper to remove this warning. See [2020-12-15T04:44:04.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:44:04.486Z] [2020-12-15T04:44:04.486Z] Login Succeeded [2020-12-15T04:44:04.486Z] nexus3.edgexfoundry.org:10003 [2020-12-15T04:44:04.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:44:04.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:44:04.758Z] Configure a credential helper to remove this warning. See [2020-12-15T04:44:04.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:44:04.758Z] [2020-12-15T04:44:04.758Z] Login Succeeded [2020-12-15T04:44:04.758Z] nexus3.edgexfoundry.org:10004 [2020-12-15T04:44:05.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:44:05.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:44:05.357Z] Configure a credential helper to remove this warning. See [2020-12-15T04:44:05.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:44:05.357Z] [2020-12-15T04:44:05.357Z] Login Succeeded [2020-12-15T04:44:05.357Z] docker.io [2020-12-15T04:44:05.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-15T04:44:06.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-15T04:44:06.229Z] Configure a credential helper to remove this warning. See [2020-12-15T04:44:06.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-15T04:44:06.229Z] [2020-12-15T04:44:06.229Z] Login Succeeded [2020-12-15T04:44:06.229Z] ---> docker-login.sh ends [Pipeline] } [2020-12-15T04:44:06.249Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-15T04:44:06.745Z] ========================================================= [2020-12-15T04:44:06.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T04:44:06.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:44:07.175Z] + 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 . [2020-12-15T04:44:07.461Z] Sending build context to Docker daemon 2.385MB [2020-12-15T04:44:07.737Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-15T04:44:07.737Z] Step 2/8 : FROM ${BASE} [2020-12-15T04:44:07.737Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T04:44:07.737Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T04:44:07.737Z] a4357932f1b6: Pulling fs layer [2020-12-15T04:44:07.737Z] 18c013af1878: Pulling fs layer [2020-12-15T04:44:07.737Z] 00ac8860ef70: Pulling fs layer [2020-12-15T04:44:07.737Z] 63d7cb157983: Pulling fs layer [2020-12-15T04:44:07.737Z] b116817d02f9: Pulling fs layer [2020-12-15T04:44:07.737Z] 745a02a5169b: Pulling fs layer [2020-12-15T04:44:07.737Z] 63d7cb157983: Waiting [2020-12-15T04:44:07.737Z] b116817d02f9: Waiting [2020-12-15T04:44:07.737Z] 00ac8860ef70: Waiting [2020-12-15T04:44:07.737Z] 745a02a5169b: Waiting [2020-12-15T04:44:07.737Z] 18c013af1878: Verifying Checksum [2020-12-15T04:44:07.737Z] 18c013af1878: Download complete [2020-12-15T04:44:07.737Z] a4357932f1b6: Verifying Checksum [2020-12-15T04:44:07.737Z] a4357932f1b6: Download complete [2020-12-15T04:44:07.737Z] 63d7cb157983: Verifying Checksum [2020-12-15T04:44:07.737Z] 63d7cb157983: Download complete [2020-12-15T04:44:07.737Z] b116817d02f9: Download complete [2020-12-15T04:44:07.737Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T04:44:07.737Z] 5f621e34cdf4: Download complete [2020-12-15T04:44:08.747Z] 5f621e34cdf4: Pull complete [2020-12-15T04:44:09.375Z] a4357932f1b6: Pull complete [2020-12-15T04:44:09.662Z] 18c013af1878: Pull complete [2020-12-15T04:44:10.669Z] 745a02a5169b: Verifying Checksum [2020-12-15T04:44:10.669Z] 745a02a5169b: Download complete [2020-12-15T04:44:11.660Z] 00ac8860ef70: Verifying Checksum [2020-12-15T04:44:11.660Z] 00ac8860ef70: Download complete [2020-12-15T04:44:21.850Z] 00ac8860ef70: Pull complete [2020-12-15T04:44:21.850Z] 63d7cb157983: Pull complete [2020-12-15T04:44:21.850Z] b116817d02f9: Pull complete [2020-12-15T04:44:25.243Z] 745a02a5169b: Pull complete [2020-12-15T04:44:25.243Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T04:44:25.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T04:44:25.243Z] ---> b7e6874047d6 [2020-12-15T04:44:25.243Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:44:28.663Z] ---> Running in 77d2f27b489b [2020-12-15T04:44:29.261Z] Removing intermediate container 77d2f27b489b [2020-12-15T04:44:29.262Z] ---> 17bdc4d7f068 [2020-12-15T04:44:29.262Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:44:29.262Z] ---> Running in b1fe109349d7 [2020-12-15T04:44:31.896Z] Removing intermediate container b1fe109349d7 [2020-12-15T04:44:31.896Z] ---> 0897fa2392b9 [2020-12-15T04:44:31.896Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-15T04:44:31.896Z] ---> Running in 6e55da9face8 [2020-12-15T04:44:32.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:44:33.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:44:34.472Z] OK: 142 MiB in 39 packages [2020-12-15T04:44:35.916Z] Removing intermediate container 6e55da9face8 [2020-12-15T04:44:35.916Z] ---> 1a80b66b739c [2020-12-15T04:44:35.916Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-15T04:44:35.916Z] ---> Running in 6658b635ef78 [2020-12-15T04:44:36.514Z] Removing intermediate container 6658b635ef78 [2020-12-15T04:44:36.514Z] ---> cebbcff4241d [2020-12-15T04:44:36.514Z] Step 7/8 : COPY . . [2020-12-15T04:44:37.508Z] ---> 9fe5e565a031 [2020-12-15T04:44:37.508Z] Step 8/8 : RUN go mod download [2020-12-15T04:44:37.787Z] ---> Running in 23decd7d7fd4 [2020-12-15T04:45:04.598Z] Removing intermediate container 23decd7d7fd4 [2020-12-15T04:45:04.598Z] ---> afd63eebc097 [2020-12-15T04:45:04.598Z] Successfully built afd63eebc097 [2020-12-15T04:45:04.598Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:45:04.955Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:45:04.955Z] . [Pipeline] withDockerContainer [2020-12-15T04:45:05.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-16051 does not seem to be running inside a container [2020-12-15T04:45:05.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-12-15T04:45:07.166Z] $ docker top d288c9cadde992683fe25adc1e4c2f24139657427e8ade1eef26989b4f0349f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:45:08.266Z] + go version [2020-12-15T04:45:08.266Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T04:45:08.301Z] $ docker stop --time=1 d288c9cadde992683fe25adc1e4c2f24139657427e8ade1eef26989b4f0349f9 [2020-12-15T04:45:10.350Z] $ docker rm -f d288c9cadde992683fe25adc1e4c2f24139657427e8ade1eef26989b4f0349f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:45:11.474Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T04:45:11.474Z] . [Pipeline] withDockerContainer [2020-12-15T04:45:11.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-16051 does not seem to be running inside a container [2020-12-15T04:45:11.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-12-15T04:45:13.506Z] $ docker top e82c1f88b5e98d206e283ebfc5d3d5f11b31f65084c35762ba65dfa630f0aca4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:45:14.570Z] + make test [2020-12-15T04:45:14.570Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-15T04:45:41.421Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-15T04:46:28.525Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-15T04:46:28.525Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-15T04:46:28.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-15T04:46:28.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.129s coverage: 20.6% of statements [2020-12-15T04:46:29.127Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.321s coverage: 97.1% of statements [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.646s coverage: 42.5% of statements [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.828s coverage: 68.9% of statements [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.212s coverage: 53.8% of statements [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.102s coverage: 68.9% of statements [2020-12-15T04:46:55.987Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.6% of statements [2020-12-15T04:46:55.987Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-15T04:46:56.260Z] GO111MODULE=on go vet ./... [2020-12-15T04:47:28.736Z] gofmt -l . [2020-12-15T04:47:28.736Z] [ "`gofmt -l .`" = "" ] [2020-12-15T04:47:28.736Z] ./bin/test-attribution-txt.sh [2020-12-15T04:47:28.736Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-15T04:47:28.761Z] $ docker stop --time=1 e82c1f88b5e98d206e283ebfc5d3d5f11b31f65084c35762ba65dfa630f0aca4 [2020-12-15T04:47:31.084Z] $ docker rm -f e82c1f88b5e98d206e283ebfc5d3d5f11b31f65084c35762ba65dfa630f0aca4 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T04:47:32.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T04:47:32.135Z] Warning: overwriting stash ‘coverage-report’ [2020-12-15T04:47:32.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T04:47:33.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-15T04:47:34.108Z] + ls -al . [2020-12-15T04:47:34.108Z] total 244 [2020-12-15T04:47:34.108Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 04:47 . [2020-12-15T04:47:34.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:43 .. [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 04:43 .dockerignore [2020-12-15T04:47:34.108Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 04:43 .git [2020-12-15T04:47:34.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:43 .github [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 04:43 .gitignore [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 04:43 Dockerfile.build [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 04:43 Jenkinsfile [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 04:43 LICENSE [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 04:43 Makefile [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 04:43 README.md [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 04:43 RELEASE-NOTES.txt [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 04:40 VERSION [2020-12-15T04:47:34.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:43 bin [2020-12-15T04:47:34.108Z] -rw-r--r-- 1 jenkins jenkins 128828 Dec 15 04:46 coverage.out [2020-12-15T04:47:34.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:43 example [2020-12-15T04:47:34.108Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 15 04:47 go.mod [2020-12-15T04:47:34.108Z] -rw-r--r-- 1 jenkins jenkins 13734 Dec 15 04:47 go.sum [2020-12-15T04:47:34.108Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 04:43 internal [2020-12-15T04:47:34.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:43 openapi [2020-12-15T04:47:34.108Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 04:43 pkg [2020-12-15T04:47:34.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:43 snap [2020-12-15T04:47:34.108Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 04:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:47:34.446Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b --label arch=arm64 --label version=0.0.0 . [2020-12-15T04:47:34.721Z] Sending build context to Docker daemon 2.515MB [2020-12-15T04:47:34.721Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-15T04:47:34.721Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-15T04:47:34.721Z] ---> afd63eebc097 [2020-12-15T04:47:34.721Z] Step 3/24 : ARG MAKE='make build' [2020-12-15T04:47:34.999Z] ---> Running in 8d50a2bcc2e6 [2020-12-15T04:47:35.594Z] Removing intermediate container 8d50a2bcc2e6 [2020-12-15T04:47:35.594Z] ---> 12f8b8b6dac2 [2020-12-15T04:47:35.594Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-15T04:47:35.594Z] ---> Running in b78921f31dab [2020-12-15T04:47:36.191Z] Removing intermediate container b78921f31dab [2020-12-15T04:47:36.191Z] ---> 7d96e5877589 [2020-12-15T04:47:36.191Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:47:36.191Z] ---> Running in d91e5124a98a [2020-12-15T04:47:36.785Z] Removing intermediate container d91e5124a98a [2020-12-15T04:47:36.785Z] ---> 799be79d19b9 [2020-12-15T04:47:36.785Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-15T04:47:36.785Z] ---> Running in b11dde71adfd [2020-12-15T04:47:39.400Z] Removing intermediate container b11dde71adfd [2020-12-15T04:47:39.400Z] ---> 53a4694ec771 [2020-12-15T04:47:39.400Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-15T04:47:39.400Z] ---> Running in 45613e9b61ad [2020-12-15T04:47:40.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T04:47:40.978Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-15T04:47:42.410Z] OK: 142 MiB in 39 packages [2020-12-15T04:47:43.389Z] Removing intermediate container 45613e9b61ad [2020-12-15T04:47:43.389Z] ---> 0f3912b2483b [2020-12-15T04:47:43.389Z] Step 8/24 : COPY . . [2020-12-15T04:47:44.372Z] ---> 53fbde16bf2e [2020-12-15T04:47:44.372Z] Step 9/24 : RUN ${MAKE} [2020-12-15T04:47:44.372Z] ---> Running in 339e8d48c5c2 [2020-12-15T04:47:45.814Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-15T04:48:12.657Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-15T04:48:12.657Z] Removing intermediate container 339e8d48c5c2 [2020-12-15T04:48:12.657Z] ---> 12324f92e47d [2020-12-15T04:48:12.657Z] Step 10/24 : FROM scratch [2020-12-15T04:48:12.657Z] ---> [2020-12-15T04:48:12.657Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-15T04:48:12.657Z] ---> Running in f4dfd075bc2d [2020-12-15T04:48:12.657Z] Removing intermediate container f4dfd075bc2d [2020-12-15T04:48:12.657Z] ---> c3a5080a7415 [2020-12-15T04:48:12.657Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-15T04:48:12.657Z] ---> Running in a2e9014c1160 [2020-12-15T04:48:13.249Z] Removing intermediate container a2e9014c1160 [2020-12-15T04:48:13.249Z] ---> fe8d730dd5e0 [2020-12-15T04:48:13.249Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-15T04:48:13.249Z] ---> Running in 9dc9b375dcba [2020-12-15T04:48:13.520Z] Removing intermediate container 9dc9b375dcba [2020-12-15T04:48:13.520Z] ---> e471da3af5af [2020-12-15T04:48:13.520Z] Step 14/24 : WORKDIR / [2020-12-15T04:48:13.792Z] ---> Running in 55bbd8a14dc4 [2020-12-15T04:48:14.066Z] Removing intermediate container 55bbd8a14dc4 [2020-12-15T04:48:14.066Z] ---> de63c1dfa09b [2020-12-15T04:48:14.066Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-15T04:48:15.494Z] ---> 61d0ef76a3d2 [2020-12-15T04:48:15.494Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-15T04:48:15.774Z] ---> 5c18fcec67ba [2020-12-15T04:48:15.774Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-15T04:48:16.747Z] ---> 2ee4810ff84e [2020-12-15T04:48:16.747Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-15T04:48:17.344Z] ---> d66aa8b0d1a4 [2020-12-15T04:48:17.344Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-15T04:48:17.939Z] ---> 86797d9bd4b7 [2020-12-15T04:48:17.939Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-15T04:48:18.209Z] ---> Running in 1b83095a0c24 [2020-12-15T04:48:18.479Z] Removing intermediate container 1b83095a0c24 [2020-12-15T04:48:18.479Z] ---> e9ba4b37984e [2020-12-15T04:48:18.479Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-15T04:48:18.752Z] ---> Running in f209fced93ba [2020-12-15T04:48:19.025Z] Removing intermediate container f209fced93ba [2020-12-15T04:48:19.025Z] ---> d22331bfb18f [2020-12-15T04:48:19.025Z] Step 22/24 : LABEL arch=arm64 [2020-12-15T04:48:19.298Z] ---> Running in 8cda77f00815 [2020-12-15T04:48:19.571Z] Removing intermediate container 8cda77f00815 [2020-12-15T04:48:19.571Z] ---> 5677150e50b6 [2020-12-15T04:48:19.571Z] Step 23/24 : LABEL git_sha=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [2020-12-15T04:48:19.848Z] ---> Running in 20a7a515228b [2020-12-15T04:48:20.443Z] Removing intermediate container 20a7a515228b [2020-12-15T04:48:20.443Z] ---> 7aed45feddea [2020-12-15T04:48:20.443Z] Step 24/24 : LABEL version=0.0.0 [2020-12-15T04:48:20.443Z] ---> Running in 73e34b64328f [2020-12-15T04:48:20.722Z] Removing intermediate container 73e34b64328f [2020-12-15T04:48:20.722Z] ---> 979e311e0784 [2020-12-15T04:48:20.722Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-15T04:48:20.993Z] Successfully built 979e311e0784 [2020-12-15T04:48:20.993Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-15T04:48:22.589Z] provisioning config files... [2020-12-15T04:48:22.602Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config3051100440012970461tmp [Pipeline] { [Pipeline] sh [2020-12-15T04:48:22.989Z] + set +x [2020-12-15T04:48:22.989Z] + curl -s https://codecov.io/bash [2020-12-15T04:48:22.989Z] + bash -s -- [2020-12-15T04:48:23.251Z] [2020-12-15T04:48:23.251Z] _____ _ [2020-12-15T04:48:23.251Z] / ____| | | [2020-12-15T04:48:23.251Z] | | ___ __| | ___ ___ _____ __ [2020-12-15T04:48:23.251Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-15T04:48:23.251Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-15T04:48:23.251Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-15T04:48:23.251Z] Bash-20201130-cc6d3fe [2020-12-15T04:48:23.251Z] [2020-12-15T04:48:23.251Z] [2020-12-15T04:48:23.251Z] ==> Jenkins CI detected. [2020-12-15T04:48:23.251Z] project root: . [2020-12-15T04:48:23.251Z] --> token set from env [2020-12-15T04:48:23.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-15T04:48:23.252Z] ==> Running gcov in . (disable via -X gcov) [2020-12-15T04:48:23.252Z] ==> Python coveragepy not found [2020-12-15T04:48:23.252Z] ==> Searching for coverage reports in: [2020-12-15T04:48:23.252Z] + . [2020-12-15T04:48:23.252Z] -> Found 1 reports [2020-12-15T04:48:23.252Z] ==> Detecting git/mercurial file structure [2020-12-15T04:48:23.252Z] ==> Reading reports [2020-12-15T04:48:23.252Z] + ./coverage.out bytes=128828 [2020-12-15T04:48:23.252Z] ==> Appending adjustments [2020-12-15T04:48:23.252Z] https://docs.codecov.io/docs/fixing-reports [2020-12-15T04:48:23.827Z] + Found adjustments [2020-12-15T04:48:23.828Z] ==> Gzipping contents [2020-12-15T04:48:23.828Z] 24K /tmp/codecov.aMcLMo.gz [2020-12-15T04:48:23.828Z] ==> Uploading reports [2020-12-15T04:48:23.828Z] url: https://codecov.io [2020-12-15T04:48:23.828Z] query: branch=PR-692&commit=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= [2020-12-15T04:48:23.828Z] -> Pinging Codecov [2020-12-15T04:48:23.828Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-692&commit=a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= [2020-12-15T04:48:24.090Z] -> Uploading to [2020-12-15T04:48:24.090Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b/b0986b13-2cca-415c-87dc-8e5981db7cc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T044823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2723fee02a8cbe4c5e12eae5fd9b57872fb4520127f0c5e4ee350a2f5614b381 [2020-12-15T04:48:24.090Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T04:48:24.090Z] Dload Upload Total Spent Left Speed [2020-12-15T04:48:24.665Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21066 0 0 100 21066 0 39646 --:--:-- --:--:-- --:--:-- 39597 100 21066 0 0 100 21066 0 39634 --:--:-- --:--:-- --:--:-- 39597 [2020-12-15T04:48:24.665Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b [Pipeline] } [2020-12-15T04:48:24.676Z] 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 [2020-12-15T04:48:27.491Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:27.799Z] ---> package-listing.sh [2020-12-15T04:48:27.799Z] ++ facter osfamily [2020-12-15T04:48:27.799Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T04:48:27.799Z] + OS_FAMILY=redhat [2020-12-15T04:48:27.799Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-692 [2020-12-15T04:48:27.799Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T04:48:27.799Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T04:48:27.799Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T04:48:27.799Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T04:48:27.799Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' [2020-12-15T04:48:27.799Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T04:48:27.799Z] + case "${OS_FAMILY}" in [2020-12-15T04:48:27.799Z] + rpm -qa [2020-12-15T04:48:27.799Z] + sort [2020-12-15T04:48:33.106Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T04:48:33.106Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T04:48:33.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T04:48:33.106Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' [2020-12-15T04:48:33.106Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [2020-12-15T04:48:33.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [Pipeline] echo [2020-12-15T04:48:33.120Z] 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-692/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T04:48:33.413Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:48:33.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:48:33.718Z] [2020-12-15T04:48:33.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T04:48:34.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:48:34.079Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T04:48:34.079Z] df20fa9351a1: Pulling fs layer [2020-12-15T04:48:34.079Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T04:48:34.079Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T04:48:34.079Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T04:48:34.079Z] 93b61091891f: Pulling fs layer [2020-12-15T04:48:34.079Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T04:48:34.079Z] 5e14af77c1be: Pulling fs layer [2020-12-15T04:48:34.079Z] 01666e4c0597: Pulling fs layer [2020-12-15T04:48:34.079Z] aa168da1d23b: Pulling fs layer [2020-12-15T04:48:34.079Z] 93b9cdb0e59b: Waiting [2020-12-15T04:48:34.079Z] 5e14af77c1be: Waiting [2020-12-15T04:48:34.079Z] aa168da1d23b: Waiting [2020-12-15T04:48:34.079Z] 01666e4c0597: Waiting [2020-12-15T04:48:34.079Z] 93b61091891f: Waiting [2020-12-15T04:48:34.079Z] 46f8f816bc3b: Waiting [2020-12-15T04:48:34.079Z] 36b3adc4ff6f: Download complete [2020-12-15T04:48:34.079Z] 46f8f816bc3b: Verifying Checksum [2020-12-15T04:48:34.079Z] 46f8f816bc3b: Download complete [2020-12-15T04:48:34.079Z] df20fa9351a1: Verifying Checksum [2020-12-15T04:48:34.079Z] df20fa9351a1: Download complete [2020-12-15T04:48:34.354Z] 93b9cdb0e59b: Download complete [2020-12-15T04:48:34.354Z] 93b61091891f: Verifying Checksum [2020-12-15T04:48:34.354Z] 93b61091891f: Download complete [2020-12-15T04:48:34.354Z] 5e14af77c1be: Verifying Checksum [2020-12-15T04:48:34.354Z] 5e14af77c1be: Download complete [2020-12-15T04:48:34.354Z] 01666e4c0597: Verifying Checksum [2020-12-15T04:48:34.354Z] 01666e4c0597: Download complete [2020-12-15T04:48:34.354Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T04:48:34.354Z] 8ad3a11d3b57: Download complete [2020-12-15T04:48:34.617Z] df20fa9351a1: Pull complete [2020-12-15T04:48:34.883Z] 36b3adc4ff6f: Pull complete [2020-12-15T04:48:35.467Z] 8ad3a11d3b57: Pull complete [2020-12-15T04:48:35.730Z] 46f8f816bc3b: Pull complete [2020-12-15T04:48:36.682Z] aa168da1d23b: Verifying Checksum [2020-12-15T04:48:36.682Z] aa168da1d23b: Download complete [2020-12-15T04:48:36.944Z] 93b61091891f: Pull complete [2020-12-15T04:48:36.944Z] 93b9cdb0e59b: Pull complete [2020-12-15T04:48:37.208Z] 5e14af77c1be: Pull complete [2020-12-15T04:48:37.208Z] 01666e4c0597: Pull complete [2020-12-15T04:48:45.427Z] aa168da1d23b: Pull complete [2020-12-15T04:48:45.427Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T04:48:45.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T04:48:45.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T04:48:45.622Z] prd-centos7-docker-4c-2g-16044 does not seem to be running inside a container [2020-12-15T04:48:45.673Z] $ 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-692/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-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-15T04:48:49.405Z] $ docker top 674af8f41286b6fd6aca6dca3fdc4ca57a8af42251247a4677dda521eb8279a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T04:48:49.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T04:48:50.211Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T04:48:50.511Z] + ls /var/log/sa-host [2020-12-15T04:48:50.511Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T04:48:50.511Z] file_magic: OK [2020-12-15T04:48:50.511Z] HZ: Using current value: 100 [2020-12-15T04:48:50.511Z] file_header: OK [2020-12-15T04:48:50.511Z] 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 [2020-12-15T04:48:50.511Z] Statistics: [2020-12-15T04:48:50.511Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T04:48:50.511Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T04:48:50.511Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T04:48:50.511Z] file_magic: OK [2020-12-15T04:48:50.511Z] HZ: Using current value: 100 [2020-12-15T04:48:50.511Z] file_header: OK [2020-12-15T04:48:50.512Z] 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 [2020-12-15T04:48:50.512Z] Statistics: [2020-12-15T04:48:50.512Z] Hnuu...uuuununununu... [2020-12-15T04:48:50.512Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T04:48:50.719Z] provisioning config files... [2020-12-15T04:48:50.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config7247175935871196843tmp [Pipeline] { [Pipeline] echo [2020-12-15T04:48:50.827Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:51.121Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T04:48:51.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T04:48:51.220Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:51.522Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T04:48:51.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:51.828Z] ---> sudo-logs.sh [2020-12-15T04:48:51.828Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T04:48:51.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:52.137Z] ---> job-cost.sh [2020-12-15T04:48:52.137Z] lf-activate-venv: SKIPPING [2020-12-15T04:48:52.137Z] INFO: No Stack... [2020-12-15T04:48:53.084Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T04:48:53.660Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T04:48:53.674Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T04:48:53.972Z] ---> logs-deploy.sh [2020-12-15T04:48:53.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-692/4 [2020-12-15T04:48:53.972Z] INFO: archiving workspace using pattern(s): [2020-12-15T04:48:55.893Z] Archives upload complete. [2020-12-15T04:48:55.893Z] INFO: archiving logs to Nexus