Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+84ea4a05cef1466ee67975698004463005cbf340 (db535eaf6e7da9f423b8bdb5b4ef81ad01247ffc) 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24078 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 902eccdb55cba88029b2eb6ae85bb2d22ca19633 Checking out Revision 902eccdb55cba88029b2eb6ae85bb2d22ca19633 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eccdb55cba88029b2eb6ae85bb2d22ca19633 # timeout=10 Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-30T02:42:51.068Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-30T02:42:51.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-30T02:42:51.419Z] ========================================================= [2021-01-30T02:42:51.419Z] EdgeX Global Pipelines Version Info [2021-01-30T02:42:51.419Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 [2021-01-30T02:42:52.911Z] ------------------- [2021-01-30T02:42:52.911Z] stable info: [2021-01-30T02:42:52.911Z] ------------------- [2021-01-30T02:42:52.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:42:52.911Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:42:52.911Z] Message: update stable to v1.0.179 [2021-01-30T02:42:53.865Z] ------------------- [2021-01-30T02:42:53.865Z] experimental info: [2021-01-30T02:42:53.865Z] ------------------- [2021-01-30T02:42:53.865Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-30T02:42:53.865Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-30T02:42:53.865Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-30T02:42:54.234Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-30T02:42:54.327Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-30T02:42:54.420Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-30T02:42:54.512Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-30T02:42:54.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-30T02:42:54.703Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-30T02:42:54.789Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-30T02:42:54.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-30T02:42:54.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-30T02:42:55.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-30T02:42:55.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-30T02:42:55.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-30T02:42:55.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-30T02:42:55.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-30T02:42:55.525Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-30T02:42:55.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:55.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:55.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-30T02:42:55.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-30T02:42:55.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-30T02:42:56.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-30T02:42:56.183Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-30T02:42:56.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-30T02:42:56.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-30T02:42:56.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-30T02:42:56.572Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-30T02:42:56.661Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-30T02:42:56.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-30T02:42:56.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-30T02:42:56.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-30T02:42:57.008Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] echo [2021-01-30T02:42:57.094Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902eccd [Pipeline] echo [2021-01-30T02:42:57.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:42:57.345Z] provisioning config files... [2021-01-30T02:42:57.374Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1531916447239358005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:42:57.737Z] ---> docker-login.sh [2021-01-30T02:42:57.738Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:42:58.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:58.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:58.262Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:58.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:58.262Z] [2021-01-30T02:42:58.262Z] Login Succeeded [2021-01-30T02:42:58.262Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:42:58.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:58.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:58.527Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:58.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:58.527Z] [2021-01-30T02:42:58.527Z] Login Succeeded [2021-01-30T02:42:58.527Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:42:58.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:58.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:58.527Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:58.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:58.527Z] [2021-01-30T02:42:58.527Z] Login Succeeded [2021-01-30T02:42:58.527Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:42:58.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:58.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:58.789Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:58.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:58.789Z] [2021-01-30T02:42:58.789Z] Login Succeeded [2021-01-30T02:42:58.789Z] docker.io [2021-01-30T02:42:58.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:42:59.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:42:59.055Z] Configure a credential helper to remove this warning. See [2021-01-30T02:42:59.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:42:59.055Z] [2021-01-30T02:42:59.055Z] Login Succeeded [2021-01-30T02:42:59.055Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:42:59.064Z] 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-30T02:42:59.868Z] + git log --format=format:%s -1 902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] echo [2021-01-30T02:42:59.945Z] GIT_COMMIT: 902eccdb55cba88029b2eb6ae85bb2d22ca19633, Commit Message: Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD [Pipeline] echo [2021-01-30T02:42:59.990Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:43:00.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:00.576Z] [2021-01-30T02:43:00.576Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:43:00.934Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:01.205Z] latest: Pulling from edgex-devops/git-semver [2021-01-30T02:43:01.205Z] 31603596830f: Pulling fs layer [2021-01-30T02:43:01.205Z] 2a8b12db71e7: Pulling fs layer [2021-01-30T02:43:01.205Z] 6ca5941a6612: Pulling fs layer [2021-01-30T02:43:01.205Z] ecc8261a40a4: Pulling fs layer [2021-01-30T02:43:01.205Z] ecc8261a40a4: Waiting [2021-01-30T02:43:01.205Z] 2a8b12db71e7: Verifying Checksum [2021-01-30T02:43:01.205Z] 2a8b12db71e7: Download complete [2021-01-30T02:43:01.205Z] 31603596830f: Verifying Checksum [2021-01-30T02:43:01.205Z] 31603596830f: Download complete [2021-01-30T02:43:01.475Z] ecc8261a40a4: Verifying Checksum [2021-01-30T02:43:01.475Z] ecc8261a40a4: Download complete [2021-01-30T02:43:01.475Z] 6ca5941a6612: Verifying Checksum [2021-01-30T02:43:01.475Z] 6ca5941a6612: Download complete [2021-01-30T02:43:01.737Z] 31603596830f: Pull complete [2021-01-30T02:43:01.737Z] 2a8b12db71e7: Pull complete [2021-01-30T02:43:02.685Z] 6ca5941a6612: Pull complete [2021-01-30T02:43:02.954Z] ecc8261a40a4: Pull complete [2021-01-30T02:43:02.954Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-30T02:43:02.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-30T02:43:02.954Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-30T02:43:03.184Z] prd-centos7-docker-4c-2g-24078 does not seem to be running inside a container [2021-01-30T02:43:03.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-30T02:43:05.284Z] $ docker top 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-30T02:43:05.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:43:05.576Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:43:05.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:43:05.808Z] $ docker exec 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent [2021-01-30T02:43:05.989Z] SSH_AUTH_SOCK=/tmp/ssh-38S2r0xhBQ02/agent.11 [2021-01-30T02:43:05.989Z] SSH_AGENT_PID=16 [2021-01-30T02:43:06.003Z] Running ssh-add (command line suppressed) [2021-01-30T02:43:06.130Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3222448591646264366.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3222448591646264366.key) [2021-01-30T02:43:06.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:43:06.527Z] + git tag --points-at HEAD [Pipeline] } [2021-01-30T02:43:06.550Z] $ docker exec --env ******** --env ******** 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent -k [2021-01-30T02:43:06.670Z] unset SSH_AUTH_SOCK; [2021-01-30T02:43:06.670Z] unset SSH_AGENT_PID; [2021-01-30T02:43:06.670Z] echo Agent pid 16 killed; [2021-01-30T02:43:06.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-30T02:43:06.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-30T02:43:06.892Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-30T02:43:07.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-30T02:43:07.088Z] $ docker exec 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent [2021-01-30T02:43:07.282Z] SSH_AUTH_SOCK=/tmp/ssh-FKMKjBl8n0uJ/agent.44 [2021-01-30T02:43:07.282Z] SSH_AGENT_PID=50 [2021-01-30T02:43:07.293Z] Running ssh-add (command line suppressed) [2021-01-30T02:43:07.429Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3316649223751560633.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3316649223751560633.key) [2021-01-30T02:43:07.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-30T02:43:07.843Z] + git semver init [2021-01-30T02:43:07.843Z] # -> Open(): unable to determine branch for HEAD [2021-01-30T02:43:07.843Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-30T02:43:07.843Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-30T02:43:07.843Z] # $SEMVER_REMOTE_NAME = origin [2021-01-30T02:43:07.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-30T02:43:07.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-30T02:43:07.843Z] # $SEMVER_BRANCH = PR-725 [2021-01-30T02:43:07.843Z] # $SEMVER_TEMP = /tmp/semver-478191955 [2021-01-30T02:43:07.843Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-30T02:43:08.795Z] # '/tmp/semver-478191955' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-30T02:43:08.795Z] # -> Force: false [2021-01-30T02:43:08.795Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-30T02:43:08.809Z] $ docker exec --env ******** --env ******** 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db ssh-agent -k [2021-01-30T02:43:08.940Z] unset SSH_AUTH_SOCK; [2021-01-30T02:43:08.940Z] unset SSH_AGENT_PID; [2021-01-30T02:43:08.940Z] echo Agent pid 50 killed; [2021-01-30T02:43:08.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-30T02:43:09.509Z] + git semver [Pipeline] } [2021-01-30T02:43:09.527Z] $ docker stop --time=1 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db [2021-01-30T02:43:10.875Z] $ docker rm -f 1ca4c792a25220fd808c497d99dd8ce22836bb975de3e93748bf20b7b0fcb6db [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:43:11.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-30T02:43:11.963Z] Stashed 1 file(s) [Pipeline] echo [2021-01-30T02:43:11.966Z] [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-30T02:43:27.494Z] Still waiting to schedule task [2021-01-30T02:43:27.494Z] ‘prd-centos7-docker-4c-2g-24080’ is offline [2021-01-30T02:43:27.497Z] Still waiting to schedule task [2021-01-30T02:43:27.497Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-24075’ [2021-01-30T02:43:57.103Z] Running on prd-centos7-docker-4c-2g-24081 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-30T02:43:57.157Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-01-30T02:44:00.760Z] using credential edgex-jenkins-ssh [2021-01-30T02:44:00.816Z] Cloning the remote Git repository [2021-01-30T02:44:00.745Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:44:00.813Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-01-30T02:44:00.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:44:00.872Z] > git --version # timeout=10 [2021-01-30T02:44:00.878Z] > git --version # 'git version 2.24.3' [2021-01-30T02:44:00.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:44:00.905Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:44:01.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:44:01.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:44:01.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:44:01.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:44:01.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:44:01.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:44:03.601Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-30T02:44:03.777Z] Merge succeeded, producing 87394600a8d54e636452cd548e4a43d157c72ab2 [2021-01-30T02:44:03.778Z] Checking out Revision 87394600a8d54e636452cd548e4a43d157c72ab2 (PR-725) [2021-01-30T02:44:03.614Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:44:03.620Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-30T02:44:03.676Z] > git remote # timeout=10 [2021-01-30T02:44:03.681Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:44:03.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:44:03.693Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:44:03.775Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:44:03.785Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:44:03.789Z] > git checkout -f 87394600a8d54e636452cd548e4a43d157c72ab2 # timeout=10 [2021-01-30T02:44:07.365Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:44:07.378Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:44:07.373Z] > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 [2021-01-30T02:44:08.520Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:44:08.847Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:44:09.146Z] + sudo service docker restart [2021-01-30T02:44:09.146Z] + true [2021-01-30T02:44:09.146Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:44:10.657Z] provisioning config files... [2021-01-30T02:44:10.682Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config1524011554542114383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:44:11.053Z] ---> docker-login.sh [2021-01-30T02:44:11.053Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:44:11.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:44:11.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:44:11.586Z] Configure a credential helper to remove this warning. See [2021-01-30T02:44:11.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:44:11.586Z] [2021-01-30T02:44:11.586Z] Login Succeeded [2021-01-30T02:44:11.586Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:44:11.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:44:11.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:44:11.851Z] Configure a credential helper to remove this warning. See [2021-01-30T02:44:11.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:44:11.851Z] [2021-01-30T02:44:11.851Z] Login Succeeded [2021-01-30T02:44:11.851Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:44:11.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:44:12.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:44:12.117Z] Configure a credential helper to remove this warning. See [2021-01-30T02:44:12.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:44:12.117Z] [2021-01-30T02:44:12.117Z] Login Succeeded [2021-01-30T02:44:12.117Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:44:12.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:44:12.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:44:12.117Z] Configure a credential helper to remove this warning. See [2021-01-30T02:44:12.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:44:12.117Z] [2021-01-30T02:44:12.117Z] Login Succeeded [2021-01-30T02:44:12.117Z] docker.io [2021-01-30T02:44:12.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:44:12.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:44:12.644Z] Configure a credential helper to remove this warning. See [2021-01-30T02:44:12.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:44:12.644Z] [2021-01-30T02:44:12.644Z] Login Succeeded [2021-01-30T02:44:12.644Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:44:12.656Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:44:13.088Z] ========================================================= [2021-01-30T02:44:13.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-30T02:44:13.088Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:44:13.438Z] + 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-30T02:44:13.703Z] Sending build context to Docker daemon 2.486MB [2021-01-30T02:44:13.703Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:44:13.703Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:44:13.703Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-30T02:44:13.703Z] 188c0c94c7c5: Pulling fs layer [2021-01-30T02:44:13.703Z] 0ef7d3d256c8: Pulling fs layer [2021-01-30T02:44:13.703Z] de9db76c5a1d: Pulling fs layer [2021-01-30T02:44:13.703Z] bca2f99d35d6: Pulling fs layer [2021-01-30T02:44:13.703Z] 93359f2a8cfa: Pulling fs layer [2021-01-30T02:44:13.703Z] 7c6f9722023f: Pulling fs layer [2021-01-30T02:44:13.703Z] a35cf1a2eb13: Pulling fs layer [2021-01-30T02:44:13.703Z] 93359f2a8cfa: Waiting [2021-01-30T02:44:13.703Z] bca2f99d35d6: Waiting [2021-01-30T02:44:13.703Z] 7c6f9722023f: Waiting [2021-01-30T02:44:13.703Z] a35cf1a2eb13: Waiting [2021-01-30T02:44:13.703Z] de9db76c5a1d: Verifying Checksum [2021-01-30T02:44:13.703Z] de9db76c5a1d: Download complete [2021-01-30T02:44:13.703Z] 0ef7d3d256c8: Verifying Checksum [2021-01-30T02:44:13.703Z] 0ef7d3d256c8: Download complete [2021-01-30T02:44:13.703Z] 93359f2a8cfa: Verifying Checksum [2021-01-30T02:44:13.703Z] 93359f2a8cfa: Download complete [2021-01-30T02:44:13.703Z] 188c0c94c7c5: Download complete [2021-01-30T02:44:13.703Z] 7c6f9722023f: Verifying Checksum [2021-01-30T02:44:13.703Z] 7c6f9722023f: Download complete [2021-01-30T02:44:13.973Z] 188c0c94c7c5: Pull complete [2021-01-30T02:44:14.241Z] 0ef7d3d256c8: Pull complete [2021-01-30T02:44:14.507Z] de9db76c5a1d: Pull complete [2021-01-30T02:44:15.464Z] a35cf1a2eb13: Verifying Checksum [2021-01-30T02:44:15.464Z] a35cf1a2eb13: Download complete [2021-01-30T02:44:16.420Z] bca2f99d35d6: Verifying Checksum [2021-01-30T02:44:16.420Z] bca2f99d35d6: Download complete [2021-01-30T02:44:21.785Z] bca2f99d35d6: Pull complete [2021-01-30T02:44:21.785Z] 93359f2a8cfa: Pull complete [2021-01-30T02:44:21.785Z] 7c6f9722023f: Pull complete [2021-01-30T02:44:26.037Z] a35cf1a2eb13: Pull complete [2021-01-30T02:44:26.037Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-30T02:44:26.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-30T02:44:26.037Z] ---> a62c8e92a672 [2021-01-30T02:44:26.037Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:44:26.308Z] ---> Running in 2fe787125651 [2021-01-30T02:44:26.573Z] Removing intermediate container 2fe787125651 [2021-01-30T02:44:26.573Z] ---> a1431a7a177f [2021-01-30T02:44:26.573Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:44:26.573Z] ---> Running in 8a79f058bd66 [2021-01-30T02:44:27.974Z] Removing intermediate container 8a79f058bd66 [2021-01-30T02:44:27.974Z] ---> 226fc6884b21 [2021-01-30T02:44:27.974Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:44:27.974Z] ---> Running in c8e0488c39af [2021-01-30T02:44:28.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:44:29.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:44:29.765Z] OK: 166 MiB in 39 packages [2021-01-30T02:44:30.340Z] Removing intermediate container c8e0488c39af [2021-01-30T02:44:30.340Z] ---> 30f6ee9c30ed [2021-01-30T02:44:30.340Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:44:30.340Z] ---> Running in 740fc3c8cd39 [2021-01-30T02:44:30.340Z] Removing intermediate container 740fc3c8cd39 [2021-01-30T02:44:30.340Z] ---> 6424b3dcb58b [2021-01-30T02:44:30.340Z] Step 7/8 : COPY . . [2021-01-30T02:44:31.760Z] ---> 4356c227afb6 [2021-01-30T02:44:31.760Z] Step 8/8 : RUN go mod download [2021-01-30T02:44:31.760Z] ---> Running in 0e4ea2959a81 [2021-01-30T02:44:50.027Z] Removing intermediate container 0e4ea2959a81 [2021-01-30T02:44:50.027Z] ---> 1e9afea3dac2 [2021-01-30T02:44:50.027Z] Successfully built 1e9afea3dac2 [2021-01-30T02:44:50.027Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:44:50.343Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:44:50.343Z] . [Pipeline] withDockerContainer [2021-01-30T02:44:50.464Z] prd-centos7-docker-4c-2g-24081 does not seem to be running inside a container [2021-01-30T02:44:50.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-x86_64 cat [2021-01-30T02:44:52.046Z] $ docker top 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:44:52.664Z] + go version [2021-01-30T02:44:52.664Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-30T02:44:52.685Z] $ docker stop --time=1 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 [2021-01-30T02:44:54.063Z] $ docker rm -f 9d567d36a80f6c05422593f19eaf99672575485c46796ccb2e94dcb10663cf77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:44:54.864Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-30T02:44:54.864Z] . [Pipeline] withDockerContainer [2021-01-30T02:44:54.969Z] prd-centos7-docker-4c-2g-24081 does not seem to be running inside a container [2021-01-30T02:44:55.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-x86_64 cat [2021-01-30T02:44:55.606Z] $ docker top 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:44:56.086Z] + make test [2021-01-30T02:44:56.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:45:04.311Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:45:19.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:45:19.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:45:19.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:45:19.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 19.4% of statements [2021-01-30T02:45:19.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.462s coverage: 97.1% of statements [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 9.4% of statements [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 21.7% of statements [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.226s coverage: 43.6% of statements [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.311s coverage: 68.9% of statements [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 53.8% of statements [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 25.2% of statements [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.374s coverage: 83.5% of statements [2021-01-30T02:45:52.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements [2021-01-30T02:45:52.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:45:52.218Z] GO111MODULE=on go vet ./... [2021-01-30T02:46:00.484Z] gofmt -l . [2021-01-30T02:46:00.484Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:46:00.484Z] ./bin/test-attribution-txt.sh [2021-01-30T02:46:00.484Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:46:00.507Z] $ docker stop --time=1 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 [2021-01-30T02:46:02.526Z] $ docker rm -f 1853462a3c1edca293f10c9e696575db8938d985a6f9abc8e78c528fee4c00d4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:46:03.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-30T02:46:03.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-30T02:46:04.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:46:05.117Z] + ls -al . [2021-01-30T02:46:05.117Z] total 216 [2021-01-30T02:46:05.117Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 30 02:46 . [2021-01-30T02:46:05.117Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 30 02:44 .. [2021-01-30T02:46:05.117Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 30 02:44 bin [2021-01-30T02:46:05.117Z] -rw-r--r--. 1 jenkins jenkins 137332 Jan 30 02:45 coverage.out [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 30 02:44 Dockerfile.build [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 30 02:44 .dockerignore [2021-01-30T02:46:05.117Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 30 02:44 example [2021-01-30T02:46:05.117Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 30 02:44 .git [2021-01-30T02:46:05.117Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 02:44 .github [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 30 02:44 .gitignore [2021-01-30T02:46:05.117Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 30 02:46 go.mod [2021-01-30T02:46:05.117Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 30 02:46 go.sum [2021-01-30T02:46:05.117Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 30 02:44 internal [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 30 02:44 Jenkinsfile [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 30 02:44 LICENSE [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 30 02:44 Makefile [2021-01-30T02:46:05.117Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 30 02:44 openapi [2021-01-30T02:46:05.117Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 30 02:44 pkg [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 30 02:44 README.md [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 30 02:44 RELEASE-NOTES.txt [2021-01-30T02:46:05.117Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 30 02:44 snap [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 30 02:43 VERSION [2021-01-30T02:46:05.117Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 30 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:46:05.433Z] + docker build -t 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=902eccdb55cba88029b2eb6ae85bb2d22ca19633 --label arch=amd64 --label version=0.0.0 . [2021-01-30T02:46:05.711Z] Sending build context to Docker daemon 2.625MB [2021-01-30T02:46:05.711Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:46:05.711Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:46:05.711Z] ---> 1e9afea3dac2 [2021-01-30T02:46:05.711Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:46:06.284Z] ---> Running in a4732e371b82 [2021-01-30T02:46:06.546Z] Removing intermediate container a4732e371b82 [2021-01-30T02:46:06.546Z] ---> 413aea37d6c4 [2021-01-30T02:46:06.546Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:46:06.546Z] ---> Running in 714ab0a9b81c [2021-01-30T02:46:06.808Z] Removing intermediate container 714ab0a9b81c [2021-01-30T02:46:06.808Z] ---> 01db0825cc20 [2021-01-30T02:46:06.808Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:46:06.808Z] ---> Running in 305abb3329a3 [2021-01-30T02:46:07.070Z] Removing intermediate container 305abb3329a3 [2021-01-30T02:46:07.070Z] ---> 597851018d5b [2021-01-30T02:46:07.070Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:46:07.070Z] ---> Running in aa569cfd764d [2021-01-30T02:46:08.485Z] Removing intermediate container aa569cfd764d [2021-01-30T02:46:08.485Z] ---> 9d1c05f209e1 [2021-01-30T02:46:08.485Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:46:08.485Z] ---> Running in a293b233df4a [2021-01-30T02:46:08.755Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-30T02:46:09.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-30T02:46:10.275Z] OK: 166 MiB in 39 packages [2021-01-30T02:46:10.539Z] Removing intermediate container a293b233df4a [2021-01-30T02:46:10.539Z] ---> 9291e18eab70 [2021-01-30T02:46:10.539Z] Step 8/24 : COPY . . [2021-01-30T02:46:11.933Z] ---> 1cefb17127ed [2021-01-30T02:46:11.933Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:46:11.933Z] ---> Running in 30ba7582bcda [2021-01-30T02:46:12.200Z] 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-30T02:46:20.469Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:46:23.788Z] Removing intermediate container 30ba7582bcda [2021-01-30T02:46:23.788Z] ---> c74f8abddf7e [2021-01-30T02:46:23.788Z] Step 10/24 : FROM scratch [2021-01-30T02:46:23.788Z] ---> [2021-01-30T02:46:23.788Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:46:23.788Z] ---> Running in 4bd25d778263 [2021-01-30T02:46:23.788Z] Removing intermediate container 4bd25d778263 [2021-01-30T02:46:23.788Z] ---> b12ae9f1197b [2021-01-30T02:46:23.788Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:46:24.052Z] ---> Running in 88b9a31b3c82 [2021-01-30T02:46:24.052Z] Removing intermediate container 88b9a31b3c82 [2021-01-30T02:46:24.052Z] ---> 0d4f87fd0931 [2021-01-30T02:46:24.052Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:46:24.052Z] ---> Running in dad8cc92b5ea [2021-01-30T02:46:24.314Z] Removing intermediate container dad8cc92b5ea [2021-01-30T02:46:24.314Z] ---> 6051b9e7b8a6 [2021-01-30T02:46:24.314Z] Step 14/24 : WORKDIR / [2021-01-30T02:46:24.314Z] ---> Running in 58c8d0add7ff [2021-01-30T02:46:24.577Z] Removing intermediate container 58c8d0add7ff [2021-01-30T02:46:24.577Z] ---> 273c53f69243 [2021-01-30T02:46:24.577Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:46:25.154Z] ---> 230493418867 [2021-01-30T02:46:25.154Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:46:25.154Z] ---> 4febbfd23782 [2021-01-30T02:46:25.154Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:46:25.416Z] ---> 6299e348b776 [2021-01-30T02:46:25.416Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:46:25.683Z] ---> ea59a15af157 [2021-01-30T02:46:25.683Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:46:25.952Z] ---> 196c15a997a3 [2021-01-30T02:46:25.952Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:46:25.952Z] ---> Running in 60521702ad9f [2021-01-30T02:46:26.215Z] Removing intermediate container 60521702ad9f [2021-01-30T02:46:26.215Z] ---> 25c516fe29aa [2021-01-30T02:46:26.215Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:46:26.215Z] ---> Running in c0cd22846dfc [2021-01-30T02:46:26.477Z] Removing intermediate container c0cd22846dfc [2021-01-30T02:46:26.477Z] ---> 1a7a1352e0b0 [2021-01-30T02:46:26.477Z] Step 22/24 : LABEL arch=amd64 [2021-01-30T02:46:26.477Z] ---> Running in a4d7309d96af [2021-01-30T02:46:26.742Z] Removing intermediate container a4d7309d96af [2021-01-30T02:46:26.742Z] ---> 9f562886f479 [2021-01-30T02:46:26.742Z] Step 23/24 : LABEL git_sha=902eccdb55cba88029b2eb6ae85bb2d22ca19633 [2021-01-30T02:46:26.742Z] ---> Running in 1667332e00e5 [2021-01-30T02:46:27.004Z] Removing intermediate container 1667332e00e5 [2021-01-30T02:46:27.004Z] ---> c0db2dcd2810 [2021-01-30T02:46:27.004Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:46:27.004Z] ---> Running in e56000736fe4 [2021-01-30T02:46:27.004Z] Removing intermediate container e56000736fe4 [2021-01-30T02:46:27.004Z] ---> 916c4421318d [2021-01-30T02:46:27.004Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:46:27.267Z] Successfully built 916c4421318d [2021-01-30T02:46:27.267Z] Successfully tagged 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-30T02:46:40.990Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24083 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-30T02:46:41.099Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-01-30T02:46:46.756Z] using credential edgex-jenkins-ssh [2021-01-30T02:46:46.814Z] Cloning the remote Git repository [2021-01-30T02:46:46.867Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:46:46.992Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2021-01-30T02:46:47.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:46:47.092Z] > git --version # timeout=10 [2021-01-30T02:46:47.115Z] > git --version # 'git version 2.17.1' [2021-01-30T02:46:47.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:46:47.193Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:46:48.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:46:48.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-30T02:46:48.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-30T02:46:48.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-30T02:46:48.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:46:48.539Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-30T02:46:49.123Z] Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-30T02:46:49.569Z] Merge succeeded, producing cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 [2021-01-30T02:46:49.570Z] Checking out Revision cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 (PR-725) [2021-01-30T02:46:49.139Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:46:49.169Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-30T02:46:49.302Z] > git remote # timeout=10 [2021-01-30T02:46:49.323Z] > git config --get remote.origin.url # timeout=10 [2021-01-30T02:46:49.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-30T02:46:49.364Z] > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 [2021-01-30T02:46:49.538Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-30T02:46:49.563Z] > git config core.sparsecheckout # timeout=10 [2021-01-30T02:46:49.591Z] > git checkout -f cde4e4ab2ab14eb9fd5d6108ee70aad229c2e409 # timeout=10 [2021-01-30T02:46:54.371Z] Commit message: "Merge commit '84ea4a05cef1466ee67975698004463005cbf340' into HEAD" [2021-01-30T02:46:54.399Z] First time build. Skipping changelog. [2021-01-30T02:46:54.371Z] > git rev-list --no-walk e30a7378f0ab6bb06199e456d0048cf1f5d3005d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:46:55.980Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:46:56.448Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-30T02:46:56.792Z] + sudo service docker restart [2021-01-30T02:46:56.792Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-30T02:46:59.530Z] provisioning config files... [2021-01-30T02:46:59.596Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config2799875589850818374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:47:00.015Z] ---> docker-login.sh [2021-01-30T02:47:00.015Z] nexus3.edgexfoundry.org:10001 [2021-01-30T02:47:00.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:01.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:01.213Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:01.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:01.213Z] [2021-01-30T02:47:01.213Z] Login Succeeded [2021-01-30T02:47:01.213Z] nexus3.edgexfoundry.org:10002 [2021-01-30T02:47:01.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:01.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:01.763Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:01.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:01.763Z] [2021-01-30T02:47:01.763Z] Login Succeeded [2021-01-30T02:47:01.763Z] nexus3.edgexfoundry.org:10003 [2021-01-30T02:47:02.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:02.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:02.321Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:02.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:02.321Z] [2021-01-30T02:47:02.321Z] Login Succeeded [2021-01-30T02:47:02.321Z] nexus3.edgexfoundry.org:10004 [2021-01-30T02:47:02.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:02.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:02.871Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:02.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:02.871Z] [2021-01-30T02:47:02.871Z] Login Succeeded [2021-01-30T02:47:02.871Z] docker.io [2021-01-30T02:47:03.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-30T02:47:03.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-30T02:47:03.414Z] Configure a credential helper to remove this warning. See [2021-01-30T02:47:03.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-30T02:47:03.414Z] [2021-01-30T02:47:03.414Z] Login Succeeded [2021-01-30T02:47:03.414Z] ---> docker-login.sh ends [Pipeline] } [2021-01-30T02:47:03.431Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-30T02:47:03.857Z] ========================================================= [2021-01-30T02:47:03.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-30T02:47:03.857Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:47:04.231Z] + 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-30T02:47:04.505Z] Sending build context to Docker daemon 2.492MB [2021-01-30T02:47:04.782Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:47:04.782Z] Step 2/8 : FROM ${BASE} [2021-01-30T02:47:04.782Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-30T02:47:04.782Z] 5f621e34cdf4: Pulling fs layer [2021-01-30T02:47:04.782Z] a4357932f1b6: Pulling fs layer [2021-01-30T02:47:04.782Z] 18c013af1878: Pulling fs layer [2021-01-30T02:47:04.782Z] 00ac8860ef70: Pulling fs layer [2021-01-30T02:47:04.782Z] 63d7cb157983: Pulling fs layer [2021-01-30T02:47:04.782Z] b116817d02f9: Pulling fs layer [2021-01-30T02:47:04.782Z] 745a02a5169b: Pulling fs layer [2021-01-30T02:47:04.782Z] 63d7cb157983: Waiting [2021-01-30T02:47:04.782Z] b116817d02f9: Waiting [2021-01-30T02:47:04.782Z] 745a02a5169b: Waiting [2021-01-30T02:47:04.782Z] 00ac8860ef70: Waiting [2021-01-30T02:47:04.782Z] 18c013af1878: Verifying Checksum [2021-01-30T02:47:04.782Z] 18c013af1878: Download complete [2021-01-30T02:47:04.782Z] a4357932f1b6: Verifying Checksum [2021-01-30T02:47:04.782Z] a4357932f1b6: Download complete [2021-01-30T02:47:04.782Z] 63d7cb157983: Verifying Checksum [2021-01-30T02:47:04.782Z] 63d7cb157983: Download complete [2021-01-30T02:47:05.062Z] b116817d02f9: Verifying Checksum [2021-01-30T02:47:05.062Z] b116817d02f9: Download complete [2021-01-30T02:47:05.062Z] 5f621e34cdf4: Verifying Checksum [2021-01-30T02:47:05.062Z] 5f621e34cdf4: Download complete [2021-01-30T02:47:05.667Z] 5f621e34cdf4: Pull complete [2021-01-30T02:47:06.273Z] a4357932f1b6: Pull complete [2021-01-30T02:47:06.548Z] 18c013af1878: Pull complete [2021-01-30T02:47:07.145Z] 745a02a5169b: Verifying Checksum [2021-01-30T02:47:07.145Z] 745a02a5169b: Download complete [2021-01-30T02:47:08.587Z] 00ac8860ef70: Verifying Checksum [2021-01-30T02:47:08.587Z] 00ac8860ef70: Download complete [2021-01-30T02:47:18.793Z] 00ac8860ef70: Pull complete [2021-01-30T02:47:18.793Z] 63d7cb157983: Pull complete [2021-01-30T02:47:18.793Z] b116817d02f9: Pull complete [2021-01-30T02:47:22.175Z] 745a02a5169b: Pull complete [2021-01-30T02:47:22.175Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-30T02:47:22.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-30T02:47:22.175Z] ---> b7e6874047d6 [2021-01-30T02:47:22.175Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:47:25.573Z] ---> Running in ab729da33b4d [2021-01-30T02:47:25.845Z] Removing intermediate container ab729da33b4d [2021-01-30T02:47:25.845Z] ---> 9aebc7150a26 [2021-01-30T02:47:25.845Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:47:26.119Z] ---> Running in f69ce16958bd [2021-01-30T02:47:28.762Z] Removing intermediate container f69ce16958bd [2021-01-30T02:47:28.762Z] ---> 5d1f83844748 [2021-01-30T02:47:28.762Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-30T02:47:28.762Z] ---> Running in f7388368713b [2021-01-30T02:47:29.752Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:47:30.393Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:47:31.392Z] OK: 142 MiB in 39 packages [2021-01-30T02:47:32.830Z] Removing intermediate container f7388368713b [2021-01-30T02:47:32.831Z] ---> 813fa4bf025f [2021-01-30T02:47:32.831Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-30T02:47:32.831Z] ---> Running in fc96ecb62d88 [2021-01-30T02:47:33.425Z] Removing intermediate container fc96ecb62d88 [2021-01-30T02:47:33.426Z] ---> 3fc3252126f1 [2021-01-30T02:47:33.426Z] Step 7/8 : COPY . . [2021-01-30T02:47:34.872Z] ---> cbdc0107f388 [2021-01-30T02:47:34.872Z] Step 8/8 : RUN go mod download [2021-01-30T02:47:34.872Z] ---> Running in ff7db765e871 [2021-01-30T02:48:01.729Z] Removing intermediate container ff7db765e871 [2021-01-30T02:48:01.729Z] ---> 5db3e0109952 [2021-01-30T02:48:01.729Z] Successfully built 5db3e0109952 [2021-01-30T02:48:01.729Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:48:02.087Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:48:02.087Z] . [Pipeline] withDockerContainer [2021-01-30T02:48:02.391Z] prd-ubuntu18.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container [2021-01-30T02:48:02.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-30T02:48:04.200Z] $ docker top 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:48:05.290Z] + go version [2021-01-30T02:48:05.290Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-30T02:48:05.324Z] $ docker stop --time=1 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 [2021-01-30T02:48:07.462Z] $ docker rm -f 4dd6138a9b373ead07427a7fc716d560dd7cd9921dfd7630b7c2631a9339f063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:48:08.454Z] + docker inspect -f . ci-base-image-arm64 [2021-01-30T02:48:08.455Z] . [Pipeline] withDockerContainer [2021-01-30T02:48:08.732Z] prd-ubuntu18.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container [2021-01-30T02:48:08.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-30T02:48:10.522Z] $ docker top 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:48:11.512Z] + make test [2021-01-30T02:48:11.512Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-30T02:48:33.673Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-30T02:49:20.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-30T02:49:20.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-30T02:49:20.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-30T02:49:20.758Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 19.4% of statements [2021-01-30T02:49:27.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.350s coverage: 97.1% of statements [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.152s coverage: 9.4% of statements [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.155s coverage: 21.7% of statements [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.640s coverage: 43.6% of statements [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.802s coverage: 68.9% of statements [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 53.8% of statements [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.205s coverage: 25.2% of statements [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.428s coverage: 83.5% of statements [2021-01-30T02:49:54.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 4.2% of statements [2021-01-30T02:49:54.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-30T02:49:54.461Z] GO111MODULE=on go vet ./... [2021-01-30T02:50:33.542Z] gofmt -l . [2021-01-30T02:50:33.543Z] [ "`gofmt -l .`" = "" ] [2021-01-30T02:50:33.543Z] ./bin/test-attribution-txt.sh [2021-01-30T02:50:33.543Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-30T02:50:33.570Z] $ docker stop --time=1 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 [2021-01-30T02:50:35.856Z] $ docker rm -f 0bd5d8400aaef21a90af9c544011dc6b5c4ee7c0215e7ea68d8aacb98a59f439 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-30T02:50:37.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-30T02:50:37.068Z] Warning: overwriting stash ‘coverage-report’ [2021-01-30T02:50:37.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-30T02:50:38.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-30T02:50:38.992Z] + ls -al . [2021-01-30T02:50:38.992Z] total 252 [2021-01-30T02:50:38.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 02:50 . [2021-01-30T02:50:38.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 .. [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 02:46 .dockerignore [2021-01-30T02:50:38.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 02:46 .git [2021-01-30T02:50:38.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:46 .github [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 30 02:46 .gitignore [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 30 02:46 Dockerfile.build [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 30 02:46 Jenkinsfile [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 02:46 LICENSE [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 30 02:46 Makefile [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 30 02:46 README.md [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 30 02:46 RELEASE-NOTES.txt [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 02:43 VERSION [2021-01-30T02:50:38.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 02:46 bin [2021-01-30T02:50:38.992Z] -rw-r--r-- 1 jenkins jenkins 137332 Jan 30 02:49 coverage.out [2021-01-30T02:50:38.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 example [2021-01-30T02:50:38.992Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 30 02:50 go.mod [2021-01-30T02:50:38.992Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 30 02:50 go.sum [2021-01-30T02:50:38.992Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 30 02:46 internal [2021-01-30T02:50:38.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 openapi [2021-01-30T02:50:38.992Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 02:46 pkg [2021-01-30T02:50:38.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 02:46 snap [2021-01-30T02:50:38.992Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:50:39.337Z] + docker build -t 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=902eccdb55cba88029b2eb6ae85bb2d22ca19633 --label arch=arm64 --label version=0.0.0 . [2021-01-30T02:50:39.937Z] Sending build context to Docker daemon 2.631MB [2021-01-30T02:50:39.938Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-30T02:50:39.938Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-30T02:50:39.938Z] ---> 5db3e0109952 [2021-01-30T02:50:39.938Z] Step 3/24 : ARG MAKE='make build' [2021-01-30T02:50:40.211Z] ---> Running in 60a91be8424b [2021-01-30T02:50:40.485Z] Removing intermediate container 60a91be8424b [2021-01-30T02:50:40.485Z] ---> 00447c40ae5a [2021-01-30T02:50:40.485Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-30T02:50:40.758Z] ---> Running in 64c1ef833ee5 [2021-01-30T02:50:41.038Z] Removing intermediate container 64c1ef833ee5 [2021-01-30T02:50:41.038Z] ---> e730dab7764f [2021-01-30T02:50:41.038Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:50:41.312Z] ---> Running in 20edad2a05c9 [2021-01-30T02:50:41.589Z] Removing intermediate container 20edad2a05c9 [2021-01-30T02:50:41.589Z] ---> f612a02fb515 [2021-01-30T02:50:41.589Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-30T02:50:41.865Z] ---> Running in c9662d332781 [2021-01-30T02:50:44.485Z] Removing intermediate container c9662d332781 [2021-01-30T02:50:44.485Z] ---> 968c238de2c3 [2021-01-30T02:50:44.485Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-30T02:50:44.485Z] ---> Running in 214154ddb67d [2021-01-30T02:50:45.479Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-30T02:50:46.073Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-30T02:50:47.049Z] OK: 142 MiB in 39 packages [2021-01-30T02:50:48.032Z] Removing intermediate container 214154ddb67d [2021-01-30T02:50:48.032Z] ---> a68dbccaa5ac [2021-01-30T02:50:48.032Z] Step 8/24 : COPY . . [2021-01-30T02:50:49.461Z] ---> 56356f38e3cd [2021-01-30T02:50:49.461Z] Step 9/24 : RUN ${MAKE} [2021-01-30T02:50:49.734Z] ---> Running in e8c6e0d2c927 [2021-01-30T02:50:50.716Z] 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-30T02:51:17.549Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-30T02:51:18.978Z] Removing intermediate container e8c6e0d2c927 [2021-01-30T02:51:18.978Z] ---> fa42bbead7df [2021-01-30T02:51:18.978Z] Step 10/24 : FROM scratch [2021-01-30T02:51:18.978Z] ---> [2021-01-30T02:51:18.978Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-30T02:51:19.248Z] ---> Running in a10b1185858c [2021-01-30T02:51:19.519Z] Removing intermediate container a10b1185858c [2021-01-30T02:51:19.519Z] ---> 1a5911017a55 [2021-01-30T02:51:19.519Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-30T02:51:19.790Z] ---> Running in 224ad75cbec1 [2021-01-30T02:51:20.062Z] Removing intermediate container 224ad75cbec1 [2021-01-30T02:51:20.062Z] ---> ff646a809e7e [2021-01-30T02:51:20.062Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-30T02:51:20.336Z] ---> Running in cffe190034c6 [2021-01-30T02:51:20.615Z] Removing intermediate container cffe190034c6 [2021-01-30T02:51:20.615Z] ---> f9ac29771e14 [2021-01-30T02:51:20.615Z] Step 14/24 : WORKDIR / [2021-01-30T02:51:20.615Z] ---> Running in 53ed23cc2ea0 [2021-01-30T02:51:21.216Z] Removing intermediate container 53ed23cc2ea0 [2021-01-30T02:51:21.216Z] ---> d31029f0f17b [2021-01-30T02:51:21.216Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-30T02:51:22.190Z] ---> 0a76e2171903 [2021-01-30T02:51:22.190Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-30T02:51:23.168Z] ---> 208e8c783043 [2021-01-30T02:51:23.168Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-30T02:51:23.764Z] ---> 23dcbb923724 [2021-01-30T02:51:23.764Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-30T02:51:24.358Z] ---> 65c58e80d93a [2021-01-30T02:51:24.358Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-30T02:51:25.334Z] ---> bbf85758517f [2021-01-30T02:51:25.334Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-30T02:51:25.334Z] ---> Running in c81990dec078 [2021-01-30T02:51:25.608Z] Removing intermediate container c81990dec078 [2021-01-30T02:51:25.608Z] ---> 9ba47b01a230 [2021-01-30T02:51:25.608Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-30T02:51:25.881Z] ---> Running in 908ab495faf5 [2021-01-30T02:51:26.155Z] Removing intermediate container 908ab495faf5 [2021-01-30T02:51:26.155Z] ---> dea28efafa6f [2021-01-30T02:51:26.155Z] Step 22/24 : LABEL arch=arm64 [2021-01-30T02:51:26.429Z] ---> Running in 0c85086093de [2021-01-30T02:51:27.025Z] Removing intermediate container 0c85086093de [2021-01-30T02:51:27.025Z] ---> 6f371ddedd9f [2021-01-30T02:51:27.025Z] Step 23/24 : LABEL git_sha=902eccdb55cba88029b2eb6ae85bb2d22ca19633 [2021-01-30T02:51:27.025Z] ---> Running in 3d29f96687ce [2021-01-30T02:51:27.299Z] Removing intermediate container 3d29f96687ce [2021-01-30T02:51:27.299Z] ---> 66116607391e [2021-01-30T02:51:27.299Z] Step 24/24 : LABEL version=0.0.0 [2021-01-30T02:51:27.589Z] ---> Running in 455214ceed53 [2021-01-30T02:51:28.185Z] Removing intermediate container 455214ceed53 [2021-01-30T02:51:28.185Z] ---> b72dfeaf1d30 [2021-01-30T02:51:28.185Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-30T02:51:28.185Z] Successfully built b72dfeaf1d30 [2021-01-30T02:51:28.185Z] Successfully tagged 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-30T02:51:29.623Z] provisioning config files... [2021-01-30T02:51:29.634Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config554008501486223507tmp [Pipeline] { [Pipeline] sh [2021-01-30T02:51:30.055Z] + set +x [2021-01-30T02:51:30.055Z] + curl -s https://codecov.io/bash [2021-01-30T02:51:30.055Z] + bash -s -- [2021-01-30T02:51:30.318Z] [2021-01-30T02:51:30.318Z] _____ _ [2021-01-30T02:51:30.318Z] / ____| | | [2021-01-30T02:51:30.318Z] | | ___ __| | ___ ___ _____ __ [2021-01-30T02:51:30.318Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-30T02:51:30.318Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-30T02:51:30.318Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-30T02:51:30.318Z] Bash-20210129-7c25fce [2021-01-30T02:51:30.318Z] [2021-01-30T02:51:30.318Z] [2021-01-30T02:51:30.318Z] ==> git version 2.24.3 found [2021-01-30T02:51:30.318Z] ==> 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-30T02:51:30.318Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-30T02:51:30.318Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-30T02:51:30.318Z] ==> Jenkins CI detected. [2021-01-30T02:51:30.318Z] project root: . [2021-01-30T02:51:30.318Z] --> token set from env [2021-01-30T02:51:30.318Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-30T02:51:30.318Z] ==> Running gcov in . (disable via -X gcov) [2021-01-30T02:51:30.318Z] ==> Python coveragepy not found [2021-01-30T02:51:30.318Z] ==> Searching for coverage reports in: [2021-01-30T02:51:30.318Z] + . [2021-01-30T02:51:30.318Z] -> Found 1 reports [2021-01-30T02:51:30.318Z] ==> Detecting git/mercurial file structure [2021-01-30T02:51:30.318Z] ==> Reading reports [2021-01-30T02:51:30.318Z] + ./coverage.out bytes=137332 [2021-01-30T02:51:30.318Z] ==> Appending adjustments [2021-01-30T02:51:30.318Z] https://docs.codecov.io/docs/fixing-reports [2021-01-30T02:51:30.893Z] + Found adjustments [2021-01-30T02:51:30.893Z] ==> Gzipping contents [2021-01-30T02:51:30.893Z] 24K /tmp/codecov.QTxnSH.gz [2021-01-30T02:51:30.893Z] ==> Uploading reports [2021-01-30T02:51:30.893Z] url: https://codecov.io [2021-01-30T02:51:30.893Z] query: branch=PR-725&commit=902eccdb55cba88029b2eb6ae85bb2d22ca19633&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-30T02:51:30.893Z] -> Pinging Codecov [2021-01-30T02:51:30.893Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-725&commit=902eccdb55cba88029b2eb6ae85bb2d22ca19633&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-30T02:51:31.156Z] -> Uploading to [2021-01-30T02:51:31.156Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-30/7E55EF52A471D76F132DFD9A03CDDE97/902eccdb55cba88029b2eb6ae85bb2d22ca19633/13dac9d5-d5ca-4e89-bd6b-7944c3030a82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210130T025131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f6f8a80f39bcbe45b87217f995d60699b10bbe5fea9a6027f2067c9a0eeb7a8 [2021-01-30T02:51:31.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-30T02:51:31.156Z] Dload Upload Total Spent Left Speed [2021-01-30T02:51:31.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21623 0 0 100 21623 0 48850 --:--:-- --:--:-- --:--:-- 48920 [2021-01-30T02:51:31.731Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/902eccdb55cba88029b2eb6ae85bb2d22ca19633 [Pipeline] } [2021-01-30T02:51:31.741Z] 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-30T02:51:34.196Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:34.510Z] ---> package-listing.sh [2021-01-30T02:51:34.511Z] ++ facter osfamily [2021-01-30T02:51:34.511Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-30T02:51:34.511Z] + OS_FAMILY=redhat [2021-01-30T02:51:34.511Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-30T02:51:34.511Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-30T02:51:34.511Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-30T02:51:34.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-30T02:51:34.511Z] + PACKAGES=/tmp/packages_start.txt [2021-01-30T02:51:34.511Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-30T02:51:34.511Z] + PACKAGES=/tmp/packages_end.txt [2021-01-30T02:51:34.511Z] + case "${OS_FAMILY}" in [2021-01-30T02:51:34.511Z] + rpm -qa [2021-01-30T02:51:34.511Z] + sort [2021-01-30T02:51:39.833Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-30T02:51:39.833Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-30T02:51:39.833Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-30T02:51:39.833Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-30T02:51:39.833Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-30T02:51:39.833Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-01-30T02:51:39.847Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-30T02:51:40.147Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:51:40.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:51:40.463Z] [2021-01-30T02:51:40.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-30T02:51:40.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:51:40.824Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-30T02:51:40.824Z] df20fa9351a1: Pulling fs layer [2021-01-30T02:51:40.824Z] 36b3adc4ff6f: Pulling fs layer [2021-01-30T02:51:40.824Z] 8ad3a11d3b57: Pulling fs layer [2021-01-30T02:51:40.824Z] 46f8f816bc3b: Pulling fs layer [2021-01-30T02:51:40.824Z] 93b61091891f: Pulling fs layer [2021-01-30T02:51:40.824Z] 93b9cdb0e59b: Pulling fs layer [2021-01-30T02:51:40.824Z] 5e14af77c1be: Pulling fs layer [2021-01-30T02:51:40.824Z] 01666e4c0597: Pulling fs layer [2021-01-30T02:51:40.824Z] aa168da1d23b: Pulling fs layer [2021-01-30T02:51:40.824Z] 93b9cdb0e59b: Waiting [2021-01-30T02:51:40.824Z] 5e14af77c1be: Waiting [2021-01-30T02:51:40.824Z] 46f8f816bc3b: Waiting [2021-01-30T02:51:40.824Z] 01666e4c0597: Waiting [2021-01-30T02:51:40.824Z] 93b61091891f: Waiting [2021-01-30T02:51:40.824Z] aa168da1d23b: Waiting [2021-01-30T02:51:40.824Z] 36b3adc4ff6f: Verifying Checksum [2021-01-30T02:51:40.824Z] 36b3adc4ff6f: Download complete [2021-01-30T02:51:40.824Z] 46f8f816bc3b: Verifying Checksum [2021-01-30T02:51:40.824Z] 46f8f816bc3b: Download complete [2021-01-30T02:51:41.093Z] df20fa9351a1: Verifying Checksum [2021-01-30T02:51:41.093Z] df20fa9351a1: Download complete [2021-01-30T02:51:41.093Z] 93b9cdb0e59b: Download complete [2021-01-30T02:51:41.093Z] 5e14af77c1be: Download complete [2021-01-30T02:51:41.093Z] 93b61091891f: Download complete [2021-01-30T02:51:41.093Z] 01666e4c0597: Verifying Checksum [2021-01-30T02:51:41.093Z] 01666e4c0597: Download complete [2021-01-30T02:51:41.359Z] df20fa9351a1: Pull complete [2021-01-30T02:51:41.630Z] 36b3adc4ff6f: Pull complete [2021-01-30T02:51:41.630Z] 8ad3a11d3b57: Verifying Checksum [2021-01-30T02:51:41.630Z] 8ad3a11d3b57: Download complete [2021-01-30T02:51:42.586Z] 8ad3a11d3b57: Pull complete [2021-01-30T02:51:42.586Z] 46f8f816bc3b: Pull complete [2021-01-30T02:51:43.543Z] 93b61091891f: Pull complete [2021-01-30T02:51:43.543Z] aa168da1d23b: Verifying Checksum [2021-01-30T02:51:43.543Z] aa168da1d23b: Download complete [2021-01-30T02:51:43.543Z] 93b9cdb0e59b: Pull complete [2021-01-30T02:51:43.805Z] 5e14af77c1be: Pull complete [2021-01-30T02:51:43.805Z] 01666e4c0597: Pull complete [2021-01-30T02:51:50.464Z] aa168da1d23b: Pull complete [2021-01-30T02:51:50.464Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-30T02:51:50.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-30T02:51:50.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-30T02:51:50.698Z] prd-centos7-docker-4c-2g-24078 does not seem to be running inside a container [2021-01-30T02:51:50.752Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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-30T02:51:54.133Z] $ docker top a236de46f1ab85f73fd4f2f8e18377ed6d509edda48a0e15b4a93de81c66906b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-30T02:51:54.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-30T02:51:54.931Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-30T02:51:55.238Z] + ls /var/log/sa-host [2021-01-30T02:51:55.239Z] + sadf -c /var/log/sa-host/sa23 [2021-01-30T02:51:55.239Z] file_magic: OK [2021-01-30T02:51:55.239Z] HZ: Using current value: 100 [2021-01-30T02:51:55.239Z] file_header: OK [2021-01-30T02:51:55.239Z] 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-30T02:51:55.239Z] Statistics: [2021-01-30T02:51:55.239Z] Hnuu...uuuununununu... [2021-01-30T02:51:55.239Z] File successfully converted to sysstat format version 12.2.1 [2021-01-30T02:51:55.239Z] + sadf -c /var/log/sa-host/sa30 [2021-01-30T02:51:55.239Z] file_magic: OK [2021-01-30T02:51:55.239Z] HZ: Using current value: 100 [2021-01-30T02:51:55.239Z] file_header: OK [2021-01-30T02:51:55.239Z] 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-30T02:51:55.239Z] Statistics: [2021-01-30T02:51:55.239Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-30T02:51:55.239Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-30T02:51:55.470Z] provisioning config files... [2021-01-30T02:51:55.484Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1303364302731844763tmp [Pipeline] { [Pipeline] echo [2021-01-30T02:51:55.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:55.885Z] ---> create-netrc.sh [Pipeline] } [2021-01-30T02:51:55.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-30T02:51:55.989Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:56.288Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-30T02:51:56.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:56.596Z] ---> sudo-logs.sh [2021-01-30T02:51:56.596Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-30T02:51:56.607Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:56.905Z] ---> job-cost.sh [2021-01-30T02:51:56.905Z] lf-activate-venv: SKIPPING [2021-01-30T02:51:56.905Z] INFO: No Stack... [2021-01-30T02:51:57.852Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-30T02:51:58.427Z] INFO: Archiving Costs [Pipeline] echo [2021-01-30T02:51:58.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-30T02:51:58.734Z] ---> logs-deploy.sh [2021-01-30T02:51:58.734Z] lf-activate-venv: SKIPPING [2021-01-30T02:51:58.734Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/10 [2021-01-30T02:51:58.734Z] INFO: archiving workspace using pattern(s): [2021-01-30T02:52:00.659Z] Archives upload complete. [2021-01-30T02:52:00.659Z] INFO: archiving logs to Nexus