Pull request #770 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b4f7d869f5f02dcd5930e14e7b459b8b1477f028+3aea893206dfece0cb943228d650ae216607898f (966b570a1b8260018f04be0ce506e9dd40c455b4) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-770/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-770/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24513 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [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-770 # 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 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 > 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/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # 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 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:47 ========================================================= 05:59:47 EdgeX Global Pipelines Version Info 05:59:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:49 ------------------- 05:59:49 stable info: 05:59:49 ------------------- 05:59:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:49 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:59:49 Message: update stable to v1.0.179 05:59:50 ------------------- 05:59:50 experimental info: 05:59:50 ------------------- 05:59:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:50 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:59:50 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:59:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-770 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-770 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-770 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4f7d86 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:55 provisioning config files... 05:59:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config4940314803364274128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:55 ---> docker-login.sh 05:59:55 nexus3.edgexfoundry.org:10001 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10002 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 nexus3.edgexfoundry.org:10003 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 nexus3.edgexfoundry.org:10004 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:58 Configure a credential helper to remove this warning. See 05:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:58 05:59:58 Login Succeeded 05:59:58 docker.io 05:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:58 Configure a credential helper to remove this warning. See 05:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:58 05:59:58 Login Succeeded 05:59:58 ---> docker-login.sh ends [Pipeline] } 05:59:58 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 05:59:59 + git log --format=format:%s -1 b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] echo 05:59:59 GIT_COMMIT: b4f7d869f5f02dcd5930e14e7b459b8b1477f028, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:59:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:00:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:01 06:00:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:00:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:01 latest: Pulling from edgex-devops/git-semver 06:00:01 31603596830f: Pulling fs layer 06:00:01 2a8b12db71e7: Pulling fs layer 06:00:01 6ca5941a6612: Pulling fs layer 06:00:01 ecc8261a40a4: Pulling fs layer 06:00:01 ecc8261a40a4: Waiting 06:00:01 2a8b12db71e7: Download complete 06:00:01 31603596830f: Verifying Checksum 06:00:01 31603596830f: Download complete 06:00:02 6ca5941a6612: Verifying Checksum 06:00:02 6ca5941a6612: Download complete 06:00:02 ecc8261a40a4: Verifying Checksum 06:00:02 ecc8261a40a4: Download complete 06:00:02 31603596830f: Pull complete 06:00:02 2a8b12db71e7: Pull complete 06:00:04 6ca5941a6612: Pull complete 06:00:04 ecc8261a40a4: Pull complete 06:00:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:00:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:00:04 prd-centos7-docker-4c-2g-24513 does not seem to be running inside a container 06:00:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-770 -v /w/workspace/dgexfoundry_device-sdk-go_PR-770:/w/workspace/dgexfoundry_device-sdk-go_PR-770:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-770@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 06:00:07 $ docker top 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:08 [ssh-agent] Looking for ssh-agent implementation... 06:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:08 $ docker exec 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent 06:00:08 SSH_AUTH_SOCK=/tmp/ssh-dodoFEJB52Ck/agent.11 06:00:08 SSH_AGENT_PID=16 06:00:08 Running ssh-add (command line suppressed) 06:00:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_5406110390081731758.key (/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_5406110390081731758.key) 06:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:09 + git tag --points-at HEAD [Pipeline] } 06:00:09 $ docker exec --env ******** --env ******** 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent -k 06:00:09 unset SSH_AUTH_SOCK; 06:00:09 unset SSH_AGENT_PID; 06:00:09 echo Agent pid 16 killed; 06:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:10 [ssh-agent] Looking for ssh-agent implementation... 06:00:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:10 $ docker exec 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent 06:00:11 SSH_AUTH_SOCK=/tmp/ssh-5tZPy66w9DbD/agent.44 06:00:11 SSH_AGENT_PID=49 06:00:11 Running ssh-add (command line suppressed) 06:00:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_1234545237846003327.key (/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_1234545237846003327.key) 06:00:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:12 + git semver init 06:00:12 # -> Open(): unable to determine branch for HEAD 06:00:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-770/.git 06:00:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-770 06:00:12 # $SEMVER_REMOTE_NAME = origin 06:00:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:00:12 # $SEMVER_USER_NAME = edgex-jenkins 06:00:12 # $SEMVER_BRANCH = PR-770 06:00:12 # $SEMVER_TEMP = /tmp/semver-757319554 06:00:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:00:13 # '/tmp/semver-757319554' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-770/.semver' 06:00:13 # -> Force: false 06:00:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-770/.semver [Pipeline] } 06:00:13 $ docker exec --env ******** --env ******** 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent -k 06:00:13 unset SSH_AUTH_SOCK; 06:00:13 unset SSH_AGENT_PID; 06:00:13 echo Agent pid 49 killed; 06:00:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:14 + git semver [Pipeline] } 06:00:14 $ docker stop --time=1 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 06:00:16 $ docker rm -f 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:17 Stashed 1 file(s) [Pipeline] echo 06:00:17 [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 06:00:33 Still waiting to schedule task 06:00:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:00:33 Still waiting to schedule task 06:00:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:01:01 Running on prd-centos7-docker-4c-2g-24516 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [Pipeline] { [Pipeline] ws 06:01:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:01:03 using credential edgex-jenkins-ssh 06:01:04 Cloning the remote Git repository 06:01:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:01:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:01:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:03 > git --version # timeout=10 06:01:03 > git --version # 'git version 2.24.3' 06:01:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:05 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:01:05 Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:01:05 Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) 06:01:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:04 > git config core.sparsecheckout # timeout=10 06:01:04 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 06:01:04 > git remote # timeout=10 06:01:04 > git config --get remote.origin.url # timeout=10 06:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:04 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 06:01:04 > git rev-parse HEAD^{commit} # timeout=10 06:01:04 > git config core.sparsecheckout # timeout=10 06:01:04 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 06:01:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 06:01:08 > git --version # timeout=10 06:01:08 > git --version # 'git version 2.24.3' 06:01:08 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:01:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:11 + true 06:01:11 + sudo service docker restart 06:01:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:12 provisioning config files... 06:01:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6354280879374962719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:12 ---> docker-login.sh 06:01:12 nexus3.edgexfoundry.org:10001 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10002 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10003 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10004 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 docker.io 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:14 Configure a credential helper to remove this warning. See 06:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:14 06:01:14 Login Succeeded 06:01:14 ---> docker-login.sh ends [Pipeline] } 06:01:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:14 ========================================================= 06:01:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:01:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:15 + 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 . 06:01:15 Sending build context to Docker daemon 2.499MB 06:01:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:01:15 Step 2/8 : FROM ${BASE} 06:01:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:15 188c0c94c7c5: Pulling fs layer 06:01:15 0ef7d3d256c8: Pulling fs layer 06:01:15 de9db76c5a1d: Pulling fs layer 06:01:15 bca2f99d35d6: Pulling fs layer 06:01:15 93359f2a8cfa: Pulling fs layer 06:01:15 7c6f9722023f: Pulling fs layer 06:01:15 a35cf1a2eb13: Pulling fs layer 06:01:15 bca2f99d35d6: Waiting 06:01:15 93359f2a8cfa: Waiting 06:01:15 7c6f9722023f: Waiting 06:01:15 a35cf1a2eb13: Waiting 06:01:15 de9db76c5a1d: Verifying Checksum 06:01:15 de9db76c5a1d: Download complete 06:01:15 0ef7d3d256c8: Verifying Checksum 06:01:15 0ef7d3d256c8: Download complete 06:01:15 93359f2a8cfa: Verifying Checksum 06:01:15 93359f2a8cfa: Download complete 06:01:15 188c0c94c7c5: Download complete 06:01:15 7c6f9722023f: Verifying Checksum 06:01:15 7c6f9722023f: Download complete 06:01:15 188c0c94c7c5: Pull complete 06:01:15 0ef7d3d256c8: Pull complete 06:01:15 de9db76c5a1d: Pull complete 06:01:17 a35cf1a2eb13: Verifying Checksum 06:01:17 a35cf1a2eb13: Download complete 06:01:18 bca2f99d35d6: Verifying Checksum 06:01:18 bca2f99d35d6: Download complete 06:01:23 bca2f99d35d6: Pull complete 06:01:23 93359f2a8cfa: Pull complete 06:01:23 7c6f9722023f: Pull complete 06:01:27 a35cf1a2eb13: Pull complete 06:01:27 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:01:27 ---> a62c8e92a672 06:01:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:27 ---> Running in badae14c2530 06:01:27 Removing intermediate container badae14c2530 06:01:27 ---> 515faa40f80c 06:01:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:27 ---> Running in 7b26f575606e 06:01:29 Removing intermediate container 7b26f575606e 06:01:29 ---> cfc91ab3afaf 06:01:29 Step 5/8 : RUN apk add --update --no-cache make git 06:01:29 ---> Running in 25d5d82d32c9 06:01:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:31 OK: 166 MiB in 39 packages 06:01:31 Removing intermediate container 25d5d82d32c9 06:01:31 ---> 7b8788bec182 06:01:31 Step 6/8 : WORKDIR /device-sdk-go 06:01:31 ---> Running in 258640f96ce4 06:01:32 Removing intermediate container 258640f96ce4 06:01:32 ---> 31e342a0c578 06:01:32 Step 7/8 : COPY . . 06:01:33 ---> 8fc039e6e2c0 06:01:33 Step 8/8 : RUN go mod download 06:01:33 ---> Running in 1ec8179c9cc7 06:01:51 Removing intermediate container 1ec8179c9cc7 06:01:51 ---> 4eba6007ffbb 06:01:51 Successfully built 4eba6007ffbb 06:01:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:52 + docker inspect -f . ci-base-image-x86_64 06:01:52 . [Pipeline] withDockerContainer 06:01:52 prd-centos7-docker-4c-2g-24516 does not seem to be running inside a container 06:01:52 $ 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 06:01:53 $ docker top f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:53 + go version 06:01:54 go version go1.15.5 linux/amd64 [Pipeline] } 06:01:54 $ docker stop --time=1 f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 06:01:55 $ docker rm -f f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:56 + docker inspect -f . ci-base-image-x86_64 06:01:56 . [Pipeline] withDockerContainer 06:01:57 prd-centos7-docker-4c-2g-24516 does not seem to be running inside a container 06:01:57 $ 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 06:01:57 $ docker top 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:58 + make test 06:01:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:02:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:02:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:02:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:02:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:02:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements 06:02:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements 06:02:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24518 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [Pipeline] { [Pipeline] ws 06:02:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:02:34 using credential edgex-jenkins-ssh 06:02:34 Cloning the remote Git repository 06:02:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:02:34 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:02:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:02:34 > git --version # timeout=10 06:02:34 > git --version # 'git version 2.17.1' 06:02:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:36 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:02:37 Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:02:37 Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) 06:02:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:02:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:02:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:02:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:02:36 > git config core.sparsecheckout # timeout=10 06:02:36 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 06:02:36 > git remote # timeout=10 06:02:37 > git config --get remote.origin.url # timeout=10 06:02:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:37 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 06:02:37 > git rev-parse HEAD^{commit} # timeout=10 06:02:37 > git config core.sparsecheckout # timeout=10 06:02:37 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 06:02:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 06:02:41 > git --version # timeout=10 06:02:41 > git --version # 'git version 2.17.1' 06:02:41 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:02:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:02:43 + sudo service docker restart 06:02:43 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:02:46 provisioning config files... 06:02:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3337855146584631799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:47 ---> docker-login.sh 06:02:47 nexus3.edgexfoundry.org:10001 06:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:48 Configure a credential helper to remove this warning. See 06:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:48 06:02:48 Login Succeeded 06:02:48 nexus3.edgexfoundry.org:10002 06:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10003 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10004 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:50 Configure a credential helper to remove this warning. See 06:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:50 06:02:50 Login Succeeded 06:02:50 docker.io 06:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:50 Configure a credential helper to remove this warning. See 06:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:50 06:02:50 Login Succeeded 06:02:50 ---> docker-login.sh ends [Pipeline] } 06:02:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:51 ========================================================= 06:02:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:02:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 9.4% of statements 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 21.7% of statements 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 43.6% of statements 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.269s coverage: 68.9% of statements 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 53.8% of statements 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 25.2% of statements 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements 06:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 06:02:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:51 GO111MODULE=on go vet ./... 06:02:51 + 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 . 06:02:52 Sending build context to Docker daemon 2.498MB 06:02:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:02:52 Step 2/8 : FROM ${BASE} 06:02:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:52 5f621e34cdf4: Pulling fs layer 06:02:52 a4357932f1b6: Pulling fs layer 06:02:52 18c013af1878: Pulling fs layer 06:02:52 00ac8860ef70: Pulling fs layer 06:02:52 63d7cb157983: Pulling fs layer 06:02:52 b116817d02f9: Pulling fs layer 06:02:52 745a02a5169b: Pulling fs layer 06:02:52 00ac8860ef70: Waiting 06:02:52 63d7cb157983: Waiting 06:02:52 b116817d02f9: Waiting 06:02:52 745a02a5169b: Waiting 06:02:52 18c013af1878: Download complete 06:02:52 a4357932f1b6: Verifying Checksum 06:02:52 a4357932f1b6: Download complete 06:02:52 63d7cb157983: Verifying Checksum 06:02:52 63d7cb157983: Download complete 06:02:52 b116817d02f9: Verifying Checksum 06:02:52 b116817d02f9: Download complete 06:02:52 5f621e34cdf4: Download complete 06:02:53 5f621e34cdf4: Pull complete 06:02:53 a4357932f1b6: Pull complete 06:02:54 18c013af1878: Pull complete 06:02:54 745a02a5169b: Download complete 06:02:56 00ac8860ef70: Verifying Checksum 06:02:56 00ac8860ef70: Download complete 06:03:04 gofmt -l . 06:03:04 [ "`gofmt -l .`" = "" ] 06:03:04 ./bin/test-attribution-txt.sh 06:03:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:03:04 $ docker stop --time=1 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 06:03:06 $ docker rm -f 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 06:03:06 00ac8860ef70: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 06:03:06 63d7cb157983: Pull complete 06:03:06 + sudo chown -R jenkins:jenkins . 06:03:06 b116817d02f9: Pull complete [Pipeline] stash 06:03:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:03:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:03:10 + ls -al . 06:03:10 total 216 06:03:10 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 06:03 . 06:03:10 drwxrwxr-x. 4 jenkins jenkins 28 Feb 2 06:01 .. 06:03:10 drwxrwxr-x. 2 jenkins jenkins 64 Feb 2 06:01 bin 06:03:10 -rw-r--r--. 1 jenkins jenkins 137332 Feb 2 06:02 coverage.out 06:03:10 -rw-rw-r--. 1 jenkins jenkins 949 Feb 2 06:01 Dockerfile.build 06:03:10 -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 06:01 .dockerignore 06:03:10 drwxrwxr-x. 4 jenkins jenkins 48 Feb 2 06:01 example 06:03:10 drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 06:01 .git 06:03:10 drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 06:01 .github 06:03:10 -rw-rw-r--. 1 jenkins jenkins 138 Feb 2 06:01 .gitignore 06:03:10 -rw-r--r--. 1 jenkins jenkins 515 Feb 2 06:03 go.mod 06:03:10 -rw-r--r--. 1 jenkins jenkins 14193 Feb 2 06:03 go.sum 06:03:10 drwxrwxr-x. 15 jenkins jenkins 211 Feb 2 06:01 internal 06:03:10 -rw-rw-r--. 1 jenkins jenkins 901 Feb 2 06:01 Jenkinsfile 06:03:10 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 2 06:01 LICENSE 06:03:10 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 2 06:01 Makefile 06:03:10 drwxrwxr-x. 4 jenkins jenkins 26 Feb 2 06:01 openapi 06:03:10 drwxrwxr-x. 5 jenkins jenkins 50 Feb 2 06:01 pkg 06:03:10 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 2 06:01 README.md 06:03:10 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 2 06:01 RELEASE-NOTES.txt 06:03:10 drwxrwxr-x. 4 jenkins jenkins 54 Feb 2 06:01 snap 06:03:10 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 06:00 VERSION 06:03:10 -rw-rw-r--. 1 jenkins jenkins 222 Feb 2 06:01 version.go [Pipeline] isUnix [Pipeline] sh 06:03:10 + 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=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 --label arch=amd64 --label version=0.0.0 . 06:03:10 Sending build context to Docker daemon 2.637MB 06:03:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:03:10 Step 2/24 : FROM ${BASE} AS builder 06:03:10 ---> 4eba6007ffbb 06:03:10 Step 3/24 : ARG MAKE='make build' 06:03:11 745a02a5169b: Pull complete 06:03:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:03:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:03:11 ---> b7e6874047d6 06:03:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:11 ---> Running in 42a0eac5a6e6 06:03:11 Removing intermediate container 42a0eac5a6e6 06:03:11 ---> 70ec4fa76d7f 06:03:11 Step 4/24 : WORKDIR /device-sdk-go 06:03:11 ---> Running in 3b28db49ee14 06:03:11 Removing intermediate container 3b28db49ee14 06:03:11 ---> 2f53c30c9ab2 06:03:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:11 ---> Running in fdf91d3bf530 06:03:11 Removing intermediate container fdf91d3bf530 06:03:11 ---> 89c6326b1eb0 06:03:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:12 ---> Running in 23943c566577 06:03:13 Removing intermediate container 23943c566577 06:03:13 ---> ec21da96aa1d 06:03:13 Step 7/24 : RUN apk add --update --no-cache make git 06:03:13 ---> Running in cb99bb5a7d88 06:03:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:03:13 ---> Running in 6816ceb89e18 06:03:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:03:14 Removing intermediate container 6816ceb89e18 06:03:14 ---> ca18419982de 06:03:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:14 ---> Running in f6b239b8a36b 06:03:15 OK: 166 MiB in 39 packages 06:03:15 Removing intermediate container cb99bb5a7d88 06:03:15 ---> 8e26fd177075 06:03:15 Step 8/24 : COPY . . 06:03:16 ---> e7b37c4052d3 06:03:16 Step 9/24 : RUN ${MAKE} 06:03:16 ---> Running in 7a07ad1b31bd 06:03:17 Removing intermediate container f6b239b8a36b 06:03:17 ---> 7c4081ba03b0 06:03:17 Step 5/8 : RUN apk add --update --no-cache make git 06:03:17 ---> Running in d50c4088e597 06:03:17 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 06:03:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:19 OK: 142 MiB in 39 packages 06:03:20 Removing intermediate container d50c4088e597 06:03:20 ---> d5756baba3ba 06:03:20 Step 6/8 : WORKDIR /device-sdk-go 06:03:20 ---> Running in 542cb165e3a5 06:03:21 Removing intermediate container 542cb165e3a5 06:03:21 ---> e065a61b793e 06:03:21 Step 7/8 : COPY . . 06:03:22 ---> cc93518fb4ab 06:03:22 Step 8/8 : RUN go mod download 06:03:22 ---> Running in 65b629976434 06:03:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:03:28 Removing intermediate container 7a07ad1b31bd 06:03:28 ---> d6c0106e67b3 06:03:28 Step 10/24 : FROM scratch 06:03:28 ---> 06:03:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:28 ---> Running in 881d494c161d 06:03:28 Removing intermediate container 881d494c161d 06:03:28 ---> af57f5a843fa 06:03:28 Step 12/24 : ENV APP_PORT=49990 06:03:28 ---> Running in 4a513bcfd1a9 06:03:28 Removing intermediate container 4a513bcfd1a9 06:03:28 ---> e8f50bfe43a8 06:03:28 Step 13/24 : EXPOSE $APP_PORT 06:03:28 ---> Running in 1354623d1311 06:03:28 Removing intermediate container 1354623d1311 06:03:28 ---> 43150616919f 06:03:28 Step 14/24 : WORKDIR / 06:03:28 ---> Running in 470d1429c7b7 06:03:28 Removing intermediate container 470d1429c7b7 06:03:28 ---> 8aee899b9b04 06:03:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:03:29 ---> 8ed7c6953684 06:03:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:03:29 ---> f03e654d90e7 06:03:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:03:29 ---> 02358241f8d8 06:03:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:03:30 ---> d37a637166a1 06:03:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:03:30 ---> e49c48ce0d7f 06:03:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:03:30 ---> Running in e884474a9572 06:03:30 Removing intermediate container e884474a9572 06:03:30 ---> 10e009457b31 06:03:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:30 ---> Running in 6b1b65f177d3 06:03:30 Removing intermediate container 6b1b65f177d3 06:03:30 ---> a5e0357fb39c 06:03:30 Step 22/24 : LABEL arch=amd64 06:03:31 ---> Running in 22f3294c6905 06:03:31 Removing intermediate container 22f3294c6905 06:03:31 ---> 9047e652257d 06:03:31 Step 23/24 : LABEL git_sha=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:03:31 ---> Running in 065e88101778 06:03:31 Removing intermediate container 065e88101778 06:03:31 ---> ef6959a596b9 06:03:31 Step 24/24 : LABEL version=0.0.0 06:03:31 ---> Running in 709011bc4174 06:03:31 Removing intermediate container 709011bc4174 06:03:31 ---> ce146df3b1fb 06:03:31 [Warning] One or more build-args [ARCH] were not consumed 06:03:31 Successfully built ce146df3b1fb 06:03:31 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:44 Removing intermediate container 65b629976434 06:03:44 ---> 05bc101b2fc1 06:03:44 Successfully built 05bc101b2fc1 06:03:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:03:45 + docker inspect -f . ci-base-image-arm64 06:03:45 . [Pipeline] withDockerContainer 06:03:45 prd-ubuntu18.04-docker-arm64-4c-16g-24518 does not seem to be running inside a container 06:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:47 $ docker top cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:48 + go version 06:03:48 go version go1.15.5 linux/arm64 [Pipeline] } 06:03:48 $ docker stop --time=1 cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 06:03:50 $ docker rm -f cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:03:51 + docker inspect -f . ci-base-image-arm64 06:03:51 . [Pipeline] withDockerContainer 06:03:51 prd-ubuntu18.04-docker-arm64-4c-16g-24518 does not seem to be running inside a container 06:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:53 $ docker top f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:54 + make test 06:03:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:04:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:04:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 19.4% of statements 06:05:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.157s coverage: 97.1% of statements 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.136s coverage: 9.4% of statements 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 21.7% of statements 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.604s coverage: 43.6% of statements 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.737s coverage: 68.9% of statements 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 53.8% of statements 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 25.2% of statements 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.731s coverage: 83.5% of statements 06:05:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements 06:05:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:05:28 GO111MODULE=on go vet ./... 06:06:07 gofmt -l . 06:06:07 [ "`gofmt -l .`" = "" ] 06:06:07 ./bin/test-attribution-txt.sh 06:06:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:06:07 $ docker stop --time=1 f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c 06:06:09 $ docker rm -f f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c [Pipeline] // withDockerContainer [Pipeline] sh 06:06:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:06:10 Warning: overwriting stash ‘coverage-report’ 06:06:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:12 + ls -al . 06:06:12 total 252 06:06:12 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 06:06 . 06:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 .. 06:06:12 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 06:02 .dockerignore 06:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 06:02 .git 06:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:02 .github 06:06:12 -rw-rw-r-- 1 jenkins jenkins 138 Feb 2 06:02 .gitignore 06:06:12 -rw-rw-r-- 1 jenkins jenkins 949 Feb 2 06:02 Dockerfile.build 06:06:12 -rw-rw-r-- 1 jenkins jenkins 901 Feb 2 06:02 Jenkinsfile 06:06:12 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 06:02 LICENSE 06:06:12 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 2 06:02 Makefile 06:06:12 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 2 06:02 README.md 06:06:12 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 2 06:02 RELEASE-NOTES.txt 06:06:12 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 06:00 VERSION 06:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:02 bin 06:06:12 -rw-r--r-- 1 jenkins jenkins 137332 Feb 2 06:05 coverage.out 06:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 example 06:06:12 -rw-r--r-- 1 jenkins jenkins 515 Feb 2 06:06 go.mod 06:06:12 -rw-r--r-- 1 jenkins jenkins 14193 Feb 2 06:06 go.sum 06:06:12 drwxrwxr-x 15 jenkins jenkins 4096 Feb 2 06:02 internal 06:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 openapi 06:06:12 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 06:02 pkg 06:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 snap 06:06:12 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 06:02 version.go [Pipeline] isUnix [Pipeline] sh 06:06:13 + 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=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 --label arch=arm64 --label version=0.0.0 . 06:06:13 Sending build context to Docker daemon 2.636MB 06:06:13 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:06:13 Step 2/24 : FROM ${BASE} AS builder 06:06:13 ---> 05bc101b2fc1 06:06:13 Step 3/24 : ARG MAKE='make build' 06:06:14 ---> Running in aaed0a7ad269 06:06:14 Removing intermediate container aaed0a7ad269 06:06:14 ---> ce6b521d7297 06:06:14 Step 4/24 : WORKDIR /device-sdk-go 06:06:14 ---> Running in 56f6706c8410 06:06:15 Removing intermediate container 56f6706c8410 06:06:15 ---> 92b2a1871436 06:06:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:15 ---> Running in f6b06c1f4bec 06:06:15 Removing intermediate container f6b06c1f4bec 06:06:15 ---> 05973012c509 06:06:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:15 ---> Running in 30bd71257c6c 06:06:17 Removing intermediate container 30bd71257c6c 06:06:17 ---> e1a69dcb703b 06:06:17 Step 7/24 : RUN apk add --update --no-cache make git 06:06:18 ---> Running in bd10fc16adde 06:06:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:06:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:06:21 OK: 142 MiB in 39 packages 06:06:22 Removing intermediate container bd10fc16adde 06:06:22 ---> 2e7ebc644ee3 06:06:22 Step 8/24 : COPY . . 06:06:23 ---> bcb96536a6ba 06:06:23 Step 9/24 : RUN ${MAKE} 06:06:23 ---> Running in 8dc4a08727e2 06:06:24 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 06:06:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:06:51 Removing intermediate container 8dc4a08727e2 06:06:51 ---> 59e2f30bf76a 06:06:51 Step 10/24 : FROM scratch 06:06:51 ---> 06:06:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:52 ---> Running in 3f8689e8a9a3 06:06:52 Removing intermediate container 3f8689e8a9a3 06:06:52 ---> 1761b95a73f5 06:06:52 Step 12/24 : ENV APP_PORT=49990 06:06:52 ---> Running in 768eea3e042a 06:06:52 Removing intermediate container 768eea3e042a 06:06:52 ---> 2f14bdd055e2 06:06:52 Step 13/24 : EXPOSE $APP_PORT 06:06:53 ---> Running in 415b03759c7c 06:06:53 Removing intermediate container 415b03759c7c 06:06:53 ---> e3f4b94cad39 06:06:53 Step 14/24 : WORKDIR / 06:06:53 ---> Running in 631e061e2954 06:06:54 Removing intermediate container 631e061e2954 06:06:54 ---> 8fda6d9640d7 06:06:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:06:55 ---> e7ffc74a7f71 06:06:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:06:56 ---> 626bde8d14f6 06:06:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:06:56 ---> 36c37df73a17 06:06:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:06:57 ---> c5c8478750cd 06:06:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:06:58 ---> ac50a9896d14 06:06:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:06:58 ---> Running in d072c3276491 06:06:58 Removing intermediate container d072c3276491 06:06:58 ---> d2fc530ca1c7 06:06:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:06:58 ---> Running in ba22fba6fd76 06:06:59 Removing intermediate container ba22fba6fd76 06:06:59 ---> f20d3eae5df9 06:06:59 Step 22/24 : LABEL arch=arm64 06:06:59 ---> Running in 0aa5f22c0de6 06:07:00 Removing intermediate container 0aa5f22c0de6 06:07:00 ---> c3bd47296dec 06:07:00 Step 23/24 : LABEL git_sha=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 06:07:00 ---> Running in 7e21559caa19 06:07:00 Removing intermediate container 7e21559caa19 06:07:00 ---> 4b67b0b8c30c 06:07:00 Step 24/24 : LABEL version=0.0.0 06:07:00 ---> Running in 9f1e9087d036 06:07:01 Removing intermediate container 9f1e9087d036 06:07:01 ---> 3e766b985f9a 06:07:01 [Warning] One or more build-args [ARCH] were not consumed 06:07:01 Successfully built 3e766b985f9a 06:07:01 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:07:03 provisioning config files... 06:07:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config7436031733956289782tmp [Pipeline] { [Pipeline] sh 06:07:04 + set +x 06:07:04 + bash -s -- 06:07:04 + curl -s https://codecov.io/bash 06:07:04 06:07:04 _____ _ 06:07:04 / ____| | | 06:07:04 | | ___ __| | ___ ___ _____ __ 06:07:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:07:04 | |___| (_) | (_| | __/ (_| (_) \ V / 06:07:04 \_____\___/ \__,_|\___|\___\___/ \_/ 06:07:04 Bash-20210129-7c25fce 06:07:04 06:07:04 06:07:04 ==> git version 2.24.3 found 06:07:04 ==> 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 06:07:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:07:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:07:04 ==> Jenkins CI detected. 06:07:04 project root: . 06:07:04 --> token set from env 06:07:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:07:04 ==> Running gcov in . (disable via -X gcov) 06:07:04 ==> Python coveragepy not found 06:07:04 ==> Searching for coverage reports in: 06:07:04 + . 06:07:04 -> Found 1 reports 06:07:04 ==> Detecting git/mercurial file structure 06:07:04 ==> Reading reports 06:07:04 + ./coverage.out bytes=137332 06:07:04 ==> Appending adjustments 06:07:04 https://docs.codecov.io/docs/fixing-reports 06:07:05 + Found adjustments 06:07:05 ==> Gzipping contents 06:07:05 24K /tmp/codecov.pvxHHZ.gz 06:07:05 ==> Uploading reports 06:07:05 url: https://codecov.io 06:07:05 query: branch=PR-770&commit=b4f7d869f5f02dcd5930e14e7b459b8b1477f028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-770%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=770&job=&cmd_args= 06:07:05 -> Pinging Codecov 06:07:05 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-770&commit=b4f7d869f5f02dcd5930e14e7b459b8b1477f028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-770%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=770&job=&cmd_args= 06:07:06 -> Uploading to 06:07:06 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/7E55EF52A471D76F132DFD9A03CDDE97/b4f7d869f5f02dcd5930e14e7b459b8b1477f028/8ad6d9e0-6035-4afa-b332-c324804f62d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T060705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a6c02814a4924843c45e132c17547ced4e1dedee4edc02663138b3b2d837c6c 06:07:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:06 Dload Upload Total Spent Left Speed 06:07:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21626 0 0 100 21626 0 47018 --:--:-- --:--:-- --:--:-- 47115 06:07:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] } 06:07:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:07:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:10 ---> package-listing.sh 06:07:10 ++ facter osfamily 06:07:10 ++ tr '[:upper:]' '[:lower:]' 06:07:11 + OS_FAMILY=redhat 06:07:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-770 06:07:11 + START_PACKAGES=/tmp/packages_start.txt 06:07:11 + END_PACKAGES=/tmp/packages_end.txt 06:07:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:11 + PACKAGES=/tmp/packages_start.txt 06:07:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-770 ']' 06:07:11 + PACKAGES=/tmp/packages_end.txt 06:07:11 + case "${OS_FAMILY}" in 06:07:11 + rpm -qa 06:07:11 + sort 06:07:17 + '[' -f /tmp/packages_start.txt ']' 06:07:17 + '[' -f /tmp/packages_end.txt ']' 06:07:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-770 ']' 06:07:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-770/archives/ 06:07:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-770/archives/ [Pipeline] echo 06:07:17 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-770/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:07:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:18 06:07:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:07:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:19 alpine: Pulling from edgex-lftools-log-publisher 06:07:19 df20fa9351a1: Pulling fs layer 06:07:19 36b3adc4ff6f: Pulling fs layer 06:07:19 8ad3a11d3b57: Pulling fs layer 06:07:19 46f8f816bc3b: Pulling fs layer 06:07:19 93b61091891f: Pulling fs layer 06:07:19 93b9cdb0e59b: Pulling fs layer 06:07:19 5e14af77c1be: Pulling fs layer 06:07:19 01666e4c0597: Pulling fs layer 06:07:19 aa168da1d23b: Pulling fs layer 06:07:19 46f8f816bc3b: Waiting 06:07:19 93b61091891f: Waiting 06:07:19 93b9cdb0e59b: Waiting 06:07:19 5e14af77c1be: Waiting 06:07:19 01666e4c0597: Waiting 06:07:19 aa168da1d23b: Waiting 06:07:19 36b3adc4ff6f: Verifying Checksum 06:07:19 36b3adc4ff6f: Download complete 06:07:19 46f8f816bc3b: Verifying Checksum 06:07:19 46f8f816bc3b: Download complete 06:07:19 df20fa9351a1: Verifying Checksum 06:07:19 df20fa9351a1: Download complete 06:07:19 93b9cdb0e59b: Verifying Checksum 06:07:19 93b9cdb0e59b: Download complete 06:07:19 5e14af77c1be: Verifying Checksum 06:07:19 5e14af77c1be: Download complete 06:07:19 01666e4c0597: Verifying Checksum 06:07:19 01666e4c0597: Download complete 06:07:19 93b61091891f: Verifying Checksum 06:07:19 93b61091891f: Download complete 06:07:20 df20fa9351a1: Pull complete 06:07:20 8ad3a11d3b57: Verifying Checksum 06:07:20 8ad3a11d3b57: Download complete 06:07:20 36b3adc4ff6f: Pull complete 06:07:22 8ad3a11d3b57: Pull complete 06:07:22 46f8f816bc3b: Pull complete 06:07:24 93b61091891f: Pull complete 06:07:24 93b9cdb0e59b: Pull complete 06:07:24 5e14af77c1be: Pull complete 06:07:24 01666e4c0597: Pull complete 06:07:25 aa168da1d23b: Verifying Checksum 06:07:25 aa168da1d23b: Download complete 06:07:41 aa168da1d23b: Pull complete 06:07:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:07:41 prd-centos7-docker-4c-2g-24513 does not seem to be running inside a container 06:07:41 $ 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-770/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-770 -v /w/workspace/dgexfoundry_device-sdk-go_PR-770:/w/workspace/dgexfoundry_device-sdk-go_PR-770:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-770@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 06:07:44 $ docker top aabac296b4cfe35dec40b9e643748e4b430bc59e8a9c7a6399db92ffac3119f4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:45 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:46 + mkdir -p /var/log/sa [Pipeline] sh 06:07:46 + ls /var/log/sa-host 06:07:46 + sadf -c /var/log/sa-host/sa02 06:07:46 file_magic: OK 06:07:46 HZ: Using current value: 100 06:07:46 file_header: OK 06:07:46 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 06:07:46 Statistics: 06:07:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:07:46 File successfully converted to sysstat format version 12.2.1 06:07:46 + sadf -c /var/log/sa-host/sa23 06:07:46 file_magic: OK 06:07:46 HZ: Using current value: 100 06:07:46 file_header: OK 06:07:46 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 06:07:46 Statistics: 06:07:46 Hnuu...uuuununununu... 06:07:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:46 provisioning config files... 06:07:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config4596945940733046151tmp [Pipeline] { [Pipeline] echo 06:07:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:47 ---> create-netrc.sh [Pipeline] } 06:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:07:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:07:48 ---> python-tools-install.sh [Pipeline] echo 06:07:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:48 ---> sudo-logs.sh 06:07:48 Archiving 'sudo' log.. [Pipeline] echo 06:07:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:49 ---> job-cost.sh 06:07:49 lf-activate-venv: SKIPPING 06:07:49 INFO: No Stack... 06:07:50 INFO: Retrieving Pricing Info for: v1-standard-2 06:07:50 INFO: Archiving Costs [Pipeline] echo 06:07:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:51 ---> logs-deploy.sh 06:07:51 lf-activate-venv: SKIPPING 06:07:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-770/1 06:07:51 INFO: archiving workspace using pattern(s): 06:07:54 Archives upload complete. 06:07:54 INFO: archiving logs to Nexus