Pull request #738 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 d5deea81f03dc35c07b2ed0c5de32627ba71ed6c+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (214da38941671b27e153df8480714b3eeee9e608) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21166 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [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-738 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit d5deea81f03dc35c07b2ed0c5de32627ba71ed6c Merge succeeded, producing d5deea81f03dc35c07b2ed0c5de32627ba71ed6c Checking out Revision d5deea81f03dc35c07b2ed0c5de32627ba71ed6c (PR-738) > git config core.sparsecheckout # timeout=10 > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 Commit message: "refactor: remove ValueType enumeration in Go-SDK" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T07:57:48.815Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T07:57:49.089Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T07:57:49.187Z] ========================================================= [2021-01-19T07:57:49.187Z] EdgeX Global Pipelines Version Info [2021-01-19T07:57:49.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9e21f7aaa05ce715440a955ecf777a7356d89dab # timeout=10 [2021-01-19T07:57:51.806Z] ------------------- [2021-01-19T07:57:51.806Z] stable info: [2021-01-19T07:57:51.806Z] ------------------- [2021-01-19T07:57:51.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T07:57:51.806Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T07:57:51.806Z] Message: update stable to v1.0.177 [2021-01-19T07:57:52.789Z] ------------------- [2021-01-19T07:57:52.789Z] experimental info: [2021-01-19T07:57:52.789Z] ------------------- [2021-01-19T07:57:52.789Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T07:57:52.789Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T07:57:52.789Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T07:57:53.100Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-19T07:57:53.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-19T07:57:53.290Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T07:57:53.380Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T07:57:53.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T07:57:53.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T07:57:53.663Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T07:57:53.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T07:57:53.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-19T07:57:53.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T07:57:54.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T07:57:54.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-19T07:57:54.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T07:57:54.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T07:57:54.476Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-19T07:57:54.570Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:57:54.659Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:57:54.745Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T07:57:54.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T07:57:54.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T07:57:55.063Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-19T07:57:55.151Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-19T07:57:55.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T07:57:55.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T07:57:55.480Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-19T07:57:55.582Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T07:57:55.672Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T07:57:55.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-738 [Pipeline] echo [2021-01-19T07:57:55.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-738 [Pipeline] echo [2021-01-19T07:57:55.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-738 [Pipeline] echo [2021-01-19T07:57:56.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [Pipeline] echo [2021-01-19T07:57:56.148Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5deea8 [Pipeline] echo [2021-01-19T07:57:56.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T07:57:56.422Z] provisioning config files... [2021-01-19T07:57:56.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config8686367160841985043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T07:57:56.936Z] ---> docker-login.sh [2021-01-19T07:57:56.936Z] nexus3.edgexfoundry.org:10001 [2021-01-19T07:57:57.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:57:57.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:57:57.831Z] Configure a credential helper to remove this warning. See [2021-01-19T07:57:57.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:57:57.831Z] [2021-01-19T07:57:57.831Z] Login Succeeded [2021-01-19T07:57:57.831Z] nexus3.edgexfoundry.org:10002 [2021-01-19T07:57:58.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:57:58.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:57:58.463Z] Configure a credential helper to remove this warning. See [2021-01-19T07:57:58.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:57:58.463Z] [2021-01-19T07:57:58.463Z] Login Succeeded [2021-01-19T07:57:58.463Z] nexus3.edgexfoundry.org:10003 [2021-01-19T07:57:59.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:57:59.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:57:59.269Z] Configure a credential helper to remove this warning. See [2021-01-19T07:57:59.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:57:59.269Z] [2021-01-19T07:57:59.269Z] Login Succeeded [2021-01-19T07:57:59.269Z] nexus3.edgexfoundry.org:10004 [2021-01-19T07:57:59.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:57:59.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:57:59.558Z] Configure a credential helper to remove this warning. See [2021-01-19T07:57:59.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:57:59.558Z] [2021-01-19T07:57:59.558Z] Login Succeeded [2021-01-19T07:57:59.558Z] docker.io [2021-01-19T07:57:59.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T07:58:00.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T07:58:00.129Z] Configure a credential helper to remove this warning. See [2021-01-19T07:58:00.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T07:58:00.129Z] [2021-01-19T07:58:00.129Z] Login Succeeded [2021-01-19T07:58:00.129Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T07:58:00.148Z] 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-19T07:58:01.157Z] + git log --format=format:%s -1 d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [Pipeline] echo [2021-01-19T07:58:01.277Z] GIT_COMMIT: d5deea81f03dc35c07b2ed0c5de32627ba71ed6c, Commit Message: refactor: remove ValueType enumeration in Go-SDK [Pipeline] echo [2021-01-19T07:58:01.320Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:58:02.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:58:02.379Z] [2021-01-19T07:58:02.379Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T07:58:02.781Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:58:03.066Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T07:58:03.066Z] 31603596830f: Pulling fs layer [2021-01-19T07:58:03.066Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T07:58:03.066Z] 6ca5941a6612: Pulling fs layer [2021-01-19T07:58:03.066Z] ecc8261a40a4: Pulling fs layer [2021-01-19T07:58:03.066Z] ecc8261a40a4: Waiting [2021-01-19T07:58:03.066Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T07:58:03.066Z] 2a8b12db71e7: Download complete [2021-01-19T07:58:03.066Z] 31603596830f: Verifying Checksum [2021-01-19T07:58:03.066Z] 31603596830f: Download complete [2021-01-19T07:58:03.676Z] ecc8261a40a4: Verifying Checksum [2021-01-19T07:58:03.676Z] ecc8261a40a4: Download complete [2021-01-19T07:58:03.676Z] 6ca5941a6612: Verifying Checksum [2021-01-19T07:58:03.676Z] 6ca5941a6612: Download complete [2021-01-19T07:58:04.385Z] 31603596830f: Pull complete [2021-01-19T07:58:04.702Z] 2a8b12db71e7: Pull complete [2021-01-19T07:58:06.868Z] 6ca5941a6612: Pull complete [2021-01-19T07:58:07.489Z] ecc8261a40a4: Pull complete [2021-01-19T07:58:07.489Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T07:58:07.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T07:58:07.489Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T07:58:07.689Z] prd-centos7-docker-4c-2g-21166 does not seem to be running inside a container [2021-01-19T07:58:07.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T07:58:10.127Z] $ docker top 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T07:58:10.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T07:58:10.562Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T07:58:11.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T07:58:11.129Z] $ docker exec 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb ssh-agent [2021-01-19T07:58:11.568Z] SSH_AUTH_SOCK=/tmp/ssh-I0mMqFg4rkJN/agent.11 [2021-01-19T07:58:11.568Z] SSH_AGENT_PID=16 [2021-01-19T07:58:11.588Z] Running ssh-add (command line suppressed) [2021-01-19T07:58:11.835Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_6085013920111428889.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_6085013920111428889.key) [2021-01-19T07:58:12.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T07:58:12.868Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T07:58:13.026Z] $ docker exec --env ******** --env ******** 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb ssh-agent -k [2021-01-19T07:58:13.356Z] unset SSH_AUTH_SOCK; [2021-01-19T07:58:13.357Z] unset SSH_AGENT_PID; [2021-01-19T07:58:13.357Z] echo Agent pid 16 killed; [2021-01-19T07:58:13.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T07:58:13.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T07:58:13.704Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T07:58:14.371Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T07:58:14.379Z] $ docker exec 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb ssh-agent [2021-01-19T07:58:14.915Z] SSH_AUTH_SOCK=/tmp/ssh-ZIcyewTpzLFc/agent.44 [2021-01-19T07:58:14.915Z] SSH_AGENT_PID=49 [2021-01-19T07:58:14.927Z] Running ssh-add (command line suppressed) [2021-01-19T07:58:15.158Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_61570476723750519.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_61570476723750519.key) [2021-01-19T07:58:15.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T07:58:15.764Z] + git semver init [2021-01-19T07:58:15.764Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T07:58:15.764Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.git [2021-01-19T07:58:15.764Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-19T07:58:15.764Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T07:58:15.764Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T07:58:15.764Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T07:58:15.764Z] # $SEMVER_BRANCH = PR-738 [2021-01-19T07:58:15.764Z] # $SEMVER_TEMP = /tmp/semver-440157889 [2021-01-19T07:58:15.764Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-19T07:58:17.234Z] # '/tmp/semver-440157889' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver' [2021-01-19T07:58:17.234Z] # -> Force: false [2021-01-19T07:58:17.234Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver [Pipeline] } [2021-01-19T07:58:17.324Z] $ docker exec --env ******** --env ******** 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb ssh-agent -k [2021-01-19T07:58:18.091Z] unset SSH_AUTH_SOCK; [2021-01-19T07:58:18.093Z] unset SSH_AGENT_PID; [2021-01-19T07:58:18.093Z] echo Agent pid 49 killed; [2021-01-19T07:58:18.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T07:58:18.791Z] + git semver [Pipeline] } [2021-01-19T07:58:18.845Z] $ docker stop --time=1 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb [2021-01-19T07:58:20.620Z] $ docker rm -f 8fe072846a32caae3cff9f36b4992b7d76e8a2b3371533ebf8cee6eb092d35fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T07:58:21.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T07:58:22.380Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T07:58:22.383Z] [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-19T07:58:37.902Z] Still waiting to schedule task [2021-01-19T07:58:37.902Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-19T07:58:37.904Z] Still waiting to schedule task [2021-01-19T07:58:37.904Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-19T08:00:26.664Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21167 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-19T08:00:26.729Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-19T08:00:31.899Z] using credential edgex-jenkins-ssh [2021-01-19T08:00:31.999Z] Cloning the remote Git repository [2021-01-19T08:00:32.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:32.179Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-19T08:00:32.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:32.251Z] > git --version # timeout=10 [2021-01-19T08:00:32.272Z] > git --version # 'git version 2.17.1' [2021-01-19T08:00:32.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:32.360Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T08:00:34.232Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:00:33.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T08:00:33.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T08:00:33.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T08:00:33.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:33.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:33.611Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T08:00:34.259Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T08:00:34.282Z] > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 [2021-01-19T08:00:34.499Z] Merge succeeded, producing d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:00:34.499Z] Checking out Revision d5deea81f03dc35c07b2ed0c5de32627ba71ed6c (PR-738) [2021-01-19T08:00:34.401Z] > git remote # timeout=10 [2021-01-19T08:00:34.422Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T08:00:34.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:34.455Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-19T08:00:34.479Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T08:00:34.512Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T08:00:34.528Z] > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 [2021-01-19T08:00:38.956Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T08:00:40.667Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T08:00:41.093Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T08:00:41.442Z] + + true [2021-01-19T08:00:41.442Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T08:00:43.606Z] provisioning config files... [2021-01-19T08:00:43.691Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2988895873743161707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:00:44.219Z] ---> docker-login.sh [2021-01-19T08:00:44.219Z] nexus3.edgexfoundry.org:10001 [2021-01-19T08:00:45.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:00:45.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:00:45.482Z] Configure a credential helper to remove this warning. See [2021-01-19T08:00:45.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:00:45.482Z] [2021-01-19T08:00:45.482Z] Login Succeeded [2021-01-19T08:00:45.482Z] nexus3.edgexfoundry.org:10002 [2021-01-19T08:00:45.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:00:46.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:00:46.035Z] Configure a credential helper to remove this warning. See [2021-01-19T08:00:46.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:00:46.035Z] [2021-01-19T08:00:46.035Z] Login Succeeded [2021-01-19T08:00:46.035Z] nexus3.edgexfoundry.org:10003 [2021-01-19T08:00:46.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:00:46.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:00:46.584Z] Configure a credential helper to remove this warning. See [2021-01-19T08:00:46.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:00:46.584Z] [2021-01-19T08:00:46.584Z] Login Succeeded [2021-01-19T08:00:46.584Z] nexus3.edgexfoundry.org:10004 [2021-01-19T08:00:46.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:00:46.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:00:46.865Z] Configure a credential helper to remove this warning. See [2021-01-19T08:00:46.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:00:46.865Z] [2021-01-19T08:00:46.865Z] Login Succeeded [2021-01-19T08:00:46.865Z] docker.io [2021-01-19T08:00:47.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:00:47.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:00:47.755Z] Configure a credential helper to remove this warning. See [2021-01-19T08:00:47.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:00:47.755Z] [2021-01-19T08:00:47.755Z] Login Succeeded [2021-01-19T08:00:47.755Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T08:00:47.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T08:00:48.318Z] ========================================================= [2021-01-19T08:00:48.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T08:00:48.318Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:00:48.753Z] + 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-19T08:00:49.038Z] Running on prd-centos7-docker-4c-2g-21168 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-19T08:00:49.097Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-19T08:00:49.377Z] Sending build context to Docker daemon 2.593MB [2021-01-19T08:00:49.377Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T08:00:49.377Z] Step 2/8 : FROM ${BASE} [2021-01-19T08:00:49.377Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T08:00:49.377Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T08:00:49.377Z] a4357932f1b6: Pulling fs layer [2021-01-19T08:00:49.377Z] 18c013af1878: Pulling fs layer [2021-01-19T08:00:49.377Z] 00ac8860ef70: Pulling fs layer [2021-01-19T08:00:49.377Z] 63d7cb157983: Pulling fs layer [2021-01-19T08:00:49.377Z] b116817d02f9: Pulling fs layer [2021-01-19T08:00:49.377Z] 745a02a5169b: Pulling fs layer [2021-01-19T08:00:49.377Z] 00ac8860ef70: Waiting [2021-01-19T08:00:49.377Z] 63d7cb157983: Waiting [2021-01-19T08:00:49.377Z] b116817d02f9: Waiting [2021-01-19T08:00:49.377Z] 745a02a5169b: Waiting [2021-01-19T08:00:49.377Z] 18c013af1878: Verifying Checksum [2021-01-19T08:00:49.377Z] 18c013af1878: Download complete [2021-01-19T08:00:49.377Z] a4357932f1b6: Verifying Checksum [2021-01-19T08:00:49.377Z] a4357932f1b6: Download complete [2021-01-19T08:00:49.377Z] 63d7cb157983: Download complete [2021-01-19T08:00:49.377Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T08:00:49.377Z] b116817d02f9: Verifying Checksum [2021-01-19T08:00:49.377Z] b116817d02f9: Download complete [2021-01-19T08:00:50.365Z] 5f621e34cdf4: Pull complete [2021-01-19T08:00:50.643Z] a4357932f1b6: Pull complete [2021-01-19T08:00:51.286Z] 18c013af1878: Pull complete [2021-01-19T08:00:51.512Z] using credential edgex-jenkins-ssh [2021-01-19T08:00:51.565Z] Cloning the remote Git repository [2021-01-19T08:00:50.957Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:51.034Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-01-19T08:00:51.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:51.093Z] > git --version # timeout=10 [2021-01-19T08:00:51.099Z] > git --version # 'git version 2.24.3' [2021-01-19T08:00:51.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:51.124Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T08:00:52.735Z] 745a02a5169b: Download complete [2021-01-19T08:00:53.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T08:00:53.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T08:00:53.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-19T08:00:53.716Z] 00ac8860ef70: Verifying Checksum [2021-01-19T08:00:53.717Z] 00ac8860ef70: Download complete [2021-01-19T08:00:53.990Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:00:54.075Z] Merge succeeded, producing d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:00:54.075Z] Checking out Revision d5deea81f03dc35c07b2ed0c5de32627ba71ed6c (PR-738) [2021-01-19T08:00:53.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-19T08:00:53.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:53.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T08:00:53.565Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T08:00:53.570Z] > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 [2021-01-19T08:00:53.619Z] > git remote # timeout=10 [2021-01-19T08:00:53.624Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T08:00:53.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T08:00:53.633Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-19T08:00:53.644Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T08:00:53.653Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T08:00:53.660Z] > git checkout -f d5deea81f03dc35c07b2ed0c5de32627ba71ed6c # timeout=10 [2021-01-19T08:00:57.454Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T08:00:58.761Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T08:00:59.093Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T08:00:59.397Z] + sudo service docker restart [2021-01-19T08:00:59.397Z] + true [2021-01-19T08:00:59.397Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-19T08:01:00.888Z] provisioning config files... [2021-01-19T08:01:00.920Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8251428054265921585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:01:01.321Z] ---> docker-login.sh [2021-01-19T08:01:01.321Z] nexus3.edgexfoundry.org:10001 [2021-01-19T08:01:01.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:01:01.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:01:01.585Z] Configure a credential helper to remove this warning. See [2021-01-19T08:01:01.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:01:01.585Z] [2021-01-19T08:01:01.585Z] Login Succeeded [2021-01-19T08:01:01.585Z] nexus3.edgexfoundry.org:10002 [2021-01-19T08:01:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:01:01.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:01:01.849Z] Configure a credential helper to remove this warning. See [2021-01-19T08:01:01.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:01:01.849Z] [2021-01-19T08:01:01.849Z] Login Succeeded [2021-01-19T08:01:01.849Z] nexus3.edgexfoundry.org:10003 [2021-01-19T08:01:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:01:02.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:01:02.114Z] Configure a credential helper to remove this warning. See [2021-01-19T08:01:02.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:01:02.114Z] [2021-01-19T08:01:02.114Z] Login Succeeded [2021-01-19T08:01:02.114Z] nexus3.edgexfoundry.org:10004 [2021-01-19T08:01:02.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:01:02.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:01:02.114Z] Configure a credential helper to remove this warning. See [2021-01-19T08:01:02.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:01:02.114Z] [2021-01-19T08:01:02.114Z] Login Succeeded [2021-01-19T08:01:02.114Z] docker.io [2021-01-19T08:01:02.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-19T08:01:02.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-19T08:01:02.637Z] Configure a credential helper to remove this warning. See [2021-01-19T08:01:02.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-19T08:01:02.637Z] [2021-01-19T08:01:02.637Z] Login Succeeded [2021-01-19T08:01:02.637Z] ---> docker-login.sh ends [Pipeline] } [2021-01-19T08:01:02.647Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-19T08:01:02.964Z] ========================================================= [2021-01-19T08:01:02.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T08:01:02.965Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:01:03.309Z] + 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-19T08:01:03.309Z] Sending build context to Docker daemon 2.594MB [2021-01-19T08:01:03.309Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T08:01:03.309Z] Step 2/8 : FROM ${BASE} [2021-01-19T08:01:03.571Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T08:01:03.571Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T08:01:03.571Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T08:01:03.571Z] de9db76c5a1d: Pulling fs layer [2021-01-19T08:01:03.571Z] bca2f99d35d6: Pulling fs layer [2021-01-19T08:01:03.571Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T08:01:03.571Z] 7c6f9722023f: Pulling fs layer [2021-01-19T08:01:03.571Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T08:01:03.571Z] bca2f99d35d6: Waiting [2021-01-19T08:01:03.571Z] 93359f2a8cfa: Waiting [2021-01-19T08:01:03.571Z] 7c6f9722023f: Waiting [2021-01-19T08:01:03.571Z] a35cf1a2eb13: Waiting [2021-01-19T08:01:03.571Z] de9db76c5a1d: Download complete [2021-01-19T08:01:03.571Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T08:01:03.571Z] 0ef7d3d256c8: Download complete [2021-01-19T08:01:03.571Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T08:01:03.571Z] 93359f2a8cfa: Download complete [2021-01-19T08:01:03.571Z] 7c6f9722023f: Verifying Checksum [2021-01-19T08:01:03.571Z] 7c6f9722023f: Download complete [2021-01-19T08:01:03.571Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T08:01:03.571Z] 188c0c94c7c5: Download complete [2021-01-19T08:01:03.840Z] 188c0c94c7c5: Pull complete [2021-01-19T08:01:03.924Z] 00ac8860ef70: Pull complete [2021-01-19T08:01:04.104Z] 0ef7d3d256c8: Pull complete [2021-01-19T08:01:04.104Z] de9db76c5a1d: Pull complete [2021-01-19T08:01:04.202Z] 63d7cb157983: Pull complete [2021-01-19T08:01:04.821Z] b116817d02f9: Pull complete [2021-01-19T08:01:06.032Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T08:01:06.032Z] a35cf1a2eb13: Download complete [2021-01-19T08:01:06.298Z] bca2f99d35d6: Download complete [2021-01-19T08:01:09.185Z] 745a02a5169b: Pull complete [2021-01-19T08:01:09.186Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T08:01:09.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T08:01:09.186Z] ---> b7e6874047d6 [2021-01-19T08:01:09.186Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:01:11.622Z] bca2f99d35d6: Pull complete [2021-01-19T08:01:11.622Z] 93359f2a8cfa: Pull complete [2021-01-19T08:01:11.622Z] 7c6f9722023f: Pull complete [2021-01-19T08:01:11.824Z] ---> Running in 2ade1d84c453 [2021-01-19T08:01:11.824Z] Removing intermediate container 2ade1d84c453 [2021-01-19T08:01:11.824Z] ---> 19f530053793 [2021-01-19T08:01:11.824Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T08:01:12.103Z] ---> Running in d37e9fa750ee [2021-01-19T08:01:14.745Z] Removing intermediate container d37e9fa750ee [2021-01-19T08:01:14.745Z] ---> 52610f71053e [2021-01-19T08:01:14.745Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T08:01:14.745Z] ---> Running in 8fb6cd3cb987 [2021-01-19T08:01:15.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T08:01:16.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T08:01:16.921Z] OK: 142 MiB in 39 packages [2021-01-19T08:01:16.957Z] a35cf1a2eb13: Pull complete [2021-01-19T08:01:16.957Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T08:01:16.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T08:01:16.957Z] ---> a62c8e92a672 [2021-01-19T08:01:16.957Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:01:17.220Z] ---> Running in 7f27d39f3dad [2021-01-19T08:01:17.220Z] Removing intermediate container 7f27d39f3dad [2021-01-19T08:01:17.220Z] ---> 7f0a81c32f25 [2021-01-19T08:01:17.220Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T08:01:17.488Z] ---> Running in 712f5614529d [2021-01-19T08:01:17.901Z] Removing intermediate container 8fb6cd3cb987 [2021-01-19T08:01:17.901Z] ---> 12f97963ae53 [2021-01-19T08:01:17.901Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T08:01:18.175Z] ---> Running in 9313c9cf62e6 [2021-01-19T08:01:18.436Z] Removing intermediate container 712f5614529d [2021-01-19T08:01:18.436Z] ---> ed1acc516eb7 [2021-01-19T08:01:18.436Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-19T08:01:18.436Z] ---> Running in 5dfebb8045c7 [2021-01-19T08:01:18.773Z] Removing intermediate container 9313c9cf62e6 [2021-01-19T08:01:18.773Z] ---> f6b154657613 [2021-01-19T08:01:18.773Z] Step 7/8 : COPY . . [2021-01-19T08:01:19.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T08:01:19.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T08:01:20.155Z] OK: 166 MiB in 39 packages [2021-01-19T08:01:20.208Z] ---> 88f00c1f0475 [2021-01-19T08:01:20.208Z] Step 8/8 : RUN go mod download [2021-01-19T08:01:20.208Z] ---> Running in e483389a4fd4 [2021-01-19T08:01:20.733Z] Removing intermediate container 5dfebb8045c7 [2021-01-19T08:01:20.734Z] ---> 9171c0134531 [2021-01-19T08:01:20.734Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-19T08:01:20.734Z] ---> Running in 9f471e6154fa [2021-01-19T08:01:20.996Z] Removing intermediate container 9f471e6154fa [2021-01-19T08:01:20.996Z] ---> 9a8da007775b [2021-01-19T08:01:20.996Z] Step 7/8 : COPY . . [2021-01-19T08:01:22.386Z] ---> 18e28bf3de52 [2021-01-19T08:01:22.386Z] Step 8/8 : RUN go mod download [2021-01-19T08:01:22.386Z] ---> Running in 4f2223a0f5e6 [2021-01-19T08:01:40.540Z] Removing intermediate container 4f2223a0f5e6 [2021-01-19T08:01:40.540Z] ---> c4f3a5987075 [2021-01-19T08:01:40.540Z] Successfully built c4f3a5987075 [2021-01-19T08:01:40.540Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:01:40.863Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T08:01:40.863Z] . [Pipeline] withDockerContainer [2021-01-19T08:01:41.138Z] prd-centos7-docker-4c-2g-21168 does not seem to be running inside a container [2021-01-19T08:01:41.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-19T08:01:41.905Z] $ docker top 74cd681f44505e06e2f200e7275a98b1c10b8136bf82bfd8f50b62cfb5228301 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T08:01:42.402Z] Removing intermediate container e483389a4fd4 [2021-01-19T08:01:42.403Z] ---> 3b1737dc2bcb [2021-01-19T08:01:42.403Z] Successfully built 3b1737dc2bcb [2021-01-19T08:01:42.403Z] Successfully tagged ci-base-image-arm64:latest [2021-01-19T08:01:42.418Z] + go version [2021-01-19T08:01:42.418Z] go version go1.15.5 linux/amd64 [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-01-19T08:01:42.530Z] $ docker stop --time=1 74cd681f44505e06e2f200e7275a98b1c10b8136bf82bfd8f50b62cfb5228301 [2021-01-19T08:01:42.790Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T08:01:42.791Z] . [2021-01-19T08:01:43.865Z] $ docker rm -f 74cd681f44505e06e2f200e7275a98b1c10b8136bf82bfd8f50b62cfb5228301 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-01-19T08:01:44.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-21167 does not seem to be running inside a container [2021-01-19T08:01:44.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T08:01:45.907Z] $ docker top 333037837d571a4a82f46f697e04e9edff62730eed5e4cc778384526d3ddc73e -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:01:46.938Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T08:01:46.939Z] . [2021-01-19T08:01:46.945Z] + go version [2021-01-19T08:01:46.945Z] go version go1.15.5 linux/arm64 [Pipeline] withDockerContainer [2021-01-19T08:01:47.068Z] prd-centos7-docker-4c-2g-21168 does not seem to be running inside a container [2021-01-19T08:01:47.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-19T08:01:47.757Z] $ docker top 98efdfcb796452e0a891b795ddce4b40419b274d7ab8e2b4fd860ffabb9d43cc -eo pid,comm [Pipeline] { [Pipeline] } [2021-01-19T08:01:47.963Z] $ docker stop --time=1 333037837d571a4a82f46f697e04e9edff62730eed5e4cc778384526d3ddc73e [2021-01-19T08:01:49.937Z] $ docker rm -f 333037837d571a4a82f46f697e04e9edff62730eed5e4cc778384526d3ddc73e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-01-19T08:01:50.581Z] + make test [2021-01-19T08:01:50.581Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:01:51.064Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T08:01:51.064Z] . [Pipeline] withDockerContainer [2021-01-19T08:01:51.333Z] prd-ubuntu18.04-docker-arm64-4c-16g-21167 does not seem to be running inside a container [2021-01-19T08:01:51.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T08:01:52.935Z] $ docker top 48465bf51bb79c1241bd39667075b90a0ec84b4d05c0b961a7e638c6ddd53fc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T08:01:54.014Z] + make test [2021-01-19T08:01:54.014Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-19T08:01:57.218Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T08:02:12.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T08:02:12.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T08:02:12.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T08:02:12.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 19.4% of statements [2021-01-19T08:02:12.811Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.432s coverage: 97.1% of statements [2021-01-19T08:02:16.220Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 9.4% of statements [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.208s coverage: 43.2% of statements [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.285s coverage: 68.9% of statements [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.081s coverage: 26.8% of statements [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.212s coverage: 83.5% of statements [2021-01-19T08:02:44.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements [2021-01-19T08:02:44.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T08:02:44.996Z] GO111MODULE=on go vet ./... [2021-01-19T08:02:51.699Z] gofmt -l . [2021-01-19T08:02:51.699Z] [ "`gofmt -l .`" = "" ] [2021-01-19T08:02:51.699Z] ./bin/test-attribution-txt.sh [2021-01-19T08:02:52.646Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T08:02:52.663Z] $ docker stop --time=1 98efdfcb796452e0a891b795ddce4b40419b274d7ab8e2b4fd860ffabb9d43cc [2021-01-19T08:02:54.616Z] $ docker rm -f 98efdfcb796452e0a891b795ddce4b40419b274d7ab8e2b4fd860ffabb9d43cc [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T08:02:55.247Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-19T08:02:55.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-19T08:02:55.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-19T08:02:55.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T08:02:55.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-19T08:02:56.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.112s coverage: 19.4% of statements [Pipeline] sh [2021-01-19T08:02:58.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T08:02:58.601Z] + ls -al . [2021-01-19T08:02:58.601Z] total 216 [2021-01-19T08:02:58.601Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 08:02 . [2021-01-19T08:02:58.601Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 08:00 .. [2021-01-19T08:02:58.601Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 08:00 bin [2021-01-19T08:02:58.601Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 19 08:02 coverage.out [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 08:00 Dockerfile.build [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 08:00 .dockerignore [2021-01-19T08:02:58.601Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 08:00 example [2021-01-19T08:02:58.601Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 08:00 .git [2021-01-19T08:02:58.601Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 08:00 .github [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 08:00 .gitignore [2021-01-19T08:02:58.601Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 19 08:02 go.mod [2021-01-19T08:02:58.601Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 08:02 go.sum [2021-01-19T08:02:58.601Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 08:00 internal [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 08:00 Jenkinsfile [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 08:00 LICENSE [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 08:00 Makefile [2021-01-19T08:02:58.601Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 08:00 openapi [2021-01-19T08:02:58.601Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 08:00 pkg [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 08:00 README.md [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 08:00 RELEASE-NOTES.txt [2021-01-19T08:02:58.601Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 08:00 snap [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 07:58 VERSION [2021-01-19T08:02:58.601Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 08:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:02:58.903Z] + 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=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c --label arch=amd64 --label version=0.0.0 . [2021-01-19T08:02:59.166Z] Sending build context to Docker daemon 2.732MB [2021-01-19T08:02:59.166Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T08:02:59.166Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T08:02:59.166Z] ---> c4f3a5987075 [2021-01-19T08:02:59.166Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T08:02:59.738Z] ---> Running in e58c346d9009 [2021-01-19T08:03:00.004Z] Removing intermediate container e58c346d9009 [2021-01-19T08:03:00.004Z] ---> 486c3d3b5707 [2021-01-19T08:03:00.004Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T08:03:00.004Z] ---> Running in f8dd6ee79b9d [2021-01-19T08:03:00.004Z] Removing intermediate container f8dd6ee79b9d [2021-01-19T08:03:00.004Z] ---> 97832c1fda3e [2021-01-19T08:03:00.004Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:03:00.266Z] ---> Running in ba60c76c0926 [2021-01-19T08:03:00.266Z] Removing intermediate container ba60c76c0926 [2021-01-19T08:03:00.266Z] ---> 2cbeeed255e4 [2021-01-19T08:03:00.266Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T08:03:00.531Z] ---> Running in 14b60262d744 [2021-01-19T08:03:01.477Z] Removing intermediate container 14b60262d744 [2021-01-19T08:03:01.477Z] ---> e917655c60b3 [2021-01-19T08:03:01.477Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T08:03:01.477Z] ---> Running in f31e0c615f11 [2021-01-19T08:03:01.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.209s coverage: 97.1% of statements [2021-01-19T08:03:01.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T08:03:02.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T08:03:02.883Z] OK: 166 MiB in 39 packages [2021-01-19T08:03:03.459Z] Removing intermediate container f31e0c615f11 [2021-01-19T08:03:03.459Z] ---> 01ac08414e76 [2021-01-19T08:03:03.459Z] Step 8/24 : COPY . . [2021-01-19T08:03:04.857Z] ---> 1ec9c3591e15 [2021-01-19T08:03:04.857Z] Step 9/24 : RUN ${MAKE} [2021-01-19T08:03:04.857Z] ---> Running in 781ac5d1ed75 [2021-01-19T08:03:05.121Z] 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-19T08:03:13.359Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T08:03:14.749Z] Removing intermediate container 781ac5d1ed75 [2021-01-19T08:03:14.749Z] ---> 0e554941c9b7 [2021-01-19T08:03:14.749Z] Step 10/24 : FROM scratch [2021-01-19T08:03:14.749Z] ---> [2021-01-19T08:03:14.749Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:03:15.015Z] ---> Running in 21bd5d1f1fe3 [2021-01-19T08:03:15.015Z] Removing intermediate container 21bd5d1f1fe3 [2021-01-19T08:03:15.015Z] ---> 6b805493a5c7 [2021-01-19T08:03:15.015Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T08:03:15.015Z] ---> Running in bfbdeaecbcd8 [2021-01-19T08:03:15.276Z] Removing intermediate container bfbdeaecbcd8 [2021-01-19T08:03:15.276Z] ---> 85c16dcdbb77 [2021-01-19T08:03:15.276Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T08:03:15.276Z] ---> Running in 941f026d1031 [2021-01-19T08:03:15.537Z] Removing intermediate container 941f026d1031 [2021-01-19T08:03:15.537Z] ---> 4df58c1c56d0 [2021-01-19T08:03:15.537Z] Step 14/24 : WORKDIR / [2021-01-19T08:03:15.537Z] ---> Running in 32f8ecc4f25f [2021-01-19T08:03:15.801Z] Removing intermediate container 32f8ecc4f25f [2021-01-19T08:03:15.801Z] ---> f05c5e020e71 [2021-01-19T08:03:15.801Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T08:03:16.380Z] ---> 8d0844b65991 [2021-01-19T08:03:16.380Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T08:03:16.380Z] ---> e896ced990f1 [2021-01-19T08:03:16.380Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T08:03:17.328Z] ---> 20f2e51edaac [2021-01-19T08:03:17.328Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T08:03:17.328Z] ---> 8ce49f9f31c8 [2021-01-19T08:03:17.328Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T08:03:17.589Z] ---> 80394704f4ad [2021-01-19T08:03:17.589Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T08:03:17.589Z] ---> Running in 75da2f4870e7 [2021-01-19T08:03:17.851Z] Removing intermediate container 75da2f4870e7 [2021-01-19T08:03:17.851Z] ---> 842a515550a3 [2021-01-19T08:03:17.851Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T08:03:17.851Z] ---> Running in 37f6cca70e0e [2021-01-19T08:03:18.111Z] Removing intermediate container 37f6cca70e0e [2021-01-19T08:03:18.111Z] ---> a34a8fc6ab0f [2021-01-19T08:03:18.111Z] Step 22/24 : LABEL arch=amd64 [2021-01-19T08:03:18.111Z] ---> Running in f2a89ce56c97 [2021-01-19T08:03:18.373Z] Removing intermediate container f2a89ce56c97 [2021-01-19T08:03:18.373Z] ---> 494c0af777cb [2021-01-19T08:03:18.373Z] Step 23/24 : LABEL git_sha=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:03:18.373Z] ---> Running in 0d0241c22700 [2021-01-19T08:03:18.636Z] Removing intermediate container 0d0241c22700 [2021-01-19T08:03:18.636Z] ---> 1e2baa7eeca2 [2021-01-19T08:03:18.636Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T08:03:18.636Z] ---> Running in 290364ec5fcb [2021-01-19T08:03:18.900Z] Removing intermediate container 290364ec5fcb [2021-01-19T08:03:18.900Z] ---> 7faacea3e8b5 [2021-01-19T08:03:18.900Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T08:03:18.900Z] Successfully built 7faacea3e8b5 [2021-01-19T08:03:18.900Z] 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-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.156s coverage: 9.4% of statements [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.598s coverage: 43.2% of statements [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.756s coverage: 68.9% of statements [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.205s coverage: 53.8% of statements [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 26.8% of statements [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.967s coverage: 83.5% of statements [2021-01-19T08:03:34.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-19T08:03:34.083Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-19T08:03:34.083Z] GO111MODULE=on go vet ./... [2021-01-19T08:04:06.642Z] gofmt -l . [2021-01-19T08:04:06.642Z] [ "`gofmt -l .`" = "" ] [2021-01-19T08:04:06.642Z] ./bin/test-attribution-txt.sh [2021-01-19T08:04:06.642Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-19T08:04:06.665Z] $ docker stop --time=1 48465bf51bb79c1241bd39667075b90a0ec84b4d05c0b961a7e638c6ddd53fc2 [2021-01-19T08:04:08.812Z] $ docker rm -f 48465bf51bb79c1241bd39667075b90a0ec84b4d05c0b961a7e638c6ddd53fc2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T08:04:09.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T08:04:09.882Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T08:04:10.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T08:04:11.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-19T08:04:11.729Z] + ls -al . [2021-01-19T08:04:11.729Z] total 252 [2021-01-19T08:04:11.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 08:04 . [2021-01-19T08:04:11.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 08:00 .. [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 08:00 .dockerignore [2021-01-19T08:04:11.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 08:00 .git [2021-01-19T08:04:11.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 08:00 .github [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 08:00 .gitignore [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 08:00 Dockerfile.build [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 08:00 Jenkinsfile [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 08:00 LICENSE [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 08:00 Makefile [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 08:00 README.md [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 08:00 RELEASE-NOTES.txt [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 07:58 VERSION [2021-01-19T08:04:11.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 08:00 bin [2021-01-19T08:04:11.729Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 19 08:03 coverage.out [2021-01-19T08:04:11.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 08:00 example [2021-01-19T08:04:11.729Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 19 08:04 go.mod [2021-01-19T08:04:11.729Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 08:04 go.sum [2021-01-19T08:04:11.729Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 08:00 internal [2021-01-19T08:04:11.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 08:00 openapi [2021-01-19T08:04:11.729Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 08:00 pkg [2021-01-19T08:04:11.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 08:00 snap [2021-01-19T08:04:11.729Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 08:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:04:12.073Z] + 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=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c --label arch=arm64 --label version=0.0.0 . [2021-01-19T08:04:12.344Z] Sending build context to Docker daemon 2.731MB [2021-01-19T08:04:12.617Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-19T08:04:12.617Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-19T08:04:12.617Z] ---> 3b1737dc2bcb [2021-01-19T08:04:12.617Z] Step 3/24 : ARG MAKE='make build' [2021-01-19T08:04:12.891Z] ---> Running in 3a9cb37cfce3 [2021-01-19T08:04:13.176Z] Removing intermediate container 3a9cb37cfce3 [2021-01-19T08:04:13.176Z] ---> 11cf7c520391 [2021-01-19T08:04:13.176Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-19T08:04:13.450Z] ---> Running in a91146bb58da [2021-01-19T08:04:14.051Z] Removing intermediate container a91146bb58da [2021-01-19T08:04:14.051Z] ---> 16a5df6387d5 [2021-01-19T08:04:14.051Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:04:14.051Z] ---> Running in 9aaae1c19b06 [2021-01-19T08:04:14.327Z] Removing intermediate container 9aaae1c19b06 [2021-01-19T08:04:14.327Z] ---> ff858e8c5044 [2021-01-19T08:04:14.327Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-19T08:04:14.604Z] ---> Running in 7eb8f5cfec9e [2021-01-19T08:04:16.595Z] Removing intermediate container 7eb8f5cfec9e [2021-01-19T08:04:16.595Z] ---> f45100e6aa2e [2021-01-19T08:04:16.595Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-19T08:04:16.873Z] ---> Running in 264fddeb1a2a [2021-01-19T08:04:17.852Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T08:04:18.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T08:04:19.427Z] OK: 142 MiB in 39 packages [2021-01-19T08:04:20.404Z] Removing intermediate container 264fddeb1a2a [2021-01-19T08:04:20.404Z] ---> 2e4144066d73 [2021-01-19T08:04:20.404Z] Step 8/24 : COPY . . [2021-01-19T08:04:21.846Z] ---> 79a2150016ac [2021-01-19T08:04:21.846Z] Step 9/24 : RUN ${MAKE} [2021-01-19T08:04:22.124Z] ---> Running in a8f0e423cd25 [2021-01-19T08:04:23.102Z] 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-19T08:04:49.924Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-19T08:04:49.924Z] Removing intermediate container a8f0e423cd25 [2021-01-19T08:04:49.924Z] ---> 8090127f919b [2021-01-19T08:04:49.924Z] Step 10/24 : FROM scratch [2021-01-19T08:04:49.924Z] ---> [2021-01-19T08:04:49.924Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-19T08:04:49.924Z] ---> Running in fa63c8eef618 [2021-01-19T08:04:50.196Z] Removing intermediate container fa63c8eef618 [2021-01-19T08:04:50.196Z] ---> d069575833cf [2021-01-19T08:04:50.196Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-19T08:04:50.467Z] ---> Running in 40d4dcffdfe1 [2021-01-19T08:04:50.741Z] Removing intermediate container 40d4dcffdfe1 [2021-01-19T08:04:50.741Z] ---> d4cc95b6afc5 [2021-01-19T08:04:50.741Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-19T08:04:51.013Z] ---> Running in 03367066275c [2021-01-19T08:04:51.291Z] Removing intermediate container 03367066275c [2021-01-19T08:04:51.291Z] ---> eaf882a731ea [2021-01-19T08:04:51.291Z] Step 14/24 : WORKDIR / [2021-01-19T08:04:51.291Z] ---> Running in 4457fc13181b [2021-01-19T08:04:51.891Z] Removing intermediate container 4457fc13181b [2021-01-19T08:04:51.891Z] ---> 14e44fb69f95 [2021-01-19T08:04:51.891Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-19T08:04:52.870Z] ---> 1c6298d3f98e [2021-01-19T08:04:52.870Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-19T08:04:53.849Z] ---> 18a85adcbd26 [2021-01-19T08:04:53.849Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-19T08:04:54.452Z] ---> 85b343e4c8b4 [2021-01-19T08:04:54.452Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-19T08:04:55.053Z] ---> 9ce3a3c0e268 [2021-01-19T08:04:55.053Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-19T08:04:56.032Z] ---> 7f4768ec4819 [2021-01-19T08:04:56.032Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-19T08:04:56.032Z] ---> Running in 4efe300bb6af [2021-01-19T08:04:56.629Z] Removing intermediate container 4efe300bb6af [2021-01-19T08:04:56.629Z] ---> a776d9bfd3ee [2021-01-19T08:04:56.629Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-19T08:04:56.629Z] ---> Running in d17d8376bb0d [2021-01-19T08:04:57.227Z] Removing intermediate container d17d8376bb0d [2021-01-19T08:04:57.227Z] ---> 0b05630a8a97 [2021-01-19T08:04:57.227Z] Step 22/24 : LABEL arch=arm64 [2021-01-19T08:04:57.227Z] ---> Running in c0922c5ea731 [2021-01-19T08:04:57.824Z] Removing intermediate container c0922c5ea731 [2021-01-19T08:04:57.824Z] ---> 3baab9b47c0c [2021-01-19T08:04:57.824Z] Step 23/24 : LABEL git_sha=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [2021-01-19T08:04:58.097Z] ---> Running in 1321f6abfda6 [2021-01-19T08:04:58.697Z] Removing intermediate container 1321f6abfda6 [2021-01-19T08:04:58.697Z] ---> 8310c5a0f31d [2021-01-19T08:04:58.697Z] Step 24/24 : LABEL version=0.0.0 [2021-01-19T08:04:58.697Z] ---> Running in 27f1eacf816e [2021-01-19T08:04:59.294Z] Removing intermediate container 27f1eacf816e [2021-01-19T08:04:59.294Z] ---> cea027f9009a [2021-01-19T08:04:59.294Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-19T08:04:59.294Z] Successfully built cea027f9009a [2021-01-19T08:04:59.294Z] 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-19T08:05:01.083Z] provisioning config files... [2021-01-19T08:05:01.111Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config6110580055382390741tmp [Pipeline] { [Pipeline] sh [2021-01-19T08:05:01.635Z] + set +x [2021-01-19T08:05:01.635Z] + curl -s https://codecov.io/bash [2021-01-19T08:05:01.635Z] + bash -s -- [2021-01-19T08:05:02.074Z] [2021-01-19T08:05:02.074Z] _____ _ [2021-01-19T08:05:02.074Z] / ____| | | [2021-01-19T08:05:02.074Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T08:05:02.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T08:05:02.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T08:05:02.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T08:05:02.074Z] Bash-20210115-cec3c92 [2021-01-19T08:05:02.074Z] [2021-01-19T08:05:02.074Z] [2021-01-19T08:05:02.074Z] ==> git version 2.24.3 found [2021-01-19T08:05:02.074Z] ==> 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-19T08:05:02.074Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T08:05:02.074Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T08:05:02.074Z] ==> Jenkins CI detected. [2021-01-19T08:05:02.074Z] project root: . [2021-01-19T08:05:02.074Z] --> token set from env [2021-01-19T08:05:02.444Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T08:05:02.444Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T08:05:02.754Z] ==> Python coveragepy not found [2021-01-19T08:05:02.754Z] ==> Searching for coverage reports in: [2021-01-19T08:05:02.754Z] + . [2021-01-19T08:05:02.754Z] -> Found 1 reports [2021-01-19T08:05:02.754Z] ==> Detecting git/mercurial file structure [2021-01-19T08:05:02.754Z] ==> Reading reports [2021-01-19T08:05:02.754Z] + ./coverage.out bytes=136842 [2021-01-19T08:05:02.754Z] ==> Appending adjustments [2021-01-19T08:05:02.754Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T08:05:03.931Z] + Found adjustments [2021-01-19T08:05:03.931Z] ==> Gzipping contents [2021-01-19T08:05:03.931Z] 24K /tmp/codecov.EhdzIu.gz [2021-01-19T08:05:03.931Z] ==> Uploading reports [2021-01-19T08:05:03.931Z] url: https://codecov.io [2021-01-19T08:05:03.931Z] query: branch=PR-738&commit=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-19T08:05:03.931Z] -> Pinging Codecov [2021-01-19T08:05:03.931Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-738&commit=d5deea81f03dc35c07b2ed0c5de32627ba71ed6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-19T08:05:04.218Z] -> Uploading to [2021-01-19T08:05:04.218Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/d5deea81f03dc35c07b2ed0c5de32627ba71ed6c/7fff5c96-fa70-4bd8-a85d-006bf41716d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T080504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=497838f4ecd39bc898eace8ae9fc69989552fe101de680b83f64d359be28001c [2021-01-19T08:05:04.218Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T08:05:04.218Z] Dload Upload Total Spent Left Speed [2021-01-19T08:05:04.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21532 0 0 100 21532 0 35119 --:--:-- --:--:-- --:--:-- 35183 [2021-01-19T08:05:04.839Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d5deea81f03dc35c07b2ed0c5de32627ba71ed6c [Pipeline] } [2021-01-19T08:05:04.858Z] 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-19T08:05:09.095Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:10.231Z] ---> package-listing.sh [2021-01-19T08:05:10.231Z] ++ facter osfamily [2021-01-19T08:05:10.231Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T08:05:10.502Z] + OS_FAMILY=redhat [2021-01-19T08:05:10.502Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-19T08:05:10.503Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T08:05:10.503Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T08:05:10.503Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T08:05:10.503Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T08:05:10.503Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-19T08:05:10.503Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T08:05:10.503Z] + case "${OS_FAMILY}" in [2021-01-19T08:05:10.503Z] + rpm -qa [2021-01-19T08:05:10.503Z] + sort [2021-01-19T08:05:18.918Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T08:05:18.918Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T08:05:18.918Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T08:05:18.918Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-19T08:05:18.918Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [2021-01-19T08:05:18.918Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [Pipeline] echo [2021-01-19T08:05:18.936Z] 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-738/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T08:05:19.283Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:05:19.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T08:05:20.228Z] [2021-01-19T08:05:20.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T08:05:20.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T08:05:20.961Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T08:05:20.961Z] df20fa9351a1: Pulling fs layer [2021-01-19T08:05:20.961Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T08:05:20.961Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T08:05:20.961Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T08:05:20.961Z] 93b61091891f: Pulling fs layer [2021-01-19T08:05:20.961Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T08:05:20.961Z] 5e14af77c1be: Pulling fs layer [2021-01-19T08:05:20.961Z] 01666e4c0597: Pulling fs layer [2021-01-19T08:05:20.961Z] aa168da1d23b: Pulling fs layer [2021-01-19T08:05:20.961Z] 93b9cdb0e59b: Waiting [2021-01-19T08:05:20.961Z] 5e14af77c1be: Waiting [2021-01-19T08:05:20.961Z] 01666e4c0597: Waiting [2021-01-19T08:05:20.961Z] aa168da1d23b: Waiting [2021-01-19T08:05:20.961Z] 46f8f816bc3b: Waiting [2021-01-19T08:05:20.961Z] 93b61091891f: Waiting [2021-01-19T08:05:20.961Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T08:05:20.961Z] 36b3adc4ff6f: Download complete [2021-01-19T08:05:20.961Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T08:05:20.961Z] 46f8f816bc3b: Download complete [2021-01-19T08:05:21.256Z] df20fa9351a1: Download complete [2021-01-19T08:05:21.256Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T08:05:21.256Z] 93b9cdb0e59b: Download complete [2021-01-19T08:05:21.256Z] 5e14af77c1be: Verifying Checksum [2021-01-19T08:05:21.256Z] 5e14af77c1be: Download complete [2021-01-19T08:05:21.256Z] 01666e4c0597: Verifying Checksum [2021-01-19T08:05:21.256Z] 01666e4c0597: Download complete [2021-01-19T08:05:21.256Z] 93b61091891f: Verifying Checksum [2021-01-19T08:05:21.256Z] 93b61091891f: Download complete [2021-01-19T08:05:22.263Z] df20fa9351a1: Pull complete [2021-01-19T08:05:22.557Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T08:05:22.557Z] 8ad3a11d3b57: Download complete [2021-01-19T08:05:22.557Z] 36b3adc4ff6f: Pull complete [2021-01-19T08:05:26.320Z] 8ad3a11d3b57: Pull complete [2021-01-19T08:05:26.320Z] 46f8f816bc3b: Pull complete [2021-01-19T08:05:27.362Z] 93b61091891f: Pull complete [2021-01-19T08:05:27.704Z] 93b9cdb0e59b: Pull complete [2021-01-19T08:05:28.319Z] 5e14af77c1be: Pull complete [2021-01-19T08:05:28.606Z] 01666e4c0597: Pull complete [2021-01-19T08:05:29.618Z] aa168da1d23b: Verifying Checksum [2021-01-19T08:05:29.618Z] aa168da1d23b: Download complete [2021-01-19T08:05:45.106Z] aa168da1d23b: Pull complete [2021-01-19T08:05:45.106Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T08:05:45.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T08:05:45.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T08:05:45.492Z] prd-centos7-docker-4c-2g-21166 does not seem to be running inside a container [2021-01-19T08:05:45.640Z] $ 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-738/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-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T08:05:49.852Z] $ docker top 02f68050d1fe365bf6404a0a6c64137d4813d32b5e51f1d78e55ece67067546f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T08:05:50.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T08:05:51.390Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T08:05:51.798Z] + ls /var/log/sa-host [2021-01-19T08:05:51.799Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T08:05:51.799Z] file_magic: OK [2021-01-19T08:05:51.799Z] HZ: Using current value: 100 [2021-01-19T08:05:51.799Z] file_header: OK [2021-01-19T08:05:51.799Z] 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-19T08:05:51.799Z] Statistics: [2021-01-19T08:05:51.799Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T08:05:51.799Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T08:05:51.799Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T08:05:51.799Z] file_magic: OK [2021-01-19T08:05:51.799Z] HZ: Using current value: 100 [2021-01-19T08:05:51.799Z] file_header: OK [2021-01-19T08:05:51.870Z] 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-19T08:05:51.870Z] Statistics: [2021-01-19T08:05:51.870Z] Hnuu...uuuununununu... [2021-01-19T08:05:51.870Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T08:05:52.579Z] provisioning config files... [2021-01-19T08:05:52.955Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config3730715518666973524tmp [Pipeline] { [Pipeline] echo [2021-01-19T08:05:53.171Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:53.869Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T08:05:53.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T08:05:53.997Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:54.761Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T08:05:54.808Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:55.558Z] ---> sudo-logs.sh [2021-01-19T08:05:55.558Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T08:05:55.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:56.265Z] ---> job-cost.sh [2021-01-19T08:05:56.265Z] lf-activate-venv: SKIPPING [2021-01-19T08:05:56.265Z] INFO: No Stack... [2021-01-19T08:05:57.708Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T08:05:58.302Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T08:05:58.320Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T08:05:58.807Z] ---> logs-deploy.sh [2021-01-19T08:05:58.807Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-738/3 [2021-01-19T08:05:58.807Z] INFO: archiving workspace using pattern(s): [2021-01-19T08:06:02.352Z] Archives upload complete. [2021-01-19T08:06:02.352Z] INFO: archiving logs to Nexus