Pull request #699 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b316d89914afe89a17a947d728b9e30b253306fb+b058260e0a173cbd20e8373902e2c8ff53da770e (384bb23504637998d0d30826f0862dccf84cfc5b) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-16757 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [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-699 # 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/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit b316d89914afe89a17a947d728b9e30b253306fb Merge succeeded, producing b316d89914afe89a17a947d728b9e30b253306fb Checking out Revision b316d89914afe89a17a947d728b9e30b253306fb (PR-699) > git config core.sparsecheckout # timeout=10 > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 Commit message: "Merge branch 'master' into devops-std-dockerfiles" > git rev-list --no-walk b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-18T16:23:43.772Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-18T16:23:44.086Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-18T16:23:44.220Z] ========================================================= [2020-12-18T16:23:44.220Z] EdgeX Global Pipelines Version Info [2020-12-18T16:23:44.220Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:23:45.750Z] ------------------- [2020-12-18T16:23:45.750Z] stable info: [2020-12-18T16:23:45.750Z] ------------------- [2020-12-18T16:23:45.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-18T16:23:45.750Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-18T16:23:45.750Z] Message: update stable to v1.0.173 [2020-12-18T16:23:46.703Z] ------------------- [2020-12-18T16:23:46.703Z] experimental info: [2020-12-18T16:23:46.703Z] ------------------- [2020-12-18T16:23:46.703Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-18T16:23:46.703Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-18T16:23:46.703Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-18T16:23:46.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-18T16:23:47.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-18T16:23:47.207Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-18T16:23:47.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-18T16:23:47.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-18T16:23:47.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-18T16:23:47.611Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-18T16:23:47.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-18T16:23:47.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-18T16:23:47.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-18T16:23:48.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-18T16:23:48.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-18T16:23:48.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-18T16:23:48.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-18T16:23:48.504Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-18T16:23:48.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-18T16:23:48.722Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-18T16:23:49.032Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-18T16:23:49.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-18T16:23:49.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-18T16:23:49.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-18T16:23:49.420Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-18T16:23:49.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-18T16:23:49.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-18T16:23:49.708Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-18T16:23:49.835Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-18T16:23:49.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-18T16:23:50.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-699 [Pipeline] echo [2020-12-18T16:23:50.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-699 [Pipeline] echo [2020-12-18T16:23:50.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-699 [Pipeline] echo [2020-12-18T16:23:50.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b316d89914afe89a17a947d728b9e30b253306fb [Pipeline] echo [2020-12-18T16:23:50.620Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b316d89 [Pipeline] echo [2020-12-18T16:23:50.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-18T16:23:50.939Z] provisioning config files... [2020-12-18T16:23:50.969Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config471175353655763196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:23:51.340Z] ---> docker-login.sh [2020-12-18T16:23:51.340Z] nexus3.edgexfoundry.org:10001 [2020-12-18T16:23:51.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:23:51.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:23:51.873Z] Configure a credential helper to remove this warning. See [2020-12-18T16:23:51.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:23:51.873Z] [2020-12-18T16:23:51.873Z] Login Succeeded [2020-12-18T16:23:51.873Z] nexus3.edgexfoundry.org:10002 [2020-12-18T16:23:51.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:23:52.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:23:52.136Z] Configure a credential helper to remove this warning. See [2020-12-18T16:23:52.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:23:52.136Z] [2020-12-18T16:23:52.136Z] Login Succeeded [2020-12-18T16:23:52.136Z] nexus3.edgexfoundry.org:10003 [2020-12-18T16:23:52.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:23:52.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:23:52.136Z] Configure a credential helper to remove this warning. See [2020-12-18T16:23:52.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:23:52.136Z] [2020-12-18T16:23:52.136Z] Login Succeeded [2020-12-18T16:23:52.136Z] nexus3.edgexfoundry.org:10004 [2020-12-18T16:23:52.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:23:52.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:23:52.399Z] Configure a credential helper to remove this warning. See [2020-12-18T16:23:52.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:23:52.399Z] [2020-12-18T16:23:52.399Z] Login Succeeded [2020-12-18T16:23:52.399Z] docker.io [2020-12-18T16:23:52.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:23:52.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:23:52.661Z] Configure a credential helper to remove this warning. See [2020-12-18T16:23:52.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:23:52.661Z] [2020-12-18T16:23:52.661Z] Login Succeeded [2020-12-18T16:23:52.661Z] ---> docker-login.sh ends [Pipeline] } [2020-12-18T16:23:52.670Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-18T16:23:53.532Z] + git log --format=format:%s -1 b316d89914afe89a17a947d728b9e30b253306fb [Pipeline] echo [2020-12-18T16:23:53.594Z] GIT_COMMIT: b316d89914afe89a17a947d728b9e30b253306fb, Commit Message: Merge branch 'master' into devops-std-dockerfiles [Pipeline] echo [2020-12-18T16:23:53.639Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:23:54.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T16:23:54.734Z] [2020-12-18T16:23:54.734Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:23:55.079Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T16:23:55.344Z] latest: Pulling from edgex-devops/git-semver [2020-12-18T16:23:55.344Z] 31603596830f: Pulling fs layer [2020-12-18T16:23:55.344Z] 2a8b12db71e7: Pulling fs layer [2020-12-18T16:23:55.344Z] 6ca5941a6612: Pulling fs layer [2020-12-18T16:23:55.344Z] ecc8261a40a4: Pulling fs layer [2020-12-18T16:23:55.344Z] ecc8261a40a4: Waiting [2020-12-18T16:23:55.344Z] 2a8b12db71e7: Verifying Checksum [2020-12-18T16:23:55.344Z] 2a8b12db71e7: Download complete [2020-12-18T16:23:55.344Z] 31603596830f: Verifying Checksum [2020-12-18T16:23:55.344Z] 31603596830f: Download complete [2020-12-18T16:23:55.610Z] ecc8261a40a4: Verifying Checksum [2020-12-18T16:23:55.610Z] ecc8261a40a4: Download complete [2020-12-18T16:23:55.610Z] 6ca5941a6612: Verifying Checksum [2020-12-18T16:23:55.610Z] 6ca5941a6612: Download complete [2020-12-18T16:23:55.872Z] 31603596830f: Pull complete [2020-12-18T16:23:56.141Z] 2a8b12db71e7: Pull complete [2020-12-18T16:23:56.715Z] 6ca5941a6612: Pull complete [2020-12-18T16:23:56.976Z] ecc8261a40a4: Pull complete [2020-12-18T16:23:57.239Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-18T16:23:57.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-18T16:23:57.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-18T16:23:57.347Z] prd-centos7-docker-4c-2g-16757 does not seem to be running inside a container [2020-12-18T16:23:57.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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 [2020-12-18T16:23:59.938Z] $ docker top f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-18T16:24:00.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-18T16:24:00.377Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-18T16:24:00.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-18T16:24:00.616Z] $ docker exec f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 ssh-agent [2020-12-18T16:24:00.788Z] SSH_AUTH_SOCK=/tmp/ssh-DVbrWzGjS6b2/agent.11 [2020-12-18T16:24:00.788Z] SSH_AGENT_PID=16 [2020-12-18T16:24:00.803Z] Running ssh-add (command line suppressed) [2020-12-18T16:24:00.931Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_2266642628606945560.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_2266642628606945560.key) [2020-12-18T16:24:00.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-18T16:24:01.321Z] + git tag --points-at HEAD [Pipeline] } [2020-12-18T16:24:01.349Z] $ docker exec --env ******** --env ******** f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 ssh-agent -k [2020-12-18T16:24:01.476Z] unset SSH_AUTH_SOCK; [2020-12-18T16:24:01.476Z] unset SSH_AGENT_PID; [2020-12-18T16:24:01.476Z] echo Agent pid 16 killed; [2020-12-18T16:24:01.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-18T16:24:01.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-18T16:24:01.711Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-18T16:24:01.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-18T16:24:01.889Z] $ docker exec f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 ssh-agent [2020-12-18T16:24:02.050Z] SSH_AUTH_SOCK=/tmp/ssh-Hk6499B2K3Kt/agent.45 [2020-12-18T16:24:02.050Z] SSH_AGENT_PID=51 [2020-12-18T16:24:02.058Z] Running ssh-add (command line suppressed) [2020-12-18T16:24:02.179Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_7884132164866633206.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_7884132164866633206.key) [2020-12-18T16:24:02.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-18T16:24:02.569Z] + git semver init [2020-12-18T16:24:02.569Z] # -> Open(): unable to determine branch for HEAD [2020-12-18T16:24:02.569Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.git [2020-12-18T16:24:02.569Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-699 [2020-12-18T16:24:02.569Z] # $SEMVER_REMOTE_NAME = origin [2020-12-18T16:24:02.569Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-18T16:24:02.569Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-18T16:24:02.569Z] # $SEMVER_BRANCH = PR-699 [2020-12-18T16:24:02.569Z] # $SEMVER_TEMP = /tmp/semver-053688197 [2020-12-18T16:24:02.569Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-18T16:24:03.514Z] # '/tmp/semver-053688197' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver' [2020-12-18T16:24:03.777Z] # -> Force: false [2020-12-18T16:24:03.777Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver [Pipeline] } [2020-12-18T16:24:03.792Z] $ docker exec --env ******** --env ******** f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 ssh-agent -k [2020-12-18T16:24:03.904Z] unset SSH_AUTH_SOCK; [2020-12-18T16:24:03.906Z] unset SSH_AGENT_PID; [2020-12-18T16:24:03.906Z] echo Agent pid 51 killed; [2020-12-18T16:24:03.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-18T16:24:04.451Z] + git semver [Pipeline] } [2020-12-18T16:24:04.473Z] $ docker stop --time=1 f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 [2020-12-18T16:24:05.973Z] $ docker rm -f f94b9c4ea785b9c506ae8a95d92a5d2b2a311a5ff19090f7c8da6f87f9e98176 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-18T16:24:06.443Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-18T16:24:06.990Z] Stashed 1 file(s) [Pipeline] echo [2020-12-18T16:24:06.992Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-18T16:24:22.475Z] Still waiting to schedule task [2020-12-18T16:24:22.475Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-18T16:24:22.477Z] Still waiting to schedule task [2020-12-18T16:24:22.477Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-18T16:26:08.787Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16758 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws [2020-12-18T16:26:08.847Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-18T16:26:13.488Z] using credential edgex-jenkins-ssh [2020-12-18T16:26:13.562Z] Cloning the remote Git repository [2020-12-18T16:26:13.620Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:13.729Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-18T16:26:13.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:13.840Z] > git --version # timeout=10 [2020-12-18T16:26:13.859Z] > git --version # 'git version 2.17.1' [2020-12-18T16:26:13.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:13.918Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T16:26:15.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-18T16:26:15.027Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T16:26:15.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-18T16:26:15.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:15.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:15.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-18T16:26:15.722Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:26:15.983Z] Merge succeeded, producing b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:26:15.984Z] Checking out Revision b316d89914afe89a17a947d728b9e30b253306fb (PR-699) [2020-12-18T16:26:15.743Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T16:26:15.762Z] > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 [2020-12-18T16:26:15.908Z] > git remote # timeout=10 [2020-12-18T16:26:15.923Z] > git config --get remote.origin.url # timeout=10 [2020-12-18T16:26:15.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:15.953Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-18T16:26:15.973Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-18T16:26:15.994Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T16:26:16.048Z] > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 [2020-12-18T16:26:20.289Z] Commit message: "Merge branch 'master' into devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-18T16:26:22.170Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-18T16:26:22.588Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-18T16:26:22.934Z] + true [2020-12-18T16:26:22.934Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-18T16:26:25.743Z] provisioning config files... [2020-12-18T16:26:25.791Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config390602499339555117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:26:26.214Z] ---> docker-login.sh [2020-12-18T16:26:26.214Z] nexus3.edgexfoundry.org:10001 [2020-12-18T16:26:27.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:26:27.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:26:27.474Z] Configure a credential helper to remove this warning. See [2020-12-18T16:26:27.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:26:27.474Z] [2020-12-18T16:26:27.474Z] Login Succeeded [2020-12-18T16:26:27.474Z] nexus3.edgexfoundry.org:10002 [2020-12-18T16:26:27.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:26:28.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:26:28.028Z] Configure a credential helper to remove this warning. See [2020-12-18T16:26:28.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:26:28.028Z] [2020-12-18T16:26:28.028Z] Login Succeeded [2020-12-18T16:26:28.028Z] nexus3.edgexfoundry.org:10003 [2020-12-18T16:26:28.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:26:28.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:26:28.576Z] Configure a credential helper to remove this warning. See [2020-12-18T16:26:28.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:26:28.576Z] [2020-12-18T16:26:28.576Z] Login Succeeded [2020-12-18T16:26:28.576Z] nexus3.edgexfoundry.org:10004 [2020-12-18T16:26:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:26:29.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:26:29.124Z] Configure a credential helper to remove this warning. See [2020-12-18T16:26:29.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:26:29.124Z] [2020-12-18T16:26:29.124Z] Login Succeeded [2020-12-18T16:26:29.124Z] docker.io [2020-12-18T16:26:29.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:26:29.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:26:29.674Z] Configure a credential helper to remove this warning. See [2020-12-18T16:26:29.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:26:29.674Z] [2020-12-18T16:26:29.674Z] Login Succeeded [2020-12-18T16:26:29.945Z] ---> docker-login.sh ends [Pipeline] } [2020-12-18T16:26:29.963Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-18T16:26:30.450Z] ========================================================= [2020-12-18T16:26:30.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-18T16:26:30.450Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:26:30.839Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-18T16:26:31.443Z] Sending build context to Docker daemon 2.421MB [2020-12-18T16:26:31.443Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-18T16:26:31.443Z] Step 2/8 : FROM ${BASE} [2020-12-18T16:26:31.443Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-18T16:26:31.443Z] 5f621e34cdf4: Pulling fs layer [2020-12-18T16:26:31.443Z] a4357932f1b6: Pulling fs layer [2020-12-18T16:26:31.443Z] 18c013af1878: Pulling fs layer [2020-12-18T16:26:31.443Z] 00ac8860ef70: Pulling fs layer [2020-12-18T16:26:31.443Z] 63d7cb157983: Pulling fs layer [2020-12-18T16:26:31.443Z] b116817d02f9: Pulling fs layer [2020-12-18T16:26:31.443Z] 745a02a5169b: Pulling fs layer [2020-12-18T16:26:31.443Z] 63d7cb157983: Waiting [2020-12-18T16:26:31.443Z] b116817d02f9: Waiting [2020-12-18T16:26:31.443Z] 00ac8860ef70: Waiting [2020-12-18T16:26:31.443Z] 745a02a5169b: Waiting [2020-12-18T16:26:31.443Z] 18c013af1878: Verifying Checksum [2020-12-18T16:26:31.443Z] 18c013af1878: Download complete [2020-12-18T16:26:31.443Z] a4357932f1b6: Verifying Checksum [2020-12-18T16:26:31.443Z] a4357932f1b6: Download complete [2020-12-18T16:26:31.443Z] 63d7cb157983: Verifying Checksum [2020-12-18T16:26:31.443Z] 63d7cb157983: Download complete [2020-12-18T16:26:32.053Z] 5f621e34cdf4: Verifying Checksum [2020-12-18T16:26:32.053Z] 5f621e34cdf4: Download complete [2020-12-18T16:26:32.053Z] b116817d02f9: Verifying Checksum [2020-12-18T16:26:32.053Z] b116817d02f9: Download complete [2020-12-18T16:26:32.669Z] 5f621e34cdf4: Pull complete [2020-12-18T16:26:33.282Z] a4357932f1b6: Pull complete [2020-12-18T16:26:33.576Z] 18c013af1878: Pull complete [2020-12-18T16:26:34.186Z] 745a02a5169b: Verifying Checksum [2020-12-18T16:26:34.186Z] 745a02a5169b: Download complete [2020-12-18T16:26:35.631Z] 00ac8860ef70: Verifying Checksum [2020-12-18T16:26:35.631Z] 00ac8860ef70: Download complete [2020-12-18T16:26:45.809Z] 00ac8860ef70: Pull complete [2020-12-18T16:26:46.080Z] 63d7cb157983: Pull complete [2020-12-18T16:26:46.353Z] b116817d02f9: Pull complete [2020-12-18T16:26:50.665Z] 745a02a5169b: Pull complete [2020-12-18T16:26:50.665Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-18T16:26:50.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-18T16:26:50.665Z] ---> b7e6874047d6 [2020-12-18T16:26:50.665Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:26:53.289Z] ---> Running in b62974b6caa2 [2020-12-18T16:26:53.561Z] Removing intermediate container b62974b6caa2 [2020-12-18T16:26:53.561Z] ---> 85de8aa8f937 [2020-12-18T16:26:53.561Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-18T16:26:53.834Z] ---> Running in d3a02d8c0287 [2020-12-18T16:26:54.451Z] Running on prd-centos7-docker-4c-2g-16759 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws [2020-12-18T16:26:54.513Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-18T16:26:55.827Z] Removing intermediate container d3a02d8c0287 [2020-12-18T16:26:55.827Z] ---> a03847058655 [2020-12-18T16:26:55.827Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-18T16:26:56.099Z] ---> Running in 7cb5ee9787e8 [2020-12-18T16:26:56.730Z] using credential edgex-jenkins-ssh [2020-12-18T16:26:56.798Z] Cloning the remote Git repository [2020-12-18T16:26:57.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-18T16:26:56.486Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:56.562Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-18T16:26:56.624Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:56.624Z] > git --version # timeout=10 [2020-12-18T16:26:56.631Z] > git --version # 'git version 2.24.3' [2020-12-18T16:26:56.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:56.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T16:26:57.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-18T16:26:57.467Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-18T16:26:57.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-18T16:26:57.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-18T16:26:57.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:57.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-18T16:26:58.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-18T16:26:58.255Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:26:58.365Z] Merge succeeded, producing b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:26:58.365Z] Checking out Revision b316d89914afe89a17a947d728b9e30b253306fb (PR-699) [2020-12-18T16:26:58.651Z] OK: 142 MiB in 39 packages [2020-12-18T16:26:58.046Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T16:26:58.052Z] > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 [2020-12-18T16:26:58.121Z] > git remote # timeout=10 [2020-12-18T16:26:58.129Z] > git config --get remote.origin.url # timeout=10 [2020-12-18T16:26:58.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-18T16:26:58.140Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-18T16:26:58.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-18T16:26:58.159Z] > git config core.sparsecheckout # timeout=10 [2020-12-18T16:26:58.164Z] > git checkout -f b316d89914afe89a17a947d728b9e30b253306fb # timeout=10 [2020-12-18T16:26:59.629Z] Removing intermediate container 7cb5ee9787e8 [2020-12-18T16:26:59.629Z] ---> 8498b3e4bcd6 [2020-12-18T16:26:59.629Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-18T16:26:59.903Z] ---> Running in 93229c1a7d2e [2020-12-18T16:27:00.520Z] Removing intermediate container 93229c1a7d2e [2020-12-18T16:27:00.520Z] ---> 52d9b9db5d34 [2020-12-18T16:27:00.520Z] Step 7/8 : COPY . . [2020-12-18T16:27:01.862Z] Commit message: "Merge branch 'master' into devops-std-dockerfiles" [2020-12-18T16:27:01.956Z] ---> 1239e36c396b [2020-12-18T16:27:01.956Z] Step 8/8 : RUN go mod download [2020-12-18T16:27:01.956Z] ---> Running in 87be27c3f593 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-18T16:27:03.156Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-18T16:27:03.491Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-18T16:27:03.804Z] + sudo service docker restart [2020-12-18T16:27:03.804Z] + true [2020-12-18T16:27:03.804Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-18T16:27:05.282Z] provisioning config files... [2020-12-18T16:27:05.315Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9162537097810118260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:27:05.677Z] ---> docker-login.sh [2020-12-18T16:27:05.677Z] nexus3.edgexfoundry.org:10001 [2020-12-18T16:27:05.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:27:05.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:27:05.940Z] Configure a credential helper to remove this warning. See [2020-12-18T16:27:05.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:27:05.940Z] [2020-12-18T16:27:05.940Z] Login Succeeded [2020-12-18T16:27:05.940Z] nexus3.edgexfoundry.org:10002 [2020-12-18T16:27:06.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:27:06.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:27:06.202Z] Configure a credential helper to remove this warning. See [2020-12-18T16:27:06.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:27:06.202Z] [2020-12-18T16:27:06.202Z] Login Succeeded [2020-12-18T16:27:06.202Z] nexus3.edgexfoundry.org:10003 [2020-12-18T16:27:06.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:27:06.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:27:06.465Z] Configure a credential helper to remove this warning. See [2020-12-18T16:27:06.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:27:06.465Z] [2020-12-18T16:27:06.465Z] Login Succeeded [2020-12-18T16:27:06.465Z] nexus3.edgexfoundry.org:10004 [2020-12-18T16:27:06.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:27:06.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:27:06.729Z] Configure a credential helper to remove this warning. See [2020-12-18T16:27:06.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:27:06.729Z] [2020-12-18T16:27:06.729Z] Login Succeeded [2020-12-18T16:27:06.729Z] docker.io [2020-12-18T16:27:06.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-18T16:27:07.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-18T16:27:07.301Z] Configure a credential helper to remove this warning. See [2020-12-18T16:27:07.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-18T16:27:07.301Z] [2020-12-18T16:27:07.301Z] Login Succeeded [2020-12-18T16:27:07.301Z] ---> docker-login.sh ends [Pipeline] } [2020-12-18T16:27:07.310Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-18T16:27:07.643Z] ========================================================= [2020-12-18T16:27:07.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-18T16:27:07.643Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:27:07.986Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-18T16:27:07.986Z] Sending build context to Docker daemon 2.422MB [2020-12-18T16:27:07.986Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-18T16:27:07.986Z] Step 2/8 : FROM ${BASE} [2020-12-18T16:27:08.248Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-18T16:27:08.248Z] 188c0c94c7c5: Pulling fs layer [2020-12-18T16:27:08.248Z] 0ef7d3d256c8: Pulling fs layer [2020-12-18T16:27:08.248Z] de9db76c5a1d: Pulling fs layer [2020-12-18T16:27:08.248Z] bca2f99d35d6: Pulling fs layer [2020-12-18T16:27:08.248Z] 93359f2a8cfa: Pulling fs layer [2020-12-18T16:27:08.248Z] 7c6f9722023f: Pulling fs layer [2020-12-18T16:27:08.248Z] a35cf1a2eb13: Pulling fs layer [2020-12-18T16:27:08.248Z] bca2f99d35d6: Waiting [2020-12-18T16:27:08.248Z] 93359f2a8cfa: Waiting [2020-12-18T16:27:08.248Z] 7c6f9722023f: Waiting [2020-12-18T16:27:08.248Z] a35cf1a2eb13: Waiting [2020-12-18T16:27:08.248Z] de9db76c5a1d: Verifying Checksum [2020-12-18T16:27:08.248Z] de9db76c5a1d: Download complete [2020-12-18T16:27:08.248Z] 0ef7d3d256c8: Verifying Checksum [2020-12-18T16:27:08.248Z] 0ef7d3d256c8: Download complete [2020-12-18T16:27:08.248Z] 93359f2a8cfa: Verifying Checksum [2020-12-18T16:27:08.248Z] 93359f2a8cfa: Download complete [2020-12-18T16:27:08.248Z] 7c6f9722023f: Verifying Checksum [2020-12-18T16:27:08.248Z] 7c6f9722023f: Download complete [2020-12-18T16:27:08.248Z] 188c0c94c7c5: Verifying Checksum [2020-12-18T16:27:08.248Z] 188c0c94c7c5: Download complete [2020-12-18T16:27:08.510Z] 188c0c94c7c5: Pull complete [2020-12-18T16:27:08.774Z] 0ef7d3d256c8: Pull complete [2020-12-18T16:27:09.036Z] de9db76c5a1d: Pull complete [2020-12-18T16:27:09.985Z] a35cf1a2eb13: Verifying Checksum [2020-12-18T16:27:09.985Z] a35cf1a2eb13: Download complete [2020-12-18T16:27:10.942Z] bca2f99d35d6: Verifying Checksum [2020-12-18T16:27:10.942Z] bca2f99d35d6: Download complete [2020-12-18T16:27:16.278Z] bca2f99d35d6: Pull complete [2020-12-18T16:27:16.278Z] 93359f2a8cfa: Pull complete [2020-12-18T16:27:16.278Z] 7c6f9722023f: Pull complete [2020-12-18T16:27:20.528Z] a35cf1a2eb13: Pull complete [2020-12-18T16:27:20.528Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-18T16:27:20.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-18T16:27:20.528Z] ---> a62c8e92a672 [2020-12-18T16:27:20.528Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:27:20.528Z] ---> Running in cbd02cfcbb9a [2020-12-18T16:27:20.528Z] Removing intermediate container cbd02cfcbb9a [2020-12-18T16:27:20.528Z] ---> e078c9228498 [2020-12-18T16:27:20.528Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-18T16:27:20.528Z] ---> Running in 3532f449e905 [2020-12-18T16:27:21.478Z] Removing intermediate container 3532f449e905 [2020-12-18T16:27:21.478Z] ---> 77252f701cfd [2020-12-18T16:27:21.478Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-18T16:27:21.742Z] ---> Running in fd111ec261b0 [2020-12-18T16:27:22.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-18T16:27:22.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-18T16:27:23.220Z] OK: 166 MiB in 39 packages [2020-12-18T16:27:23.483Z] Removing intermediate container fd111ec261b0 [2020-12-18T16:27:23.483Z] ---> 7cb4b33964c0 [2020-12-18T16:27:23.483Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-18T16:27:23.746Z] ---> Running in bdfa3ee62f61 [2020-12-18T16:27:23.746Z] Removing intermediate container bdfa3ee62f61 [2020-12-18T16:27:23.746Z] ---> 118c247931ff [2020-12-18T16:27:23.746Z] Step 7/8 : COPY . . [2020-12-18T16:27:24.146Z] Removing intermediate container 87be27c3f593 [2020-12-18T16:27:24.146Z] ---> f7fd6c23e48d [2020-12-18T16:27:24.146Z] Successfully built f7fd6c23e48d [2020-12-18T16:27:24.146Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:27:24.488Z] + docker inspect -f . ci-base-image-arm64 [2020-12-18T16:27:24.488Z] . [Pipeline] withDockerContainer [2020-12-18T16:27:24.721Z] prd-ubuntu18.04-docker-arm64-4c-16g-16758 does not seem to be running inside a container [2020-12-18T16:27:24.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-12-18T16:27:25.142Z] ---> a64e8444b3dc [2020-12-18T16:27:25.142Z] Step 8/8 : RUN go mod download [2020-12-18T16:27:25.142Z] ---> Running in 18615aa94df0 [2020-12-18T16:27:26.222Z] $ docker top db7d4c78ef841ca0d7083c94fc464dc58e177b23895bb82f670c9c49ed06cc87 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T16:27:27.238Z] + go version [2020-12-18T16:27:27.238Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-18T16:27:27.272Z] $ docker stop --time=1 db7d4c78ef841ca0d7083c94fc464dc58e177b23895bb82f670c9c49ed06cc87 [2020-12-18T16:27:29.226Z] $ docker rm -f db7d4c78ef841ca0d7083c94fc464dc58e177b23895bb82f670c9c49ed06cc87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:27:30.213Z] + docker inspect -f . ci-base-image-arm64 [2020-12-18T16:27:30.213Z] . [Pipeline] withDockerContainer [2020-12-18T16:27:30.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-16758 does not seem to be running inside a container [2020-12-18T16:27:30.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-12-18T16:27:32.011Z] $ docker top 5daedb5da769f3cdd92749d80e72777a5c6e356f1f81fbf2133370776e6bc2b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T16:27:33.050Z] + make test [2020-12-18T16:27:33.050Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-18T16:27:43.327Z] Removing intermediate container 18615aa94df0 [2020-12-18T16:27:43.327Z] ---> 78e83f3ffd9d [2020-12-18T16:27:43.327Z] Successfully built 78e83f3ffd9d [2020-12-18T16:27:43.327Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:27:43.647Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-18T16:27:43.647Z] . [Pipeline] withDockerContainer [2020-12-18T16:27:43.913Z] prd-centos7-docker-4c-2g-16759 does not seem to be running inside a container [2020-12-18T16:27:44.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-12-18T16:27:44.882Z] $ docker top 13488f27a2c1d9b84519ad2ab255c580141ab94ef159a9b2ee412fc9ed696cb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T16:27:45.451Z] + go version [2020-12-18T16:27:45.451Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-18T16:27:45.471Z] $ docker stop --time=1 13488f27a2c1d9b84519ad2ab255c580141ab94ef159a9b2ee412fc9ed696cb9 [2020-12-18T16:27:47.583Z] $ docker rm -f 13488f27a2c1d9b84519ad2ab255c580141ab94ef159a9b2ee412fc9ed696cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:27:48.492Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-18T16:27:48.492Z] . [Pipeline] withDockerContainer [2020-12-18T16:27:48.599Z] prd-centos7-docker-4c-2g-16759 does not seem to be running inside a container [2020-12-18T16:27:48.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2020-12-18T16:27:49.354Z] $ docker top 4ae28833aaa917f53338981e7fd749d92e97a267f04fbadacd1b4c1eb73a3094 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T16:27:49.836Z] + make test [2020-12-18T16:27:49.836Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-18T16:27:55.245Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-18T16:27:56.471Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-18T16:28:11.504Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-18T16:28:11.504Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-18T16:28:11.504Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-18T16:28:11.504Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 19.4% of statements [2020-12-18T16:28:14.089Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.472s coverage: 97.1% of statements [2020-12-18T16:28:34.272Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-18T16:28:34.272Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-18T16:28:34.272Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-18T16:28:34.272Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.128s coverage: 19.4% of statements [2020-12-18T16:28:37.713Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.179s coverage: 97.1% of statements [2020-12-18T16:28:46.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.069s coverage: 9.4% of statements [2020-12-18T16:28:46.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 21.9% of statements [2020-12-18T16:28:46.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-18T16:28:46.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.241s coverage: 42.5% of statements [2020-12-18T16:28:46.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-18T16:28:46.266Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.288s coverage: 68.9% of statements [2020-12-18T16:28:46.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-18T16:28:46.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-18T16:28:46.266Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-18T16:28:46.267Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-18T16:28:46.267Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 53.8% of statements [2020-12-18T16:28:46.267Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-18T16:28:46.267Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-18T16:28:46.267Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-18T16:28:46.267Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.330s coverage: 68.9% of statements [2020-12-18T16:28:46.267Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.058s coverage: 4.3% of statements [2020-12-18T16:28:46.267Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-18T16:28:46.267Z] GO111MODULE=on go vet ./... [2020-12-18T16:28:52.968Z] gofmt -l . [2020-12-18T16:28:52.968Z] [ "`gofmt -l .`" = "" ] [2020-12-18T16:28:52.968Z] ./bin/test-attribution-txt.sh [2020-12-18T16:28:53.918Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-18T16:28:53.940Z] $ docker stop --time=1 4ae28833aaa917f53338981e7fd749d92e97a267f04fbadacd1b4c1eb73a3094 [2020-12-18T16:28:55.861Z] $ docker rm -f 4ae28833aaa917f53338981e7fd749d92e97a267f04fbadacd1b4c1eb73a3094 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-18T16:28:56.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-18T16:28:56.963Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-18T16:28:59.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-18T16:29:00.076Z] + ls -al . [2020-12-18T16:29:00.076Z] total 208 [2020-12-18T16:29:00.076Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 18 16:28 . [2020-12-18T16:29:00.076Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 18 16:26 .. [2020-12-18T16:29:00.076Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 18 16:26 bin [2020-12-18T16:29:00.076Z] -rw-r--r--. 1 jenkins jenkins 130290 Dec 18 16:28 coverage.out [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 940 Dec 18 16:26 Dockerfile.build [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 18 16:26 .dockerignore [2020-12-18T16:29:00.076Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 18 16:26 example [2020-12-18T16:29:00.076Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 18 16:27 .git [2020-12-18T16:29:00.076Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 18 16:26 .github [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 18 16:26 .gitignore [2020-12-18T16:29:00.076Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 18 16:28 go.mod [2020-12-18T16:29:00.076Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 18 16:28 go.sum [2020-12-18T16:29:00.076Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 18 16:26 internal [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 18 16:26 Jenkinsfile [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 18 16:26 LICENSE [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 18 16:26 Makefile [2020-12-18T16:29:00.076Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 18 16:26 openapi [2020-12-18T16:29:00.076Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 18 16:26 pkg [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 18 16:26 README.md [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 18 16:26 RELEASE-NOTES.txt [2020-12-18T16:29:00.076Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 18 16:26 snap [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 18 16:24 VERSION [2020-12-18T16:29:00.076Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 18 16:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:29:00.388Z] + 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=b316d89914afe89a17a947d728b9e30b253306fb --label arch=amd64 --label version=0.0.0 . [2020-12-18T16:29:00.650Z] Sending build context to Docker daemon 2.553MB [2020-12-18T16:29:00.650Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2020-12-18T16:29:00.650Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-18T16:29:00.650Z] ---> 78e83f3ffd9d [2020-12-18T16:29:00.650Z] Step 3/24 : ARG MAKE='make build' [2020-12-18T16:29:01.227Z] ---> Running in a73528b6685a [2020-12-18T16:29:01.496Z] Removing intermediate container a73528b6685a [2020-12-18T16:29:01.496Z] ---> 0f54ebe43730 [2020-12-18T16:29:01.496Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-18T16:29:01.496Z] ---> Running in 345e0e6377d6 [2020-12-18T16:29:01.761Z] Removing intermediate container 345e0e6377d6 [2020-12-18T16:29:01.761Z] ---> 97f07bd5fcbe [2020-12-18T16:29:01.761Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:29:01.761Z] ---> Running in 2d186b866b2f [2020-12-18T16:29:01.761Z] Removing intermediate container 2d186b866b2f [2020-12-18T16:29:01.761Z] ---> d7ecd4c0433a [2020-12-18T16:29:01.761Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-18T16:29:02.028Z] ---> Running in af51871039a1 [2020-12-18T16:29:02.981Z] Removing intermediate container af51871039a1 [2020-12-18T16:29:02.981Z] ---> 12b13922d6c6 [2020-12-18T16:29:02.981Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-18T16:29:03.244Z] ---> Running in d24bfcd30dfc [2020-12-18T16:29:03.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-18T16:29:04.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-18T16:29:04.585Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.170s coverage: 9.4% of statements [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.599s coverage: 42.5% of statements [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 68.9% of statements [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.208s coverage: 53.8% of statements [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.934s coverage: 68.9% of statements [2020-12-18T16:29:04.586Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.128s coverage: 4.3% of statements [2020-12-18T16:29:04.586Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-18T16:29:04.660Z] OK: 166 MiB in 39 packages [2020-12-18T16:29:04.861Z] GO111MODULE=on go vet ./... [2020-12-18T16:29:04.923Z] Removing intermediate container d24bfcd30dfc [2020-12-18T16:29:04.923Z] ---> c741fb2e0b1a [2020-12-18T16:29:04.923Z] Step 8/24 : COPY . . [2020-12-18T16:29:06.317Z] ---> 1249ae34c05b [2020-12-18T16:29:06.317Z] Step 9/24 : RUN ${MAKE} [2020-12-18T16:29:06.317Z] ---> Running in b02f1452fb25 [2020-12-18T16:29:06.584Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-18T16:29:14.852Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-18T16:29:16.797Z] Removing intermediate container b02f1452fb25 [2020-12-18T16:29:16.797Z] ---> 4b6c28b678df [2020-12-18T16:29:16.797Z] Step 10/24 : FROM scratch [2020-12-18T16:29:16.797Z] ---> [2020-12-18T16:29:16.797Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:29:16.797Z] ---> Running in 9b4c11b752d7 [2020-12-18T16:29:16.797Z] Removing intermediate container 9b4c11b752d7 [2020-12-18T16:29:16.797Z] ---> 2c71a6a88a65 [2020-12-18T16:29:16.797Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-18T16:29:16.797Z] ---> Running in 5ad8404be22e [2020-12-18T16:29:17.755Z] Removing intermediate container 5ad8404be22e [2020-12-18T16:29:17.755Z] ---> b4caa454a37c [2020-12-18T16:29:17.755Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-18T16:29:17.755Z] ---> Running in 576c8a1f0ce0 [2020-12-18T16:29:17.755Z] Removing intermediate container 576c8a1f0ce0 [2020-12-18T16:29:17.755Z] ---> 283781d3d9d2 [2020-12-18T16:29:17.755Z] Step 14/24 : WORKDIR / [2020-12-18T16:29:17.755Z] ---> Running in 260d37565205 [2020-12-18T16:29:18.017Z] Removing intermediate container 260d37565205 [2020-12-18T16:29:18.017Z] ---> 3c2e69c65d51 [2020-12-18T16:29:18.017Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-18T16:29:18.593Z] ---> b1409022a7bd [2020-12-18T16:29:18.593Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-18T16:29:18.865Z] ---> 9cefcff63778 [2020-12-18T16:29:18.865Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-18T16:29:19.133Z] ---> 873c519e1871 [2020-12-18T16:29:19.133Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-18T16:29:19.133Z] ---> dc403c69290d [2020-12-18T16:29:19.133Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-18T16:29:19.402Z] ---> c25d98d955c7 [2020-12-18T16:29:19.402Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-18T16:29:19.675Z] ---> Running in ee64e6081d4c [2020-12-18T16:29:19.675Z] Removing intermediate container ee64e6081d4c [2020-12-18T16:29:19.675Z] ---> 7e5eb09081f6 [2020-12-18T16:29:19.675Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-18T16:29:19.675Z] ---> Running in 0203e2f2b084 [2020-12-18T16:29:19.944Z] Removing intermediate container 0203e2f2b084 [2020-12-18T16:29:19.944Z] ---> 8e66748539c0 [2020-12-18T16:29:19.944Z] Step 22/24 : LABEL arch=amd64 [2020-12-18T16:29:19.944Z] ---> Running in 20b9b1d3a808 [2020-12-18T16:29:20.212Z] Removing intermediate container 20b9b1d3a808 [2020-12-18T16:29:20.212Z] ---> 8a09152c996f [2020-12-18T16:29:20.212Z] Step 23/24 : LABEL git_sha=b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:29:20.212Z] ---> Running in c14525336c98 [2020-12-18T16:29:20.486Z] Removing intermediate container c14525336c98 [2020-12-18T16:29:20.486Z] ---> f49d0075706b [2020-12-18T16:29:20.486Z] Step 24/24 : LABEL version=0.0.0 [2020-12-18T16:29:20.486Z] ---> Running in 637495fc2c06 [2020-12-18T16:29:20.755Z] Removing intermediate container 637495fc2c06 [2020-12-18T16:29:20.755Z] ---> 0d030dfa6f9d [2020-12-18T16:29:20.755Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-18T16:29:20.755Z] Successfully built 0d030dfa6f9d [2020-12-18T16:29:20.755Z] 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] } [2020-12-18T16:29:37.254Z] gofmt -l . [2020-12-18T16:29:37.254Z] [ "`gofmt -l .`" = "" ] [2020-12-18T16:29:37.254Z] ./bin/test-attribution-txt.sh [2020-12-18T16:29:37.254Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-18T16:29:37.283Z] $ docker stop --time=1 5daedb5da769f3cdd92749d80e72777a5c6e356f1f81fbf2133370776e6bc2b3 [2020-12-18T16:29:39.445Z] $ docker rm -f 5daedb5da769f3cdd92749d80e72777a5c6e356f1f81fbf2133370776e6bc2b3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-18T16:29:40.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-18T16:29:40.644Z] Warning: overwriting stash ‘coverage-report’ [2020-12-18T16:29:41.554Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-18T16:29:42.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-18T16:29:42.786Z] + ls -al . [2020-12-18T16:29:42.786Z] total 244 [2020-12-18T16:29:42.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 16:29 . [2020-12-18T16:29:42.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 16:26 .. [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 16:26 .dockerignore [2020-12-18T16:29:42.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 16:26 .git [2020-12-18T16:29:42.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 16:26 .github [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 18 16:26 .gitignore [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 940 Dec 18 16:26 Dockerfile.build [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 18 16:26 Jenkinsfile [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 18 16:26 LICENSE [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 18 16:26 Makefile [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 18 16:26 README.md [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 18 16:26 RELEASE-NOTES.txt [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 16:24 VERSION [2020-12-18T16:29:42.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 16:26 bin [2020-12-18T16:29:42.786Z] -rw-r--r-- 1 jenkins jenkins 130290 Dec 18 16:29 coverage.out [2020-12-18T16:29:42.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 16:26 example [2020-12-18T16:29:42.786Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 18 16:29 go.mod [2020-12-18T16:29:42.786Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 18 16:29 go.sum [2020-12-18T16:29:42.786Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 18 16:26 internal [2020-12-18T16:29:42.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 16:26 openapi [2020-12-18T16:29:42.786Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 18 16:26 pkg [2020-12-18T16:29:42.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 16:26 snap [2020-12-18T16:29:42.786Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 18 16:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:29:43.153Z] + 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=b316d89914afe89a17a947d728b9e30b253306fb --label arch=arm64 --label version=0.0.0 . [2020-12-18T16:29:43.431Z] Sending build context to Docker daemon 2.552MB [2020-12-18T16:29:43.706Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2020-12-18T16:29:43.706Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-18T16:29:43.706Z] ---> f7fd6c23e48d [2020-12-18T16:29:43.706Z] Step 3/24 : ARG MAKE='make build' [2020-12-18T16:29:43.977Z] ---> Running in 5612b050057c [2020-12-18T16:29:44.284Z] Removing intermediate container 5612b050057c [2020-12-18T16:29:44.284Z] ---> 570ad37f66fd [2020-12-18T16:29:44.284Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-18T16:29:44.556Z] ---> Running in 505a06815fd8 [2020-12-18T16:29:44.828Z] Removing intermediate container 505a06815fd8 [2020-12-18T16:29:44.828Z] ---> a4cf81157dea [2020-12-18T16:29:44.828Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:29:45.098Z] ---> Running in e502ea3b53e9 [2020-12-18T16:29:45.371Z] Removing intermediate container e502ea3b53e9 [2020-12-18T16:29:45.371Z] ---> 5bdcd2a0a3b2 [2020-12-18T16:29:45.371Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-18T16:29:45.653Z] ---> Running in 34c40aba2b5c [2020-12-18T16:29:47.636Z] Removing intermediate container 34c40aba2b5c [2020-12-18T16:29:47.636Z] ---> 2588470871a6 [2020-12-18T16:29:47.636Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-18T16:29:47.914Z] ---> Running in b422548162f5 [2020-12-18T16:29:48.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-18T16:29:49.495Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-18T16:29:50.107Z] OK: 142 MiB in 39 packages [2020-12-18T16:29:51.106Z] Removing intermediate container b422548162f5 [2020-12-18T16:29:51.106Z] ---> 8c6f40679ae6 [2020-12-18T16:29:51.106Z] Step 8/24 : COPY . . [2020-12-18T16:29:52.550Z] ---> b709eac939bb [2020-12-18T16:29:52.550Z] Step 9/24 : RUN ${MAKE} [2020-12-18T16:29:52.550Z] ---> Running in f25c5f2b76a7 [2020-12-18T16:29:53.532Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-18T16:30:20.443Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-18T16:30:20.443Z] Removing intermediate container f25c5f2b76a7 [2020-12-18T16:30:20.443Z] ---> ea784e5f59eb [2020-12-18T16:30:20.443Z] Step 10/24 : FROM scratch [2020-12-18T16:30:20.443Z] ---> [2020-12-18T16:30:20.443Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-18T16:30:20.443Z] ---> Running in 4b3db352b62c [2020-12-18T16:30:20.443Z] Removing intermediate container 4b3db352b62c [2020-12-18T16:30:20.443Z] ---> e0a9df82e26f [2020-12-18T16:30:20.443Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-18T16:30:20.443Z] ---> Running in 7ca5068c79c1 [2020-12-18T16:30:20.720Z] Removing intermediate container 7ca5068c79c1 [2020-12-18T16:30:20.720Z] ---> c64d46eb598e [2020-12-18T16:30:20.720Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-18T16:30:20.720Z] ---> Running in eff362720da3 [2020-12-18T16:30:21.317Z] Removing intermediate container eff362720da3 [2020-12-18T16:30:21.317Z] ---> fb530208bfe6 [2020-12-18T16:30:21.317Z] Step 14/24 : WORKDIR / [2020-12-18T16:30:21.317Z] ---> Running in a63c494243a4 [2020-12-18T16:30:21.912Z] Removing intermediate container a63c494243a4 [2020-12-18T16:30:21.912Z] ---> b20a791293be [2020-12-18T16:30:21.912Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-18T16:30:22.895Z] ---> cb5c44772df7 [2020-12-18T16:30:22.895Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-18T16:30:23.872Z] ---> 9cfc151ddf50 [2020-12-18T16:30:23.872Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-18T16:30:24.465Z] ---> 24a3909137d7 [2020-12-18T16:30:24.465Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-18T16:30:25.060Z] ---> 67e5c78797ab [2020-12-18T16:30:25.060Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-18T16:30:26.047Z] ---> 7728ce6df24b [2020-12-18T16:30:26.047Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-18T16:30:26.047Z] ---> Running in b3b7f18c8c62 [2020-12-18T16:30:26.319Z] Removing intermediate container b3b7f18c8c62 [2020-12-18T16:30:26.319Z] ---> e284d9eda1b1 [2020-12-18T16:30:26.319Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-18T16:30:26.591Z] ---> Running in d0f258272591 [2020-12-18T16:30:27.184Z] Removing intermediate container d0f258272591 [2020-12-18T16:30:27.184Z] ---> 27b4b397d5e0 [2020-12-18T16:30:27.184Z] Step 22/24 : LABEL arch=arm64 [2020-12-18T16:30:27.184Z] ---> Running in 6e9936127afd [2020-12-18T16:30:27.776Z] Removing intermediate container 6e9936127afd [2020-12-18T16:30:27.777Z] ---> 58dad43ef8c0 [2020-12-18T16:30:27.777Z] Step 23/24 : LABEL git_sha=b316d89914afe89a17a947d728b9e30b253306fb [2020-12-18T16:30:27.777Z] ---> Running in a7a84f06b5e5 [2020-12-18T16:30:28.052Z] Removing intermediate container a7a84f06b5e5 [2020-12-18T16:30:28.052Z] ---> 3d031758749f [2020-12-18T16:30:28.052Z] Step 24/24 : LABEL version=0.0.0 [2020-12-18T16:30:28.327Z] ---> Running in 380504d04ce7 [2020-12-18T16:30:28.921Z] Removing intermediate container 380504d04ce7 [2020-12-18T16:30:28.921Z] ---> be3cc9cc91dc [2020-12-18T16:30:28.921Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-18T16:30:28.921Z] Successfully built be3cc9cc91dc [2020-12-18T16:30:28.921Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-18T16:30:30.908Z] provisioning config files... [2020-12-18T16:30:30.928Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config221923896232815601tmp [Pipeline] { [Pipeline] sh [2020-12-18T16:30:31.338Z] + set +x [2020-12-18T16:30:31.339Z] + curl -s https://codecov.io/bash [2020-12-18T16:30:31.339Z] + bash -s -- [2020-12-18T16:30:31.606Z] [2020-12-18T16:30:31.607Z] _____ _ [2020-12-18T16:30:31.607Z] / ____| | | [2020-12-18T16:30:31.607Z] | | ___ __| | ___ ___ _____ __ [2020-12-18T16:30:31.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-18T16:30:31.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-18T16:30:31.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-18T16:30:31.607Z] Bash-20201217-3d3df35 [2020-12-18T16:30:31.607Z] [2020-12-18T16:30:31.607Z] [2020-12-18T16:30:31.607Z] git version 2.24.3 found [2020-12-18T16:30:31.607Z] 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 [2020-12-18T16:30:31.607Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-18T16:30:31.607Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-18T16:30:31.607Z] ==> Jenkins CI detected. [2020-12-18T16:30:31.607Z] project root: . [2020-12-18T16:30:31.607Z] --> token set from env [2020-12-18T16:30:31.607Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-18T16:30:31.607Z] ==> Running gcov in . (disable via -X gcov) [2020-12-18T16:30:31.607Z] ==> Python coveragepy not found [2020-12-18T16:30:31.607Z] ==> Searching for coverage reports in: [2020-12-18T16:30:31.607Z] + . [2020-12-18T16:30:31.607Z] -> Found 1 reports [2020-12-18T16:30:31.607Z] ==> Detecting git/mercurial file structure [2020-12-18T16:30:31.607Z] ==> Reading reports [2020-12-18T16:30:31.607Z] + ./coverage.out bytes=130290 [2020-12-18T16:30:31.607Z] ==> Appending adjustments [2020-12-18T16:30:31.607Z] https://docs.codecov.io/docs/fixing-reports [2020-12-18T16:30:32.190Z] + Found adjustments [2020-12-18T16:30:32.190Z] ==> Gzipping contents [2020-12-18T16:30:32.190Z] 24K /tmp/codecov.gLluki.gz [2020-12-18T16:30:32.190Z] ==> Uploading reports [2020-12-18T16:30:32.190Z] url: https://codecov.io [2020-12-18T16:30:32.190Z] query: branch=PR-699&commit=b316d89914afe89a17a947d728b9e30b253306fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= [2020-12-18T16:30:32.190Z] -> Pinging Codecov [2020-12-18T16:30:32.191Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-699&commit=b316d89914afe89a17a947d728b9e30b253306fb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= [2020-12-18T16:30:32.766Z] -> Uploading to [2020-12-18T16:30:32.766Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-18/7E55EF52A471D76F132DFD9A03CDDE97/b316d89914afe89a17a947d728b9e30b253306fb/c6327a64-7a95-43d2-aec4-32cca91765ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201218T163032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21cf9b4d2fe38f523f5d93502fc70897773b66d343bb9a9abdbe832f79d590cc [2020-12-18T16:30:32.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-18T16:30:32.766Z] Dload Upload Total Spent Left Speed [2020-12-18T16:30:33.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21238 0 0 100 21238 0 45179 --:--:-- --:--:-- --:--:-- 45187 100 21238 0 0 100 21238 0 45165 --:--:-- --:--:-- --:--:-- 45091 [2020-12-18T16:30:33.034Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b316d89914afe89a17a947d728b9e30b253306fb [Pipeline] } [2020-12-18T16:30:33.059Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:36.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:36.430Z] ---> package-listing.sh [2020-12-18T16:30:36.430Z] ++ facter osfamily [2020-12-18T16:30:36.430Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-18T16:30:36.430Z] + OS_FAMILY=redhat [2020-12-18T16:30:36.430Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-699 [2020-12-18T16:30:36.430Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-18T16:30:36.430Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-18T16:30:36.430Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-18T16:30:36.430Z] + PACKAGES=/tmp/packages_start.txt [2020-12-18T16:30:36.430Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' [2020-12-18T16:30:36.430Z] + PACKAGES=/tmp/packages_end.txt [2020-12-18T16:30:36.430Z] + case "${OS_FAMILY}" in [2020-12-18T16:30:36.430Z] + rpm -qa [2020-12-18T16:30:36.430Z] + sort [2020-12-18T16:30:41.762Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-18T16:30:41.762Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-18T16:30:41.762Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-18T16:30:41.762Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' [2020-12-18T16:30:41.762Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [2020-12-18T16:30:41.762Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [Pipeline] echo [2020-12-18T16:30:41.777Z] 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-699/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-18T16:30:42.069Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:30:42.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T16:30:42.380Z] [2020-12-18T16:30:42.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-18T16:30:42.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T16:30:42.732Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-18T16:30:42.732Z] df20fa9351a1: Pulling fs layer [2020-12-18T16:30:42.732Z] 36b3adc4ff6f: Pulling fs layer [2020-12-18T16:30:42.732Z] 8ad3a11d3b57: Pulling fs layer [2020-12-18T16:30:42.732Z] 46f8f816bc3b: Pulling fs layer [2020-12-18T16:30:42.732Z] 93b61091891f: Pulling fs layer [2020-12-18T16:30:42.732Z] 93b9cdb0e59b: Pulling fs layer [2020-12-18T16:30:42.732Z] 5e14af77c1be: Pulling fs layer [2020-12-18T16:30:42.732Z] 01666e4c0597: Pulling fs layer [2020-12-18T16:30:42.732Z] aa168da1d23b: Pulling fs layer [2020-12-18T16:30:42.732Z] 93b9cdb0e59b: Waiting [2020-12-18T16:30:42.732Z] 46f8f816bc3b: Waiting [2020-12-18T16:30:42.732Z] 93b61091891f: Waiting [2020-12-18T16:30:42.732Z] 01666e4c0597: Waiting [2020-12-18T16:30:42.732Z] 5e14af77c1be: Waiting [2020-12-18T16:30:42.732Z] aa168da1d23b: Waiting [2020-12-18T16:30:42.732Z] 36b3adc4ff6f: Download complete [2020-12-18T16:30:42.732Z] 46f8f816bc3b: Verifying Checksum [2020-12-18T16:30:42.732Z] 46f8f816bc3b: Download complete [2020-12-18T16:30:43.000Z] df20fa9351a1: Download complete [2020-12-18T16:30:43.000Z] 93b9cdb0e59b: Verifying Checksum [2020-12-18T16:30:43.000Z] 93b9cdb0e59b: Download complete [2020-12-18T16:30:43.000Z] 93b61091891f: Verifying Checksum [2020-12-18T16:30:43.000Z] 93b61091891f: Download complete [2020-12-18T16:30:43.000Z] 5e14af77c1be: Verifying Checksum [2020-12-18T16:30:43.000Z] 5e14af77c1be: Download complete [2020-12-18T16:30:43.000Z] 01666e4c0597: Download complete [2020-12-18T16:30:43.000Z] 8ad3a11d3b57: Verifying Checksum [2020-12-18T16:30:43.000Z] 8ad3a11d3b57: Download complete [2020-12-18T16:30:43.265Z] df20fa9351a1: Pull complete [2020-12-18T16:30:43.536Z] 36b3adc4ff6f: Pull complete [2020-12-18T16:30:44.112Z] 8ad3a11d3b57: Pull complete [2020-12-18T16:30:44.378Z] 46f8f816bc3b: Pull complete [2020-12-18T16:30:45.327Z] aa168da1d23b: Verifying Checksum [2020-12-18T16:30:45.327Z] aa168da1d23b: Download complete [2020-12-18T16:30:45.327Z] 93b61091891f: Pull complete [2020-12-18T16:30:45.592Z] 93b9cdb0e59b: Pull complete [2020-12-18T16:30:45.592Z] 5e14af77c1be: Pull complete [2020-12-18T16:30:45.592Z] 01666e4c0597: Pull complete [2020-12-18T16:30:52.226Z] aa168da1d23b: Pull complete [2020-12-18T16:30:52.226Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-18T16:30:52.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-18T16:30:52.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-18T16:30:52.427Z] prd-centos7-docker-4c-2g-16757 does not seem to be running inside a container [2020-12-18T16:30:52.480Z] $ 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-699/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-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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 [2020-12-18T16:30:55.819Z] $ docker top b8aba92d8290ade564eee4d23bed5177341b94c28741c3feaad5c1ef450cef7b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-18T16:30:56.306Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-18T16:30:56.609Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-18T16:30:56.908Z] + ls /var/log/sa-host [2020-12-18T16:30:56.908Z] + sadf -c /var/log/sa-host/sa18 [2020-12-18T16:30:56.908Z] file_magic: OK [2020-12-18T16:30:56.908Z] HZ: Using current value: 100 [2020-12-18T16:30:56.908Z] file_header: OK [2020-12-18T16:30:56.908Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-18T16:30:56.908Z] Statistics: [2020-12-18T16:30:56.908Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-18T16:30:56.908Z] File successfully converted to sysstat format version 12.2.1 [2020-12-18T16:30:56.908Z] + sadf -c /var/log/sa-host/sa23 [2020-12-18T16:30:56.908Z] file_magic: OK [2020-12-18T16:30:56.908Z] HZ: Using current value: 100 [2020-12-18T16:30:56.908Z] file_header: OK [2020-12-18T16:30:56.908Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-18T16:30:56.908Z] Statistics: [2020-12-18T16:30:56.908Z] Hnuu...uuuununununu... [2020-12-18T16:30:56.908Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-18T16:30:57.477Z] provisioning config files... [2020-12-18T16:30:57.493Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config2838952311405207152tmp [Pipeline] { [Pipeline] echo [2020-12-18T16:30:57.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:57.863Z] ---> create-netrc.sh [Pipeline] } [2020-12-18T16:30:57.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-18T16:30:58.001Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:58.296Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-18T16:30:58.307Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:58.602Z] ---> sudo-logs.sh [2020-12-18T16:30:58.602Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-18T16:30:58.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:30:58.906Z] ---> job-cost.sh [2020-12-18T16:30:58.906Z] lf-activate-venv: SKIPPING [2020-12-18T16:30:58.906Z] INFO: No Stack... [2020-12-18T16:30:59.882Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-18T16:31:00.843Z] INFO: Archiving Costs [Pipeline] echo [2020-12-18T16:31:00.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-18T16:31:01.178Z] ---> logs-deploy.sh [2020-12-18T16:31:01.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-699/2 [2020-12-18T16:31:01.178Z] INFO: archiving workspace using pattern(s): [2020-12-18T16:31:03.102Z] Archives upload complete. [2020-12-18T16:31:03.102Z] INFO: archiving logs to Nexus