Pull request #821 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f3a93df600ccc61f0532ab2a2bef02090713baf8+e34679e4f02bbc164353b5eb88e70f6c516b0d21 (92a870d5033c3fafa7af41cb10a36ef7ce23c826) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30152’ Running on prd-centos7-docker-4c-2g-30156 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [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-821 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) > 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/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-17T12:05:21.751Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-17T12:05:22.060Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-17T12:05:22.155Z] ========================================================= [2021-03-17T12:05:22.156Z] EdgeX Global Pipelines Version Info [2021-03-17T12:05:22.156Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:05:23.628Z] ------------------- [2021-03-17T12:05:23.628Z] stable info: [2021-03-17T12:05:23.628Z] ------------------- [2021-03-17T12:05:23.628Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-17T12:05:23.628Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T12:05:23.628Z] Message: update stable to v1.0.184 [2021-03-17T12:05:24.614Z] ------------------- [2021-03-17T12:05:24.614Z] experimental info: [2021-03-17T12:05:24.614Z] ------------------- [2021-03-17T12:05:24.614Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-17T12:05:24.614Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T12:05:24.614Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-17T12:05:24.915Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-17T12:05:25.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-17T12:05:25.127Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-17T12:05:25.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-17T12:05:25.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-17T12:05:25.425Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-17T12:05:25.537Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-17T12:05:25.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-17T12:05:25.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-17T12:05:25.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-17T12:05:25.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-17T12:05:25.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-17T12:05:26.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-17T12:05:26.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-17T12:05:26.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-17T12:05:26.371Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:05:26.457Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:05:26.541Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:05:26.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-17T12:05:26.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-17T12:05:26.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-17T12:05:26.893Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-17T12:05:26.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-17T12:05:27.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-17T12:05:27.145Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-17T12:05:27.227Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-17T12:05:27.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-821 [Pipeline] echo [2021-03-17T12:05:27.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-821 [Pipeline] echo [2021-03-17T12:05:27.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-821 [Pipeline] echo [2021-03-17T12:05:27.577Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] echo [2021-03-17T12:05:27.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3a93df [Pipeline] echo [2021-03-17T12:05:27.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:05:27.951Z] provisioning config files... [2021-03-17T12:05:27.977Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config4818420854227959940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:05:28.340Z] ---> docker-login.sh [2021-03-17T12:05:28.340Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:05:28.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:28.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:28.929Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:28.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:28.929Z] [2021-03-17T12:05:28.929Z] Login Succeeded [2021-03-17T12:05:28.929Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:05:28.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.190Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.190Z] [2021-03-17T12:05:29.190Z] Login Succeeded [2021-03-17T12:05:29.190Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:05:29.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.453Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.453Z] [2021-03-17T12:05:29.453Z] Login Succeeded [2021-03-17T12:05:29.453Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:05:29.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.453Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.453Z] [2021-03-17T12:05:29.453Z] Login Succeeded [2021-03-17T12:05:29.453Z] docker.io [2021-03-17T12:05:29.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.985Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.985Z] [2021-03-17T12:05:29.985Z] Login Succeeded [2021-03-17T12:05:29.985Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:05:29.995Z] 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-17T12:05:30.830Z] + git log --format=format:%s -1 f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] echo [2021-03-17T12:05:30.901Z] GIT_COMMIT: f3a93df600ccc61f0532ab2a2bef02090713baf8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-03-17T12:05:30.950Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:05:31.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:05:31.533Z] [2021-03-17T12:05:31.533Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:05:31.886Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:05:31.886Z] latest: Pulling from edgex-devops/git-semver [2021-03-17T12:05:31.886Z] 31603596830f: Pulling fs layer [2021-03-17T12:05:31.886Z] 2a8b12db71e7: Pulling fs layer [2021-03-17T12:05:31.886Z] 6ca5941a6612: Pulling fs layer [2021-03-17T12:05:31.886Z] ecc8261a40a4: Pulling fs layer [2021-03-17T12:05:31.886Z] ecc8261a40a4: Waiting [2021-03-17T12:05:31.886Z] 2a8b12db71e7: Verifying Checksum [2021-03-17T12:05:31.886Z] 2a8b12db71e7: Download complete [2021-03-17T12:05:31.886Z] 31603596830f: Verifying Checksum [2021-03-17T12:05:31.886Z] 31603596830f: Download complete [2021-03-17T12:05:32.152Z] ecc8261a40a4: Verifying Checksum [2021-03-17T12:05:32.152Z] ecc8261a40a4: Download complete [2021-03-17T12:05:32.152Z] 6ca5941a6612: Verifying Checksum [2021-03-17T12:05:32.152Z] 6ca5941a6612: Download complete [2021-03-17T12:05:32.413Z] 31603596830f: Pull complete [2021-03-17T12:05:32.413Z] 2a8b12db71e7: Pull complete [2021-03-17T12:05:33.390Z] 6ca5941a6612: Pull complete [2021-03-17T12:05:33.652Z] ecc8261a40a4: Pull complete [2021-03-17T12:05:33.652Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-17T12:05:33.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:05:33.652Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-17T12:05:33.764Z] prd-centos7-docker-4c-2g-30156 does not seem to be running inside a container [2021-03-17T12:05:33.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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-17T12:05:36.162Z] $ docker top 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T12:05:36.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:05:36.626Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:05:36.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:05:36.903Z] $ docker exec 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent [2021-03-17T12:05:37.084Z] SSH_AUTH_SOCK=/tmp/ssh-fucSip9Avuah/agent.11 [2021-03-17T12:05:37.084Z] SSH_AGENT_PID=16 [2021-03-17T12:05:37.109Z] Running ssh-add (command line suppressed) [2021-03-17T12:05:37.245Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_5309381668753160439.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_5309381668753160439.key) [2021-03-17T12:05:37.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:05:37.650Z] + git tag --points-at HEAD [Pipeline] } [2021-03-17T12:05:37.674Z] $ docker exec --env ******** --env ******** 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent -k [2021-03-17T12:05:37.817Z] unset SSH_AUTH_SOCK; [2021-03-17T12:05:37.817Z] unset SSH_AGENT_PID; [2021-03-17T12:05:37.817Z] echo Agent pid 16 killed; [2021-03-17T12:05:37.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-17T12:05:38.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:05:38.008Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:05:38.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:05:38.196Z] $ docker exec 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent [2021-03-17T12:05:38.384Z] SSH_AUTH_SOCK=/tmp/ssh-CEYdFFo1lsWB/agent.46 [2021-03-17T12:05:38.384Z] SSH_AGENT_PID=51 [2021-03-17T12:05:38.391Z] Running ssh-add (command line suppressed) [2021-03-17T12:05:38.534Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_3880768524522743079.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_3880768524522743079.key) [2021-03-17T12:05:38.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:05:38.933Z] + git semver init [2021-03-17T12:05:38.933Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T12:05:38.933Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.git [2021-03-17T12:05:38.933Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-821 [2021-03-17T12:05:38.933Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T12:05:38.933Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T12:05:38.933Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T12:05:38.933Z] # $SEMVER_BRANCH = PR-821 [2021-03-17T12:05:38.933Z] # $SEMVER_TEMP = /tmp/semver-786894496 [2021-03-17T12:05:38.934Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-17T12:05:39.891Z] # '/tmp/semver-786894496' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver' [2021-03-17T12:05:39.891Z] # -> Force: false [2021-03-17T12:05:39.891Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver [Pipeline] } [2021-03-17T12:05:39.908Z] $ docker exec --env ******** --env ******** 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent -k [2021-03-17T12:05:40.035Z] unset SSH_AUTH_SOCK; [2021-03-17T12:05:40.036Z] unset SSH_AGENT_PID; [2021-03-17T12:05:40.036Z] echo Agent pid 51 killed; [2021-03-17T12:05:40.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T12:05:40.598Z] + git semver [Pipeline] } [2021-03-17T12:05:40.618Z] $ docker stop --time=1 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a [2021-03-17T12:05:42.273Z] $ docker rm -f 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:05:42.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-17T12:05:43.452Z] Stashed 1 file(s) [Pipeline] echo [2021-03-17T12:05:43.455Z] [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-17T12:05:59.044Z] Still waiting to schedule task [2021-03-17T12:05:59.044Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-17T12:05:59.046Z] Still waiting to schedule task [2021-03-17T12:05:59.046Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-17T12:07:18.415Z] Running on prd-centos7-docker-4c-2g-30158 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws [2021-03-17T12:07:18.517Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-17T12:07:31.431Z] using credential edgex-jenkins-ssh [2021-03-17T12:07:31.522Z] Cloning the remote Git repository [2021-03-17T12:07:31.562Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:07:31.655Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-17T12:07:31.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:07:31.731Z] > git --version # timeout=10 [2021-03-17T12:07:31.829Z] > git --version # 'git version 2.24.3' [2021-03-17T12:07:31.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:07:32.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:07:32.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:07:32.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:07:32.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:07:33.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:07:33.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:07:33.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T12:07:33.402Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:07:34.079Z] Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:07:34.079Z] Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) [2021-03-17T12:07:33.411Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:07:33.439Z] > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 [2021-03-17T12:07:33.618Z] > git remote # timeout=10 [2021-03-17T12:07:33.734Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T12:07:33.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:07:33.856Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-17T12:07:34.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T12:07:34.083Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:07:34.103Z] > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 [2021-03-17T12:07:39.268Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:07:40.565Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:07:41.101Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:07:41.462Z] + sudo service docker restart [2021-03-17T12:07:41.462Z] + true [2021-03-17T12:07:41.462Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:07:43.736Z] provisioning config files... [2021-03-17T12:07:43.777Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8690362789147332385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:07:44.248Z] ---> docker-login.sh [2021-03-17T12:07:44.248Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:07:45.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:07:46.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:07:46.209Z] Configure a credential helper to remove this warning. See [2021-03-17T12:07:46.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:07:46.209Z] [2021-03-17T12:07:46.209Z] Login Succeeded [2021-03-17T12:07:46.209Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:07:46.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:07:46.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:07:46.499Z] Configure a credential helper to remove this warning. See [2021-03-17T12:07:46.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:07:46.499Z] [2021-03-17T12:07:46.499Z] Login Succeeded [2021-03-17T12:07:46.499Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:07:46.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:07:47.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:07:47.061Z] Configure a credential helper to remove this warning. See [2021-03-17T12:07:47.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:07:47.061Z] [2021-03-17T12:07:47.061Z] Login Succeeded [2021-03-17T12:07:47.061Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:07:48.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:07:48.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:07:48.714Z] Configure a credential helper to remove this warning. See [2021-03-17T12:07:48.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:07:48.714Z] [2021-03-17T12:07:48.714Z] Login Succeeded [2021-03-17T12:07:48.714Z] docker.io [2021-03-17T12:07:49.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:07:49.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:07:49.966Z] Configure a credential helper to remove this warning. See [2021-03-17T12:07:49.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:07:49.966Z] [2021-03-17T12:07:49.966Z] Login Succeeded [2021-03-17T12:07:50.233Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:07:50.260Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T12:07:50.759Z] ========================================================= [2021-03-17T12:07:50.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-17T12:07:50.759Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:07:51.126Z] + 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-17T12:07:51.401Z] Sending build context to Docker daemon 2.293MB [2021-03-17T12:07:51.401Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:07:51.401Z] Step 2/8 : FROM ${BASE} [2021-03-17T12:07:51.401Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-17T12:07:51.401Z] 188c0c94c7c5: Pulling fs layer [2021-03-17T12:07:51.401Z] 0ef7d3d256c8: Pulling fs layer [2021-03-17T12:07:51.401Z] de9db76c5a1d: Pulling fs layer [2021-03-17T12:07:51.401Z] bca2f99d35d6: Pulling fs layer [2021-03-17T12:07:51.401Z] 93359f2a8cfa: Pulling fs layer [2021-03-17T12:07:51.401Z] 7c6f9722023f: Pulling fs layer [2021-03-17T12:07:51.401Z] a35cf1a2eb13: Pulling fs layer [2021-03-17T12:07:51.401Z] bca2f99d35d6: Waiting [2021-03-17T12:07:51.401Z] 7c6f9722023f: Waiting [2021-03-17T12:07:51.401Z] a35cf1a2eb13: Waiting [2021-03-17T12:07:51.401Z] de9db76c5a1d: Verifying Checksum [2021-03-17T12:07:51.401Z] de9db76c5a1d: Download complete [2021-03-17T12:07:51.401Z] 0ef7d3d256c8: Verifying Checksum [2021-03-17T12:07:51.401Z] 0ef7d3d256c8: Download complete [2021-03-17T12:07:51.401Z] 93359f2a8cfa: Verifying Checksum [2021-03-17T12:07:51.401Z] 93359f2a8cfa: Download complete [2021-03-17T12:07:51.675Z] 7c6f9722023f: Verifying Checksum [2021-03-17T12:07:51.675Z] 7c6f9722023f: Download complete [2021-03-17T12:07:51.675Z] 188c0c94c7c5: Verifying Checksum [2021-03-17T12:07:51.675Z] 188c0c94c7c5: Download complete [2021-03-17T12:07:52.367Z] 188c0c94c7c5: Pull complete [2021-03-17T12:07:52.688Z] 0ef7d3d256c8: Pull complete [2021-03-17T12:07:53.370Z] de9db76c5a1d: Pull complete [2021-03-17T12:07:56.980Z] a35cf1a2eb13: Verifying Checksum [2021-03-17T12:07:56.980Z] a35cf1a2eb13: Download complete [2021-03-17T12:07:57.613Z] bca2f99d35d6: Verifying Checksum [2021-03-17T12:07:57.613Z] bca2f99d35d6: Download complete [2021-03-17T12:08:13.071Z] bca2f99d35d6: Pull complete [2021-03-17T12:08:13.071Z] 93359f2a8cfa: Pull complete [2021-03-17T12:08:13.071Z] 7c6f9722023f: Pull complete [2021-03-17T12:08:21.470Z] a35cf1a2eb13: Pull complete [2021-03-17T12:08:21.470Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-17T12:08:21.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-17T12:08:21.470Z] ---> a62c8e92a672 [2021-03-17T12:08:21.470Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:08:21.470Z] ---> Running in cdde87db7ea3 [2021-03-17T12:08:21.470Z] Removing intermediate container cdde87db7ea3 [2021-03-17T12:08:21.470Z] ---> a7c3999abbc6 [2021-03-17T12:08:21.470Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:08:21.470Z] ---> Running in cc7f1e4cb563 [2021-03-17T12:08:24.221Z] Removing intermediate container cc7f1e4cb563 [2021-03-17T12:08:24.221Z] ---> 1dbf174049cb [2021-03-17T12:08:24.221Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T12:08:24.519Z] ---> Running in c16c44d05a66 [2021-03-17T12:08:27.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T12:08:28.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T12:08:29.441Z] OK: 166 MiB in 39 packages [2021-03-17T12:08:30.053Z] Removing intermediate container c16c44d05a66 [2021-03-17T12:08:30.053Z] ---> 8c2fbfd51ec8 [2021-03-17T12:08:30.053Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T12:08:30.053Z] ---> Running in 33796f3f5944 [2021-03-17T12:08:30.319Z] Removing intermediate container 33796f3f5944 [2021-03-17T12:08:30.319Z] ---> cc8b08421187 [2021-03-17T12:08:30.319Z] Step 7/8 : COPY . . [2021-03-17T12:08:32.556Z] ---> 43d552c4f358 [2021-03-17T12:08:32.556Z] Step 8/8 : RUN go mod download [2021-03-17T12:08:32.556Z] ---> Running in 7c7a308fc5dc [2021-03-17T12:08:36.569Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30159 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws [2021-03-17T12:08:36.630Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-17T12:08:41.990Z] using credential edgex-jenkins-ssh [2021-03-17T12:08:42.086Z] Cloning the remote Git repository [2021-03-17T12:08:42.154Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:08:42.271Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-17T12:08:42.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:08:42.351Z] > git --version # timeout=10 [2021-03-17T12:08:42.373Z] > git --version # 'git version 2.17.1' [2021-03-17T12:08:42.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:08:42.470Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:08:43.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:08:43.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:08:43.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:08:43.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:08:43.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:08:43.780Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T12:08:44.271Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:08:44.524Z] Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:08:44.524Z] Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) [2021-03-17T12:08:44.297Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:08:44.318Z] > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 [2021-03-17T12:08:44.431Z] > git remote # timeout=10 [2021-03-17T12:08:44.458Z] > git config --get remote.origin.url # timeout=10 [2021-03-17T12:08:44.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:08:44.485Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-17T12:08:44.510Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-17T12:08:44.542Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:08:44.557Z] > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 [2021-03-17T12:08:49.188Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:08:50.707Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:08:51.107Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:08:51.460Z] + true [2021-03-17T12:08:51.460Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:08:53.534Z] provisioning config files... [2021-03-17T12:08:53.581Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1482039863816128184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:08:53.988Z] ---> docker-login.sh [2021-03-17T12:08:53.988Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:08:54.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:08:55.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:08:55.243Z] Configure a credential helper to remove this warning. See [2021-03-17T12:08:55.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:08:55.243Z] [2021-03-17T12:08:55.243Z] Login Succeeded [2021-03-17T12:08:55.243Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:08:55.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:08:55.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:08:55.839Z] Configure a credential helper to remove this warning. See [2021-03-17T12:08:55.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:08:55.839Z] [2021-03-17T12:08:55.839Z] Login Succeeded [2021-03-17T12:08:55.839Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:08:56.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:08:56.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:08:56.436Z] Configure a credential helper to remove this warning. See [2021-03-17T12:08:56.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:08:56.436Z] [2021-03-17T12:08:56.436Z] Login Succeeded [2021-03-17T12:08:56.436Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:08:56.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:08:56.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:08:56.986Z] Configure a credential helper to remove this warning. See [2021-03-17T12:08:56.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:08:56.986Z] [2021-03-17T12:08:56.986Z] Login Succeeded [2021-03-17T12:08:56.986Z] docker.io [2021-03-17T12:08:57.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:08:57.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:08:57.853Z] Configure a credential helper to remove this warning. See [2021-03-17T12:08:57.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:08:57.853Z] [2021-03-17T12:08:57.853Z] Login Succeeded [2021-03-17T12:08:57.853Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:08:57.870Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T12:08:58.359Z] ========================================================= [2021-03-17T12:08:58.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-17T12:08:58.359Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:08:58.748Z] + 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-17T12:08:59.356Z] Sending build context to Docker daemon 2.292MB [2021-03-17T12:08:59.356Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:08:59.356Z] Step 2/8 : FROM ${BASE} [2021-03-17T12:08:59.356Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-17T12:08:59.356Z] 5f621e34cdf4: Pulling fs layer [2021-03-17T12:08:59.356Z] a4357932f1b6: Pulling fs layer [2021-03-17T12:08:59.356Z] 18c013af1878: Pulling fs layer [2021-03-17T12:08:59.356Z] 00ac8860ef70: Pulling fs layer [2021-03-17T12:08:59.356Z] 63d7cb157983: Pulling fs layer [2021-03-17T12:08:59.356Z] b116817d02f9: Pulling fs layer [2021-03-17T12:08:59.356Z] 745a02a5169b: Pulling fs layer [2021-03-17T12:08:59.356Z] 00ac8860ef70: Waiting [2021-03-17T12:08:59.356Z] 63d7cb157983: Waiting [2021-03-17T12:08:59.356Z] b116817d02f9: Waiting [2021-03-17T12:08:59.356Z] 745a02a5169b: Waiting [2021-03-17T12:08:59.356Z] 18c013af1878: Verifying Checksum [2021-03-17T12:08:59.356Z] 18c013af1878: Download complete [2021-03-17T12:08:59.356Z] a4357932f1b6: Download complete [2021-03-17T12:08:59.356Z] 63d7cb157983: Verifying Checksum [2021-03-17T12:08:59.356Z] 63d7cb157983: Download complete [2021-03-17T12:08:59.356Z] b116817d02f9: Verifying Checksum [2021-03-17T12:08:59.356Z] b116817d02f9: Download complete [2021-03-17T12:08:59.633Z] 5f621e34cdf4: Verifying Checksum [2021-03-17T12:08:59.633Z] 5f621e34cdf4: Download complete [2021-03-17T12:09:00.236Z] 5f621e34cdf4: Pull complete [2021-03-17T12:09:00.854Z] a4357932f1b6: Pull complete [2021-03-17T12:09:01.131Z] 18c013af1878: Pull complete [2021-03-17T12:09:02.581Z] 745a02a5169b: Download complete [2021-03-17T12:09:03.561Z] 00ac8860ef70: Verifying Checksum [2021-03-17T12:09:03.561Z] 00ac8860ef70: Download complete [2021-03-17T12:09:13.001Z] Removing intermediate container 7c7a308fc5dc [2021-03-17T12:09:13.001Z] ---> 68f69437f476 [2021-03-17T12:09:13.001Z] Successfully built 68f69437f476 [2021-03-17T12:09:13.001Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:09:13.343Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T12:09:13.923Z] . [Pipeline] withDockerContainer [2021-03-17T12:09:14.087Z] prd-centos7-docker-4c-2g-30158 does not seem to be running inside a container [2021-03-17T12:09:14.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat [2021-03-17T12:09:15.982Z] 00ac8860ef70: Pull complete [2021-03-17T12:09:15.982Z] 63d7cb157983: Pull complete [2021-03-17T12:09:15.982Z] b116817d02f9: Pull complete [2021-03-17T12:09:16.293Z] $ docker top 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:09:17.118Z] + go version [2021-03-17T12:09:17.118Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-17T12:09:17.142Z] $ docker stop --time=1 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b [2021-03-17T12:09:18.641Z] 745a02a5169b: Pull complete [2021-03-17T12:09:18.641Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-17T12:09:18.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-17T12:09:18.641Z] ---> b7e6874047d6 [2021-03-17T12:09:18.641Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:09:18.707Z] $ docker rm -f 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:09:19.589Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T12:09:19.589Z] . [Pipeline] withDockerContainer [2021-03-17T12:09:19.732Z] prd-centos7-docker-4c-2g-30158 does not seem to be running inside a container [2021-03-17T12:09:19.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-x86_64 cat [2021-03-17T12:09:20.778Z] $ docker top 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:09:21.484Z] + make test [2021-03-17T12:09:21.484Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T12:09:22.029Z] ---> Running in af0b72be87cb [2021-03-17T12:09:22.029Z] Removing intermediate container af0b72be87cb [2021-03-17T12:09:22.029Z] ---> 921039f0f47e [2021-03-17T12:09:22.029Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:09:22.029Z] ---> Running in 288e692a377a [2021-03-17T12:09:24.669Z] Removing intermediate container 288e692a377a [2021-03-17T12:09:24.669Z] ---> 50ed0a075c49 [2021-03-17T12:09:24.669Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T12:09:24.669Z] ---> Running in 4981039ac7bc [2021-03-17T12:09:25.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T12:09:26.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T12:09:27.613Z] OK: 142 MiB in 39 packages [2021-03-17T12:09:28.602Z] Removing intermediate container 4981039ac7bc [2021-03-17T12:09:28.602Z] ---> f0e907311bd9 [2021-03-17T12:09:28.602Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T12:09:28.876Z] ---> Running in c2a84d3f63b7 [2021-03-17T12:09:29.474Z] Removing intermediate container c2a84d3f63b7 [2021-03-17T12:09:29.474Z] ---> 3b127b89987b [2021-03-17T12:09:29.474Z] Step 7/8 : COPY . . [2021-03-17T12:09:30.459Z] ---> 573233f85165 [2021-03-17T12:09:30.459Z] Step 8/8 : RUN go mod download [2021-03-17T12:09:30.732Z] ---> Running in 1bc6a5afafa4 [2021-03-17T12:09:37.119Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T12:09:57.533Z] Removing intermediate container 1bc6a5afafa4 [2021-03-17T12:09:57.534Z] ---> 9053b2e62f5b [2021-03-17T12:09:57.534Z] Successfully built 9053b2e62f5b [2021-03-17T12:09:57.534Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:09:57.882Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T12:09:57.882Z] . [Pipeline] withDockerContainer [2021-03-17T12:09:58.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-30159 does not seem to be running inside a container [2021-03-17T12:09:58.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat [2021-03-17T12:09:59.634Z] $ docker top 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:10:00.658Z] + go version [2021-03-17T12:10:00.658Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-17T12:10:00.683Z] $ docker stop --time=1 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 [2021-03-17T12:10:02.624Z] $ docker rm -f 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:10:03.686Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T12:10:03.686Z] . [Pipeline] withDockerContainer [2021-03-17T12:10:03.952Z] prd-ubuntu18.04-docker-arm64-4c-16g-30159 does not seem to be running inside a container [2021-03-17T12:10:04.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat [2021-03-17T12:10:05.617Z] $ docker top b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:10:06.642Z] + make test [2021-03-17T12:10:06.642Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T12:10:18.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T12:10:18.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T12:10:18.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T12:10:18.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T12:10:18.546Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 25.5% of statements [2021-03-17T12:10:19.546Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.102s coverage: 81.2% of statements [2021-03-17T12:10:28.838Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T12:10:46.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.5% of statements [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T12:10:46.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.282s coverage: 32.5% of statements [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T12:10:46.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.187s coverage: 57.3% of statements [2021-03-17T12:10:46.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.306s coverage: 6.6% of statements [2021-03-17T12:10:46.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements [2021-03-17T12:10:46.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T12:10:46.873Z] GO111MODULE=on go vet ./... [2021-03-17T12:11:07.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T12:11:07.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T12:11:07.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T12:11:07.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T12:11:14.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 25.5% of statements [2021-03-17T12:11:14.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.154s coverage: 81.2% of statements [2021-03-17T12:11:20.545Z] gofmt -l . [2021-03-17T12:11:20.545Z] [ "`gofmt -l .`" = "" ] [2021-03-17T12:11:20.545Z] ./bin/test-attribution-txt.sh [2021-03-17T12:11:21.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T12:11:23.523Z] $ docker stop --time=1 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed [2021-03-17T12:11:26.291Z] $ docker rm -f 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:11:27.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T12:11:29.066Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-17T12:11:31.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T12:11:32.136Z] + ls -al . [2021-03-17T12:11:32.137Z] total 184 [2021-03-17T12:11:32.137Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 12:11 . [2021-03-17T12:11:32.137Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 12:07 .. [2021-03-17T12:11:32.137Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 12:07 bin [2021-03-17T12:11:32.137Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 12:10 coverage.out [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 12:07 Dockerfile.build [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 12:07 .dockerignore [2021-03-17T12:11:32.137Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 12:07 example [2021-03-17T12:11:32.137Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 12:07 .git [2021-03-17T12:11:32.137Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 12:07 .github [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 12:07 .gitignore [2021-03-17T12:11:32.137Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 17 12:11 go.mod [2021-03-17T12:11:32.137Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 12:11 go.sum [2021-03-17T12:11:32.137Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 12:07 internal [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 12:07 Jenkinsfile [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 12:07 LICENSE [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 12:07 Makefile [2021-03-17T12:11:32.137Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 12:07 openapi [2021-03-17T12:11:32.137Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 12:07 pkg [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 12:07 README.md [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 12:07 RELEASE-NOTES.txt [2021-03-17T12:11:32.137Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 12:07 snap [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 12:05 VERSION [2021-03-17T12:11:32.137Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 12:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:11:32.475Z] + 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=f3a93df600ccc61f0532ab2a2bef02090713baf8 --label arch=amd64 --label version=0.0.0 . [2021-03-17T12:11:32.741Z] Sending build context to Docker daemon 2.394MB [2021-03-17T12:11:32.741Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:11:32.741Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T12:11:32.741Z] ---> 68f69437f476 [2021-03-17T12:11:32.741Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T12:11:33.329Z] ---> Running in 538a8b8e8473 [2021-03-17T12:11:33.598Z] Removing intermediate container 538a8b8e8473 [2021-03-17T12:11:33.598Z] ---> 585ffe527a45 [2021-03-17T12:11:33.598Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T12:11:33.877Z] ---> Running in c0aee1fa2d7f [2021-03-17T12:11:34.159Z] Removing intermediate container c0aee1fa2d7f [2021-03-17T12:11:34.159Z] ---> 77f7a1e5d4bf [2021-03-17T12:11:34.159Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:11:34.446Z] ---> Running in 9f64abd1e7da [2021-03-17T12:11:34.718Z] Removing intermediate container 9f64abd1e7da [2021-03-17T12:11:34.718Z] ---> fc248d1f1a09 [2021-03-17T12:11:34.718Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:11:34.996Z] ---> Running in d51ca381c544 [2021-03-17T12:11:37.203Z] Removing intermediate container d51ca381c544 [2021-03-17T12:11:37.203Z] ---> e26485990cd5 [2021-03-17T12:11:37.203Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T12:11:37.484Z] ---> Running in 0bc5c09f829a [2021-03-17T12:11:38.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.101s coverage: 10.5% of statements [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T12:11:38.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.196s coverage: 32.5% of statements [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T12:11:38.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.244s coverage: 57.3% of statements [2021-03-17T12:11:38.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.302s coverage: 6.6% of statements [2021-03-17T12:11:38.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements [2021-03-17T12:11:38.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T12:11:38.452Z] GO111MODULE=on go vet ./... [2021-03-17T12:11:38.542Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T12:11:39.538Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T12:11:40.206Z] OK: 166 MiB in 39 packages [2021-03-17T12:11:40.810Z] Removing intermediate container 0bc5c09f829a [2021-03-17T12:11:40.810Z] ---> 0f0701a6f173 [2021-03-17T12:11:40.810Z] Step 8/24 : COPY . . [2021-03-17T12:11:41.821Z] ---> 5af9e38eb3f1 [2021-03-17T12:11:41.821Z] Step 9/24 : RUN ${MAKE} [2021-03-17T12:11:41.821Z] ---> Running in e3adbde8ef7a [2021-03-17T12:11:43.288Z] 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-17T12:12:10.669Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T12:12:10.848Z] gofmt -l . [2021-03-17T12:12:10.848Z] [ "`gofmt -l .`" = "" ] [2021-03-17T12:12:10.848Z] ./bin/test-attribution-txt.sh [2021-03-17T12:12:11.834Z] ./bin/test-go-mod-tidy.sh [2021-03-17T12:12:12.152Z] Removing intermediate container e3adbde8ef7a [2021-03-17T12:12:12.152Z] ---> e32f81627ebe [2021-03-17T12:12:12.152Z] Step 10/24 : FROM scratch [2021-03-17T12:12:12.152Z] ---> [2021-03-17T12:12:12.152Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:12:12.152Z] ---> Running in 0b976766ed4c [2021-03-17T12:12:12.446Z] Removing intermediate container 0b976766ed4c [2021-03-17T12:12:12.446Z] ---> e405eb8b6692 [2021-03-17T12:12:12.446Z] Step 12/24 : ENV APP_PORT=49990 [Pipeline] } [2021-03-17T12:12:12.456Z] $ docker stop --time=1 b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 [2021-03-17T12:12:12.766Z] ---> Running in 3d9c26d08b7a [2021-03-17T12:12:13.046Z] Removing intermediate container 3d9c26d08b7a [2021-03-17T12:12:13.046Z] ---> d076fd151ac1 [2021-03-17T12:12:13.046Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T12:12:13.046Z] ---> Running in 53a442463609 [2021-03-17T12:12:13.336Z] Removing intermediate container 53a442463609 [2021-03-17T12:12:13.336Z] ---> 791ef2925859 [2021-03-17T12:12:13.336Z] Step 14/24 : WORKDIR / [2021-03-17T12:12:13.336Z] ---> Running in a47e9c61049f [2021-03-17T12:12:13.970Z] Removing intermediate container a47e9c61049f [2021-03-17T12:12:13.970Z] ---> b5a2cec97089 [2021-03-17T12:12:13.970Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T12:12:14.724Z] $ docker rm -f b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 [2021-03-17T12:12:14.997Z] ---> c967eb55ddfb [2021-03-17T12:12:14.997Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:12:15.631Z] ---> 84a7c8ca6588 [2021-03-17T12:12:15.632Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T12:12:15.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T12:12:15.812Z] Warning: overwriting stash ‘coverage-report’ [2021-03-17T12:12:15.913Z] ---> 76a1d79481e1 [2021-03-17T12:12:15.913Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T12:12:16.510Z] ---> 1100ded6dc5c [2021-03-17T12:12:16.510Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T12:12:16.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:12:17.158Z] ---> eaa71a81ef8e [2021-03-17T12:12:17.158Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T12:12:17.158Z] ---> Running in a18541f7e867 [2021-03-17T12:12:17.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T12:12:17.709Z] + ls -al . [2021-03-17T12:12:17.709Z] total 220 [2021-03-17T12:12:17.709Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 12:12 . [2021-03-17T12:12:17.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 .. [2021-03-17T12:12:17.709Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 12:08 .dockerignore [2021-03-17T12:12:17.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 12:08 .git [2021-03-17T12:12:17.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:08 .github [2021-03-17T12:12:17.709Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 12:08 .gitignore [2021-03-17T12:12:17.709Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 12:08 Dockerfile.build [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 12:08 Jenkinsfile [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 12:08 LICENSE [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 12:08 Makefile [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 12:08 README.md [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 12:08 RELEASE-NOTES.txt [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 12:05 VERSION [2021-03-17T12:12:17.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:08 bin [2021-03-17T12:12:17.710Z] -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 12:11 coverage.out [2021-03-17T12:12:17.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 example [2021-03-17T12:12:17.710Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 17 12:12 go.mod [2021-03-17T12:12:17.710Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 12:12 go.sum [2021-03-17T12:12:17.710Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 12:08 internal [2021-03-17T12:12:17.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 openapi [2021-03-17T12:12:17.710Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 12:08 pkg [2021-03-17T12:12:17.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 snap [2021-03-17T12:12:17.710Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 12:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:12:17.763Z] Removing intermediate container a18541f7e867 [2021-03-17T12:12:17.763Z] ---> 99898c4a5695 [2021-03-17T12:12:17.763Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T12:12:17.763Z] ---> Running in 260cfc37b28e [2021-03-17T12:12:18.048Z] + 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=f3a93df600ccc61f0532ab2a2bef02090713baf8 --label arch=arm64 --label version=0.0.0 . [2021-03-17T12:12:18.318Z] Sending build context to Docker daemon 2.393MB [2021-03-17T12:12:18.392Z] Removing intermediate container 260cfc37b28e [2021-03-17T12:12:18.392Z] ---> 965c5b298217 [2021-03-17T12:12:18.392Z] Step 22/24 : LABEL arch=amd64 [2021-03-17T12:12:18.392Z] ---> Running in fc8fa81bf5f3 [2021-03-17T12:12:18.588Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:12:18.588Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T12:12:18.588Z] ---> 9053b2e62f5b [2021-03-17T12:12:18.588Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T12:12:18.658Z] Removing intermediate container fc8fa81bf5f3 [2021-03-17T12:12:18.658Z] ---> d8edbe98694e [2021-03-17T12:12:18.658Z] Step 23/24 : LABEL git_sha=f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:12:18.866Z] ---> Running in 52f7f393f227 [2021-03-17T12:12:18.941Z] ---> Running in 7c4cf431fbbb [2021-03-17T12:12:18.941Z] Removing intermediate container 7c4cf431fbbb [2021-03-17T12:12:18.941Z] ---> 53825988493d [2021-03-17T12:12:18.941Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T12:12:19.147Z] Removing intermediate container 52f7f393f227 [2021-03-17T12:12:19.147Z] ---> 61d994cef111 [2021-03-17T12:12:19.147Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T12:12:19.255Z] ---> Running in ec5d7ac4b4f0 [2021-03-17T12:12:19.419Z] ---> Running in 1d480077a067 [2021-03-17T12:12:19.540Z] Removing intermediate container ec5d7ac4b4f0 [2021-03-17T12:12:19.540Z] ---> 88cb8849ddb5 [2021-03-17T12:12:19.540Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T12:12:19.540Z] Successfully built 88cb8849ddb5 [2021-03-17T12:12:19.540Z] 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 [2021-03-17T12:12:20.020Z] Removing intermediate container 1d480077a067 [2021-03-17T12:12:20.021Z] ---> d164fc27dadf [2021-03-17T12:12:20.021Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:12:20.021Z] ---> Running in 3d091b4d4365 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:12:20.293Z] Removing intermediate container 3d091b4d4365 [2021-03-17T12:12:20.293Z] ---> c81b94d8a8d9 [2021-03-17T12:12:20.293Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:12:20.488Z] ---> job-cost.sh [2021-03-17T12:12:20.488Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uCX3 [2021-03-17T12:12:20.566Z] ---> Running in 25dbad472012 [2021-03-17T12:12:22.545Z] Removing intermediate container 25dbad472012 [2021-03-17T12:12:22.545Z] ---> a686c1dca1fc [2021-03-17T12:12:22.545Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T12:12:22.545Z] ---> Running in 3fd6f94ec84f [2021-03-17T12:12:23.553Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T12:12:24.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T12:12:25.127Z] OK: 142 MiB in 39 packages [2021-03-17T12:12:26.104Z] Removing intermediate container 3fd6f94ec84f [2021-03-17T12:12:26.104Z] ---> cdf5b72b0565 [2021-03-17T12:12:26.104Z] Step 8/24 : COPY . . [2021-03-17T12:12:27.532Z] ---> 1a20705a8a7c [2021-03-17T12:12:27.532Z] Step 9/24 : RUN ${MAKE} [2021-03-17T12:12:27.532Z] ---> Running in 19693de3ec8a [2021-03-17T12:12:28.510Z] 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-17T12:12:47.400Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T12:12:55.334Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T12:12:56.309Z] Removing intermediate container 19693de3ec8a [2021-03-17T12:12:56.309Z] ---> 283e65b600ce [2021-03-17T12:12:56.309Z] Step 10/24 : FROM scratch [2021-03-17T12:12:56.309Z] ---> [2021-03-17T12:12:56.309Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:12:56.309Z] ---> Running in 16ea999900c3 [2021-03-17T12:12:56.907Z] Removing intermediate container 16ea999900c3 [2021-03-17T12:12:56.907Z] ---> 59882fbb1ae0 [2021-03-17T12:12:56.907Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T12:12:56.907Z] ---> Running in d5cc4efdcb17 [2021-03-17T12:12:57.182Z] Removing intermediate container d5cc4efdcb17 [2021-03-17T12:12:57.182Z] ---> e58d42fa2887 [2021-03-17T12:12:57.182Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T12:12:57.456Z] ---> Running in 7acc04d2df81 [2021-03-17T12:12:57.727Z] Removing intermediate container 7acc04d2df81 [2021-03-17T12:12:57.727Z] ---> 05b591f21687 [2021-03-17T12:12:57.727Z] Step 14/24 : WORKDIR / [2021-03-17T12:12:58.004Z] ---> Running in 892fbbec757c [2021-03-17T12:12:58.278Z] Removing intermediate container 892fbbec757c [2021-03-17T12:12:58.278Z] ---> db6e1e008c77 [2021-03-17T12:12:58.278Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T12:12:59.743Z] ---> 4c51a42ba39c [2021-03-17T12:12:59.743Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T12:13:00.338Z] ---> 959c6114bc97 [2021-03-17T12:13:00.338Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T12:13:00.934Z] ---> 7ce86fd5830a [2021-03-17T12:13:00.934Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T12:13:01.919Z] ---> e4919f6b3979 [2021-03-17T12:13:01.919Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T12:13:02.514Z] ---> 519e4c529967 [2021-03-17T12:13:02.514Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T12:13:02.786Z] ---> Running in ca748bcc69af [2021-03-17T12:13:03.056Z] Removing intermediate container ca748bcc69af [2021-03-17T12:13:03.056Z] ---> a168d653c75d [2021-03-17T12:13:03.056Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T12:13:03.328Z] ---> Running in be99c104cda2 [2021-03-17T12:13:03.601Z] Removing intermediate container be99c104cda2 [2021-03-17T12:13:03.601Z] ---> 103d3308e479 [2021-03-17T12:13:03.601Z] Step 22/24 : LABEL arch=arm64 [2021-03-17T12:13:03.876Z] ---> Running in 154d36b035dc [2021-03-17T12:13:04.469Z] Removing intermediate container 154d36b035dc [2021-03-17T12:13:04.469Z] ---> b7111503617a [2021-03-17T12:13:04.469Z] Step 23/24 : LABEL git_sha=f3a93df600ccc61f0532ab2a2bef02090713baf8 [2021-03-17T12:13:04.469Z] ---> Running in 3361c55cea78 [2021-03-17T12:13:04.742Z] Removing intermediate container 3361c55cea78 [2021-03-17T12:13:04.742Z] ---> f2e5bb53c2b9 [2021-03-17T12:13:04.742Z] Step 24/24 : LABEL version=0.0.0 [2021-03-17T12:13:05.015Z] ---> Running in ea1390f379e5 [2021-03-17T12:13:05.288Z] Removing intermediate container ea1390f379e5 [2021-03-17T12:13:05.288Z] ---> 1a420d0f1813 [2021-03-17T12:13:05.288Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T12:13:05.562Z] Successfully built 1a420d0f1813 [2021-03-17T12:13:05.562Z] 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-17T12:13:06.303Z] ---> job-cost.sh [2021-03-17T12:13:06.303Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c2v8 [2021-03-17T12:13:26.519Z] lf-activate-venv(): INFO: Adding /tmp/venv-uCX3/bin to PATH [2021-03-17T12:13:26.519Z] INFO: No Stack... [2021-03-17T12:13:26.519Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T12:13:26.519Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T12:13:26.942Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-17T12:13:26.942Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T12:13:27.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [2021-03-17T12:13:27.129Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] did not exist. Created. [2021-03-17T12:13:27.129Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T12:13:27.592Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-17T12:13:27.786Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T12:13:27.797Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-17T12:13:45.243Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T12:15:06.965Z] lf-activate-venv(): INFO: Adding /tmp/venv-c2v8/bin to PATH [2021-03-17T12:15:06.965Z] INFO: No Stack... [2021-03-17T12:15:07.935Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-17T12:15:08.525Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T12:15:08.872Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-17T12:15:08.872Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T12:15:08.978Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [2021-03-17T12:15:08.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] did not exist. Created. [2021-03-17T12:15:08.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T12:15:09.422Z] /w/workspace/device-sdk-go/2@tmp/durable-489ad469/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-489ad469/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-17T12:15:09.767Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-17T12:15:09.788Z] Warning: overwriting stash ‘stack-cost’ [2021-03-17T12:15:09.942Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T12:15:09.954Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-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-17T12:15:11.365Z] provisioning config files... [2021-03-17T12:15:11.377Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config7110874256337876146tmp [Pipeline] { [Pipeline] sh [2021-03-17T12:15:11.762Z] + set +x [2021-03-17T12:15:11.763Z] + curl -s https://codecov.io/bash [2021-03-17T12:15:11.763Z] + bash -s -- [2021-03-17T12:15:12.030Z] [2021-03-17T12:15:12.030Z] _____ _ [2021-03-17T12:15:12.030Z] / ____| | | [2021-03-17T12:15:12.030Z] | | ___ __| | ___ ___ _____ __ [2021-03-17T12:15:12.030Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-17T12:15:12.030Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-17T12:15:12.030Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-17T12:15:12.030Z] Bash-20210309-2b87ace [2021-03-17T12:15:12.030Z] [2021-03-17T12:15:12.030Z] [2021-03-17T12:15:12.030Z] ==> git version 2.24.3 found [2021-03-17T12:15:12.030Z] ==> 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-17T12:15:12.030Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-17T12:15:12.030Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-17T12:15:12.030Z] ==> Jenkins CI detected. [2021-03-17T12:15:12.030Z] project root: . [2021-03-17T12:15:12.030Z] --> token set from env [2021-03-17T12:15:12.030Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-17T12:15:12.030Z] ==> Running gcov in . (disable via -X gcov) [2021-03-17T12:15:12.030Z] ==> Python coveragepy not found [2021-03-17T12:15:12.030Z] ==> Searching for coverage reports in: [2021-03-17T12:15:12.030Z] + . [2021-03-17T12:15:12.030Z] -> Found 1 reports [2021-03-17T12:15:12.030Z] ==> Detecting git/mercurial file structure [2021-03-17T12:15:12.030Z] ==> Reading reports [2021-03-17T12:15:12.030Z] + ./coverage.out bytes=100014 [2021-03-17T12:15:12.030Z] ==> Appending adjustments [2021-03-17T12:15:12.030Z] https://docs.codecov.io/docs/fixing-reports [2021-03-17T12:15:12.293Z] + Found adjustments [2021-03-17T12:15:12.293Z] ==> Gzipping contents [2021-03-17T12:15:12.293Z] 16K /tmp/codecov.rpdNAk.gz [2021-03-17T12:15:12.293Z] ==> Uploading reports [2021-03-17T12:15:12.293Z] url: https://codecov.io [2021-03-17T12:15:12.293Z] query: branch=PR-821&commit=f3a93df600ccc61f0532ab2a2bef02090713baf8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= [2021-03-17T12:15:12.293Z] -> Pinging Codecov [2021-03-17T12:15:12.293Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-821&commit=f3a93df600ccc61f0532ab2a2bef02090713baf8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= [2021-03-17T12:15:13.245Z] -> Uploading to [2021-03-17T12:15:13.245Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/f3a93df600ccc61f0532ab2a2bef02090713baf8/989be203-8996-4f63-b919-823b4b56a771.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T121512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ff0cbef4343a18c684f552888c69a2a5bc726e2711f9bfbc4a62913ba97716a [2021-03-17T12:15:13.245Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T12:15:13.245Z] Dload Upload Total Spent Left Speed [2021-03-17T12:15:13.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13476 0 0 100 13476 0 30072 --:--:-- --:--:-- --:--:-- 30147 [2021-03-17T12:15:13.508Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] } [2021-03-17T12:15:13.519Z] 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-17T12:15:15.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:15.963Z] ---> package-listing.sh [2021-03-17T12:15:15.963Z] ++ facter osfamily [2021-03-17T12:15:15.963Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-17T12:15:15.963Z] + OS_FAMILY=redhat [2021-03-17T12:15:15.963Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-821 [2021-03-17T12:15:15.963Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-17T12:15:15.963Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-17T12:15:15.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-17T12:15:15.963Z] + PACKAGES=/tmp/packages_start.txt [2021-03-17T12:15:15.963Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' [2021-03-17T12:15:15.963Z] + PACKAGES=/tmp/packages_end.txt [2021-03-17T12:15:15.963Z] + case "${OS_FAMILY}" in [2021-03-17T12:15:15.963Z] + rpm -qa [2021-03-17T12:15:15.963Z] + sort [2021-03-17T12:15:21.287Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-17T12:15:21.287Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-17T12:15:21.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-17T12:15:21.287Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' [2021-03-17T12:15:21.287Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [2021-03-17T12:15:21.287Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [Pipeline] echo [2021-03-17T12:15:21.303Z] 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-821/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-17T12:15:21.600Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:15:21.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:15:21.913Z] [2021-03-17T12:15:21.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:15:22.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:15:22.309Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-17T12:15:22.309Z] df20fa9351a1: Pulling fs layer [2021-03-17T12:15:22.309Z] 36b3adc4ff6f: Pulling fs layer [2021-03-17T12:15:22.309Z] 8ad3a11d3b57: Pulling fs layer [2021-03-17T12:15:22.309Z] 46f8f816bc3b: Pulling fs layer [2021-03-17T12:15:22.309Z] 93b61091891f: Pulling fs layer [2021-03-17T12:15:22.309Z] 93b9cdb0e59b: Pulling fs layer [2021-03-17T12:15:22.309Z] 5e14af77c1be: Pulling fs layer [2021-03-17T12:15:22.309Z] 01666e4c0597: Pulling fs layer [2021-03-17T12:15:22.309Z] aa168da1d23b: Pulling fs layer [2021-03-17T12:15:22.309Z] 93b61091891f: Waiting [2021-03-17T12:15:22.309Z] 93b9cdb0e59b: Waiting [2021-03-17T12:15:22.309Z] 5e14af77c1be: Waiting [2021-03-17T12:15:22.309Z] 01666e4c0597: Waiting [2021-03-17T12:15:22.309Z] aa168da1d23b: Waiting [2021-03-17T12:15:22.309Z] 46f8f816bc3b: Waiting [2021-03-17T12:15:22.309Z] 36b3adc4ff6f: Verifying Checksum [2021-03-17T12:15:22.309Z] 36b3adc4ff6f: Download complete [2021-03-17T12:15:22.309Z] 46f8f816bc3b: Verifying Checksum [2021-03-17T12:15:22.309Z] 46f8f816bc3b: Download complete [2021-03-17T12:15:22.575Z] df20fa9351a1: Verifying Checksum [2021-03-17T12:15:22.575Z] df20fa9351a1: Download complete [2021-03-17T12:15:22.575Z] 93b9cdb0e59b: Download complete [2021-03-17T12:15:22.575Z] 5e14af77c1be: Verifying Checksum [2021-03-17T12:15:22.575Z] 5e14af77c1be: Download complete [2021-03-17T12:15:22.575Z] 93b61091891f: Verifying Checksum [2021-03-17T12:15:22.575Z] 93b61091891f: Download complete [2021-03-17T12:15:22.575Z] 01666e4c0597: Verifying Checksum [2021-03-17T12:15:22.575Z] 01666e4c0597: Download complete [2021-03-17T12:15:22.575Z] 8ad3a11d3b57: Verifying Checksum [2021-03-17T12:15:22.575Z] 8ad3a11d3b57: Download complete [2021-03-17T12:15:22.856Z] df20fa9351a1: Pull complete [2021-03-17T12:15:23.125Z] 36b3adc4ff6f: Pull complete [2021-03-17T12:15:24.540Z] aa168da1d23b: Verifying Checksum [2021-03-17T12:15:24.540Z] aa168da1d23b: Download complete [2021-03-17T12:15:24.803Z] 8ad3a11d3b57: Pull complete [2021-03-17T12:15:25.066Z] 46f8f816bc3b: Pull complete [2021-03-17T12:15:25.330Z] 93b61091891f: Pull complete [2021-03-17T12:15:25.594Z] 93b9cdb0e59b: Pull complete [2021-03-17T12:15:25.595Z] 5e14af77c1be: Pull complete [2021-03-17T12:15:25.866Z] 01666e4c0597: Pull complete [2021-03-17T12:15:34.052Z] aa168da1d23b: Pull complete [2021-03-17T12:15:34.052Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-17T12:15:34.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:15:34.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-17T12:15:34.280Z] prd-centos7-docker-4c-2g-30156 does not seem to be running inside a container [2021-03-17T12:15:34.330Z] $ 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-821/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-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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-17T12:15:38.474Z] $ docker top 6db8a835974c83c3ab5ddc8f09ef999590a1e7f0cb1e454ba51c722d8b84896d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:15:39.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-17T12:15:39.331Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-17T12:15:39.633Z] + ls /var/log/sa-host [2021-03-17T12:15:39.633Z] + sadf -c /var/log/sa-host/sa17 [2021-03-17T12:15:39.633Z] file_magic: OK [2021-03-17T12:15:39.633Z] HZ: Using current value: 100 [2021-03-17T12:15:39.633Z] file_header: OK [2021-03-17T12:15:39.633Z] 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-17T12:15:39.633Z] Statistics: [2021-03-17T12:15:39.633Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-17T12:15:39.633Z] File successfully converted to sysstat format version 12.2.1 [2021-03-17T12:15:39.633Z] + sadf -c /var/log/sa-host/sa23 [2021-03-17T12:15:39.633Z] file_magic: OK [2021-03-17T12:15:39.633Z] HZ: Using current value: 100 [2021-03-17T12:15:39.633Z] file_header: OK [2021-03-17T12:15:39.633Z] 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-17T12:15:39.633Z] Statistics: [2021-03-17T12:15:39.633Z] Hnuu...uuuununununu... [2021-03-17T12:15:39.633Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-17T12:15:39.845Z] provisioning config files... [2021-03-17T12:15:39.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config3140750207813923939tmp [Pipeline] { [Pipeline] echo [2021-03-17T12:15:39.934Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:40.233Z] ---> create-netrc.sh [Pipeline] } [2021-03-17T12:15:40.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-17T12:15:40.480Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:40.778Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-17T12:15:40.790Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:41.088Z] ---> sudo-logs.sh [2021-03-17T12:15:41.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-17T12:15:41.163Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:41.487Z] ---> job-cost.sh [2021-03-17T12:15:41.488Z] lf-activate-venv: SKIPPING [2021-03-17T12:15:41.488Z] DEBUG: total: 0.20999999344348907 [2021-03-17T12:15:41.488Z] INFO: Retrieving Stack Cost... [2021-03-17T12:15:42.878Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T12:15:43.140Z] INFO: Archiving Costs [Pipeline] echo [2021-03-17T12:15:43.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:15:43.450Z] ---> logs-deploy.sh [2021-03-17T12:15:43.450Z] lf-activate-venv: SKIPPING [2021-03-17T12:15:43.450Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-821/2 [2021-03-17T12:15:43.450Z] INFO: archiving workspace using pattern(s): [2021-03-17T12:15:45.370Z] Archives upload complete. [2021-03-17T12:15:45.370Z] INFO: archiving logs to Nexus