Pull request #768 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9fe3938ee2d204b0af91be3145be6a464d2edd9d+3aea893206dfece0cb943228d650ae216607898f (a71902d4c026a6e48fa04a9caa0decdebb317b57) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-768/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-768/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24323 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [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-768 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d > 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/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 Commit message: "refactor: upgrade SDK external function API for v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T10:01:12.360Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T10:01:12.770Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T10:01:12.993Z] ========================================================= [2021-02-01T10:01:12.993Z] EdgeX Global Pipelines Version Info [2021-02-01T10:01:12.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:01:14.896Z] ------------------- [2021-02-01T10:01:14.896Z] stable info: [2021-02-01T10:01:14.896Z] ------------------- [2021-02-01T10:01:14.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T10:01:14.896Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T10:01:14.896Z] Message: update stable to v1.0.179 [2021-02-01T10:01:15.910Z] ------------------- [2021-02-01T10:01:15.911Z] experimental info: [2021-02-01T10:01:15.911Z] ------------------- [2021-02-01T10:01:15.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T10:01:15.911Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T10:01:15.911Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T10:01:16.383Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-01T10:01:16.522Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-01T10:01:16.676Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T10:01:16.834Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T10:01:16.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T10:01:17.187Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T10:01:17.335Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T10:01:17.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T10:01:17.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-01T10:01:17.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T10:01:17.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T10:01:18.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-01T10:01:18.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T10:01:18.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T10:01:18.579Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-01T10:01:18.733Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T10:01:18.876Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T10:01:19.033Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T10:01:19.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T10:01:19.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T10:01:19.487Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-01T10:01:19.629Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-01T10:01:19.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T10:01:19.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T10:01:20.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-01T10:01:20.250Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T10:01:20.413Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T10:01:20.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-768 [Pipeline] echo [2021-02-01T10:01:20.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-768 [Pipeline] echo [2021-02-01T10:01:20.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-768 [Pipeline] echo [2021-02-01T10:01:21.023Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] echo [2021-02-01T10:01:21.171Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fe3938 [Pipeline] echo [2021-02-01T10:01:21.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T10:01:21.603Z] provisioning config files... [2021-02-01T10:01:21.644Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config8185745693357345608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:01:22.124Z] ---> docker-login.sh [2021-02-01T10:01:22.125Z] nexus3.edgexfoundry.org:10001 [2021-02-01T10:01:22.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:01:22.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:01:22.997Z] Configure a credential helper to remove this warning. See [2021-02-01T10:01:22.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:01:22.997Z] [2021-02-01T10:01:22.997Z] Login Succeeded [2021-02-01T10:01:22.997Z] nexus3.edgexfoundry.org:10002 [2021-02-01T10:01:22.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:01:23.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:01:23.267Z] Configure a credential helper to remove this warning. See [2021-02-01T10:01:23.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:01:23.267Z] [2021-02-01T10:01:23.267Z] Login Succeeded [2021-02-01T10:01:23.267Z] nexus3.edgexfoundry.org:10003 [2021-02-01T10:01:23.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:01:23.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:01:23.543Z] Configure a credential helper to remove this warning. See [2021-02-01T10:01:23.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:01:23.543Z] [2021-02-01T10:01:23.543Z] Login Succeeded [2021-02-01T10:01:23.543Z] nexus3.edgexfoundry.org:10004 [2021-02-01T10:01:23.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:01:23.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:01:23.823Z] Configure a credential helper to remove this warning. See [2021-02-01T10:01:23.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:01:23.823Z] [2021-02-01T10:01:23.823Z] Login Succeeded [2021-02-01T10:01:23.823Z] docker.io [2021-02-01T10:01:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:01:24.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:01:24.375Z] Configure a credential helper to remove this warning. See [2021-02-01T10:01:24.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:01:24.375Z] [2021-02-01T10:01:24.375Z] Login Succeeded [2021-02-01T10:01:24.375Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T10:01:24.417Z] 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-02-01T10:01:25.576Z] + git log --format=format:%s -1 9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] echo [2021-02-01T10:01:25.700Z] GIT_COMMIT: 9fe3938ee2d204b0af91be3145be6a464d2edd9d, Commit Message: refactor: upgrade SDK external function API for v2 [Pipeline] echo [2021-02-01T10:01:25.770Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:01:26.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T10:01:26.933Z] [2021-02-01T10:01:26.933Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:01:27.393Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T10:01:27.393Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T10:01:27.393Z] 31603596830f: Pulling fs layer [2021-02-01T10:01:27.393Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T10:01:27.393Z] 6ca5941a6612: Pulling fs layer [2021-02-01T10:01:27.393Z] ecc8261a40a4: Pulling fs layer [2021-02-01T10:01:27.393Z] ecc8261a40a4: Waiting [2021-02-01T10:01:27.393Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T10:01:27.393Z] 2a8b12db71e7: Download complete [2021-02-01T10:01:27.703Z] 31603596830f: Verifying Checksum [2021-02-01T10:01:27.703Z] 31603596830f: Download complete [2021-02-01T10:01:27.990Z] ecc8261a40a4: Verifying Checksum [2021-02-01T10:01:27.990Z] ecc8261a40a4: Download complete [2021-02-01T10:01:27.990Z] 6ca5941a6612: Verifying Checksum [2021-02-01T10:01:27.990Z] 6ca5941a6612: Download complete [2021-02-01T10:01:28.612Z] 31603596830f: Pull complete [2021-02-01T10:01:28.612Z] 2a8b12db71e7: Pull complete [2021-02-01T10:01:30.104Z] 6ca5941a6612: Pull complete [2021-02-01T10:01:30.708Z] ecc8261a40a4: Pull complete [2021-02-01T10:01:30.708Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T10:01:30.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T10:01:30.708Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T10:01:31.011Z] prd-centos7-docker-4c-2g-24323 does not seem to be running inside a container [2021-02-01T10:01:31.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-01T10:01:34.116Z] $ docker top 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T10:01:34.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T10:01:34.743Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T10:01:35.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T10:01:35.112Z] $ docker exec 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent [2021-02-01T10:01:35.365Z] SSH_AUTH_SOCK=/tmp/ssh-JZlDUX3RTXam/agent.12 [2021-02-01T10:01:35.366Z] SSH_AGENT_PID=17 [2021-02-01T10:01:35.396Z] Running ssh-add (command line suppressed) [2021-02-01T10:01:35.602Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3314105354075956338.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3314105354075956338.key) [2021-02-01T10:01:35.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T10:01:36.081Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T10:01:36.121Z] $ docker exec --env ******** --env ******** 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent -k [2021-02-01T10:01:36.289Z] unset SSH_AUTH_SOCK; [2021-02-01T10:01:36.290Z] unset SSH_AGENT_PID; [2021-02-01T10:01:36.290Z] echo Agent pid 17 killed; [2021-02-01T10:01:36.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T10:01:36.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T10:01:36.554Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T10:01:36.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T10:01:36.795Z] $ docker exec 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent [2021-02-01T10:01:37.039Z] SSH_AUTH_SOCK=/tmp/ssh-p9I2MlNq36um/agent.47 [2021-02-01T10:01:37.039Z] SSH_AGENT_PID=53 [2021-02-01T10:01:37.051Z] Running ssh-add (command line suppressed) [2021-02-01T10:01:37.271Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3383515245568225717.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3383515245568225717.key) [2021-02-01T10:01:37.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T10:01:37.789Z] + git semver init [2021-02-01T10:01:37.789Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T10:01:37.789Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.git [2021-02-01T10:01:37.789Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-768 [2021-02-01T10:01:37.789Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T10:01:37.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T10:01:37.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T10:01:37.789Z] # $SEMVER_BRANCH = PR-768 [2021-02-01T10:01:37.789Z] # $SEMVER_TEMP = /tmp/semver-140922586 [2021-02-01T10:01:37.789Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-01T10:01:38.783Z] # '/tmp/semver-140922586' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver' [2021-02-01T10:01:38.784Z] # -> Force: false [2021-02-01T10:01:38.784Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver [Pipeline] } [2021-02-01T10:01:38.812Z] $ docker exec --env ******** --env ******** 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent -k [2021-02-01T10:01:39.021Z] unset SSH_AUTH_SOCK; [2021-02-01T10:01:39.021Z] unset SSH_AGENT_PID; [2021-02-01T10:01:39.021Z] echo Agent pid 53 killed; [2021-02-01T10:01:39.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T10:01:40.155Z] + git semver [Pipeline] } [2021-02-01T10:01:40.201Z] $ docker stop --time=1 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 [2021-02-01T10:01:41.898Z] $ docker rm -f 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T10:01:42.577Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T10:01:43.291Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T10:01:43.319Z] [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-02-01T10:01:59.203Z] Still waiting to schedule task [2021-02-01T10:01:59.203Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24323’ [2021-02-01T10:01:59.229Z] Still waiting to schedule task [2021-02-01T10:01:59.229Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-01T10:03:48.263Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24324 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws [2021-02-01T10:03:48.372Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-01T10:03:54.988Z] using credential edgex-jenkins-ssh [2021-02-01T10:03:55.062Z] Cloning the remote Git repository [2021-02-01T10:03:55.133Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:03:55.250Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-01T10:03:55.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:03:55.336Z] > git --version # timeout=10 [2021-02-01T10:03:55.354Z] > git --version # 'git version 2.17.1' [2021-02-01T10:03:55.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:03:55.426Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T10:03:56.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T10:03:56.594Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T10:03:56.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T10:03:56.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:03:56.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:03:56.685Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T10:03:57.419Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:03:57.685Z] Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:03:57.686Z] Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) [2021-02-01T10:03:57.445Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T10:03:57.472Z] > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 [2021-02-01T10:03:57.581Z] > git remote # timeout=10 [2021-02-01T10:03:57.601Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T10:03:57.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:03:57.634Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T10:03:57.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T10:03:57.691Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T10:03:57.707Z] > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 [2021-02-01T10:04:02.096Z] Commit message: "refactor: upgrade SDK external function API for v2" [2021-02-01T10:04:02.150Z] > git --version # timeout=10 [2021-02-01T10:04:02.161Z] > git --version # 'git version 2.17.1' [2021-02-01T10:04:02.174Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T10:04:03.978Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T10:04:04.391Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T10:04:04.811Z] + true [2021-02-01T10:04:04.811Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T10:04:07.577Z] provisioning config files... [2021-02-01T10:04:07.651Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1286977961480365622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:04:08.107Z] ---> docker-login.sh [2021-02-01T10:04:08.107Z] nexus3.edgexfoundry.org:10001 [2021-02-01T10:04:09.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:04:09.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:04:09.369Z] Configure a credential helper to remove this warning. See [2021-02-01T10:04:09.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:04:09.369Z] [2021-02-01T10:04:09.369Z] Login Succeeded [2021-02-01T10:04:09.369Z] nexus3.edgexfoundry.org:10002 [2021-02-01T10:04:09.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:04:09.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:04:09.917Z] Configure a credential helper to remove this warning. See [2021-02-01T10:04:09.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:04:09.917Z] [2021-02-01T10:04:09.917Z] Login Succeeded [2021-02-01T10:04:09.917Z] nexus3.edgexfoundry.org:10003 [2021-02-01T10:04:10.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:04:10.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:04:10.195Z] Configure a credential helper to remove this warning. See [2021-02-01T10:04:10.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:04:10.195Z] [2021-02-01T10:04:10.195Z] Login Succeeded [2021-02-01T10:04:10.195Z] nexus3.edgexfoundry.org:10004 [2021-02-01T10:04:10.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:04:10.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:04:10.809Z] Configure a credential helper to remove this warning. See [2021-02-01T10:04:10.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:04:10.809Z] [2021-02-01T10:04:10.809Z] Login Succeeded [2021-02-01T10:04:10.809Z] docker.io [2021-02-01T10:04:11.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:04:11.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:04:11.366Z] Configure a credential helper to remove this warning. See [2021-02-01T10:04:11.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:04:11.366Z] [2021-02-01T10:04:11.366Z] Login Succeeded [2021-02-01T10:04:11.366Z] ---> docker-login.sh ends [Pipeline] } [2021-02-01T10:04:11.403Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-01T10:04:11.999Z] ========================================================= [2021-02-01T10:04:11.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T10:04:11.999Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:04:12.433Z] + 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-02-01T10:04:12.713Z] Sending build context to Docker daemon 2.423MB [2021-02-01T10:04:12.713Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T10:04:12.713Z] Step 2/8 : FROM ${BASE} [2021-02-01T10:04:12.993Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T10:04:12.993Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T10:04:12.993Z] a4357932f1b6: Pulling fs layer [2021-02-01T10:04:12.993Z] 18c013af1878: Pulling fs layer [2021-02-01T10:04:12.993Z] 00ac8860ef70: Pulling fs layer [2021-02-01T10:04:12.993Z] 63d7cb157983: Pulling fs layer [2021-02-01T10:04:12.993Z] b116817d02f9: Pulling fs layer [2021-02-01T10:04:12.993Z] 745a02a5169b: Pulling fs layer [2021-02-01T10:04:12.993Z] 63d7cb157983: Waiting [2021-02-01T10:04:12.993Z] 00ac8860ef70: Waiting [2021-02-01T10:04:12.993Z] b116817d02f9: Waiting [2021-02-01T10:04:12.993Z] 745a02a5169b: Waiting [2021-02-01T10:04:12.993Z] 18c013af1878: Download complete [2021-02-01T10:04:12.993Z] a4357932f1b6: Download complete [2021-02-01T10:04:12.993Z] 63d7cb157983: Verifying Checksum [2021-02-01T10:04:12.993Z] 63d7cb157983: Download complete [2021-02-01T10:04:12.993Z] b116817d02f9: Verifying Checksum [2021-02-01T10:04:12.993Z] b116817d02f9: Download complete [2021-02-01T10:04:13.593Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T10:04:13.593Z] 5f621e34cdf4: Download complete [2021-02-01T10:04:14.616Z] 5f621e34cdf4: Pull complete [2021-02-01T10:04:14.895Z] a4357932f1b6: Pull complete [2021-02-01T10:04:15.498Z] 18c013af1878: Pull complete [2021-02-01T10:04:15.771Z] 745a02a5169b: Verifying Checksum [2021-02-01T10:04:15.771Z] 745a02a5169b: Download complete [2021-02-01T10:04:17.203Z] 00ac8860ef70: Verifying Checksum [2021-02-01T10:04:17.203Z] 00ac8860ef70: Download complete [2021-02-01T10:04:27.374Z] 00ac8860ef70: Pull complete [2021-02-01T10:04:27.647Z] 63d7cb157983: Pull complete [2021-02-01T10:04:27.926Z] b116817d02f9: Pull complete [2021-02-01T10:04:31.323Z] 745a02a5169b: Pull complete [2021-02-01T10:04:31.324Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T10:04:31.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T10:04:31.597Z] ---> b7e6874047d6 [2021-02-01T10:04:31.597Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:04:35.018Z] ---> Running in 9fc5b33239b5 [2021-02-01T10:04:35.018Z] Removing intermediate container 9fc5b33239b5 [2021-02-01T10:04:35.018Z] ---> 13300837cdbd [2021-02-01T10:04:35.018Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T10:04:35.018Z] ---> Running in 87e822c7d75e [2021-02-01T10:04:37.002Z] Removing intermediate container 87e822c7d75e [2021-02-01T10:04:37.002Z] ---> d73ab4e03c7a [2021-02-01T10:04:37.002Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T10:04:37.277Z] ---> Running in 60ce9d8cba3e [2021-02-01T10:04:38.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T10:04:39.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T10:04:40.208Z] OK: 142 MiB in 39 packages [2021-02-01T10:04:41.188Z] Removing intermediate container 60ce9d8cba3e [2021-02-01T10:04:41.188Z] ---> 7dd79c1e0aa3 [2021-02-01T10:04:41.188Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T10:04:41.188Z] ---> Running in 6f5e3a65e1b0 [2021-02-01T10:04:41.796Z] Removing intermediate container 6f5e3a65e1b0 [2021-02-01T10:04:41.796Z] ---> fb6f7e56eebb [2021-02-01T10:04:41.796Z] Step 7/8 : COPY . . [2021-02-01T10:04:43.257Z] ---> 5830a2b689d7 [2021-02-01T10:04:43.257Z] Step 8/8 : RUN go mod download [2021-02-01T10:04:43.257Z] ---> Running in 4636b91a3055 [2021-02-01T10:04:48.136Z] Running on prd-centos7-docker-4c-2g-24326 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws [2021-02-01T10:04:48.237Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-01T10:04:53.743Z] using credential edgex-jenkins-ssh [2021-02-01T10:04:53.814Z] Cloning the remote Git repository [2021-02-01T10:04:53.889Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:04:53.981Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-01T10:04:54.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:04:54.084Z] > git --version # timeout=10 [2021-02-01T10:04:54.131Z] > git --version # 'git version 2.24.3' [2021-02-01T10:04:54.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:04:54.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T10:04:55.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T10:04:55.159Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T10:04:55.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-01T10:04:55.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-01T10:04:55.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:04:55.275Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T10:04:55.832Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:04:56.025Z] Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:04:56.025Z] Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) [2021-02-01T10:04:55.846Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T10:04:55.885Z] > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 [2021-02-01T10:04:55.955Z] > git remote # timeout=10 [2021-02-01T10:04:55.967Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T10:04:55.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T10:04:55.986Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-01T10:04:56.007Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T10:04:56.040Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T10:04:56.066Z] > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 [2021-02-01T10:05:00.525Z] Commit message: "refactor: upgrade SDK external function API for v2" [2021-02-01T10:05:00.567Z] > git --version # timeout=10 [2021-02-01T10:05:00.589Z] > git --version # 'git version 2.24.3' [2021-02-01T10:05:00.613Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T10:05:02.314Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T10:05:02.776Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T10:05:03.112Z] + true [2021-02-01T10:05:03.112Z] + sudo service docker restart [2021-02-01T10:05:03.112Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-01T10:05:04.682Z] provisioning config files... [2021-02-01T10:05:04.715Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4593021808029539770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:05:05.205Z] ---> docker-login.sh [2021-02-01T10:05:05.205Z] nexus3.edgexfoundry.org:10001 [2021-02-01T10:05:05.442Z] Removing intermediate container 4636b91a3055 [2021-02-01T10:05:05.442Z] ---> 2b7df47c8451 [2021-02-01T10:05:05.442Z] Successfully built 2b7df47c8451 [2021-02-01T10:05:05.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:05:05.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:05:05.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:05:05.791Z] Configure a credential helper to remove this warning. See [2021-02-01T10:05:05.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:05:05.791Z] [2021-02-01T10:05:05.791Z] Login Succeeded [2021-02-01T10:05:05.791Z] nexus3.edgexfoundry.org:10002 [2021-02-01T10:05:05.816Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T10:05:05.816Z] . [Pipeline] withDockerContainer [2021-02-01T10:05:06.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:05:06.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:05:06.074Z] Configure a credential helper to remove this warning. See [2021-02-01T10:05:06.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:05:06.074Z] [2021-02-01T10:05:06.074Z] Login Succeeded [2021-02-01T10:05:06.074Z] nexus3.edgexfoundry.org:10003 [2021-02-01T10:05:06.077Z] prd-ubuntu18.04-docker-arm64-4c-16g-24324 does not seem to be running inside a container [2021-02-01T10:05:06.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-01T10:05:06.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:05:06.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:05:06.618Z] Configure a credential helper to remove this warning. See [2021-02-01T10:05:06.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:05:06.618Z] [2021-02-01T10:05:06.618Z] Login Succeeded [2021-02-01T10:05:06.618Z] nexus3.edgexfoundry.org:10004 [2021-02-01T10:05:06.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:05:06.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:05:06.890Z] Configure a credential helper to remove this warning. See [2021-02-01T10:05:06.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:05:06.890Z] [2021-02-01T10:05:06.890Z] Login Succeeded [2021-02-01T10:05:06.890Z] docker.io [2021-02-01T10:05:07.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-01T10:05:07.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-01T10:05:07.424Z] Configure a credential helper to remove this warning. See [2021-02-01T10:05:07.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-01T10:05:07.424Z] [2021-02-01T10:05:07.424Z] Login Succeeded [2021-02-01T10:05:07.424Z] ---> docker-login.sh ends [2021-02-01T10:05:07.668Z] $ docker top 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-01T10:05:08.123Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-01T10:05:08.851Z] + go version [2021-02-01T10:05:08.851Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T10:05:08.887Z] $ docker stop --time=1 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 [2021-02-01T10:05:10.752Z] $ docker rm -f 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2021-02-01T10:05:11.162Z] ========================================================= [2021-02-01T10:05:11.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T10:05:11.162Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:05:11.688Z] + 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-02-01T10:05:11.940Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T10:05:11.940Z] . [2021-02-01T10:05:11.964Z] Sending build context to Docker daemon 2.415MB [2021-02-01T10:05:11.964Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T10:05:11.964Z] Step 2/8 : FROM ${BASE} [2021-02-01T10:05:11.964Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T10:05:11.964Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T10:05:11.964Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T10:05:11.964Z] de9db76c5a1d: Pulling fs layer [2021-02-01T10:05:11.964Z] bca2f99d35d6: Pulling fs layer [2021-02-01T10:05:11.964Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T10:05:11.964Z] 7c6f9722023f: Pulling fs layer [2021-02-01T10:05:11.964Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T10:05:11.964Z] bca2f99d35d6: Waiting [2021-02-01T10:05:11.964Z] 93359f2a8cfa: Waiting [2021-02-01T10:05:11.964Z] 7c6f9722023f: Waiting [2021-02-01T10:05:11.964Z] a35cf1a2eb13: Waiting [2021-02-01T10:05:11.964Z] de9db76c5a1d: Verifying Checksum [2021-02-01T10:05:11.964Z] de9db76c5a1d: Download complete [2021-02-01T10:05:11.964Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T10:05:11.964Z] 0ef7d3d256c8: Download complete [Pipeline] withDockerContainer [2021-02-01T10:05:12.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-24324 does not seem to be running inside a container [2021-02-01T10:05:12.237Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T10:05:12.237Z] 93359f2a8cfa: Download complete [2021-02-01T10:05:12.237Z] 7c6f9722023f: Verifying Checksum [2021-02-01T10:05:12.237Z] 7c6f9722023f: Download complete [2021-02-01T10:05:12.237Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T10:05:12.237Z] 188c0c94c7c5: Download complete [2021-02-01T10:05:12.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-02-01T10:05:12.514Z] 188c0c94c7c5: Pull complete [2021-02-01T10:05:13.152Z] 0ef7d3d256c8: Pull complete [2021-02-01T10:05:13.434Z] de9db76c5a1d: Pull complete [2021-02-01T10:05:13.734Z] $ docker top ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T10:05:14.916Z] + make test [2021-02-01T10:05:14.916Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T10:05:15.464Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T10:05:15.464Z] a35cf1a2eb13: Download complete [2021-02-01T10:05:16.445Z] bca2f99d35d6: Verifying Checksum [2021-02-01T10:05:16.445Z] bca2f99d35d6: Download complete [2021-02-01T10:05:28.931Z] bca2f99d35d6: Pull complete [2021-02-01T10:05:28.931Z] 93359f2a8cfa: Pull complete [2021-02-01T10:05:28.931Z] 7c6f9722023f: Pull complete [2021-02-01T10:05:34.457Z] a35cf1a2eb13: Pull complete [2021-02-01T10:05:34.457Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T10:05:34.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T10:05:34.457Z] ---> a62c8e92a672 [2021-02-01T10:05:34.457Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:05:34.457Z] ---> Running in 2e99ac2ca149 [2021-02-01T10:05:35.108Z] Removing intermediate container 2e99ac2ca149 [2021-02-01T10:05:35.108Z] ---> d0ca3cf1f0d6 [2021-02-01T10:05:35.108Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T10:05:35.108Z] ---> Running in b338696b2168 [2021-02-01T10:05:36.613Z] Removing intermediate container b338696b2168 [2021-02-01T10:05:36.613Z] ---> a5f1f482c28f [2021-02-01T10:05:36.613Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-01T10:05:36.613Z] ---> Running in fc59791e1f81 [2021-02-01T10:05:37.096Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T10:05:37.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T10:05:38.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T10:05:39.167Z] OK: 166 MiB in 39 packages [2021-02-01T10:05:39.767Z] Removing intermediate container fc59791e1f81 [2021-02-01T10:05:39.767Z] ---> 4b96d7a4bc43 [2021-02-01T10:05:39.767Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-01T10:05:39.767Z] ---> Running in 41a7d743b4b4 [2021-02-01T10:05:40.047Z] Removing intermediate container 41a7d743b4b4 [2021-02-01T10:05:40.047Z] ---> 61dcea11c3ff [2021-02-01T10:05:40.047Z] Step 7/8 : COPY . . [2021-02-01T10:05:41.477Z] ---> 20a1651086e6 [2021-02-01T10:05:41.477Z] Step 8/8 : RUN go mod download [2021-02-01T10:05:41.477Z] ---> Running in f10df301d2a8 [2021-02-01T10:06:08.374Z] Removing intermediate container f10df301d2a8 [2021-02-01T10:06:08.374Z] ---> 906a0f54278b [2021-02-01T10:06:08.374Z] Successfully built 906a0f54278b [2021-02-01T10:06:08.374Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:06:08.785Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T10:06:08.785Z] . [Pipeline] withDockerContainer [2021-02-01T10:06:08.959Z] prd-centos7-docker-4c-2g-24326 does not seem to be running inside a container [2021-02-01T10:06:09.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-01T10:06:10.416Z] $ docker top c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T10:06:11.567Z] + go version [2021-02-01T10:06:11.568Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T10:06:11.614Z] $ docker stop --time=1 c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 [2021-02-01T10:06:13.395Z] $ docker rm -f c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:06:14.715Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T10:06:14.715Z] . [Pipeline] withDockerContainer [2021-02-01T10:06:15.032Z] prd-centos7-docker-4c-2g-24326 does not seem to be running inside a container [2021-02-01T10:06:15.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-02-01T10:06:16.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T10:06:16.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T10:06:16.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T10:06:16.538Z] $ docker top 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T10:06:17.765Z] + make test [2021-02-01T10:06:17.765Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-01T10:06:18.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 24.0% of statements [2021-02-01T10:06:33.321Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-01T10:06:51.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.164s coverage: 13.0% of statements [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.135s coverage: 85.3% of statements [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.186s coverage: 49.5% of statements [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.190s coverage: 24.8% of statements [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.732s coverage: 83.5% of statements [2021-02-01T10:06:51.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.3% of statements [2021-02-01T10:06:51.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T10:06:51.168Z] GO111MODULE=on go vet ./... [2021-02-01T10:07:00.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-01T10:07:00.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-01T10:07:00.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-01T10:07:02.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 24.0% of statements [2021-02-01T10:07:23.823Z] gofmt -l . [2021-02-01T10:07:23.823Z] [ "`gofmt -l .`" = "" ] [2021-02-01T10:07:23.823Z] ./bin/test-attribution-txt.sh [2021-02-01T10:07:23.823Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T10:07:23.855Z] $ docker stop --time=1 ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a [2021-02-01T10:07:25.953Z] $ docker rm -f ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T10:07:27.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T10:07:27.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T10:07:30.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T10:07:30.937Z] + ls -al . [2021-02-01T10:07:30.937Z] total 204 [2021-02-01T10:07:30.937Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 10:07 . [2021-02-01T10:07:30.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 .. [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 10:03 .dockerignore [2021-02-01T10:07:30.937Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 10:04 .git [2021-02-01T10:07:30.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 10:03 .github [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 10:03 .gitignore [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 10:03 Dockerfile.build [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 10:03 Jenkinsfile [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 10:03 LICENSE [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 10:03 Makefile [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 10:03 README.md [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 10:03 RELEASE-NOTES.txt [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 10:01 VERSION [2021-02-01T10:07:30.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 10:03 bin [2021-02-01T10:07:30.937Z] -rw-r--r-- 1 jenkins jenkins 89771 Feb 1 10:06 coverage.out [2021-02-01T10:07:30.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 example [2021-02-01T10:07:30.937Z] -rw-r--r-- 1 jenkins jenkins 480 Feb 1 10:07 go.mod [2021-02-01T10:07:30.937Z] -rw-r--r-- 1 jenkins jenkins 14022 Feb 1 10:07 go.sum [2021-02-01T10:07:30.937Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 1 10:03 internal [2021-02-01T10:07:30.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 openapi [2021-02-01T10:07:30.937Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 10:03 pkg [2021-02-01T10:07:30.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 snap [2021-02-01T10:07:30.937Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 10:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:07:31.304Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d --label arch=arm64 --label version=0.0.0 . [2021-02-01T10:07:31.912Z] Sending build context to Docker daemon 2.513MB [2021-02-01T10:07:31.912Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T10:07:31.912Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T10:07:31.912Z] ---> 2b7df47c8451 [2021-02-01T10:07:31.912Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T10:07:31.912Z] ---> Running in a87926b0e7e5 [2021-02-01T10:07:32.508Z] Removing intermediate container a87926b0e7e5 [2021-02-01T10:07:32.508Z] ---> 54d140d5362e [2021-02-01T10:07:32.508Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T10:07:32.508Z] ---> Running in a4e19c5c5c97 [2021-02-01T10:07:33.110Z] Removing intermediate container a4e19c5c5c97 [2021-02-01T10:07:33.110Z] ---> 3cb0701ed582 [2021-02-01T10:07:33.110Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:07:33.110Z] ---> Running in 90d4f53d4f78 [2021-02-01T10:07:33.705Z] Removing intermediate container 90d4f53d4f78 [2021-02-01T10:07:33.706Z] ---> 9121cf13282d [2021-02-01T10:07:33.706Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T10:07:33.706Z] ---> Running in 973af966cf96 [2021-02-01T10:07:35.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.147s coverage: 10.1% of statements [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 13.0% of statements [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.074s coverage: 85.3% of statements [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.147s coverage: 49.5% of statements [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.101s coverage: 24.8% of statements [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.397s coverage: 83.5% of statements [2021-02-01T10:07:35.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.109s coverage: 5.3% of statements [2021-02-01T10:07:35.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-01T10:07:35.356Z] GO111MODULE=on go vet ./... [2021-02-01T10:07:36.321Z] Removing intermediate container 973af966cf96 [2021-02-01T10:07:36.321Z] ---> ec53d4feb9de [2021-02-01T10:07:36.321Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T10:07:36.321Z] ---> Running in 5ef37dc815da [2021-02-01T10:07:36.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T10:07:37.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T10:07:38.487Z] OK: 142 MiB in 39 packages [2021-02-01T10:07:39.920Z] Removing intermediate container 5ef37dc815da [2021-02-01T10:07:39.920Z] ---> 0c83d3ecbe36 [2021-02-01T10:07:39.920Z] Step 8/24 : COPY . . [2021-02-01T10:07:40.903Z] ---> 4d6ff8563701 [2021-02-01T10:07:40.903Z] Step 9/24 : RUN ${MAKE} [2021-02-01T10:07:40.903Z] ---> Running in b75cf45d313c [2021-02-01T10:07:42.341Z] 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-02-01T10:07:50.885Z] gofmt -l . [2021-02-01T10:07:50.885Z] [ "`gofmt -l .`" = "" ] [2021-02-01T10:07:50.885Z] ./bin/test-attribution-txt.sh [2021-02-01T10:07:51.872Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-01T10:07:52.504Z] $ docker stop --time=1 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 [2021-02-01T10:07:54.923Z] $ docker rm -f 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T10:07:55.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T10:07:56.027Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T10:07:56.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-01T10:07:57.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-01T10:07:57.895Z] + ls -al . [2021-02-01T10:07:57.895Z] total 168 [2021-02-01T10:07:57.895Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 10:07 . [2021-02-01T10:07:57.895Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 10:04 .. [2021-02-01T10:07:57.895Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 10:04 bin [2021-02-01T10:07:57.895Z] -rw-r--r--. 1 jenkins jenkins 89771 Feb 1 10:07 coverage.out [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 10:04 Dockerfile.build [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 10:04 .dockerignore [2021-02-01T10:07:57.895Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 10:04 example [2021-02-01T10:07:57.895Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 10:05 .git [2021-02-01T10:07:57.895Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 10:04 .github [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 10:04 .gitignore [2021-02-01T10:07:57.895Z] -rw-r--r--. 1 jenkins jenkins 480 Feb 1 10:07 go.mod [2021-02-01T10:07:57.895Z] -rw-r--r--. 1 jenkins jenkins 14022 Feb 1 10:07 go.sum [2021-02-01T10:07:57.895Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 1 10:04 internal [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 10:04 Jenkinsfile [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 10:04 LICENSE [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 10:04 Makefile [2021-02-01T10:07:57.895Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 10:04 openapi [2021-02-01T10:07:57.895Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 10:04 pkg [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 10:04 README.md [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 10:04 RELEASE-NOTES.txt [2021-02-01T10:07:57.895Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 10:04 snap [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 10:01 VERSION [2021-02-01T10:07:57.895Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 10:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:07:58.291Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d --label arch=amd64 --label version=0.0.0 . [2021-02-01T10:07:59.261Z] Sending build context to Docker daemon 2.506MB [2021-02-01T10:07:59.261Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-01T10:07:59.261Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-01T10:07:59.261Z] ---> 906a0f54278b [2021-02-01T10:07:59.261Z] Step 3/24 : ARG MAKE='make build' [2021-02-01T10:07:59.543Z] ---> Running in 078ce6df51cb [2021-02-01T10:07:59.838Z] Removing intermediate container 078ce6df51cb [2021-02-01T10:07:59.838Z] ---> 11fec6e281f8 [2021-02-01T10:07:59.838Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-01T10:07:59.838Z] ---> Running in 9c0270a82db1 [2021-02-01T10:08:00.453Z] Removing intermediate container 9c0270a82db1 [2021-02-01T10:08:00.453Z] ---> d4ba874ae341 [2021-02-01T10:08:00.453Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:08:00.453Z] ---> Running in 6179203d402f [2021-02-01T10:08:00.726Z] Removing intermediate container 6179203d402f [2021-02-01T10:08:00.727Z] ---> 0613a0ba5600 [2021-02-01T10:08:00.727Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-01T10:08:01.309Z] ---> Running in 5eb917f5032a [2021-02-01T10:08:03.360Z] Removing intermediate container 5eb917f5032a [2021-02-01T10:08:03.360Z] ---> 48b7a8261fa9 [2021-02-01T10:08:03.360Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-01T10:08:03.360Z] ---> Running in 203b48c55587 [2021-02-01T10:08:04.362Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T10:08:04.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T10:08:05.577Z] OK: 166 MiB in 39 packages [2021-02-01T10:08:06.567Z] Removing intermediate container 203b48c55587 [2021-02-01T10:08:06.567Z] ---> 273f62337a62 [2021-02-01T10:08:06.567Z] Step 8/24 : COPY . . [2021-02-01T10:08:07.549Z] ---> 33aaff84bc1e [2021-02-01T10:08:07.549Z] Step 9/24 : RUN ${MAKE} [2021-02-01T10:08:07.549Z] ---> Running in 6e42bd677512 [2021-02-01T10:08:08.167Z] 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-02-01T10:08:09.153Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T10:08:09.153Z] Removing intermediate container b75cf45d313c [2021-02-01T10:08:09.153Z] ---> 4d231b42a0c3 [2021-02-01T10:08:09.153Z] Step 10/24 : FROM scratch [2021-02-01T10:08:09.153Z] ---> [2021-02-01T10:08:09.153Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:08:09.153Z] ---> Running in 44bc11d9501a [2021-02-01T10:08:09.153Z] Removing intermediate container 44bc11d9501a [2021-02-01T10:08:09.153Z] ---> 53a352bbb88f [2021-02-01T10:08:09.153Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T10:08:09.153Z] ---> Running in 4e2d9a1acd16 [2021-02-01T10:08:09.425Z] Removing intermediate container 4e2d9a1acd16 [2021-02-01T10:08:09.425Z] ---> ce90eaf0d65a [2021-02-01T10:08:09.425Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T10:08:09.425Z] ---> Running in 7c8bfd65e556 [2021-02-01T10:08:10.022Z] Removing intermediate container 7c8bfd65e556 [2021-02-01T10:08:10.022Z] ---> bb488af977d4 [2021-02-01T10:08:10.022Z] Step 14/24 : WORKDIR / [2021-02-01T10:08:10.022Z] ---> Running in 2cb57e7d7e15 [2021-02-01T10:08:10.295Z] Removing intermediate container 2cb57e7d7e15 [2021-02-01T10:08:10.295Z] ---> b350399d591c [2021-02-01T10:08:10.295Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T10:08:11.728Z] ---> bf713dc9daec [2021-02-01T10:08:11.728Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T10:08:12.331Z] ---> 40ad5ed4ada7 [2021-02-01T10:08:12.331Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T10:08:12.925Z] ---> e222ff218208 [2021-02-01T10:08:12.925Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T10:08:13.520Z] ---> 29fa4a929a5d [2021-02-01T10:08:13.520Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T10:08:14.499Z] ---> 4e0326a55934 [2021-02-01T10:08:14.499Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T10:08:14.499Z] ---> Running in 4007b0f82130 [2021-02-01T10:08:15.096Z] Removing intermediate container 4007b0f82130 [2021-02-01T10:08:15.096Z] ---> 51becf83a040 [2021-02-01T10:08:15.096Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T10:08:15.096Z] ---> Running in 3b65b7a24288 [2021-02-01T10:08:15.689Z] Removing intermediate container 3b65b7a24288 [2021-02-01T10:08:15.689Z] ---> e39fa81d7cfa [2021-02-01T10:08:15.689Z] Step 22/24 : LABEL arch=arm64 [2021-02-01T10:08:15.689Z] ---> Running in 7ec9533a5f03 [2021-02-01T10:08:16.284Z] Removing intermediate container 7ec9533a5f03 [2021-02-01T10:08:16.284Z] ---> 0c11c14940a3 [2021-02-01T10:08:16.284Z] Step 23/24 : LABEL git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:08:16.284Z] ---> Running in 24fa060da05b [2021-02-01T10:08:16.878Z] Removing intermediate container 24fa060da05b [2021-02-01T10:08:16.878Z] ---> d4edc584984c [2021-02-01T10:08:16.878Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T10:08:16.878Z] ---> Running in bb4664eff12a [2021-02-01T10:08:17.473Z] Removing intermediate container bb4664eff12a [2021-02-01T10:08:17.473Z] ---> 47c2edee58a9 [2021-02-01T10:08:17.473Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T10:08:17.473Z] Successfully built 47c2edee58a9 [2021-02-01T10:08:17.473Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-01T10:08:23.655Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-01T10:08:27.092Z] Removing intermediate container 6e42bd677512 [2021-02-01T10:08:27.092Z] ---> 53ab5a72a2a7 [2021-02-01T10:08:27.092Z] Step 10/24 : FROM scratch [2021-02-01T10:08:27.092Z] ---> [2021-02-01T10:08:27.092Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T10:08:27.092Z] ---> Running in bedfab295647 [2021-02-01T10:08:27.369Z] Removing intermediate container bedfab295647 [2021-02-01T10:08:27.369Z] ---> bf49141f8312 [2021-02-01T10:08:27.369Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-01T10:08:27.369Z] ---> Running in 91dd6a271f27 [2021-02-01T10:08:27.649Z] Removing intermediate container 91dd6a271f27 [2021-02-01T10:08:27.649Z] ---> b0f952d11fe0 [2021-02-01T10:08:27.649Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-01T10:08:27.649Z] ---> Running in 1b05f9a95e5c [2021-02-01T10:08:28.041Z] Removing intermediate container 1b05f9a95e5c [2021-02-01T10:08:28.041Z] ---> 16749312d269 [2021-02-01T10:08:28.041Z] Step 14/24 : WORKDIR / [2021-02-01T10:08:28.041Z] ---> Running in 68f13313e6e4 [2021-02-01T10:08:28.378Z] Removing intermediate container 68f13313e6e4 [2021-02-01T10:08:28.379Z] ---> 9acbd690bb3a [2021-02-01T10:08:28.379Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-01T10:08:29.813Z] ---> b0810cf1cca2 [2021-02-01T10:08:29.813Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-01T10:08:30.296Z] ---> ae9ad548094a [2021-02-01T10:08:30.296Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-01T10:08:30.593Z] ---> 6eac0bb479b8 [2021-02-01T10:08:30.593Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-01T10:08:31.577Z] ---> 333470030716 [2021-02-01T10:08:31.577Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-01T10:08:31.867Z] ---> bf3a5cfb9630 [2021-02-01T10:08:31.867Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-01T10:08:32.169Z] ---> Running in 281f95e014c5 [2021-02-01T10:08:32.481Z] Removing intermediate container 281f95e014c5 [2021-02-01T10:08:32.481Z] ---> bdee559254f9 [2021-02-01T10:08:32.481Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-01T10:08:32.481Z] ---> Running in 95523b34a8c5 [2021-02-01T10:08:32.762Z] Removing intermediate container 95523b34a8c5 [2021-02-01T10:08:32.762Z] ---> 3f9854330ed8 [2021-02-01T10:08:32.762Z] Step 22/24 : LABEL arch=amd64 [2021-02-01T10:08:32.762Z] ---> Running in 5493e3ec4ddf [2021-02-01T10:08:33.055Z] Removing intermediate container 5493e3ec4ddf [2021-02-01T10:08:33.055Z] ---> d30e0b583dc3 [2021-02-01T10:08:33.055Z] Step 23/24 : LABEL git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d [2021-02-01T10:08:33.338Z] ---> Running in 44af1f5f5b13 [2021-02-01T10:08:33.338Z] Removing intermediate container 44af1f5f5b13 [2021-02-01T10:08:33.338Z] ---> fee8f84025a9 [2021-02-01T10:08:33.338Z] Step 24/24 : LABEL version=0.0.0 [2021-02-01T10:08:33.610Z] ---> Running in cb100843a83e [2021-02-01T10:08:33.907Z] Removing intermediate container cb100843a83e [2021-02-01T10:08:33.907Z] ---> 55650edbed37 [2021-02-01T10:08:33.907Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-01T10:08:33.907Z] Successfully built 55650edbed37 [2021-02-01T10:08:33.907Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-01T10:08:36.395Z] provisioning config files... [2021-02-01T10:08:36.412Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config7195965305239194391tmp [Pipeline] { [Pipeline] sh [2021-02-01T10:08:36.949Z] + set +x [2021-02-01T10:08:36.949Z] + bash -s -- [2021-02-01T10:08:36.949Z] + curl -s https://codecov.io/bash [2021-02-01T10:08:37.226Z] [2021-02-01T10:08:37.226Z] _____ _ [2021-02-01T10:08:37.226Z] / ____| | | [2021-02-01T10:08:37.226Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T10:08:37.226Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T10:08:37.226Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T10:08:37.226Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T10:08:37.226Z] Bash-20210129-7c25fce [2021-02-01T10:08:37.226Z] [2021-02-01T10:08:37.226Z] [2021-02-01T10:08:37.226Z] ==> git version 2.24.3 found [2021-02-01T10:08:37.226Z] ==> 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-02-01T10:08:37.226Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T10:08:37.226Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T10:08:37.226Z] ==> Jenkins CI detected. [2021-02-01T10:08:37.226Z] project root: . [2021-02-01T10:08:37.226Z] --> token set from env [2021-02-01T10:08:37.226Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T10:08:37.494Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T10:08:37.494Z] ==> Python coveragepy not found [2021-02-01T10:08:37.494Z] ==> Searching for coverage reports in: [2021-02-01T10:08:37.494Z] + . [2021-02-01T10:08:37.494Z] -> Found 1 reports [2021-02-01T10:08:37.494Z] ==> Detecting git/mercurial file structure [2021-02-01T10:08:37.494Z] ==> Reading reports [2021-02-01T10:08:37.494Z] + ./coverage.out bytes=89771 [2021-02-01T10:08:37.494Z] ==> Appending adjustments [2021-02-01T10:08:37.494Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T10:08:38.093Z] + Found adjustments [2021-02-01T10:08:38.093Z] ==> Gzipping contents [2021-02-01T10:08:38.093Z] 16K /tmp/codecov.bmN91m.gz [2021-02-01T10:08:38.093Z] ==> Uploading reports [2021-02-01T10:08:38.093Z] url: https://codecov.io [2021-02-01T10:08:38.093Z] query: branch=PR-768&commit=9fe3938ee2d204b0af91be3145be6a464d2edd9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= [2021-02-01T10:08:38.093Z] -> Pinging Codecov [2021-02-01T10:08:38.093Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-768&commit=9fe3938ee2d204b0af91be3145be6a464d2edd9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= [2021-02-01T10:08:38.368Z] -> Uploading to [2021-02-01T10:08:38.368Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/9fe3938ee2d204b0af91be3145be6a464d2edd9d/caa25859-45e7-491a-a5a7-84373c6d545e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T100838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9af55f7ff1b25c0dea25e909c50cffdd5dbbdf2b47844ab158a983ef135c4068 [2021-02-01T10:08:38.368Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T10:08:38.368Z] Dload Upload Total Spent Left Speed [2021-02-01T10:08:38.963Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15244 0 0 100 15244 0 28550 --:--:-- --:--:-- --:--:-- 28600 [2021-02-01T10:08:38.963Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] } [2021-02-01T10:08:38.994Z] 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-02-01T10:08:42.778Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:08:43.425Z] ---> package-listing.sh [2021-02-01T10:08:43.425Z] ++ facter osfamily [2021-02-01T10:08:43.425Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T10:08:43.425Z] + OS_FAMILY=redhat [2021-02-01T10:08:43.425Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-768 [2021-02-01T10:08:43.425Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T10:08:43.425Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T10:08:43.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T10:08:43.425Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T10:08:43.425Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' [2021-02-01T10:08:43.425Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T10:08:43.425Z] + case "${OS_FAMILY}" in [2021-02-01T10:08:43.425Z] + rpm -qa [2021-02-01T10:08:43.425Z] + sort [2021-02-01T10:08:50.178Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T10:08:50.178Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T10:08:50.178Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T10:08:50.178Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' [2021-02-01T10:08:50.178Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [2021-02-01T10:08:50.178Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [Pipeline] echo [2021-02-01T10:08:50.231Z] 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-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T10:08:50.578Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:08:51.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T10:08:51.509Z] [2021-02-01T10:08:51.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T10:08:52.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T10:08:52.046Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T10:08:52.046Z] df20fa9351a1: Pulling fs layer [2021-02-01T10:08:52.046Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T10:08:52.046Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T10:08:52.046Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T10:08:52.046Z] 93b61091891f: Pulling fs layer [2021-02-01T10:08:52.046Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T10:08:52.046Z] 5e14af77c1be: Pulling fs layer [2021-02-01T10:08:52.046Z] 01666e4c0597: Pulling fs layer [2021-02-01T10:08:52.046Z] aa168da1d23b: Pulling fs layer [2021-02-01T10:08:52.046Z] 01666e4c0597: Waiting [2021-02-01T10:08:52.046Z] 93b61091891f: Waiting [2021-02-01T10:08:52.046Z] aa168da1d23b: Waiting [2021-02-01T10:08:52.046Z] 5e14af77c1be: Waiting [2021-02-01T10:08:52.046Z] 93b9cdb0e59b: Waiting [2021-02-01T10:08:52.340Z] 36b3adc4ff6f: Verifying Checksum [2021-02-01T10:08:52.340Z] 36b3adc4ff6f: Download complete [2021-02-01T10:08:52.340Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T10:08:52.340Z] 46f8f816bc3b: Download complete [2021-02-01T10:08:52.340Z] df20fa9351a1: Download complete [2021-02-01T10:08:52.340Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T10:08:52.340Z] 93b9cdb0e59b: Download complete [2021-02-01T10:08:52.340Z] 5e14af77c1be: Verifying Checksum [2021-02-01T10:08:52.340Z] 5e14af77c1be: Download complete [2021-02-01T10:08:52.340Z] 01666e4c0597: Verifying Checksum [2021-02-01T10:08:52.340Z] 01666e4c0597: Download complete [2021-02-01T10:08:52.612Z] 93b61091891f: Verifying Checksum [2021-02-01T10:08:52.612Z] 93b61091891f: Download complete [2021-02-01T10:08:52.894Z] df20fa9351a1: Pull complete [2021-02-01T10:08:53.498Z] 36b3adc4ff6f: Pull complete [2021-02-01T10:08:53.498Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T10:08:53.498Z] 8ad3a11d3b57: Download complete [2021-02-01T10:08:54.993Z] 8ad3a11d3b57: Pull complete [2021-02-01T10:08:55.292Z] 46f8f816bc3b: Pull complete [2021-02-01T10:08:56.728Z] 93b61091891f: Pull complete [2021-02-01T10:08:56.728Z] 93b9cdb0e59b: Pull complete [2021-02-01T10:08:57.321Z] aa168da1d23b: Verifying Checksum [2021-02-01T10:08:57.321Z] aa168da1d23b: Download complete [2021-02-01T10:08:57.321Z] 5e14af77c1be: Pull complete [2021-02-01T10:08:57.606Z] 01666e4c0597: Pull complete [2021-02-01T10:09:12.872Z] aa168da1d23b: Pull complete [2021-02-01T10:09:12.872Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T10:09:12.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T10:09:12.872Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T10:09:13.318Z] prd-centos7-docker-4c-2g-24323 does not seem to be running inside a container [2021-02-01T10:09:13.428Z] $ 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-768/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-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-01T10:09:16.739Z] $ docker top 8242f4d981248b84c5e54279358158d1e1dec6dfdc37228852987110b0aa9268 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T10:09:17.568Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T10:09:17.937Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T10:09:18.332Z] + ls /var/log/sa-host [2021-02-01T10:09:18.332Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T10:09:18.332Z] file_magic: OK [2021-02-01T10:09:18.332Z] HZ: Using current value: 100 [2021-02-01T10:09:18.332Z] file_header: OK [2021-02-01T10:09:18.332Z] 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-02-01T10:09:18.332Z] Statistics: [2021-02-01T10:09:18.332Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T10:09:18.332Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T10:09:18.332Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T10:09:18.332Z] file_magic: OK [2021-02-01T10:09:18.332Z] HZ: Using current value: 100 [2021-02-01T10:09:18.332Z] file_header: OK [2021-02-01T10:09:18.332Z] 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-02-01T10:09:18.332Z] Statistics: [2021-02-01T10:09:18.332Z] Hnuu...uuuununununu... [2021-02-01T10:09:18.332Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T10:09:19.062Z] provisioning config files... [2021-02-01T10:09:19.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config747172132897064308tmp [Pipeline] { [Pipeline] echo [2021-02-01T10:09:19.231Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:09:19.639Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T10:09:19.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T10:09:19.827Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:09:20.584Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T10:09:20.619Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:09:20.997Z] ---> sudo-logs.sh [2021-02-01T10:09:20.997Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T10:09:21.039Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:09:21.425Z] ---> job-cost.sh [2021-02-01T10:09:21.426Z] lf-activate-venv: SKIPPING [2021-02-01T10:09:21.426Z] INFO: No Stack... [2021-02-01T10:09:22.403Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T10:09:22.994Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T10:09:23.042Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T10:09:23.543Z] ---> logs-deploy.sh [2021-02-01T10:09:23.543Z] lf-activate-venv: SKIPPING [2021-02-01T10:09:23.543Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-768/1 [2021-02-01T10:09:23.543Z] INFO: archiving workspace using pattern(s): [2021-02-01T10:09:26.945Z] Archives upload complete. [2021-02-01T10:09:26.945Z] INFO: archiving logs to Nexus