Pull request #813 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0b279d30dbc0e47c366b42958131ac05b480ee12+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (401f2bee831954897b00aedbb701b8c26ee88b98) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29609 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-813 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 0b279d30dbc0e47c366b42958131ac05b480ee12 Merge succeeded, producing 0b279d30dbc0e47c366b42958131ac05b480ee12 Checking out Revision 0b279d30dbc0e47c366b42958131ac05b480ee12 (PR-813) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 Commit message: "feat: validate set parameter against maximum/minimum" First time build. Skipping changelog. > git rev-list --no-walk 77c5e07f29da27b979236f63adf2147f5ae84054 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-12T06:13:46.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-12T06:13:46.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-12T06:13:46.904Z] ========================================================= [2021-03-12T06:13:46.904Z] EdgeX Global Pipelines Version Info [2021-03-12T06:13:46.904Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:13:48.361Z] ------------------- [2021-03-12T06:13:48.361Z] stable info: [2021-03-12T06:13:48.361Z] ------------------- [2021-03-12T06:13:48.361Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-12T06:13:48.361Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T06:13:48.361Z] Message: update stable to v1.0.184 [2021-03-12T06:13:49.306Z] ------------------- [2021-03-12T06:13:49.306Z] experimental info: [2021-03-12T06:13:49.306Z] ------------------- [2021-03-12T06:13:49.306Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-12T06:13:49.306Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T06:13:49.306Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-12T06:13:49.653Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-12T06:13:49.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-12T06:13:49.852Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-12T06:13:49.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-12T06:13:50.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-12T06:13:50.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-12T06:13:50.321Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-12T06:13:50.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-12T06:13:50.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-12T06:13:50.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-12T06:13:50.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-12T06:13:51.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-12T06:13:51.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-12T06:13:51.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-12T06:13:51.365Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-12T06:13:51.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T06:13:51.629Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T06:13:51.733Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T06:13:51.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-12T06:13:51.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-12T06:13:52.055Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-12T06:13:52.153Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-12T06:13:52.248Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-12T06:13:52.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-12T06:13:52.457Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-12T06:13:52.566Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-12T06:13:52.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-813 [Pipeline] echo [2021-03-12T06:13:52.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-813 [Pipeline] echo [2021-03-12T06:13:52.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-813 [Pipeline] echo [2021-03-12T06:13:53.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b279d30dbc0e47c366b42958131ac05b480ee12 [Pipeline] echo [2021-03-12T06:13:53.106Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b279d3 [Pipeline] echo [2021-03-12T06:13:53.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T06:13:53.425Z] provisioning config files... [2021-03-12T06:13:53.460Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config8465031062465815606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:13:53.827Z] ---> docker-login.sh [2021-03-12T06:13:53.827Z] nexus3.edgexfoundry.org:10001 [2021-03-12T06:13:54.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:13:54.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:13:54.364Z] Configure a credential helper to remove this warning. See [2021-03-12T06:13:54.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:13:54.364Z] [2021-03-12T06:13:54.364Z] Login Succeeded [2021-03-12T06:13:54.364Z] nexus3.edgexfoundry.org:10002 [2021-03-12T06:13:54.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:13:54.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:13:54.364Z] Configure a credential helper to remove this warning. See [2021-03-12T06:13:54.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:13:54.364Z] [2021-03-12T06:13:54.364Z] Login Succeeded [2021-03-12T06:13:54.364Z] nexus3.edgexfoundry.org:10003 [2021-03-12T06:13:54.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:13:54.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:13:54.629Z] Configure a credential helper to remove this warning. See [2021-03-12T06:13:54.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:13:54.629Z] [2021-03-12T06:13:54.629Z] Login Succeeded [2021-03-12T06:13:54.629Z] nexus3.edgexfoundry.org:10004 [2021-03-12T06:13:54.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:13:54.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:13:54.891Z] Configure a credential helper to remove this warning. See [2021-03-12T06:13:54.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:13:54.891Z] [2021-03-12T06:13:54.891Z] Login Succeeded [2021-03-12T06:13:54.891Z] docker.io [2021-03-12T06:13:54.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:13:55.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:13:55.155Z] Configure a credential helper to remove this warning. See [2021-03-12T06:13:55.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:13:55.155Z] [2021-03-12T06:13:55.155Z] Login Succeeded [2021-03-12T06:13:55.155Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T06:13:55.165Z] 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-12T06:13:56.092Z] + git log --format=format:%s -1 0b279d30dbc0e47c366b42958131ac05b480ee12 [Pipeline] echo [2021-03-12T06:13:56.165Z] GIT_COMMIT: 0b279d30dbc0e47c366b42958131ac05b480ee12, Commit Message: feat: validate set parameter against maximum/minimum [Pipeline] echo [2021-03-12T06:13:56.218Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:13:56.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T06:13:56.949Z] [2021-03-12T06:13:56.949Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:13:57.335Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T06:13:57.335Z] latest: Pulling from edgex-devops/git-semver [2021-03-12T06:13:57.335Z] 31603596830f: Pulling fs layer [2021-03-12T06:13:57.335Z] 2a8b12db71e7: Pulling fs layer [2021-03-12T06:13:57.335Z] 6ca5941a6612: Pulling fs layer [2021-03-12T06:13:57.335Z] ecc8261a40a4: Pulling fs layer [2021-03-12T06:13:57.335Z] ecc8261a40a4: Waiting [2021-03-12T06:13:57.335Z] 2a8b12db71e7: Verifying Checksum [2021-03-12T06:13:57.335Z] 2a8b12db71e7: Download complete [2021-03-12T06:13:57.597Z] 31603596830f: Verifying Checksum [2021-03-12T06:13:57.597Z] 31603596830f: Download complete [2021-03-12T06:13:57.597Z] ecc8261a40a4: Verifying Checksum [2021-03-12T06:13:57.597Z] ecc8261a40a4: Download complete [2021-03-12T06:13:57.597Z] 6ca5941a6612: Verifying Checksum [2021-03-12T06:13:57.597Z] 6ca5941a6612: Download complete [2021-03-12T06:13:57.859Z] 31603596830f: Pull complete [2021-03-12T06:13:58.124Z] 2a8b12db71e7: Pull complete [2021-03-12T06:13:58.703Z] 6ca5941a6612: Pull complete [2021-03-12T06:13:59.281Z] ecc8261a40a4: Pull complete [2021-03-12T06:13:59.281Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-12T06:13:59.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T06:13:59.281Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-12T06:13:59.404Z] prd-centos7-docker-4c-2g-29609 does not seem to be running inside a container [2021-03-12T06:13:59.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-12T06:14:01.686Z] $ docker top dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-12T06:14:02.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T06:14:02.043Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T06:14:02.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T06:14:02.283Z] $ docker exec dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe ssh-agent [2021-03-12T06:14:02.468Z] SSH_AUTH_SOCK=/tmp/ssh-goqvMfjS4DeG/agent.12 [2021-03-12T06:14:02.468Z] SSH_AGENT_PID=17 [2021-03-12T06:14:02.482Z] Running ssh-add (command line suppressed) [2021-03-12T06:14:02.613Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_5621579871136391371.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_5621579871136391371.key) [2021-03-12T06:14:02.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T06:14:03.022Z] + git tag --points-at HEAD [Pipeline] } [2021-03-12T06:14:03.045Z] $ docker exec --env ******** --env ******** dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe ssh-agent -k [2021-03-12T06:14:03.165Z] unset SSH_AUTH_SOCK; [2021-03-12T06:14:03.165Z] unset SSH_AGENT_PID; [2021-03-12T06:14:03.165Z] echo Agent pid 17 killed; [2021-03-12T06:14:03.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-12T06:14:03.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T06:14:03.415Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T06:14:03.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T06:14:03.596Z] $ docker exec dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe ssh-agent [2021-03-12T06:14:03.763Z] SSH_AUTH_SOCK=/tmp/ssh-EWPHvdgXjQvo/agent.47 [2021-03-12T06:14:03.763Z] SSH_AGENT_PID=52 [2021-03-12T06:14:03.770Z] Running ssh-add (command line suppressed) [2021-03-12T06:14:03.892Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_827042316421089601.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_827042316421089601.key) [2021-03-12T06:14:03.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T06:14:04.288Z] + git semver init [2021-03-12T06:14:04.288Z] # -> Open(): unable to determine branch for HEAD [2021-03-12T06:14:04.288Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.git [2021-03-12T06:14:04.288Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-12T06:14:04.288Z] # $SEMVER_REMOTE_NAME = origin [2021-03-12T06:14:04.288Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-12T06:14:04.288Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-12T06:14:04.288Z] # $SEMVER_BRANCH = PR-813 [2021-03-12T06:14:04.288Z] # $SEMVER_TEMP = /tmp/semver-036288414 [2021-03-12T06:14:04.288Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-12T06:14:04.863Z] # '/tmp/semver-036288414' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver' [2021-03-12T06:14:04.863Z] # -> Force: false [2021-03-12T06:14:04.863Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver [Pipeline] } [2021-03-12T06:14:04.876Z] $ docker exec --env ******** --env ******** dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe ssh-agent -k [2021-03-12T06:14:05.000Z] unset SSH_AUTH_SOCK; [2021-03-12T06:14:05.000Z] unset SSH_AGENT_PID; [2021-03-12T06:14:05.000Z] echo Agent pid 52 killed; [2021-03-12T06:14:05.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-12T06:14:05.549Z] + git semver [Pipeline] } [2021-03-12T06:14:05.569Z] $ docker stop --time=1 dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe [2021-03-12T06:14:06.965Z] $ docker rm -f dc4a839ed19c3e5e2b2112db9c7d32d28fe776aa9f9ae64d30dff18089c040fe [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T06:14:07.484Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-12T06:14:08.191Z] Stashed 1 file(s) [Pipeline] echo [2021-03-12T06:14:08.194Z] [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-12T06:14:23.685Z] Still waiting to schedule task [2021-03-12T06:14:23.685Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29609’ [2021-03-12T06:14:23.688Z] Still waiting to schedule task [2021-03-12T06:14:23.688Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-12T06:16:09.858Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29610 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws [2021-03-12T06:16:09.920Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-12T06:16:14.936Z] using credential edgex-jenkins-ssh [2021-03-12T06:16:15.012Z] Cloning the remote Git repository [2021-03-12T06:16:15.078Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:16:15.184Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-12T06:16:15.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:16:15.272Z] > git --version # timeout=10 [2021-03-12T06:16:15.295Z] > git --version # 'git version 2.17.1' [2021-03-12T06:16:15.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:16:15.371Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T06:16:17.096Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:16:17.317Z] Merge succeeded, producing 0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:16:17.317Z] Checking out Revision 0b279d30dbc0e47c366b42958131ac05b480ee12 (PR-813) [2021-03-12T06:16:16.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T06:16:16.430Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T06:16:16.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T06:16:16.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:16:16.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:16:16.521Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T06:16:17.110Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T06:16:17.131Z] > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [2021-03-12T06:16:17.230Z] > git remote # timeout=10 [2021-03-12T06:16:17.249Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T06:16:17.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:16:17.276Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T06:16:17.298Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T06:16:17.319Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T06:16:17.339Z] > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [2021-03-12T06:16:21.736Z] Commit message: "feat: validate set parameter against maximum/minimum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T06:16:23.523Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-12T06:16:23.938Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T06:16:24.286Z] + sudo service docker restart [2021-03-12T06:16:24.286Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T06:16:26.426Z] provisioning config files... [2021-03-12T06:16:26.479Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7802758860861290481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:16:26.898Z] ---> docker-login.sh [2021-03-12T06:16:26.898Z] nexus3.edgexfoundry.org:10001 [2021-03-12T06:16:27.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:16:28.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:16:28.152Z] Configure a credential helper to remove this warning. See [2021-03-12T06:16:28.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:16:28.152Z] [2021-03-12T06:16:28.152Z] Login Succeeded [2021-03-12T06:16:28.152Z] nexus3.edgexfoundry.org:10002 [2021-03-12T06:16:28.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:16:28.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:16:28.749Z] Configure a credential helper to remove this warning. See [2021-03-12T06:16:28.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:16:28.749Z] [2021-03-12T06:16:28.749Z] Login Succeeded [2021-03-12T06:16:28.749Z] nexus3.edgexfoundry.org:10003 [2021-03-12T06:16:29.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:16:29.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:16:29.299Z] Configure a credential helper to remove this warning. See [2021-03-12T06:16:29.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:16:29.299Z] [2021-03-12T06:16:29.299Z] Login Succeeded [2021-03-12T06:16:29.299Z] nexus3.edgexfoundry.org:10004 [2021-03-12T06:16:29.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:16:29.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:16:29.848Z] Configure a credential helper to remove this warning. See [2021-03-12T06:16:29.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:16:29.848Z] [2021-03-12T06:16:29.848Z] Login Succeeded [2021-03-12T06:16:29.848Z] docker.io [2021-03-12T06:16:30.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:16:30.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:16:30.726Z] Configure a credential helper to remove this warning. See [2021-03-12T06:16:30.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:16:30.726Z] [2021-03-12T06:16:30.726Z] Login Succeeded [2021-03-12T06:16:30.726Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T06:16:30.743Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T06:16:31.285Z] ========================================================= [2021-03-12T06:16:31.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-12T06:16:31.285Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:16:31.670Z] + 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-12T06:16:32.265Z] Sending build context to Docker daemon 2.284MB [2021-03-12T06:16:32.265Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T06:16:32.265Z] Step 2/8 : FROM ${BASE} [2021-03-12T06:16:32.265Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-12T06:16:32.265Z] 5f621e34cdf4: Pulling fs layer [2021-03-12T06:16:32.265Z] a4357932f1b6: Pulling fs layer [2021-03-12T06:16:32.265Z] 18c013af1878: Pulling fs layer [2021-03-12T06:16:32.265Z] 00ac8860ef70: Pulling fs layer [2021-03-12T06:16:32.265Z] 63d7cb157983: Pulling fs layer [2021-03-12T06:16:32.265Z] b116817d02f9: Pulling fs layer [2021-03-12T06:16:32.265Z] 745a02a5169b: Pulling fs layer [2021-03-12T06:16:32.265Z] 00ac8860ef70: Waiting [2021-03-12T06:16:32.265Z] 63d7cb157983: Waiting [2021-03-12T06:16:32.265Z] 745a02a5169b: Waiting [2021-03-12T06:16:32.265Z] b116817d02f9: Waiting [2021-03-12T06:16:32.265Z] 18c013af1878: Verifying Checksum [2021-03-12T06:16:32.265Z] 18c013af1878: Download complete [2021-03-12T06:16:32.265Z] a4357932f1b6: Download complete [2021-03-12T06:16:32.265Z] 63d7cb157983: Verifying Checksum [2021-03-12T06:16:32.265Z] 63d7cb157983: Download complete [2021-03-12T06:16:33.248Z] b116817d02f9: Verifying Checksum [2021-03-12T06:16:33.248Z] b116817d02f9: Download complete [2021-03-12T06:16:33.248Z] 5f621e34cdf4: Download complete [2021-03-12T06:16:33.849Z] 5f621e34cdf4: Pull complete [2021-03-12T06:16:34.449Z] a4357932f1b6: Pull complete [2021-03-12T06:16:34.744Z] 18c013af1878: Pull complete [2021-03-12T06:16:35.730Z] 745a02a5169b: Verifying Checksum [2021-03-12T06:16:35.730Z] 745a02a5169b: Download complete [2021-03-12T06:16:36.707Z] 00ac8860ef70: Download complete [2021-03-12T06:16:46.882Z] 00ac8860ef70: Pull complete [2021-03-12T06:16:47.156Z] 63d7cb157983: Pull complete [2021-03-12T06:16:47.432Z] b116817d02f9: Pull complete [2021-03-12T06:16:50.825Z] 745a02a5169b: Pull complete [2021-03-12T06:16:50.826Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-12T06:16:50.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-12T06:16:50.826Z] ---> b7e6874047d6 [2021-03-12T06:16:50.826Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:16:54.216Z] ---> Running in 50f967085586 [2021-03-12T06:16:54.216Z] Removing intermediate container 50f967085586 [2021-03-12T06:16:54.216Z] ---> 6d7ee5d24372 [2021-03-12T06:16:54.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T06:16:54.216Z] ---> Running in c7b6986d23e9 [2021-03-12T06:16:56.844Z] Removing intermediate container c7b6986d23e9 [2021-03-12T06:16:56.844Z] ---> d4702ee3d899 [2021-03-12T06:16:56.844Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T06:16:56.844Z] ---> Running in dabe31e76023 [2021-03-12T06:16:57.822Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T06:16:58.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-12T06:16:59.388Z] OK: 142 MiB in 39 packages [2021-03-12T06:17:00.372Z] Removing intermediate container dabe31e76023 [2021-03-12T06:17:00.372Z] ---> d3c5dd3ab67a [2021-03-12T06:17:00.372Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-12T06:17:00.644Z] ---> Running in 4569c13e2156 [2021-03-12T06:17:01.237Z] Removing intermediate container 4569c13e2156 [2021-03-12T06:17:01.238Z] ---> 3564811d6183 [2021-03-12T06:17:01.238Z] Step 7/8 : COPY . . [2021-03-12T06:17:02.227Z] ---> 2386d5d98e02 [2021-03-12T06:17:02.227Z] Step 8/8 : RUN go mod download [2021-03-12T06:17:02.502Z] ---> Running in 072f5a202ca8 [2021-03-12T06:17:06.781Z] Running on prd-centos7-docker-4c-2g-29611 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws [2021-03-12T06:17:06.841Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-12T06:17:09.266Z] using credential edgex-jenkins-ssh [2021-03-12T06:17:09.324Z] Cloning the remote Git repository [2021-03-12T06:17:09.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:17:09.188Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-12T06:17:09.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:17:09.299Z] > git --version # timeout=10 [2021-03-12T06:17:09.313Z] > git --version # 'git version 2.24.3' [2021-03-12T06:17:09.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:17:09.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T06:17:11.032Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:17:11.140Z] Merge succeeded, producing 0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:17:11.141Z] Checking out Revision 0b279d30dbc0e47c366b42958131ac05b480ee12 (PR-813) [2021-03-12T06:17:10.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T06:17:10.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T06:17:10.236Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T06:17:10.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T06:17:10.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:17:10.255Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T06:17:10.848Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T06:17:10.860Z] > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [2021-03-12T06:17:10.914Z] > git remote # timeout=10 [2021-03-12T06:17:10.922Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T06:17:10.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T06:17:10.932Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T06:17:10.943Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T06:17:10.962Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T06:17:10.986Z] > git checkout -f 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [2021-03-12T06:17:14.665Z] Commit message: "feat: validate set parameter against maximum/minimum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T06:17:15.849Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-12T06:17:16.186Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T06:17:16.486Z] + sudo service docker restart [2021-03-12T06:17:16.486Z] + true [2021-03-12T06:17:16.486Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T06:17:17.521Z] provisioning config files... [2021-03-12T06:17:17.554Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2058744018817536437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:17:17.942Z] ---> docker-login.sh [2021-03-12T06:17:17.942Z] nexus3.edgexfoundry.org:10001 [2021-03-12T06:17:18.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:17:18.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:17:18.471Z] Configure a credential helper to remove this warning. See [2021-03-12T06:17:18.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:17:18.471Z] [2021-03-12T06:17:18.471Z] Login Succeeded [2021-03-12T06:17:18.471Z] nexus3.edgexfoundry.org:10002 [2021-03-12T06:17:18.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:17:18.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:17:18.471Z] Configure a credential helper to remove this warning. See [2021-03-12T06:17:18.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:17:18.471Z] [2021-03-12T06:17:18.471Z] Login Succeeded [2021-03-12T06:17:18.733Z] nexus3.edgexfoundry.org:10003 [2021-03-12T06:17:18.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:17:18.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:17:18.733Z] Configure a credential helper to remove this warning. See [2021-03-12T06:17:18.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:17:18.733Z] [2021-03-12T06:17:18.733Z] Login Succeeded [2021-03-12T06:17:18.733Z] nexus3.edgexfoundry.org:10004 [2021-03-12T06:17:18.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:17:18.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:17:18.998Z] Configure a credential helper to remove this warning. See [2021-03-12T06:17:18.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:17:18.998Z] [2021-03-12T06:17:18.998Z] Login Succeeded [2021-03-12T06:17:18.998Z] docker.io [2021-03-12T06:17:18.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T06:17:19.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T06:17:19.576Z] Configure a credential helper to remove this warning. See [2021-03-12T06:17:19.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T06:17:19.576Z] [2021-03-12T06:17:19.576Z] Login Succeeded [2021-03-12T06:17:19.576Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T06:17:19.587Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T06:17:19.990Z] ========================================================= [2021-03-12T06:17:19.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-12T06:17:19.990Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:17:20.393Z] + 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-12T06:17:20.656Z] Sending build context to Docker daemon 2.278MB [2021-03-12T06:17:20.656Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T06:17:20.656Z] Step 2/8 : FROM ${BASE} [2021-03-12T06:17:20.656Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-12T06:17:20.656Z] 188c0c94c7c5: Pulling fs layer [2021-03-12T06:17:20.656Z] 0ef7d3d256c8: Pulling fs layer [2021-03-12T06:17:20.656Z] de9db76c5a1d: Pulling fs layer [2021-03-12T06:17:20.656Z] bca2f99d35d6: Pulling fs layer [2021-03-12T06:17:20.656Z] 93359f2a8cfa: Pulling fs layer [2021-03-12T06:17:20.657Z] 7c6f9722023f: Pulling fs layer [2021-03-12T06:17:20.657Z] a35cf1a2eb13: Pulling fs layer [2021-03-12T06:17:20.657Z] bca2f99d35d6: Waiting [2021-03-12T06:17:20.657Z] 93359f2a8cfa: Waiting [2021-03-12T06:17:20.657Z] 7c6f9722023f: Waiting [2021-03-12T06:17:20.657Z] a35cf1a2eb13: Waiting [2021-03-12T06:17:20.657Z] de9db76c5a1d: Verifying Checksum [2021-03-12T06:17:20.657Z] de9db76c5a1d: Download complete [2021-03-12T06:17:20.657Z] 0ef7d3d256c8: Verifying Checksum [2021-03-12T06:17:20.657Z] 0ef7d3d256c8: Download complete [2021-03-12T06:17:20.657Z] 93359f2a8cfa: Verifying Checksum [2021-03-12T06:17:20.657Z] 93359f2a8cfa: Download complete [2021-03-12T06:17:20.657Z] 188c0c94c7c5: Verifying Checksum [2021-03-12T06:17:20.657Z] 188c0c94c7c5: Download complete [2021-03-12T06:17:20.657Z] 7c6f9722023f: Verifying Checksum [2021-03-12T06:17:20.657Z] 7c6f9722023f: Download complete [2021-03-12T06:17:20.920Z] 188c0c94c7c5: Pull complete [2021-03-12T06:17:21.184Z] 0ef7d3d256c8: Pull complete [2021-03-12T06:17:21.184Z] de9db76c5a1d: Pull complete [2021-03-12T06:17:23.127Z] a35cf1a2eb13: Verifying Checksum [2021-03-12T06:17:23.127Z] a35cf1a2eb13: Download complete [2021-03-12T06:17:24.092Z] bca2f99d35d6: Verifying Checksum [2021-03-12T06:17:24.092Z] bca2f99d35d6: Download complete [2021-03-12T06:17:29.303Z] Removing intermediate container 072f5a202ca8 [2021-03-12T06:17:29.303Z] ---> ebe5a8b304db [2021-03-12T06:17:29.303Z] Successfully built ebe5a8b304db [2021-03-12T06:17:29.303Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:17:29.438Z] bca2f99d35d6: Pull complete [2021-03-12T06:17:29.645Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T06:17:29.646Z] . [Pipeline] withDockerContainer [2021-03-12T06:17:29.701Z] 93359f2a8cfa: Pull complete [2021-03-12T06:17:29.701Z] 7c6f9722023f: Pull complete [2021-03-12T06:17:29.901Z] prd-ubuntu18.04-docker-arm64-4c-16g-29610 does not seem to be running inside a container [2021-03-12T06:17:29.986Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-12T06:17:31.450Z] $ docker top 76c30549fc13e1d5b3c176031a1c89665fa231bdea53197ce30112ba45c9ba37 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T06:17:32.496Z] + go version [2021-03-12T06:17:32.496Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-12T06:17:32.519Z] $ docker stop --time=1 76c30549fc13e1d5b3c176031a1c89665fa231bdea53197ce30112ba45c9ba37 [2021-03-12T06:17:33.952Z] a35cf1a2eb13: Pull complete [2021-03-12T06:17:33.952Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-12T06:17:33.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-12T06:17:33.952Z] ---> a62c8e92a672 [2021-03-12T06:17:33.952Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:17:34.216Z] ---> Running in ab71f6decc85 [2021-03-12T06:17:34.481Z] Removing intermediate container ab71f6decc85 [2021-03-12T06:17:34.481Z] ---> dd3d0fc63bb1 [2021-03-12T06:17:34.482Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T06:17:34.482Z] ---> Running in cbcfe03f4c5e [2021-03-12T06:17:34.529Z] $ docker rm -f 76c30549fc13e1d5b3c176031a1c89665fa231bdea53197ce30112ba45c9ba37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:17:35.437Z] Removing intermediate container cbcfe03f4c5e [2021-03-12T06:17:35.437Z] ---> e09dd1d4b26d [2021-03-12T06:17:35.437Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T06:17:35.595Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T06:17:35.595Z] . [Pipeline] withDockerContainer [2021-03-12T06:17:35.701Z] ---> Running in 07584bffa994 [2021-03-12T06:17:35.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-29610 does not seem to be running inside a container [2021-03-12T06:17:35.940Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-12T06:17:36.280Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T06:17:36.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T06:17:37.491Z] OK: 166 MiB in 39 packages [2021-03-12T06:17:37.576Z] $ docker top 625e32958c44607305563698ebcf1e2e3e4ef827b5e936613dac2d9c5ef5850b -eo pid,comm [2021-03-12T06:17:37.756Z] Removing intermediate container 07584bffa994 [2021-03-12T06:17:37.756Z] ---> 963adba774fb [2021-03-12T06:17:37.756Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] { [Pipeline] sh [2021-03-12T06:17:38.024Z] ---> Running in 8f4f4e5c49e5 [2021-03-12T06:17:38.288Z] Removing intermediate container 8f4f4e5c49e5 [2021-03-12T06:17:38.288Z] ---> 646b588fab32 [2021-03-12T06:17:38.288Z] Step 7/8 : COPY . . [2021-03-12T06:17:38.610Z] + make test [2021-03-12T06:17:38.610Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T06:17:39.685Z] ---> cad1cef4b8f1 [2021-03-12T06:17:39.685Z] Step 8/8 : RUN go mod download [2021-03-12T06:17:39.685Z] ---> Running in d1d89ab7dfed [2021-03-12T06:18:00.796Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T06:18:01.724Z] Removing intermediate container d1d89ab7dfed [2021-03-12T06:18:01.724Z] ---> 1df23212d41c [2021-03-12T06:18:01.724Z] Successfully built 1df23212d41c [2021-03-12T06:18:01.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:18:02.047Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T06:18:02.047Z] . [Pipeline] withDockerContainer [2021-03-12T06:18:02.172Z] prd-centos7-docker-4c-2g-29611 does not seem to be running inside a container [2021-03-12T06:18:02.226Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T06:18:03.107Z] $ docker top c64cfbc01654ad4be8d10114ec1ddf49cce9ff66202722a82abada01edcd92c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T06:18:03.627Z] + go version [2021-03-12T06:18:03.627Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-12T06:18:03.644Z] $ docker stop --time=1 c64cfbc01654ad4be8d10114ec1ddf49cce9ff66202722a82abada01edcd92c9 [2021-03-12T06:18:05.043Z] $ docker rm -f c64cfbc01654ad4be8d10114ec1ddf49cce9ff66202722a82abada01edcd92c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:18:05.902Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T06:18:05.902Z] . [Pipeline] withDockerContainer [2021-03-12T06:18:06.015Z] prd-centos7-docker-4c-2g-29611 does not seem to be running inside a container [2021-03-12T06:18:06.067Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T06:18:06.781Z] $ docker top 2506b6ca7cebd3f07bbf9c3fe24e9785ae54fe3770c100f03d61d57ab6a92fc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T06:18:07.328Z] + make test [2021-03-12T06:18:07.328Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T06:18:15.562Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T06:18:30.600Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T06:18:30.600Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T06:18:30.600Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T06:18:33.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 25.5% of statements [2021-03-12T06:18:47.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T06:18:47.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T06:18:47.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T06:18:47.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 25.5% of statements [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 10.5% of statements [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 12.5% of statements [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.060s coverage: 84.8% of statements [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.2% of statements [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.081s coverage: 81.3% of statements [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 24.8% of statements [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.172s coverage: 6.4% of statements [2021-03-12T06:19:05.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-12T06:19:05.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T06:19:05.399Z] GO111MODULE=on go vet ./... [2021-03-12T06:19:13.667Z] gofmt -l . [2021-03-12T06:19:13.667Z] [ "`gofmt -l .`" = "" ] [2021-03-12T06:19:13.667Z] ./bin/test-attribution-txt.sh [2021-03-12T06:19:13.667Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T06:19:13.688Z] $ docker stop --time=1 2506b6ca7cebd3f07bbf9c3fe24e9785ae54fe3770c100f03d61d57ab6a92fc0 [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.114s coverage: 10.5% of statements [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.141s coverage: 84.8% of statements [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.275s coverage: 57.2% of statements [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 24.8% of statements [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.892s coverage: 6.4% of statements [2021-03-12T06:19:14.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 5.2% of statements [2021-03-12T06:19:14.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T06:19:14.633Z] GO111MODULE=on go vet ./... [2021-03-12T06:19:15.732Z] $ docker rm -f 2506b6ca7cebd3f07bbf9c3fe24e9785ae54fe3770c100f03d61d57ab6a92fc0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T06:19:16.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T06:19:16.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-12T06:19:20.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T06:19:20.607Z] + ls -al . [2021-03-12T06:19:20.607Z] total 188 [2021-03-12T06:19:20.607Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 12 06:19 . [2021-03-12T06:19:20.607Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 06:17 .. [2021-03-12T06:19:20.607Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 06:17 bin [2021-03-12T06:19:20.607Z] -rw-r--r--. 1 jenkins jenkins 103670 Mar 12 06:19 coverage.out [2021-03-12T06:19:20.607Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 12 06:17 Dockerfile.build [2021-03-12T06:19:20.607Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 06:17 .dockerignore [2021-03-12T06:19:20.607Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 12 06:17 example [2021-03-12T06:19:20.607Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 06:17 .git [2021-03-12T06:19:20.607Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 12 06:17 .github [2021-03-12T06:19:20.607Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 06:17 .gitignore [2021-03-12T06:19:20.608Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 12 06:19 go.mod [2021-03-12T06:19:20.608Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 12 06:19 go.sum [2021-03-12T06:19:20.608Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 12 06:17 internal [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 12 06:17 Jenkinsfile [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 06:17 LICENSE [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 12 06:17 Makefile [2021-03-12T06:19:20.608Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 12 06:17 openapi [2021-03-12T06:19:20.608Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 12 06:17 pkg [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 12 06:17 README.md [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 12 06:17 RELEASE-NOTES.txt [2021-03-12T06:19:20.608Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 06:17 snap [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 06:14 VERSION [2021-03-12T06:19:20.608Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 06:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:19:20.947Z] + 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=0b279d30dbc0e47c366b42958131ac05b480ee12 --label arch=amd64 --label version=0.0.0 . [2021-03-12T06:19:21.211Z] Sending build context to Docker daemon 2.382MB [2021-03-12T06:19:21.211Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T06:19:21.211Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T06:19:21.211Z] ---> 1df23212d41c [2021-03-12T06:19:21.211Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T06:19:21.790Z] ---> Running in 865be7fd5df1 [2021-03-12T06:19:22.055Z] Removing intermediate container 865be7fd5df1 [2021-03-12T06:19:22.055Z] ---> 9421996ff469 [2021-03-12T06:19:22.055Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T06:19:22.055Z] ---> Running in dc62a8c578ad [2021-03-12T06:19:22.319Z] Removing intermediate container dc62a8c578ad [2021-03-12T06:19:22.319Z] ---> 614b1c847472 [2021-03-12T06:19:22.319Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:19:22.319Z] ---> Running in 10a4a5e0c59c [2021-03-12T06:19:22.319Z] Removing intermediate container 10a4a5e0c59c [2021-03-12T06:19:22.319Z] ---> 7aa722ba1025 [2021-03-12T06:19:22.319Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T06:19:22.583Z] ---> Running in 7bfebb33659d [2021-03-12T06:19:23.544Z] Removing intermediate container 7bfebb33659d [2021-03-12T06:19:23.544Z] ---> fb4bf0c830c6 [2021-03-12T06:19:23.544Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T06:19:23.544Z] ---> Running in 807a79719a5d [2021-03-12T06:19:24.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T06:19:24.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T06:19:25.654Z] OK: 166 MiB in 39 packages [2021-03-12T06:19:25.925Z] Removing intermediate container 807a79719a5d [2021-03-12T06:19:25.925Z] ---> ff5076f1aa60 [2021-03-12T06:19:25.925Z] Step 8/24 : COPY . . [2021-03-12T06:19:27.330Z] ---> 831086a74988 [2021-03-12T06:19:27.330Z] Step 9/24 : RUN ${MAKE} [2021-03-12T06:19:27.330Z] ---> Running in 0803a2d98cb5 [2021-03-12T06:19:27.607Z] 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-12T06:19:37.769Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T06:19:39.168Z] Removing intermediate container 0803a2d98cb5 [2021-03-12T06:19:39.168Z] ---> dd7ca00c0332 [2021-03-12T06:19:39.168Z] Step 10/24 : FROM scratch [2021-03-12T06:19:39.168Z] ---> [2021-03-12T06:19:39.168Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:19:39.168Z] ---> Running in eaff9dd078bc [2021-03-12T06:19:39.168Z] Removing intermediate container eaff9dd078bc [2021-03-12T06:19:39.168Z] ---> 386a293871bc [2021-03-12T06:19:39.168Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T06:19:39.168Z] ---> Running in de89e78999ed [2021-03-12T06:19:39.432Z] Removing intermediate container de89e78999ed [2021-03-12T06:19:39.432Z] ---> 23e5536fa87b [2021-03-12T06:19:39.432Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T06:19:39.432Z] ---> Running in 7fa5f00c4f57 [2021-03-12T06:19:39.695Z] Removing intermediate container 7fa5f00c4f57 [2021-03-12T06:19:39.695Z] ---> ff8cf1cc9b63 [2021-03-12T06:19:39.695Z] Step 14/24 : WORKDIR / [2021-03-12T06:19:39.695Z] ---> Running in ccb4f6b20031 [2021-03-12T06:19:39.695Z] Removing intermediate container ccb4f6b20031 [2021-03-12T06:19:39.695Z] ---> a594912e1b78 [2021-03-12T06:19:39.695Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T06:19:40.277Z] ---> 1e60f800913b [2021-03-12T06:19:40.277Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T06:19:40.542Z] ---> 1d625b553920 [2021-03-12T06:19:40.542Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T06:19:40.812Z] ---> f603efa96a01 [2021-03-12T06:19:40.812Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T06:19:41.079Z] ---> cbd3cde5402e [2021-03-12T06:19:41.079Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T06:19:41.342Z] ---> 478e3a3230b8 [2021-03-12T06:19:41.342Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T06:19:41.342Z] ---> Running in c25d21d84709 [2021-03-12T06:19:41.607Z] Removing intermediate container c25d21d84709 [2021-03-12T06:19:41.607Z] ---> 07444376b1b3 [2021-03-12T06:19:41.607Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T06:19:41.607Z] ---> Running in 1f1564f4dd33 [2021-03-12T06:19:41.873Z] Removing intermediate container 1f1564f4dd33 [2021-03-12T06:19:41.873Z] ---> b651d7b93417 [2021-03-12T06:19:41.873Z] Step 22/24 : LABEL arch=amd64 [2021-03-12T06:19:41.873Z] ---> Running in 5a7ba3f2f30d [2021-03-12T06:19:42.138Z] Removing intermediate container 5a7ba3f2f30d [2021-03-12T06:19:42.138Z] ---> 20fcccd16035 [2021-03-12T06:19:42.138Z] Step 23/24 : LABEL git_sha=0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:19:42.138Z] ---> Running in 725e6c9ed6f4 [2021-03-12T06:19:42.408Z] Removing intermediate container 725e6c9ed6f4 [2021-03-12T06:19:42.408Z] ---> 641381f417e8 [2021-03-12T06:19:42.408Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T06:19:42.408Z] ---> Running in ae77d9a2fa82 [2021-03-12T06:19:42.672Z] Removing intermediate container ae77d9a2fa82 [2021-03-12T06:19:42.672Z] ---> 6dec48017bae [2021-03-12T06:19:42.672Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T06:19:42.672Z] Successfully built 6dec48017bae [2021-03-12T06:19:42.672Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:19:43.871Z] ---> job-cost.sh [2021-03-12T06:19:43.871Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oE8s [2021-03-12T06:19:53.684Z] gofmt -l . [2021-03-12T06:19:53.684Z] [ "`gofmt -l .`" = "" ] [2021-03-12T06:19:53.684Z] ./bin/test-attribution-txt.sh [2021-03-12T06:19:53.684Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T06:19:53.712Z] $ docker stop --time=1 625e32958c44607305563698ebcf1e2e3e4ef827b5e936613dac2d9c5ef5850b [2021-03-12T06:19:55.882Z] $ docker rm -f 625e32958c44607305563698ebcf1e2e3e4ef827b5e936613dac2d9c5ef5850b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T06:19:57.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T06:19:57.092Z] Warning: overwriting stash ‘coverage-report’ [2021-03-12T06:19:58.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T06:19:58.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T06:19:58.818Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T06:19:59.144Z] + ls -al . [2021-03-12T06:19:59.144Z] total 224 [2021-03-12T06:19:59.144Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 06:19 . [2021-03-12T06:19:59.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:16 .. [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 06:16 .dockerignore [2021-03-12T06:19:59.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 06:16 .git [2021-03-12T06:19:59.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:16 .github [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 06:16 .gitignore [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 12 06:16 Dockerfile.build [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 12 06:16 Jenkinsfile [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 06:16 LICENSE [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 12 06:16 Makefile [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 12 06:16 README.md [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 12 06:16 RELEASE-NOTES.txt [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 06:14 VERSION [2021-03-12T06:19:59.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:16 bin [2021-03-12T06:19:59.144Z] -rw-r--r-- 1 jenkins jenkins 103670 Mar 12 06:19 coverage.out [2021-03-12T06:19:59.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:16 example [2021-03-12T06:19:59.144Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 12 06:19 go.mod [2021-03-12T06:19:59.144Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 12 06:19 go.sum [2021-03-12T06:19:59.144Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 12 06:16 internal [2021-03-12T06:19:59.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:16 openapi [2021-03-12T06:19:59.144Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 12 06:16 pkg [2021-03-12T06:19:59.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:16 snap [2021-03-12T06:19:59.144Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 06:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:19:59.510Z] + 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=0b279d30dbc0e47c366b42958131ac05b480ee12 --label arch=arm64 --label version=0.0.0 . [2021-03-12T06:20:00.161Z] Sending build context to Docker daemon 2.388MB [2021-03-12T06:20:00.161Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T06:20:00.161Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T06:20:00.161Z] ---> ebe5a8b304db [2021-03-12T06:20:00.161Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T06:20:00.436Z] ---> Running in 9a254fdb6b2c [2021-03-12T06:20:00.716Z] Removing intermediate container 9a254fdb6b2c [2021-03-12T06:20:00.716Z] ---> c9d553542e6b [2021-03-12T06:20:00.716Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T06:20:00.989Z] ---> Running in cbe23dfa714f [2021-03-12T06:20:01.588Z] Removing intermediate container cbe23dfa714f [2021-03-12T06:20:01.588Z] ---> da9c5ce8021a [2021-03-12T06:20:01.588Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:20:01.588Z] ---> Running in f13d526b5acd [2021-03-12T06:20:02.187Z] Removing intermediate container f13d526b5acd [2021-03-12T06:20:02.187Z] ---> f02c9403b2d2 [2021-03-12T06:20:02.187Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T06:20:02.187Z] ---> Running in d8015d84af76 [2021-03-12T06:20:04.157Z] Removing intermediate container d8015d84af76 [2021-03-12T06:20:04.157Z] ---> 28b8f54db375 [2021-03-12T06:20:04.157Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T06:20:04.431Z] ---> Running in 6e711559bf8a [2021-03-12T06:20:05.425Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T06:20:06.398Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-12T06:20:07.013Z] OK: 142 MiB in 39 packages [2021-03-12T06:20:08.000Z] Removing intermediate container 6e711559bf8a [2021-03-12T06:20:08.000Z] ---> f0c4be67eadc [2021-03-12T06:20:08.000Z] Step 8/24 : COPY . . [2021-03-12T06:20:09.454Z] ---> f54fcba3bcd6 [2021-03-12T06:20:09.454Z] Step 9/24 : RUN ${MAKE} [2021-03-12T06:20:09.454Z] ---> Running in e3effc3cfb95 [2021-03-12T06:20:10.907Z] 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-12T06:20:30.990Z] lf-activate-venv(): INFO: Adding /tmp/venv-oE8s/bin to PATH [2021-03-12T06:20:30.990Z] INFO: No Stack... [2021-03-12T06:20:30.990Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T06:20:30.990Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T06:20:31.308Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-12T06:20:31.308Z] + cut -d, -f6 [Pipeline] lock [2021-03-12T06:20:31.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] [2021-03-12T06:20:31.460Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] did not exist. Created. [2021-03-12T06:20:31.461Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T06:20:31.867Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-12T06:20:32.017Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T06:20:32.028Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-12T06:20:37.736Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T06:20:39.166Z] Removing intermediate container e3effc3cfb95 [2021-03-12T06:20:39.166Z] ---> 592b03e2bd57 [2021-03-12T06:20:39.166Z] Step 10/24 : FROM scratch [2021-03-12T06:20:39.166Z] ---> [2021-03-12T06:20:39.166Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T06:20:39.166Z] ---> Running in 616d92185c8d [2021-03-12T06:20:39.441Z] Removing intermediate container 616d92185c8d [2021-03-12T06:20:39.441Z] ---> dc9968a4deee [2021-03-12T06:20:39.441Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T06:20:39.441Z] ---> Running in 613638ec2eca [2021-03-12T06:20:40.048Z] Removing intermediate container 613638ec2eca [2021-03-12T06:20:40.048Z] ---> 17c2576d0fa6 [2021-03-12T06:20:40.048Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T06:20:40.048Z] ---> Running in a7dd13bd5e2f [2021-03-12T06:20:40.641Z] Removing intermediate container a7dd13bd5e2f [2021-03-12T06:20:40.641Z] ---> 36d99d201c97 [2021-03-12T06:20:40.641Z] Step 14/24 : WORKDIR / [2021-03-12T06:20:40.641Z] ---> Running in 4410990a9898 [2021-03-12T06:20:41.235Z] Removing intermediate container 4410990a9898 [2021-03-12T06:20:41.235Z] ---> 1b76af035e82 [2021-03-12T06:20:41.235Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T06:20:42.212Z] ---> d1119f9afaac [2021-03-12T06:20:42.212Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T06:20:42.810Z] ---> 36049ae3ac9f [2021-03-12T06:20:42.810Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T06:20:43.787Z] ---> fccf2b490e9c [2021-03-12T06:20:43.787Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T06:20:44.383Z] ---> 5370208a3298 [2021-03-12T06:20:44.383Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T06:20:45.361Z] ---> 2b56e4c69a7c [2021-03-12T06:20:45.361Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T06:20:45.361Z] ---> Running in 099b92324314 [2021-03-12T06:20:45.632Z] Removing intermediate container 099b92324314 [2021-03-12T06:20:45.632Z] ---> 63e0a1e8eaa4 [2021-03-12T06:20:45.632Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T06:20:45.906Z] ---> Running in 4e93771a1710 [2021-03-12T06:20:46.499Z] Removing intermediate container 4e93771a1710 [2021-03-12T06:20:46.499Z] ---> 51aac4b80724 [2021-03-12T06:20:46.499Z] Step 22/24 : LABEL arch=arm64 [2021-03-12T06:20:46.499Z] ---> Running in b01e93a3adf3 [2021-03-12T06:20:47.094Z] Removing intermediate container b01e93a3adf3 [2021-03-12T06:20:47.094Z] ---> a15c494f0e58 [2021-03-12T06:20:47.094Z] Step 23/24 : LABEL git_sha=0b279d30dbc0e47c366b42958131ac05b480ee12 [2021-03-12T06:20:47.094Z] ---> Running in b7e7892b83e3 [2021-03-12T06:20:47.688Z] Removing intermediate container b7e7892b83e3 [2021-03-12T06:20:47.688Z] ---> 0c740b4d2382 [2021-03-12T06:20:47.688Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T06:20:47.688Z] ---> Running in 643b86bbfdf7 [2021-03-12T06:20:48.281Z] Removing intermediate container 643b86bbfdf7 [2021-03-12T06:20:48.281Z] ---> 613ad7873545 [2021-03-12T06:20:48.281Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T06:20:48.281Z] Successfully built 613ad7873545 [2021-03-12T06:20:48.281Z] 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-12T06:20:49.119Z] ---> job-cost.sh [2021-03-12T06:20:49.119Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rcyu [2021-03-12T06:21:28.074Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T06:23:04.826Z] lf-activate-venv(): INFO: Adding /tmp/venv-rcyu/bin to PATH [2021-03-12T06:23:04.827Z] INFO: No Stack... [2021-03-12T06:23:04.827Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-12T06:23:04.827Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T06:23:05.172Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-12T06:23:05.172Z] + cut -d, -f6 [Pipeline] lock [2021-03-12T06:23:05.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] [2021-03-12T06:23:05.316Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] did not exist. Created. [2021-03-12T06:23:05.316Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T06:23:05.791Z] /w/workspace/device-sdk-go/2@tmp/durable-b765c793/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-b765c793/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-12T06:23:06.140Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-12T06:23:06.214Z] Warning: overwriting stash ‘stack-cost’ [2021-03-12T06:23:06.372Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T06:23:06.384Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-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-12T06:23:08.139Z] provisioning config files... [2021-03-12T06:23:08.154Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config5160919282988469122tmp [Pipeline] { [Pipeline] sh [2021-03-12T06:23:08.572Z] + set +x [2021-03-12T06:23:08.572Z] + curl -s https://codecov.io/bash [2021-03-12T06:23:08.572Z] + bash -s -- [2021-03-12T06:23:08.840Z] [2021-03-12T06:23:08.840Z] _____ _ [2021-03-12T06:23:08.840Z] / ____| | | [2021-03-12T06:23:08.840Z] | | ___ __| | ___ ___ _____ __ [2021-03-12T06:23:08.840Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-12T06:23:08.840Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-12T06:23:08.840Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-12T06:23:08.840Z] Bash-20210309-2b87ace [2021-03-12T06:23:08.840Z] [2021-03-12T06:23:08.840Z] [2021-03-12T06:23:08.840Z] ==> git version 2.24.3 found [2021-03-12T06:23:08.840Z] ==> 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-12T06:23:08.840Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-12T06:23:08.840Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-12T06:23:08.840Z] ==> Jenkins CI detected. [2021-03-12T06:23:08.840Z] project root: . [2021-03-12T06:23:08.840Z] --> token set from env [2021-03-12T06:23:08.840Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-12T06:23:08.840Z] ==> Running gcov in . (disable via -X gcov) [2021-03-12T06:23:08.840Z] ==> Python coveragepy not found [2021-03-12T06:23:08.840Z] ==> Searching for coverage reports in: [2021-03-12T06:23:08.840Z] + . [2021-03-12T06:23:08.840Z] -> Found 1 reports [2021-03-12T06:23:08.840Z] ==> Detecting git/mercurial file structure [2021-03-12T06:23:08.840Z] ==> Reading reports [2021-03-12T06:23:08.840Z] + ./coverage.out bytes=103670 [2021-03-12T06:23:08.840Z] ==> Appending adjustments [2021-03-12T06:23:08.840Z] https://docs.codecov.io/docs/fixing-reports [2021-03-12T06:23:09.104Z] + Found adjustments [2021-03-12T06:23:09.104Z] ==> Gzipping contents [2021-03-12T06:23:09.104Z] 16K /tmp/codecov.ECcmS6.gz [2021-03-12T06:23:09.104Z] ==> Uploading reports [2021-03-12T06:23:09.104Z] url: https://codecov.io [2021-03-12T06:23:09.104Z] query: branch=PR-813&commit=0b279d30dbc0e47c366b42958131ac05b480ee12&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-12T06:23:09.367Z] -> Pinging Codecov [2021-03-12T06:23:09.367Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-813&commit=0b279d30dbc0e47c366b42958131ac05b480ee12&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-12T06:23:09.630Z] -> Uploading to [2021-03-12T06:23:09.630Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-12/7E55EF52A471D76F132DFD9A03CDDE97/0b279d30dbc0e47c366b42958131ac05b480ee12/2d2cf4ae-52ed-4101-873e-eac28fbd2b09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210312%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210312T062309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b84754436d8832c714aeb31bfe5a4144443de2c8d5ec9951e8c146d9f3a02ae2 [2021-03-12T06:23:09.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-12T06:23:09.630Z] Dload Upload Total Spent Left Speed [2021-03-12T06:23:10.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13897 0 0 100 13897 0 31182 --:--:-- --:--:-- --:--:-- 31159 [2021-03-12T06:23:10.157Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0b279d30dbc0e47c366b42958131ac05b480ee12 [Pipeline] } [2021-03-12T06:23:10.166Z] 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-12T06:23:13.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:13.582Z] ---> package-listing.sh [2021-03-12T06:23:13.582Z] ++ facter osfamily [2021-03-12T06:23:13.582Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-12T06:23:13.582Z] + OS_FAMILY=redhat [2021-03-12T06:23:13.582Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-12T06:23:13.582Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-12T06:23:13.582Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-12T06:23:13.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-12T06:23:13.582Z] + PACKAGES=/tmp/packages_start.txt [2021-03-12T06:23:13.582Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-12T06:23:13.582Z] + PACKAGES=/tmp/packages_end.txt [2021-03-12T06:23:13.582Z] + case "${OS_FAMILY}" in [2021-03-12T06:23:13.582Z] + rpm -qa [2021-03-12T06:23:13.582Z] + sort [2021-03-12T06:23:18.913Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-12T06:23:18.913Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-12T06:23:18.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-12T06:23:18.913Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-12T06:23:18.913Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [2021-03-12T06:23:18.913Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [Pipeline] echo [2021-03-12T06:23:18.930Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-813/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-12T06:23:19.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:23:19.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T06:23:19.541Z] [2021-03-12T06:23:19.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-12T06:23:19.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T06:23:19.904Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-12T06:23:19.904Z] df20fa9351a1: Pulling fs layer [2021-03-12T06:23:19.904Z] 36b3adc4ff6f: Pulling fs layer [2021-03-12T06:23:19.904Z] 8ad3a11d3b57: Pulling fs layer [2021-03-12T06:23:19.904Z] 46f8f816bc3b: Pulling fs layer [2021-03-12T06:23:19.904Z] 93b61091891f: Pulling fs layer [2021-03-12T06:23:19.904Z] 93b9cdb0e59b: Pulling fs layer [2021-03-12T06:23:19.904Z] 5e14af77c1be: Pulling fs layer [2021-03-12T06:23:19.904Z] 01666e4c0597: Pulling fs layer [2021-03-12T06:23:19.904Z] aa168da1d23b: Pulling fs layer [2021-03-12T06:23:19.904Z] 93b9cdb0e59b: Waiting [2021-03-12T06:23:19.904Z] 5e14af77c1be: Waiting [2021-03-12T06:23:19.904Z] 01666e4c0597: Waiting [2021-03-12T06:23:19.904Z] 46f8f816bc3b: Waiting [2021-03-12T06:23:19.904Z] aa168da1d23b: Waiting [2021-03-12T06:23:19.904Z] 93b61091891f: Waiting [2021-03-12T06:23:19.904Z] 36b3adc4ff6f: Verifying Checksum [2021-03-12T06:23:19.904Z] 36b3adc4ff6f: Download complete [2021-03-12T06:23:19.904Z] 46f8f816bc3b: Verifying Checksum [2021-03-12T06:23:19.904Z] 46f8f816bc3b: Download complete [2021-03-12T06:23:20.169Z] df20fa9351a1: Verifying Checksum [2021-03-12T06:23:20.170Z] df20fa9351a1: Download complete [2021-03-12T06:23:20.170Z] 93b9cdb0e59b: Verifying Checksum [2021-03-12T06:23:20.170Z] 93b9cdb0e59b: Download complete [2021-03-12T06:23:20.170Z] 5e14af77c1be: Verifying Checksum [2021-03-12T06:23:20.170Z] 5e14af77c1be: Download complete [2021-03-12T06:23:20.170Z] 93b61091891f: Verifying Checksum [2021-03-12T06:23:20.170Z] 93b61091891f: Download complete [2021-03-12T06:23:20.170Z] 01666e4c0597: Verifying Checksum [2021-03-12T06:23:20.170Z] 01666e4c0597: Download complete [2021-03-12T06:23:20.433Z] df20fa9351a1: Pull complete [2021-03-12T06:23:20.696Z] 36b3adc4ff6f: Pull complete [2021-03-12T06:23:20.962Z] 8ad3a11d3b57: Verifying Checksum [2021-03-12T06:23:20.962Z] 8ad3a11d3b57: Download complete [2021-03-12T06:23:21.930Z] 8ad3a11d3b57: Pull complete [2021-03-12T06:23:21.930Z] 46f8f816bc3b: Pull complete [2021-03-12T06:23:22.513Z] 93b61091891f: Pull complete [2021-03-12T06:23:22.513Z] 93b9cdb0e59b: Pull complete [2021-03-12T06:23:22.782Z] 5e14af77c1be: Pull complete [2021-03-12T06:23:22.782Z] aa168da1d23b: Verifying Checksum [2021-03-12T06:23:22.782Z] aa168da1d23b: Download complete [2021-03-12T06:23:22.782Z] 01666e4c0597: Pull complete [2021-03-12T06:23:30.988Z] aa168da1d23b: Pull complete [2021-03-12T06:23:30.989Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-12T06:23:30.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T06:23:30.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-12T06:23:31.268Z] prd-centos7-docker-4c-2g-29609 does not seem to be running inside a container [2021-03-12T06:23:31.357Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-813/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-12T06:23:34.145Z] $ docker top 4d4b270de148cd6a5b6ea54ce0f978b24d6144c219dcaa5943c37cb1e4871ae5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T06:23:34.724Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-12T06:23:35.029Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-12T06:23:35.335Z] + ls /var/log/sa-host [2021-03-12T06:23:35.335Z] + sadf -c /var/log/sa-host/sa12 [2021-03-12T06:23:35.335Z] file_magic: OK [2021-03-12T06:23:35.335Z] HZ: Using current value: 100 [2021-03-12T06:23:35.335Z] file_header: OK [2021-03-12T06:23:35.335Z] 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-12T06:23:35.335Z] Statistics: [2021-03-12T06:23:35.335Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-12T06:23:35.335Z] File successfully converted to sysstat format version 12.2.1 [2021-03-12T06:23:35.335Z] + sadf -c /var/log/sa-host/sa23 [2021-03-12T06:23:35.335Z] file_magic: OK [2021-03-12T06:23:35.335Z] HZ: Using current value: 100 [2021-03-12T06:23:35.335Z] file_header: OK [2021-03-12T06:23:35.335Z] 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-12T06:23:35.335Z] Statistics: [2021-03-12T06:23:35.335Z] Hnuu...uuuununununu... [2021-03-12T06:23:35.335Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-12T06:23:36.022Z] provisioning config files... [2021-03-12T06:23:36.045Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config7915044942637918164tmp [Pipeline] { [Pipeline] echo [2021-03-12T06:23:36.147Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:36.448Z] ---> create-netrc.sh [Pipeline] } [2021-03-12T06:23:36.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-12T06:23:36.561Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:36.865Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-12T06:23:36.876Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:37.175Z] ---> sudo-logs.sh [2021-03-12T06:23:37.175Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-12T06:23:37.263Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:37.567Z] ---> job-cost.sh [2021-03-12T06:23:37.567Z] lf-activate-venv: SKIPPING [2021-03-12T06:23:37.567Z] DEBUG: total: 0.20999999344348907 [2021-03-12T06:23:37.568Z] INFO: Retrieving Stack Cost... [2021-03-12T06:23:38.516Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T06:23:39.099Z] INFO: Archiving Costs [Pipeline] echo [2021-03-12T06:23:39.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T06:23:39.419Z] ---> logs-deploy.sh [2021-03-12T06:23:39.419Z] lf-activate-venv: SKIPPING [2021-03-12T06:23:39.419Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-813/2 [2021-03-12T06:23:39.419Z] INFO: archiving workspace using pattern(s): [2021-03-12T06:23:41.348Z] Archives upload complete. [2021-03-12T06:23:41.348Z] INFO: archiving logs to Nexus