Pull request #763 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 862efaa6fb370de0353a6ab70a9abf0deac6fae9+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (2c220c7066cbf59c232dfd1644b55afa7f4c5c49) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23706 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [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-763 # 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 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 Merge succeeded, producing 0193f5eabba245e8bfdb43525716dd55d9eed079 Checking out Revision 0193f5eabba245e8bfdb43525716dd55d9eed079 (PR-763) 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0193f5eabba245e8bfdb43525716dd55d9eed079 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T06:36:43.664Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T06:36:43.955Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T06:36:44.065Z] ========================================================= [2021-01-28T06:36:44.065Z] EdgeX Global Pipelines Version Info [2021-01-28T06:36:44.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:36:45.545Z] ------------------- [2021-01-28T06:36:45.545Z] stable info: [2021-01-28T06:36:45.545Z] ------------------- [2021-01-28T06:36:45.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T06:36:45.545Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T06:36:45.545Z] Message: update stable to v1.0.179 [2021-01-28T06:36:46.492Z] ------------------- [2021-01-28T06:36:46.492Z] experimental info: [2021-01-28T06:36:46.492Z] ------------------- [2021-01-28T06:36:46.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T06:36:46.492Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T06:36:46.492Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T06:36:46.770Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T06:36:46.879Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T06:36:46.976Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T06:36:47.084Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T06:36:47.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T06:36:47.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T06:36:47.472Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T06:36:47.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T06:36:47.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T06:36:47.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T06:36:47.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T06:36:47.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T06:36:48.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T06:36:48.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T06:36:48.256Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T06:36:48.371Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T06:36:48.500Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T06:36:48.597Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T06:36:48.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T06:36:48.802Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T06:36:48.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T06:36:49.003Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T06:36:49.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T06:36:49.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T06:36:49.289Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T06:36:49.385Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T06:36:49.481Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T06:36:49.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo [2021-01-28T06:36:49.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo [2021-01-28T06:36:49.807Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo [2021-01-28T06:36:49.965Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] echo [2021-01-28T06:36:50.060Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0193f5e [Pipeline] echo [2021-01-28T06:36:50.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T06:36:50.376Z] provisioning config files... [2021-01-28T06:36:50.405Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config5266561476940788904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:36:50.768Z] ---> docker-login.sh [2021-01-28T06:36:50.769Z] nexus3.edgexfoundry.org:10001 [2021-01-28T06:36:51.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:36:51.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:36:51.296Z] Configure a credential helper to remove this warning. See [2021-01-28T06:36:51.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:36:51.296Z] [2021-01-28T06:36:51.296Z] Login Succeeded [2021-01-28T06:36:51.296Z] nexus3.edgexfoundry.org:10002 [2021-01-28T06:36:51.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:36:51.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:36:51.559Z] Configure a credential helper to remove this warning. See [2021-01-28T06:36:51.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:36:51.559Z] [2021-01-28T06:36:51.559Z] Login Succeeded [2021-01-28T06:36:51.559Z] nexus3.edgexfoundry.org:10003 [2021-01-28T06:36:51.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:36:51.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:36:51.559Z] Configure a credential helper to remove this warning. See [2021-01-28T06:36:51.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:36:51.559Z] [2021-01-28T06:36:51.559Z] Login Succeeded [2021-01-28T06:36:51.559Z] nexus3.edgexfoundry.org:10004 [2021-01-28T06:36:51.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:36:51.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:36:51.823Z] Configure a credential helper to remove this warning. See [2021-01-28T06:36:51.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:36:51.823Z] [2021-01-28T06:36:51.823Z] Login Succeeded [2021-01-28T06:36:51.823Z] docker.io [2021-01-28T06:36:51.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:36:52.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:36:52.086Z] Configure a credential helper to remove this warning. See [2021-01-28T06:36:52.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:36:52.086Z] [2021-01-28T06:36:52.086Z] Login Succeeded [2021-01-28T06:36:52.086Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T06:36:52.098Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T06:36:52.987Z] + git log --format=format:%s -1 0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] echo [2021-01-28T06:36:53.061Z] GIT_COMMIT: 0193f5eabba245e8bfdb43525716dd55d9eed079, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo [2021-01-28T06:36:53.125Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:36:54.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T06:36:54.171Z] [2021-01-28T06:36:54.171Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:36:54.520Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T06:36:54.520Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T06:36:54.520Z] 31603596830f: Pulling fs layer [2021-01-28T06:36:54.520Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T06:36:54.520Z] 6ca5941a6612: Pulling fs layer [2021-01-28T06:36:54.520Z] ecc8261a40a4: Pulling fs layer [2021-01-28T06:36:54.520Z] ecc8261a40a4: Waiting [2021-01-28T06:36:54.520Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T06:36:54.520Z] 2a8b12db71e7: Download complete [2021-01-28T06:36:54.782Z] 31603596830f: Verifying Checksum [2021-01-28T06:36:54.782Z] 31603596830f: Download complete [2021-01-28T06:36:54.782Z] 6ca5941a6612: Verifying Checksum [2021-01-28T06:36:54.782Z] 6ca5941a6612: Download complete [2021-01-28T06:36:54.782Z] ecc8261a40a4: Verifying Checksum [2021-01-28T06:36:54.782Z] ecc8261a40a4: Download complete [2021-01-28T06:36:55.046Z] 31603596830f: Pull complete [2021-01-28T06:36:55.308Z] 2a8b12db71e7: Pull complete [2021-01-28T06:36:56.264Z] 6ca5941a6612: Pull complete [2021-01-28T06:36:56.264Z] ecc8261a40a4: Pull complete [2021-01-28T06:36:56.264Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T06:36:56.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T06:36:56.264Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T06:36:56.367Z] prd-centos7-docker-4c-2g-23706 does not seem to be running inside a container [2021-01-28T06:36:56.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T06:36:58.597Z] $ docker top 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T06:36:58.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T06:36:58.924Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T06:36:59.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T06:36:59.145Z] $ docker exec 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent [2021-01-28T06:36:59.315Z] SSH_AUTH_SOCK=/tmp/ssh-1phaNzLXpA65/agent.12 [2021-01-28T06:36:59.315Z] SSH_AGENT_PID=17 [2021-01-28T06:36:59.327Z] Running ssh-add (command line suppressed) [2021-01-28T06:36:59.445Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_8162902860095435037.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_8162902860095435037.key) [2021-01-28T06:36:59.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T06:36:59.842Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T06:36:59.865Z] $ docker exec --env ******** --env ******** 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent -k [2021-01-28T06:36:59.981Z] unset SSH_AUTH_SOCK; [2021-01-28T06:36:59.981Z] unset SSH_AGENT_PID; [2021-01-28T06:36:59.981Z] echo Agent pid 17 killed; [2021-01-28T06:37:00.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T06:37:00.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T06:37:00.225Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T06:37:00.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T06:37:00.406Z] $ docker exec 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent [2021-01-28T06:37:00.577Z] SSH_AUTH_SOCK=/tmp/ssh-MnUFAvHFfKc7/agent.46 [2021-01-28T06:37:00.577Z] SSH_AGENT_PID=52 [2021-01-28T06:37:00.584Z] Running ssh-add (command line suppressed) [2021-01-28T06:37:00.710Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1173140688113577999.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1173140688113577999.key) [2021-01-28T06:37:00.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T06:37:01.106Z] + git semver init [2021-01-28T06:37:01.106Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T06:37:01.106Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git [2021-01-28T06:37:01.106Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-28T06:37:01.106Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T06:37:01.106Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T06:37:01.106Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T06:37:01.106Z] # $SEMVER_BRANCH = PR-763 [2021-01-28T06:37:01.106Z] # $SEMVER_TEMP = /tmp/semver-667859006 [2021-01-28T06:37:01.106Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T06:37:02.063Z] # '/tmp/semver-667859006' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' [2021-01-28T06:37:02.063Z] # -> Force: false [2021-01-28T06:37:02.063Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } [2021-01-28T06:37:02.077Z] $ docker exec --env ******** --env ******** 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent -k [2021-01-28T06:37:02.206Z] unset SSH_AUTH_SOCK; [2021-01-28T06:37:02.206Z] unset SSH_AGENT_PID; [2021-01-28T06:37:02.206Z] echo Agent pid 52 killed; [2021-01-28T06:37:02.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T06:37:02.733Z] + git semver [Pipeline] } [2021-01-28T06:37:02.751Z] $ docker stop --time=1 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 [2021-01-28T06:37:04.130Z] $ docker rm -f 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T06:37:04.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T06:37:05.008Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T06:37:05.011Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-28T06:37:20.524Z] Still waiting to schedule task [2021-01-28T06:37:20.525Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-28T06:37:20.527Z] Still waiting to schedule task [2021-01-28T06:37:20.527Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-28T06:39:07.312Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23707 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-28T06:39:07.373Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-28T06:39:12.887Z] using credential edgex-jenkins-ssh [2021-01-28T06:39:12.961Z] Cloning the remote Git repository [2021-01-28T06:39:13.013Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:13.121Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-28T06:39:13.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:13.204Z] > git --version # timeout=10 [2021-01-28T06:39:13.221Z] > git --version # 'git version 2.17.1' [2021-01-28T06:39:13.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:13.306Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T06:39:14.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T06:39:14.530Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T06:39:14.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T06:39:14.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:14.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:14.609Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T06:39:15.280Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 [2021-01-28T06:39:15.598Z] Merge succeeded, producing f7a58d63080d6da7d9a146b6817998bc0bf7b27f [2021-01-28T06:39:15.598Z] Checking out Revision f7a58d63080d6da7d9a146b6817998bc0bf7b27f (PR-763) [2021-01-28T06:39:15.298Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T06:39:15.320Z] > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # timeout=10 [2021-01-28T06:39:15.444Z] > git remote # timeout=10 [2021-01-28T06:39:15.461Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T06:39:15.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:15.485Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T06:39:15.581Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T06:39:15.602Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T06:39:15.616Z] > git checkout -f f7a58d63080d6da7d9a146b6817998bc0bf7b27f # timeout=10 [2021-01-28T06:39:19.914Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T06:39:19.936Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T06:39:19.919Z] > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 [2021-01-28T06:39:21.614Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T06:39:22.034Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T06:39:22.384Z] + true [2021-01-28T06:39:22.384Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T06:39:25.095Z] provisioning config files... [2021-01-28T06:39:25.139Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3095791728564309930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:39:25.554Z] ---> docker-login.sh [2021-01-28T06:39:25.554Z] nexus3.edgexfoundry.org:10001 [2021-01-28T06:39:26.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:39:26.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:39:26.876Z] Configure a credential helper to remove this warning. See [2021-01-28T06:39:26.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:39:26.876Z] [2021-01-28T06:39:26.876Z] Login Succeeded [2021-01-28T06:39:26.876Z] nexus3.edgexfoundry.org:10002 [2021-01-28T06:39:27.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:39:27.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:39:27.424Z] Configure a credential helper to remove this warning. See [2021-01-28T06:39:27.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:39:27.424Z] [2021-01-28T06:39:27.424Z] Login Succeeded [2021-01-28T06:39:27.424Z] nexus3.edgexfoundry.org:10003 [2021-01-28T06:39:27.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:39:27.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:39:27.979Z] Configure a credential helper to remove this warning. See [2021-01-28T06:39:27.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:39:27.979Z] [2021-01-28T06:39:27.979Z] Login Succeeded [2021-01-28T06:39:27.979Z] nexus3.edgexfoundry.org:10004 [2021-01-28T06:39:28.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:39:28.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:39:28.527Z] Configure a credential helper to remove this warning. See [2021-01-28T06:39:28.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:39:28.527Z] [2021-01-28T06:39:28.527Z] Login Succeeded [2021-01-28T06:39:28.527Z] docker.io [2021-01-28T06:39:28.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:39:29.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:39:29.071Z] Configure a credential helper to remove this warning. See [2021-01-28T06:39:29.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:39:29.071Z] [2021-01-28T06:39:29.071Z] Login Succeeded [2021-01-28T06:39:29.071Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T06:39:29.088Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T06:39:29.559Z] ========================================================= [2021-01-28T06:39:29.559Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T06:39:29.559Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:39:29.948Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-28T06:39:30.552Z] Sending build context to Docker daemon 2.572MB [2021-01-28T06:39:30.552Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T06:39:30.552Z] Step 2/8 : FROM ${BASE} [2021-01-28T06:39:30.552Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T06:39:30.552Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T06:39:30.552Z] a4357932f1b6: Pulling fs layer [2021-01-28T06:39:30.552Z] 18c013af1878: Pulling fs layer [2021-01-28T06:39:30.552Z] 00ac8860ef70: Pulling fs layer [2021-01-28T06:39:30.552Z] 63d7cb157983: Pulling fs layer [2021-01-28T06:39:30.552Z] b116817d02f9: Pulling fs layer [2021-01-28T06:39:30.552Z] 745a02a5169b: Pulling fs layer [2021-01-28T06:39:30.552Z] 00ac8860ef70: Waiting [2021-01-28T06:39:30.552Z] 63d7cb157983: Waiting [2021-01-28T06:39:30.552Z] b116817d02f9: Waiting [2021-01-28T06:39:30.552Z] 745a02a5169b: Waiting [2021-01-28T06:39:30.552Z] 18c013af1878: Verifying Checksum [2021-01-28T06:39:30.552Z] 18c013af1878: Download complete [2021-01-28T06:39:30.552Z] a4357932f1b6: Verifying Checksum [2021-01-28T06:39:30.552Z] a4357932f1b6: Download complete [2021-01-28T06:39:30.552Z] 63d7cb157983: Download complete [2021-01-28T06:39:30.552Z] b116817d02f9: Verifying Checksum [2021-01-28T06:39:30.552Z] b116817d02f9: Download complete [2021-01-28T06:39:30.828Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T06:39:30.828Z] 5f621e34cdf4: Download complete [2021-01-28T06:39:31.811Z] 5f621e34cdf4: Pull complete [2021-01-28T06:39:32.093Z] a4357932f1b6: Pull complete [2021-01-28T06:39:32.704Z] 18c013af1878: Pull complete [2021-01-28T06:39:33.317Z] 745a02a5169b: Verifying Checksum [2021-01-28T06:39:33.317Z] 745a02a5169b: Download complete [2021-01-28T06:39:34.776Z] 00ac8860ef70: Verifying Checksum [2021-01-28T06:39:34.776Z] 00ac8860ef70: Download complete [2021-01-28T06:39:44.961Z] 00ac8860ef70: Pull complete [2021-01-28T06:39:44.961Z] 63d7cb157983: Pull complete [2021-01-28T06:39:45.232Z] b116817d02f9: Pull complete [2021-01-28T06:39:48.620Z] 745a02a5169b: Pull complete [2021-01-28T06:39:48.620Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T06:39:48.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T06:39:48.620Z] ---> b7e6874047d6 [2021-01-28T06:39:48.620Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:39:51.261Z] ---> Running in dd1b937f965e [2021-01-28T06:39:51.532Z] Removing intermediate container dd1b937f965e [2021-01-28T06:39:51.532Z] ---> 0a8f033a1554 [2021-01-28T06:39:51.532Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T06:39:51.805Z] ---> Running in 7f20a210702b [2021-01-28T06:39:53.786Z] Removing intermediate container 7f20a210702b [2021-01-28T06:39:53.786Z] ---> 7f170bd74962 [2021-01-28T06:39:53.786Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T06:39:54.061Z] ---> Running in 914f39fe0bd2 [2021-01-28T06:39:54.681Z] Running on prd-centos7-docker-4c-2g-23708 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-28T06:39:54.737Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-01-28T06:39:55.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T06:39:55.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T06:39:56.230Z] OK: 142 MiB in 39 packages [2021-01-28T06:39:57.040Z] using credential edgex-jenkins-ssh [2021-01-28T06:39:57.096Z] Cloning the remote Git repository [2021-01-28T06:39:57.674Z] Removing intermediate container 914f39fe0bd2 [2021-01-28T06:39:57.675Z] ---> f2c93cbc3de4 [2021-01-28T06:39:57.675Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T06:39:57.675Z] ---> Running in 88674e1605dd [2021-01-28T06:39:56.674Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:56.748Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-01-28T06:39:56.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:56.810Z] > git --version # timeout=10 [2021-01-28T06:39:56.816Z] > git --version # 'git version 2.24.3' [2021-01-28T06:39:56.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:56.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T06:39:57.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T06:39:57.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T06:39:57.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T06:39:57.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T06:39:57.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:57.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T06:39:58.270Z] Removing intermediate container 88674e1605dd [2021-01-28T06:39:58.270Z] ---> d3582c259de7 [2021-01-28T06:39:58.270Z] Step 7/8 : COPY . . [2021-01-28T06:39:58.440Z] Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 [2021-01-28T06:39:58.569Z] Merge succeeded, producing 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a [2021-01-28T06:39:58.569Z] Checking out Revision 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a (PR-763) [2021-01-28T06:39:58.103Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T06:39:58.112Z] > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # timeout=10 [2021-01-28T06:39:58.175Z] > git remote # timeout=10 [2021-01-28T06:39:58.181Z] > git config --get remote.origin.url # timeout=10 [2021-01-28T06:39:58.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T06:39:58.191Z] > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T06:39:58.227Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-28T06:39:58.238Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T06:39:58.243Z] > git checkout -f 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a # timeout=10 [2021-01-28T06:39:59.715Z] ---> fe85434f8b8f [2021-01-28T06:39:59.715Z] Step 8/8 : RUN go mod download [2021-01-28T06:39:59.715Z] ---> Running in d4520c9aef8e [2021-01-28T06:40:02.008Z] Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" [2021-01-28T06:40:02.051Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2021-01-28T06:40:01.981Z] > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 [Pipeline] { [Pipeline] sh [2021-01-28T06:40:03.394Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T06:40:03.728Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T06:40:04.028Z] + sudo service docker restart [2021-01-28T06:40:04.028Z] + true [2021-01-28T06:40:04.028Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T06:40:05.489Z] provisioning config files... [2021-01-28T06:40:05.520Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5944008469689452443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:40:05.898Z] ---> docker-login.sh [2021-01-28T06:40:05.898Z] nexus3.edgexfoundry.org:10001 [2021-01-28T06:40:06.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:40:06.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:40:06.168Z] Configure a credential helper to remove this warning. See [2021-01-28T06:40:06.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:40:06.168Z] [2021-01-28T06:40:06.168Z] Login Succeeded [2021-01-28T06:40:06.168Z] nexus3.edgexfoundry.org:10002 [2021-01-28T06:40:06.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:40:06.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:40:06.434Z] Configure a credential helper to remove this warning. See [2021-01-28T06:40:06.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:40:06.434Z] [2021-01-28T06:40:06.434Z] Login Succeeded [2021-01-28T06:40:06.434Z] nexus3.edgexfoundry.org:10003 [2021-01-28T06:40:06.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:40:06.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:40:06.697Z] Configure a credential helper to remove this warning. See [2021-01-28T06:40:06.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:40:06.697Z] [2021-01-28T06:40:06.697Z] Login Succeeded [2021-01-28T06:40:06.697Z] nexus3.edgexfoundry.org:10004 [2021-01-28T06:40:06.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:40:06.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:40:06.962Z] Configure a credential helper to remove this warning. See [2021-01-28T06:40:06.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:40:06.962Z] [2021-01-28T06:40:06.962Z] Login Succeeded [2021-01-28T06:40:06.962Z] docker.io [2021-01-28T06:40:06.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T06:40:07.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T06:40:07.225Z] Configure a credential helper to remove this warning. See [2021-01-28T06:40:07.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T06:40:07.225Z] [2021-01-28T06:40:07.225Z] Login Succeeded [2021-01-28T06:40:07.225Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T06:40:07.236Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T06:40:07.608Z] ========================================================= [2021-01-28T06:40:07.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T06:40:07.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:40:07.949Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-28T06:40:07.949Z] Sending build context to Docker daemon 2.573MB [2021-01-28T06:40:07.949Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T06:40:07.949Z] Step 2/8 : FROM ${BASE} [2021-01-28T06:40:08.213Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T06:40:08.213Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T06:40:08.213Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T06:40:08.213Z] de9db76c5a1d: Pulling fs layer [2021-01-28T06:40:08.213Z] bca2f99d35d6: Pulling fs layer [2021-01-28T06:40:08.213Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T06:40:08.213Z] 7c6f9722023f: Pulling fs layer [2021-01-28T06:40:08.213Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T06:40:08.213Z] 93359f2a8cfa: Waiting [2021-01-28T06:40:08.213Z] 7c6f9722023f: Waiting [2021-01-28T06:40:08.213Z] a35cf1a2eb13: Waiting [2021-01-28T06:40:08.213Z] bca2f99d35d6: Waiting [2021-01-28T06:40:08.213Z] de9db76c5a1d: Download complete [2021-01-28T06:40:08.213Z] 0ef7d3d256c8: Download complete [2021-01-28T06:40:08.213Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T06:40:08.213Z] 93359f2a8cfa: Download complete [2021-01-28T06:40:08.481Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T06:40:08.482Z] 188c0c94c7c5: Download complete [2021-01-28T06:40:08.482Z] 7c6f9722023f: Verifying Checksum [2021-01-28T06:40:08.482Z] 7c6f9722023f: Download complete [2021-01-28T06:40:08.482Z] 188c0c94c7c5: Pull complete [2021-01-28T06:40:08.753Z] 0ef7d3d256c8: Pull complete [2021-01-28T06:40:09.018Z] de9db76c5a1d: Pull complete [2021-01-28T06:40:09.966Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T06:40:09.966Z] a35cf1a2eb13: Download complete [2021-01-28T06:40:10.919Z] bca2f99d35d6: Verifying Checksum [2021-01-28T06:40:10.919Z] bca2f99d35d6: Download complete [2021-01-28T06:40:16.250Z] bca2f99d35d6: Pull complete [2021-01-28T06:40:16.250Z] 93359f2a8cfa: Pull complete [2021-01-28T06:40:16.250Z] 7c6f9722023f: Pull complete [2021-01-28T06:40:21.954Z] Removing intermediate container d4520c9aef8e [2021-01-28T06:40:21.954Z] ---> cddc78b2dae2 [2021-01-28T06:40:21.954Z] Successfully built cddc78b2dae2 [2021-01-28T06:40:21.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:40:22.298Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T06:40:22.298Z] . [Pipeline] withDockerContainer [2021-01-28T06:40:22.542Z] prd-ubuntu18.04-docker-arm64-4c-16g-23707 does not seem to be running inside a container [2021-01-28T06:40:22.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T06:40:24.078Z] $ docker top c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T06:40:25.078Z] + go version [2021-01-28T06:40:25.078Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T06:40:25.099Z] $ docker stop --time=1 c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a [2021-01-28T06:40:26.286Z] a35cf1a2eb13: Pull complete [2021-01-28T06:40:26.286Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T06:40:26.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T06:40:26.286Z] ---> a62c8e92a672 [2021-01-28T06:40:26.286Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:40:26.286Z] ---> Running in c35b8a4a3b68 [2021-01-28T06:40:26.286Z] Removing intermediate container c35b8a4a3b68 [2021-01-28T06:40:26.286Z] ---> 23e1ccb99f06 [2021-01-28T06:40:26.286Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T06:40:26.286Z] ---> Running in d1e08b93f66f [2021-01-28T06:40:26.286Z] Removing intermediate container d1e08b93f66f [2021-01-28T06:40:26.286Z] ---> 87e5a2ef4795 [2021-01-28T06:40:26.286Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T06:40:26.286Z] ---> Running in 00900dd8d27c [2021-01-28T06:40:27.022Z] $ docker rm -f c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a [2021-01-28T06:40:27.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:40:27.824Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T06:40:28.072Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T06:40:28.072Z] . [Pipeline] withDockerContainer [2021-01-28T06:40:28.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-23707 does not seem to be running inside a container [2021-01-28T06:40:28.403Z] OK: 166 MiB in 39 packages [2021-01-28T06:40:28.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-28T06:40:28.668Z] Removing intermediate container 00900dd8d27c [2021-01-28T06:40:28.668Z] ---> 9ffcd6b5f7c4 [2021-01-28T06:40:28.668Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T06:40:28.931Z] ---> Running in 1418d063f8ae [2021-01-28T06:40:28.931Z] Removing intermediate container 1418d063f8ae [2021-01-28T06:40:28.931Z] ---> 9c43c0e3d24e [2021-01-28T06:40:28.931Z] Step 7/8 : COPY . . [2021-01-28T06:40:29.919Z] $ docker top cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 -eo pid,comm [Pipeline] { [2021-01-28T06:40:30.325Z] ---> c3ec9afd2008 [2021-01-28T06:40:30.325Z] Step 8/8 : RUN go mod download [2021-01-28T06:40:30.325Z] ---> Running in 6088c19f76f7 [Pipeline] sh [2021-01-28T06:40:30.987Z] + make test [2021-01-28T06:40:30.987Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T06:40:48.499Z] Removing intermediate container 6088c19f76f7 [2021-01-28T06:40:48.500Z] ---> 54b5bffd21ba [2021-01-28T06:40:48.500Z] Successfully built 54b5bffd21ba [2021-01-28T06:40:48.500Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:40:48.980Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T06:40:48.980Z] . [Pipeline] withDockerContainer [2021-01-28T06:40:49.084Z] prd-centos7-docker-4c-2g-23708 does not seem to be running inside a container [2021-01-28T06:40:49.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T06:40:49.850Z] $ docker top 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T06:40:50.408Z] + go version [2021-01-28T06:40:50.408Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T06:40:50.421Z] $ docker stop --time=1 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f [2021-01-28T06:40:51.792Z] $ docker rm -f 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:40:52.684Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T06:40:52.684Z] . [Pipeline] withDockerContainer [2021-01-28T06:40:52.780Z] prd-centos7-docker-4c-2g-23708 does not seem to be running inside a container [2021-01-28T06:40:52.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-28T06:40:53.179Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T06:40:53.864Z] $ docker top ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T06:40:54.366Z] + make test [2021-01-28T06:40:54.366Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T06:41:01.020Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T06:41:16.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T06:41:16.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T06:41:16.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T06:41:16.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 19.4% of statements [2021-01-28T06:41:20.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements [2021-01-28T06:41:32.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T06:41:32.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T06:41:32.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T06:41:33.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 19.4% of statements [2021-01-28T06:41:39.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.224s coverage: 97.1% of statements [2021-01-28T06:41:46.951Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 21.7% of statements [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.222s coverage: 43.6% of statements [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.268s coverage: 68.9% of statements [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 53.8% of statements [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 25.2% of statements [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements [2021-01-28T06:41:46.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-28T06:41:46.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T06:41:46.952Z] GO111MODULE=on go vet ./... [2021-01-28T06:41:59.292Z] gofmt -l . [2021-01-28T06:41:59.293Z] [ "`gofmt -l .`" = "" ] [2021-01-28T06:41:59.293Z] ./bin/test-attribution-txt.sh [2021-01-28T06:41:59.293Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T06:41:59.310Z] $ docker stop --time=1 ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 [2021-01-28T06:42:01.351Z] $ docker rm -f ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T06:42:02.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T06:42:02.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T06:42:05.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T06:42:05.447Z] + ls -al . [2021-01-28T06:42:05.447Z] total 216 [2021-01-28T06:42:05.447Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 06:41 . [2021-01-28T06:42:05.447Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 06:39 .. [2021-01-28T06:42:05.447Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 06:39 bin [2021-01-28T06:42:05.447Z] -rw-r--r--. 1 jenkins jenkins 137332 Jan 28 06:41 coverage.out [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 06:39 Dockerfile.build [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 06:39 .dockerignore [2021-01-28T06:42:05.447Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 06:39 example [2021-01-28T06:42:05.447Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 06:40 .git [2021-01-28T06:42:05.447Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 06:39 .github [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 06:39 .gitignore [2021-01-28T06:42:05.447Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 06:41 go.mod [2021-01-28T06:42:05.447Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 06:41 go.sum [2021-01-28T06:42:05.447Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 06:39 internal [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 06:39 Jenkinsfile [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 06:39 LICENSE [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 06:39 Makefile [2021-01-28T06:42:05.447Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 06:39 openapi [2021-01-28T06:42:05.447Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 06:39 pkg [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 06:39 README.md [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 06:39 RELEASE-NOTES.txt [2021-01-28T06:42:05.447Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 06:39 snap [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 06:37 VERSION [2021-01-28T06:42:05.447Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 06:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:42:05.761Z] + 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=0193f5eabba245e8bfdb43525716dd55d9eed079 --label arch=amd64 --label version=0.0.0 . [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 9.4% of statements [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.625s coverage: 43.6% of statements [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 68.9% of statements [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.176s coverage: 53.8% of statements [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 25.2% of statements [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.976s coverage: 83.5% of statements [2021-01-28T06:42:05.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 4.2% of statements [2021-01-28T06:42:05.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T06:42:06.024Z] Sending build context to Docker daemon 2.712MB [2021-01-28T06:42:06.025Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T06:42:06.025Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T06:42:06.025Z] ---> 54b5bffd21ba [2021-01-28T06:42:06.025Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T06:42:06.265Z] GO111MODULE=on go vet ./... [2021-01-28T06:42:06.597Z] ---> Running in a0ff5bbb7158 [2021-01-28T06:42:06.858Z] Removing intermediate container a0ff5bbb7158 [2021-01-28T06:42:06.858Z] ---> 8615e144ad3e [2021-01-28T06:42:06.858Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T06:42:06.858Z] ---> Running in 2e77aedc5ea3 [2021-01-28T06:42:06.858Z] Removing intermediate container 2e77aedc5ea3 [2021-01-28T06:42:06.858Z] ---> 5339f455e628 [2021-01-28T06:42:06.858Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:42:07.121Z] ---> Running in bc76492c45da [2021-01-28T06:42:07.121Z] Removing intermediate container bc76492c45da [2021-01-28T06:42:07.121Z] ---> 071e3b38905f [2021-01-28T06:42:07.121Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T06:42:07.383Z] ---> Running in 303d4d908de6 [2021-01-28T06:42:08.336Z] Removing intermediate container 303d4d908de6 [2021-01-28T06:42:08.336Z] ---> 74d74bf9b671 [2021-01-28T06:42:08.336Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T06:42:08.336Z] ---> Running in 0f9ac7dee9a3 [2021-01-28T06:42:08.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T06:42:09.176Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T06:42:09.753Z] OK: 166 MiB in 39 packages [2021-01-28T06:42:10.328Z] Removing intermediate container 0f9ac7dee9a3 [2021-01-28T06:42:10.328Z] ---> 1a86faedd254 [2021-01-28T06:42:10.328Z] Step 8/24 : COPY . . [2021-01-28T06:42:11.278Z] ---> dada6d554f8d [2021-01-28T06:42:11.278Z] Step 9/24 : RUN ${MAKE} [2021-01-28T06:42:11.541Z] ---> Running in a00d6ff4adc6 [2021-01-28T06:42:12.119Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T06:42:20.389Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T06:42:22.947Z] Removing intermediate container a00d6ff4adc6 [2021-01-28T06:42:22.947Z] ---> 38de1b2383e9 [2021-01-28T06:42:22.947Z] Step 10/24 : FROM scratch [2021-01-28T06:42:22.947Z] ---> [2021-01-28T06:42:22.947Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:42:23.209Z] ---> Running in 444263c1d70c [2021-01-28T06:42:23.476Z] Removing intermediate container 444263c1d70c [2021-01-28T06:42:23.476Z] ---> 3758a5f55eb4 [2021-01-28T06:42:23.476Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T06:42:23.476Z] ---> Running in fd163641ffac [2021-01-28T06:42:23.476Z] Removing intermediate container fd163641ffac [2021-01-28T06:42:23.476Z] ---> d09cd9f8b7bd [2021-01-28T06:42:23.476Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T06:42:23.747Z] ---> Running in 00090a70f72d [2021-01-28T06:42:23.747Z] Removing intermediate container 00090a70f72d [2021-01-28T06:42:23.747Z] ---> 595b022f383e [2021-01-28T06:42:23.747Z] Step 14/24 : WORKDIR / [2021-01-28T06:42:23.747Z] ---> Running in 572b828a3eef [2021-01-28T06:42:24.009Z] Removing intermediate container 572b828a3eef [2021-01-28T06:42:24.009Z] ---> 9a371368fdba [2021-01-28T06:42:24.009Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T06:42:24.583Z] ---> 18a521785c70 [2021-01-28T06:42:24.583Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T06:42:24.583Z] ---> ee9df65ca615 [2021-01-28T06:42:24.583Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T06:42:24.848Z] ---> 2695ca01cf3b [2021-01-28T06:42:24.848Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T06:42:25.111Z] ---> 06daa510c307 [2021-01-28T06:42:25.111Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T06:42:25.375Z] ---> 08b421384bcb [2021-01-28T06:42:25.375Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T06:42:25.375Z] ---> Running in 0082c5f77aff [2021-01-28T06:42:25.638Z] Removing intermediate container 0082c5f77aff [2021-01-28T06:42:25.638Z] ---> 9b429fe1dbe9 [2021-01-28T06:42:25.638Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T06:42:25.638Z] ---> Running in c32d83625dd3 [2021-01-28T06:42:25.900Z] Removing intermediate container c32d83625dd3 [2021-01-28T06:42:25.900Z] ---> 8f81c478be81 [2021-01-28T06:42:25.900Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T06:42:25.900Z] ---> Running in d2926aef0420 [2021-01-28T06:42:25.900Z] Removing intermediate container d2926aef0420 [2021-01-28T06:42:25.900Z] ---> b8eb2cf1da64 [2021-01-28T06:42:25.900Z] Step 23/24 : LABEL git_sha=0193f5eabba245e8bfdb43525716dd55d9eed079 [2021-01-28T06:42:26.162Z] ---> Running in d05323e06fc0 [2021-01-28T06:42:26.162Z] Removing intermediate container d05323e06fc0 [2021-01-28T06:42:26.162Z] ---> 8a7336cf2af4 [2021-01-28T06:42:26.162Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T06:42:26.424Z] ---> Running in 37b75ecdb6d4 [2021-01-28T06:42:26.424Z] Removing intermediate container 37b75ecdb6d4 [2021-01-28T06:42:26.424Z] ---> 38d26971bf25 [2021-01-28T06:42:26.424Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T06:42:26.424Z] Successfully built 38d26971bf25 [2021-01-28T06:42:26.424Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T06:42:45.309Z] gofmt -l . [2021-01-28T06:42:45.309Z] [ "`gofmt -l .`" = "" ] [2021-01-28T06:42:45.309Z] ./bin/test-attribution-txt.sh [2021-01-28T06:42:45.309Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T06:42:45.327Z] $ docker stop --time=1 cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 [2021-01-28T06:42:47.674Z] $ docker rm -f cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T06:42:48.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T06:42:48.962Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T06:42:49.971Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T06:42:50.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T06:42:51.057Z] + ls -al . [2021-01-28T06:42:51.057Z] total 252 [2021-01-28T06:42:51.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 06:42 . [2021-01-28T06:42:51.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 .. [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 06:39 .dockerignore [2021-01-28T06:42:51.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 06:39 .git [2021-01-28T06:42:51.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 06:39 .github [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 06:39 .gitignore [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 06:39 Dockerfile.build [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 06:39 Jenkinsfile [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 06:39 LICENSE [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 06:39 Makefile [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 06:39 README.md [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 06:39 RELEASE-NOTES.txt [2021-01-28T06:42:51.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 06:37 VERSION [2021-01-28T06:42:51.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 06:39 bin [2021-01-28T06:42:51.058Z] -rw-r--r-- 1 jenkins jenkins 137332 Jan 28 06:42 coverage.out [2021-01-28T06:42:51.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 example [2021-01-28T06:42:51.058Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 06:42 go.mod [2021-01-28T06:42:51.058Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 06:42 go.sum [2021-01-28T06:42:51.058Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 06:39 internal [2021-01-28T06:42:51.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 openapi [2021-01-28T06:42:51.058Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 06:39 pkg [2021-01-28T06:42:51.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 snap [2021-01-28T06:42:51.058Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 06:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:42:51.397Z] + 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=0193f5eabba245e8bfdb43525716dd55d9eed079 --label arch=arm64 --label version=0.0.0 . [2021-01-28T06:42:51.995Z] Sending build context to Docker daemon 2.711MB [2021-01-28T06:42:51.995Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T06:42:51.995Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T06:42:51.995Z] ---> cddc78b2dae2 [2021-01-28T06:42:51.995Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T06:42:52.267Z] ---> Running in e6efe38bb81c [2021-01-28T06:42:52.860Z] Removing intermediate container e6efe38bb81c [2021-01-28T06:42:52.860Z] ---> 6dc19c2f786d [2021-01-28T06:42:52.860Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T06:42:52.860Z] ---> Running in 5f8d96e947d4 [2021-01-28T06:42:53.454Z] Removing intermediate container 5f8d96e947d4 [2021-01-28T06:42:53.454Z] ---> a1af9f83df20 [2021-01-28T06:42:53.454Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:42:53.454Z] ---> Running in d94329201309 [2021-01-28T06:42:54.048Z] Removing intermediate container d94329201309 [2021-01-28T06:42:54.048Z] ---> ff31e25f3a21 [2021-01-28T06:42:54.048Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T06:42:54.048Z] ---> Running in ba94b337371c [2021-01-28T06:42:56.031Z] Removing intermediate container ba94b337371c [2021-01-28T06:42:56.031Z] ---> 753682f5a18c [2021-01-28T06:42:56.031Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T06:42:56.303Z] ---> Running in d2b2e27a8cc2 [2021-01-28T06:42:57.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T06:42:57.874Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T06:42:58.852Z] OK: 142 MiB in 39 packages [2021-01-28T06:42:59.860Z] Removing intermediate container d2b2e27a8cc2 [2021-01-28T06:42:59.860Z] ---> f36d3d3b085c [2021-01-28T06:42:59.860Z] Step 8/24 : COPY . . [2021-01-28T06:43:01.290Z] ---> ce23ebb452c0 [2021-01-28T06:43:01.290Z] Step 9/24 : RUN ${MAKE} [2021-01-28T06:43:01.563Z] ---> Running in f80880718761 [2021-01-28T06:43:02.545Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T06:43:29.362Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T06:43:29.955Z] Removing intermediate container f80880718761 [2021-01-28T06:43:29.955Z] ---> a3cbe0535fe2 [2021-01-28T06:43:29.955Z] Step 10/24 : FROM scratch [2021-01-28T06:43:29.955Z] ---> [2021-01-28T06:43:29.956Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T06:43:30.227Z] ---> Running in 153a9ff4fc8e [2021-01-28T06:43:30.499Z] Removing intermediate container 153a9ff4fc8e [2021-01-28T06:43:30.499Z] ---> 883f5dac12cb [2021-01-28T06:43:30.499Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T06:43:30.771Z] ---> Running in 61cf12fdc11e [2021-01-28T06:43:31.048Z] Removing intermediate container 61cf12fdc11e [2021-01-28T06:43:31.048Z] ---> 237e14d7907b [2021-01-28T06:43:31.048Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T06:43:31.048Z] ---> Running in 63a32616b362 [2021-01-28T06:43:31.645Z] Removing intermediate container 63a32616b362 [2021-01-28T06:43:31.645Z] ---> 03d3832d6a3c [2021-01-28T06:43:31.645Z] Step 14/24 : WORKDIR / [2021-01-28T06:43:31.645Z] ---> Running in fc7e941febe7 [2021-01-28T06:43:32.240Z] Removing intermediate container fc7e941febe7 [2021-01-28T06:43:32.240Z] ---> c8ee9e775afb [2021-01-28T06:43:32.240Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T06:43:33.216Z] ---> 4a801c0dbfa1 [2021-01-28T06:43:33.216Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T06:43:33.821Z] ---> b7c6faecfb50 [2021-01-28T06:43:33.821Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T06:43:34.794Z] ---> 8841a1d7393c [2021-01-28T06:43:34.794Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T06:43:35.389Z] ---> 80332d171727 [2021-01-28T06:43:35.389Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T06:43:35.983Z] ---> 49eba6625d1f [2021-01-28T06:43:35.983Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T06:43:36.257Z] ---> Running in bc4b8c0feb2e [2021-01-28T06:43:36.531Z] Removing intermediate container bc4b8c0feb2e [2021-01-28T06:43:36.531Z] ---> ac5b8ad3b39c [2021-01-28T06:43:36.531Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T06:43:36.803Z] ---> Running in 43a37b11324a [2021-01-28T06:43:37.397Z] Removing intermediate container 43a37b11324a [2021-01-28T06:43:37.397Z] ---> 597e194b1a78 [2021-01-28T06:43:37.397Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T06:43:37.397Z] ---> Running in e5b60b0b860b [2021-01-28T06:43:37.670Z] Removing intermediate container e5b60b0b860b [2021-01-28T06:43:37.671Z] ---> 057ca05bbdac [2021-01-28T06:43:37.671Z] Step 23/24 : LABEL git_sha=0193f5eabba245e8bfdb43525716dd55d9eed079 [2021-01-28T06:43:37.944Z] ---> Running in 2e36c1c9d7f0 [2021-01-28T06:43:38.219Z] Removing intermediate container 2e36c1c9d7f0 [2021-01-28T06:43:38.219Z] ---> af74ee8c89cb [2021-01-28T06:43:38.219Z] Step 24/24 : LABEL version=0.0.0 [2021-01-28T06:43:38.494Z] ---> Running in ce82ba3cbbfb [2021-01-28T06:43:39.087Z] Removing intermediate container ce82ba3cbbfb [2021-01-28T06:43:39.087Z] ---> 943e949a512b [2021-01-28T06:43:39.087Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T06:43:39.087Z] Successfully built 943e949a512b [2021-01-28T06:43:39.087Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-28T06:43:40.819Z] provisioning config files... [2021-01-28T06:43:40.831Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config4522550683347307516tmp [Pipeline] { [Pipeline] sh [2021-01-28T06:43:41.221Z] + set +x [2021-01-28T06:43:41.222Z] + curl -s https://codecov.io/bash [2021-01-28T06:43:41.222Z] + bash -s -- [2021-01-28T06:43:41.485Z] [2021-01-28T06:43:41.485Z] _____ _ [2021-01-28T06:43:41.485Z] / ____| | | [2021-01-28T06:43:41.485Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T06:43:41.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T06:43:41.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T06:43:41.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T06:43:41.485Z] Bash-20210128-d4071a2 [2021-01-28T06:43:41.485Z] [2021-01-28T06:43:41.485Z] [2021-01-28T06:43:41.485Z] ==> git version 2.24.3 found [2021-01-28T06:43:41.485Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-28T06:43:41.485Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T06:43:41.485Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T06:43:41.485Z] ==> Jenkins CI detected. [2021-01-28T06:43:41.485Z] project root: . [2021-01-28T06:43:41.485Z] --> token set from env [2021-01-28T06:43:41.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T06:43:41.485Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T06:43:41.485Z] ==> Python coveragepy not found [2021-01-28T06:43:41.485Z] ==> Searching for coverage reports in: [2021-01-28T06:43:41.485Z] + . [2021-01-28T06:43:41.485Z] -> Found 1 reports [2021-01-28T06:43:41.485Z] ==> Detecting git/mercurial file structure [2021-01-28T06:43:41.485Z] ==> Reading reports [2021-01-28T06:43:41.485Z] + ./coverage.out bytes=137332 [2021-01-28T06:43:41.485Z] ==> Appending adjustments [2021-01-28T06:43:41.485Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T06:43:42.065Z] + Found adjustments [2021-01-28T06:43:42.065Z] ==> Gzipping contents [2021-01-28T06:43:42.065Z] 24K /tmp/codecov.Ps45sO.gz [2021-01-28T06:43:42.065Z] ==> Uploading reports [2021-01-28T06:43:42.065Z] url: https://codecov.io [2021-01-28T06:43:42.065Z] query: branch=PR-763&commit=0193f5eabba245e8bfdb43525716dd55d9eed079&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-28T06:43:42.065Z] -> Pinging Codecov [2021-01-28T06:43:42.065Z] https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-763&commit=0193f5eabba245e8bfdb43525716dd55d9eed079&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-28T06:43:43.017Z] -> Uploading to [2021-01-28T06:43:43.017Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/0193f5eabba245e8bfdb43525716dd55d9eed079/baeda95e-8624-4f8d-bab9-10c13c2368b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T064342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b650e2fa50511a51b4ef414766ada8eb010917a881d654edfde79d628cae47d2 [2021-01-28T06:43:43.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T06:43:43.017Z] Dload Upload Total Spent Left Speed [2021-01-28T06:43:43.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21633 0 0 100 21633 0 52766 --:--:-- --:--:-- --:--:-- 52892 [2021-01-28T06:43:43.281Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] } [2021-01-28T06:43:43.292Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:43:46.156Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:43:46.470Z] ---> package-listing.sh [2021-01-28T06:43:46.470Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T06:43:46.470Z] ++ facter osfamily [2021-01-28T06:43:46.470Z] + OS_FAMILY=redhat [2021-01-28T06:43:46.470Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-28T06:43:46.470Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T06:43:46.470Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T06:43:46.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T06:43:46.470Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T06:43:46.470Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-28T06:43:46.470Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T06:43:46.470Z] + case "${OS_FAMILY}" in [2021-01-28T06:43:46.470Z] + rpm -qa [2021-01-28T06:43:46.470Z] + sort [2021-01-28T06:43:53.075Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T06:43:53.075Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T06:43:53.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T06:43:53.075Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-28T06:43:53.075Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [2021-01-28T06:43:53.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo [2021-01-28T06:43:53.090Z] 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-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T06:43:53.381Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:43:53.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T06:43:53.690Z] [2021-01-28T06:43:53.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T06:43:54.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T06:43:54.043Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T06:43:54.043Z] df20fa9351a1: Pulling fs layer [2021-01-28T06:43:54.043Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T06:43:54.043Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T06:43:54.043Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T06:43:54.043Z] 93b61091891f: Pulling fs layer [2021-01-28T06:43:54.043Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T06:43:54.043Z] 5e14af77c1be: Pulling fs layer [2021-01-28T06:43:54.043Z] 01666e4c0597: Pulling fs layer [2021-01-28T06:43:54.043Z] aa168da1d23b: Pulling fs layer [2021-01-28T06:43:54.043Z] 93b9cdb0e59b: Waiting [2021-01-28T06:43:54.043Z] 5e14af77c1be: Waiting [2021-01-28T06:43:54.043Z] 46f8f816bc3b: Waiting [2021-01-28T06:43:54.043Z] 01666e4c0597: Waiting [2021-01-28T06:43:54.043Z] 93b61091891f: Waiting [2021-01-28T06:43:54.043Z] aa168da1d23b: Waiting [2021-01-28T06:43:54.043Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T06:43:54.043Z] 36b3adc4ff6f: Download complete [2021-01-28T06:43:54.305Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T06:43:54.305Z] 46f8f816bc3b: Download complete [2021-01-28T06:43:54.305Z] df20fa9351a1: Verifying Checksum [2021-01-28T06:43:54.306Z] df20fa9351a1: Download complete [2021-01-28T06:43:54.306Z] 93b9cdb0e59b: Verifying Checksum [2021-01-28T06:43:54.306Z] 93b9cdb0e59b: Download complete [2021-01-28T06:43:54.306Z] 93b61091891f: Download complete [2021-01-28T06:43:54.306Z] 5e14af77c1be: Verifying Checksum [2021-01-28T06:43:54.306Z] 5e14af77c1be: Download complete [2021-01-28T06:43:54.306Z] 01666e4c0597: Verifying Checksum [2021-01-28T06:43:54.306Z] 01666e4c0597: Download complete [2021-01-28T06:43:54.880Z] df20fa9351a1: Pull complete [2021-01-28T06:43:54.880Z] 36b3adc4ff6f: Pull complete [2021-01-28T06:43:55.146Z] 8ad3a11d3b57: Download complete [2021-01-28T06:43:56.105Z] 8ad3a11d3b57: Pull complete [2021-01-28T06:43:56.105Z] 46f8f816bc3b: Pull complete [2021-01-28T06:43:56.686Z] aa168da1d23b: Verifying Checksum [2021-01-28T06:43:56.686Z] aa168da1d23b: Download complete [2021-01-28T06:43:57.273Z] 93b61091891f: Pull complete [2021-01-28T06:43:57.542Z] 93b9cdb0e59b: Pull complete [2021-01-28T06:43:57.809Z] 5e14af77c1be: Pull complete [2021-01-28T06:43:57.809Z] 01666e4c0597: Pull complete [2021-01-28T06:44:05.991Z] aa168da1d23b: Pull complete [2021-01-28T06:44:05.991Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T06:44:05.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T06:44:05.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T06:44:06.144Z] prd-centos7-docker-4c-2g-23706 does not seem to be running inside a container [2021-01-28T06:44:06.192Z] $ 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-763/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-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T06:44:09.807Z] $ docker top b720444340f4267024a795f749a43d7ef690a8f4e8c892d253ad4668b6f62467 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T06:44:10.357Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T06:44:10.660Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T06:44:10.965Z] + ls /var/log/sa-host [2021-01-28T06:44:10.965Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T06:44:10.965Z] file_magic: OK [2021-01-28T06:44:10.965Z] HZ: Using current value: 100 [2021-01-28T06:44:10.965Z] file_header: OK [2021-01-28T06:44:10.965Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T06:44:10.965Z] Statistics: [2021-01-28T06:44:10.965Z] Hnuu...uuuununununu... [2021-01-28T06:44:10.965Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T06:44:10.965Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T06:44:10.965Z] file_magic: OK [2021-01-28T06:44:10.965Z] HZ: Using current value: 100 [2021-01-28T06:44:10.965Z] file_header: OK [2021-01-28T06:44:10.965Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-28T06:44:10.965Z] Statistics: [2021-01-28T06:44:10.965Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T06:44:10.965Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T06:44:11.558Z] provisioning config files... [2021-01-28T06:44:11.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3563977620731769860tmp [Pipeline] { [Pipeline] echo [2021-01-28T06:44:11.647Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:44:11.948Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T06:44:11.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T06:44:12.061Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:44:12.364Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T06:44:12.375Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:44:12.673Z] ---> sudo-logs.sh [2021-01-28T06:44:12.673Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T06:44:12.684Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:44:12.980Z] ---> job-cost.sh [2021-01-28T06:44:12.980Z] lf-activate-venv: SKIPPING [2021-01-28T06:44:12.981Z] INFO: No Stack... [2021-01-28T06:44:13.927Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T06:44:14.503Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T06:44:14.517Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T06:44:14.816Z] ---> logs-deploy.sh [2021-01-28T06:44:14.816Z] lf-activate-venv: SKIPPING [2021-01-28T06:44:14.816Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/5 [2021-01-28T06:44:14.816Z] INFO: archiving workspace using pattern(s): [2021-01-28T06:44:16.736Z] Archives upload complete. [2021-01-28T06:44:16.736Z] INFO: archiving logs to Nexus