Pull request #763 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 7cc05283413387bf8f3efd50400048b5b123b666+76d059c2e27a3d5d488ff0022063f09e99d334bf (1151aba85abac223df97de4bccd52194e551e130) 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-763/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-763/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23373 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-763 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) > 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 Commit message: "feat: make DeviceService struct updatable" 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-01-27T07:57:26.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T07:57:26.553Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T07:57:26.773Z] ========================================================= [2021-01-27T07:57:26.773Z] EdgeX Global Pipelines Version Info [2021-01-27T07:57:26.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T07:57:28.343Z] ------------------- [2021-01-27T07:57:28.343Z] stable info: [2021-01-27T07:57:28.343Z] ------------------- [2021-01-27T07:57:28.343Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T07:57:28.343Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T07:57:28.343Z] Message: update stable to v1.0.179 [2021-01-27T07:57:29.288Z] ------------------- [2021-01-27T07:57:29.288Z] experimental info: [2021-01-27T07:57:29.288Z] ------------------- [2021-01-27T07:57:29.288Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T07:57:29.288Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T07:57:29.288Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T07:57:29.666Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T07:57:29.790Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T07:57:29.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T07:57:31.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T07:57:31.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T07:57:32.101Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T07:57:32.259Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T07:57:32.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T07:57:32.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T07:57:32.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T07:57:32.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T07:57:32.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T07:57:33.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T07:57:33.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T07:57:33.422Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T07:57:33.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T07:57:33.680Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T07:57:33.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T07:57:33.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T07:57:34.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T07:57:34.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T07:57:34.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T07:57:34.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T07:57:34.631Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T07:57:34.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T07:57:34.915Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T07:57:35.044Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T07:57:35.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo [2021-01-27T07:57:35.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo [2021-01-27T07:57:35.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo [2021-01-27T07:57:35.558Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] echo [2021-01-27T07:57:35.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cc0528 [Pipeline] echo [2021-01-27T07:57:35.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T07:57:36.085Z] provisioning config files... [2021-01-27T07:57:36.115Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config5669040048559369952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T07:57:36.552Z] ---> docker-login.sh [2021-01-27T07:57:36.553Z] nexus3.edgexfoundry.org:10001 [2021-01-27T07:57:36.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:57:37.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:57:37.391Z] Configure a credential helper to remove this warning. See [2021-01-27T07:57:37.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:57:37.391Z] [2021-01-27T07:57:37.391Z] Login Succeeded [2021-01-27T07:57:37.391Z] nexus3.edgexfoundry.org:10002 [2021-01-27T07:57:37.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:57:37.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:57:37.391Z] Configure a credential helper to remove this warning. See [2021-01-27T07:57:37.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:57:37.391Z] [2021-01-27T07:57:37.391Z] Login Succeeded [2021-01-27T07:57:37.391Z] nexus3.edgexfoundry.org:10003 [2021-01-27T07:57:37.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:57:37.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:57:37.655Z] Configure a credential helper to remove this warning. See [2021-01-27T07:57:37.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:57:37.655Z] [2021-01-27T07:57:37.655Z] Login Succeeded [2021-01-27T07:57:37.655Z] nexus3.edgexfoundry.org:10004 [2021-01-27T07:57:37.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:57:37.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:57:37.917Z] Configure a credential helper to remove this warning. See [2021-01-27T07:57:37.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:57:37.917Z] [2021-01-27T07:57:37.917Z] Login Succeeded [2021-01-27T07:57:37.917Z] docker.io [2021-01-27T07:57:37.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:57:38.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:57:38.179Z] Configure a credential helper to remove this warning. See [2021-01-27T07:57:38.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:57:38.179Z] [2021-01-27T07:57:38.179Z] Login Succeeded [2021-01-27T07:57:38.179Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T07:57:38.204Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T07:57:39.268Z] + git log --format=format:%s -1 7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] echo [2021-01-27T07:57:39.351Z] GIT_COMMIT: 7cc05283413387bf8f3efd50400048b5b123b666, Commit Message: feat: make DeviceService struct updatable [Pipeline] echo [2021-01-27T07:57:39.435Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T07:57:40.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T07:57:40.547Z] [2021-01-27T07:57:40.547Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T07:57:40.952Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T07:57:41.223Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T07:57:41.223Z] 31603596830f: Pulling fs layer [2021-01-27T07:57:41.223Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T07:57:41.223Z] 6ca5941a6612: Pulling fs layer [2021-01-27T07:57:41.223Z] ecc8261a40a4: Pulling fs layer [2021-01-27T07:57:41.223Z] ecc8261a40a4: Waiting [2021-01-27T07:57:41.223Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T07:57:41.223Z] 2a8b12db71e7: Download complete [2021-01-27T07:57:41.223Z] 31603596830f: Verifying Checksum [2021-01-27T07:57:41.223Z] 31603596830f: Download complete [2021-01-27T07:57:41.496Z] 6ca5941a6612: Verifying Checksum [2021-01-27T07:57:41.496Z] 6ca5941a6612: Download complete [2021-01-27T07:57:41.496Z] ecc8261a40a4: Verifying Checksum [2021-01-27T07:57:41.496Z] ecc8261a40a4: Download complete [2021-01-27T07:57:41.763Z] 31603596830f: Pull complete [2021-01-27T07:57:42.026Z] 2a8b12db71e7: Pull complete [2021-01-27T07:57:42.604Z] 6ca5941a6612: Pull complete [2021-01-27T07:57:42.867Z] ecc8261a40a4: Pull complete [2021-01-27T07:57:42.867Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T07:57:42.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T07:57:42.867Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T07:57:42.999Z] prd-centos7-docker-4c-2g-23373 does not seem to be running inside a container [2021-01-27T07:57:43.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-27T07:57:45.283Z] $ docker top 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T07:57:45.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T07:57:45.745Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T07:57:45.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T07:57:45.989Z] $ docker exec 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent [2021-01-27T07:57:46.153Z] SSH_AUTH_SOCK=/tmp/ssh-TQC2EByehVIF/agent.12 [2021-01-27T07:57:46.153Z] SSH_AGENT_PID=17 [2021-01-27T07:57:46.168Z] Running ssh-add (command line suppressed) [2021-01-27T07:57:46.286Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9122359522244536527.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9122359522244536527.key) [2021-01-27T07:57:46.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T07:57:46.729Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T07:57:46.762Z] $ docker exec --env ******** --env ******** 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent -k [2021-01-27T07:57:46.868Z] unset SSH_AUTH_SOCK; [2021-01-27T07:57:46.868Z] unset SSH_AGENT_PID; [2021-01-27T07:57:46.868Z] echo Agent pid 17 killed; [2021-01-27T07:57:46.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T07:57:47.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T07:57:47.111Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T07:57:47.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T07:57:47.285Z] $ docker exec 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent [2021-01-27T07:57:47.449Z] SSH_AUTH_SOCK=/tmp/ssh-ie0dW84ebvRj/agent.46 [2021-01-27T07:57:47.449Z] SSH_AGENT_PID=52 [2021-01-27T07:57:47.465Z] Running ssh-add (command line suppressed) [2021-01-27T07:57:47.584Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_171116649843557296.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_171116649843557296.key) [2021-01-27T07:57:47.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T07:57:48.023Z] + git semver init [2021-01-27T07:57:48.024Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T07:57:48.024Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git [2021-01-27T07:57:48.024Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-27T07:57:48.024Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T07:57:48.024Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T07:57:48.024Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T07:57:48.024Z] # $SEMVER_BRANCH = PR-763 [2021-01-27T07:57:48.024Z] # $SEMVER_TEMP = /tmp/semver-343487466 [2021-01-27T07:57:48.024Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T07:57:48.612Z] # '/tmp/semver-343487466' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' [2021-01-27T07:57:48.612Z] # -> Force: false [2021-01-27T07:57:48.875Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } [2021-01-27T07:57:48.919Z] $ docker exec --env ******** --env ******** 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent -k [2021-01-27T07:57:49.031Z] unset SSH_AUTH_SOCK; [2021-01-27T07:57:49.031Z] unset SSH_AGENT_PID; [2021-01-27T07:57:49.031Z] echo Agent pid 52 killed; [2021-01-27T07:57:49.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T07:57:49.650Z] + git semver [Pipeline] } [2021-01-27T07:57:49.682Z] $ docker stop --time=1 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 [2021-01-27T07:57:51.049Z] $ docker rm -f 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T07:57:51.571Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T07:57:52.027Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T07:57:52.050Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-27T07:57:53.185Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23370 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-27T07:57:53.278Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-27T07:57:57.548Z] using credential edgex-jenkins-ssh [2021-01-27T07:57:57.611Z] Cloning the remote Git repository [2021-01-27T07:57:57.659Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T07:57:57.758Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T07:57:57.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T07:57:57.841Z] > git --version # timeout=10 [2021-01-27T07:57:57.857Z] > git --version # 'git version 2.17.1' [2021-01-27T07:57:57.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T07:57:57.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T07:57:58.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T07:57:58.919Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T07:57:58.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T07:57:58.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T07:57:58.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T07:57:58.990Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T07:57:59.619Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T07:57:59.830Z] Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T07:57:59.830Z] Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) [2021-01-27T07:57:59.638Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T07:57:59.651Z] > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 [2021-01-27T07:57:59.754Z] > git remote # timeout=10 [2021-01-27T07:57:59.770Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T07:57:59.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T07:57:59.793Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T07:57:59.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T07:57:59.835Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T07:57:59.850Z] > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 [2021-01-27T07:58:04.043Z] Commit message: "feat: make DeviceService struct updatable" [2021-01-27T07:58:04.122Z] > git --version # timeout=10 [2021-01-27T07:58:04.139Z] > git --version # 'git version 2.17.1' [2021-01-27T07:58:04.154Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T07:58:05.801Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T07:58:06.215Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T07:58:06.631Z] + sudo service docker restart [2021-01-27T07:58:06.631Z] + true [2021-01-27T07:58:07.929Z] Still waiting to schedule task [2021-01-27T07:58:07.930Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T07:58:08.788Z] provisioning config files... [2021-01-27T07:58:08.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6065815475929064779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T07:58:09.344Z] ---> docker-login.sh [2021-01-27T07:58:09.344Z] nexus3.edgexfoundry.org:10001 [2021-01-27T07:58:10.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:58:10.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:58:10.658Z] Configure a credential helper to remove this warning. See [2021-01-27T07:58:10.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:58:10.658Z] [2021-01-27T07:58:10.658Z] Login Succeeded [2021-01-27T07:58:10.658Z] nexus3.edgexfoundry.org:10002 [2021-01-27T07:58:10.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:58:11.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:58:11.213Z] Configure a credential helper to remove this warning. See [2021-01-27T07:58:11.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:58:11.213Z] [2021-01-27T07:58:11.213Z] Login Succeeded [2021-01-27T07:58:11.213Z] nexus3.edgexfoundry.org:10003 [2021-01-27T07:58:11.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:58:11.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:58:11.810Z] Configure a credential helper to remove this warning. See [2021-01-27T07:58:11.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:58:11.810Z] [2021-01-27T07:58:11.810Z] Login Succeeded [2021-01-27T07:58:11.810Z] nexus3.edgexfoundry.org:10004 [2021-01-27T07:58:12.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:58:12.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:58:12.361Z] Configure a credential helper to remove this warning. See [2021-01-27T07:58:12.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:58:12.361Z] [2021-01-27T07:58:12.361Z] Login Succeeded [2021-01-27T07:58:12.361Z] docker.io [2021-01-27T07:58:12.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T07:58:12.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T07:58:12.907Z] Configure a credential helper to remove this warning. See [2021-01-27T07:58:12.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T07:58:12.907Z] [2021-01-27T07:58:12.907Z] Login Succeeded [2021-01-27T07:58:12.907Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T07:58:13.207Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T07:58:13.718Z] ========================================================= [2021-01-27T07:58:13.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T07:58:13.718Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T07:58:14.156Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-27T07:58:14.761Z] Sending build context to Docker daemon 2.643MB [2021-01-27T07:58:14.761Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T07:58:14.761Z] Step 2/8 : FROM ${BASE} [2021-01-27T07:58:14.761Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T07:58:14.761Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T07:58:14.761Z] a4357932f1b6: Pulling fs layer [2021-01-27T07:58:14.761Z] 18c013af1878: Pulling fs layer [2021-01-27T07:58:14.761Z] 00ac8860ef70: Pulling fs layer [2021-01-27T07:58:14.761Z] 63d7cb157983: Pulling fs layer [2021-01-27T07:58:14.761Z] b116817d02f9: Pulling fs layer [2021-01-27T07:58:14.761Z] 745a02a5169b: Pulling fs layer [2021-01-27T07:58:14.761Z] 00ac8860ef70: Waiting [2021-01-27T07:58:14.761Z] 63d7cb157983: Waiting [2021-01-27T07:58:14.761Z] b116817d02f9: Waiting [2021-01-27T07:58:14.761Z] 745a02a5169b: Waiting [2021-01-27T07:58:14.761Z] 18c013af1878: Download complete [2021-01-27T07:58:14.761Z] a4357932f1b6: Verifying Checksum [2021-01-27T07:58:14.761Z] a4357932f1b6: Download complete [2021-01-27T07:58:14.761Z] 63d7cb157983: Verifying Checksum [2021-01-27T07:58:14.761Z] 63d7cb157983: Download complete [2021-01-27T07:58:14.761Z] b116817d02f9: Verifying Checksum [2021-01-27T07:58:14.761Z] b116817d02f9: Download complete [2021-01-27T07:58:15.036Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T07:58:15.036Z] 5f621e34cdf4: Download complete [2021-01-27T07:58:15.641Z] 5f621e34cdf4: Pull complete [2021-01-27T07:58:16.252Z] a4357932f1b6: Pull complete [2021-01-27T07:58:16.529Z] 18c013af1878: Pull complete [2021-01-27T07:58:17.125Z] 745a02a5169b: Verifying Checksum [2021-01-27T07:58:17.125Z] 745a02a5169b: Download complete [2021-01-27T07:58:18.571Z] 00ac8860ef70: Download complete [2021-01-27T07:58:31.076Z] 00ac8860ef70: Pull complete [2021-01-27T07:58:31.076Z] 63d7cb157983: Pull complete [2021-01-27T07:58:31.076Z] b116817d02f9: Pull complete [2021-01-27T07:58:33.700Z] 745a02a5169b: Pull complete [2021-01-27T07:58:33.700Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T07:58:33.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T07:58:33.700Z] ---> b7e6874047d6 [2021-01-27T07:58:33.700Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T07:58:36.335Z] ---> Running in d69337faee28 [2021-01-27T07:58:36.930Z] Removing intermediate container d69337faee28 [2021-01-27T07:58:36.930Z] ---> c956dd5a9a4e [2021-01-27T07:58:36.930Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T07:58:36.930Z] ---> Running in e0db7cfade62 [2021-01-27T07:58:39.563Z] Removing intermediate container e0db7cfade62 [2021-01-27T07:58:39.563Z] ---> de28528c3702 [2021-01-27T07:58:39.563Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T07:58:39.563Z] ---> Running in 650355c5cd47 [2021-01-27T07:58:40.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T07:58:41.150Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T07:58:41.744Z] OK: 142 MiB in 39 packages [2021-01-27T07:58:43.211Z] Removing intermediate container 650355c5cd47 [2021-01-27T07:58:43.211Z] ---> 254cf27e2b5f [2021-01-27T07:58:43.211Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T07:58:43.211Z] ---> Running in a3da3b438ae3 [2021-01-27T07:58:43.488Z] Removing intermediate container a3da3b438ae3 [2021-01-27T07:58:43.488Z] ---> 1dc6eeb80015 [2021-01-27T07:58:43.488Z] Step 7/8 : COPY . . [2021-01-27T07:58:44.926Z] ---> 20907e2583e9 [2021-01-27T07:58:44.926Z] Step 8/8 : RUN go mod download [2021-01-27T07:58:45.203Z] ---> Running in bb5a1e514888 [2021-01-27T07:59:07.385Z] Removing intermediate container bb5a1e514888 [2021-01-27T07:59:07.385Z] ---> bc0f25444841 [2021-01-27T07:59:07.385Z] Successfully built bc0f25444841 [2021-01-27T07:59:07.385Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T07:59:07.771Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T07:59:07.771Z] . [Pipeline] withDockerContainer [2021-01-27T07:59:08.026Z] prd-ubuntu18.04-docker-arm64-4c-16g-23370 does not seem to be running inside a container [2021-01-27T07:59:08.104Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-27T07:59:09.583Z] $ docker top 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T07:59:10.662Z] + go version [2021-01-27T07:59:10.662Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T07:59:10.704Z] $ docker stop --time=1 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 [2021-01-27T07:59:12.527Z] $ docker rm -f 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T07:59:13.814Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T07:59:13.814Z] . [Pipeline] withDockerContainer [2021-01-27T07:59:14.108Z] prd-ubuntu18.04-docker-arm64-4c-16g-23370 does not seem to be running inside a container [2021-01-27T07:59:14.190Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-27T07:59:15.521Z] $ docker top 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T07:59:16.535Z] + make test [2021-01-27T07:59:16.535Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T07:59:38.730Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T08:00:17.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T08:00:17.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T08:00:17.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T08:00:17.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 19.4% of statements [2021-01-27T08:00:23.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.170s coverage: 97.1% of statements [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 9.4% of statements [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 21.7% of statements [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.601s coverage: 43.6% of statements [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.776s coverage: 68.9% of statements [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 53.8% of statements [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.162s coverage: 25.2% of statements [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.905s coverage: 83.5% of statements [2021-01-27T08:00:55.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements [2021-01-27T08:00:55.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T08:00:55.569Z] GO111MODULE=on go vet ./... [2021-01-27T08:00:59.518Z] Running on prd-centos7-docker-4c-2g-23374 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws [2021-01-27T08:00:59.625Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-27T08:01:06.349Z] using credential edgex-jenkins-ssh [2021-01-27T08:01:06.417Z] Cloning the remote Git repository [2021-01-27T08:01:06.485Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T08:01:06.605Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T08:01:06.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T08:01:06.728Z] > git --version # timeout=10 [2021-01-27T08:01:06.772Z] > git --version # 'git version 2.24.3' [2021-01-27T08:01:06.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T08:01:06.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T08:01:07.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T08:01:07.831Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T08:01:07.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T08:01:07.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T08:01:07.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T08:01:07.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T08:01:08.467Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T08:01:08.712Z] Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T08:01:08.713Z] Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) [2021-01-27T08:01:08.482Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T08:01:08.513Z] > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 [2021-01-27T08:01:08.626Z] > git remote # timeout=10 [2021-01-27T08:01:08.651Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T08:01:08.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T08:01:08.681Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T08:01:08.698Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T08:01:08.719Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T08:01:08.737Z] > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 [2021-01-27T08:01:13.007Z] Commit message: "feat: make DeviceService struct updatable" [2021-01-27T08:01:13.053Z] > git --version # timeout=10 [2021-01-27T08:01:13.069Z] > git --version # 'git version 2.24.3' [2021-01-27T08:01:13.106Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T08:01:14.885Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T08:01:15.313Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T08:01:15.706Z] + true [2021-01-27T08:01:15.706Z] + sudo service docker restart [2021-01-27T08:01:15.706Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T08:01:17.874Z] provisioning config files... [2021-01-27T08:01:17.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3180263747529608029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:01:18.436Z] ---> docker-login.sh [2021-01-27T08:01:18.436Z] nexus3.edgexfoundry.org:10001 [2021-01-27T08:01:19.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T08:01:19.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T08:01:19.324Z] Configure a credential helper to remove this warning. See [2021-01-27T08:01:19.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T08:01:19.324Z] [2021-01-27T08:01:19.324Z] Login Succeeded [2021-01-27T08:01:19.324Z] nexus3.edgexfoundry.org:10002 [2021-01-27T08:01:19.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T08:01:19.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T08:01:19.612Z] Configure a credential helper to remove this warning. See [2021-01-27T08:01:19.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T08:01:19.612Z] [2021-01-27T08:01:19.612Z] Login Succeeded [2021-01-27T08:01:19.612Z] nexus3.edgexfoundry.org:10003 [2021-01-27T08:01:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T08:01:20.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T08:01:20.186Z] Configure a credential helper to remove this warning. See [2021-01-27T08:01:20.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T08:01:20.186Z] [2021-01-27T08:01:20.186Z] Login Succeeded [2021-01-27T08:01:20.186Z] nexus3.edgexfoundry.org:10004 [2021-01-27T08:01:20.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T08:01:20.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T08:01:20.772Z] Configure a credential helper to remove this warning. See [2021-01-27T08:01:20.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T08:01:20.772Z] [2021-01-27T08:01:20.772Z] Login Succeeded [2021-01-27T08:01:20.772Z] docker.io [2021-01-27T08:01:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T08:01:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T08:01:21.303Z] Configure a credential helper to remove this warning. See [2021-01-27T08:01:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T08:01:21.303Z] [2021-01-27T08:01:21.303Z] Login Succeeded [2021-01-27T08:01:21.303Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T08:01:21.332Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T08:01:22.169Z] ========================================================= [2021-01-27T08:01:22.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T08:01:22.169Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:01:22.807Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T08:01:23.194Z] Sending build context to Docker daemon 2.637MB [2021-01-27T08:01:23.194Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T08:01:23.194Z] Step 2/8 : FROM ${BASE} [2021-01-27T08:01:23.194Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T08:01:23.194Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T08:01:23.194Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T08:01:23.194Z] de9db76c5a1d: Pulling fs layer [2021-01-27T08:01:23.195Z] bca2f99d35d6: Pulling fs layer [2021-01-27T08:01:23.195Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T08:01:23.195Z] 7c6f9722023f: Pulling fs layer [2021-01-27T08:01:23.195Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T08:01:23.195Z] bca2f99d35d6: Waiting [2021-01-27T08:01:23.195Z] 93359f2a8cfa: Waiting [2021-01-27T08:01:23.195Z] 7c6f9722023f: Waiting [2021-01-27T08:01:23.195Z] a35cf1a2eb13: Waiting [2021-01-27T08:01:23.498Z] de9db76c5a1d: Verifying Checksum [2021-01-27T08:01:23.498Z] de9db76c5a1d: Download complete [2021-01-27T08:01:23.498Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T08:01:23.498Z] 0ef7d3d256c8: Download complete [2021-01-27T08:01:23.498Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T08:01:23.498Z] 93359f2a8cfa: Download complete [2021-01-27T08:01:23.498Z] 7c6f9722023f: Verifying Checksum [2021-01-27T08:01:23.498Z] 7c6f9722023f: Download complete [2021-01-27T08:01:23.498Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T08:01:23.498Z] 188c0c94c7c5: Download complete [2021-01-27T08:01:24.188Z] 188c0c94c7c5: Pull complete [2021-01-27T08:01:24.472Z] 0ef7d3d256c8: Pull complete [2021-01-27T08:01:24.743Z] de9db76c5a1d: Pull complete [2021-01-27T08:01:27.455Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T08:01:27.455Z] a35cf1a2eb13: Download complete [2021-01-27T08:01:27.993Z] gofmt -l . [2021-01-27T08:01:27.993Z] [ "`gofmt -l .`" = "" ] [2021-01-27T08:01:27.993Z] ./bin/test-attribution-txt.sh [2021-01-27T08:01:27.993Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T08:01:28.028Z] $ docker stop --time=1 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea [2021-01-27T08:01:30.251Z] $ docker rm -f 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea [2021-01-27T08:01:30.299Z] bca2f99d35d6: Verifying Checksum [2021-01-27T08:01:30.300Z] bca2f99d35d6: Download complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T08:01:31.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T08:01:32.425Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T08:01:35.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T08:01:35.633Z] + ls -al . [2021-01-27T08:01:35.633Z] total 252 [2021-01-27T08:01:35.633Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 08:01 . [2021-01-27T08:01:35.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 .. [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 07:57 .dockerignore [2021-01-27T08:01:35.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 07:58 .git [2021-01-27T08:01:35.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 07:57 .github [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 07:57 .gitignore [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 07:57 Dockerfile.build [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 07:57 Jenkinsfile [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 07:57 LICENSE [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 07:57 Makefile [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 07:57 README.md [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 07:57 RELEASE-NOTES.txt [2021-01-27T08:01:35.633Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 07:57 VERSION [2021-01-27T08:01:35.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 07:57 bin [2021-01-27T08:01:35.633Z] -rw-r--r-- 1 jenkins jenkins 137333 Jan 27 08:00 coverage.out [2021-01-27T08:01:35.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 example [2021-01-27T08:01:35.633Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 08:01 go.mod [2021-01-27T08:01:35.633Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 27 08:01 go.sum [2021-01-27T08:01:35.634Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 07:57 internal [2021-01-27T08:01:35.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 openapi [2021-01-27T08:01:35.634Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 07:57 pkg [2021-01-27T08:01:35.634Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 snap [2021-01-27T08:01:35.634Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 07:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:01:36.039Z] + 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=7cc05283413387bf8f3efd50400048b5b123b666 --label arch=arm64 --label version=0.0.0 . [2021-01-27T08:01:36.670Z] Sending build context to Docker daemon 2.781MB [2021-01-27T08:01:36.670Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T08:01:36.670Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T08:01:36.670Z] ---> bc0f25444841 [2021-01-27T08:01:36.670Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T08:01:36.670Z] ---> Running in e858f7960da4 [2021-01-27T08:01:37.267Z] Removing intermediate container e858f7960da4 [2021-01-27T08:01:37.267Z] ---> a6d08336ab79 [2021-01-27T08:01:37.267Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T08:01:37.267Z] ---> Running in 14eea69e081c [2021-01-27T08:01:37.867Z] Removing intermediate container 14eea69e081c [2021-01-27T08:01:37.867Z] ---> c8b0f8abcc26 [2021-01-27T08:01:37.867Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T08:01:37.867Z] ---> Running in c80bda94600d [2021-01-27T08:01:38.468Z] Removing intermediate container c80bda94600d [2021-01-27T08:01:38.468Z] ---> baaa2b087d04 [2021-01-27T08:01:38.468Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T08:01:38.468Z] ---> Running in 66a1627ae42f [2021-01-27T08:01:40.445Z] Removing intermediate container 66a1627ae42f [2021-01-27T08:01:40.445Z] ---> 85e225174922 [2021-01-27T08:01:40.445Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T08:01:40.719Z] ---> Running in 1b458560bdac [2021-01-27T08:01:41.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T08:01:42.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T08:01:42.921Z] bca2f99d35d6: Pull complete [2021-01-27T08:01:42.921Z] 93359f2a8cfa: Pull complete [2021-01-27T08:01:42.921Z] 7c6f9722023f: Pull complete [2021-01-27T08:01:43.278Z] OK: 142 MiB in 39 packages [2021-01-27T08:01:44.710Z] Removing intermediate container 1b458560bdac [2021-01-27T08:01:44.710Z] ---> 576325bda4ee [2021-01-27T08:01:44.710Z] Step 8/24 : COPY . . [2021-01-27T08:01:46.143Z] ---> bf65842a9640 [2021-01-27T08:01:46.143Z] Step 9/24 : RUN ${MAKE} [2021-01-27T08:01:46.143Z] ---> Running in 2c56eba84970 [2021-01-27T08:01:47.120Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T08:01:49.877Z] a35cf1a2eb13: Pull complete [2021-01-27T08:01:49.877Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T08:01:49.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T08:01:49.877Z] ---> a62c8e92a672 [2021-01-27T08:01:49.877Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T08:01:50.198Z] ---> Running in a68ea405f5e7 [2021-01-27T08:01:50.830Z] Removing intermediate container a68ea405f5e7 [2021-01-27T08:01:50.830Z] ---> a53ccb10ce55 [2021-01-27T08:01:50.830Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T08:01:50.830Z] ---> Running in 2ff00ed9a259 [2021-01-27T08:01:52.831Z] Removing intermediate container 2ff00ed9a259 [2021-01-27T08:01:52.831Z] ---> a949fd5976b1 [2021-01-27T08:01:52.831Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T08:01:52.831Z] ---> Running in 34afc852bb71 [2021-01-27T08:01:53.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T08:01:54.439Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T08:01:54.710Z] OK: 166 MiB in 39 packages [2021-01-27T08:01:55.294Z] Removing intermediate container 34afc852bb71 [2021-01-27T08:01:55.295Z] ---> b72d549f62f7 [2021-01-27T08:01:55.295Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T08:01:55.562Z] ---> Running in 6ed60315cc07 [2021-01-27T08:01:55.885Z] Removing intermediate container 6ed60315cc07 [2021-01-27T08:01:55.885Z] ---> f2258c9346e0 [2021-01-27T08:01:55.885Z] Step 7/8 : COPY . . [2021-01-27T08:01:57.876Z] ---> 739642f16149 [2021-01-27T08:01:57.876Z] Step 8/8 : RUN go mod download [2021-01-27T08:01:57.876Z] ---> Running in 15fa12843eba [2021-01-27T08:02:13.923Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T08:02:13.923Z] Removing intermediate container 2c56eba84970 [2021-01-27T08:02:13.923Z] ---> 7937fe32c6e0 [2021-01-27T08:02:13.923Z] Step 10/24 : FROM scratch [2021-01-27T08:02:13.923Z] ---> [2021-01-27T08:02:13.923Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T08:02:13.923Z] ---> Running in 63e36ab7c488 [2021-01-27T08:02:14.202Z] Removing intermediate container 63e36ab7c488 [2021-01-27T08:02:14.202Z] ---> 107051a0b6d0 [2021-01-27T08:02:14.202Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T08:02:14.202Z] ---> Running in efe48a01e3cb [2021-01-27T08:02:14.803Z] Removing intermediate container efe48a01e3cb [2021-01-27T08:02:14.804Z] ---> 41417f23c946 [2021-01-27T08:02:14.804Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T08:02:14.804Z] ---> Running in 35c0b5e0d221 [2021-01-27T08:02:15.399Z] Removing intermediate container 35c0b5e0d221 [2021-01-27T08:02:15.399Z] ---> b55716852c01 [2021-01-27T08:02:15.399Z] Step 14/24 : WORKDIR / [2021-01-27T08:02:15.399Z] ---> Running in c4abd686d358 [2021-01-27T08:02:15.992Z] Removing intermediate container c4abd686d358 [2021-01-27T08:02:15.992Z] ---> a3b285b93c0d [2021-01-27T08:02:15.992Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T08:02:16.969Z] ---> 61b704bf9391 [2021-01-27T08:02:16.969Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T08:02:17.568Z] ---> ea984fd54deb [2021-01-27T08:02:17.568Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T08:02:18.549Z] ---> 55ed2ba004bf [2021-01-27T08:02:18.549Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T08:02:19.141Z] ---> 6d68fbd814bc [2021-01-27T08:02:19.141Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T08:02:19.736Z] ---> 1638c05e55b3 [2021-01-27T08:02:19.736Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T08:02:20.015Z] ---> Running in f2ac1184a743 [2021-01-27T08:02:20.284Z] Removing intermediate container f2ac1184a743 [2021-01-27T08:02:20.284Z] ---> 0ebd00c58154 [2021-01-27T08:02:20.284Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T08:02:20.557Z] ---> Running in 9c2879adf919 [2021-01-27T08:02:20.827Z] Removing intermediate container 9c2879adf919 [2021-01-27T08:02:20.827Z] ---> ed72ade7cdf1 [2021-01-27T08:02:20.827Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T08:02:21.098Z] ---> Running in c97bb5403732 [2021-01-27T08:02:21.377Z] Removing intermediate container c97bb5403732 [2021-01-27T08:02:21.377Z] ---> 855a3564aebd [2021-01-27T08:02:21.377Z] Step 23/24 : LABEL git_sha=7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T08:02:21.649Z] ---> Running in a6961170a413 [2021-01-27T08:02:22.239Z] Removing intermediate container a6961170a413 [2021-01-27T08:02:22.239Z] ---> f2e557c62458 [2021-01-27T08:02:22.239Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T08:02:22.239Z] ---> Running in 5f15d775e2d7 [2021-01-27T08:02:22.510Z] Removing intermediate container 5f15d775e2d7 [2021-01-27T08:02:22.510Z] ---> 6ab2172530f9 [2021-01-27T08:02:22.510Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T08:02:22.780Z] Successfully built 6ab2172530f9 [2021-01-27T08:02:22.780Z] 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-01-27T08:02:24.977Z] Removing intermediate container 15fa12843eba [2021-01-27T08:02:24.977Z] ---> 96bff07a174b [2021-01-27T08:02:24.977Z] Successfully built 96bff07a174b [2021-01-27T08:02:24.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:02:25.400Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T08:02:25.683Z] . [Pipeline] withDockerContainer [2021-01-27T08:02:25.908Z] prd-centos7-docker-4c-2g-23374 does not seem to be running inside a container [2021-01-27T08:02:26.036Z] $ 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-01-27T08:02:27.831Z] $ docker top 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T08:02:28.578Z] + go version [2021-01-27T08:02:28.578Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T08:02:28.632Z] $ docker stop --time=1 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 [2021-01-27T08:02:30.217Z] $ docker rm -f 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:02:31.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T08:02:31.569Z] . [Pipeline] withDockerContainer [2021-01-27T08:02:31.764Z] prd-centos7-docker-4c-2g-23374 does not seem to be running inside a container [2021-01-27T08:02:31.898Z] $ 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-01-27T08:02:33.011Z] $ docker top 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T08:02:33.801Z] + make test [2021-01-27T08:02:33.801Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T08:02:49.090Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T08:03:16.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T08:03:16.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T08:03:16.822Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T08:03:16.822Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 19.4% of statements [2021-01-27T08:03:21.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.685s coverage: 97.1% of statements [2021-01-27T08:03:48.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements [2021-01-27T08:03:48.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements [2021-01-27T08:03:48.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.338s coverage: 43.6% of statements [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.591s coverage: 68.9% of statements [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 53.8% of statements [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.164s coverage: 25.2% of statements [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.253s coverage: 83.5% of statements [2021-01-27T08:03:48.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.811s coverage: 4.2% of statements [2021-01-27T08:03:48.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T08:03:48.719Z] GO111MODULE=on go vet ./... [2021-01-27T08:04:11.546Z] gofmt -l . [2021-01-27T08:04:11.547Z] [ "`gofmt -l .`" = "" ] [2021-01-27T08:04:11.547Z] ./bin/test-attribution-txt.sh [2021-01-27T08:04:13.039Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T08:04:13.687Z] $ docker stop --time=1 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb [2021-01-27T08:04:15.913Z] $ docker rm -f 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T08:04:16.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T08:04:16.983Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T08:04:17.581Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-27T08:04:18.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T08:04:18.710Z] + ls -al . [2021-01-27T08:04:18.710Z] total 216 [2021-01-27T08:04:18.710Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 08:04 . [2021-01-27T08:04:18.710Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 08:01 .. [2021-01-27T08:04:18.710Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 08:01 bin [2021-01-27T08:04:18.710Z] -rw-r--r--. 1 jenkins jenkins 137333 Jan 27 08:03 coverage.out [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 08:01 Dockerfile.build [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 08:01 .dockerignore [2021-01-27T08:04:18.710Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 08:01 example [2021-01-27T08:04:18.710Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 08:01 .git [2021-01-27T08:04:18.710Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 08:01 .github [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 08:01 .gitignore [2021-01-27T08:04:18.710Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 08:04 go.mod [2021-01-27T08:04:18.710Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 27 08:04 go.sum [2021-01-27T08:04:18.710Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 08:01 internal [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 08:01 Jenkinsfile [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 08:01 LICENSE [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 08:01 Makefile [2021-01-27T08:04:18.710Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 08:01 openapi [2021-01-27T08:04:18.710Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 08:01 pkg [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 08:01 README.md [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 08:01 RELEASE-NOTES.txt [2021-01-27T08:04:18.710Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 08:01 snap [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 07:57 VERSION [2021-01-27T08:04:18.710Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 08:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:04:19.164Z] + 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=7cc05283413387bf8f3efd50400048b5b123b666 --label arch=amd64 --label version=0.0.0 . [2021-01-27T08:04:19.764Z] Sending build context to Docker daemon 2.775MB [2021-01-27T08:04:19.764Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T08:04:19.764Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T08:04:19.764Z] ---> 96bff07a174b [2021-01-27T08:04:19.764Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T08:04:20.039Z] ---> Running in 19d69067ec8b [2021-01-27T08:04:20.379Z] Removing intermediate container 19d69067ec8b [2021-01-27T08:04:20.379Z] ---> 18b507f48496 [2021-01-27T08:04:20.379Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T08:04:20.379Z] ---> Running in 0d8b26844693 [2021-01-27T08:04:20.674Z] Removing intermediate container 0d8b26844693 [2021-01-27T08:04:20.674Z] ---> 0b8c1748e822 [2021-01-27T08:04:20.674Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T08:04:20.674Z] ---> Running in 75e46c0133f8 [2021-01-27T08:04:20.968Z] Removing intermediate container 75e46c0133f8 [2021-01-27T08:04:20.968Z] ---> b53debcf0ee6 [2021-01-27T08:04:20.968Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T08:04:21.253Z] ---> Running in 5e782c2e5af7 [2021-01-27T08:04:22.703Z] Removing intermediate container 5e782c2e5af7 [2021-01-27T08:04:22.703Z] ---> 588907352648 [2021-01-27T08:04:22.703Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T08:04:22.703Z] ---> Running in 1e4b74283b91 [2021-01-27T08:04:23.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T08:04:24.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T08:04:24.615Z] OK: 166 MiB in 39 packages [2021-01-27T08:04:25.615Z] Removing intermediate container 1e4b74283b91 [2021-01-27T08:04:25.615Z] ---> 3a26f8aa83bb [2021-01-27T08:04:25.615Z] Step 8/24 : COPY . . [2021-01-27T08:04:27.179Z] ---> 299989f92228 [2021-01-27T08:04:27.179Z] Step 9/24 : RUN ${MAKE} [2021-01-27T08:04:27.179Z] ---> Running in 2761ed3a4a80 [2021-01-27T08:04:28.219Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T08:04:52.597Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T08:04:54.034Z] Removing intermediate container 2761ed3a4a80 [2021-01-27T08:04:54.034Z] ---> facbcbfcd7ca [2021-01-27T08:04:54.034Z] Step 10/24 : FROM scratch [2021-01-27T08:04:54.034Z] ---> [2021-01-27T08:04:54.034Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T08:04:54.315Z] ---> Running in 4e7895cfa649 [2021-01-27T08:04:54.315Z] Removing intermediate container 4e7895cfa649 [2021-01-27T08:04:54.315Z] ---> 84c9c4e9d830 [2021-01-27T08:04:54.315Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T08:04:54.315Z] ---> Running in 9e8297dfe0f1 [2021-01-27T08:04:54.975Z] Removing intermediate container 9e8297dfe0f1 [2021-01-27T08:04:54.975Z] ---> a2155ebdfb50 [2021-01-27T08:04:54.975Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T08:04:54.975Z] ---> Running in 49a28fca7fd9 [2021-01-27T08:04:55.273Z] Removing intermediate container 49a28fca7fd9 [2021-01-27T08:04:55.273Z] ---> 42f5e17d90cd [2021-01-27T08:04:55.273Z] Step 14/24 : WORKDIR / [2021-01-27T08:04:55.273Z] ---> Running in 1b43971ec429 [2021-01-27T08:04:55.582Z] Removing intermediate container 1b43971ec429 [2021-01-27T08:04:55.582Z] ---> 36ba18a217b2 [2021-01-27T08:04:55.582Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T08:04:56.293Z] ---> 61a68e6930c3 [2021-01-27T08:04:56.293Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T08:04:56.929Z] ---> 9e6e053df93f [2021-01-27T08:04:56.929Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T08:04:57.235Z] ---> c013c96a9010 [2021-01-27T08:04:57.235Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T08:04:57.929Z] ---> ec1f26e8237d [2021-01-27T08:04:57.929Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T08:04:58.598Z] ---> ba819b5290a2 [2021-01-27T08:04:58.598Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T08:04:58.885Z] ---> Running in d0ea007238f9 [2021-01-27T08:04:59.181Z] Removing intermediate container d0ea007238f9 [2021-01-27T08:04:59.181Z] ---> 65ee5753b7b3 [2021-01-27T08:04:59.181Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T08:04:59.487Z] ---> Running in 98bf31cd8c1e [2021-01-27T08:04:59.796Z] Removing intermediate container 98bf31cd8c1e [2021-01-27T08:04:59.796Z] ---> a1c9bfbcb905 [2021-01-27T08:04:59.796Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T08:05:00.088Z] ---> Running in 3178c1ad329f [2021-01-27T08:05:00.374Z] Removing intermediate container 3178c1ad329f [2021-01-27T08:05:00.374Z] ---> b96cb922ccdc [2021-01-27T08:05:00.374Z] Step 23/24 : LABEL git_sha=7cc05283413387bf8f3efd50400048b5b123b666 [2021-01-27T08:05:00.647Z] ---> Running in 2480e246cd40 [2021-01-27T08:05:00.922Z] Removing intermediate container 2480e246cd40 [2021-01-27T08:05:00.922Z] ---> 795658139d95 [2021-01-27T08:05:00.922Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T08:05:00.922Z] ---> Running in 9ba84620f06f [2021-01-27T08:05:01.229Z] Removing intermediate container 9ba84620f06f [2021-01-27T08:05:01.229Z] ---> 413e48871337 [2021-01-27T08:05:01.229Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T08:05:01.229Z] Successfully built 413e48871337 [2021-01-27T08:05:01.229Z] 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-01-27T08:05:03.902Z] provisioning config files... [2021-01-27T08:05:03.915Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config520040514326977269tmp [Pipeline] { [Pipeline] sh [2021-01-27T08:05:04.355Z] + set +x [2021-01-27T08:05:04.355Z] + curl -s https://codecov.io/bash [2021-01-27T08:05:04.355Z] + bash -s -- [2021-01-27T08:05:04.931Z] [2021-01-27T08:05:04.931Z] _____ _ [2021-01-27T08:05:04.931Z] / ____| | | [2021-01-27T08:05:04.931Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T08:05:04.931Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T08:05:04.931Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T08:05:04.931Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T08:05:04.931Z] Bash-20210115-cec3c92 [2021-01-27T08:05:04.931Z] [2021-01-27T08:05:04.931Z] [2021-01-27T08:05:04.931Z] ==> git version 2.24.3 found [2021-01-27T08:05:04.931Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-27T08:05:04.931Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T08:05:04.931Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T08:05:04.931Z] ==> Jenkins CI detected. [2021-01-27T08:05:04.931Z] project root: . [2021-01-27T08:05:04.931Z] --> token set from env [2021-01-27T08:05:04.931Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T08:05:04.931Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T08:05:04.931Z] ==> Python coveragepy not found [2021-01-27T08:05:04.931Z] ==> Searching for coverage reports in: [2021-01-27T08:05:04.931Z] + . [2021-01-27T08:05:04.931Z] -> Found 1 reports [2021-01-27T08:05:04.931Z] ==> Detecting git/mercurial file structure [2021-01-27T08:05:04.931Z] ==> Reading reports [2021-01-27T08:05:04.931Z] + ./coverage.out bytes=137333 [2021-01-27T08:05:04.931Z] ==> Appending adjustments [2021-01-27T08:05:04.931Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T08:05:05.194Z] + Found adjustments [2021-01-27T08:05:05.194Z] ==> Gzipping contents [2021-01-27T08:05:05.457Z] 24K /tmp/codecov.EzblDn.gz [2021-01-27T08:05:05.457Z] ==> Uploading reports [2021-01-27T08:05:05.457Z] url: https://codecov.io [2021-01-27T08:05:05.457Z] query: branch=PR-763&commit=7cc05283413387bf8f3efd50400048b5b123b666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-27T08:05:05.457Z] -> Pinging Codecov [2021-01-27T08:05:05.457Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-763&commit=7cc05283413387bf8f3efd50400048b5b123b666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= [2021-01-27T08:05:05.719Z] -> Uploading to [2021-01-27T08:05:05.719Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/7cc05283413387bf8f3efd50400048b5b123b666/055e70ba-7205-4a9c-8f6d-d95351d8f325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T080505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92882e866b7ecbfb9088093c6c182f4f255dfa6a4a242e75ba5efb3b28fb4c54 [2021-01-27T08:05:05.719Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T08:05:05.719Z] Dload Upload Total Spent Left Speed [2021-01-27T08:05:06.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21611 0 0 100 21611 0 49507 --:--:-- --:--:-- --:--:-- 49453 [2021-01-27T08:05:06.244Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] } [2021-01-27T08:05:06.268Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:10.029Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:10.368Z] ---> package-listing.sh [2021-01-27T08:05:10.368Z] ++ facter osfamily [2021-01-27T08:05:10.368Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T08:05:10.368Z] + OS_FAMILY=redhat [2021-01-27T08:05:10.368Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 [2021-01-27T08:05:10.368Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T08:05:10.368Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T08:05:10.368Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T08:05:10.368Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T08:05:10.368Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-27T08:05:10.368Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T08:05:10.368Z] + case "${OS_FAMILY}" in [2021-01-27T08:05:10.368Z] + rpm -qa [2021-01-27T08:05:10.368Z] + sort [2021-01-27T08:05:15.680Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T08:05:15.680Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T08:05:15.680Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T08:05:15.680Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' [2021-01-27T08:05:15.680Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [2021-01-27T08:05:15.680Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo [2021-01-27T08:05:15.713Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T08:05:16.029Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:05:16.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T08:05:16.400Z] [2021-01-27T08:05:16.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T08:05:16.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T08:05:16.848Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T08:05:16.848Z] df20fa9351a1: Pulling fs layer [2021-01-27T08:05:16.848Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T08:05:16.848Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T08:05:16.848Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T08:05:16.848Z] 93b61091891f: Pulling fs layer [2021-01-27T08:05:16.848Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T08:05:16.848Z] 5e14af77c1be: Pulling fs layer [2021-01-27T08:05:16.848Z] 01666e4c0597: Pulling fs layer [2021-01-27T08:05:16.848Z] aa168da1d23b: Pulling fs layer [2021-01-27T08:05:16.848Z] 93b9cdb0e59b: Waiting [2021-01-27T08:05:16.848Z] 5e14af77c1be: Waiting [2021-01-27T08:05:16.848Z] 01666e4c0597: Waiting [2021-01-27T08:05:16.848Z] aa168da1d23b: Waiting [2021-01-27T08:05:16.848Z] 46f8f816bc3b: Waiting [2021-01-27T08:05:16.848Z] 93b61091891f: Waiting [2021-01-27T08:05:16.848Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T08:05:16.848Z] 36b3adc4ff6f: Download complete [2021-01-27T08:05:16.848Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T08:05:16.848Z] 46f8f816bc3b: Download complete [2021-01-27T08:05:17.110Z] df20fa9351a1: Verifying Checksum [2021-01-27T08:05:17.110Z] df20fa9351a1: Download complete [2021-01-27T08:05:17.110Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T08:05:17.110Z] 93b9cdb0e59b: Download complete [2021-01-27T08:05:17.110Z] 5e14af77c1be: Verifying Checksum [2021-01-27T08:05:17.110Z] 5e14af77c1be: Download complete [2021-01-27T08:05:17.110Z] 01666e4c0597: Verifying Checksum [2021-01-27T08:05:17.110Z] 01666e4c0597: Download complete [2021-01-27T08:05:17.379Z] df20fa9351a1: Pull complete [2021-01-27T08:05:17.643Z] 36b3adc4ff6f: Pull complete [2021-01-27T08:05:17.908Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T08:05:17.908Z] 8ad3a11d3b57: Download complete [2021-01-27T08:05:18.173Z] 93b61091891f: Verifying Checksum [2021-01-27T08:05:18.174Z] 93b61091891f: Download complete [2021-01-27T08:05:18.765Z] 8ad3a11d3b57: Pull complete [2021-01-27T08:05:18.765Z] 46f8f816bc3b: Pull complete [2021-01-27T08:05:19.719Z] aa168da1d23b: Verifying Checksum [2021-01-27T08:05:19.719Z] aa168da1d23b: Download complete [2021-01-27T08:05:20.294Z] 93b61091891f: Pull complete [2021-01-27T08:05:20.294Z] 93b9cdb0e59b: Pull complete [2021-01-27T08:05:20.294Z] 5e14af77c1be: Pull complete [2021-01-27T08:05:20.562Z] 01666e4c0597: Pull complete [2021-01-27T08:05:27.197Z] aa168da1d23b: Pull complete [2021-01-27T08:05:27.459Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T08:05:27.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T08:05:27.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T08:05:27.643Z] prd-centos7-docker-4c-2g-23373 does not seem to be running inside a container [2021-01-27T08:05:27.688Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T08:05:31.851Z] $ docker top 954f5a84bf72fced0c96d1bd7c0f04c1cafb987ef2ecdfd21bbe4ab5a15362e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T08:05:32.516Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T08:05:32.835Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T08:05:33.158Z] + ls /var/log/sa-host [2021-01-27T08:05:33.158Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T08:05:33.158Z] file_magic: OK [2021-01-27T08:05:33.158Z] HZ: Using current value: 100 [2021-01-27T08:05:33.158Z] file_header: OK [2021-01-27T08:05:33.158Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T08:05:33.158Z] Statistics: [2021-01-27T08:05:33.158Z] Hnuu...uuuununununu... [2021-01-27T08:05:33.158Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T08:05:33.158Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T08:05:33.158Z] file_magic: OK [2021-01-27T08:05:33.158Z] HZ: Using current value: 100 [2021-01-27T08:05:33.158Z] file_header: OK [2021-01-27T08:05:33.158Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T08:05:33.158Z] Statistics: [2021-01-27T08:05:33.158Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T08:05:33.158Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T08:05:33.887Z] provisioning config files... [2021-01-27T08:05:33.911Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config1055888009321866314tmp [Pipeline] { [Pipeline] echo [2021-01-27T08:05:34.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:34.422Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T08:05:34.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T08:05:34.611Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:34.963Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T08:05:34.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:35.322Z] ---> sudo-logs.sh [2021-01-27T08:05:35.322Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T08:05:35.355Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:35.697Z] ---> job-cost.sh [2021-01-27T08:05:35.697Z] lf-activate-venv: SKIPPING [2021-01-27T08:05:35.697Z] INFO: No Stack... [2021-01-27T08:05:37.090Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T08:05:37.671Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T08:05:37.778Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T08:05:38.114Z] ---> logs-deploy.sh [2021-01-27T08:05:38.114Z] lf-activate-venv: SKIPPING [2021-01-27T08:05:38.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/1 [2021-01-27T08:05:38.114Z] INFO: archiving workspace using pattern(s): [2021-01-27T08:05:40.039Z] Archives upload complete. [2021-01-27T08:05:40.039Z] INFO: archiving logs to Nexus