Pull request #756 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11+2e0b14878cfb4a574be8745ab7c226ce26d53775 (fb2ae672f49858890269bbdc4dd24f9b10923dd2) 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-756/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-756/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22787 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [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-756 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) > 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/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" 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-26T06:15:04.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T06:15:04.994Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T06:15:05.214Z] ========================================================= [2021-01-26T06:15:05.214Z] EdgeX Global Pipelines Version Info [2021-01-26T06:15:05.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:15:06.747Z] ------------------- [2021-01-26T06:15:06.747Z] stable info: [2021-01-26T06:15:06.747Z] ------------------- [2021-01-26T06:15:06.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T06:15:06.747Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T06:15:06.747Z] Message: update stable to v1.0.179 [2021-01-26T06:15:07.714Z] ------------------- [2021-01-26T06:15:07.714Z] experimental info: [2021-01-26T06:15:07.714Z] ------------------- [2021-01-26T06:15:07.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T06:15:07.714Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T06:15:07.714Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T06:15:08.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-26T06:15:08.256Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-26T06:15:08.382Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T06:15:08.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T06:15:08.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T06:15:08.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T06:15:08.863Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T06:15:08.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T06:15:09.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-26T06:15:09.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T06:15:09.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T06:15:09.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-26T06:15:09.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T06:15:09.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T06:15:09.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-26T06:15:10.159Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T06:15:10.330Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T06:15:10.539Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T06:15:10.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T06:15:10.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T06:15:11.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-26T06:15:11.154Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-26T06:15:11.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T06:15:11.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T06:15:11.519Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-26T06:15:11.645Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T06:15:11.760Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T06:15:11.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-756 [Pipeline] echo [2021-01-26T06:15:12.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-756 [Pipeline] echo [2021-01-26T06:15:12.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-756 [Pipeline] echo [2021-01-26T06:15:12.351Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] echo [2021-01-26T06:15:12.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ca3ead [Pipeline] echo [2021-01-26T06:15:12.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T06:15:12.881Z] provisioning config files... [2021-01-26T06:15:12.911Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1688239591441618253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:15:13.351Z] ---> docker-login.sh [2021-01-26T06:15:13.351Z] nexus3.edgexfoundry.org:10001 [2021-01-26T06:15:13.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:15:13.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:15:13.617Z] Configure a credential helper to remove this warning. See [2021-01-26T06:15:13.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:15:13.617Z] [2021-01-26T06:15:13.617Z] Login Succeeded [2021-01-26T06:15:13.617Z] nexus3.edgexfoundry.org:10002 [2021-01-26T06:15:13.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:15:13.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:15:13.879Z] Configure a credential helper to remove this warning. See [2021-01-26T06:15:13.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:15:13.879Z] [2021-01-26T06:15:13.879Z] Login Succeeded [2021-01-26T06:15:13.879Z] nexus3.edgexfoundry.org:10003 [2021-01-26T06:15:14.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:15:14.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:15:14.142Z] Configure a credential helper to remove this warning. See [2021-01-26T06:15:14.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:15:14.142Z] [2021-01-26T06:15:14.142Z] Login Succeeded [2021-01-26T06:15:14.142Z] nexus3.edgexfoundry.org:10004 [2021-01-26T06:15:14.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:15:14.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:15:14.405Z] Configure a credential helper to remove this warning. See [2021-01-26T06:15:14.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:15:14.405Z] [2021-01-26T06:15:14.405Z] Login Succeeded [2021-01-26T06:15:14.405Z] docker.io [2021-01-26T06:15:14.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:15:14.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:15:14.671Z] Configure a credential helper to remove this warning. See [2021-01-26T06:15:14.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:15:14.671Z] [2021-01-26T06:15:14.671Z] Login Succeeded [2021-01-26T06:15:14.671Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T06:15:14.710Z] 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-26T06:15:15.770Z] + git log --format=format:%s -1 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] echo [2021-01-26T06:15:15.865Z] GIT_COMMIT: 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11, Commit Message: build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0 [Pipeline] echo [2021-01-26T06:15:15.938Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:15:16.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T06:15:16.608Z] [2021-01-26T06:15:16.608Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:15:17.003Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T06:15:17.003Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T06:15:17.003Z] 31603596830f: Pulling fs layer [2021-01-26T06:15:17.003Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T06:15:17.003Z] 6ca5941a6612: Pulling fs layer [2021-01-26T06:15:17.003Z] ecc8261a40a4: Pulling fs layer [2021-01-26T06:15:17.003Z] ecc8261a40a4: Waiting [2021-01-26T06:15:17.003Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T06:15:17.003Z] 2a8b12db71e7: Download complete [2021-01-26T06:15:17.003Z] 31603596830f: Download complete [2021-01-26T06:15:17.274Z] ecc8261a40a4: Verifying Checksum [2021-01-26T06:15:17.274Z] ecc8261a40a4: Download complete [2021-01-26T06:15:17.274Z] 6ca5941a6612: Verifying Checksum [2021-01-26T06:15:17.274Z] 6ca5941a6612: Download complete [2021-01-26T06:15:17.546Z] 31603596830f: Pull complete [2021-01-26T06:15:17.546Z] 2a8b12db71e7: Pull complete [2021-01-26T06:15:18.504Z] 6ca5941a6612: Pull complete [2021-01-26T06:15:18.774Z] ecc8261a40a4: Pull complete [2021-01-26T06:15:18.774Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T06:15:18.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T06:15:18.774Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T06:15:18.893Z] prd-centos7-docker-4c-2g-22787 does not seem to be running inside a container [2021-01-26T06:15:19.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T06:15:21.158Z] $ docker top 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T06:15:21.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T06:15:21.639Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T06:15:21.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T06:15:21.879Z] $ docker exec 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent [2021-01-26T06:15:22.053Z] SSH_AUTH_SOCK=/tmp/ssh-YQ0z5Sebn7Fj/agent.12 [2021-01-26T06:15:22.053Z] SSH_AGENT_PID=18 [2021-01-26T06:15:22.069Z] Running ssh-add (command line suppressed) [2021-01-26T06:15:22.199Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_7210364196532538149.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_7210364196532538149.key) [2021-01-26T06:15:22.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T06:15:22.638Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T06:15:22.674Z] $ docker exec --env ******** --env ******** 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent -k [2021-01-26T06:15:22.798Z] unset SSH_AUTH_SOCK; [2021-01-26T06:15:22.799Z] unset SSH_AGENT_PID; [2021-01-26T06:15:22.799Z] echo Agent pid 18 killed; [2021-01-26T06:15:22.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T06:15:23.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T06:15:23.046Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T06:15:23.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T06:15:23.225Z] $ docker exec 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent [2021-01-26T06:15:23.400Z] SSH_AUTH_SOCK=/tmp/ssh-y6CAJyU1fA2f/agent.46 [2021-01-26T06:15:23.400Z] SSH_AGENT_PID=52 [2021-01-26T06:15:23.407Z] Running ssh-add (command line suppressed) [2021-01-26T06:15:23.532Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5678698202228662329.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5678698202228662329.key) [2021-01-26T06:15:23.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T06:15:23.974Z] + git semver init [2021-01-26T06:15:23.974Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T06:15:23.974Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.git [2021-01-26T06:15:23.974Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-756 [2021-01-26T06:15:23.974Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T06:15:23.974Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T06:15:23.974Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T06:15:23.974Z] # $SEMVER_BRANCH = PR-756 [2021-01-26T06:15:23.974Z] # $SEMVER_TEMP = /tmp/semver-968905717 [2021-01-26T06:15:23.974Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-26T06:15:24.552Z] # '/tmp/semver-968905717' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver' [2021-01-26T06:15:24.552Z] # -> Force: false [2021-01-26T06:15:24.552Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver [Pipeline] } [2021-01-26T06:15:24.573Z] $ docker exec --env ******** --env ******** 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent -k [2021-01-26T06:15:24.707Z] unset SSH_AUTH_SOCK; [2021-01-26T06:15:24.708Z] unset SSH_AGENT_PID; [2021-01-26T06:15:24.708Z] echo Agent pid 52 killed; [2021-01-26T06:15:24.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T06:15:25.332Z] + git semver [Pipeline] } [2021-01-26T06:15:25.363Z] $ docker stop --time=1 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 [2021-01-26T06:15:26.839Z] $ docker rm -f 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T06:15:27.411Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T06:15:27.894Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T06:15:27.915Z] [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-26T06:15:43.757Z] Still waiting to schedule task [2021-01-26T06:15:43.757Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22789’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-26T06:15:43.783Z] Still waiting to schedule task [2021-01-26T06:15:43.783Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-26T06:17:05.456Z] Running on prd-centos7-docker-4c-2g-22791 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws [2021-01-26T06:17:05.552Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-26T06:17:07.778Z] using credential edgex-jenkins-ssh [2021-01-26T06:17:07.909Z] Cloning the remote Git repository [2021-01-26T06:17:07.327Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:17:07.395Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-26T06:17:07.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:17:07.457Z] > git --version # timeout=10 [2021-01-26T06:17:07.462Z] > git --version # 'git version 2.24.3' [2021-01-26T06:17:07.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:17:07.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T06:17:08.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T06:17:08.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T06:17:08.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T06:17:08.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:17:08.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:17:08.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T06:17:09.245Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:17:09.340Z] Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:17:09.340Z] Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) [2021-01-26T06:17:08.770Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T06:17:08.774Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-26T06:17:08.820Z] > git remote # timeout=10 [2021-01-26T06:17:08.825Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T06:17:08.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:17:08.837Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-26T06:17:08.847Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T06:17:08.856Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T06:17:08.859Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-26T06:17:12.811Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" [2021-01-26T06:17:12.639Z] > git --version # timeout=10 [2021-01-26T06:17:12.644Z] > git --version # 'git version 2.24.3' [2021-01-26T06:17:12.650Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T06:17:14.155Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T06:17:14.504Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T06:17:14.819Z] + sudo service docker restart [2021-01-26T06:17:14.819Z] + true [2021-01-26T06:17:14.819Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T06:17:15.908Z] provisioning config files... [2021-01-26T06:17:15.936Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1204966238275849664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:17:16.369Z] ---> docker-login.sh [2021-01-26T06:17:16.369Z] nexus3.edgexfoundry.org:10001 [2021-01-26T06:17:16.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:17:16.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:17:16.632Z] Configure a credential helper to remove this warning. See [2021-01-26T06:17:16.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:17:16.632Z] [2021-01-26T06:17:16.632Z] Login Succeeded [2021-01-26T06:17:16.632Z] nexus3.edgexfoundry.org:10002 [2021-01-26T06:17:16.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:17:16.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:17:16.893Z] Configure a credential helper to remove this warning. See [2021-01-26T06:17:16.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:17:16.893Z] [2021-01-26T06:17:16.893Z] Login Succeeded [2021-01-26T06:17:16.893Z] nexus3.edgexfoundry.org:10003 [2021-01-26T06:17:16.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:17:16.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:17:16.893Z] Configure a credential helper to remove this warning. See [2021-01-26T06:17:16.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:17:16.893Z] [2021-01-26T06:17:16.893Z] Login Succeeded [2021-01-26T06:17:16.893Z] nexus3.edgexfoundry.org:10004 [2021-01-26T06:17:17.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:17:17.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:17:17.154Z] Configure a credential helper to remove this warning. See [2021-01-26T06:17:17.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:17:17.154Z] [2021-01-26T06:17:17.154Z] Login Succeeded [2021-01-26T06:17:17.154Z] docker.io [2021-01-26T06:17:17.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:17:17.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:17:17.416Z] Configure a credential helper to remove this warning. See [2021-01-26T06:17:17.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:17:17.416Z] [2021-01-26T06:17:17.416Z] Login Succeeded [2021-01-26T06:17:17.416Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T06:17:17.450Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T06:17:17.977Z] ========================================================= [2021-01-26T06:17:17.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T06:17:17.977Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:17:18.363Z] + 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-26T06:17:18.363Z] Sending build context to Docker daemon 2.557MB [2021-01-26T06:17:18.363Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T06:17:18.363Z] Step 2/8 : FROM ${BASE} [2021-01-26T06:17:18.363Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T06:17:18.363Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T06:17:18.363Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T06:17:18.363Z] de9db76c5a1d: Pulling fs layer [2021-01-26T06:17:18.363Z] bca2f99d35d6: Pulling fs layer [2021-01-26T06:17:18.363Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T06:17:18.363Z] 7c6f9722023f: Pulling fs layer [2021-01-26T06:17:18.363Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T06:17:18.363Z] bca2f99d35d6: Waiting [2021-01-26T06:17:18.363Z] 93359f2a8cfa: Waiting [2021-01-26T06:17:18.363Z] 7c6f9722023f: Waiting [2021-01-26T06:17:18.363Z] a35cf1a2eb13: Waiting [2021-01-26T06:17:18.363Z] de9db76c5a1d: Verifying Checksum [2021-01-26T06:17:18.363Z] de9db76c5a1d: Download complete [2021-01-26T06:17:18.363Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T06:17:18.363Z] 0ef7d3d256c8: Download complete [2021-01-26T06:17:18.624Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T06:17:18.624Z] 93359f2a8cfa: Download complete [2021-01-26T06:17:18.624Z] 7c6f9722023f: Verifying Checksum [2021-01-26T06:17:18.624Z] 7c6f9722023f: Download complete [2021-01-26T06:17:18.624Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T06:17:18.624Z] 188c0c94c7c5: Download complete [2021-01-26T06:17:18.893Z] 188c0c94c7c5: Pull complete [2021-01-26T06:17:18.893Z] 0ef7d3d256c8: Pull complete [2021-01-26T06:17:19.472Z] de9db76c5a1d: Pull complete [2021-01-26T06:17:20.451Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T06:17:20.451Z] a35cf1a2eb13: Download complete [2021-01-26T06:17:21.404Z] bca2f99d35d6: Verifying Checksum [2021-01-26T06:17:21.404Z] bca2f99d35d6: Download complete [2021-01-26T06:17:25.645Z] bca2f99d35d6: Pull complete [2021-01-26T06:17:25.909Z] 93359f2a8cfa: Pull complete [2021-01-26T06:17:25.909Z] 7c6f9722023f: Pull complete [2021-01-26T06:17:32.519Z] a35cf1a2eb13: Pull complete [2021-01-26T06:17:32.519Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T06:17:32.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T06:17:32.519Z] ---> a62c8e92a672 [2021-01-26T06:17:32.519Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:17:33.464Z] ---> Running in 405fbe62cb1a [2021-01-26T06:17:33.464Z] Removing intermediate container 405fbe62cb1a [2021-01-26T06:17:33.464Z] ---> dd5742ecd89f [2021-01-26T06:17:33.464Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T06:17:33.726Z] ---> Running in ca1c13b7e313 [2021-01-26T06:17:34.671Z] Removing intermediate container ca1c13b7e313 [2021-01-26T06:17:34.671Z] ---> c814921143b1 [2021-01-26T06:17:34.671Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T06:17:34.671Z] ---> Running in b6b3f3a829ac [2021-01-26T06:17:35.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T06:17:35.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T06:17:36.085Z] OK: 166 MiB in 39 packages [2021-01-26T06:17:36.668Z] Removing intermediate container b6b3f3a829ac [2021-01-26T06:17:36.668Z] ---> 9e2a43e41061 [2021-01-26T06:17:36.668Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T06:17:36.668Z] ---> Running in 864953953af1 [2021-01-26T06:17:36.938Z] Removing intermediate container 864953953af1 [2021-01-26T06:17:36.938Z] ---> 86e9262ddbbe [2021-01-26T06:17:36.938Z] Step 7/8 : COPY . . [2021-01-26T06:17:37.887Z] ---> 8769e5563a82 [2021-01-26T06:17:37.887Z] Step 8/8 : RUN go mod download [2021-01-26T06:17:38.148Z] ---> Running in 512cb207d04e [2021-01-26T06:17:56.284Z] Removing intermediate container 512cb207d04e [2021-01-26T06:17:56.284Z] ---> 9dbd20bad4b5 [2021-01-26T06:17:56.284Z] Successfully built 9dbd20bad4b5 [2021-01-26T06:17:56.284Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:17:56.620Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T06:17:56.620Z] . [Pipeline] withDockerContainer [2021-01-26T06:17:56.747Z] prd-centos7-docker-4c-2g-22791 does not seem to be running inside a container [2021-01-26T06:17:56.789Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-26T06:17:57.345Z] $ docker top 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T06:17:57.873Z] + go version [2021-01-26T06:17:57.873Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T06:17:57.907Z] $ docker stop --time=1 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b [2021-01-26T06:17:59.225Z] $ docker rm -f 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:18:00.273Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T06:18:00.273Z] . [Pipeline] withDockerContainer [2021-01-26T06:18:00.423Z] prd-centos7-docker-4c-2g-22791 does not seem to be running inside a container [2021-01-26T06:18:00.469Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-26T06:18:00.993Z] $ docker top f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T06:18:01.604Z] + make test [2021-01-26T06:18:01.604Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T06:18:08.263Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-26T06:18:23.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T06:18:23.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T06:18:23.246Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T06:18:23.246Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 19.4% of statements [2021-01-26T06:18:25.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements [2021-01-26T06:18:36.232Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22793 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws [2021-01-26T06:18:36.325Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-26T06:18:41.681Z] using credential edgex-jenkins-ssh [2021-01-26T06:18:41.735Z] Cloning the remote Git repository [2021-01-26T06:18:41.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:18:41.926Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-26T06:18:41.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:18:41.993Z] > git --version # timeout=10 [2021-01-26T06:18:42.010Z] > git --version # 'git version 2.17.1' [2021-01-26T06:18:42.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:18:42.101Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T06:18:43.729Z] Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:18:43.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T06:18:43.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T06:18:43.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T06:18:43.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T06:18:43.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:18:43.278Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T06:18:43.766Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T06:18:43.780Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-26T06:18:43.885Z] > git remote # timeout=10 [2021-01-26T06:18:43.903Z] > git config --get remote.origin.url # timeout=10 [2021-01-26T06:18:43.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T06:18:43.966Z] Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:18:43.966Z] Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) [2021-01-26T06:18:43.944Z] > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [2021-01-26T06:18:43.965Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-26T06:18:43.986Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T06:18:43.996Z] > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 [2021-01-26T06:18:48.414Z] Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" [2021-01-26T06:18:48.478Z] > git --version # timeout=10 [2021-01-26T06:18:48.498Z] > git --version # 'git version 2.17.1' [2021-01-26T06:18:48.519Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T06:18:50.491Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T06:18:50.913Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T06:18:51.370Z] + + sudo servicetrue docker [2021-01-26T06:18:51.370Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T06:18:54.189Z] provisioning config files... [2021-01-26T06:18:54.226Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7526783053584164190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:18:54.700Z] ---> docker-login.sh [2021-01-26T06:18:54.700Z] nexus3.edgexfoundry.org:10001 [2021-01-26T06:18:55.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:18:55.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:18:55.986Z] Configure a credential helper to remove this warning. See [2021-01-26T06:18:55.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:18:55.986Z] [2021-01-26T06:18:55.986Z] Login Succeeded [2021-01-26T06:18:55.986Z] nexus3.edgexfoundry.org:10002 [2021-01-26T06:18:57.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:18:57.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:18:57.137Z] Configure a credential helper to remove this warning. See [2021-01-26T06:18:57.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:18:57.137Z] [2021-01-26T06:18:57.137Z] Login Succeeded [2021-01-26T06:18:57.137Z] nexus3.edgexfoundry.org:10003 [2021-01-26T06:18:57.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:18:57.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:18:57.137Z] Configure a credential helper to remove this warning. See [2021-01-26T06:18:57.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:18:57.137Z] [2021-01-26T06:18:57.137Z] Login Succeeded [2021-01-26T06:18:57.137Z] nexus3.edgexfoundry.org:10004 [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.203s coverage: 43.2% of statements [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.255s coverage: 68.9% of statements [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 53.8% of statements [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 26.8% of statements [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.573s coverage: 83.5% of statements [2021-01-26T06:18:57.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-01-26T06:18:57.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T06:18:57.401Z] GO111MODULE=on go vet ./... [2021-01-26T06:18:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:18:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:18:57.414Z] Configure a credential helper to remove this warning. See [2021-01-26T06:18:57.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:18:57.414Z] [2021-01-26T06:18:57.414Z] Login Succeeded [2021-01-26T06:18:57.414Z] docker.io [2021-01-26T06:18:58.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T06:18:58.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T06:18:58.300Z] Configure a credential helper to remove this warning. See [2021-01-26T06:18:58.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T06:18:58.300Z] [2021-01-26T06:18:58.300Z] Login Succeeded [2021-01-26T06:18:58.300Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T06:18:58.334Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T06:18:58.877Z] ========================================================= [2021-01-26T06:18:58.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T06:18:58.877Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:18:59.296Z] + 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-26T06:18:59.896Z] Sending build context to Docker daemon 2.554MB [2021-01-26T06:18:59.896Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T06:18:59.896Z] Step 2/8 : FROM ${BASE} [2021-01-26T06:18:59.896Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T06:18:59.896Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T06:18:59.896Z] a4357932f1b6: Pulling fs layer [2021-01-26T06:18:59.896Z] 18c013af1878: Pulling fs layer [2021-01-26T06:18:59.896Z] 00ac8860ef70: Pulling fs layer [2021-01-26T06:18:59.896Z] 63d7cb157983: Pulling fs layer [2021-01-26T06:18:59.896Z] b116817d02f9: Pulling fs layer [2021-01-26T06:18:59.896Z] 745a02a5169b: Pulling fs layer [2021-01-26T06:18:59.896Z] 00ac8860ef70: Waiting [2021-01-26T06:18:59.896Z] 63d7cb157983: Waiting [2021-01-26T06:18:59.896Z] b116817d02f9: Waiting [2021-01-26T06:18:59.896Z] 745a02a5169b: Waiting [2021-01-26T06:18:59.896Z] 18c013af1878: Verifying Checksum [2021-01-26T06:18:59.896Z] 18c013af1878: Download complete [2021-01-26T06:18:59.896Z] a4357932f1b6: Download complete [2021-01-26T06:18:59.896Z] 63d7cb157983: Download complete [2021-01-26T06:18:59.896Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T06:18:59.896Z] 5f621e34cdf4: Download complete [2021-01-26T06:18:59.896Z] b116817d02f9: Verifying Checksum [2021-01-26T06:18:59.896Z] b116817d02f9: Download complete [2021-01-26T06:19:00.893Z] 5f621e34cdf4: Pull complete [2021-01-26T06:19:01.175Z] a4357932f1b6: Pull complete [2021-01-26T06:19:01.778Z] 18c013af1878: Pull complete [2021-01-26T06:19:02.057Z] 745a02a5169b: Verifying Checksum [2021-01-26T06:19:02.057Z] 745a02a5169b: Download complete [2021-01-26T06:19:03.491Z] 00ac8860ef70: Verifying Checksum [2021-01-26T06:19:03.491Z] 00ac8860ef70: Download complete [2021-01-26T06:19:04.098Z] gofmt -l . [2021-01-26T06:19:04.098Z] [ "`gofmt -l .`" = "" ] [2021-01-26T06:19:04.098Z] ./bin/test-attribution-txt.sh [2021-01-26T06:19:04.098Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T06:19:04.131Z] $ docker stop --time=1 f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 [2021-01-26T06:19:05.938Z] $ docker rm -f f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T06:19:06.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T06:19:06.998Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-26T06:19:08.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T06:19:08.745Z] + ls -al . [2021-01-26T06:19:08.745Z] total 216 [2021-01-26T06:19:08.745Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 26 06:19 . [2021-01-26T06:19:08.745Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 26 06:17 .. [2021-01-26T06:19:08.745Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 26 06:17 bin [2021-01-26T06:19:08.745Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 26 06:18 coverage.out [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 26 06:17 Dockerfile.build [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 06:17 .dockerignore [2021-01-26T06:19:08.745Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 26 06:17 example [2021-01-26T06:19:08.745Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 26 06:17 .git [2021-01-26T06:19:08.745Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 26 06:17 .github [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 26 06:17 .gitignore [2021-01-26T06:19:08.745Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 26 06:19 go.mod [2021-01-26T06:19:08.745Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 26 06:19 go.sum [2021-01-26T06:19:08.745Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 26 06:17 internal [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 26 06:17 Jenkinsfile [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 06:17 LICENSE [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 26 06:17 Makefile [2021-01-26T06:19:08.745Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 26 06:17 openapi [2021-01-26T06:19:08.745Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 06:17 pkg [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 26 06:17 README.md [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 26 06:17 RELEASE-NOTES.txt [2021-01-26T06:19:08.745Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 06:17 snap [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 26 06:15 VERSION [2021-01-26T06:19:08.745Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 06:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:19:09.109Z] + 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=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 --label arch=amd64 --label version=0.0.0 . [2021-01-26T06:19:09.109Z] Sending build context to Docker daemon 2.695MB [2021-01-26T06:19:09.109Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T06:19:09.109Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T06:19:09.109Z] ---> 9dbd20bad4b5 [2021-01-26T06:19:09.109Z] Step 3/24 : ARG MAKE='make build' [2021-01-26T06:19:09.681Z] ---> Running in 65364da65c15 [2021-01-26T06:19:09.948Z] Removing intermediate container 65364da65c15 [2021-01-26T06:19:09.948Z] ---> 3ee76dd84792 [2021-01-26T06:19:09.948Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T06:19:09.948Z] ---> Running in 794b26d78552 [2021-01-26T06:19:09.948Z] Removing intermediate container 794b26d78552 [2021-01-26T06:19:09.948Z] ---> 11884dcad4e0 [2021-01-26T06:19:09.948Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:19:10.216Z] ---> Running in 43d9203e24f4 [2021-01-26T06:19:10.216Z] Removing intermediate container 43d9203e24f4 [2021-01-26T06:19:10.216Z] ---> 131c39872189 [2021-01-26T06:19:10.216Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T06:19:10.478Z] ---> Running in d8daa4e7c488 [2021-01-26T06:19:11.059Z] Removing intermediate container d8daa4e7c488 [2021-01-26T06:19:11.059Z] ---> 1293baee5eb9 [2021-01-26T06:19:11.059Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T06:19:11.059Z] ---> Running in 4b5cdf18e958 [2021-01-26T06:19:11.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T06:19:12.593Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T06:19:13.730Z] 00ac8860ef70: Pull complete [2021-01-26T06:19:13.730Z] 63d7cb157983: Pull complete [2021-01-26T06:19:14.005Z] b116817d02f9: Pull complete [2021-01-26T06:19:15.158Z] OK: 166 MiB in 39 packages [2021-01-26T06:19:15.158Z] Removing intermediate container 4b5cdf18e958 [2021-01-26T06:19:15.158Z] ---> 08a525bb1da2 [2021-01-26T06:19:15.158Z] Step 8/24 : COPY . . [2021-01-26T06:19:16.104Z] ---> 93d75b529e23 [2021-01-26T06:19:16.104Z] Step 9/24 : RUN ${MAKE} [2021-01-26T06:19:16.371Z] ---> Running in 61020a095942 [2021-01-26T06:19:16.638Z] 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-26T06:19:18.337Z] 745a02a5169b: Pull complete [2021-01-26T06:19:18.337Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T06:19:18.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T06:19:18.337Z] ---> b7e6874047d6 [2021-01-26T06:19:18.337Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:19:20.981Z] ---> Running in ef3102edb9af [2021-01-26T06:19:21.582Z] Removing intermediate container ef3102edb9af [2021-01-26T06:19:21.582Z] ---> e1a7428ccc7a [2021-01-26T06:19:21.582Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T06:19:21.582Z] ---> Running in 494e8201f85f [2021-01-26T06:19:24.239Z] Removing intermediate container 494e8201f85f [2021-01-26T06:19:24.239Z] ---> 1838a4f94378 [2021-01-26T06:19:24.239Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T06:19:24.239Z] ---> Running in 672339a5ff7a [2021-01-26T06:19:24.868Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T06:19:25.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T06:19:26.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T06:19:26.788Z] Removing intermediate container 61020a095942 [2021-01-26T06:19:26.788Z] ---> be7ca03d50fe [2021-01-26T06:19:26.788Z] Step 10/24 : FROM scratch [2021-01-26T06:19:26.788Z] ---> [2021-01-26T06:19:26.788Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:19:26.788Z] ---> Running in aee121f7a09a [2021-01-26T06:19:26.788Z] Removing intermediate container aee121f7a09a [2021-01-26T06:19:26.788Z] ---> 733ad49da40a [2021-01-26T06:19:26.788Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T06:19:26.788Z] ---> Running in 6a18696acccc [2021-01-26T06:19:26.788Z] Removing intermediate container 6a18696acccc [2021-01-26T06:19:26.788Z] ---> e34124469223 [2021-01-26T06:19:26.788Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T06:19:26.788Z] ---> Running in 4f7061a870f1 [2021-01-26T06:19:27.050Z] Removing intermediate container 4f7061a870f1 [2021-01-26T06:19:27.050Z] ---> 87e2412a6067 [2021-01-26T06:19:27.050Z] Step 14/24 : WORKDIR / [2021-01-26T06:19:27.050Z] ---> Running in b50cdc5056b5 [2021-01-26T06:19:27.311Z] Removing intermediate container b50cdc5056b5 [2021-01-26T06:19:27.311Z] ---> 11c4338d06a2 [2021-01-26T06:19:27.311Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T06:19:27.573Z] ---> 6d021b94df06 [2021-01-26T06:19:27.573Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T06:19:27.836Z] ---> 4549ffc1530c [2021-01-26T06:19:27.836Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T06:19:28.095Z] ---> 3ed5e008f961 [2021-01-26T06:19:28.096Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T06:19:28.097Z] OK: 142 MiB in 39 packages [2021-01-26T06:19:28.356Z] ---> b805ee853902 [2021-01-26T06:19:28.356Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-26T06:19:28.618Z] ---> 04d2edd156ad [2021-01-26T06:19:28.618Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T06:19:28.618Z] ---> Running in 168cbd9d9a38 [2021-01-26T06:19:28.880Z] Removing intermediate container 168cbd9d9a38 [2021-01-26T06:19:28.880Z] ---> 6bf54f7f6e5d [2021-01-26T06:19:28.880Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T06:19:28.880Z] ---> Running in ba98a056d2a6 [2021-01-26T06:19:28.880Z] Removing intermediate container ba98a056d2a6 [2021-01-26T06:19:28.880Z] ---> 04181d4e784e [2021-01-26T06:19:28.880Z] Step 22/24 : LABEL arch=amd64 [2021-01-26T06:19:29.081Z] Removing intermediate container 672339a5ff7a [2021-01-26T06:19:29.081Z] ---> f65786440e65 [2021-01-26T06:19:29.081Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T06:19:29.081Z] ---> Running in ffaca3e95de1 [2021-01-26T06:19:29.144Z] ---> Running in de55c4e712cf [2021-01-26T06:19:29.144Z] Removing intermediate container de55c4e712cf [2021-01-26T06:19:29.144Z] ---> be912afc552a [2021-01-26T06:19:29.144Z] Step 23/24 : LABEL git_sha=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:19:29.405Z] ---> Running in 2620f0976092 [2021-01-26T06:19:29.405Z] Removing intermediate container 2620f0976092 [2021-01-26T06:19:29.405Z] ---> 65b3bb416046 [2021-01-26T06:19:29.405Z] Step 24/24 : LABEL version=0.0.0 [2021-01-26T06:19:29.405Z] ---> Running in e272c43f5ed5 [2021-01-26T06:19:29.667Z] Removing intermediate container e272c43f5ed5 [2021-01-26T06:19:29.667Z] ---> 27266fc491a2 [2021-01-26T06:19:29.667Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T06:19:29.667Z] Successfully built 27266fc491a2 [2021-01-26T06:19:29.667Z] Successfully tagged docker-device-sdk-simple:latest [2021-01-26T06:19:29.678Z] Removing intermediate container ffaca3e95de1 [2021-01-26T06:19:29.679Z] ---> 5eab6e1b9b83 [2021-01-26T06:19:29.679Z] Step 7/8 : COPY . . [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 [2021-01-26T06:19:31.137Z] ---> 769590145718 [2021-01-26T06:19:31.137Z] Step 8/8 : RUN go mod download [2021-01-26T06:19:31.137Z] ---> Running in 74c89b2e011f [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T06:19:53.358Z] Removing intermediate container 74c89b2e011f [2021-01-26T06:19:53.358Z] ---> 3d132e67323d [2021-01-26T06:19:53.358Z] Successfully built 3d132e67323d [2021-01-26T06:19:53.359Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:19:53.743Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T06:19:53.744Z] . [Pipeline] withDockerContainer [2021-01-26T06:19:53.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-22793 does not seem to be running inside a container [2021-01-26T06:19:54.110Z] $ 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-26T06:19:55.593Z] $ docker top d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T06:19:56.661Z] + go version [2021-01-26T06:19:56.661Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T06:19:56.725Z] $ docker stop --time=1 d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b [2021-01-26T06:19:58.587Z] $ docker rm -f d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:19:59.803Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T06:19:59.803Z] . [Pipeline] withDockerContainer [2021-01-26T06:20:00.062Z] prd-ubuntu18.04-docker-arm64-4c-16g-22793 does not seem to be running inside a container [2021-01-26T06:20:00.183Z] $ 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-26T06:20:01.709Z] $ docker top e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T06:20:02.745Z] + make test [2021-01-26T06:20:02.746Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T06:20:24.911Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-26T06:21:03.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T06:21:03.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T06:21:03.982Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T06:21:04.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.198s coverage: 19.4% of statements [2021-01-26T06:21:09.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.207s coverage: 97.1% of statements [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.173s coverage: 9.4% of statements [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.143s coverage: 21.7% of statements [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.583s coverage: 43.2% of statements [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.746s coverage: 68.9% of statements [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 26.8% of statements [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.790s coverage: 83.5% of statements [2021-01-26T06:21:42.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements [2021-01-26T06:21:42.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T06:21:42.071Z] GO111MODULE=on go vet ./... [2021-01-26T06:22:14.477Z] gofmt -l . [2021-01-26T06:22:14.477Z] [ "`gofmt -l .`" = "" ] [2021-01-26T06:22:14.477Z] ./bin/test-attribution-txt.sh [2021-01-26T06:22:14.477Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T06:22:14.575Z] $ docker stop --time=1 e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f [2021-01-26T06:22:16.787Z] $ docker rm -f e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T06:22:17.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T06:22:17.930Z] Warning: overwriting stash ‘coverage-report’ [2021-01-26T06:22:18.889Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T06:22:19.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T06:22:20.199Z] + ls -al . [2021-01-26T06:22:20.199Z] total 252 [2021-01-26T06:22:20.199Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:22 . [2021-01-26T06:22:20.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 .. [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 06:18 .dockerignore [2021-01-26T06:22:20.199Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:18 .git [2021-01-26T06:22:20.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:18 .github [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 26 06:18 .gitignore [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 26 06:18 Dockerfile.build [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 26 06:18 Jenkinsfile [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 06:18 LICENSE [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 26 06:18 Makefile [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 26 06:18 README.md [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 26 06:18 RELEASE-NOTES.txt [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 06:15 VERSION [2021-01-26T06:22:20.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:18 bin [2021-01-26T06:22:20.199Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 26 06:21 coverage.out [2021-01-26T06:22:20.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 example [2021-01-26T06:22:20.199Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 26 06:22 go.mod [2021-01-26T06:22:20.199Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 26 06:22 go.sum [2021-01-26T06:22:20.199Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 06:18 internal [2021-01-26T06:22:20.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 openapi [2021-01-26T06:22:20.199Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 06:18 pkg [2021-01-26T06:22:20.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 snap [2021-01-26T06:22:20.199Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 06:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:22:20.600Z] + 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=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 --label arch=arm64 --label version=0.0.0 . [2021-01-26T06:22:21.219Z] Sending build context to Docker daemon 2.692MB [2021-01-26T06:22:21.219Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T06:22:21.219Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T06:22:21.219Z] ---> 3d132e67323d [2021-01-26T06:22:21.219Z] Step 3/24 : ARG MAKE='make build' [2021-01-26T06:22:21.505Z] ---> Running in 4ea0854dabc2 [2021-01-26T06:22:22.902Z] Removing intermediate container 4ea0854dabc2 [2021-01-26T06:22:22.902Z] ---> fddfdbfd7d9e [2021-01-26T06:22:22.902Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T06:22:22.902Z] ---> Running in 73fff2f0a54f [2021-01-26T06:22:22.902Z] Removing intermediate container 73fff2f0a54f [2021-01-26T06:22:22.902Z] ---> 21d2011f4f92 [2021-01-26T06:22:22.902Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:22:22.902Z] ---> Running in c46eb43c822a [2021-01-26T06:22:22.902Z] Removing intermediate container c46eb43c822a [2021-01-26T06:22:22.902Z] ---> 0ffacfaa1de1 [2021-01-26T06:22:22.902Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T06:22:23.177Z] ---> Running in 2063879015ba [2021-01-26T06:22:25.150Z] Removing intermediate container 2063879015ba [2021-01-26T06:22:25.150Z] ---> 3df2afeb5036 [2021-01-26T06:22:25.150Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T06:22:25.422Z] ---> Running in b7287af3efee [2021-01-26T06:22:26.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T06:22:27.401Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T06:22:27.991Z] OK: 142 MiB in 39 packages [2021-01-26T06:22:28.972Z] Removing intermediate container b7287af3efee [2021-01-26T06:22:28.972Z] ---> e70a2d13af22 [2021-01-26T06:22:28.972Z] Step 8/24 : COPY . . [2021-01-26T06:22:30.408Z] ---> 2630ff32078a [2021-01-26T06:22:30.408Z] Step 9/24 : RUN ${MAKE} [2021-01-26T06:22:30.408Z] ---> Running in a817dda27b1e [2021-01-26T06:22:31.384Z] 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-26T06:22:58.215Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T06:22:59.214Z] Removing intermediate container a817dda27b1e [2021-01-26T06:22:59.214Z] ---> bb571f0ca7d7 [2021-01-26T06:22:59.214Z] Step 10/24 : FROM scratch [2021-01-26T06:22:59.214Z] ---> [2021-01-26T06:22:59.214Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T06:22:59.214Z] ---> Running in 756ac5230623 [2021-01-26T06:22:59.814Z] Removing intermediate container 756ac5230623 [2021-01-26T06:22:59.814Z] ---> 807fa8415a7f [2021-01-26T06:22:59.814Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T06:22:59.814Z] ---> Running in aa2dd001d6ce [2021-01-26T06:23:00.422Z] Removing intermediate container aa2dd001d6ce [2021-01-26T06:23:00.422Z] ---> b4cbb335eb81 [2021-01-26T06:23:00.422Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T06:23:00.422Z] ---> Running in d2b0491d93ad [2021-01-26T06:23:00.701Z] Removing intermediate container d2b0491d93ad [2021-01-26T06:23:00.701Z] ---> c1acbd89fd6d [2021-01-26T06:23:00.701Z] Step 14/24 : WORKDIR / [2021-01-26T06:23:00.986Z] ---> Running in bc1bf9c870ec [2021-01-26T06:23:01.258Z] Removing intermediate container bc1bf9c870ec [2021-01-26T06:23:01.258Z] ---> 47959eb5e046 [2021-01-26T06:23:01.258Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T06:23:02.240Z] ---> 7367d6b2ecdd [2021-01-26T06:23:02.240Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T06:23:02.842Z] ---> 87e52d44b487 [2021-01-26T06:23:02.842Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T06:23:03.824Z] ---> 0c95c50afb2a [2021-01-26T06:23:03.824Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T06:23:04.421Z] ---> 5b79fec106d3 [2021-01-26T06:23:04.421Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-26T06:23:05.398Z] ---> f7c1bc8803a3 [2021-01-26T06:23:05.398Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T06:23:05.398Z] ---> Running in 94d8c922f867 [2021-01-26T06:23:06.000Z] Removing intermediate container 94d8c922f867 [2021-01-26T06:23:06.000Z] ---> 0ec788f80e33 [2021-01-26T06:23:06.000Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T06:23:06.277Z] ---> Running in 3718d71d935d [2021-01-26T06:23:06.871Z] Removing intermediate container 3718d71d935d [2021-01-26T06:23:06.871Z] ---> 3880569e320a [2021-01-26T06:23:06.871Z] Step 22/24 : LABEL arch=arm64 [2021-01-26T06:23:06.871Z] ---> Running in f140f84ede52 [2021-01-26T06:23:07.466Z] Removing intermediate container f140f84ede52 [2021-01-26T06:23:07.466Z] ---> 68222eda8cfb [2021-01-26T06:23:07.466Z] Step 23/24 : LABEL git_sha=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [2021-01-26T06:23:07.748Z] ---> Running in 2b355bf4447c [2021-01-26T06:23:08.020Z] Removing intermediate container 2b355bf4447c [2021-01-26T06:23:08.020Z] ---> a1d1792dc2a8 [2021-01-26T06:23:08.020Z] Step 24/24 : LABEL version=0.0.0 [2021-01-26T06:23:08.304Z] ---> Running in 9ce6129cf922 [2021-01-26T06:23:08.900Z] Removing intermediate container 9ce6129cf922 [2021-01-26T06:23:08.900Z] ---> 91b8a6b53761 [2021-01-26T06:23:08.900Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T06:23:08.900Z] Successfully built 91b8a6b53761 [2021-01-26T06:23:08.900Z] 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-26T06:23:11.173Z] provisioning config files... [2021-01-26T06:23:11.184Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1825918225772138237tmp [Pipeline] { [Pipeline] sh [2021-01-26T06:23:11.636Z] + set +x [2021-01-26T06:23:11.636Z] + curl -s https://codecov.io/bash [2021-01-26T06:23:11.636Z] + bash -s -- [2021-01-26T06:23:11.636Z] [2021-01-26T06:23:11.636Z] _____ _ [2021-01-26T06:23:11.636Z] / ____| | | [2021-01-26T06:23:11.636Z] | | ___ __| | ___ ___ _____ __ [2021-01-26T06:23:11.636Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-26T06:23:11.636Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-26T06:23:11.636Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-26T06:23:11.636Z] Bash-20210115-cec3c92 [2021-01-26T06:23:11.636Z] [2021-01-26T06:23:11.636Z] [2021-01-26T06:23:11.900Z] ==> git version 2.24.3 found [2021-01-26T06:23:11.900Z] ==> 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-26T06:23:11.900Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-26T06:23:11.900Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-26T06:23:11.900Z] ==> Jenkins CI detected. [2021-01-26T06:23:11.900Z] project root: . [2021-01-26T06:23:11.900Z] --> token set from env [2021-01-26T06:23:11.900Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-26T06:23:11.900Z] ==> Running gcov in . (disable via -X gcov) [2021-01-26T06:23:11.900Z] ==> Python coveragepy not found [2021-01-26T06:23:11.900Z] ==> Searching for coverage reports in: [2021-01-26T06:23:11.900Z] + . [2021-01-26T06:23:11.900Z] -> Found 1 reports [2021-01-26T06:23:11.900Z] ==> Detecting git/mercurial file structure [2021-01-26T06:23:11.900Z] ==> Reading reports [2021-01-26T06:23:11.900Z] + ./coverage.out bytes=136842 [2021-01-26T06:23:11.900Z] ==> Appending adjustments [2021-01-26T06:23:11.900Z] https://docs.codecov.io/docs/fixing-reports [2021-01-26T06:23:12.480Z] + Found adjustments [2021-01-26T06:23:12.480Z] ==> Gzipping contents [2021-01-26T06:23:12.480Z] 24K /tmp/codecov.GUI6HA.gz [2021-01-26T06:23:12.480Z] ==> Uploading reports [2021-01-26T06:23:12.480Z] url: https://codecov.io [2021-01-26T06:23:12.480Z] query: branch=PR-756&commit=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= [2021-01-26T06:23:12.480Z] -> Pinging Codecov [2021-01-26T06:23:12.480Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-756&commit=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= [2021-01-26T06:23:12.744Z] -> Uploading to [2021-01-26T06:23:12.744Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-26/7E55EF52A471D76F132DFD9A03CDDE97/7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11/0f720399-e872-422b-b66e-129cc2456ed2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T062312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebca67c364911563de598b5fb262d840195fba738723df46b8197b7e6e543760 [2021-01-26T06:23:12.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T06:23:12.744Z] Dload Upload Total Spent Left Speed [2021-01-26T06:23:13.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21548 0 0 100 21548 0 45540 --:--:-- --:--:-- --:--:-- 45556 [2021-01-26T06:23:13.273Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] } [2021-01-26T06:23:13.308Z] 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-26T06:23:17.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:17.555Z] ---> package-listing.sh [2021-01-26T06:23:17.555Z] ++ facter osfamily [2021-01-26T06:23:17.555Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T06:23:17.555Z] + OS_FAMILY=redhat [2021-01-26T06:23:17.555Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-756 [2021-01-26T06:23:17.555Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T06:23:17.555Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T06:23:17.555Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T06:23:17.555Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T06:23:17.555Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' [2021-01-26T06:23:17.555Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T06:23:17.555Z] + case "${OS_FAMILY}" in [2021-01-26T06:23:17.555Z] + rpm -qa [2021-01-26T06:23:17.555Z] + sort [2021-01-26T06:23:21.815Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T06:23:21.815Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T06:23:21.815Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T06:23:21.815Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' [2021-01-26T06:23:21.815Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [2021-01-26T06:23:21.815Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [Pipeline] echo [2021-01-26T06:23:21.852Z] 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-756/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T06:23:22.174Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:23:22.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T06:23:22.530Z] [2021-01-26T06:23:22.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T06:23:22.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T06:23:22.986Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T06:23:22.986Z] df20fa9351a1: Pulling fs layer [2021-01-26T06:23:22.986Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T06:23:22.986Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T06:23:22.986Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T06:23:22.986Z] 93b61091891f: Pulling fs layer [2021-01-26T06:23:22.986Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T06:23:22.986Z] 5e14af77c1be: Pulling fs layer [2021-01-26T06:23:22.986Z] 01666e4c0597: Pulling fs layer [2021-01-26T06:23:22.986Z] aa168da1d23b: Pulling fs layer [2021-01-26T06:23:22.986Z] 46f8f816bc3b: Waiting [2021-01-26T06:23:22.986Z] 93b61091891f: Waiting [2021-01-26T06:23:22.986Z] 93b9cdb0e59b: Waiting [2021-01-26T06:23:22.986Z] 01666e4c0597: Waiting [2021-01-26T06:23:22.986Z] aa168da1d23b: Waiting [2021-01-26T06:23:22.986Z] 5e14af77c1be: Waiting [2021-01-26T06:23:22.986Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T06:23:22.986Z] 36b3adc4ff6f: Download complete [2021-01-26T06:23:22.986Z] 46f8f816bc3b: Download complete [2021-01-26T06:23:23.262Z] df20fa9351a1: Verifying Checksum [2021-01-26T06:23:23.262Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T06:23:23.262Z] 93b9cdb0e59b: Download complete [2021-01-26T06:23:23.262Z] 93b61091891f: Download complete [2021-01-26T06:23:23.262Z] 5e14af77c1be: Verifying Checksum [2021-01-26T06:23:23.262Z] 5e14af77c1be: Download complete [2021-01-26T06:23:23.262Z] 01666e4c0597: Verifying Checksum [2021-01-26T06:23:23.262Z] 01666e4c0597: Download complete [2021-01-26T06:23:23.526Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T06:23:23.526Z] 8ad3a11d3b57: Download complete [2021-01-26T06:23:23.526Z] df20fa9351a1: Pull complete [2021-01-26T06:23:23.790Z] 36b3adc4ff6f: Pull complete [2021-01-26T06:23:24.369Z] 8ad3a11d3b57: Pull complete [2021-01-26T06:23:24.636Z] 46f8f816bc3b: Pull complete [2021-01-26T06:23:24.898Z] 93b61091891f: Pull complete [2021-01-26T06:23:25.169Z] 93b9cdb0e59b: Pull complete [2021-01-26T06:23:25.169Z] 5e14af77c1be: Pull complete [2021-01-26T06:23:25.169Z] 01666e4c0597: Pull complete [2021-01-26T06:23:26.131Z] aa168da1d23b: Download complete [2021-01-26T06:23:32.762Z] aa168da1d23b: Pull complete [2021-01-26T06:23:32.763Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T06:23:32.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T06:23:32.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T06:23:33.008Z] prd-centos7-docker-4c-2g-22787 does not seem to be running inside a container [2021-01-26T06:23:33.066Z] $ 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-756/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-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-26T06:23:36.588Z] $ docker top cd82a35a53931ca5ccc3b4518829b171b3adde389f954a3897008cbac9e551e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T06:23:37.122Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T06:23:37.435Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T06:23:37.760Z] + ls /var/log/sa-host [2021-01-26T06:23:37.760Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T06:23:37.760Z] file_magic: OK [2021-01-26T06:23:37.760Z] HZ: Using current value: 100 [2021-01-26T06:23:37.760Z] file_header: OK [2021-01-26T06:23:37.760Z] 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-26T06:23:37.760Z] Statistics: [2021-01-26T06:23:37.760Z] Hnuu...uuuununununu... [2021-01-26T06:23:37.760Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T06:23:37.760Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T06:23:37.760Z] file_magic: OK [2021-01-26T06:23:37.760Z] HZ: Using current value: 100 [2021-01-26T06:23:37.760Z] file_header: OK [2021-01-26T06:23:37.760Z] 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-26T06:23:37.760Z] Statistics: [2021-01-26T06:23:37.760Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T06:23:37.760Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T06:23:38.086Z] provisioning config files... [2021-01-26T06:23:38.101Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config121920609936567493tmp [Pipeline] { [Pipeline] echo [2021-01-26T06:23:38.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:38.544Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T06:23:38.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T06:23:38.700Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:39.032Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T06:23:39.061Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:39.392Z] ---> sudo-logs.sh [2021-01-26T06:23:39.393Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T06:23:39.422Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:39.749Z] ---> job-cost.sh [2021-01-26T06:23:39.749Z] lf-activate-venv: SKIPPING [2021-01-26T06:23:39.749Z] INFO: No Stack... [2021-01-26T06:23:40.694Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T06:23:41.269Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T06:23:41.306Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T06:23:41.644Z] ---> logs-deploy.sh [2021-01-26T06:23:41.644Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-756/1 [2021-01-26T06:23:41.644Z] INFO: archiving workspace using pattern(s): [2021-01-26T06:23:43.564Z] Archives upload complete. [2021-01-26T06:23:43.564Z] INFO: archiving logs to Nexus