Pull request #746 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b71988117f080c0390e6bb1f7a89c5f2e9c83746+2e0b14878cfb4a574be8745ab7c226ce26d53775 (7e18732ccc087489dc90c0ac148e64c4dee95840) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22194 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit b71988117f080c0390e6bb1f7a89c5f2e9c83746 > 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 Merge succeeded, producing b71988117f080c0390e6bb1f7a89c5f2e9c83746 Checking out Revision b71988117f080c0390e6bb1f7a89c5f2e9c83746 (PR-746) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 Commit message: "refactor: refactor autoevent package for v2" First time build. Skipping changelog. > git rev-list --no-walk 5ae0bb91e863fc642d04e267d4fba18b9355d614 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T04:06:51.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T04:06:51.424Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T04:06:51.545Z] ========================================================= [2021-01-22T04:06:51.545Z] EdgeX Global Pipelines Version Info [2021-01-22T04:06:51.545Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:06:54.613Z] ------------------- [2021-01-22T04:06:54.613Z] stable info: [2021-01-22T04:06:54.613Z] ------------------- [2021-01-22T04:06:54.613Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T04:06:54.613Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T04:06:54.613Z] Message: update stable to v1.0.179 [2021-01-22T04:06:56.219Z] ------------------- [2021-01-22T04:06:56.219Z] experimental info: [2021-01-22T04:06:56.219Z] ------------------- [2021-01-22T04:06:56.219Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T04:06:56.219Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T04:06:56.219Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T04:06:56.573Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-22T04:06:56.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-22T04:06:56.776Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T04:06:56.891Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T04:06:56.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T04:06:57.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T04:06:57.187Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T04:06:57.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T04:06:57.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-22T04:06:57.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T04:06:57.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T04:06:57.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-22T04:06:57.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T04:06:57.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T04:06:58.041Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-22T04:06:58.133Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T04:06:58.233Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T04:06:58.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T04:06:58.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T04:06:58.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T04:06:58.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-22T04:06:58.760Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-22T04:06:58.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T04:06:58.954Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T04:06:59.047Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-22T04:06:59.142Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T04:06:59.232Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T04:06:59.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo [2021-01-22T04:06:59.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo [2021-01-22T04:06:59.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo [2021-01-22T04:06:59.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b71988117f080c0390e6bb1f7a89c5f2e9c83746 [Pipeline] echo [2021-01-22T04:06:59.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b719881 [Pipeline] echo [2021-01-22T04:06:59.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T04:06:59.974Z] provisioning config files... [2021-01-22T04:07:00.008Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4821493153180114232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:07:00.555Z] ---> docker-login.sh [2021-01-22T04:07:00.555Z] nexus3.edgexfoundry.org:10001 [2021-01-22T04:07:01.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:07:01.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:07:01.911Z] Configure a credential helper to remove this warning. See [2021-01-22T04:07:01.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:07:01.911Z] [2021-01-22T04:07:01.911Z] Login Succeeded [2021-01-22T04:07:01.911Z] nexus3.edgexfoundry.org:10002 [2021-01-22T04:07:02.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:07:02.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:07:02.597Z] Configure a credential helper to remove this warning. See [2021-01-22T04:07:02.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:07:02.597Z] [2021-01-22T04:07:02.597Z] Login Succeeded [2021-01-22T04:07:02.597Z] nexus3.edgexfoundry.org:10003 [2021-01-22T04:07:03.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:07:03.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:07:03.546Z] Configure a credential helper to remove this warning. See [2021-01-22T04:07:03.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:07:03.546Z] [2021-01-22T04:07:03.546Z] Login Succeeded [2021-01-22T04:07:03.546Z] nexus3.edgexfoundry.org:10004 [2021-01-22T04:07:03.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:07:03.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:07:03.896Z] Configure a credential helper to remove this warning. See [2021-01-22T04:07:03.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:07:03.896Z] [2021-01-22T04:07:03.896Z] Login Succeeded [2021-01-22T04:07:03.896Z] docker.io [2021-01-22T04:07:04.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:07:04.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:07:04.841Z] Configure a credential helper to remove this warning. See [2021-01-22T04:07:04.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:07:04.841Z] [2021-01-22T04:07:04.841Z] Login Succeeded [2021-01-22T04:07:04.841Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T04:07:04.857Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T04:07:05.984Z] + git log --format=format:%s -1 b71988117f080c0390e6bb1f7a89c5f2e9c83746 [Pipeline] echo [2021-01-22T04:07:06.119Z] GIT_COMMIT: b71988117f080c0390e6bb1f7a89c5f2e9c83746, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo [2021-01-22T04:07:06.170Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:07:06.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T04:07:07.256Z] [2021-01-22T04:07:07.256Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:07:07.789Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T04:07:08.214Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T04:07:08.214Z] 31603596830f: Pulling fs layer [2021-01-22T04:07:08.214Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T04:07:08.214Z] 6ca5941a6612: Pulling fs layer [2021-01-22T04:07:08.214Z] ecc8261a40a4: Pulling fs layer [2021-01-22T04:07:08.214Z] ecc8261a40a4: Waiting [2021-01-22T04:07:08.214Z] 2a8b12db71e7: Verifying Checksum [2021-01-22T04:07:08.214Z] 2a8b12db71e7: Download complete [2021-01-22T04:07:09.030Z] 31603596830f: Verifying Checksum [2021-01-22T04:07:09.030Z] 31603596830f: Download complete [2021-01-22T04:07:09.368Z] ecc8261a40a4: Verifying Checksum [2021-01-22T04:07:09.368Z] ecc8261a40a4: Download complete [2021-01-22T04:07:09.668Z] 6ca5941a6612: Verifying Checksum [2021-01-22T04:07:09.668Z] 6ca5941a6612: Download complete [2021-01-22T04:07:09.985Z] 31603596830f: Pull complete [2021-01-22T04:07:10.674Z] 2a8b12db71e7: Pull complete [2021-01-22T04:07:13.461Z] 6ca5941a6612: Pull complete [2021-01-22T04:07:14.604Z] ecc8261a40a4: Pull complete [2021-01-22T04:07:14.604Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T04:07:14.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T04:07:14.604Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T04:07:14.863Z] prd-centos7-docker-4c-2g-22194 does not seem to be running inside a container [2021-01-22T04:07:15.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T04:07:18.505Z] $ docker top d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T04:07:19.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T04:07:19.082Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T04:07:19.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T04:07:19.682Z] $ docker exec d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 ssh-agent [2021-01-22T04:07:20.099Z] SSH_AUTH_SOCK=/tmp/ssh-WeaMbfmUl2IC/agent.13 [2021-01-22T04:07:20.099Z] SSH_AGENT_PID=19 [2021-01-22T04:07:20.159Z] Running ssh-add (command line suppressed) [2021-01-22T04:07:20.655Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8873015348452699737.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8873015348452699737.key) [2021-01-22T04:07:20.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T04:07:21.126Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T04:07:21.185Z] $ docker exec --env ******** --env ******** d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 ssh-agent -k [2021-01-22T04:07:21.413Z] unset SSH_AUTH_SOCK; [2021-01-22T04:07:21.414Z] unset SSH_AGENT_PID; [2021-01-22T04:07:21.414Z] echo Agent pid 19 killed; [2021-01-22T04:07:21.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T04:07:21.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T04:07:21.716Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T04:07:22.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T04:07:22.038Z] $ docker exec d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 ssh-agent [2021-01-22T04:07:22.360Z] SSH_AUTH_SOCK=/tmp/ssh-QIk5gtSXvC2U/agent.48 [2021-01-22T04:07:22.361Z] SSH_AGENT_PID=53 [2021-01-22T04:07:22.371Z] Running ssh-add (command line suppressed) [2021-01-22T04:07:22.639Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_7859952796818207618.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_7859952796818207618.key) [2021-01-22T04:07:22.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T04:07:23.293Z] + git semver init [2021-01-22T04:07:23.570Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T04:07:23.570Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git [2021-01-22T04:07:23.570Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-22T04:07:23.570Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T04:07:23.570Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T04:07:23.570Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T04:07:23.570Z] # $SEMVER_BRANCH = PR-746 [2021-01-22T04:07:23.570Z] # $SEMVER_TEMP = /tmp/semver-625756429 [2021-01-22T04:07:23.570Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-22T04:07:24.658Z] # '/tmp/semver-625756429' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' [2021-01-22T04:07:24.658Z] # -> Force: false [2021-01-22T04:07:24.658Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } [2021-01-22T04:07:24.702Z] $ docker exec --env ******** --env ******** d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 ssh-agent -k [2021-01-22T04:07:25.222Z] unset SSH_AUTH_SOCK; [2021-01-22T04:07:25.223Z] unset SSH_AGENT_PID; [2021-01-22T04:07:25.223Z] echo Agent pid 53 killed; [2021-01-22T04:07:25.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T04:07:25.916Z] + git semver [Pipeline] } [2021-01-22T04:07:26.232Z] $ docker stop --time=1 d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 [2021-01-22T04:07:28.344Z] $ docker rm -f d1a1f390326129aaedf8b535809f608e8505ca1228bc4f03fb2e0d7b7544a802 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T04:07:29.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T04:07:31.027Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T04:07:31.030Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-22T04:07:46.549Z] Still waiting to schedule task [2021-01-22T04:07:46.550Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T04:07:46.552Z] Still waiting to schedule task [2021-01-22T04:07:46.552Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-22T04:09:28.506Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22195 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-22T04:09:28.566Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-22T04:09:33.806Z] using credential edgex-jenkins-ssh [2021-01-22T04:09:33.879Z] Cloning the remote Git repository [2021-01-22T04:09:33.951Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:09:34.056Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-22T04:09:34.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:09:34.152Z] > git --version # timeout=10 [2021-01-22T04:09:34.172Z] > git --version # 'git version 2.17.1' [2021-01-22T04:09:34.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:09:34.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T04:09:35.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T04:09:35.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T04:09:35.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T04:09:35.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:09:35.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:09:35.636Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T04:09:36.212Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:09:36.591Z] Merge succeeded, producing b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:09:36.591Z] Checking out Revision b71988117f080c0390e6bb1f7a89c5f2e9c83746 (PR-746) [2021-01-22T04:09:36.236Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T04:09:36.260Z] > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 [2021-01-22T04:09:36.377Z] > git remote # timeout=10 [2021-01-22T04:09:36.396Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T04:09:36.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:09:36.492Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T04:09:36.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T04:09:36.601Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T04:09:36.649Z] > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 [2021-01-22T04:09:40.927Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T04:09:42.535Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T04:09:42.952Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T04:09:43.344Z] + sudo service docker restart [2021-01-22T04:09:43.344Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T04:09:45.405Z] provisioning config files... [2021-01-22T04:09:45.444Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2050263685978555445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:09:45.870Z] ---> docker-login.sh [2021-01-22T04:09:45.870Z] nexus3.edgexfoundry.org:10001 [2021-01-22T04:09:46.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:09:47.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:09:47.080Z] Configure a credential helper to remove this warning. See [2021-01-22T04:09:47.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:09:47.080Z] [2021-01-22T04:09:47.080Z] Login Succeeded [2021-01-22T04:09:47.080Z] nexus3.edgexfoundry.org:10002 [2021-01-22T04:09:47.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:09:47.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:09:47.634Z] Configure a credential helper to remove this warning. See [2021-01-22T04:09:47.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:09:47.634Z] [2021-01-22T04:09:47.634Z] Login Succeeded [2021-01-22T04:09:47.634Z] nexus3.edgexfoundry.org:10003 [2021-01-22T04:09:47.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:09:48.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:09:48.186Z] Configure a credential helper to remove this warning. See [2021-01-22T04:09:48.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:09:48.186Z] [2021-01-22T04:09:48.186Z] Login Succeeded [2021-01-22T04:09:48.186Z] nexus3.edgexfoundry.org:10004 [2021-01-22T04:09:48.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:09:48.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:09:48.744Z] Configure a credential helper to remove this warning. See [2021-01-22T04:09:48.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:09:48.744Z] [2021-01-22T04:09:48.744Z] Login Succeeded [2021-01-22T04:09:48.744Z] docker.io [2021-01-22T04:09:49.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:09:49.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:09:49.288Z] Configure a credential helper to remove this warning. See [2021-01-22T04:09:49.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:09:49.288Z] [2021-01-22T04:09:49.288Z] Login Succeeded [2021-01-22T04:09:49.288Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T04:09:49.306Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T04:09:49.798Z] ========================================================= [2021-01-22T04:09:49.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T04:09:49.798Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:09:50.196Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-22T04:09:50.816Z] Sending build context to Docker daemon 2.509MB [2021-01-22T04:09:50.816Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T04:09:50.816Z] Step 2/8 : FROM ${BASE} [2021-01-22T04:09:50.816Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T04:09:50.816Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T04:09:50.816Z] a4357932f1b6: Pulling fs layer [2021-01-22T04:09:50.816Z] 18c013af1878: Pulling fs layer [2021-01-22T04:09:50.816Z] 00ac8860ef70: Pulling fs layer [2021-01-22T04:09:50.816Z] 63d7cb157983: Pulling fs layer [2021-01-22T04:09:50.816Z] b116817d02f9: Pulling fs layer [2021-01-22T04:09:50.816Z] 745a02a5169b: Pulling fs layer [2021-01-22T04:09:50.816Z] 63d7cb157983: Waiting [2021-01-22T04:09:50.816Z] b116817d02f9: Waiting [2021-01-22T04:09:50.816Z] 745a02a5169b: Waiting [2021-01-22T04:09:50.816Z] 00ac8860ef70: Waiting [2021-01-22T04:09:50.816Z] 18c013af1878: Download complete [2021-01-22T04:09:50.816Z] a4357932f1b6: Download complete [2021-01-22T04:09:50.816Z] 63d7cb157983: Verifying Checksum [2021-01-22T04:09:50.816Z] 63d7cb157983: Download complete [2021-01-22T04:09:50.816Z] b116817d02f9: Verifying Checksum [2021-01-22T04:09:50.816Z] b116817d02f9: Download complete [2021-01-22T04:09:51.097Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T04:09:51.097Z] 5f621e34cdf4: Download complete [2021-01-22T04:09:51.848Z] 5f621e34cdf4: Pull complete [2021-01-22T04:09:52.457Z] a4357932f1b6: Pull complete [2021-01-22T04:09:52.741Z] 18c013af1878: Pull complete [2021-01-22T04:09:53.730Z] 745a02a5169b: Verifying Checksum [2021-01-22T04:09:53.730Z] 745a02a5169b: Download complete [2021-01-22T04:09:55.166Z] 00ac8860ef70: Verifying Checksum [2021-01-22T04:09:55.166Z] 00ac8860ef70: Download complete [2021-01-22T04:09:58.392Z] Running on prd-centos7-docker-4c-2g-22196 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws [2021-01-22T04:09:58.443Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-22T04:10:00.951Z] using credential edgex-jenkins-ssh [2021-01-22T04:10:01.018Z] Cloning the remote Git repository [2021-01-22T04:10:01.047Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:10:01.119Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-22T04:10:01.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:10:01.211Z] > git --version # timeout=10 [2021-01-22T04:10:01.221Z] > git --version # 'git version 2.24.3' [2021-01-22T04:10:01.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:10:01.254Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T04:10:03.363Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T04:10:03.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T04:10:03.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-22T04:10:03.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-22T04:10:03.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:10:03.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T04:10:05.372Z] 00ac8860ef70: Pull complete [2021-01-22T04:10:05.372Z] 63d7cb157983: Pull complete [2021-01-22T04:10:05.372Z] b116817d02f9: Pull complete [2021-01-22T04:10:05.965Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:10:06.066Z] Merge succeeded, producing b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:10:06.066Z] Checking out Revision b71988117f080c0390e6bb1f7a89c5f2e9c83746 (PR-746) [2021-01-22T04:10:05.975Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T04:10:05.982Z] > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 [2021-01-22T04:10:06.030Z] > git remote # timeout=10 [2021-01-22T04:10:06.037Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T04:10:06.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T04:10:06.048Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-22T04:10:06.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T04:10:06.070Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T04:10:06.080Z] > git checkout -f b71988117f080c0390e6bb1f7a89c5f2e9c83746 # timeout=10 [2021-01-22T04:10:09.696Z] 745a02a5169b: Pull complete [2021-01-22T04:10:09.696Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T04:10:09.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T04:10:09.696Z] ---> b7e6874047d6 [2021-01-22T04:10:09.696Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:10:09.728Z] Commit message: "refactor: refactor autoevent package for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T04:10:11.039Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T04:10:11.368Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T04:10:11.673Z] + true [2021-01-22T04:10:11.673Z] + sudo service docker restart [2021-01-22T04:10:11.673Z] Redirecting to /bin/systemctl restart docker.service [2021-01-22T04:10:12.355Z] ---> Running in c2186adc0d7f [2021-01-22T04:10:12.356Z] Removing intermediate container c2186adc0d7f [2021-01-22T04:10:12.356Z] ---> 80026a3abfd3 [2021-01-22T04:10:12.356Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T04:10:12.628Z] ---> Running in 8ae47799c8ea [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-22T04:10:13.142Z] provisioning config files... [2021-01-22T04:10:13.170Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config7231263247526545186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:10:13.534Z] ---> docker-login.sh [2021-01-22T04:10:13.534Z] nexus3.edgexfoundry.org:10001 [2021-01-22T04:10:13.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:10:13.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:10:13.799Z] Configure a credential helper to remove this warning. See [2021-01-22T04:10:13.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:10:13.799Z] [2021-01-22T04:10:13.799Z] Login Succeeded [2021-01-22T04:10:13.799Z] nexus3.edgexfoundry.org:10002 [2021-01-22T04:10:14.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:10:14.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:10:14.063Z] Configure a credential helper to remove this warning. See [2021-01-22T04:10:14.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:10:14.063Z] [2021-01-22T04:10:14.063Z] Login Succeeded [2021-01-22T04:10:14.063Z] nexus3.edgexfoundry.org:10003 [2021-01-22T04:10:14.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:10:14.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:10:14.331Z] Configure a credential helper to remove this warning. See [2021-01-22T04:10:14.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:10:14.331Z] [2021-01-22T04:10:14.331Z] Login Succeeded [2021-01-22T04:10:14.331Z] nexus3.edgexfoundry.org:10004 [2021-01-22T04:10:14.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:10:14.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:10:14.596Z] Configure a credential helper to remove this warning. See [2021-01-22T04:10:14.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:10:14.596Z] [2021-01-22T04:10:14.596Z] Login Succeeded [2021-01-22T04:10:14.596Z] docker.io [2021-01-22T04:10:14.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-22T04:10:14.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-22T04:10:14.859Z] Configure a credential helper to remove this warning. See [2021-01-22T04:10:14.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-22T04:10:14.859Z] [2021-01-22T04:10:14.859Z] Login Succeeded [2021-01-22T04:10:14.859Z] ---> docker-login.sh ends [Pipeline] } [2021-01-22T04:10:14.869Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-22T04:10:15.201Z] ========================================================= [2021-01-22T04:10:15.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T04:10:15.201Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:10:15.280Z] Removing intermediate container 8ae47799c8ea [2021-01-22T04:10:15.280Z] ---> d6a447468a60 [2021-01-22T04:10:15.280Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T04:10:15.280Z] ---> Running in 4b098b41cc5d [2021-01-22T04:10:15.660Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-22T04:10:15.660Z] Sending build context to Docker daemon 2.51MB [2021-01-22T04:10:15.925Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T04:10:15.925Z] Step 2/8 : FROM ${BASE} [2021-01-22T04:10:15.925Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T04:10:15.925Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T04:10:15.925Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T04:10:15.925Z] de9db76c5a1d: Pulling fs layer [2021-01-22T04:10:15.925Z] bca2f99d35d6: Pulling fs layer [2021-01-22T04:10:15.925Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T04:10:15.925Z] 7c6f9722023f: Pulling fs layer [2021-01-22T04:10:15.925Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T04:10:15.925Z] 93359f2a8cfa: Waiting [2021-01-22T04:10:15.925Z] 7c6f9722023f: Waiting [2021-01-22T04:10:15.925Z] a35cf1a2eb13: Waiting [2021-01-22T04:10:15.925Z] bca2f99d35d6: Waiting [2021-01-22T04:10:15.925Z] de9db76c5a1d: Verifying Checksum [2021-01-22T04:10:15.925Z] de9db76c5a1d: Download complete [2021-01-22T04:10:15.925Z] 0ef7d3d256c8: Verifying Checksum [2021-01-22T04:10:15.925Z] 0ef7d3d256c8: Download complete [2021-01-22T04:10:15.925Z] 93359f2a8cfa: Verifying Checksum [2021-01-22T04:10:15.925Z] 93359f2a8cfa: Download complete [2021-01-22T04:10:15.925Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T04:10:15.925Z] 188c0c94c7c5: Download complete [2021-01-22T04:10:15.925Z] 7c6f9722023f: Verifying Checksum [2021-01-22T04:10:15.925Z] 7c6f9722023f: Download complete [2021-01-22T04:10:16.192Z] 188c0c94c7c5: Pull complete [2021-01-22T04:10:16.260Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T04:10:16.467Z] 0ef7d3d256c8: Pull complete [2021-01-22T04:10:16.732Z] de9db76c5a1d: Pull complete [2021-01-22T04:10:17.242Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T04:10:18.138Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T04:10:18.138Z] a35cf1a2eb13: Download complete [2021-01-22T04:10:18.721Z] bca2f99d35d6: Verifying Checksum [2021-01-22T04:10:18.721Z] bca2f99d35d6: Download complete [2021-01-22T04:10:20.621Z] OK: 142 MiB in 39 packages [2021-01-22T04:10:21.599Z] Removing intermediate container 4b098b41cc5d [2021-01-22T04:10:21.600Z] ---> 06ce2deb20af [2021-01-22T04:10:21.600Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T04:10:21.600Z] ---> Running in 1323a6b8c7bd [2021-01-22T04:10:22.193Z] Removing intermediate container 1323a6b8c7bd [2021-01-22T04:10:22.193Z] ---> 880f1a60a847 [2021-01-22T04:10:22.193Z] Step 7/8 : COPY . . [2021-01-22T04:10:23.173Z] ---> d3ca59b222d1 [2021-01-22T04:10:23.173Z] Step 8/8 : RUN go mod download [2021-01-22T04:10:23.474Z] ---> Running in ec5bfede20d0 [2021-01-22T04:10:24.071Z] bca2f99d35d6: Pull complete [2021-01-22T04:10:24.071Z] 93359f2a8cfa: Pull complete [2021-01-22T04:10:24.071Z] 7c6f9722023f: Pull complete [2021-01-22T04:10:29.414Z] a35cf1a2eb13: Pull complete [2021-01-22T04:10:29.414Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T04:10:29.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T04:10:29.414Z] ---> a62c8e92a672 [2021-01-22T04:10:29.414Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:10:29.680Z] ---> Running in b787c680e1fd [2021-01-22T04:10:29.947Z] Removing intermediate container b787c680e1fd [2021-01-22T04:10:29.947Z] ---> e9934da6ea09 [2021-01-22T04:10:29.947Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T04:10:30.211Z] ---> Running in 9a2fb5926fd8 [2021-01-22T04:10:31.167Z] Removing intermediate container 9a2fb5926fd8 [2021-01-22T04:10:31.167Z] ---> 70672f824386 [2021-01-22T04:10:31.167Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-22T04:10:31.167Z] ---> Running in 0dce3c518d3e [2021-01-22T04:10:32.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T04:10:33.966Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T04:10:35.894Z] OK: 166 MiB in 39 packages [2021-01-22T04:10:36.157Z] Removing intermediate container 0dce3c518d3e [2021-01-22T04:10:36.157Z] ---> 5544a4743497 [2021-01-22T04:10:36.157Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-22T04:10:36.424Z] ---> Running in 8af8a929aff5 [2021-01-22T04:10:36.424Z] Removing intermediate container 8af8a929aff5 [2021-01-22T04:10:36.424Z] ---> 3e39b9b941ee [2021-01-22T04:10:36.424Z] Step 7/8 : COPY . . [2021-01-22T04:10:37.839Z] ---> 87df28ba2992 [2021-01-22T04:10:37.839Z] Step 8/8 : RUN go mod download [2021-01-22T04:10:37.839Z] ---> Running in 607eca396f29 [2021-01-22T04:10:50.265Z] Removing intermediate container ec5bfede20d0 [2021-01-22T04:10:50.265Z] ---> 66108ad30b54 [2021-01-22T04:10:50.265Z] Successfully built 66108ad30b54 [2021-01-22T04:10:50.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:10:50.613Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T04:10:50.614Z] . [Pipeline] withDockerContainer [2021-01-22T04:10:50.886Z] prd-ubuntu18.04-docker-arm64-4c-16g-22195 does not seem to be running inside a container [2021-01-22T04:10:50.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T04:10:52.514Z] $ docker top 5facdc409e24680016a7f8a311fe5bab1877d0b6eeaa44e77a0fcffc94f2a7b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T04:10:53.554Z] + go version [2021-01-22T04:10:53.554Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T04:10:53.582Z] $ docker stop --time=1 5facdc409e24680016a7f8a311fe5bab1877d0b6eeaa44e77a0fcffc94f2a7b2 [2021-01-22T04:10:55.529Z] $ docker rm -f 5facdc409e24680016a7f8a311fe5bab1877d0b6eeaa44e77a0fcffc94f2a7b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:10:56.516Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T04:10:56.516Z] . [Pipeline] withDockerContainer [2021-01-22T04:10:56.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-22195 does not seem to be running inside a container [2021-01-22T04:10:56.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T04:10:58.379Z] $ docker top 330840dde564841d238a9b20a5a386ff96ed51344ef07d98b9c00e459b1a2c2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T04:10:59.408Z] + make test [2021-01-22T04:10:59.408Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T04:10:59.918Z] Removing intermediate container 607eca396f29 [2021-01-22T04:10:59.918Z] ---> ac88264d3e16 [2021-01-22T04:10:59.918Z] Successfully built ac88264d3e16 [2021-01-22T04:10:59.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:11:00.243Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T04:11:00.243Z] . [Pipeline] withDockerContainer [2021-01-22T04:11:00.519Z] prd-centos7-docker-4c-2g-22196 does not seem to be running inside a container [2021-01-22T04:11:00.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T04:11:01.441Z] $ docker top 06fb2663e726b7e3114bd07230f6873e25ddc0411dfd98f4a70032f599ef5ca7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T04:11:01.938Z] + go version [2021-01-22T04:11:01.938Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T04:11:01.955Z] $ docker stop --time=1 06fb2663e726b7e3114bd07230f6873e25ddc0411dfd98f4a70032f599ef5ca7 [2021-01-22T04:11:03.336Z] $ docker rm -f 06fb2663e726b7e3114bd07230f6873e25ddc0411dfd98f4a70032f599ef5ca7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:11:04.195Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T04:11:04.195Z] . [Pipeline] withDockerContainer [2021-01-22T04:11:04.313Z] prd-centos7-docker-4c-2g-22196 does not seem to be running inside a container [2021-01-22T04:11:04.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T04:11:05.127Z] $ docker top 54aa7a6ec3377cf713b52c5add8d5b6a4c7ccfe7500ed01980254d2fa5e9a7c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T04:11:05.698Z] + make test [2021-01-22T04:11:05.698Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-22T04:11:13.910Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T04:11:21.590Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-22T04:11:28.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T04:11:28.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T04:11:28.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T04:11:31.571Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 15.2% of statements [2021-01-22T04:11:31.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.497s coverage: 97.1% of statements [2021-01-22T04:12:00.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-22T04:12:00.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-22T04:12:00.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-22T04:12:02.688Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.112s coverage: 15.2% of statements [2021-01-22T04:12:04.038Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.063s coverage: 9.4% of statements [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 22.9% of statements [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 53.8% of statements [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.102s coverage: 26.8% of statements [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.498s coverage: 83.5% of statements [2021-01-22T04:12:04.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-22T04:12:04.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T04:12:04.039Z] GO111MODULE=on go vet ./... [2021-01-22T04:12:04.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.260s coverage: 97.1% of statements [2021-01-22T04:12:10.777Z] gofmt -l . [2021-01-22T04:12:10.777Z] [ "`gofmt -l .`" = "" ] [2021-01-22T04:12:10.777Z] ./bin/test-attribution-txt.sh [2021-01-22T04:12:11.724Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T04:12:11.744Z] $ docker stop --time=1 54aa7a6ec3377cf713b52c5add8d5b6a4c7ccfe7500ed01980254d2fa5e9a7c5 [2021-01-22T04:12:13.814Z] $ docker rm -f 54aa7a6ec3377cf713b52c5add8d5b6a4c7ccfe7500ed01980254d2fa5e9a7c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T04:12:14.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T04:12:14.959Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-22T04:12:17.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T04:12:17.907Z] + ls -al . [2021-01-22T04:12:17.907Z] total 188 [2021-01-22T04:12:17.907Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 04:12 . [2021-01-22T04:12:17.907Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 04:10 .. [2021-01-22T04:12:17.907Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 04:10 bin [2021-01-22T04:12:17.907Z] -rw-r--r--. 1 jenkins jenkins 109027 Jan 22 04:11 coverage.out [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 04:10 Dockerfile.build [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 04:10 .dockerignore [2021-01-22T04:12:17.907Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 04:10 example [2021-01-22T04:12:17.907Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 04:10 .git [2021-01-22T04:12:17.907Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 04:10 .github [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 04:10 .gitignore [2021-01-22T04:12:17.907Z] -rw-r--r--. 1 jenkins jenkins 479 Jan 22 04:12 go.mod [2021-01-22T04:12:17.907Z] -rw-r--r--. 1 jenkins jenkins 13845 Jan 22 04:12 go.sum [2021-01-22T04:12:17.907Z] drwxrwxr-x. 14 jenkins jenkins 196 Jan 22 04:10 internal [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 04:10 Jenkinsfile [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 04:10 LICENSE [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 04:10 Makefile [2021-01-22T04:12:17.907Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 04:10 openapi [2021-01-22T04:12:17.907Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 04:10 pkg [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 04:10 README.md [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 04:10 RELEASE-NOTES.txt [2021-01-22T04:12:17.907Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 04:10 snap [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 04:07 VERSION [2021-01-22T04:12:17.907Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 04:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:12:18.218Z] + 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=b71988117f080c0390e6bb1f7a89c5f2e9c83746 --label arch=amd64 --label version=0.0.0 . [2021-01-22T04:12:18.481Z] Sending build context to Docker daemon 2.62MB [2021-01-22T04:12:18.481Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T04:12:18.481Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T04:12:18.481Z] ---> ac88264d3e16 [2021-01-22T04:12:18.481Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T04:12:19.058Z] ---> Running in 4b7251f33968 [2021-01-22T04:12:19.320Z] Removing intermediate container 4b7251f33968 [2021-01-22T04:12:19.320Z] ---> f7fae4dcaf1f [2021-01-22T04:12:19.320Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T04:12:19.320Z] ---> Running in 18ce8ba14dd3 [2021-01-22T04:12:19.582Z] Removing intermediate container 18ce8ba14dd3 [2021-01-22T04:12:19.583Z] ---> c3e21c10b084 [2021-01-22T04:12:19.583Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:12:19.583Z] ---> Running in f2ba9b789678 [2021-01-22T04:12:19.851Z] Removing intermediate container f2ba9b789678 [2021-01-22T04:12:19.851Z] ---> a1b8d2f8ae33 [2021-01-22T04:12:19.851Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T04:12:19.851Z] ---> Running in c82aeb4ac25b [2021-01-22T04:12:20.811Z] Removing intermediate container c82aeb4ac25b [2021-01-22T04:12:20.811Z] ---> f857843f7c82 [2021-01-22T04:12:20.811Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T04:12:21.077Z] ---> Running in b32f024a2090 [2021-01-22T04:12:21.654Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T04:12:23.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T04:12:23.995Z] OK: 166 MiB in 39 packages [2021-01-22T04:12:24.571Z] Removing intermediate container b32f024a2090 [2021-01-22T04:12:24.571Z] ---> 14fd11d11823 [2021-01-22T04:12:24.571Z] Step 8/24 : COPY . . [2021-01-22T04:12:25.528Z] ---> 4b8502bc4120 [2021-01-22T04:12:25.528Z] Step 9/24 : RUN ${MAKE} [2021-01-22T04:12:25.796Z] ---> Running in 4ec8cceeedd6 [2021-01-22T04:12:26.373Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-22T04:12:34.639Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T04:12:36.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.172s coverage: 9.4% of statements [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 22.9% of statements [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.141s coverage: 84.8% of statements [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.197s coverage: 53.8% of statements [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 26.8% of statements [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.953s coverage: 83.5% of statements [2021-01-22T04:12:36.515Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-22T04:12:36.515Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-22T04:12:36.515Z] GO111MODULE=on go vet ./... [2021-01-22T04:12:37.205Z] Removing intermediate container 4ec8cceeedd6 [2021-01-22T04:12:37.205Z] ---> 789cc836ae58 [2021-01-22T04:12:37.205Z] Step 10/24 : FROM scratch [2021-01-22T04:12:37.205Z] ---> [2021-01-22T04:12:37.205Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:12:37.205Z] ---> Running in 1e772c3db0ef [2021-01-22T04:12:37.205Z] Removing intermediate container 1e772c3db0ef [2021-01-22T04:12:37.205Z] ---> af488038dcc9 [2021-01-22T04:12:37.205Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T04:12:37.205Z] ---> Running in 8cddca0906ac [2021-01-22T04:12:37.468Z] Removing intermediate container 8cddca0906ac [2021-01-22T04:12:37.468Z] ---> 0ad973bc4390 [2021-01-22T04:12:37.468Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T04:12:37.468Z] ---> Running in afec8263155b [2021-01-22T04:12:37.731Z] Removing intermediate container afec8263155b [2021-01-22T04:12:37.731Z] ---> 5c4fbeeb5b66 [2021-01-22T04:12:37.731Z] Step 14/24 : WORKDIR / [2021-01-22T04:12:37.731Z] ---> Running in 14870b1e8983 [2021-01-22T04:12:37.994Z] Removing intermediate container 14870b1e8983 [2021-01-22T04:12:37.994Z] ---> 017a39ecee94 [2021-01-22T04:12:37.994Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T04:12:38.258Z] ---> cbed759b99ac [2021-01-22T04:12:38.258Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T04:12:38.521Z] ---> 43c3e21232e8 [2021-01-22T04:12:38.521Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T04:12:38.785Z] ---> 3b4e8a281664 [2021-01-22T04:12:38.785Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T04:12:39.049Z] ---> c272c207726b [2021-01-22T04:12:39.049Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T04:12:39.313Z] ---> ae30016f790d [2021-01-22T04:12:39.313Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T04:12:39.313Z] ---> Running in 825bb9007e69 [2021-01-22T04:12:39.575Z] Removing intermediate container 825bb9007e69 [2021-01-22T04:12:39.575Z] ---> b00a9c3b29e3 [2021-01-22T04:12:39.575Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T04:12:39.575Z] ---> Running in 6d3f7cce2830 [2021-01-22T04:12:39.839Z] Removing intermediate container 6d3f7cce2830 [2021-01-22T04:12:39.839Z] ---> 9740fd9f25a0 [2021-01-22T04:12:39.839Z] Step 22/24 : LABEL arch=amd64 [2021-01-22T04:12:39.839Z] ---> Running in c2fffb52d45a [2021-01-22T04:12:40.101Z] Removing intermediate container c2fffb52d45a [2021-01-22T04:12:40.101Z] ---> 29854a89bf4b [2021-01-22T04:12:40.102Z] Step 23/24 : LABEL git_sha=b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:12:40.102Z] ---> Running in d6f5d81ac29e [2021-01-22T04:12:40.365Z] Removing intermediate container d6f5d81ac29e [2021-01-22T04:12:40.365Z] ---> 5ade49144fdb [2021-01-22T04:12:40.365Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T04:12:40.365Z] ---> Running in b9062a032785 [2021-01-22T04:12:40.365Z] Removing intermediate container b9062a032785 [2021-01-22T04:12:40.365Z] ---> 84a8c35594c8 [2021-01-22T04:12:40.365Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T04:12:40.365Z] Successfully built 84a8c35594c8 [2021-01-22T04:12:40.628Z] 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] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T04:13:03.362Z] gofmt -l . [2021-01-22T04:13:03.956Z] [ "`gofmt -l .`" = "" ] [2021-01-22T04:13:04.229Z] ./bin/test-attribution-txt.sh [2021-01-22T04:13:05.209Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-22T04:13:05.510Z] $ docker stop --time=1 330840dde564841d238a9b20a5a386ff96ed51344ef07d98b9c00e459b1a2c2c [2021-01-22T04:13:07.814Z] $ docker rm -f 330840dde564841d238a9b20a5a386ff96ed51344ef07d98b9c00e459b1a2c2c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T04:13:08.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T04:13:08.937Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T04:13:09.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T04:13:10.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-22T04:13:11.335Z] + ls -al . [2021-01-22T04:13:11.335Z] total 224 [2021-01-22T04:13:11.335Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 04:13 . [2021-01-22T04:13:11.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:09 .. [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 04:09 .dockerignore [2021-01-22T04:13:11.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 04:09 .git [2021-01-22T04:13:11.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:09 .github [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 04:09 .gitignore [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 04:09 Dockerfile.build [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 04:09 Jenkinsfile [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 04:09 LICENSE [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 04:09 Makefile [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 04:09 README.md [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 04:09 RELEASE-NOTES.txt [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 04:07 VERSION [2021-01-22T04:13:11.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:09 bin [2021-01-22T04:13:11.335Z] -rw-r--r-- 1 jenkins jenkins 109027 Jan 22 04:12 coverage.out [2021-01-22T04:13:11.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:09 example [2021-01-22T04:13:11.335Z] -rw-r--r-- 1 jenkins jenkins 479 Jan 22 04:13 go.mod [2021-01-22T04:13:11.335Z] -rw-r--r-- 1 jenkins jenkins 13845 Jan 22 04:13 go.sum [2021-01-22T04:13:11.335Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 22 04:09 internal [2021-01-22T04:13:11.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:09 openapi [2021-01-22T04:13:11.335Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 04:09 pkg [2021-01-22T04:13:11.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:09 snap [2021-01-22T04:13:11.335Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:13:11.708Z] + 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=b71988117f080c0390e6bb1f7a89c5f2e9c83746 --label arch=arm64 --label version=0.0.0 . [2021-01-22T04:13:11.990Z] Sending build context to Docker daemon 2.619MB [2021-01-22T04:13:12.269Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-22T04:13:12.269Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-22T04:13:12.269Z] ---> 66108ad30b54 [2021-01-22T04:13:12.269Z] Step 3/24 : ARG MAKE='make build' [2021-01-22T04:13:12.541Z] ---> Running in f3b794782fc4 [2021-01-22T04:13:12.811Z] Removing intermediate container f3b794782fc4 [2021-01-22T04:13:12.811Z] ---> 136fb20e4851 [2021-01-22T04:13:12.811Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-22T04:13:13.081Z] ---> Running in f5d4e86d3308 [2021-01-22T04:13:13.354Z] Removing intermediate container f5d4e86d3308 [2021-01-22T04:13:13.354Z] ---> 3fb01c23bf29 [2021-01-22T04:13:13.354Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:13:13.627Z] ---> Running in 3b03090d164d [2021-01-22T04:13:14.225Z] Removing intermediate container 3b03090d164d [2021-01-22T04:13:14.226Z] ---> aee20cf295cd [2021-01-22T04:13:14.226Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-22T04:13:14.226Z] ---> Running in df71844ac6b3 [2021-01-22T04:13:16.196Z] Removing intermediate container df71844ac6b3 [2021-01-22T04:13:16.197Z] ---> a02826716f84 [2021-01-22T04:13:16.197Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-22T04:13:16.468Z] ---> Running in 0ec4ec54f944 [2021-01-22T04:13:17.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T04:13:18.869Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T04:13:19.850Z] OK: 142 MiB in 39 packages [2021-01-22T04:13:20.830Z] Removing intermediate container 0ec4ec54f944 [2021-01-22T04:13:20.830Z] ---> 8f0a0f48e4b2 [2021-01-22T04:13:20.830Z] Step 8/24 : COPY . . [2021-01-22T04:13:22.263Z] ---> 3f227c9aeb2b [2021-01-22T04:13:22.263Z] Step 9/24 : RUN ${MAKE} [2021-01-22T04:13:22.536Z] ---> Running in 4fd0834fce78 [2021-01-22T04:13:23.513Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-22T04:13:50.340Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-22T04:13:50.340Z] Removing intermediate container 4fd0834fce78 [2021-01-22T04:13:50.340Z] ---> 591d1f48a86b [2021-01-22T04:13:50.340Z] Step 10/24 : FROM scratch [2021-01-22T04:13:50.340Z] ---> [2021-01-22T04:13:50.340Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-22T04:13:50.340Z] ---> Running in 4cf37da5cb79 [2021-01-22T04:13:50.340Z] Removing intermediate container 4cf37da5cb79 [2021-01-22T04:13:50.340Z] ---> 97fb4645c88e [2021-01-22T04:13:50.340Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-22T04:13:50.612Z] ---> Running in 2c5095ea152d [2021-01-22T04:13:50.885Z] Removing intermediate container 2c5095ea152d [2021-01-22T04:13:50.885Z] ---> ebd397ef4dbf [2021-01-22T04:13:50.885Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-22T04:13:51.157Z] ---> Running in f19844219c01 [2021-01-22T04:13:51.429Z] Removing intermediate container f19844219c01 [2021-01-22T04:13:51.429Z] ---> a03d4db663df [2021-01-22T04:13:51.429Z] Step 14/24 : WORKDIR / [2021-01-22T04:13:51.703Z] ---> Running in d0e942cd0940 [2021-01-22T04:13:51.976Z] Removing intermediate container d0e942cd0940 [2021-01-22T04:13:51.976Z] ---> 7a596949d95b [2021-01-22T04:13:51.976Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-22T04:13:52.956Z] ---> ac665588bc56 [2021-01-22T04:13:52.956Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-22T04:13:53.937Z] ---> 47c0ada26dd6 [2021-01-22T04:13:53.937Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-22T04:13:54.529Z] ---> 203658e575e4 [2021-01-22T04:13:54.529Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-22T04:13:55.120Z] ---> 22648d1a52d6 [2021-01-22T04:13:55.120Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-22T04:13:55.711Z] ---> bc50d4c5ee58 [2021-01-22T04:13:55.711Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-22T04:13:55.985Z] ---> Running in e166d1a8b12f [2021-01-22T04:13:56.579Z] Removing intermediate container e166d1a8b12f [2021-01-22T04:13:56.579Z] ---> 5f6f8af5f282 [2021-01-22T04:13:56.579Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-22T04:13:56.579Z] ---> Running in 9cd09b605b98 [2021-01-22T04:13:57.174Z] Removing intermediate container 9cd09b605b98 [2021-01-22T04:13:57.174Z] ---> c8222da07dd5 [2021-01-22T04:13:57.174Z] Step 22/24 : LABEL arch=arm64 [2021-01-22T04:13:57.174Z] ---> Running in 7a344207fa21 [2021-01-22T04:13:57.766Z] Removing intermediate container 7a344207fa21 [2021-01-22T04:13:57.766Z] ---> 48794d3a2ea8 [2021-01-22T04:13:57.766Z] Step 23/24 : LABEL git_sha=b71988117f080c0390e6bb1f7a89c5f2e9c83746 [2021-01-22T04:13:57.766Z] ---> Running in dd29dd14055a [2021-01-22T04:13:58.360Z] Removing intermediate container dd29dd14055a [2021-01-22T04:13:58.360Z] ---> 8acbdb392913 [2021-01-22T04:13:58.360Z] Step 24/24 : LABEL version=0.0.0 [2021-01-22T04:13:58.360Z] ---> Running in bb49e1b5d8c1 [2021-01-22T04:13:58.967Z] Removing intermediate container bb49e1b5d8c1 [2021-01-22T04:13:58.967Z] ---> 0e1d960bc9cd [2021-01-22T04:13:58.967Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-22T04:13:58.967Z] Successfully built 0e1d960bc9cd [2021-01-22T04:13:58.967Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-22T04:14:00.969Z] provisioning config files... [2021-01-22T04:14:00.991Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4733510674523295870tmp [Pipeline] { [Pipeline] sh [2021-01-22T04:14:01.476Z] + set +x [2021-01-22T04:14:01.476Z] + bash -s -- [2021-01-22T04:14:01.476Z] + curl -s https://codecov.io/bash [2021-01-22T04:14:01.758Z] [2021-01-22T04:14:01.758Z] _____ _ [2021-01-22T04:14:01.758Z] / ____| | | [2021-01-22T04:14:01.758Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T04:14:01.758Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T04:14:01.758Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T04:14:01.758Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T04:14:01.758Z] Bash-20210115-cec3c92 [2021-01-22T04:14:01.758Z] [2021-01-22T04:14:01.758Z] [2021-01-22T04:14:01.758Z] ==> git version 2.24.3 found [2021-01-22T04:14:01.758Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-22T04:14:01.758Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T04:14:01.758Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T04:14:01.758Z] ==> Jenkins CI detected. [2021-01-22T04:14:01.758Z] project root: . [2021-01-22T04:14:01.758Z] --> token set from env [2021-01-22T04:14:01.758Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T04:14:02.054Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T04:14:02.054Z] ==> Python coveragepy not found [2021-01-22T04:14:02.054Z] ==> Searching for coverage reports in: [2021-01-22T04:14:02.054Z] + . [2021-01-22T04:14:02.054Z] -> Found 1 reports [2021-01-22T04:14:02.054Z] ==> Detecting git/mercurial file structure [2021-01-22T04:14:02.054Z] ==> Reading reports [2021-01-22T04:14:02.054Z] + ./coverage.out bytes=109027 [2021-01-22T04:14:02.054Z] ==> Appending adjustments [2021-01-22T04:14:02.054Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T04:14:03.165Z] + Found adjustments [2021-01-22T04:14:03.165Z] ==> Gzipping contents [2021-01-22T04:14:03.165Z] 20K /tmp/codecov.Z6FhgQ.gz [2021-01-22T04:14:03.165Z] ==> Uploading reports [2021-01-22T04:14:03.165Z] url: https://codecov.io [2021-01-22T04:14:03.165Z] query: branch=PR-746&commit=b71988117f080c0390e6bb1f7a89c5f2e9c83746&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-22T04:14:03.165Z] -> Pinging Codecov [2021-01-22T04:14:03.165Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=b71988117f080c0390e6bb1f7a89c5f2e9c83746&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= [2021-01-22T04:14:03.516Z] -> Uploading to [2021-01-22T04:14:03.516Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/b71988117f080c0390e6bb1f7a89c5f2e9c83746/caabb040-a8f3-4de8-889f-f5e55f728d57.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T041403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9023fe0d47c349e9f8f19bd4fad0a51dc2e6db975533828b66e1c9621c1f4b72 [2021-01-22T04:14:03.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T04:14:03.516Z] Dload Upload Total Spent Left Speed [2021-01-22T04:14:04.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17932 0 0 100 17932 0 28205 --:--:-- --:--:-- --:--:-- 28194 [2021-01-22T04:14:04.118Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b71988117f080c0390e6bb1f7a89c5f2e9c83746 [Pipeline] } [2021-01-22T04:14:04.150Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:06.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:07.436Z] ---> package-listing.sh [2021-01-22T04:14:07.436Z] ++ facter osfamily [2021-01-22T04:14:07.437Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T04:14:07.709Z] + OS_FAMILY=redhat [2021-01-22T04:14:07.709Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 [2021-01-22T04:14:07.709Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T04:14:07.709Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T04:14:07.709Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T04:14:07.709Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T04:14:07.709Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-22T04:14:07.709Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T04:14:07.709Z] + case "${OS_FAMILY}" in [2021-01-22T04:14:07.709Z] + rpm -qa [2021-01-22T04:14:07.709Z] + sort [2021-01-22T04:14:14.549Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T04:14:14.550Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T04:14:14.550Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T04:14:14.550Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' [2021-01-22T04:14:14.550Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [2021-01-22T04:14:14.550Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo [2021-01-22T04:14:14.574Z] 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-22T04:14:14.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:14:15.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T04:14:16.279Z] [2021-01-22T04:14:16.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T04:14:16.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T04:14:17.001Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T04:14:17.001Z] df20fa9351a1: Pulling fs layer [2021-01-22T04:14:17.001Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T04:14:17.001Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T04:14:17.001Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T04:14:17.001Z] 93b61091891f: Pulling fs layer [2021-01-22T04:14:17.001Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T04:14:17.001Z] 5e14af77c1be: Pulling fs layer [2021-01-22T04:14:17.001Z] 01666e4c0597: Pulling fs layer [2021-01-22T04:14:17.001Z] aa168da1d23b: Pulling fs layer [2021-01-22T04:14:17.001Z] 93b9cdb0e59b: Waiting [2021-01-22T04:14:17.001Z] 5e14af77c1be: Waiting [2021-01-22T04:14:17.001Z] 01666e4c0597: Waiting [2021-01-22T04:14:17.001Z] aa168da1d23b: Waiting [2021-01-22T04:14:17.001Z] 46f8f816bc3b: Waiting [2021-01-22T04:14:17.001Z] 93b61091891f: Waiting [2021-01-22T04:14:17.001Z] 36b3adc4ff6f: Verifying Checksum [2021-01-22T04:14:17.001Z] 36b3adc4ff6f: Download complete [2021-01-22T04:14:17.001Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T04:14:17.001Z] 46f8f816bc3b: Download complete [2021-01-22T04:14:17.305Z] df20fa9351a1: Verifying Checksum [2021-01-22T04:14:17.305Z] df20fa9351a1: Download complete [2021-01-22T04:14:17.687Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T04:14:17.687Z] 93b9cdb0e59b: Download complete [2021-01-22T04:14:17.687Z] 93b61091891f: Verifying Checksum [2021-01-22T04:14:17.687Z] 93b61091891f: Download complete [2021-01-22T04:14:17.687Z] 5e14af77c1be: Verifying Checksum [2021-01-22T04:14:17.687Z] 5e14af77c1be: Download complete [2021-01-22T04:14:17.687Z] 01666e4c0597: Verifying Checksum [2021-01-22T04:14:17.687Z] 01666e4c0597: Download complete [2021-01-22T04:14:18.319Z] df20fa9351a1: Pull complete [2021-01-22T04:14:18.681Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T04:14:18.681Z] 8ad3a11d3b57: Download complete [2021-01-22T04:14:18.681Z] 36b3adc4ff6f: Pull complete [2021-01-22T04:14:21.633Z] 8ad3a11d3b57: Pull complete [2021-01-22T04:14:21.633Z] 46f8f816bc3b: Pull complete [2021-01-22T04:14:23.190Z] 93b61091891f: Pull complete [2021-01-22T04:14:23.478Z] 93b9cdb0e59b: Pull complete [2021-01-22T04:14:23.789Z] 5e14af77c1be: Pull complete [2021-01-22T04:14:24.113Z] 01666e4c0597: Pull complete [2021-01-22T04:14:25.726Z] aa168da1d23b: Verifying Checksum [2021-01-22T04:14:25.726Z] aa168da1d23b: Download complete [2021-01-22T04:14:41.011Z] aa168da1d23b: Pull complete [2021-01-22T04:14:41.011Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T04:14:41.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T04:14:41.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T04:14:41.349Z] prd-centos7-docker-4c-2g-22194 does not seem to be running inside a container [2021-01-22T04:14:41.488Z] $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T04:14:45.459Z] $ docker top 936575fa33a0c3423eabeb831cdc3994d2844488746e9d3ebb36523ab69d45e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T04:14:46.284Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T04:14:46.662Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T04:14:47.008Z] + ls /var/log/sa-host [2021-01-22T04:14:47.008Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T04:14:47.008Z] file_magic: OK [2021-01-22T04:14:47.008Z] HZ: Using current value: 100 [2021-01-22T04:14:47.008Z] file_header: OK [2021-01-22T04:14:47.008Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-22T04:14:47.008Z] Statistics: [2021-01-22T04:14:47.008Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T04:14:47.008Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T04:14:47.008Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T04:14:47.008Z] file_magic: OK [2021-01-22T04:14:47.008Z] HZ: Using current value: 100 [2021-01-22T04:14:47.008Z] file_header: OK [2021-01-22T04:14:47.008Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-22T04:14:47.008Z] Statistics: [2021-01-22T04:14:47.008Z] Hnuu...uuuununununu... [2021-01-22T04:14:47.008Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T04:14:47.606Z] provisioning config files... [2021-01-22T04:14:47.630Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config215727050015917764tmp [Pipeline] { [Pipeline] echo [2021-01-22T04:14:47.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:48.466Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T04:14:48.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T04:14:48.583Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:49.277Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T04:14:49.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:49.658Z] ---> sudo-logs.sh [2021-01-22T04:14:49.658Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T04:14:49.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:50.272Z] ---> job-cost.sh [2021-01-22T04:14:50.272Z] lf-activate-venv: SKIPPING [2021-01-22T04:14:50.272Z] INFO: No Stack... [2021-01-22T04:14:51.689Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T04:14:52.276Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T04:14:52.293Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T04:14:52.645Z] ---> logs-deploy.sh [2021-01-22T04:14:52.645Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/5 [2021-01-22T04:14:52.645Z] INFO: archiving workspace using pattern(s): [2021-01-22T04:14:55.325Z] Archives upload complete. [2021-01-22T04:14:55.595Z] INFO: archiving logs to Nexus