Pull request #813 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 77c5e07f29da27b979236f63adf2147f5ae84054+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (6c8e5e79b2f4c490b196b6ba870dd292a80795c2) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-813/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-813/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-29454’ is offline Running on prd-centos7-docker-4c-2g-29457 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [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-813 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 77c5e07f29da27b979236f63adf2147f5ae84054 Merge succeeded, producing 77c5e07f29da27b979236f63adf2147f5ae84054 Checking out Revision 77c5e07f29da27b979236f63adf2147f5ae84054 (PR-813) > git config core.sparsecheckout # timeout=10 > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 Commit message: "feat: validate set paramter against maximum/minimum" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-11T04:44:08.708Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-11T04:44:09.099Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-11T04:44:09.330Z] ========================================================= [2021-03-11T04:44:09.330Z] EdgeX Global Pipelines Version Info [2021-03-11T04:44:09.330Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:44:10.887Z] ------------------- [2021-03-11T04:44:10.887Z] stable info: [2021-03-11T04:44:10.887Z] ------------------- [2021-03-11T04:44:10.887Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-11T04:44:10.887Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T04:44:10.887Z] Message: update stable to v1.0.184 [2021-03-11T04:44:11.836Z] ------------------- [2021-03-11T04:44:11.836Z] experimental info: [2021-03-11T04:44:11.836Z] ------------------- [2021-03-11T04:44:11.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-11T04:44:11.836Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T04:44:11.836Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-11T04:44:12.218Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-11T04:44:12.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-11T04:44:12.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-11T04:44:12.607Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-11T04:44:12.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-11T04:44:12.858Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-11T04:44:12.978Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-11T04:44:13.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-11T04:44:13.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-11T04:44:13.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-11T04:44:13.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-11T04:44:13.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-11T04:44:13.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-11T04:44:13.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-11T04:44:13.979Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-11T04:44:14.113Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T04:44:14.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T04:44:14.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T04:44:14.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-11T04:44:14.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-11T04:44:14.740Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-11T04:44:14.863Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-11T04:44:14.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-11T04:44:15.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-11T04:44:15.236Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-11T04:44:15.372Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-11T04:44:15.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-813 [Pipeline] echo [2021-03-11T04:44:15.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-813 [Pipeline] echo [2021-03-11T04:44:15.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-813 [Pipeline] echo [2021-03-11T04:44:15.860Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77c5e07f29da27b979236f63adf2147f5ae84054 [Pipeline] echo [2021-03-11T04:44:15.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77c5e07 [Pipeline] echo [2021-03-11T04:44:16.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T04:44:16.392Z] provisioning config files... [2021-03-11T04:44:16.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config4731224618151497053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:44:16.858Z] ---> docker-login.sh [2021-03-11T04:44:16.858Z] nexus3.edgexfoundry.org:10001 [2021-03-11T04:44:17.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:44:17.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:44:17.386Z] Configure a credential helper to remove this warning. See [2021-03-11T04:44:17.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:44:17.386Z] [2021-03-11T04:44:17.386Z] Login Succeeded [2021-03-11T04:44:17.386Z] nexus3.edgexfoundry.org:10002 [2021-03-11T04:44:17.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:44:17.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:44:17.386Z] Configure a credential helper to remove this warning. See [2021-03-11T04:44:17.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:44:17.386Z] [2021-03-11T04:44:17.386Z] Login Succeeded [2021-03-11T04:44:17.386Z] nexus3.edgexfoundry.org:10003 [2021-03-11T04:44:17.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:44:17.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:44:17.654Z] Configure a credential helper to remove this warning. See [2021-03-11T04:44:17.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:44:17.654Z] [2021-03-11T04:44:17.654Z] Login Succeeded [2021-03-11T04:44:17.654Z] nexus3.edgexfoundry.org:10004 [2021-03-11T04:44:17.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:44:17.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:44:17.917Z] Configure a credential helper to remove this warning. See [2021-03-11T04:44:17.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:44:17.917Z] [2021-03-11T04:44:17.917Z] Login Succeeded [2021-03-11T04:44:17.917Z] docker.io [2021-03-11T04:44:17.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:44:18.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:44:18.179Z] Configure a credential helper to remove this warning. See [2021-03-11T04:44:18.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:44:18.179Z] [2021-03-11T04:44:18.179Z] Login Succeeded [2021-03-11T04:44:18.179Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T04:44:18.202Z] 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-03-11T04:44:19.269Z] + git log --format=format:%s -1 77c5e07f29da27b979236f63adf2147f5ae84054 [Pipeline] echo [2021-03-11T04:44:19.350Z] GIT_COMMIT: 77c5e07f29da27b979236f63adf2147f5ae84054, Commit Message: feat: validate set paramter against maximum/minimum [Pipeline] echo [2021-03-11T04:44:19.415Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:44:20.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T04:44:20.420Z] [2021-03-11T04:44:20.420Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:44:20.811Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T04:44:20.811Z] latest: Pulling from edgex-devops/git-semver [2021-03-11T04:44:20.811Z] 31603596830f: Pulling fs layer [2021-03-11T04:44:20.811Z] 2a8b12db71e7: Pulling fs layer [2021-03-11T04:44:20.811Z] 6ca5941a6612: Pulling fs layer [2021-03-11T04:44:20.811Z] ecc8261a40a4: Pulling fs layer [2021-03-11T04:44:20.811Z] ecc8261a40a4: Waiting [2021-03-11T04:44:20.811Z] 2a8b12db71e7: Verifying Checksum [2021-03-11T04:44:20.811Z] 2a8b12db71e7: Download complete [2021-03-11T04:44:20.811Z] 31603596830f: Verifying Checksum [2021-03-11T04:44:20.811Z] 31603596830f: Download complete [2021-03-11T04:44:21.077Z] ecc8261a40a4: Verifying Checksum [2021-03-11T04:44:21.077Z] ecc8261a40a4: Download complete [2021-03-11T04:44:21.077Z] 6ca5941a6612: Verifying Checksum [2021-03-11T04:44:21.077Z] 6ca5941a6612: Download complete [2021-03-11T04:44:21.341Z] 31603596830f: Pull complete [2021-03-11T04:44:21.341Z] 2a8b12db71e7: Pull complete [2021-03-11T04:44:22.296Z] 6ca5941a6612: Pull complete [2021-03-11T04:44:22.297Z] ecc8261a40a4: Pull complete [2021-03-11T04:44:22.297Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-11T04:44:22.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T04:44:22.297Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-11T04:44:22.511Z] prd-centos7-docker-4c-2g-29457 does not seem to be running inside a container [2021-03-11T04:44:22.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-11T04:44:24.653Z] $ docker top 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-11T04:44:25.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T04:44:25.061Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T04:44:25.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T04:44:25.299Z] $ docker exec 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e ssh-agent [2021-03-11T04:44:25.476Z] SSH_AUTH_SOCK=/tmp/ssh-GSqcmZ0xAeT0/agent.11 [2021-03-11T04:44:25.476Z] SSH_AGENT_PID=16 [2021-03-11T04:44:25.492Z] Running ssh-add (command line suppressed) [2021-03-11T04:44:25.623Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_1370996317641607800.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_1370996317641607800.key) [2021-03-11T04:44:25.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T04:44:26.074Z] + git tag --points-at HEAD [Pipeline] } [2021-03-11T04:44:26.103Z] $ docker exec --env ******** --env ******** 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e ssh-agent -k [2021-03-11T04:44:26.213Z] unset SSH_AUTH_SOCK; [2021-03-11T04:44:26.214Z] unset SSH_AGENT_PID; [2021-03-11T04:44:26.214Z] echo Agent pid 16 killed; [2021-03-11T04:44:26.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-11T04:44:26.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T04:44:26.483Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T04:44:26.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T04:44:26.650Z] $ docker exec 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e ssh-agent [2021-03-11T04:44:26.815Z] SSH_AUTH_SOCK=/tmp/ssh-04W6WPOmFLee/agent.46 [2021-03-11T04:44:26.815Z] SSH_AGENT_PID=52 [2021-03-11T04:44:26.824Z] Running ssh-add (command line suppressed) [2021-03-11T04:44:26.949Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6285765325882489866.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6285765325882489866.key) [2021-03-11T04:44:27.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T04:44:27.390Z] + git semver init [2021-03-11T04:44:27.390Z] # -> Open(): unable to determine branch for HEAD [2021-03-11T04:44:27.390Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.git [2021-03-11T04:44:27.390Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-11T04:44:27.390Z] # $SEMVER_REMOTE_NAME = origin [2021-03-11T04:44:27.390Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-11T04:44:27.390Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-11T04:44:27.390Z] # $SEMVER_BRANCH = PR-813 [2021-03-11T04:44:27.390Z] # $SEMVER_TEMP = /tmp/semver-877784174 [2021-03-11T04:44:27.390Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-11T04:44:28.340Z] # '/tmp/semver-877784174' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver' [2021-03-11T04:44:28.340Z] # -> Force: false [2021-03-11T04:44:28.340Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver [Pipeline] } [2021-03-11T04:44:28.404Z] $ docker exec --env ******** --env ******** 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e ssh-agent -k [2021-03-11T04:44:28.518Z] unset SSH_AUTH_SOCK; [2021-03-11T04:44:28.519Z] unset SSH_AGENT_PID; [2021-03-11T04:44:28.519Z] echo Agent pid 52 killed; [2021-03-11T04:44:28.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-11T04:44:29.131Z] + git semver [Pipeline] } [2021-03-11T04:44:29.181Z] $ docker stop --time=1 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e [2021-03-11T04:44:30.554Z] $ docker rm -f 68546e5f2e399c659b3a46f629595c9a48511314ffedb94375232e562317c24e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T04:44:31.148Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-11T04:44:31.606Z] Stashed 1 file(s) [Pipeline] echo [2021-03-11T04:44:31.632Z] [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-03-11T04:44:47.429Z] Still waiting to schedule task [2021-03-11T04:44:47.429Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29457’ [2021-03-11T04:44:47.458Z] Still waiting to schedule task [2021-03-11T04:44:47.458Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-11T04:46:39.027Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29459 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws [2021-03-11T04:46:39.122Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-11T04:46:44.238Z] using credential edgex-jenkins-ssh [2021-03-11T04:46:44.299Z] Cloning the remote Git repository [2021-03-11T04:46:44.363Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:46:44.473Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-11T04:46:44.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:46:44.549Z] > git --version # timeout=10 [2021-03-11T04:46:44.578Z] > git --version # 'git version 2.17.1' [2021-03-11T04:46:44.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:46:44.666Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T04:46:46.510Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:46:45.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T04:46:45.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T04:46:45.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T04:46:45.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:46:45.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:46:45.933Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T04:46:46.534Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T04:46:46.554Z] > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 [2021-03-11T04:46:46.658Z] > git remote # timeout=10 [2021-03-11T04:46:46.674Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T04:46:46.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:46:46.709Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-11T04:46:46.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T04:46:46.746Z] Merge succeeded, producing 77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:46:46.746Z] Checking out Revision 77c5e07f29da27b979236f63adf2147f5ae84054 (PR-813) [2021-03-11T04:46:46.755Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T04:46:46.776Z] > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 [2021-03-11T04:46:51.223Z] Commit message: "feat: validate set paramter against maximum/minimum" [2021-03-11T04:46:51.281Z] > git --version # timeout=10 [2021-03-11T04:46:51.289Z] > git --version # 'git version 2.17.1' [2021-03-11T04:46:51.305Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T04:46:53.064Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-11T04:46:53.544Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T04:46:53.923Z] + sudo service docker restart [2021-03-11T04:46:53.923Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T04:46:56.716Z] provisioning config files... [2021-03-11T04:46:56.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8976459898997625029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:46:57.232Z] ---> docker-login.sh [2021-03-11T04:46:57.232Z] nexus3.edgexfoundry.org:10001 [2021-03-11T04:46:58.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:46:58.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:46:58.506Z] Configure a credential helper to remove this warning. See [2021-03-11T04:46:58.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:46:58.506Z] [2021-03-11T04:46:58.506Z] Login Succeeded [2021-03-11T04:46:58.506Z] nexus3.edgexfoundry.org:10002 [2021-03-11T04:46:58.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:46:59.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:46:59.071Z] Configure a credential helper to remove this warning. See [2021-03-11T04:46:59.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:46:59.071Z] [2021-03-11T04:46:59.071Z] Login Succeeded [2021-03-11T04:46:59.071Z] nexus3.edgexfoundry.org:10003 [2021-03-11T04:46:59.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:46:59.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:46:59.671Z] Configure a credential helper to remove this warning. See [2021-03-11T04:46:59.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:46:59.671Z] [2021-03-11T04:46:59.671Z] Login Succeeded [2021-03-11T04:46:59.671Z] nexus3.edgexfoundry.org:10004 [2021-03-11T04:46:59.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:00.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:00.223Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:00.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:00.223Z] [2021-03-11T04:47:00.223Z] Login Succeeded [2021-03-11T04:47:00.223Z] docker.io [2021-03-11T04:47:00.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:01.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:01.098Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:01.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:01.098Z] [2021-03-11T04:47:01.098Z] Login Succeeded [2021-03-11T04:47:01.098Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T04:47:01.143Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-11T04:47:01.750Z] ========================================================= [2021-03-11T04:47:01.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-11T04:47:01.750Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:47:02.203Z] + 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-03-11T04:47:02.803Z] Sending build context to Docker daemon 2.297MB [2021-03-11T04:47:02.803Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T04:47:02.803Z] Step 2/8 : FROM ${BASE} [2021-03-11T04:47:02.803Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-11T04:47:02.803Z] 5f621e34cdf4: Pulling fs layer [2021-03-11T04:47:02.803Z] a4357932f1b6: Pulling fs layer [2021-03-11T04:47:02.803Z] 18c013af1878: Pulling fs layer [2021-03-11T04:47:02.803Z] 00ac8860ef70: Pulling fs layer [2021-03-11T04:47:02.803Z] 63d7cb157983: Pulling fs layer [2021-03-11T04:47:02.803Z] b116817d02f9: Pulling fs layer [2021-03-11T04:47:02.803Z] 745a02a5169b: Pulling fs layer [2021-03-11T04:47:02.803Z] 00ac8860ef70: Waiting [2021-03-11T04:47:02.803Z] b116817d02f9: Waiting [2021-03-11T04:47:02.803Z] 63d7cb157983: Waiting [2021-03-11T04:47:02.803Z] 745a02a5169b: Waiting [2021-03-11T04:47:02.803Z] 18c013af1878: Verifying Checksum [2021-03-11T04:47:02.803Z] 18c013af1878: Download complete [2021-03-11T04:47:02.803Z] a4357932f1b6: Verifying Checksum [2021-03-11T04:47:02.803Z] a4357932f1b6: Download complete [2021-03-11T04:47:02.803Z] 63d7cb157983: Verifying Checksum [2021-03-11T04:47:02.803Z] 63d7cb157983: Download complete [2021-03-11T04:47:02.803Z] b116817d02f9: Verifying Checksum [2021-03-11T04:47:02.803Z] b116817d02f9: Download complete [2021-03-11T04:47:03.076Z] 5f621e34cdf4: Download complete [2021-03-11T04:47:03.678Z] 5f621e34cdf4: Pull complete [2021-03-11T04:47:04.286Z] a4357932f1b6: Pull complete [2021-03-11T04:47:04.564Z] 18c013af1878: Pull complete [2021-03-11T04:47:06.004Z] 745a02a5169b: Verifying Checksum [2021-03-11T04:47:06.004Z] 745a02a5169b: Download complete [2021-03-11T04:47:06.997Z] 00ac8860ef70: Verifying Checksum [2021-03-11T04:47:06.997Z] 00ac8860ef70: Download complete [2021-03-11T04:47:17.191Z] 00ac8860ef70: Pull complete [2021-03-11T04:47:17.468Z] 63d7cb157983: Pull complete [2021-03-11T04:47:17.749Z] b116817d02f9: Pull complete [2021-03-11T04:47:22.072Z] Running on prd-centos7-docker-4c-2g-29463 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [2021-03-11T04:47:22.131Z] 745a02a5169b: Pull complete [2021-03-11T04:47:22.131Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-11T04:47:22.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-11T04:47:22.131Z] ---> b7e6874047d6 [2021-03-11T04:47:22.131Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] ws [2021-03-11T04:47:22.161Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-11T04:47:24.777Z] ---> Running in 01ab1f29e1ca [2021-03-11T04:47:25.386Z] Removing intermediate container 01ab1f29e1ca [2021-03-11T04:47:25.386Z] ---> eb83b1fd5f34 [2021-03-11T04:47:25.386Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T04:47:25.386Z] ---> Running in f1f795cef785 [2021-03-11T04:47:25.484Z] using credential edgex-jenkins-ssh [2021-03-11T04:47:25.547Z] Cloning the remote Git repository [2021-03-11T04:47:25.579Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:47:25.655Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-11T04:47:25.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:47:25.737Z] > git --version # timeout=10 [2021-03-11T04:47:25.749Z] > git --version # 'git version 2.24.3' [2021-03-11T04:47:25.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:47:25.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T04:47:28.020Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:47:28.040Z] Removing intermediate container f1f795cef785 [2021-03-11T04:47:28.040Z] ---> 10926583fca6 [2021-03-11T04:47:28.040Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-11T04:47:28.040Z] ---> Running in f2789309d4f6 [2021-03-11T04:47:28.121Z] Merge succeeded, producing 77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:47:28.122Z] Checking out Revision 77c5e07f29da27b979236f63adf2147f5ae84054 (PR-813) [2021-03-11T04:47:27.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T04:47:27.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T04:47:27.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T04:47:27.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T04:47:27.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:47:27.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T04:47:28.031Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T04:47:28.039Z] > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 [2021-03-11T04:47:28.091Z] > git remote # timeout=10 [2021-03-11T04:47:28.096Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T04:47:28.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T04:47:28.105Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-11T04:47:28.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T04:47:28.127Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T04:47:28.140Z] > git checkout -f 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 [2021-03-11T04:47:29.046Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-11T04:47:31.678Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-11T04:47:31.778Z] Commit message: "feat: validate set paramter against maximum/minimum" [2021-03-11T04:47:31.805Z] > git --version # timeout=10 [2021-03-11T04:47:31.810Z] > git --version # 'git version 2.24.3' [2021-03-11T04:47:31.817Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T04:47:33.115Z] OK: 142 MiB in 39 packages [2021-03-11T04:47:33.288Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-11T04:47:33.637Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T04:47:33.965Z] + sudo service docker restart [2021-03-11T04:47:33.965Z] + true [2021-03-11T04:47:33.965Z] Redirecting to /bin/systemctl restart docker.service [2021-03-11T04:47:34.097Z] Removing intermediate container f2789309d4f6 [2021-03-11T04:47:34.097Z] ---> f92db7626a6a [2021-03-11T04:47:34.097Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-11T04:47:34.375Z] ---> Running in 2f062d2d690c [2021-03-11T04:47:34.980Z] Removing intermediate container 2f062d2d690c [2021-03-11T04:47:34.980Z] ---> 8b02cf1ffc13 [2021-03-11T04:47:34.980Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T04:47:35.505Z] provisioning config files... [2021-03-11T04:47:35.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8356419223760868950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:47:35.989Z] ---> 01aa2814d250 [2021-03-11T04:47:35.989Z] Step 8/8 : RUN go mod download [2021-03-11T04:47:36.062Z] ---> docker-login.sh [2021-03-11T04:47:36.062Z] nexus3.edgexfoundry.org:10001 [2021-03-11T04:47:36.274Z] ---> Running in 37f9bc20a9e6 [2021-03-11T04:47:36.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:36.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:36.327Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:36.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:36.327Z] [2021-03-11T04:47:36.327Z] Login Succeeded [2021-03-11T04:47:36.327Z] nexus3.edgexfoundry.org:10002 [2021-03-11T04:47:36.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:36.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:36.591Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:36.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:36.591Z] [2021-03-11T04:47:36.591Z] Login Succeeded [2021-03-11T04:47:36.591Z] nexus3.edgexfoundry.org:10003 [2021-03-11T04:47:36.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:36.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:36.865Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:36.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:36.865Z] [2021-03-11T04:47:36.865Z] Login Succeeded [2021-03-11T04:47:36.865Z] nexus3.edgexfoundry.org:10004 [2021-03-11T04:47:36.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:36.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:36.865Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:36.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:36.865Z] [2021-03-11T04:47:36.865Z] Login Succeeded [2021-03-11T04:47:36.865Z] docker.io [2021-03-11T04:47:37.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T04:47:37.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T04:47:37.391Z] Configure a credential helper to remove this warning. See [2021-03-11T04:47:37.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T04:47:37.391Z] [2021-03-11T04:47:37.391Z] Login Succeeded [2021-03-11T04:47:37.391Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T04:47:37.416Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-11T04:47:37.946Z] ========================================================= [2021-03-11T04:47:37.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-11T04:47:37.946Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:47:38.343Z] + 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-03-11T04:47:38.610Z] Sending build context to Docker daemon 2.298MB [2021-03-11T04:47:38.610Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T04:47:38.610Z] Step 2/8 : FROM ${BASE} [2021-03-11T04:47:38.610Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-11T04:47:38.610Z] 188c0c94c7c5: Pulling fs layer [2021-03-11T04:47:38.610Z] 0ef7d3d256c8: Pulling fs layer [2021-03-11T04:47:38.610Z] de9db76c5a1d: Pulling fs layer [2021-03-11T04:47:38.610Z] bca2f99d35d6: Pulling fs layer [2021-03-11T04:47:38.610Z] 93359f2a8cfa: Pulling fs layer [2021-03-11T04:47:38.610Z] 7c6f9722023f: Pulling fs layer [2021-03-11T04:47:38.610Z] a35cf1a2eb13: Pulling fs layer [2021-03-11T04:47:38.610Z] 93359f2a8cfa: Waiting [2021-03-11T04:47:38.610Z] 7c6f9722023f: Waiting [2021-03-11T04:47:38.610Z] bca2f99d35d6: Waiting [2021-03-11T04:47:38.610Z] a35cf1a2eb13: Waiting [2021-03-11T04:47:38.610Z] de9db76c5a1d: Verifying Checksum [2021-03-11T04:47:38.610Z] de9db76c5a1d: Download complete [2021-03-11T04:47:38.610Z] 0ef7d3d256c8: Verifying Checksum [2021-03-11T04:47:38.610Z] 0ef7d3d256c8: Download complete [2021-03-11T04:47:38.610Z] 93359f2a8cfa: Verifying Checksum [2021-03-11T04:47:38.610Z] 93359f2a8cfa: Download complete [2021-03-11T04:47:38.610Z] 7c6f9722023f: Verifying Checksum [2021-03-11T04:47:38.610Z] 7c6f9722023f: Download complete [2021-03-11T04:47:38.880Z] 188c0c94c7c5: Verifying Checksum [2021-03-11T04:47:38.880Z] 188c0c94c7c5: Download complete [2021-03-11T04:47:39.144Z] 188c0c94c7c5: Pull complete [2021-03-11T04:47:39.407Z] 0ef7d3d256c8: Pull complete [2021-03-11T04:47:39.407Z] de9db76c5a1d: Pull complete [2021-03-11T04:47:41.350Z] a35cf1a2eb13: Verifying Checksum [2021-03-11T04:47:41.350Z] a35cf1a2eb13: Download complete [2021-03-11T04:47:41.613Z] bca2f99d35d6: Verifying Checksum [2021-03-11T04:47:41.613Z] bca2f99d35d6: Download complete [2021-03-11T04:47:46.945Z] bca2f99d35d6: Pull complete [2021-03-11T04:47:46.945Z] 93359f2a8cfa: Pull complete [2021-03-11T04:47:46.945Z] 7c6f9722023f: Pull complete [2021-03-11T04:47:53.618Z] a35cf1a2eb13: Pull complete [2021-03-11T04:47:53.618Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-11T04:47:53.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-11T04:47:53.618Z] ---> a62c8e92a672 [2021-03-11T04:47:53.618Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T04:47:53.897Z] ---> Running in 21d6f62870a9 [2021-03-11T04:47:54.167Z] Removing intermediate container 21d6f62870a9 [2021-03-11T04:47:54.167Z] ---> e881e63253b7 [2021-03-11T04:47:54.167Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T04:47:54.434Z] ---> Running in f50d3a6db30f [2021-03-11T04:47:55.451Z] Removing intermediate container f50d3a6db30f [2021-03-11T04:47:55.451Z] ---> 4c07d81a812d [2021-03-11T04:47:55.451Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-11T04:47:55.451Z] ---> Running in 5de6df5cef53 [2021-03-11T04:47:56.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-11T04:47:57.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-11T04:47:58.776Z] OK: 166 MiB in 39 packages [2021-03-11T04:47:59.358Z] Removing intermediate container 5de6df5cef53 [2021-03-11T04:47:59.358Z] ---> bb6a6d2e58c5 [2021-03-11T04:47:59.358Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-11T04:47:59.358Z] ---> Running in 5a5a9cb29ebc [2021-03-11T04:48:01.048Z] Removing intermediate container 5a5a9cb29ebc [2021-03-11T04:48:01.048Z] ---> 32bea2158596 [2021-03-11T04:48:01.048Z] Step 7/8 : COPY . . [2021-03-11T04:48:01.048Z] ---> f01ab29eae2d [2021-03-11T04:48:01.048Z] Step 8/8 : RUN go mod download [2021-03-11T04:48:01.048Z] ---> Running in 15514ab74ff6 [2021-03-11T04:48:03.302Z] Removing intermediate container 37f9bc20a9e6 [2021-03-11T04:48:03.302Z] ---> 04f807ec0cf9 [2021-03-11T04:48:03.302Z] Successfully built 04f807ec0cf9 [2021-03-11T04:48:03.302Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:48:03.686Z] + docker inspect -f . ci-base-image-arm64 [2021-03-11T04:48:03.686Z] . [Pipeline] withDockerContainer [2021-03-11T04:48:03.987Z] prd-ubuntu18.04-docker-arm64-4c-16g-29459 does not seem to be running inside a container [2021-03-11T04:48:04.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-11T04:48:05.674Z] $ docker top 1dfe076722744ab01ee1c1550a56436b28f65a5de31a3774df1dcc643ae2fff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T04:48:06.787Z] + go version [2021-03-11T04:48:06.787Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-11T04:48:06.853Z] $ docker stop --time=1 1dfe076722744ab01ee1c1550a56436b28f65a5de31a3774df1dcc643ae2fff3 [2021-03-11T04:48:08.830Z] $ docker rm -f 1dfe076722744ab01ee1c1550a56436b28f65a5de31a3774df1dcc643ae2fff3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:48:10.133Z] + docker inspect -f . ci-base-image-arm64 [2021-03-11T04:48:10.133Z] . [Pipeline] withDockerContainer [2021-03-11T04:48:10.446Z] prd-ubuntu18.04-docker-arm64-4c-16g-29459 does not seem to be running inside a container [2021-03-11T04:48:10.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-11T04:48:12.092Z] $ docker top 4c3226efa3f70ecb5e1b3bfa84c6587bfe1524f4453a6c5a700a862fc8bb7243 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T04:48:13.212Z] + make test [2021-03-11T04:48:13.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-11T04:48:23.160Z] Removing intermediate container 15514ab74ff6 [2021-03-11T04:48:23.160Z] ---> 5bbe4727c51e [2021-03-11T04:48:23.160Z] Successfully built 5bbe4727c51e [2021-03-11T04:48:23.160Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:48:23.511Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-11T04:48:23.511Z] . [Pipeline] withDockerContainer [2021-03-11T04:48:23.656Z] prd-centos7-docker-4c-2g-29463 does not seem to be running inside a container [2021-03-11T04:48:23.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-11T04:48:24.482Z] $ docker top 9917d6be4cd770d2b0452d20df983e772048c7aca871bd13713bcb4d5017dafa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T04:48:25.034Z] + go version [2021-03-11T04:48:25.034Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-11T04:48:25.064Z] $ docker stop --time=1 9917d6be4cd770d2b0452d20df983e772048c7aca871bd13713bcb4d5017dafa [2021-03-11T04:48:26.429Z] $ docker rm -f 9917d6be4cd770d2b0452d20df983e772048c7aca871bd13713bcb4d5017dafa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:48:27.484Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-11T04:48:27.484Z] . [Pipeline] withDockerContainer [2021-03-11T04:48:27.609Z] prd-centos7-docker-4c-2g-29463 does not seem to be running inside a container [2021-03-11T04:48:27.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-11T04:48:28.302Z] $ docker top 6402f6fcf4cd8ee907f4994be93881caf7d8000a217c98392f9852f71579f960 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T04:48:28.838Z] + make test [2021-03-11T04:48:28.838Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-11T04:48:35.411Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-11T04:48:37.048Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-11T04:48:52.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-11T04:48:52.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-11T04:48:52.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-11T04:48:54.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements [2021-03-11T04:49:22.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-11T04:49:22.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-11T04:49:22.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-11T04:49:22.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 25.5% of statements [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 10.5% of statements [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 12.5% of statements [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 43.7% of statements [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.063s coverage: 81.3% of statements [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 24.8% of statements [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.177s coverage: 6.4% of statements [2021-03-11T04:49:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements [2021-03-11T04:49:26.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-11T04:49:26.908Z] GO111MODULE=on go vet ./... [2021-03-11T04:49:35.176Z] gofmt -l . [2021-03-11T04:49:35.176Z] [ "`gofmt -l .`" = "" ] [2021-03-11T04:49:35.176Z] ./bin/test-attribution-txt.sh [2021-03-11T04:49:35.445Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-11T04:49:35.754Z] $ docker stop --time=1 6402f6fcf4cd8ee907f4994be93881caf7d8000a217c98392f9852f71579f960 [2021-03-11T04:49:37.669Z] $ docker rm -f 6402f6fcf4cd8ee907f4994be93881caf7d8000a217c98392f9852f71579f960 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T04:49:38.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-11T04:49:38.793Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-11T04:49:41.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T04:49:41.993Z] + ls -al . [2021-03-11T04:49:41.993Z] total 200 [2021-03-11T04:49:41.993Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 11 04:49 . [2021-03-11T04:49:41.993Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 11 04:47 .. [2021-03-11T04:49:41.993Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 04:47 bin [2021-03-11T04:49:41.993Z] -rw-r--r--. 1 jenkins jenkins 116500 Mar 11 04:49 coverage.out [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 11 04:47 Dockerfile.build [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 04:47 .dockerignore [2021-03-11T04:49:41.993Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 11 04:47 example [2021-03-11T04:49:41.993Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 04:47 .git [2021-03-11T04:49:41.993Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 11 04:47 .github [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 04:47 .gitignore [2021-03-11T04:49:41.993Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 11 04:49 go.mod [2021-03-11T04:49:41.993Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 11 04:49 go.sum [2021-03-11T04:49:41.993Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 11 04:47 internal [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 11 04:47 Jenkinsfile [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 04:47 LICENSE [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 11 04:47 Makefile [2021-03-11T04:49:41.993Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 11 04:47 openapi [2021-03-11T04:49:41.993Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 11 04:47 pkg [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 11 04:47 README.md [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 11 04:47 RELEASE-NOTES.txt [2021-03-11T04:49:41.993Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 04:47 snap [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 04:44 VERSION [2021-03-11T04:49:41.993Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 04:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:49:42.354Z] + 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=77c5e07f29da27b979236f63adf2147f5ae84054 --label arch=amd64 --label version=0.0.0 . [2021-03-11T04:49:42.614Z] Sending build context to Docker daemon 2.415MB [2021-03-11T04:49:42.614Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T04:49:42.614Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-11T04:49:42.614Z] ---> 5bbe4727c51e [2021-03-11T04:49:42.614Z] Step 3/24 : ARG MAKE='make build' [2021-03-11T04:49:43.188Z] ---> Running in ea5c65dadc8c [2021-03-11T04:49:43.188Z] Removing intermediate container ea5c65dadc8c [2021-03-11T04:49:43.188Z] ---> 86bf11bbac02 [2021-03-11T04:49:43.188Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-11T04:49:43.451Z] ---> Running in 22718ea94963 [2021-03-11T04:49:43.716Z] Removing intermediate container 22718ea94963 [2021-03-11T04:49:43.716Z] ---> 87374df34cdf [2021-03-11T04:49:43.716Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T04:49:43.716Z] ---> Running in d9fab962cb1e [2021-03-11T04:49:44.291Z] Removing intermediate container d9fab962cb1e [2021-03-11T04:49:44.291Z] ---> 9115b29cefd2 [2021-03-11T04:49:44.291Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T04:49:44.291Z] ---> Running in 6738a95e921c [2021-03-11T04:49:45.240Z] Removing intermediate container 6738a95e921c [2021-03-11T04:49:45.240Z] ---> dbd5a01463ca [2021-03-11T04:49:45.240Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-11T04:49:45.502Z] ---> Running in 7ee75629efdd [2021-03-11T04:49:46.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-11T04:49:47.025Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-11T04:49:47.969Z] OK: 166 MiB in 39 packages [2021-03-11T04:49:48.544Z] Removing intermediate container 7ee75629efdd [2021-03-11T04:49:48.544Z] ---> cbac6bbd0262 [2021-03-11T04:49:48.544Z] Step 8/24 : COPY . . [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 10.5% of statements [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.138s coverage: 12.5% of statements [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.171s coverage: 84.8% of statements [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.272s coverage: 43.7% of statements [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.174s coverage: 81.3% of statements [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.152s coverage: 24.8% of statements [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.860s coverage: 6.4% of statements [2021-03-11T04:49:49.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 5.2% of statements [2021-03-11T04:49:49.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-11T04:49:49.494Z] ---> 7d3ed1ae32f5 [2021-03-11T04:49:49.495Z] Step 9/24 : RUN ${MAKE} [2021-03-11T04:49:49.495Z] ---> Running in 3aac43dd82c3 [2021-03-11T04:49:49.839Z] GO111MODULE=on go vet ./... [2021-03-11T04:49:50.070Z] 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-03-11T04:50:00.171Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-11T04:50:01.122Z] Removing intermediate container 3aac43dd82c3 [2021-03-11T04:50:01.122Z] ---> fc03ae3cf469 [2021-03-11T04:50:01.122Z] Step 10/24 : FROM scratch [2021-03-11T04:50:01.122Z] ---> [2021-03-11T04:50:01.122Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T04:50:01.122Z] ---> Running in cbc142e86cf9 [2021-03-11T04:50:01.122Z] Removing intermediate container cbc142e86cf9 [2021-03-11T04:50:01.122Z] ---> b951da8ae1d4 [2021-03-11T04:50:01.122Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-11T04:50:01.388Z] ---> Running in ea5a38940c46 [2021-03-11T04:50:01.388Z] Removing intermediate container ea5a38940c46 [2021-03-11T04:50:01.388Z] ---> 0fa569018b3b [2021-03-11T04:50:01.388Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-11T04:50:01.388Z] ---> Running in 2bda4bfd8ac1 [2021-03-11T04:50:01.651Z] Removing intermediate container 2bda4bfd8ac1 [2021-03-11T04:50:01.651Z] ---> 129f341b89d1 [2021-03-11T04:50:01.651Z] Step 14/24 : WORKDIR / [2021-03-11T04:50:01.651Z] ---> Running in 058ec987df31 [2021-03-11T04:50:01.918Z] Removing intermediate container 058ec987df31 [2021-03-11T04:50:01.918Z] ---> a351546ac3c2 [2021-03-11T04:50:01.918Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-11T04:50:02.496Z] ---> d91d358b7bbf [2021-03-11T04:50:02.496Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-11T04:50:02.496Z] ---> 5a6ecdd919f8 [2021-03-11T04:50:02.496Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-11T04:50:02.759Z] ---> 6a8fb5ded89e [2021-03-11T04:50:02.759Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-11T04:50:03.022Z] ---> c514100845fe [2021-03-11T04:50:03.022Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-11T04:50:03.290Z] ---> 046320af437e [2021-03-11T04:50:03.290Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-11T04:50:03.290Z] ---> Running in f9b659020bcd [2021-03-11T04:50:03.556Z] Removing intermediate container f9b659020bcd [2021-03-11T04:50:03.556Z] ---> 28b6139f8c17 [2021-03-11T04:50:03.556Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-11T04:50:03.556Z] ---> Running in 68574835c5f3 [2021-03-11T04:50:03.556Z] Removing intermediate container 68574835c5f3 [2021-03-11T04:50:03.556Z] ---> 5623a96a8d4a [2021-03-11T04:50:03.556Z] Step 22/24 : LABEL arch=amd64 [2021-03-11T04:50:03.819Z] ---> Running in 573c940b5a97 [2021-03-11T04:50:03.819Z] Removing intermediate container 573c940b5a97 [2021-03-11T04:50:03.819Z] ---> 1af99fed16c4 [2021-03-11T04:50:03.819Z] Step 23/24 : LABEL git_sha=77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:50:04.088Z] ---> Running in 31ee0e34023c [2021-03-11T04:50:04.088Z] Removing intermediate container 31ee0e34023c [2021-03-11T04:50:04.088Z] ---> 92a9176c8f31 [2021-03-11T04:50:04.088Z] Step 24/24 : LABEL version=0.0.0 [2021-03-11T04:50:04.088Z] ---> Running in 9f85dcde6018 [2021-03-11T04:50:04.350Z] Removing intermediate container 9f85dcde6018 [2021-03-11T04:50:04.350Z] ---> e98ca1f80999 [2021-03-11T04:50:04.350Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-11T04:50:04.350Z] Successfully built e98ca1f80999 [2021-03-11T04:50:04.350Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:50:05.534Z] ---> job-cost.sh [2021-03-11T04:50:05.534Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gWGN [2021-03-11T04:50:20.495Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-11T04:50:28.938Z] gofmt -l . [2021-03-11T04:50:28.938Z] [ "`gofmt -l .`" = "" ] [2021-03-11T04:50:28.938Z] ./bin/test-attribution-txt.sh [2021-03-11T04:50:28.938Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-11T04:50:28.987Z] $ docker stop --time=1 4c3226efa3f70ecb5e1b3bfa84c6587bfe1524f4453a6c5a700a862fc8bb7243 [2021-03-11T04:50:31.372Z] $ docker rm -f 4c3226efa3f70ecb5e1b3bfa84c6587bfe1524f4453a6c5a700a862fc8bb7243 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T04:50:32.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-11T04:50:32.535Z] Warning: overwriting stash ‘coverage-report’ [2021-03-11T04:50:33.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T04:50:34.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T04:50:34.698Z] + ls -al . [2021-03-11T04:50:34.698Z] total 236 [2021-03-11T04:50:34.698Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 04:50 . [2021-03-11T04:50:34.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:46 .. [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 04:46 .dockerignore [2021-03-11T04:50:34.698Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 04:46 .git [2021-03-11T04:50:34.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 04:46 .github [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 04:46 .gitignore [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 11 04:46 Dockerfile.build [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 11 04:46 Jenkinsfile [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 04:46 LICENSE [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 11 04:46 Makefile [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 11 04:46 README.md [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 11 04:46 RELEASE-NOTES.txt [2021-03-11T04:50:34.698Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 04:44 VERSION [2021-03-11T04:50:34.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 04:46 bin [2021-03-11T04:50:34.698Z] -rw-r--r-- 1 jenkins jenkins 116500 Mar 11 04:49 coverage.out [2021-03-11T04:50:34.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:46 example [2021-03-11T04:50:34.698Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 11 04:50 go.mod [2021-03-11T04:50:34.698Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 11 04:50 go.sum [2021-03-11T04:50:34.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 04:46 internal [2021-03-11T04:50:34.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:46 openapi [2021-03-11T04:50:34.699Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 04:46 pkg [2021-03-11T04:50:34.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 04:46 snap [2021-03-11T04:50:34.699Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 04:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:50:35.198Z] + 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=77c5e07f29da27b979236f63adf2147f5ae84054 --label arch=arm64 --label version=0.0.0 . [2021-03-11T04:50:35.866Z] Sending build context to Docker daemon 2.414MB [2021-03-11T04:50:35.866Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T04:50:35.866Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-11T04:50:35.866Z] ---> 04f807ec0cf9 [2021-03-11T04:50:35.866Z] Step 3/24 : ARG MAKE='make build' [2021-03-11T04:50:35.866Z] ---> Running in 34e9d85b68e0 [2021-03-11T04:50:36.474Z] Removing intermediate container 34e9d85b68e0 [2021-03-11T04:50:36.474Z] ---> acdd09e6a8c5 [2021-03-11T04:50:36.474Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-11T04:50:36.474Z] ---> Running in 77bb395538ea [2021-03-11T04:50:37.071Z] Removing intermediate container 77bb395538ea [2021-03-11T04:50:37.071Z] ---> b6131e89d4bd [2021-03-11T04:50:37.071Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T04:50:37.071Z] ---> Running in d95439bc5dc8 [2021-03-11T04:50:37.666Z] Removing intermediate container d95439bc5dc8 [2021-03-11T04:50:37.666Z] ---> 3e1b739fbd9b [2021-03-11T04:50:37.666Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T04:50:37.666Z] ---> Running in 302985520a63 [2021-03-11T04:50:39.653Z] Removing intermediate container 302985520a63 [2021-03-11T04:50:39.653Z] ---> 3f9d5ea1279b [2021-03-11T04:50:39.653Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-11T04:50:39.929Z] ---> Running in dd4f5eed7edc [2021-03-11T04:50:40.912Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-11T04:50:41.513Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-11T04:50:42.494Z] OK: 142 MiB in 39 packages [2021-03-11T04:50:43.468Z] Removing intermediate container dd4f5eed7edc [2021-03-11T04:50:43.469Z] ---> 426d7c9768c8 [2021-03-11T04:50:43.469Z] Step 8/24 : COPY . . [2021-03-11T04:50:44.898Z] ---> de27b2f62f2d [2021-03-11T04:50:44.898Z] Step 9/24 : RUN ${MAKE} [2021-03-11T04:50:44.898Z] ---> Running in acc4efc3c976 [2021-03-11T04:50:46.329Z] 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-03-11T04:50:53.027Z] lf-activate-venv(): INFO: Adding /tmp/venv-gWGN/bin to PATH [2021-03-11T04:50:53.027Z] INFO: No Stack... [2021-03-11T04:50:53.027Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-11T04:50:53.027Z] INFO: Archiving Costs [Pipeline] sh [2021-03-11T04:50:53.362Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-11T04:50:53.362Z] + cut -d, -f6 [Pipeline] lock [2021-03-11T04:50:53.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [2021-03-11T04:50:53.487Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] did not exist. Created. [2021-03-11T04:50:53.487Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-11T04:50:53.984Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-11T04:50:54.136Z] Stashed 1 file(s) [Pipeline] } [2021-03-11T04:50:54.159Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-11T04:51:13.141Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-11T04:51:15.778Z] Removing intermediate container acc4efc3c976 [2021-03-11T04:51:15.778Z] ---> 4da4da08f597 [2021-03-11T04:51:15.778Z] Step 10/24 : FROM scratch [2021-03-11T04:51:15.778Z] ---> [2021-03-11T04:51:15.778Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T04:51:15.778Z] ---> Running in 54374c946534 [2021-03-11T04:51:16.371Z] Removing intermediate container 54374c946534 [2021-03-11T04:51:16.371Z] ---> aca539ea2565 [2021-03-11T04:51:16.371Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-11T04:51:16.371Z] ---> Running in bb0b301b22a8 [2021-03-11T04:51:16.963Z] Removing intermediate container bb0b301b22a8 [2021-03-11T04:51:16.963Z] ---> 230e6e7f841e [2021-03-11T04:51:16.963Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-11T04:51:16.963Z] ---> Running in 819e32fef698 [2021-03-11T04:51:17.557Z] Removing intermediate container 819e32fef698 [2021-03-11T04:51:17.557Z] ---> 6394b45a6635 [2021-03-11T04:51:17.557Z] Step 14/24 : WORKDIR / [2021-03-11T04:51:17.557Z] ---> Running in 1934bacad01a [2021-03-11T04:51:18.152Z] Removing intermediate container 1934bacad01a [2021-03-11T04:51:18.152Z] ---> 07c6d529e4fb [2021-03-11T04:51:18.152Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-11T04:51:19.130Z] ---> e4d3bf6a3c92 [2021-03-11T04:51:19.130Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-11T04:51:20.118Z] ---> dc7026f44fce [2021-03-11T04:51:20.118Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-11T04:51:20.727Z] ---> 1f5c19af1c0d [2021-03-11T04:51:20.727Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-11T04:51:21.325Z] ---> af68ec194faa [2021-03-11T04:51:21.325Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-11T04:51:22.317Z] ---> 7787fc6edde1 [2021-03-11T04:51:22.317Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-11T04:51:22.317Z] ---> Running in 89a96984a1da [2021-03-11T04:51:22.915Z] Removing intermediate container 89a96984a1da [2021-03-11T04:51:22.915Z] ---> 4a09441a8aeb [2021-03-11T04:51:22.915Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-11T04:51:22.915Z] ---> Running in d0046b51d889 [2021-03-11T04:51:23.511Z] Removing intermediate container d0046b51d889 [2021-03-11T04:51:23.511Z] ---> 281e0f31428e [2021-03-11T04:51:23.511Z] Step 22/24 : LABEL arch=arm64 [2021-03-11T04:51:23.511Z] ---> Running in 67bf2fc5a917 [2021-03-11T04:51:24.109Z] Removing intermediate container 67bf2fc5a917 [2021-03-11T04:51:24.109Z] ---> 49440b457fe2 [2021-03-11T04:51:24.109Z] Step 23/24 : LABEL git_sha=77c5e07f29da27b979236f63adf2147f5ae84054 [2021-03-11T04:51:24.109Z] ---> Running in 1227a84cdf79 [2021-03-11T04:51:24.704Z] Removing intermediate container 1227a84cdf79 [2021-03-11T04:51:24.704Z] ---> 39bbd0ebff78 [2021-03-11T04:51:24.704Z] Step 24/24 : LABEL version=0.0.0 [2021-03-11T04:51:24.976Z] ---> Running in fa7ac2568ce6 [2021-03-11T04:51:25.246Z] Removing intermediate container fa7ac2568ce6 [2021-03-11T04:51:25.246Z] ---> d953b6eb4d69 [2021-03-11T04:51:25.246Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-11T04:51:25.246Z] Successfully built d953b6eb4d69 [2021-03-11T04:51:25.246Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:51:26.295Z] ---> job-cost.sh [2021-03-11T04:51:26.296Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IAE1 [2021-03-11T04:52:05.255Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-11T04:53:42.962Z] lf-activate-venv(): INFO: Adding /tmp/venv-IAE1/bin to PATH [2021-03-11T04:53:42.962Z] INFO: No Stack... [2021-03-11T04:53:42.962Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-11T04:53:43.234Z] INFO: Archiving Costs [Pipeline] sh [2021-03-11T04:53:43.594Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-11T04:53:43.594Z] + cut -d, -f6 [Pipeline] lock [2021-03-11T04:53:43.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [2021-03-11T04:53:43.746Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] did not exist. Created. [2021-03-11T04:53:43.746Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-11T04:53:44.280Z] /w/workspace/device-sdk-go/1@tmp/durable-40029c4d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-40029c4d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-11T04:53:44.685Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-11T04:53:44.729Z] Warning: overwriting stash ‘stack-cost’ [2021-03-11T04:53:44.883Z] Stashed 1 file(s) [Pipeline] } [2021-03-11T04:53:44.910Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-1-stack-cost] [Pipeline] // lock [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-03-11T04:53:46.471Z] provisioning config files... [2021-03-11T04:53:46.493Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config986040739982466250tmp [Pipeline] { [Pipeline] sh [2021-03-11T04:53:46.906Z] + set +x [2021-03-11T04:53:46.906Z] + curl -s https://codecov.io/bash [2021-03-11T04:53:46.906Z] + bash -s -- [2021-03-11T04:53:47.168Z] [2021-03-11T04:53:47.168Z] _____ _ [2021-03-11T04:53:47.168Z] / ____| | | [2021-03-11T04:53:47.168Z] | | ___ __| | ___ ___ _____ __ [2021-03-11T04:53:47.168Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-11T04:53:47.168Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-11T04:53:47.168Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-11T04:53:47.168Z] Bash-20210309-2b87ace [2021-03-11T04:53:47.168Z] [2021-03-11T04:53:47.168Z] [2021-03-11T04:53:47.168Z] ==> git version 2.24.3 found [2021-03-11T04:53:47.168Z] ==> 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-03-11T04:53:47.168Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-11T04:53:47.168Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-11T04:53:47.168Z] ==> Jenkins CI detected. [2021-03-11T04:53:47.168Z] project root: . [2021-03-11T04:53:47.168Z] --> token set from env [2021-03-11T04:53:47.168Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-11T04:53:47.168Z] ==> Running gcov in . (disable via -X gcov) [2021-03-11T04:53:47.168Z] ==> Python coveragepy not found [2021-03-11T04:53:47.168Z] ==> Searching for coverage reports in: [2021-03-11T04:53:47.168Z] + . [2021-03-11T04:53:47.168Z] -> Found 1 reports [2021-03-11T04:53:47.168Z] ==> Detecting git/mercurial file structure [2021-03-11T04:53:47.168Z] ==> Reading reports [2021-03-11T04:53:47.168Z] + ./coverage.out bytes=116500 [2021-03-11T04:53:47.168Z] ==> Appending adjustments [2021-03-11T04:53:47.168Z] https://docs.codecov.io/docs/fixing-reports [2021-03-11T04:53:47.430Z] + Found adjustments [2021-03-11T04:53:47.431Z] ==> Gzipping contents [2021-03-11T04:53:47.698Z] 16K /tmp/codecov.HAzf0B.gz [2021-03-11T04:53:47.698Z] ==> Uploading reports [2021-03-11T04:53:47.698Z] url: https://codecov.io [2021-03-11T04:53:47.698Z] query: branch=PR-813&commit=77c5e07f29da27b979236f63adf2147f5ae84054&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-11T04:53:47.698Z] -> Pinging Codecov [2021-03-11T04:53:47.698Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-813&commit=77c5e07f29da27b979236f63adf2147f5ae84054&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-11T04:53:47.959Z] -> Uploading to [2021-03-11T04:53:47.959Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-11/7E55EF52A471D76F132DFD9A03CDDE97/77c5e07f29da27b979236f63adf2147f5ae84054/4c540d95-adf5-4f5a-9408-ff1f14c65251.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210311T045347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e6b387a64bd41396d37611d16abc95a52ec0abe0222da5f07bce54b1f66ff65 [2021-03-11T04:53:47.959Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-11T04:53:47.959Z] Dload Upload Total Spent Left Speed [2021-03-11T04:53:48.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15108 0 0 100 15108 0 25287 --:--:-- --:--:-- --:--:-- 25306 [2021-03-11T04:53:48.536Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/77c5e07f29da27b979236f63adf2147f5ae84054 [Pipeline] } [2021-03-11T04:53:48.557Z] 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] { (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-03-11T04:53:51.766Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:53:52.371Z] ---> package-listing.sh [2021-03-11T04:53:52.371Z] ++ facter osfamily [2021-03-11T04:53:52.371Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-11T04:53:52.371Z] + OS_FAMILY=redhat [2021-03-11T04:53:52.371Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-11T04:53:52.371Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-11T04:53:52.371Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-11T04:53:52.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-11T04:53:52.371Z] + PACKAGES=/tmp/packages_start.txt [2021-03-11T04:53:52.371Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-11T04:53:52.371Z] + PACKAGES=/tmp/packages_end.txt [2021-03-11T04:53:52.371Z] + case "${OS_FAMILY}" in [2021-03-11T04:53:52.371Z] + rpm -qa [2021-03-11T04:53:52.371Z] + sort [2021-03-11T04:53:57.676Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-11T04:53:57.676Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-11T04:53:57.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-11T04:53:57.676Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-11T04:53:57.676Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [2021-03-11T04:53:57.676Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [Pipeline] echo [2021-03-11T04:53:57.711Z] 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-813/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-11T04:53:58.015Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:53:58.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T04:53:58.351Z] [2021-03-11T04:53:58.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-11T04:53:58.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T04:53:58.735Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-11T04:53:58.735Z] df20fa9351a1: Pulling fs layer [2021-03-11T04:53:58.735Z] 36b3adc4ff6f: Pulling fs layer [2021-03-11T04:53:58.735Z] 8ad3a11d3b57: Pulling fs layer [2021-03-11T04:53:58.735Z] 46f8f816bc3b: Pulling fs layer [2021-03-11T04:53:58.735Z] 93b61091891f: Pulling fs layer [2021-03-11T04:53:58.735Z] 93b9cdb0e59b: Pulling fs layer [2021-03-11T04:53:58.735Z] 5e14af77c1be: Pulling fs layer [2021-03-11T04:53:58.735Z] 01666e4c0597: Pulling fs layer [2021-03-11T04:53:58.735Z] aa168da1d23b: Pulling fs layer [2021-03-11T04:53:58.735Z] 5e14af77c1be: Waiting [2021-03-11T04:53:58.735Z] 46f8f816bc3b: Waiting [2021-03-11T04:53:58.735Z] 93b61091891f: Waiting [2021-03-11T04:53:58.735Z] 93b9cdb0e59b: Waiting [2021-03-11T04:53:58.735Z] aa168da1d23b: Waiting [2021-03-11T04:53:58.735Z] 36b3adc4ff6f: Verifying Checksum [2021-03-11T04:53:58.735Z] 36b3adc4ff6f: Download complete [2021-03-11T04:53:58.735Z] 46f8f816bc3b: Download complete [2021-03-11T04:53:58.999Z] df20fa9351a1: Verifying Checksum [2021-03-11T04:53:58.999Z] df20fa9351a1: Download complete [2021-03-11T04:53:58.999Z] 93b9cdb0e59b: Verifying Checksum [2021-03-11T04:53:58.999Z] 93b9cdb0e59b: Download complete [2021-03-11T04:53:58.999Z] 93b61091891f: Verifying Checksum [2021-03-11T04:53:58.999Z] 93b61091891f: Download complete [2021-03-11T04:53:58.999Z] 5e14af77c1be: Verifying Checksum [2021-03-11T04:53:58.999Z] 5e14af77c1be: Download complete [2021-03-11T04:53:58.999Z] 01666e4c0597: Verifying Checksum [2021-03-11T04:53:58.999Z] 01666e4c0597: Download complete [2021-03-11T04:53:58.999Z] 8ad3a11d3b57: Verifying Checksum [2021-03-11T04:53:58.999Z] 8ad3a11d3b57: Download complete [2021-03-11T04:53:59.266Z] df20fa9351a1: Pull complete [2021-03-11T04:53:59.530Z] 36b3adc4ff6f: Pull complete [2021-03-11T04:54:00.508Z] 8ad3a11d3b57: Pull complete [2021-03-11T04:54:00.772Z] 46f8f816bc3b: Pull complete [2021-03-11T04:54:01.035Z] aa168da1d23b: Verifying Checksum [2021-03-11T04:54:01.035Z] aa168da1d23b: Download complete [2021-03-11T04:54:01.035Z] 93b61091891f: Pull complete [2021-03-11T04:54:01.299Z] 93b9cdb0e59b: Pull complete [2021-03-11T04:54:01.299Z] 5e14af77c1be: Pull complete [2021-03-11T04:54:01.564Z] 01666e4c0597: Pull complete [2021-03-11T04:54:08.168Z] aa168da1d23b: Pull complete [2021-03-11T04:54:08.168Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-11T04:54:08.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T04:54:08.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-11T04:54:08.321Z] prd-centos7-docker-4c-2g-29457 does not seem to be running inside a container [2021-03-11T04:54:08.368Z] $ 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-813/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-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-11T04:54:11.605Z] $ docker top b543a66cbb70f23ba89e01036b92464645b87fdaccb144772e68db27851c01ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T04:54:12.112Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-11T04:54:12.472Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-11T04:54:12.784Z] + ls /var/log/sa-host [2021-03-11T04:54:12.784Z] + sadf -c /var/log/sa-host/sa11 [2021-03-11T04:54:12.784Z] file_magic: OK [2021-03-11T04:54:12.784Z] HZ: Using current value: 100 [2021-03-11T04:54:12.784Z] file_header: OK [2021-03-11T04:54:12.784Z] 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-03-11T04:54:12.784Z] Statistics: [2021-03-11T04:54:12.784Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-11T04:54:12.784Z] File successfully converted to sysstat format version 12.2.1 [2021-03-11T04:54:12.784Z] + sadf -c /var/log/sa-host/sa23 [2021-03-11T04:54:12.784Z] file_magic: OK [2021-03-11T04:54:12.784Z] HZ: Using current value: 100 [2021-03-11T04:54:12.784Z] file_header: OK [2021-03-11T04:54:12.784Z] 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-03-11T04:54:12.784Z] Statistics: [2021-03-11T04:54:12.784Z] Hnuu...uuuununununu... [2021-03-11T04:54:12.784Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-11T04:54:13.084Z] provisioning config files... [2021-03-11T04:54:13.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config7138218733742286283tmp [Pipeline] { [Pipeline] echo [2021-03-11T04:54:13.226Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:54:13.555Z] ---> create-netrc.sh [Pipeline] } [2021-03-11T04:54:13.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-11T04:54:13.725Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:54:14.048Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-11T04:54:14.086Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:54:14.416Z] ---> sudo-logs.sh [2021-03-11T04:54:14.416Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-11T04:54:14.518Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:54:14.864Z] ---> job-cost.sh [2021-03-11T04:54:14.865Z] lf-activate-venv: SKIPPING [2021-03-11T04:54:14.865Z] DEBUG: total: 0.20999999344348907 [2021-03-11T04:54:14.865Z] INFO: Retrieving Stack Cost... [2021-03-11T04:54:15.810Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-11T04:54:16.383Z] INFO: Archiving Costs [Pipeline] echo [2021-03-11T04:54:16.422Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T04:54:16.755Z] ---> logs-deploy.sh [2021-03-11T04:54:16.755Z] lf-activate-venv: SKIPPING [2021-03-11T04:54:16.755Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-813/1 [2021-03-11T04:54:16.755Z] INFO: archiving workspace using pattern(s): [2021-03-11T04:54:18.670Z] Archives upload complete. [2021-03-11T04:54:18.670Z] INFO: archiving logs to Nexus