Pull request #744 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d2756aabe677c294d531a3266d146912d415d6f+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (4a81f24f32b8354e61e8263a1db8772333334309) 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-744/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-744/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21505 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [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-744 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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-20T05:48:27.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T05:48:27.558Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T05:48:27.735Z] ========================================================= [2021-01-20T05:48:27.735Z] EdgeX Global Pipelines Version Info [2021-01-20T05:48:27.735Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:48:29.789Z] ------------------- [2021-01-20T05:48:29.789Z] stable info: [2021-01-20T05:48:29.789Z] ------------------- [2021-01-20T05:48:29.789Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T05:48:29.789Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T05:48:29.789Z] Message: update stable to v1.0.179 [2021-01-20T05:48:30.368Z] ------------------- [2021-01-20T05:48:30.368Z] experimental info: [2021-01-20T05:48:30.368Z] ------------------- [2021-01-20T05:48:30.368Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T05:48:30.368Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T05:48:30.368Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T05:48:30.750Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-20T05:48:30.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-20T05:48:31.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T05:48:31.144Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T05:48:31.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T05:48:31.397Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T05:48:31.527Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T05:48:31.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T05:48:31.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-20T05:48:31.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T05:48:32.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T05:48:32.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-20T05:48:32.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T05:48:32.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T05:48:32.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T05:48:32.694Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T05:48:32.825Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T05:48:32.968Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T05:48:33.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T05:48:33.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T05:48:33.353Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-20T05:48:33.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-20T05:48:33.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T05:48:33.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T05:48:33.913Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T05:48:34.034Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T05:48:34.159Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T05:48:34.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-744 [Pipeline] echo [2021-01-20T05:48:34.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-744 [Pipeline] echo [2021-01-20T05:48:34.522Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-744 [Pipeline] echo [2021-01-20T05:48:34.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] echo [2021-01-20T05:48:34.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d2756a [Pipeline] echo [2021-01-20T05:48:34.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T05:48:35.199Z] provisioning config files... [2021-01-20T05:48:35.231Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config5508557974772262107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:48:35.685Z] ---> docker-login.sh [2021-01-20T05:48:35.685Z] nexus3.edgexfoundry.org:10001 [2021-01-20T05:48:35.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:48:36.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:48:36.218Z] Configure a credential helper to remove this warning. See [2021-01-20T05:48:36.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:48:36.218Z] [2021-01-20T05:48:36.218Z] Login Succeeded [2021-01-20T05:48:36.218Z] nexus3.edgexfoundry.org:10002 [2021-01-20T05:48:36.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:48:36.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:48:36.481Z] Configure a credential helper to remove this warning. See [2021-01-20T05:48:36.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:48:36.481Z] [2021-01-20T05:48:36.481Z] Login Succeeded [2021-01-20T05:48:36.481Z] nexus3.edgexfoundry.org:10003 [2021-01-20T05:48:36.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:48:36.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:48:36.481Z] Configure a credential helper to remove this warning. See [2021-01-20T05:48:36.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:48:36.481Z] [2021-01-20T05:48:36.481Z] Login Succeeded [2021-01-20T05:48:36.481Z] nexus3.edgexfoundry.org:10004 [2021-01-20T05:48:36.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:48:36.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:48:36.748Z] Configure a credential helper to remove this warning. See [2021-01-20T05:48:36.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:48:36.748Z] [2021-01-20T05:48:36.748Z] Login Succeeded [2021-01-20T05:48:36.748Z] docker.io [2021-01-20T05:48:36.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:48:37.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:48:37.012Z] Configure a credential helper to remove this warning. See [2021-01-20T05:48:37.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:48:37.012Z] [2021-01-20T05:48:37.012Z] Login Succeeded [2021-01-20T05:48:37.012Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T05:48:37.037Z] 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-20T05:48:38.092Z] + git log --format=format:%s -1 0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] echo [2021-01-20T05:48:38.189Z] GIT_COMMIT: 0d2756aabe677c294d531a3266d146912d415d6f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2021-01-20T05:48:38.278Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:48:38.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T05:48:38.900Z] [2021-01-20T05:48:38.900Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:48:39.288Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T05:48:39.288Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T05:48:39.288Z] 31603596830f: Pulling fs layer [2021-01-20T05:48:39.288Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T05:48:39.288Z] 6ca5941a6612: Pulling fs layer [2021-01-20T05:48:39.288Z] ecc8261a40a4: Pulling fs layer [2021-01-20T05:48:39.288Z] ecc8261a40a4: Waiting [2021-01-20T05:48:39.288Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T05:48:39.288Z] 2a8b12db71e7: Download complete [2021-01-20T05:48:39.554Z] 31603596830f: Verifying Checksum [2021-01-20T05:48:39.554Z] 31603596830f: Download complete [2021-01-20T05:48:39.554Z] ecc8261a40a4: Download complete [2021-01-20T05:48:39.554Z] 6ca5941a6612: Verifying Checksum [2021-01-20T05:48:39.554Z] 6ca5941a6612: Download complete [2021-01-20T05:48:39.820Z] 31603596830f: Pull complete [2021-01-20T05:48:39.820Z] 2a8b12db71e7: Pull complete [2021-01-20T05:48:40.791Z] 6ca5941a6612: Pull complete [2021-01-20T05:48:41.054Z] ecc8261a40a4: Pull complete [2021-01-20T05:48:41.054Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T05:48:41.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T05:48:41.054Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T05:48:41.194Z] prd-centos7-docker-4c-2g-21505 does not seem to be running inside a container [2021-01-20T05:48:41.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-744 -v /w/workspace/dgexfoundry_device-sdk-go_PR-744:/w/workspace/dgexfoundry_device-sdk-go_PR-744:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-744@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T05:48:43.542Z] $ docker top 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T05:48:43.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T05:48:43.933Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T05:48:44.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T05:48:44.177Z] $ docker exec 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent [2021-01-20T05:48:44.350Z] SSH_AUTH_SOCK=/tmp/ssh-kWqoSKOPEgKk/agent.11 [2021-01-20T05:48:44.350Z] SSH_AGENT_PID=16 [2021-01-20T05:48:44.362Z] Running ssh-add (command line suppressed) [2021-01-20T05:48:44.485Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_1733934174433676718.key (/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_1733934174433676718.key) [2021-01-20T05:48:44.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T05:48:44.924Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T05:48:44.954Z] $ docker exec --env ******** --env ******** 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent -k [2021-01-20T05:48:45.077Z] unset SSH_AUTH_SOCK; [2021-01-20T05:48:45.077Z] unset SSH_AGENT_PID; [2021-01-20T05:48:45.077Z] echo Agent pid 16 killed; [2021-01-20T05:48:45.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T05:48:45.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T05:48:45.338Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T05:48:45.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T05:48:45.527Z] $ docker exec 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent [2021-01-20T05:48:45.704Z] SSH_AUTH_SOCK=/tmp/ssh-2b6gvB4Hxd6h/agent.45 [2021-01-20T05:48:45.704Z] SSH_AGENT_PID=50 [2021-01-20T05:48:45.711Z] Running ssh-add (command line suppressed) [2021-01-20T05:48:45.840Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_6012698424490582893.key (/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_6012698424490582893.key) [2021-01-20T05:48:45.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T05:48:46.286Z] + git semver init [2021-01-20T05:48:46.286Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T05:48:46.286Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-744/.git [2021-01-20T05:48:46.286Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-744 [2021-01-20T05:48:46.286Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T05:48:46.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T05:48:46.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T05:48:46.286Z] # $SEMVER_BRANCH = PR-744 [2021-01-20T05:48:46.286Z] # $SEMVER_TEMP = /tmp/semver-313349291 [2021-01-20T05:48:46.286Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-20T05:48:46.864Z] # '/tmp/semver-313349291' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-744/.semver' [2021-01-20T05:48:47.126Z] # -> Force: false [2021-01-20T05:48:47.126Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-744/.semver [Pipeline] } [2021-01-20T05:48:47.149Z] $ docker exec --env ******** --env ******** 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent -k [2021-01-20T05:48:47.275Z] unset SSH_AUTH_SOCK; [2021-01-20T05:48:47.276Z] unset SSH_AGENT_PID; [2021-01-20T05:48:47.276Z] echo Agent pid 50 killed; [2021-01-20T05:48:47.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T05:48:47.897Z] + git semver [Pipeline] } [2021-01-20T05:48:47.928Z] $ docker stop --time=1 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 [2021-01-20T05:48:49.654Z] $ docker rm -f 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T05:48:50.178Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T05:48:50.638Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T05:48:50.657Z] [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-20T05:49:06.530Z] Still waiting to schedule task [2021-01-20T05:49:06.530Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T05:49:06.550Z] Still waiting to schedule task [2021-01-20T05:49:06.550Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-20T05:50:59.727Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21506 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [Pipeline] { [Pipeline] ws [2021-01-20T05:50:59.822Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-20T05:51:04.802Z] using credential edgex-jenkins-ssh [2021-01-20T05:51:04.903Z] Cloning the remote Git repository [2021-01-20T05:51:04.962Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:05.070Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-20T05:51:05.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:05.149Z] > git --version # timeout=10 [2021-01-20T05:51:05.169Z] > git --version # 'git version 2.17.1' [2021-01-20T05:51:05.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:05.258Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T05:51:06.981Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:51:07.266Z] Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:51:07.267Z] Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) [2021-01-20T05:51:06.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T05:51:06.394Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T05:51:06.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T05:51:06.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:06.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:06.483Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T05:51:07.005Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T05:51:07.036Z] > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 [2021-01-20T05:51:07.165Z] > git remote # timeout=10 [2021-01-20T05:51:07.184Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T05:51:07.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:07.220Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-20T05:51:07.245Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T05:51:07.274Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T05:51:07.284Z] > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 [2021-01-20T05:51:11.200Z] Running on prd-centos7-docker-4c-2g-21507 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [Pipeline] { [Pipeline] ws [2021-01-20T05:51:11.287Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-20T05:51:11.776Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2021-01-20T05:51:11.832Z] > git --version # timeout=10 [2021-01-20T05:51:11.850Z] > git --version # 'git version 2.17.1' [2021-01-20T05:51:11.867Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T05:51:13.618Z] using credential edgex-jenkins-ssh [2021-01-20T05:51:13.674Z] Cloning the remote Git repository [2021-01-20T05:51:13.732Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-01-20T05:51:13.697Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:13.758Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [Pipeline] sh [2021-01-20T05:51:14.147Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T05:51:14.519Z] + sudo service docker restart [2021-01-20T05:51:14.519Z] + true [2021-01-20T05:51:13.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:13.817Z] > git --version # timeout=10 [2021-01-20T05:51:13.825Z] > git --version # 'git version 2.24.3' [2021-01-20T05:51:13.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:13.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T05:51:14.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T05:51:14.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T05:51:14.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-20T05:51:14.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-20T05:51:14.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:14.691Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T05:51:15.060Z] Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:51:15.146Z] Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:51:15.147Z] Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) [2021-01-20T05:51:15.068Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T05:51:15.073Z] > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 [2021-01-20T05:51:15.120Z] > git remote # timeout=10 [2021-01-20T05:51:15.125Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T05:51:15.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T05:51:15.133Z] > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [2021-01-20T05:51:15.142Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T05:51:15.149Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T05:51:15.152Z] > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T05:51:17.305Z] provisioning config files... [2021-01-20T05:51:17.346Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4774703014925341391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:51:17.826Z] ---> docker-login.sh [2021-01-20T05:51:17.826Z] nexus3.edgexfoundry.org:10001 [2021-01-20T05:51:18.752Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2021-01-20T05:51:18.775Z] > git --version # timeout=10 [2021-01-20T05:51:18.779Z] > git --version # 'git version 2.24.3' [2021-01-20T05:51:18.783Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T05:51:18.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:19.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:19.083Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:19.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:19.083Z] [2021-01-20T05:51:19.083Z] Login Succeeded [2021-01-20T05:51:19.083Z] nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-01-20T05:51:19.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T05:51:19.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:19.639Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:19.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:19.639Z] [2021-01-20T05:51:19.639Z] Login Succeeded [2021-01-20T05:51:19.639Z] nexus3.edgexfoundry.org:10003 [2021-01-20T05:51:19.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:20.160Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-01-20T05:51:20.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:20.191Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:20.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:20.191Z] [2021-01-20T05:51:20.191Z] Login Succeeded [2021-01-20T05:51:20.191Z] nexus3.edgexfoundry.org:10004 [Pipeline] sh [2021-01-20T05:51:20.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:20.507Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T05:51:20.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:20.741Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:20.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:20.741Z] [2021-01-20T05:51:20.741Z] Login Succeeded [2021-01-20T05:51:20.741Z] docker.io [2021-01-20T05:51:20.828Z] + sudo service docker restart [2021-01-20T05:51:20.828Z] + true [2021-01-20T05:51:20.828Z] Redirecting to /bin/systemctl restart docker.service [2021-01-20T05:51:21.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:21.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:21.288Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:21.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:21.288Z] [2021-01-20T05:51:21.288Z] Login Succeeded [2021-01-20T05:51:21.288Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T05:51:21.319Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T05:51:21.907Z] provisioning config files... [2021-01-20T05:51:21.933Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9147398065269641838tmp [Pipeline] echo [2021-01-20T05:51:21.988Z] ========================================================= [2021-01-20T05:51:21.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T05:51:21.988Z] ========================================================= [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:51:22.389Z] ---> docker-login.sh [2021-01-20T05:51:22.389Z] nexus3.edgexfoundry.org:10001 [2021-01-20T05:51:22.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:22.542Z] + 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-20T05:51:22.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:22.650Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:22.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:22.650Z] [2021-01-20T05:51:22.650Z] Login Succeeded [2021-01-20T05:51:22.650Z] nexus3.edgexfoundry.org:10002 [2021-01-20T05:51:22.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:22.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:22.911Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:22.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:22.911Z] [2021-01-20T05:51:22.911Z] Login Succeeded [2021-01-20T05:51:22.911Z] nexus3.edgexfoundry.org:10003 [2021-01-20T05:51:22.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:22.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:22.911Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:22.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:22.911Z] [2021-01-20T05:51:22.911Z] Login Succeeded [2021-01-20T05:51:22.911Z] nexus3.edgexfoundry.org:10004 [2021-01-20T05:51:23.148Z] Sending build context to Docker daemon 2.508MB [2021-01-20T05:51:23.148Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T05:51:23.148Z] Step 2/8 : FROM ${BASE} [2021-01-20T05:51:23.148Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T05:51:23.148Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T05:51:23.148Z] a4357932f1b6: Pulling fs layer [2021-01-20T05:51:23.148Z] 18c013af1878: Pulling fs layer [2021-01-20T05:51:23.148Z] 00ac8860ef70: Pulling fs layer [2021-01-20T05:51:23.148Z] 63d7cb157983: Pulling fs layer [2021-01-20T05:51:23.148Z] b116817d02f9: Pulling fs layer [2021-01-20T05:51:23.148Z] 745a02a5169b: Pulling fs layer [2021-01-20T05:51:23.148Z] 63d7cb157983: Waiting [2021-01-20T05:51:23.148Z] b116817d02f9: Waiting [2021-01-20T05:51:23.148Z] 00ac8860ef70: Waiting [2021-01-20T05:51:23.148Z] 745a02a5169b: Waiting [2021-01-20T05:51:23.148Z] 18c013af1878: Download complete [2021-01-20T05:51:23.148Z] a4357932f1b6: Verifying Checksum [2021-01-20T05:51:23.148Z] a4357932f1b6: Download complete [2021-01-20T05:51:23.148Z] 63d7cb157983: Verifying Checksum [2021-01-20T05:51:23.148Z] 63d7cb157983: Download complete [2021-01-20T05:51:23.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:23.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:23.173Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:23.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:23.173Z] [2021-01-20T05:51:23.173Z] Login Succeeded [2021-01-20T05:51:23.173Z] docker.io [2021-01-20T05:51:23.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T05:51:23.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T05:51:23.435Z] Configure a credential helper to remove this warning. See [2021-01-20T05:51:23.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T05:51:23.435Z] [2021-01-20T05:51:23.435Z] Login Succeeded [2021-01-20T05:51:23.435Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T05:51:23.534Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T05:51:24.042Z] ========================================================= [2021-01-20T05:51:24.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T05:51:24.042Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:51:24.174Z] b116817d02f9: Verifying Checksum [2021-01-20T05:51:24.174Z] b116817d02f9: Download complete [2021-01-20T05:51:24.174Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T05:51:24.174Z] 5f621e34cdf4: Download complete [2021-01-20T05:51:24.419Z] + 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-20T05:51:24.419Z] Sending build context to Docker daemon 2.509MB [2021-01-20T05:51:24.419Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T05:51:24.419Z] Step 2/8 : FROM ${BASE} [2021-01-20T05:51:24.689Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T05:51:24.689Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T05:51:24.689Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T05:51:24.689Z] de9db76c5a1d: Pulling fs layer [2021-01-20T05:51:24.689Z] bca2f99d35d6: Pulling fs layer [2021-01-20T05:51:24.689Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T05:51:24.689Z] 7c6f9722023f: Pulling fs layer [2021-01-20T05:51:24.689Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T05:51:24.689Z] 93359f2a8cfa: Waiting [2021-01-20T05:51:24.689Z] 7c6f9722023f: Waiting [2021-01-20T05:51:24.689Z] a35cf1a2eb13: Waiting [2021-01-20T05:51:24.689Z] bca2f99d35d6: Waiting [2021-01-20T05:51:24.689Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T05:51:24.689Z] 0ef7d3d256c8: Download complete [2021-01-20T05:51:24.689Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T05:51:24.689Z] 93359f2a8cfa: Download complete [2021-01-20T05:51:24.689Z] 7c6f9722023f: Verifying Checksum [2021-01-20T05:51:24.689Z] 7c6f9722023f: Download complete [2021-01-20T05:51:24.775Z] 5f621e34cdf4: Pull complete [2021-01-20T05:51:25.049Z] a4357932f1b6: Pull complete [2021-01-20T05:51:25.632Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T05:51:25.632Z] 188c0c94c7c5: Download complete [2021-01-20T05:51:25.653Z] 18c013af1878: Pull complete [2021-01-20T05:51:25.896Z] 188c0c94c7c5: Pull complete [2021-01-20T05:51:26.163Z] 0ef7d3d256c8: Pull complete [2021-01-20T05:51:26.163Z] de9db76c5a1d: Pull complete [2021-01-20T05:51:27.626Z] 745a02a5169b: Verifying Checksum [2021-01-20T05:51:27.627Z] 745a02a5169b: Download complete [2021-01-20T05:51:28.079Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T05:51:28.079Z] a35cf1a2eb13: Download complete [2021-01-20T05:51:29.027Z] bca2f99d35d6: Download complete [2021-01-20T05:51:29.050Z] 00ac8860ef70: Verifying Checksum [2021-01-20T05:51:29.050Z] 00ac8860ef70: Download complete [2021-01-20T05:51:34.360Z] bca2f99d35d6: Pull complete [2021-01-20T05:51:34.360Z] 93359f2a8cfa: Pull complete [2021-01-20T05:51:34.360Z] 7c6f9722023f: Pull complete [2021-01-20T05:51:39.202Z] 00ac8860ef70: Pull complete [2021-01-20T05:51:39.202Z] 63d7cb157983: Pull complete [2021-01-20T05:51:39.477Z] b116817d02f9: Pull complete [2021-01-20T05:51:40.965Z] a35cf1a2eb13: Pull complete [2021-01-20T05:51:40.965Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T05:51:40.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T05:51:40.965Z] ---> a62c8e92a672 [2021-01-20T05:51:40.965Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:51:40.965Z] ---> Running in 21aa24beeaae [2021-01-20T05:51:40.965Z] Removing intermediate container 21aa24beeaae [2021-01-20T05:51:40.965Z] ---> 78cb7c307764 [2021-01-20T05:51:40.965Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T05:51:40.965Z] ---> Running in b6a35034549e [2021-01-20T05:51:41.915Z] Removing intermediate container b6a35034549e [2021-01-20T05:51:41.915Z] ---> f82d4abc7440 [2021-01-20T05:51:41.915Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-20T05:51:41.915Z] ---> Running in 665ac6cb5905 [2021-01-20T05:51:42.491Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T05:51:42.867Z] 745a02a5169b: Pull complete [2021-01-20T05:51:42.867Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T05:51:43.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T05:51:43.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T05:51:43.146Z] ---> b7e6874047d6 [2021-01-20T05:51:43.146Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:51:43.663Z] OK: 166 MiB in 39 packages [2021-01-20T05:51:43.937Z] Removing intermediate container 665ac6cb5905 [2021-01-20T05:51:43.937Z] ---> f4e9a5669cee [2021-01-20T05:51:43.937Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-20T05:51:44.205Z] ---> Running in 9ae8548e1c05 [2021-01-20T05:51:44.205Z] Removing intermediate container 9ae8548e1c05 [2021-01-20T05:51:44.205Z] ---> 616cd745dcf9 [2021-01-20T05:51:44.205Z] Step 7/8 : COPY . . [2021-01-20T05:51:45.605Z] ---> fc5b5c610db2 [2021-01-20T05:51:45.605Z] Step 8/8 : RUN go mod download [2021-01-20T05:51:45.605Z] ---> Running in 968e36856e43 [2021-01-20T05:51:46.568Z] ---> Running in 801ba08ff16d [2021-01-20T05:51:46.568Z] Removing intermediate container 801ba08ff16d [2021-01-20T05:51:46.568Z] ---> 6b9621ad5099 [2021-01-20T05:51:46.568Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T05:51:46.568Z] ---> Running in 6f04aba3c9a5 [2021-01-20T05:51:49.216Z] Removing intermediate container 6f04aba3c9a5 [2021-01-20T05:51:49.216Z] ---> 7cdbab31be45 [2021-01-20T05:51:49.216Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-20T05:51:49.216Z] ---> Running in 7e341897e09a [2021-01-20T05:51:50.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T05:51:50.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T05:51:51.765Z] OK: 142 MiB in 39 packages [2021-01-20T05:51:52.750Z] Removing intermediate container 7e341897e09a [2021-01-20T05:51:52.750Z] ---> aa41bed0da4f [2021-01-20T05:51:52.750Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-20T05:51:53.029Z] ---> Running in 68ab0f22b5ca [2021-01-20T05:51:53.625Z] Removing intermediate container 68ab0f22b5ca [2021-01-20T05:51:53.625Z] ---> b687fcd95cf9 [2021-01-20T05:51:53.625Z] Step 7/8 : COPY . . [2021-01-20T05:51:55.058Z] ---> aa185ac79a44 [2021-01-20T05:51:55.058Z] Step 8/8 : RUN go mod download [2021-01-20T05:51:55.058Z] ---> Running in 4dd0f9800ed1 [2021-01-20T05:52:03.766Z] Removing intermediate container 968e36856e43 [2021-01-20T05:52:03.766Z] ---> 912831e790b1 [2021-01-20T05:52:03.766Z] Successfully built 912831e790b1 [2021-01-20T05:52:03.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:52:04.114Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T05:52:04.114Z] . [Pipeline] withDockerContainer [2021-01-20T05:52:04.237Z] prd-centos7-docker-4c-2g-21507 does not seem to be running inside a container [2021-01-20T05:52:04.283Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-20T05:52:04.929Z] $ docker top 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T05:52:05.486Z] + go version [2021-01-20T05:52:05.486Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T05:52:05.519Z] $ docker stop --time=1 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 [2021-01-20T05:52:06.872Z] $ docker rm -f 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:52:08.011Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T05:52:08.011Z] . [Pipeline] withDockerContainer [2021-01-20T05:52:08.140Z] prd-centos7-docker-4c-2g-21507 does not seem to be running inside a container [2021-01-20T05:52:08.189Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-20T05:52:08.813Z] $ docker top 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T05:52:09.337Z] + make test [2021-01-20T05:52:09.338Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-20T05:52:15.976Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-20T05:52:17.271Z] Removing intermediate container 4dd0f9800ed1 [2021-01-20T05:52:17.271Z] ---> dad841797707 [2021-01-20T05:52:17.271Z] Successfully built dad841797707 [2021-01-20T05:52:17.271Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:52:17.655Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T05:52:17.655Z] . [Pipeline] withDockerContainer [2021-01-20T05:52:17.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-21506 does not seem to be running inside a container [2021-01-20T05:52:18.034Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-20T05:52:19.535Z] $ docker top 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T05:52:20.567Z] + go version [2021-01-20T05:52:20.567Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T05:52:20.610Z] $ docker stop --time=1 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 [2021-01-20T05:52:22.526Z] $ docker rm -f 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:52:23.885Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T05:52:23.885Z] . [Pipeline] withDockerContainer [2021-01-20T05:52:24.172Z] prd-ubuntu18.04-docker-arm64-4c-16g-21506 does not seem to be running inside a container [2021-01-20T05:52:24.259Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-20T05:52:25.754Z] $ docker top e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T05:52:26.798Z] + make test [2021-01-20T05:52:26.798Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-20T05:52:31.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-20T05:52:31.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-20T05:52:31.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-20T05:52:31.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements [2021-01-20T05:52:31.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.415s coverage: 97.1% of statements [2021-01-20T05:52:49.013Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 9.4% of statements [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 21.7% of statements [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.197s coverage: 43.2% of statements [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.264s coverage: 68.9% of statements [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 53.8% of statements [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.057s coverage: 26.8% of statements [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.285s coverage: 68.9% of statements [2021-01-20T05:53:03.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.2% of statements [2021-01-20T05:53:03.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-20T05:53:03.726Z] GO111MODULE=on go vet ./... [2021-01-20T05:53:10.361Z] gofmt -l . [2021-01-20T05:53:10.361Z] [ "`gofmt -l .`" = "" ] [2021-01-20T05:53:10.361Z] ./bin/test-attribution-txt.sh [2021-01-20T05:53:10.933Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T05:53:10.965Z] $ docker stop --time=1 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 [2021-01-20T05:53:12.866Z] $ docker rm -f 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T05:53:13.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T05:53:14.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-20T05:53:16.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T05:53:17.284Z] + ls -al . [2021-01-20T05:53:17.284Z] total 224 [2021-01-20T05:53:17.284Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 05:53 . [2021-01-20T05:53:17.284Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 05:51 .. [2021-01-20T05:53:17.284Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 05:51 bin [2021-01-20T05:53:17.284Z] -rw-r--r--. 1 jenkins jenkins 143471 Jan 20 05:53 coverage.out [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 20 05:51 Dockerfile.build [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 05:51 .dockerignore [2021-01-20T05:53:17.284Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 20 05:51 example [2021-01-20T05:53:17.284Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 05:51 .git [2021-01-20T05:53:17.284Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 05:51 .github [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 20 05:51 .gitignore [2021-01-20T05:53:17.284Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 20 05:53 go.mod [2021-01-20T05:53:17.284Z] -rw-r--r--. 1 jenkins jenkins 14209 Jan 20 05:53 go.sum [2021-01-20T05:53:17.284Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 20 05:51 internal [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 20 05:51 Jenkinsfile [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 20 05:51 LICENSE [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 20 05:51 Makefile [2021-01-20T05:53:17.284Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 20 05:51 openapi [2021-01-20T05:53:17.284Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 20 05:51 pkg [2021-01-20T05:53:17.284Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 20 05:51 README.md [2021-01-20T05:53:17.285Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 20 05:51 RELEASE-NOTES.txt [2021-01-20T05:53:17.285Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 20 05:51 snap [2021-01-20T05:53:17.285Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 05:48 VERSION [2021-01-20T05:53:17.285Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 20 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:53:17.623Z] + 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=0d2756aabe677c294d531a3266d146912d415d6f --label arch=amd64 --label version=0.0.0 . [2021-01-20T05:53:17.623Z] Sending build context to Docker daemon 2.654MB [2021-01-20T05:53:17.623Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T05:53:17.623Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-20T05:53:17.623Z] ---> 912831e790b1 [2021-01-20T05:53:17.623Z] Step 3/24 : ARG MAKE='make build' [2021-01-20T05:53:18.198Z] ---> Running in 43e6f87c9e71 [2021-01-20T05:53:18.460Z] Removing intermediate container 43e6f87c9e71 [2021-01-20T05:53:18.460Z] ---> 421ecae8878d [2021-01-20T05:53:18.460Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-20T05:53:18.722Z] ---> Running in 7ddf2c1be962 [2021-01-20T05:53:18.722Z] Removing intermediate container 7ddf2c1be962 [2021-01-20T05:53:18.722Z] ---> b27b40c06fcf [2021-01-20T05:53:18.722Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:53:18.722Z] ---> Running in b76c8180211c [2021-01-20T05:53:18.984Z] Removing intermediate container b76c8180211c [2021-01-20T05:53:18.984Z] ---> 003a6513802c [2021-01-20T05:53:18.984Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T05:53:18.984Z] ---> Running in 84c3821b2b31 [2021-01-20T05:53:19.930Z] Removing intermediate container 84c3821b2b31 [2021-01-20T05:53:19.930Z] ---> d8d834e425d3 [2021-01-20T05:53:19.930Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-20T05:53:19.930Z] ---> Running in da96f67ae0cd [2021-01-20T05:53:20.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T05:53:21.082Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T05:53:21.344Z] OK: 166 MiB in 39 packages [2021-01-20T05:53:21.914Z] Removing intermediate container da96f67ae0cd [2021-01-20T05:53:21.914Z] ---> 81110ebf7280 [2021-01-20T05:53:21.914Z] Step 8/24 : COPY . . [2021-01-20T05:53:22.864Z] ---> d1fcd620ee6f [2021-01-20T05:53:22.864Z] Step 9/24 : RUN ${MAKE} [2021-01-20T05:53:22.864Z] ---> Running in 147c4acce83b [2021-01-20T05:53:23.441Z] 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-20T05:53:28.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-20T05:53:28.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-20T05:53:28.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-20T05:53:29.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements [2021-01-20T05:53:31.714Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-20T05:53:32.289Z] Removing intermediate container 147c4acce83b [2021-01-20T05:53:32.289Z] ---> 6dd9d8c1f4e2 [2021-01-20T05:53:32.289Z] Step 10/24 : FROM scratch [2021-01-20T05:53:32.289Z] ---> [2021-01-20T05:53:32.289Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:53:32.550Z] ---> Running in 6d830b8c9831 [2021-01-20T05:53:32.550Z] Removing intermediate container 6d830b8c9831 [2021-01-20T05:53:32.550Z] ---> cbde8a564a3d [2021-01-20T05:53:32.550Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-20T05:53:32.550Z] ---> Running in 32bf231c1672 [2021-01-20T05:53:32.812Z] Removing intermediate container 32bf231c1672 [2021-01-20T05:53:32.812Z] ---> e8d29d84a325 [2021-01-20T05:53:32.812Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-20T05:53:32.812Z] ---> Running in c9730349076b [2021-01-20T05:53:33.075Z] Removing intermediate container c9730349076b [2021-01-20T05:53:33.075Z] ---> 31513270fa9c [2021-01-20T05:53:33.075Z] Step 14/24 : WORKDIR / [2021-01-20T05:53:33.075Z] ---> Running in b37b0c23ca00 [2021-01-20T05:53:33.337Z] Removing intermediate container b37b0c23ca00 [2021-01-20T05:53:33.337Z] ---> a42cf0a6e312 [2021-01-20T05:53:33.337Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-20T05:53:33.600Z] ---> 4cbca5966aad [2021-01-20T05:53:33.600Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-20T05:53:33.862Z] ---> 2f245fad112f [2021-01-20T05:53:33.862Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-20T05:53:34.123Z] ---> d50261dc1413 [2021-01-20T05:53:34.123Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-20T05:53:34.385Z] ---> 79b8902b6834 [2021-01-20T05:53:34.385Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-20T05:53:34.648Z] ---> 5e70c3945cca [2021-01-20T05:53:34.648Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-20T05:53:34.648Z] ---> Running in af4cef589579 [2021-01-20T05:53:34.911Z] Removing intermediate container af4cef589579 [2021-01-20T05:53:34.911Z] ---> 479f4ac8323b [2021-01-20T05:53:34.911Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T05:53:35.176Z] ---> Running in 1362a659b2fc [2021-01-20T05:53:35.176Z] Removing intermediate container 1362a659b2fc [2021-01-20T05:53:35.177Z] ---> 67a60dfca292 [2021-01-20T05:53:35.177Z] Step 22/24 : LABEL arch=amd64 [2021-01-20T05:53:35.440Z] ---> Running in a823e670f9d3 [2021-01-20T05:53:35.440Z] Removing intermediate container a823e670f9d3 [2021-01-20T05:53:35.440Z] ---> c7a48e6232de [2021-01-20T05:53:35.440Z] Step 23/24 : LABEL git_sha=0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:53:35.702Z] ---> Running in a5f9ca7b9eae [2021-01-20T05:53:35.702Z] Removing intermediate container a5f9ca7b9eae [2021-01-20T05:53:35.702Z] ---> 5f4566bd23e6 [2021-01-20T05:53:35.702Z] Step 24/24 : LABEL version=0.0.0 [2021-01-20T05:53:35.702Z] ---> Running in 1df02e4dc354 [2021-01-20T05:53:35.804Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.187s coverage: 97.1% of statements [2021-01-20T05:53:35.963Z] Removing intermediate container 1df02e4dc354 [2021-01-20T05:53:35.964Z] ---> 7cdd409f4da6 [2021-01-20T05:53:35.964Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T05:53:35.964Z] Successfully built 7cdd409f4da6 [2021-01-20T05:53:35.964Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 9.4% of statements [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.572s coverage: 43.2% of statements [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.764s coverage: 68.9% of statements [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.221s coverage: 53.8% of statements [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.197s coverage: 26.8% of statements [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.959s coverage: 68.9% of statements [2021-01-20T05:54:02.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 4.2% of statements [2021-01-20T05:54:02.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-20T05:54:02.615Z] GO111MODULE=on go vet ./... [2021-01-20T05:54:35.027Z] gofmt -l . [2021-01-20T05:54:35.027Z] [ "`gofmt -l .`" = "" ] [2021-01-20T05:54:35.302Z] ./bin/test-attribution-txt.sh [2021-01-20T05:54:36.285Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-20T05:54:36.597Z] $ docker stop --time=1 e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f [2021-01-20T05:54:38.874Z] $ docker rm -f e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T05:54:40.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T05:54:40.126Z] Warning: overwriting stash ‘coverage-report’ [2021-01-20T05:54:41.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T05:54:42.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T05:54:42.566Z] + ls -al . [2021-01-20T05:54:42.566Z] total 260 [2021-01-20T05:54:42.566Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 05:54 . [2021-01-20T05:54:42.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 .. [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 05:51 .dockerignore [2021-01-20T05:54:42.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 05:51 .git [2021-01-20T05:54:42.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 05:51 .github [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 20 05:51 .gitignore [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 20 05:51 Dockerfile.build [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 20 05:51 Jenkinsfile [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 20 05:51 LICENSE [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 20 05:51 Makefile [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 20 05:51 README.md [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 20 05:51 RELEASE-NOTES.txt [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 05:48 VERSION [2021-01-20T05:54:42.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 05:51 bin [2021-01-20T05:54:42.566Z] -rw-r--r-- 1 jenkins jenkins 143471 Jan 20 05:54 coverage.out [2021-01-20T05:54:42.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 example [2021-01-20T05:54:42.566Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 20 05:54 go.mod [2021-01-20T05:54:42.566Z] -rw-r--r-- 1 jenkins jenkins 14209 Jan 20 05:54 go.sum [2021-01-20T05:54:42.566Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 20 05:51 internal [2021-01-20T05:54:42.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 openapi [2021-01-20T05:54:42.566Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 20 05:51 pkg [2021-01-20T05:54:42.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 snap [2021-01-20T05:54:42.566Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 20 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:54:43.057Z] + 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=0d2756aabe677c294d531a3266d146912d415d6f --label arch=arm64 --label version=0.0.0 . [2021-01-20T05:54:43.684Z] Sending build context to Docker daemon 2.653MB [2021-01-20T05:54:43.684Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T05:54:43.684Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-20T05:54:43.684Z] ---> dad841797707 [2021-01-20T05:54:43.684Z] Step 3/24 : ARG MAKE='make build' [2021-01-20T05:54:43.974Z] ---> Running in 8a47c1b32995 [2021-01-20T05:54:44.574Z] Removing intermediate container 8a47c1b32995 [2021-01-20T05:54:44.574Z] ---> 51f7b4b44e23 [2021-01-20T05:54:44.574Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-20T05:54:44.574Z] ---> Running in d65397530404 [2021-01-20T05:54:45.188Z] Removing intermediate container d65397530404 [2021-01-20T05:54:45.189Z] ---> 42677dab0639 [2021-01-20T05:54:45.189Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:54:45.189Z] ---> Running in 9fee437dcbe4 [2021-01-20T05:54:45.792Z] Removing intermediate container 9fee437dcbe4 [2021-01-20T05:54:45.792Z] ---> 68cb5c5e65ea [2021-01-20T05:54:45.792Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T05:54:45.792Z] ---> Running in 4e06005cfa1f [2021-01-20T05:54:47.769Z] Removing intermediate container 4e06005cfa1f [2021-01-20T05:54:47.769Z] ---> a0a07780be57 [2021-01-20T05:54:47.769Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-20T05:54:48.046Z] ---> Running in 0ac4c9dd1710 [2021-01-20T05:54:49.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T05:54:49.995Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T05:54:50.584Z] OK: 142 MiB in 39 packages [2021-01-20T05:54:51.563Z] Removing intermediate container 0ac4c9dd1710 [2021-01-20T05:54:51.563Z] ---> aa482d0d508f [2021-01-20T05:54:51.563Z] Step 8/24 : COPY . . [2021-01-20T05:54:53.000Z] ---> af215fda5a31 [2021-01-20T05:54:53.000Z] Step 9/24 : RUN ${MAKE} [2021-01-20T05:54:53.272Z] ---> Running in ddebe65edb4b [2021-01-20T05:54:54.254Z] 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-20T05:55:21.070Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-20T05:55:22.039Z] Removing intermediate container ddebe65edb4b [2021-01-20T05:55:22.039Z] ---> b8092090a07a [2021-01-20T05:55:22.039Z] Step 10/24 : FROM scratch [2021-01-20T05:55:22.039Z] ---> [2021-01-20T05:55:22.039Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-20T05:55:22.039Z] ---> Running in 32b6a624cf9f [2021-01-20T05:55:22.309Z] Removing intermediate container 32b6a624cf9f [2021-01-20T05:55:22.309Z] ---> a223d315e130 [2021-01-20T05:55:22.309Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-20T05:55:22.580Z] ---> Running in 6d35a0039dcc [2021-01-20T05:55:22.855Z] Removing intermediate container 6d35a0039dcc [2021-01-20T05:55:22.855Z] ---> 39a2fb87fa00 [2021-01-20T05:55:22.855Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-20T05:55:22.855Z] ---> Running in 71f2623a2b91 [2021-01-20T05:55:23.449Z] Removing intermediate container 71f2623a2b91 [2021-01-20T05:55:23.449Z] ---> 9cf5892b1dfd [2021-01-20T05:55:23.449Z] Step 14/24 : WORKDIR / [2021-01-20T05:55:23.449Z] ---> Running in ff9e0bf6afb7 [2021-01-20T05:55:24.042Z] Removing intermediate container ff9e0bf6afb7 [2021-01-20T05:55:24.042Z] ---> 01bb692055d1 [2021-01-20T05:55:24.042Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-20T05:55:25.018Z] ---> 23f272bf7408 [2021-01-20T05:55:25.018Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-20T05:55:25.612Z] ---> fc6f9b1db9f5 [2021-01-20T05:55:25.612Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-20T05:55:26.216Z] ---> cbf0e8a969e5 [2021-01-20T05:55:26.216Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-20T05:55:27.198Z] ---> aceec0f1868c [2021-01-20T05:55:27.198Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-20T05:55:27.478Z] ---> ebce99786955 [2021-01-20T05:55:27.478Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-20T05:55:27.758Z] ---> Running in 15d242944f9b [2021-01-20T05:55:28.034Z] Removing intermediate container 15d242944f9b [2021-01-20T05:55:28.034Z] ---> 5ae01c037bf2 [2021-01-20T05:55:28.034Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-20T05:55:28.308Z] ---> Running in 33147379a43d [2021-01-20T05:55:28.905Z] Removing intermediate container 33147379a43d [2021-01-20T05:55:28.905Z] ---> 9fa835388290 [2021-01-20T05:55:28.905Z] Step 22/24 : LABEL arch=arm64 [2021-01-20T05:55:28.905Z] ---> Running in 627a5ac451a2 [2021-01-20T05:55:29.501Z] Removing intermediate container 627a5ac451a2 [2021-01-20T05:55:29.501Z] ---> 7637ff1e1149 [2021-01-20T05:55:29.501Z] Step 23/24 : LABEL git_sha=0d2756aabe677c294d531a3266d146912d415d6f [2021-01-20T05:55:29.501Z] ---> Running in ab2021135ebb [2021-01-20T05:55:30.095Z] Removing intermediate container ab2021135ebb [2021-01-20T05:55:30.095Z] ---> 0f2219617dea [2021-01-20T05:55:30.095Z] Step 24/24 : LABEL version=0.0.0 [2021-01-20T05:55:30.095Z] ---> Running in 38b058b51d70 [2021-01-20T05:55:30.691Z] Removing intermediate container 38b058b51d70 [2021-01-20T05:55:30.691Z] ---> c8bcdf567383 [2021-01-20T05:55:30.691Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T05:55:30.691Z] Successfully built c8bcdf567383 [2021-01-20T05:55:30.691Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-20T05:55:33.315Z] provisioning config files... [2021-01-20T05:55:33.330Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config1885572686146367731tmp [Pipeline] { [Pipeline] sh [2021-01-20T05:55:33.768Z] + set +x [2021-01-20T05:55:33.768Z] + curl -s https://codecov.io/bash [2021-01-20T05:55:33.768Z] + bash -s -- [2021-01-20T05:55:34.035Z] [2021-01-20T05:55:34.035Z] _____ _ [2021-01-20T05:55:34.035Z] / ____| | | [2021-01-20T05:55:34.035Z] | | ___ __| | ___ ___ _____ __ [2021-01-20T05:55:34.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-20T05:55:34.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-20T05:55:34.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-20T05:55:34.035Z] Bash-20210115-cec3c92 [2021-01-20T05:55:34.035Z] [2021-01-20T05:55:34.035Z] [2021-01-20T05:55:34.035Z] ==> git version 2.24.3 found [2021-01-20T05:55:34.035Z] ==> 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-20T05:55:34.035Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-20T05:55:34.035Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-20T05:55:34.035Z] ==> Jenkins CI detected. [2021-01-20T05:55:34.035Z] project root: . [2021-01-20T05:55:34.035Z] --> token set from env [2021-01-20T05:55:34.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-20T05:55:34.035Z] ==> Running gcov in . (disable via -X gcov) [2021-01-20T05:55:34.035Z] ==> Python coveragepy not found [2021-01-20T05:55:34.035Z] ==> Searching for coverage reports in: [2021-01-20T05:55:34.035Z] + . [2021-01-20T05:55:34.035Z] -> Found 1 reports [2021-01-20T05:55:34.035Z] ==> Detecting git/mercurial file structure [2021-01-20T05:55:34.036Z] ==> Reading reports [2021-01-20T05:55:34.036Z] + ./coverage.out bytes=143471 [2021-01-20T05:55:34.036Z] ==> Appending adjustments [2021-01-20T05:55:34.036Z] https://docs.codecov.io/docs/fixing-reports [2021-01-20T05:55:34.611Z] + Found adjustments [2021-01-20T05:55:34.611Z] ==> Gzipping contents [2021-01-20T05:55:34.611Z] 24K /tmp/codecov.xe5NhM.gz [2021-01-20T05:55:34.611Z] ==> Uploading reports [2021-01-20T05:55:34.611Z] url: https://codecov.io [2021-01-20T05:55:34.611Z] query: branch=PR-744&commit=0d2756aabe677c294d531a3266d146912d415d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-744%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=744&job=&cmd_args= [2021-01-20T05:55:34.611Z] -> Pinging Codecov [2021-01-20T05:55:34.611Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-744&commit=0d2756aabe677c294d531a3266d146912d415d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-744%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=744&job=&cmd_args= [2021-01-20T05:55:35.188Z] -> Uploading to [2021-01-20T05:55:35.188Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-20/7E55EF52A471D76F132DFD9A03CDDE97/0d2756aabe677c294d531a3266d146912d415d6f/9b174065-8eb7-4b4e-96c9-89bbc546c59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T055534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19eb05bea1a9f2bd4329b7c28b48a2a5056db47cd7dd2fd36a84c5ff3de51bb5 [2021-01-20T05:55:35.188Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-20T05:55:35.188Z] Dload Upload Total Spent Left Speed [2021-01-20T05:55:35.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22239 0 0 100 22239 0 49472 --:--:-- --:--:-- --:--:-- 49530 [2021-01-20T05:55:35.451Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] } [2021-01-20T05:55:35.481Z] 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-20T05:55:39.708Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:55:40.061Z] ---> package-listing.sh [2021-01-20T05:55:40.061Z] ++ facter osfamily [2021-01-20T05:55:40.061Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T05:55:40.061Z] + OS_FAMILY=redhat [2021-01-20T05:55:40.061Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-744 [2021-01-20T05:55:40.061Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T05:55:40.061Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T05:55:40.061Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T05:55:40.061Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T05:55:40.061Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-744 ']' [2021-01-20T05:55:40.061Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T05:55:40.061Z] + case "${OS_FAMILY}" in [2021-01-20T05:55:40.061Z] + rpm -qa [2021-01-20T05:55:40.061Z] + sort [2021-01-20T05:55:45.385Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T05:55:45.385Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T05:55:45.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T05:55:45.385Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-744 ']' [2021-01-20T05:55:45.385Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-744/archives/ [2021-01-20T05:55:45.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-744/archives/ [Pipeline] echo [2021-01-20T05:55:45.426Z] 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-744/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T05:55:45.747Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:55:46.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T05:55:46.090Z] [2021-01-20T05:55:46.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T05:55:46.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T05:55:46.479Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T05:55:46.479Z] df20fa9351a1: Pulling fs layer [2021-01-20T05:55:46.479Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T05:55:46.479Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T05:55:46.479Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T05:55:46.479Z] 93b61091891f: Pulling fs layer [2021-01-20T05:55:46.479Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T05:55:46.479Z] 5e14af77c1be: Pulling fs layer [2021-01-20T05:55:46.479Z] 01666e4c0597: Pulling fs layer [2021-01-20T05:55:46.479Z] aa168da1d23b: Pulling fs layer [2021-01-20T05:55:46.479Z] 93b9cdb0e59b: Waiting [2021-01-20T05:55:46.479Z] 5e14af77c1be: Waiting [2021-01-20T05:55:46.479Z] aa168da1d23b: Waiting [2021-01-20T05:55:46.479Z] 01666e4c0597: Waiting [2021-01-20T05:55:46.479Z] 46f8f816bc3b: Waiting [2021-01-20T05:55:46.479Z] 93b61091891f: Waiting [2021-01-20T05:55:46.479Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T05:55:46.479Z] 36b3adc4ff6f: Download complete [2021-01-20T05:55:46.479Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T05:55:46.479Z] 46f8f816bc3b: Download complete [2021-01-20T05:55:46.752Z] df20fa9351a1: Download complete [2021-01-20T05:55:46.752Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T05:55:46.752Z] 93b9cdb0e59b: Download complete [2021-01-20T05:55:46.752Z] 93b61091891f: Verifying Checksum [2021-01-20T05:55:46.752Z] 93b61091891f: Download complete [2021-01-20T05:55:46.752Z] 5e14af77c1be: Verifying Checksum [2021-01-20T05:55:46.752Z] 5e14af77c1be: Download complete [2021-01-20T05:55:46.752Z] 01666e4c0597: Verifying Checksum [2021-01-20T05:55:46.752Z] 01666e4c0597: Download complete [2021-01-20T05:55:46.752Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T05:55:46.752Z] 8ad3a11d3b57: Download complete [2021-01-20T05:55:47.017Z] df20fa9351a1: Pull complete [2021-01-20T05:55:47.290Z] 36b3adc4ff6f: Pull complete [2021-01-20T05:55:47.878Z] 8ad3a11d3b57: Pull complete [2021-01-20T05:55:47.878Z] 46f8f816bc3b: Pull complete [2021-01-20T05:55:48.841Z] aa168da1d23b: Verifying Checksum [2021-01-20T05:55:48.841Z] aa168da1d23b: Download complete [2021-01-20T05:55:49.417Z] 93b61091891f: Pull complete [2021-01-20T05:55:49.417Z] 93b9cdb0e59b: Pull complete [2021-01-20T05:55:49.680Z] 5e14af77c1be: Pull complete [2021-01-20T05:55:49.680Z] 01666e4c0597: Pull complete [2021-01-20T05:55:56.318Z] aa168da1d23b: Pull complete [2021-01-20T05:55:56.318Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T05:55:56.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T05:55:56.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T05:55:56.542Z] prd-centos7-docker-4c-2g-21505 does not seem to be running inside a container [2021-01-20T05:55:56.591Z] $ 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-744/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-744 -v /w/workspace/dgexfoundry_device-sdk-go_PR-744:/w/workspace/dgexfoundry_device-sdk-go_PR-744:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-744@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T05:56:00.753Z] $ docker top 0ae26b4eb6200e7f6f62b3fb8bde768db565e70c58bf38e6c9a10790a46edb19 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T05:56:01.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T05:56:01.657Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T05:56:01.986Z] + ls /var/log/sa-host [2021-01-20T05:56:01.986Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T05:56:01.986Z] file_magic: OK [2021-01-20T05:56:01.986Z] HZ: Using current value: 100 [2021-01-20T05:56:01.986Z] file_header: OK [2021-01-20T05:56:01.986Z] 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-20T05:56:01.986Z] Statistics: [2021-01-20T05:56:01.986Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T05:56:01.986Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T05:56:01.986Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T05:56:01.986Z] file_magic: OK [2021-01-20T05:56:01.986Z] HZ: Using current value: 100 [2021-01-20T05:56:01.986Z] file_header: OK [2021-01-20T05:56:01.986Z] 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-20T05:56:01.986Z] Statistics: [2021-01-20T05:56:01.986Z] Hnuu...uuuununununu... [2021-01-20T05:56:01.986Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T05:56:02.281Z] provisioning config files... [2021-01-20T05:56:02.296Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config7920584695378187939tmp [Pipeline] { [Pipeline] echo [2021-01-20T05:56:02.416Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:56:02.756Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T05:56:02.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T05:56:02.922Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:56:03.259Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T05:56:03.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:56:03.628Z] ---> sudo-logs.sh [2021-01-20T05:56:03.628Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T05:56:03.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:56:04.001Z] ---> job-cost.sh [2021-01-20T05:56:04.001Z] lf-activate-venv: SKIPPING [2021-01-20T05:56:04.001Z] INFO: No Stack... [2021-01-20T05:56:04.954Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T05:56:05.531Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T05:56:05.570Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T05:56:05.909Z] ---> logs-deploy.sh [2021-01-20T05:56:05.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-744/1 [2021-01-20T05:56:05.909Z] INFO: archiving workspace using pattern(s): [2021-01-20T05:56:07.837Z] Archives upload complete. [2021-01-20T05:56:07.837Z] INFO: archiving logs to Nexus