Pull request #830 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (f75a9bf48e80393470d38276646c712afc9dd7d9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-830/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-830/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-30849 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [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-830 # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d > 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/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:00:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:00:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:00:36 ========================================================= 07:00:36 EdgeX Global Pipelines Version Info 07:00:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:00:38 ------------------- 07:00:38 stable info: 07:00:38 ------------------- 07:00:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:00:38 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:00:38 Message: update stable to v1.0.186 07:00:40 ------------------- 07:00:40 experimental info: 07:00:40 ------------------- 07:00:40 Commited By: **** collab-it+edgex@linuxfoundation.org 07:00:40 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:00:40 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:00:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:00:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-830 [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-830 [Pipeline] echo 07:00:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-830 [Pipeline] echo 07:00:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] echo 07:00:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7db8d72 [Pipeline] echo 07:00:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:00:45 provisioning config files... 07:00:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config5273884452809150896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:46 ---> docker-login.sh 07:00:46 nexus3.edgexfoundry.org:10001 07:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:47 Configure a credential helper to remove this warning. See 07:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:47 07:00:47 Login Succeeded 07:00:47 nexus3.edgexfoundry.org:10002 07:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:47 Configure a credential helper to remove this warning. See 07:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:47 07:00:47 Login Succeeded 07:00:47 nexus3.edgexfoundry.org:10003 07:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:48 Configure a credential helper to remove this warning. See 07:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:48 07:00:48 Login Succeeded 07:00:48 nexus3.edgexfoundry.org:10004 07:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:48 Configure a credential helper to remove this warning. See 07:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:48 07:00:48 Login Succeeded 07:00:48 docker.io 07:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:49 Configure a credential helper to remove this warning. See 07:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:49 07:00:49 Login Succeeded 07:00:49 ---> docker-login.sh ends [Pipeline] } 07:00:49 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 07:00:50 + git log --format=format:%s -1 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] echo 07:00:50 GIT_COMMIT: 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 07:00:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:51 07:00:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:00:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:51 latest: Pulling from edgex-devops/git-semver 07:00:51 31603596830f: Pulling fs layer 07:00:51 2a8b12db71e7: Pulling fs layer 07:00:51 6ca5941a6612: Pulling fs layer 07:00:51 ecc8261a40a4: Pulling fs layer 07:00:51 ecc8261a40a4: Waiting 07:00:51 2a8b12db71e7: Verifying Checksum 07:00:51 2a8b12db71e7: Download complete 07:00:52 31603596830f: Download complete 07:00:52 ecc8261a40a4: Verifying Checksum 07:00:52 6ca5941a6612: Verifying Checksum 07:00:52 6ca5941a6612: Download complete 07:00:52 ecc8261a40a4: Download complete 07:00:52 31603596830f: Pull complete 07:00:52 2a8b12db71e7: Pull complete 07:00:55 6ca5941a6612: Pull complete 07:00:55 ecc8261a40a4: Pull complete 07:00:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:00:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:00:55 prd-centos7-docker-4c-2g-30849 does not seem to be running inside a container 07:00:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-830 -v /w/workspace/dgexfoundry_device-sdk-go_PR-830:/w/workspace/dgexfoundry_device-sdk-go_PR-830:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:00:59 $ docker top bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:00 [ssh-agent] Looking for ssh-agent implementation... 07:01:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:01 $ docker exec bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent 07:01:02 SSH_AUTH_SOCK=/tmp/ssh-dMSVrHX7tUit/agent.11 07:01:02 SSH_AGENT_PID=16 07:01:02 Running ssh-add (command line suppressed) 07:01:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8799656762552033489.key (/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8799656762552033489.key) 07:01:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:04 + git tag --points-at HEAD [Pipeline] } 07:01:04 $ docker exec --env ******** --env ******** bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent -k 07:01:04 unset SSH_AUTH_SOCK; 07:01:04 unset SSH_AGENT_PID; 07:01:04 echo Agent pid 16 killed; 07:01:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:04 [ssh-agent] Looking for ssh-agent implementation... 07:01:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:05 $ docker exec bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent 07:01:05 SSH_AUTH_SOCK=/tmp/ssh-RmFVf5CRbxFp/agent.45 07:01:05 SSH_AGENT_PID=51 07:01:05 Running ssh-add (command line suppressed) 07:01:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8955531330839984564.key (/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/private_key_8955531330839984564.key) 07:01:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:06 + git semver init 07:01:06 # -> Open(): unable to determine branch for HEAD 07:01:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-830/.git 07:01:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-830 07:01:06 # $SEMVER_REMOTE_NAME = origin 07:01:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:01:06 # $SEMVER_USER_NAME = edgex-jenkins 07:01:06 # $SEMVER_BRANCH = PR-830 07:01:06 # $SEMVER_TEMP = /tmp/semver-830814233 07:01:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:01:07 # '/tmp/semver-830814233' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-830/.semver' 07:01:07 # -> Force: false 07:01:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-830/.semver [Pipeline] } 07:01:07 $ docker exec --env ******** --env ******** bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 ssh-agent -k 07:01:07 unset SSH_AUTH_SOCK; 07:01:07 unset SSH_AGENT_PID; 07:01:07 echo Agent pid 51 killed; 07:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:08 + git semver [Pipeline] } 07:01:08 $ docker stop --time=1 bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 07:01:10 $ docker rm -f bb1acbeda3d68e1452ec8c02088946caf35db920f4eee9c6e26a5574689af086 [Pipeline] // withDockerContainer [Pipeline] sh 07:01:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:01:12 Stashed 1 file(s) [Pipeline] echo 07:01:12 [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 07:01:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30847 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [Pipeline] { [Pipeline] ws 07:01:13 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:01:18 using credential edgex-jenkins-ssh 07:01:18 Cloning the remote Git repository 07:01:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:01:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:01:18 > git --version # timeout=10 07:01:18 > git --version # 'git version 2.17.1' 07:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:01:20 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:01:20 Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:01:20 Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) 07:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:01:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:01:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:01:20 > git config core.sparsecheckout # timeout=10 07:01:20 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 07:01:20 > git remote # timeout=10 07:01:20 > git config --get remote.origin.url # timeout=10 07:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:20 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 07:01:20 > git rev-parse HEAD^{commit} # timeout=10 07:01:20 > git config core.sparsecheckout # timeout=10 07:01:20 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 07:01:25 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 07:01:25 > git --version # timeout=10 07:01:25 > git --version # 'git version 2.17.1' 07:01:25 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:01:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:01:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:01:27 + sudo service docker restart 07:01:27 + true 07:01:28 Still waiting to schedule task 07:01:28 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30849’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:01:30 provisioning config files... 07:01:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3408138327825759991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:31 ---> docker-login.sh 07:01:31 nexus3.edgexfoundry.org:10001 07:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:32 Configure a credential helper to remove this warning. See 07:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:32 07:01:32 Login Succeeded 07:01:32 nexus3.edgexfoundry.org:10002 07:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:32 Configure a credential helper to remove this warning. See 07:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:32 07:01:32 Login Succeeded 07:01:32 nexus3.edgexfoundry.org:10003 07:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:33 Configure a credential helper to remove this warning. See 07:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:33 07:01:33 Login Succeeded 07:01:33 nexus3.edgexfoundry.org:10004 07:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:33 Configure a credential helper to remove this warning. See 07:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:33 07:01:33 Login Succeeded 07:01:33 docker.io 07:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:34 Configure a credential helper to remove this warning. See 07:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:34 07:01:34 Login Succeeded 07:01:34 ---> docker-login.sh ends [Pipeline] } 07:01:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:35 ========================================================= 07:01:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:01:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:01:35 + 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 . 07:01:35 Sending build context to Docker daemon 2.289MB 07:01:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:01:35 Step 2/8 : FROM ${BASE} 07:01:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:01:36 5f621e34cdf4: Pulling fs layer 07:01:36 a4357932f1b6: Pulling fs layer 07:01:36 18c013af1878: Pulling fs layer 07:01:36 00ac8860ef70: Pulling fs layer 07:01:36 63d7cb157983: Pulling fs layer 07:01:36 00ac8860ef70: Waiting 07:01:36 63d7cb157983: Waiting 07:01:36 b116817d02f9: Pulling fs layer 07:01:36 745a02a5169b: Pulling fs layer 07:01:36 745a02a5169b: Waiting 07:01:36 b116817d02f9: Waiting 07:01:36 18c013af1878: Download complete 07:01:36 a4357932f1b6: Download complete 07:01:36 63d7cb157983: Download complete 07:01:37 b116817d02f9: Verifying Checksum 07:01:37 b116817d02f9: Download complete 07:01:37 5f621e34cdf4: Verifying Checksum 07:01:37 5f621e34cdf4: Download complete 07:01:37 5f621e34cdf4: Pull complete 07:01:37 a4357932f1b6: Pull complete 07:01:38 18c013af1878: Pull complete 07:01:39 745a02a5169b: Download complete 07:01:40 00ac8860ef70: Verifying Checksum 07:01:40 00ac8860ef70: Download complete 07:01:50 00ac8860ef70: Pull complete 07:01:50 63d7cb157983: Pull complete 07:01:50 b116817d02f9: Pull complete 07:01:55 745a02a5169b: Pull complete 07:01:55 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:01:55 ---> b7e6874047d6 07:01:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:57 ---> Running in 959f2deb2f69 07:01:58 Removing intermediate container 959f2deb2f69 07:01:58 ---> 25965244f904 07:01:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:58 ---> Running in 1287550bcebc 07:02:00 Removing intermediate container 1287550bcebc 07:02:00 ---> 5abed415094e 07:02:00 Step 5/8 : RUN apk add --update --no-cache make git 07:02:00 ---> Running in 90a6808fc0a4 07:02:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:02:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:02:02 OK: 142 MiB in 39 packages 07:02:04 Removing intermediate container 90a6808fc0a4 07:02:04 ---> b7ada31a0a99 07:02:04 Step 6/8 : WORKDIR /device-sdk-go 07:02:04 ---> Running in e200300b504a 07:02:04 Removing intermediate container e200300b504a 07:02:04 ---> dc4258e48f92 07:02:04 Step 7/8 : COPY . . 07:02:05 ---> 12970464146d 07:02:05 Step 8/8 : RUN go mod download 07:02:06 ---> Running in 13e9d56a5949 07:02:32 Removing intermediate container 13e9d56a5949 07:02:32 ---> 3c6b3344d26c 07:02:32 Successfully built 3c6b3344d26c 07:02:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:02:33 + docker inspect -f . ci-base-image-arm64 07:02:33 . [Pipeline] withDockerContainer 07:02:33 prd-ubuntu18.04-docker-arm64-4c-16g-30847 does not seem to be running inside a container 07:02:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:02:35 $ docker top 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:36 + go version 07:02:36 go version go1.15.5 linux/arm64 [Pipeline] } 07:02:36 $ docker stop --time=1 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 07:02:38 $ docker rm -f 2d6c2624c455a8dfb6e2f6de02411899cb010ce714223d36628ad2994c9d4ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:02:39 + docker inspect -f . ci-base-image-arm64 07:02:39 . [Pipeline] withDockerContainer 07:02:39 prd-ubuntu18.04-docker-arm64-4c-16g-30847 does not seem to be running inside a container 07:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:02:41 $ docker top 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:42 + make test 07:02:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:03:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:03:43 Running on prd-centos7-docker-4c-2g-30850 in /w/workspace/dgexfoundry_device-sdk-go_PR-830 [Pipeline] { [Pipeline] ws 07:03:43 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:03:46 using credential edgex-jenkins-ssh 07:03:46 Cloning the remote Git repository 07:03:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:03:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:03:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:03:46 > git --version # timeout=10 07:03:46 > git --version # 'git version 2.24.3' 07:03:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:03:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:03:48 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:03:48 Merge succeeded, producing 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:03:48 Checking out Revision 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d (PR-830) 07:03:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:03:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:03:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:03:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:03:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:03:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/830/head:refs/remotes/origin/PR-830 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:03:48 > git config core.sparsecheckout # timeout=10 07:03:48 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 07:03:48 > git remote # timeout=10 07:03:48 > git config --get remote.origin.url # timeout=10 07:03:48 using GIT_SSH to set credentials SSH Credentials for GitHub 07:03:48 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 07:03:48 > git rev-parse HEAD^{commit} # timeout=10 07:03:48 > git config core.sparsecheckout # timeout=10 07:03:48 > git checkout -f 7db8d7278dde61d744edc7112f7cd5f0c4bdf49d # timeout=10 07:03:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:03:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:03:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:03:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:03:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.153s coverage: 27.0% of statements 07:03:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.169s coverage: 81.2% of statements 07:03:51 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 07:03:51 > git --version # timeout=10 07:03:51 > git --version # 'git version 2.24.3' 07:03:51 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:03:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:03:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:03:54 + sudo service docker restart 07:03:54 + true 07:03:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:03:55 provisioning config files... 07:03:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4076858042033531386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:03:55 ---> docker-login.sh 07:03:55 nexus3.edgexfoundry.org:10001 07:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:56 Configure a credential helper to remove this warning. See 07:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:56 07:03:56 Login Succeeded 07:03:56 nexus3.edgexfoundry.org:10002 07:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:56 Configure a credential helper to remove this warning. See 07:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:56 07:03:56 Login Succeeded 07:03:56 nexus3.edgexfoundry.org:10003 07:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:56 Configure a credential helper to remove this warning. See 07:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:56 07:03:56 Login Succeeded 07:03:56 nexus3.edgexfoundry.org:10004 07:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:56 Configure a credential helper to remove this warning. See 07:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:56 07:03:56 Login Succeeded 07:03:56 docker.io 07:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:57 Configure a credential helper to remove this warning. See 07:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:57 07:03:57 Login Succeeded 07:03:57 ---> docker-login.sh ends [Pipeline] } 07:03:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:03:57 ========================================================= 07:03:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:03:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:03:58 + 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 . 07:03:58 Sending build context to Docker daemon 2.284MB 07:03:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:03:58 Step 2/8 : FROM ${BASE} 07:03:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:03:58 188c0c94c7c5: Pulling fs layer 07:03:58 0ef7d3d256c8: Pulling fs layer 07:03:58 de9db76c5a1d: Pulling fs layer 07:03:58 bca2f99d35d6: Pulling fs layer 07:03:58 93359f2a8cfa: Pulling fs layer 07:03:58 7c6f9722023f: Pulling fs layer 07:03:58 a35cf1a2eb13: Pulling fs layer 07:03:58 bca2f99d35d6: Waiting 07:03:58 93359f2a8cfa: Waiting 07:03:58 7c6f9722023f: Waiting 07:03:58 a35cf1a2eb13: Waiting 07:03:58 de9db76c5a1d: Verifying Checksum 07:03:58 de9db76c5a1d: Download complete 07:03:58 0ef7d3d256c8: Download complete 07:03:58 93359f2a8cfa: Verifying Checksum 07:03:58 93359f2a8cfa: Download complete 07:03:58 188c0c94c7c5: Verifying Checksum 07:03:58 188c0c94c7c5: Download complete 07:03:58 7c6f9722023f: Verifying Checksum 07:03:58 7c6f9722023f: Download complete 07:03:58 188c0c94c7c5: Pull complete 07:03:58 0ef7d3d256c8: Pull complete 07:03:58 de9db76c5a1d: Pull complete 07:04:00 a35cf1a2eb13: Verifying Checksum 07:04:00 a35cf1a2eb13: Download complete 07:04:01 bca2f99d35d6: Verifying Checksum 07:04:01 bca2f99d35d6: Download complete 07:04:08 bca2f99d35d6: Pull complete 07:04:08 93359f2a8cfa: Pull complete 07:04:08 7c6f9722023f: Pull complete 07:04:12 a35cf1a2eb13: Pull complete 07:04:12 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:04:12 ---> a62c8e92a672 07:04:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:04:12 ---> Running in 06ccdda11747 07:04:12 Removing intermediate container 06ccdda11747 07:04:12 ---> 896207c76a04 07:04:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:12 ---> Running in e7da2c82992a 07:04:13 Removing intermediate container e7da2c82992a 07:04:13 ---> 59d813c140c0 07:04:13 Step 5/8 : RUN apk add --update --no-cache make git 07:04:13 ---> Running in fd91474479be 07:04:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:04:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:04:15 OK: 166 MiB in 39 packages 07:04:16 Removing intermediate container fd91474479be 07:04:16 ---> e54699b2fc0d 07:04:16 Step 6/8 : WORKDIR /device-sdk-go 07:04:16 ---> Running in 925cae358ad9 07:04:16 Removing intermediate container 925cae358ad9 07:04:16 ---> 2de2e6341f0a 07:04:16 Step 7/8 : COPY . . 07:04:17 ---> b14fdb8311e0 07:04:17 Step 8/8 : RUN go mod download 07:04:17 ---> Running in eafd6460e34a 07:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 10.5% of statements 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.202s coverage: 32.5% of statements 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.256s coverage: 57.3% of statements 07:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.010s coverage: 6.6% of statements 07:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements 07:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:04:19 GO111MODULE=on go vet ./... 07:04:39 Removing intermediate container eafd6460e34a 07:04:39 ---> 91cdbe272768 07:04:39 Successfully built 91cdbe272768 07:04:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:04:39 + docker inspect -f . ci-base-image-x86_64 07:04:39 . [Pipeline] withDockerContainer 07:04:40 prd-centos7-docker-4c-2g-30850 does not seem to be running inside a container 07:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:04:40 $ docker top b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:41 + go version 07:04:41 go version go1.15.5 linux/amd64 [Pipeline] } 07:04:41 $ docker stop --time=1 b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 07:04:42 $ docker rm -f b88512a6eb3c55103149e79e84e09378314dbc2f1e25aead7998859402470046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:04:43 + docker inspect -f . ci-base-image-x86_64 07:04:43 . [Pipeline] withDockerContainer 07:04:44 prd-centos7-docker-4c-2g-30850 does not seem to be running inside a container 07:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:04:44 $ docker top 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:45 + make test 07:04:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:04:51 gofmt -l . 07:04:51 [ "`gofmt -l .`" = "" ] 07:04:51 ./bin/test-attribution-txt.sh 07:04:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:04:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:04:53 $ docker stop --time=1 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 07:04:55 $ docker rm -f 1c3c9898573bd326c00f986b2ab5411e5b6a8eed64ac29476def18d7b1441849 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:01 + ls -al . 07:05:01 total 220 07:05:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 07:04 . 07:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 .. 07:05:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 07:01 .dockerignore 07:05:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 07:01 .git 07:05:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 07:01 .github 07:05:01 -rw-rw-r-- 1 jenkins jenkins 138 Mar 22 07:01 .gitignore 07:05:01 -rw-rw-r-- 1 jenkins jenkins 949 Mar 22 07:01 Dockerfile.build 07:05:01 -rw-rw-r-- 1 jenkins jenkins 901 Mar 22 07:01 Jenkinsfile 07:05:01 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 07:01 LICENSE 07:05:01 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 22 07:01 Makefile 07:05:01 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 22 07:01 README.md 07:05:01 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 22 07:01 RELEASE-NOTES.txt 07:05:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 07:01 VERSION 07:05:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 07:01 bin 07:05:01 -rw-r--r-- 1 jenkins jenkins 99587 Mar 22 07:04 coverage.out 07:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 example 07:05:01 -rw-r--r-- 1 jenkins jenkins 479 Mar 22 07:04 go.mod 07:05:01 -rw-r--r-- 1 jenkins jenkins 17490 Mar 22 07:04 go.sum 07:05:01 drwxrwxr-x 13 jenkins jenkins 4096 Mar 22 07:01 internal 07:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 openapi 07:05:01 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 07:01 pkg 07:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 07:01 snap 07:05:01 -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 07:01 version.go [Pipeline] isUnix [Pipeline] sh 07:05:01 + 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=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d --label arch=arm64 --label version=0.0.0 . 07:05:02 Sending build context to Docker daemon 2.39MB 07:05:02 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:05:02 Step 2/24 : FROM ${BASE} AS builder 07:05:02 ---> 3c6b3344d26c 07:05:02 Step 3/24 : ARG MAKE='make build' 07:05:02 ---> Running in f220bafbbf7b 07:05:03 Removing intermediate container f220bafbbf7b 07:05:03 ---> bf0eb2d8d4d9 07:05:03 Step 4/24 : WORKDIR /device-sdk-go 07:05:03 ---> Running in 2ee8f2943919 07:05:03 Removing intermediate container 2ee8f2943919 07:05:03 ---> d8f6d78cb552 07:05:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:03 ---> Running in 43a1c97004fe 07:05:04 Removing intermediate container 43a1c97004fe 07:05:04 ---> 49df4345ee80 07:05:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:04 ---> Running in 6de3a6affe54 07:05:06 Removing intermediate container 6de3a6affe54 07:05:06 ---> e7ab41356d18 07:05:06 Step 7/24 : RUN apk add --update --no-cache make git 07:05:06 ---> Running in cbdd03460ac4 07:05:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:05:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:05:09 OK: 142 MiB in 39 packages 07:05:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:05:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:05:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:05:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:05:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.0% of statements 07:05:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 81.2% of statements 07:05:10 Removing intermediate container cbdd03460ac4 07:05:10 ---> 3c67e9a5321c 07:05:10 Step 8/24 : COPY . . 07:05:11 ---> 4b686e799010 07:05:11 Step 9/24 : RUN ${MAKE} 07:05:11 ---> Running in d1a5307b0eff 07:05:12 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 07:05:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:05:40 Removing intermediate container d1a5307b0eff 07:05:40 ---> 630c523c54e4 07:05:40 Step 10/24 : FROM scratch 07:05:40 ---> 07:05:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:40 ---> Running in 2a7bf331144b 07:05:41 Removing intermediate container 2a7bf331144b 07:05:41 ---> 73ed3cec36bc 07:05:41 Step 12/24 : ENV APP_PORT=49990 07:05:41 ---> Running in 7c5b07843e1d 07:05:41 Removing intermediate container 7c5b07843e1d 07:05:41 ---> d4aa60a7494c 07:05:41 Step 13/24 : EXPOSE $APP_PORT 07:05:41 ---> Running in 5e44e59d6e46 07:05:41 Removing intermediate container 5e44e59d6e46 07:05:41 ---> ee2d2acece72 07:05:41 Step 14/24 : WORKDIR / 07:05:42 ---> Running in 65020617cc18 07:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.072s coverage: 10.5% of statements 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.3% of statements 07:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.299s coverage: 6.6% of statements 07:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.380s coverage: 5.1% of statements 07:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:05:42 GO111MODULE=on go vet ./... 07:05:42 Removing intermediate container 65020617cc18 07:05:42 ---> b350c11843a9 07:05:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:05:43 ---> e728e76f396b 07:05:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:05:44 ---> 8ea3da862ee6 07:05:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:05:44 ---> a5735093f3c6 07:05:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:05:45 ---> 25d22c3378a3 07:05:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:05:46 ---> 7289e71f1051 07:05:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:05:46 ---> Running in 7862a82a23d6 07:05:47 Removing intermediate container 7862a82a23d6 07:05:47 ---> 5d2ade714084 07:05:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:05:47 ---> Running in d1379d79ab25 07:05:47 Removing intermediate container d1379d79ab25 07:05:47 ---> c51dbb7e3817 07:05:47 Step 22/24 : LABEL arch=arm64 07:05:47 ---> Running in 6e50e4f6f345 07:05:47 Removing intermediate container 6e50e4f6f345 07:05:47 ---> d59289f821fa 07:05:47 Step 23/24 : LABEL git_sha=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:05:48 ---> Running in 6e51847675d2 07:05:48 Removing intermediate container 6e51847675d2 07:05:48 ---> 41f2857d52ea 07:05:48 Step 24/24 : LABEL version=0.0.0 07:05:48 ---> Running in a708d07e25c0 07:05:49 Removing intermediate container a708d07e25c0 07:05:49 ---> 64e7f34cda02 07:05:49 [Warning] One or more build-args [ARCH] were not consumed 07:05:49 gofmt -l . 07:05:49 [ "`gofmt -l .`" = "" ] 07:05:49 ./bin/test-attribution-txt.sh 07:05:49 Successfully built 64e7f34cda02 07:05:49 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] } 07:05:50 ./bin/test-go-mod-tidy.sh [Pipeline] // stage Post stage [Pipeline] } 07:05:50 $ docker stop --time=1 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 07:05:52 $ docker rm -f 0023c17c1afd57e42eccb8e77f5c7c195b6e16bf7d2fa051b88357ddc274d154 [Pipeline] // withDockerContainer [Pipeline] sh 07:05:52 + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [Pipeline] stash 07:05:53 Warning: overwriting stash ‘coverage-report’ 07:05:53 ---> job-cost.sh 07:05:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tmVL 07:05:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:54 + ls -al . 07:05:54 total 184 07:05:54 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 22 07:05 . 07:05:54 drwxrwxr-x. 4 jenkins jenkins 28 Mar 22 07:03 .. 07:05:54 drwxrwxr-x. 2 jenkins jenkins 64 Mar 22 07:03 bin 07:05:54 -rw-r--r--. 1 jenkins jenkins 99587 Mar 22 07:05 coverage.out 07:05:54 -rw-rw-r--. 1 jenkins jenkins 949 Mar 22 07:03 Dockerfile.build 07:05:54 -rw-rw-r--. 1 jenkins jenkins 140 Mar 22 07:03 .dockerignore 07:05:54 drwxrwxr-x. 4 jenkins jenkins 48 Mar 22 07:03 example 07:05:54 drwxrwxr-x. 8 jenkins jenkins 179 Mar 22 07:03 .git 07:05:54 drwxrwxr-x. 2 jenkins jenkins 103 Mar 22 07:03 .github 07:05:54 -rw-rw-r--. 1 jenkins jenkins 138 Mar 22 07:03 .gitignore 07:05:54 -rw-r--r--. 1 jenkins jenkins 479 Mar 22 07:05 go.mod 07:05:54 -rw-r--r--. 1 jenkins jenkins 17490 Mar 22 07:05 go.sum 07:05:54 drwxrwxr-x. 13 jenkins jenkins 193 Mar 22 07:03 internal 07:05:54 -rw-rw-r--. 1 jenkins jenkins 901 Mar 22 07:03 Jenkinsfile 07:05:54 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 22 07:03 LICENSE 07:05:54 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 22 07:03 Makefile 07:05:54 drwxrwxr-x. 4 jenkins jenkins 26 Mar 22 07:03 openapi 07:05:54 drwxrwxr-x. 5 jenkins jenkins 50 Mar 22 07:03 pkg 07:05:54 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 22 07:03 README.md 07:05:54 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 22 07:03 RELEASE-NOTES.txt 07:05:54 drwxrwxr-x. 4 jenkins jenkins 54 Mar 22 07:03 snap 07:05:54 -rw-rw-r--. 1 jenkins jenkins 5 Mar 22 07:01 VERSION 07:05:54 -rw-rw-r--. 1 jenkins jenkins 222 Mar 22 07:03 version.go [Pipeline] isUnix [Pipeline] sh 07:05:54 + 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=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d --label arch=amd64 --label version=0.0.0 . 07:05:55 Sending build context to Docker daemon 2.384MB 07:05:55 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:05:55 Step 2/24 : FROM ${BASE} AS builder 07:05:55 ---> 91cdbe272768 07:05:55 Step 3/24 : ARG MAKE='make build' 07:05:55 ---> Running in 3fc5039f2ca8 07:05:55 Removing intermediate container 3fc5039f2ca8 07:05:55 ---> b9ab1bdef1d0 07:05:55 Step 4/24 : WORKDIR /device-sdk-go 07:05:55 ---> Running in b016e2b21048 07:05:55 Removing intermediate container b016e2b21048 07:05:55 ---> 134577b053eb 07:05:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:55 ---> Running in c9986f0e374a 07:05:55 Removing intermediate container c9986f0e374a 07:05:55 ---> a381750a7c89 07:05:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:55 ---> Running in 13918577309b 07:05:56 Removing intermediate container 13918577309b 07:05:56 ---> 613978052373 07:05:56 Step 7/24 : RUN apk add --update --no-cache make git 07:05:56 ---> Running in 5f952a6db8be 07:05:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:05:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:05:58 OK: 166 MiB in 39 packages 07:05:59 Removing intermediate container 5f952a6db8be 07:05:59 ---> 6b16efca139f 07:05:59 Step 8/24 : COPY . . 07:06:00 ---> ca64f02c7b21 07:06:00 Step 9/24 : RUN ${MAKE} 07:06:00 ---> Running in db28da2f58e9 07:06:00 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 07:06:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:06:11 Removing intermediate container db28da2f58e9 07:06:11 ---> 59b288d6ba8c 07:06:11 Step 10/24 : FROM scratch 07:06:11 ---> 07:06:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:06:11 ---> Running in 7b7c7698381b 07:06:11 Removing intermediate container 7b7c7698381b 07:06:11 ---> 248560604435 07:06:11 Step 12/24 : ENV APP_PORT=49990 07:06:11 ---> Running in aacd541ac31b 07:06:11 Removing intermediate container aacd541ac31b 07:06:11 ---> 11fd3ba75f5f 07:06:11 Step 13/24 : EXPOSE $APP_PORT 07:06:11 ---> Running in 378ef6df7e39 07:06:12 Removing intermediate container 378ef6df7e39 07:06:12 ---> 67636bba8e54 07:06:12 Step 14/24 : WORKDIR / 07:06:12 ---> Running in 6dbcff52e83f 07:06:12 Removing intermediate container 6dbcff52e83f 07:06:12 ---> 9e3e714a7c51 07:06:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:06:13 ---> ce2f9e5bc235 07:06:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:06:13 ---> 50e8a7071141 07:06:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:06:13 ---> ce66c53b7727 07:06:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:06:14 ---> 1de2f28ccef7 07:06:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:06:14 ---> a55538e9c111 07:06:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:06:14 ---> Running in 37ac6927d257 07:06:14 Removing intermediate container 37ac6927d257 07:06:14 ---> f3930306dc78 07:06:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:06:14 ---> Running in 5d8ddbab22b7 07:06:14 Removing intermediate container 5d8ddbab22b7 07:06:14 ---> 60a80fdd5b55 07:06:14 Step 22/24 : LABEL arch=amd64 07:06:14 ---> Running in 2941a2d82461 07:06:14 Removing intermediate container 2941a2d82461 07:06:14 ---> 94d9fe654e5f 07:06:14 Step 23/24 : LABEL git_sha=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d 07:06:15 ---> Running in df60adbc1e42 07:06:15 Removing intermediate container df60adbc1e42 07:06:15 ---> ee45c7e74040 07:06:15 Step 24/24 : LABEL version=0.0.0 07:06:15 ---> Running in 3e9da5ecc2b2 07:06:15 Removing intermediate container 3e9da5ecc2b2 07:06:15 ---> fc449db1b48a 07:06:15 [Warning] One or more build-args [ARCH] were not consumed 07:06:15 Successfully built fc449db1b48a 07:06:15 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 07:06:16 ---> job-cost.sh 07:06:16 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mYrT 07:06:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:06:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:06:58 lf-activate-venv(): INFO: Adding /tmp/venv-mYrT/bin to PATH 07:06:58 INFO: No Stack... 07:06:58 INFO: Retrieving Pricing Info for: v1-standard-2 07:06:58 INFO: Archiving Costs [Pipeline] sh 07:06:59 + cut -d, -f6 07:06:59 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 07:06:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] 07:06:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] did not exist. Created. 07:06:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:59 + echo total: 0.029999999329447746 [Pipeline] stash 07:07:00 Stashed 1 file(s) [Pipeline] } 07:07:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:08:08 lf-activate-venv(): INFO: Adding /tmp/venv-tmVL/bin to PATH 07:08:08 INFO: No Stack... 07:08:08 INFO: Retrieving Pricing Info for: lf-standard-4 07:08:08 INFO: Archiving Costs [Pipeline] sh 07:08:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:08:09 + cut -d, -f6 [Pipeline] lock 07:08:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] 07:08:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] did not exist. Created. 07:08:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:10 /w/workspace/device-sdk-go/1@tmp/durable-a2233174/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-a2233174/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:08:10 + echo total: 0.4099999964237213 [Pipeline] stash 07:08:10 Warning: overwriting stash ‘stack-cost’ 07:08:10 Stashed 1 file(s) [Pipeline] } 07:08:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-830-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:08:12 provisioning config files... 07:08:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config5827485506707465tmp [Pipeline] { [Pipeline] sh 07:08:13 + set +x 07:08:13 + bash -s -- 07:08:13 + curl -s https://codecov.io/bash 07:08:13 07:08:13 _____ _ 07:08:13 / ____| | | 07:08:13 | | ___ __| | ___ ___ _____ __ 07:08:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:13 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:13 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:13 Bash-20210309-2b87ace 07:08:13 07:08:13 07:08:13 ==> git version 2.24.3 found 07:08:13 ==> 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 07:08:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:08:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:08:13 ==> Jenkins CI detected. 07:08:13 project root: . 07:08:13 --> token set from env 07:08:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:13 ==> Running gcov in . (disable via -X gcov) 07:08:13 ==> Python coveragepy not found 07:08:13 ==> Searching for coverage reports in: 07:08:13 + . 07:08:13 -> Found 1 reports 07:08:13 ==> Detecting git/mercurial file structure 07:08:13 ==> Reading reports 07:08:13 + ./coverage.out bytes=99587 07:08:13 ==> Appending adjustments 07:08:13 https://docs.codecov.io/docs/fixing-reports 07:08:14 + Found adjustments 07:08:14 ==> Gzipping contents 07:08:14 16K /tmp/codecov.L65uox.gz 07:08:14 ==> Uploading reports 07:08:14 url: https://codecov.io 07:08:14 query: branch=PR-830&commit=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-830%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=830&job=&cmd_args= 07:08:14 -> Pinging Codecov 07:08:14 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-830&commit=7db8d7278dde61d744edc7112f7cd5f0c4bdf49d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-830%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=830&job=&cmd_args= 07:08:14 -> Uploading to 07:08:14 https://storage.googleapis.com/codecov/v4/raw/2021-03-22/7E55EF52A471D76F132DFD9A03CDDE97/7db8d7278dde61d744edc7112f7cd5f0c4bdf49d/afe010dd-2e00-44b9-bbec-5c5ecd97bd34.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210322T070814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b6d0792c2c17feb3f12d477dae406d0cdf37f7ed940d8431aa7625f98f85b00 07:08:14 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:14 Dload Upload Total Spent Left Speed 07:08:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13455 0 0 100 13455 0 31882 --:--:-- --:--:-- --:--:-- 31883 100 13455 0 0 100 13455 0 31865 --:--:-- --:--:-- --:--:-- 31808 07:08:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7db8d7278dde61d744edc7112f7cd5f0c4bdf49d [Pipeline] } 07:08:14 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 07:08:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:08:18 ---> package-listing.sh 07:08:18 ++ facter osfamily 07:08:18 ++ tr '[:upper:]' '[:lower:]' 07:08:18 + OS_FAMILY=redhat 07:08:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-830 07:08:18 + START_PACKAGES=/tmp/packages_start.txt 07:08:18 + END_PACKAGES=/tmp/packages_end.txt 07:08:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:08:18 + PACKAGES=/tmp/packages_start.txt 07:08:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-830 ']' 07:08:18 + PACKAGES=/tmp/packages_end.txt 07:08:18 + case "${OS_FAMILY}" in 07:08:18 + rpm -qa 07:08:18 + sort 07:08:27 + '[' -f /tmp/packages_start.txt ']' 07:08:27 + '[' -f /tmp/packages_end.txt ']' 07:08:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:08:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-830 ']' 07:08:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-830/archives/ 07:08:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-830/archives/ [Pipeline] echo 07:08:27 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-830/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:08:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:28 07:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:08:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:28 alpine: Pulling from edgex-lftools-log-publisher 07:08:28 df20fa9351a1: Pulling fs layer 07:08:28 36b3adc4ff6f: Pulling fs layer 07:08:28 8ad3a11d3b57: Pulling fs layer 07:08:28 46f8f816bc3b: Pulling fs layer 07:08:28 93b61091891f: Pulling fs layer 07:08:28 93b9cdb0e59b: Pulling fs layer 07:08:28 5e14af77c1be: Pulling fs layer 07:08:28 01666e4c0597: Pulling fs layer 07:08:28 aa168da1d23b: Pulling fs layer 07:08:28 46f8f816bc3b: Waiting 07:08:28 93b61091891f: Waiting 07:08:28 01666e4c0597: Waiting 07:08:28 5e14af77c1be: Waiting 07:08:28 93b9cdb0e59b: Waiting 07:08:29 36b3adc4ff6f: Verifying Checksum 07:08:29 36b3adc4ff6f: Download complete 07:08:29 46f8f816bc3b: Verifying Checksum 07:08:29 46f8f816bc3b: Download complete 07:08:29 df20fa9351a1: Verifying Checksum 07:08:29 df20fa9351a1: Download complete 07:08:29 93b9cdb0e59b: Verifying Checksum 07:08:29 93b9cdb0e59b: Download complete 07:08:29 5e14af77c1be: Verifying Checksum 07:08:29 5e14af77c1be: Download complete 07:08:29 93b61091891f: Download complete 07:08:29 01666e4c0597: Verifying Checksum 07:08:29 01666e4c0597: Download complete 07:08:29 df20fa9351a1: Pull complete 07:08:29 36b3adc4ff6f: Pull complete 07:08:30 8ad3a11d3b57: Download complete 07:08:31 8ad3a11d3b57: Pull complete 07:08:31 46f8f816bc3b: Pull complete 07:08:32 93b61091891f: Pull complete 07:08:33 93b9cdb0e59b: Pull complete 07:08:33 5e14af77c1be: Pull complete 07:08:33 01666e4c0597: Pull complete 07:08:33 aa168da1d23b: Verifying Checksum 07:08:33 aa168da1d23b: Download complete 07:08:49 aa168da1d23b: Pull complete 07:08:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:08:49 prd-centos7-docker-4c-2g-30849 does not seem to be running inside a container 07:08:49 $ 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-830/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-830 -v /w/workspace/dgexfoundry_device-sdk-go_PR-830:/w/workspace/dgexfoundry_device-sdk-go_PR-830:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:08:54 $ docker top fa38d21899e2b5625eea60c93b43a054a08fd3f42c4a3d8d8f4e34d0fcb4bef0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:08:56 + mkdir -p /var/log/sa [Pipeline] sh 07:08:56 + ls /var/log/sa-host 07:08:56 + sadf -c /var/log/sa-host/sa22 07:08:56 file_magic: OK 07:08:56 HZ: Using current value: 100 07:08:56 file_header: OK 07:08:56 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 07:08:56 Statistics: 07:08:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:08:56 File successfully converted to sysstat format version 12.2.1 07:08:56 + sadf -c /var/log/sa-host/sa23 07:08:56 file_magic: OK 07:08:56 HZ: Using current value: 100 07:08:56 file_header: OK 07:08:56 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 07:08:56 Statistics: 07:08:56 Hnuu...uuuununununu... 07:08:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:57 provisioning config files... 07:08:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-830@tmp/config437147308562368998tmp [Pipeline] { [Pipeline] echo 07:08:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:08:58 ---> create-netrc.sh [Pipeline] } 07:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:08:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:08:59 ---> python-tools-install.sh [Pipeline] echo 07:08:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:08:59 ---> sudo-logs.sh 07:08:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:08:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:00 ---> job-cost.sh 07:09:00 lf-activate-venv: SKIPPING 07:09:00 DEBUG: total: 0.4099999964237213 07:09:00 INFO: Retrieving Stack Cost... 07:09:00 INFO: Retrieving Pricing Info for: v1-standard-2 07:09:01 INFO: Archiving Costs [Pipeline] echo 07:09:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:03 ---> logs-deploy.sh 07:09:03 lf-activate-venv: SKIPPING 07:09:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-830/1 07:09:03 INFO: archiving workspace using pattern(s): 07:09:05 Archives upload complete. 07:09:06 INFO: archiving logs to Nexus 07:09:07 ---> uname -a: 07:09:07 Linux prd-centos7-docker-4c-2g-30849.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:09:07 07:09:07 07:09:07 ---> lscpu: 07:09:07 Architecture: x86_64 07:09:07 CPU op-mode(s): 32-bit, 64-bit 07:09:07 Byte Order: Little Endian 07:09:07 Address sizes: 40 bits physical, 48 bits virtual 07:09:07 CPU(s): 4 07:09:07 On-line CPU(s) list: 0-3 07:09:07 Thread(s) per core: 1 07:09:07 Core(s) per socket: 1 07:09:07 Socket(s): 4 07:09:07 NUMA node(s): 1 07:09:07 Vendor ID: GenuineIntel 07:09:07 CPU family: 6 07:09:07 Model: 44 07:09:07 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:09:07 Stepping: 1 07:09:07 CPU MHz: 2933.438 07:09:07 BogoMIPS: 5866.87 07:09:07 Virtualization: VT-x 07:09:07 Hypervisor vendor: KVM 07:09:07 Virtualization type: full 07:09:07 L1d cache: 128 KiB 07:09:07 L1i cache: 128 KiB 07:09:07 L2 cache: 16 MiB 07:09:07 L3 cache: 64 MiB 07:09:07 NUMA node0 CPU(s): 0-3 07:09:07 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:09:07 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:09:07 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:09:07 Vulnerability Meltdown: Mitigation; PTI 07:09:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:09:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:09:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:09:07 Vulnerability Srbds: Not affected 07:09:07 Vulnerability Tsx async abort: Not affected 07:09:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:09:07 07:09:07 07:09:07 ---> nproc: 07:09:07 4 07:09:07 07:09:07