Pull request #763 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7cc05283413387bf8f3efd50400048b5b123b666+76d059c2e27a3d5d488ff0022063f09e99d334bf (1151aba85abac223df97de4bccd52194e551e130) 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-763/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-763/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23373 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [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-763 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) > 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 Commit message: "feat: make DeviceService struct updatable" 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 07:57:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:57:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:57:26 ========================================================= 07:57:26 EdgeX Global Pipelines Version Info 07:57:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:57:28 ------------------- 07:57:28 stable info: 07:57:28 ------------------- 07:57:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:57:28 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:57:28 Message: update stable to v1.0.179 07:57:29 ------------------- 07:57:29 experimental info: 07:57:29 ------------------- 07:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:57:29 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:57:29 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:57:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:57:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:57:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:57:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:57:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:57:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:57:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cc0528 [Pipeline] echo 07:57:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:57:36 provisioning config files... 07:57:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config5669040048559369952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:36 ---> docker-login.sh 07:57:36 nexus3.edgexfoundry.org:10001 07:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:37 Configure a credential helper to remove this warning. See 07:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:37 07:57:37 Login Succeeded 07:57:37 nexus3.edgexfoundry.org:10002 07:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:37 Configure a credential helper to remove this warning. See 07:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:37 07:57:37 Login Succeeded 07:57:37 nexus3.edgexfoundry.org:10003 07:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:37 Configure a credential helper to remove this warning. See 07:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:37 07:57:37 Login Succeeded 07:57:37 nexus3.edgexfoundry.org:10004 07:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:37 Configure a credential helper to remove this warning. See 07:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:37 07:57:37 Login Succeeded 07:57:37 docker.io 07:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:38 Configure a credential helper to remove this warning. See 07:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:38 07:57:38 Login Succeeded 07:57:38 ---> docker-login.sh ends [Pipeline] } 07:57:38 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:57:39 + git log --format=format:%s -1 7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] echo 07:57:39 GIT_COMMIT: 7cc05283413387bf8f3efd50400048b5b123b666, Commit Message: feat: make DeviceService struct updatable [Pipeline] echo 07:57:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:57:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:40 07:57:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:57:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:41 latest: Pulling from edgex-devops/git-semver 07:57:41 31603596830f: Pulling fs layer 07:57:41 2a8b12db71e7: Pulling fs layer 07:57:41 6ca5941a6612: Pulling fs layer 07:57:41 ecc8261a40a4: Pulling fs layer 07:57:41 ecc8261a40a4: Waiting 07:57:41 2a8b12db71e7: Verifying Checksum 07:57:41 2a8b12db71e7: Download complete 07:57:41 31603596830f: Verifying Checksum 07:57:41 31603596830f: Download complete 07:57:41 6ca5941a6612: Verifying Checksum 07:57:41 6ca5941a6612: Download complete 07:57:41 ecc8261a40a4: Verifying Checksum 07:57:41 ecc8261a40a4: Download complete 07:57:41 31603596830f: Pull complete 07:57:42 2a8b12db71e7: Pull complete 07:57:42 6ca5941a6612: Pull complete 07:57:42 ecc8261a40a4: Pull complete 07:57:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:57:42 prd-centos7-docker-4c-2g-23373 does not seem to be running inside a container 07:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:57:45 $ docker top 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:45 [ssh-agent] Looking for ssh-agent implementation... 07:57:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:45 $ docker exec 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent 07:57:46 SSH_AUTH_SOCK=/tmp/ssh-TQC2EByehVIF/agent.12 07:57:46 SSH_AGENT_PID=17 07:57:46 Running ssh-add (command line suppressed) 07:57:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9122359522244536527.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_9122359522244536527.key) 07:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:46 + git tag --points-at HEAD [Pipeline] } 07:57:46 $ docker exec --env ******** --env ******** 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent -k 07:57:46 unset SSH_AUTH_SOCK; 07:57:46 unset SSH_AGENT_PID; 07:57:46 echo Agent pid 17 killed; 07:57:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:47 [ssh-agent] Looking for ssh-agent implementation... 07:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:47 $ docker exec 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent 07:57:47 SSH_AUTH_SOCK=/tmp/ssh-ie0dW84ebvRj/agent.46 07:57:47 SSH_AGENT_PID=52 07:57:47 Running ssh-add (command line suppressed) 07:57:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_171116649843557296.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_171116649843557296.key) 07:57:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:48 + git semver init 07:57:48 # -> Open(): unable to determine branch for HEAD 07:57:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 07:57:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 07:57:48 # $SEMVER_REMOTE_NAME = origin 07:57:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:57:48 # $SEMVER_USER_NAME = edgex-jenkins 07:57:48 # $SEMVER_BRANCH = PR-763 07:57:48 # $SEMVER_TEMP = /tmp/semver-343487466 07:57:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:57:48 # '/tmp/semver-343487466' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 07:57:48 # -> Force: false 07:57:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 07:57:48 $ docker exec --env ******** --env ******** 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 ssh-agent -k 07:57:49 unset SSH_AUTH_SOCK; 07:57:49 unset SSH_AGENT_PID; 07:57:49 echo Agent pid 52 killed; 07:57:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:49 + git semver [Pipeline] } 07:57:49 $ docker stop --time=1 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 07:57:51 $ docker rm -f 8d7f2d891bebfab863c56f87d9bb7d8102d4d2bdae253c3922bf6929fa1f9a63 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:57:52 Stashed 1 file(s) [Pipeline] echo 07:57:52 [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:57:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23370 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 07:57:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:57:57 using credential edgex-jenkins-ssh 07:57:57 Cloning the remote Git repository 07:57:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:57:57 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:57:57 > git --version # timeout=10 07:57:57 > git --version # 'git version 2.17.1' 07:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:57:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:57:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:57:59 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 07:57:59 Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 07:57:59 Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) 07:57:59 > git config core.sparsecheckout # timeout=10 07:57:59 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 07:57:59 > git remote # timeout=10 07:57:59 > git config --get remote.origin.url # timeout=10 07:57:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:59 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 07:57:59 > git rev-parse HEAD^{commit} # timeout=10 07:57:59 > git config core.sparsecheckout # timeout=10 07:57:59 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 07:58:04 Commit message: "feat: make DeviceService struct updatable" 07:58:04 > git --version # timeout=10 07:58:04 > git --version # 'git version 2.17.1' 07:58:04 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:58:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:58:06 + sudo service docker restart 07:58:06 + true 07:58:07 Still waiting to schedule task 07:58:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:58:08 provisioning config files... 07:58:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6065815475929064779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:09 ---> docker-login.sh 07:58:09 nexus3.edgexfoundry.org:10001 07:58:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:10 Configure a credential helper to remove this warning. See 07:58:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:10 07:58:10 Login Succeeded 07:58:10 nexus3.edgexfoundry.org:10002 07:58:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:11 Configure a credential helper to remove this warning. See 07:58:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:11 07:58:11 Login Succeeded 07:58:11 nexus3.edgexfoundry.org:10003 07:58:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:11 Configure a credential helper to remove this warning. See 07:58:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:11 07:58:11 Login Succeeded 07:58:11 nexus3.edgexfoundry.org:10004 07:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:12 Configure a credential helper to remove this warning. See 07:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:12 07:58:12 Login Succeeded 07:58:12 docker.io 07:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:12 Configure a credential helper to remove this warning. See 07:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:12 07:58:12 Login Succeeded 07:58:12 ---> docker-login.sh ends [Pipeline] } 07:58:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:13 ========================================================= 07:58:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:58:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:58:14 + 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:58:14 Sending build context to Docker daemon 2.643MB 07:58:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:58:14 Step 2/8 : FROM ${BASE} 07:58:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:58:14 5f621e34cdf4: Pulling fs layer 07:58:14 a4357932f1b6: Pulling fs layer 07:58:14 18c013af1878: Pulling fs layer 07:58:14 00ac8860ef70: Pulling fs layer 07:58:14 63d7cb157983: Pulling fs layer 07:58:14 b116817d02f9: Pulling fs layer 07:58:14 745a02a5169b: Pulling fs layer 07:58:14 00ac8860ef70: Waiting 07:58:14 63d7cb157983: Waiting 07:58:14 b116817d02f9: Waiting 07:58:14 745a02a5169b: Waiting 07:58:14 18c013af1878: Download complete 07:58:14 a4357932f1b6: Verifying Checksum 07:58:14 a4357932f1b6: Download complete 07:58:14 63d7cb157983: Verifying Checksum 07:58:14 63d7cb157983: Download complete 07:58:14 b116817d02f9: Verifying Checksum 07:58:14 b116817d02f9: Download complete 07:58:15 5f621e34cdf4: Verifying Checksum 07:58:15 5f621e34cdf4: Download complete 07:58:15 5f621e34cdf4: Pull complete 07:58:16 a4357932f1b6: Pull complete 07:58:16 18c013af1878: Pull complete 07:58:17 745a02a5169b: Verifying Checksum 07:58:17 745a02a5169b: Download complete 07:58:18 00ac8860ef70: Download complete 07:58:31 00ac8860ef70: Pull complete 07:58:31 63d7cb157983: Pull complete 07:58:31 b116817d02f9: Pull complete 07:58:33 745a02a5169b: Pull complete 07:58:33 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:58:33 ---> b7e6874047d6 07:58:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:58:36 ---> Running in d69337faee28 07:58:36 Removing intermediate container d69337faee28 07:58:36 ---> c956dd5a9a4e 07:58:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:36 ---> Running in e0db7cfade62 07:58:39 Removing intermediate container e0db7cfade62 07:58:39 ---> de28528c3702 07:58:39 Step 5/8 : RUN apk add --update --no-cache make git 07:58:39 ---> Running in 650355c5cd47 07:58:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:58:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:58:41 OK: 142 MiB in 39 packages 07:58:43 Removing intermediate container 650355c5cd47 07:58:43 ---> 254cf27e2b5f 07:58:43 Step 6/8 : WORKDIR /device-sdk-go 07:58:43 ---> Running in a3da3b438ae3 07:58:43 Removing intermediate container a3da3b438ae3 07:58:43 ---> 1dc6eeb80015 07:58:43 Step 7/8 : COPY . . 07:58:44 ---> 20907e2583e9 07:58:44 Step 8/8 : RUN go mod download 07:58:45 ---> Running in bb5a1e514888 07:59:07 Removing intermediate container bb5a1e514888 07:59:07 ---> bc0f25444841 07:59:07 Successfully built bc0f25444841 07:59:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:59:07 + docker inspect -f . ci-base-image-arm64 07:59:07 . [Pipeline] withDockerContainer 07:59:08 prd-ubuntu18.04-docker-arm64-4c-16g-23370 does not seem to be running inside a container 07:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:09 $ docker top 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:10 + go version 07:59:10 go version go1.15.5 linux/arm64 [Pipeline] } 07:59:10 $ docker stop --time=1 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 07:59:12 $ docker rm -f 1ad5dea13a6f61897cf21073f521016ebe8583fd82781d56ce1489ae449d7e37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:59:13 + docker inspect -f . ci-base-image-arm64 07:59:13 . [Pipeline] withDockerContainer 07:59:14 prd-ubuntu18.04-docker-arm64-4c-16g-23370 does not seem to be running inside a container 07:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:15 $ docker top 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:16 + make test 07:59:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:59:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:00:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:00:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:00:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:00:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 19.4% of statements 08:00:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.170s coverage: 97.1% of statements 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 9.4% of statements 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 21.7% of statements 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.601s coverage: 43.6% of statements 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.776s coverage: 68.9% of statements 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 53.8% of statements 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.162s coverage: 25.2% of statements 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.905s coverage: 83.5% of statements 08:00:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements 08:00:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:00:55 GO111MODULE=on go vet ./... 08:00:59 Running on prd-centos7-docker-4c-2g-23374 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 08:00:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:01:06 using credential edgex-jenkins-ssh 08:01:06 Cloning the remote Git repository 08:01:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:01:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:01:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:06 > git --version # timeout=10 08:01:06 > git --version # 'git version 2.24.3' 08:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:01:08 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 7cc05283413387bf8f3efd50400048b5b123b666 08:01:08 Merge succeeded, producing 7cc05283413387bf8f3efd50400048b5b123b666 08:01:08 Checking out Revision 7cc05283413387bf8f3efd50400048b5b123b666 (PR-763) 08:01:08 > git config core.sparsecheckout # timeout=10 08:01:08 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 08:01:08 > git remote # timeout=10 08:01:08 > git config --get remote.origin.url # timeout=10 08:01:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:08 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 08:01:08 > git rev-parse HEAD^{commit} # timeout=10 08:01:08 > git config core.sparsecheckout # timeout=10 08:01:08 > git checkout -f 7cc05283413387bf8f3efd50400048b5b123b666 # timeout=10 08:01:13 Commit message: "feat: make DeviceService struct updatable" 08:01:13 > git --version # timeout=10 08:01:13 > git --version # 'git version 2.24.3' 08:01:13 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:01:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:01:15 + true 08:01:15 + sudo service docker restart 08:01:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:01:17 provisioning config files... 08:01:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3180263747529608029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:18 ---> docker-login.sh 08:01:18 nexus3.edgexfoundry.org:10001 08:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:19 Configure a credential helper to remove this warning. See 08:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:19 08:01:19 Login Succeeded 08:01:19 nexus3.edgexfoundry.org:10002 08:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:19 Configure a credential helper to remove this warning. See 08:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:19 08:01:19 Login Succeeded 08:01:19 nexus3.edgexfoundry.org:10003 08:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:20 Configure a credential helper to remove this warning. See 08:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:20 08:01:20 Login Succeeded 08:01:20 nexus3.edgexfoundry.org:10004 08:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:20 Configure a credential helper to remove this warning. See 08:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:20 08:01:20 Login Succeeded 08:01:20 docker.io 08:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:21 Configure a credential helper to remove this warning. See 08:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:21 08:01:21 Login Succeeded 08:01:21 ---> docker-login.sh ends [Pipeline] } 08:01:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:22 ========================================================= 08:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:01:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:01:22 + 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 . 08:01:23 Sending build context to Docker daemon 2.637MB 08:01:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:01:23 Step 2/8 : FROM ${BASE} 08:01:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:01:23 188c0c94c7c5: Pulling fs layer 08:01:23 0ef7d3d256c8: Pulling fs layer 08:01:23 de9db76c5a1d: Pulling fs layer 08:01:23 bca2f99d35d6: Pulling fs layer 08:01:23 93359f2a8cfa: Pulling fs layer 08:01:23 7c6f9722023f: Pulling fs layer 08:01:23 a35cf1a2eb13: Pulling fs layer 08:01:23 bca2f99d35d6: Waiting 08:01:23 93359f2a8cfa: Waiting 08:01:23 7c6f9722023f: Waiting 08:01:23 a35cf1a2eb13: Waiting 08:01:23 de9db76c5a1d: Verifying Checksum 08:01:23 de9db76c5a1d: Download complete 08:01:23 0ef7d3d256c8: Verifying Checksum 08:01:23 0ef7d3d256c8: Download complete 08:01:23 93359f2a8cfa: Verifying Checksum 08:01:23 93359f2a8cfa: Download complete 08:01:23 7c6f9722023f: Verifying Checksum 08:01:23 7c6f9722023f: Download complete 08:01:23 188c0c94c7c5: Verifying Checksum 08:01:23 188c0c94c7c5: Download complete 08:01:24 188c0c94c7c5: Pull complete 08:01:24 0ef7d3d256c8: Pull complete 08:01:24 de9db76c5a1d: Pull complete 08:01:27 a35cf1a2eb13: Verifying Checksum 08:01:27 a35cf1a2eb13: Download complete 08:01:27 gofmt -l . 08:01:27 [ "`gofmt -l .`" = "" ] 08:01:27 ./bin/test-attribution-txt.sh 08:01:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:01:28 $ docker stop --time=1 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea 08:01:30 $ docker rm -f 6dc1cecc382e454c22ee7c206e1aaee278bd650c7909f510358dea693590ffea 08:01:30 bca2f99d35d6: Verifying Checksum 08:01:30 bca2f99d35d6: Download complete [Pipeline] // withDockerContainer [Pipeline] sh 08:01:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:35 + ls -al . 08:01:35 total 252 08:01:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 08:01 . 08:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 .. 08:01:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 07:57 .dockerignore 08:01:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 07:58 .git 08:01:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 07:57 .github 08:01:35 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 07:57 .gitignore 08:01:35 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 07:57 Dockerfile.build 08:01:35 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 07:57 Jenkinsfile 08:01:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 07:57 LICENSE 08:01:35 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 07:57 Makefile 08:01:35 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 07:57 README.md 08:01:35 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 07:57 RELEASE-NOTES.txt 08:01:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 07:57 VERSION 08:01:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 07:57 bin 08:01:35 -rw-r--r-- 1 jenkins jenkins 137333 Jan 27 08:00 coverage.out 08:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 example 08:01:35 -rw-r--r-- 1 jenkins jenkins 514 Jan 27 08:01 go.mod 08:01:35 -rw-r--r-- 1 jenkins jenkins 14191 Jan 27 08:01 go.sum 08:01:35 drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 07:57 internal 08:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 openapi 08:01:35 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 07:57 pkg 08:01:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 07:57 snap 08:01:35 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 07:57 version.go [Pipeline] isUnix [Pipeline] sh 08:01:36 + 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=7cc05283413387bf8f3efd50400048b5b123b666 --label arch=arm64 --label version=0.0.0 . 08:01:36 Sending build context to Docker daemon 2.781MB 08:01:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:01:36 Step 2/24 : FROM ${BASE} AS builder 08:01:36 ---> bc0f25444841 08:01:36 Step 3/24 : ARG MAKE='make build' 08:01:36 ---> Running in e858f7960da4 08:01:37 Removing intermediate container e858f7960da4 08:01:37 ---> a6d08336ab79 08:01:37 Step 4/24 : WORKDIR /device-sdk-go 08:01:37 ---> Running in 14eea69e081c 08:01:37 Removing intermediate container 14eea69e081c 08:01:37 ---> c8b0f8abcc26 08:01:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:37 ---> Running in c80bda94600d 08:01:38 Removing intermediate container c80bda94600d 08:01:38 ---> baaa2b087d04 08:01:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:38 ---> Running in 66a1627ae42f 08:01:40 Removing intermediate container 66a1627ae42f 08:01:40 ---> 85e225174922 08:01:40 Step 7/24 : RUN apk add --update --no-cache make git 08:01:40 ---> Running in 1b458560bdac 08:01:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:01:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:01:42 bca2f99d35d6: Pull complete 08:01:42 93359f2a8cfa: Pull complete 08:01:42 7c6f9722023f: Pull complete 08:01:43 OK: 142 MiB in 39 packages 08:01:44 Removing intermediate container 1b458560bdac 08:01:44 ---> 576325bda4ee 08:01:44 Step 8/24 : COPY . . 08:01:46 ---> bf65842a9640 08:01:46 Step 9/24 : RUN ${MAKE} 08:01:46 ---> Running in 2c56eba84970 08:01:47 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 08:01:49 a35cf1a2eb13: Pull complete 08:01:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:01:49 ---> a62c8e92a672 08:01:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:50 ---> Running in a68ea405f5e7 08:01:50 Removing intermediate container a68ea405f5e7 08:01:50 ---> a53ccb10ce55 08:01:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:50 ---> Running in 2ff00ed9a259 08:01:52 Removing intermediate container 2ff00ed9a259 08:01:52 ---> a949fd5976b1 08:01:52 Step 5/8 : RUN apk add --update --no-cache make git 08:01:52 ---> Running in 34afc852bb71 08:01:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:01:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:01:54 OK: 166 MiB in 39 packages 08:01:55 Removing intermediate container 34afc852bb71 08:01:55 ---> b72d549f62f7 08:01:55 Step 6/8 : WORKDIR /device-sdk-go 08:01:55 ---> Running in 6ed60315cc07 08:01:55 Removing intermediate container 6ed60315cc07 08:01:55 ---> f2258c9346e0 08:01:55 Step 7/8 : COPY . . 08:01:57 ---> 739642f16149 08:01:57 Step 8/8 : RUN go mod download 08:01:57 ---> Running in 15fa12843eba 08:02:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:02:13 Removing intermediate container 2c56eba84970 08:02:13 ---> 7937fe32c6e0 08:02:13 Step 10/24 : FROM scratch 08:02:13 ---> 08:02:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:02:13 ---> Running in 63e36ab7c488 08:02:14 Removing intermediate container 63e36ab7c488 08:02:14 ---> 107051a0b6d0 08:02:14 Step 12/24 : ENV APP_PORT=49990 08:02:14 ---> Running in efe48a01e3cb 08:02:14 Removing intermediate container efe48a01e3cb 08:02:14 ---> 41417f23c946 08:02:14 Step 13/24 : EXPOSE $APP_PORT 08:02:14 ---> Running in 35c0b5e0d221 08:02:15 Removing intermediate container 35c0b5e0d221 08:02:15 ---> b55716852c01 08:02:15 Step 14/24 : WORKDIR / 08:02:15 ---> Running in c4abd686d358 08:02:15 Removing intermediate container c4abd686d358 08:02:15 ---> a3b285b93c0d 08:02:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:02:16 ---> 61b704bf9391 08:02:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:02:17 ---> ea984fd54deb 08:02:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:02:18 ---> 55ed2ba004bf 08:02:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:02:19 ---> 6d68fbd814bc 08:02:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:02:19 ---> 1638c05e55b3 08:02:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:02:20 ---> Running in f2ac1184a743 08:02:20 Removing intermediate container f2ac1184a743 08:02:20 ---> 0ebd00c58154 08:02:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:02:20 ---> Running in 9c2879adf919 08:02:20 Removing intermediate container 9c2879adf919 08:02:20 ---> ed72ade7cdf1 08:02:20 Step 22/24 : LABEL arch=arm64 08:02:21 ---> Running in c97bb5403732 08:02:21 Removing intermediate container c97bb5403732 08:02:21 ---> 855a3564aebd 08:02:21 Step 23/24 : LABEL git_sha=7cc05283413387bf8f3efd50400048b5b123b666 08:02:21 ---> Running in a6961170a413 08:02:22 Removing intermediate container a6961170a413 08:02:22 ---> f2e557c62458 08:02:22 Step 24/24 : LABEL version=0.0.0 08:02:22 ---> Running in 5f15d775e2d7 08:02:22 Removing intermediate container 5f15d775e2d7 08:02:22 ---> 6ab2172530f9 08:02:22 [Warning] One or more build-args [ARCH] were not consumed 08:02:22 Successfully built 6ab2172530f9 08:02:22 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] } 08:02:24 Removing intermediate container 15fa12843eba 08:02:24 ---> 96bff07a174b 08:02:24 Successfully built 96bff07a174b 08:02:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:02:25 + docker inspect -f . ci-base-image-x86_64 08:02:25 . [Pipeline] withDockerContainer 08:02:25 prd-centos7-docker-4c-2g-23374 does not seem to be running inside a container 08:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:02:27 $ docker top 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:28 + go version 08:02:28 go version go1.15.5 linux/amd64 [Pipeline] } 08:02:28 $ docker stop --time=1 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 08:02:30 $ docker rm -f 1bb7ab2b29f5731683bb15227c0bcf922ea489347ee7867d7766abb35f5d7054 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:02:31 + docker inspect -f . ci-base-image-x86_64 08:02:31 . [Pipeline] withDockerContainer 08:02:31 prd-centos7-docker-4c-2g-23374 does not seem to be running inside a container 08:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:02:33 $ docker top 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:33 + make test 08:02:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:02:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:03:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:03:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:03:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:03:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 19.4% of statements 08:03:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.685s coverage: 97.1% of statements 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.338s coverage: 43.6% of statements 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.591s coverage: 68.9% of statements 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 53.8% of statements 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.164s coverage: 25.2% of statements 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.253s coverage: 83.5% of statements 08:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.811s coverage: 4.2% of statements 08:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:03:48 GO111MODULE=on go vet ./... 08:04:11 gofmt -l . 08:04:11 [ "`gofmt -l .`" = "" ] 08:04:11 ./bin/test-attribution-txt.sh 08:04:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:04:13 $ docker stop --time=1 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb 08:04:15 $ docker rm -f 8c11c78a65b6b08ecc08405ba86c26196e580c2ddb7e451cbde1f51a58cbb4eb [Pipeline] // withDockerContainer [Pipeline] sh 08:04:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:16 Warning: overwriting stash ‘coverage-report’ 08:04:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:04:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:18 + ls -al . 08:04:18 total 216 08:04:18 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 08:04 . 08:04:18 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 08:01 .. 08:04:18 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 08:01 bin 08:04:18 -rw-r--r--. 1 jenkins jenkins 137333 Jan 27 08:03 coverage.out 08:04:18 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 08:01 Dockerfile.build 08:04:18 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 08:01 .dockerignore 08:04:18 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 08:01 example 08:04:18 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 08:01 .git 08:04:18 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 08:01 .github 08:04:18 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 08:01 .gitignore 08:04:18 -rw-r--r--. 1 jenkins jenkins 514 Jan 27 08:04 go.mod 08:04:18 -rw-r--r--. 1 jenkins jenkins 14191 Jan 27 08:04 go.sum 08:04:18 drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 08:01 internal 08:04:18 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 08:01 Jenkinsfile 08:04:18 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 08:01 LICENSE 08:04:18 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 08:01 Makefile 08:04:18 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 08:01 openapi 08:04:18 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 08:01 pkg 08:04:18 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 08:01 README.md 08:04:18 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 08:01 RELEASE-NOTES.txt 08:04:18 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 08:01 snap 08:04:18 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 07:57 VERSION 08:04:18 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 08:01 version.go [Pipeline] isUnix [Pipeline] sh 08:04:19 + 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=7cc05283413387bf8f3efd50400048b5b123b666 --label arch=amd64 --label version=0.0.0 . 08:04:19 Sending build context to Docker daemon 2.775MB 08:04:19 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:04:19 Step 2/24 : FROM ${BASE} AS builder 08:04:19 ---> 96bff07a174b 08:04:19 Step 3/24 : ARG MAKE='make build' 08:04:20 ---> Running in 19d69067ec8b 08:04:20 Removing intermediate container 19d69067ec8b 08:04:20 ---> 18b507f48496 08:04:20 Step 4/24 : WORKDIR /device-sdk-go 08:04:20 ---> Running in 0d8b26844693 08:04:20 Removing intermediate container 0d8b26844693 08:04:20 ---> 0b8c1748e822 08:04:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:20 ---> Running in 75e46c0133f8 08:04:20 Removing intermediate container 75e46c0133f8 08:04:20 ---> b53debcf0ee6 08:04:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:21 ---> Running in 5e782c2e5af7 08:04:22 Removing intermediate container 5e782c2e5af7 08:04:22 ---> 588907352648 08:04:22 Step 7/24 : RUN apk add --update --no-cache make git 08:04:22 ---> Running in 1e4b74283b91 08:04:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:04:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:04:24 OK: 166 MiB in 39 packages 08:04:25 Removing intermediate container 1e4b74283b91 08:04:25 ---> 3a26f8aa83bb 08:04:25 Step 8/24 : COPY . . 08:04:27 ---> 299989f92228 08:04:27 Step 9/24 : RUN ${MAKE} 08:04:27 ---> Running in 2761ed3a4a80 08:04:28 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 08:04:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:04:54 Removing intermediate container 2761ed3a4a80 08:04:54 ---> facbcbfcd7ca 08:04:54 Step 10/24 : FROM scratch 08:04:54 ---> 08:04:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:54 ---> Running in 4e7895cfa649 08:04:54 Removing intermediate container 4e7895cfa649 08:04:54 ---> 84c9c4e9d830 08:04:54 Step 12/24 : ENV APP_PORT=49990 08:04:54 ---> Running in 9e8297dfe0f1 08:04:54 Removing intermediate container 9e8297dfe0f1 08:04:54 ---> a2155ebdfb50 08:04:54 Step 13/24 : EXPOSE $APP_PORT 08:04:54 ---> Running in 49a28fca7fd9 08:04:55 Removing intermediate container 49a28fca7fd9 08:04:55 ---> 42f5e17d90cd 08:04:55 Step 14/24 : WORKDIR / 08:04:55 ---> Running in 1b43971ec429 08:04:55 Removing intermediate container 1b43971ec429 08:04:55 ---> 36ba18a217b2 08:04:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:04:56 ---> 61a68e6930c3 08:04:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:04:56 ---> 9e6e053df93f 08:04:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:04:57 ---> c013c96a9010 08:04:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:04:57 ---> ec1f26e8237d 08:04:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:04:58 ---> ba819b5290a2 08:04:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:04:58 ---> Running in d0ea007238f9 08:04:59 Removing intermediate container d0ea007238f9 08:04:59 ---> 65ee5753b7b3 08:04:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:04:59 ---> Running in 98bf31cd8c1e 08:04:59 Removing intermediate container 98bf31cd8c1e 08:04:59 ---> a1c9bfbcb905 08:04:59 Step 22/24 : LABEL arch=amd64 08:05:00 ---> Running in 3178c1ad329f 08:05:00 Removing intermediate container 3178c1ad329f 08:05:00 ---> b96cb922ccdc 08:05:00 Step 23/24 : LABEL git_sha=7cc05283413387bf8f3efd50400048b5b123b666 08:05:00 ---> Running in 2480e246cd40 08:05:00 Removing intermediate container 2480e246cd40 08:05:00 ---> 795658139d95 08:05:00 Step 24/24 : LABEL version=0.0.0 08:05:00 ---> Running in 9ba84620f06f 08:05:01 Removing intermediate container 9ba84620f06f 08:05:01 ---> 413e48871337 08:05:01 [Warning] One or more build-args [ARCH] were not consumed 08:05:01 Successfully built 413e48871337 08:05:01 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:05:03 provisioning config files... 08:05:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config520040514326977269tmp [Pipeline] { [Pipeline] sh 08:05:04 + set +x 08:05:04 + curl -s https://codecov.io/bash 08:05:04 + bash -s -- 08:05:04 08:05:04 _____ _ 08:05:04 / ____| | | 08:05:04 | | ___ __| | ___ ___ _____ __ 08:05:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:05:04 | |___| (_) | (_| | __/ (_| (_) \ V / 08:05:04 \_____\___/ \__,_|\___|\___\___/ \_/ 08:05:04 Bash-20210115-cec3c92 08:05:04 08:05:04 08:05:04 ==> git version 2.24.3 found 08:05: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 08:05:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:05:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:05:04 ==> Jenkins CI detected. 08:05:04 project root: . 08:05:04 --> token set from env 08:05:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:05:04 ==> Running gcov in . (disable via -X gcov) 08:05:04 ==> Python coveragepy not found 08:05:04 ==> Searching for coverage reports in: 08:05:04 + . 08:05:04 -> Found 1 reports 08:05:04 ==> Detecting git/mercurial file structure 08:05:04 ==> Reading reports 08:05:04 + ./coverage.out bytes=137333 08:05:04 ==> Appending adjustments 08:05:04 https://docs.codecov.io/docs/fixing-reports 08:05:05 + Found adjustments 08:05:05 ==> Gzipping contents 08:05:05 24K /tmp/codecov.EzblDn.gz 08:05:05 ==> Uploading reports 08:05:05 url: https://codecov.io 08:05:05 query: branch=PR-763&commit=7cc05283413387bf8f3efd50400048b5b123b666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 08:05:05 -> Pinging Codecov 08:05:05 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-763&commit=7cc05283413387bf8f3efd50400048b5b123b666&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 08:05:05 -> Uploading to 08:05:05 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/7cc05283413387bf8f3efd50400048b5b123b666/055e70ba-7205-4a9c-8f6d-d95351d8f325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T080505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92882e866b7ecbfb9088093c6c182f4f255dfa6a4a242e75ba5efb3b28fb4c54 08:05:05 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:05 Dload Upload Total Spent Left Speed 08:05:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21611 0 0 100 21611 0 49507 --:--:-- --:--:-- --:--:-- 49453 08:05:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7cc05283413387bf8f3efd50400048b5b123b666 [Pipeline] } 08:05: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 08:05:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:10 ---> package-listing.sh 08:05:10 ++ facter osfamily 08:05:10 ++ tr '[:upper:]' '[:lower:]' 08:05:10 + OS_FAMILY=redhat 08:05:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 08:05:10 + START_PACKAGES=/tmp/packages_start.txt 08:05:10 + END_PACKAGES=/tmp/packages_end.txt 08:05:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:10 + PACKAGES=/tmp/packages_start.txt 08:05:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 08:05:10 + PACKAGES=/tmp/packages_end.txt 08:05:10 + case "${OS_FAMILY}" in 08:05:10 + rpm -qa 08:05:10 + sort 08:05:15 + '[' -f /tmp/packages_start.txt ']' 08:05:15 + '[' -f /tmp/packages_end.txt ']' 08:05:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 08:05:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 08:05:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 08:05:15 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-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:05:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:16 08:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:16 alpine: Pulling from edgex-lftools-log-publisher 08:05:16 df20fa9351a1: Pulling fs layer 08:05:16 36b3adc4ff6f: Pulling fs layer 08:05:16 8ad3a11d3b57: Pulling fs layer 08:05:16 46f8f816bc3b: Pulling fs layer 08:05:16 93b61091891f: Pulling fs layer 08:05:16 93b9cdb0e59b: Pulling fs layer 08:05:16 5e14af77c1be: Pulling fs layer 08:05:16 01666e4c0597: Pulling fs layer 08:05:16 aa168da1d23b: Pulling fs layer 08:05:16 93b9cdb0e59b: Waiting 08:05:16 5e14af77c1be: Waiting 08:05:16 01666e4c0597: Waiting 08:05:16 aa168da1d23b: Waiting 08:05:16 46f8f816bc3b: Waiting 08:05:16 93b61091891f: Waiting 08:05:16 36b3adc4ff6f: Verifying Checksum 08:05:16 36b3adc4ff6f: Download complete 08:05:16 46f8f816bc3b: Verifying Checksum 08:05:16 46f8f816bc3b: Download complete 08:05:17 df20fa9351a1: Verifying Checksum 08:05:17 df20fa9351a1: Download complete 08:05:17 93b9cdb0e59b: Verifying Checksum 08:05:17 93b9cdb0e59b: Download complete 08:05:17 5e14af77c1be: Verifying Checksum 08:05:17 5e14af77c1be: Download complete 08:05:17 01666e4c0597: Verifying Checksum 08:05:17 01666e4c0597: Download complete 08:05:17 df20fa9351a1: Pull complete 08:05:17 36b3adc4ff6f: Pull complete 08:05:17 8ad3a11d3b57: Verifying Checksum 08:05:17 8ad3a11d3b57: Download complete 08:05:18 93b61091891f: Verifying Checksum 08:05:18 93b61091891f: Download complete 08:05:18 8ad3a11d3b57: Pull complete 08:05:18 46f8f816bc3b: Pull complete 08:05:19 aa168da1d23b: Verifying Checksum 08:05:19 aa168da1d23b: Download complete 08:05:20 93b61091891f: Pull complete 08:05:20 93b9cdb0e59b: Pull complete 08:05:20 5e14af77c1be: Pull complete 08:05:20 01666e4c0597: Pull complete 08:05:27 aa168da1d23b: Pull complete 08:05:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:05:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:05:27 prd-centos7-docker-4c-2g-23373 does not seem to be running inside a container 08:05:27 $ 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-763/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-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:05:31 $ docker top 954f5a84bf72fced0c96d1bd7c0f04c1cafb987ef2ecdfd21bbe4ab5a15362e4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:32 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:32 + mkdir -p /var/log/sa [Pipeline] sh 08:05:33 + ls /var/log/sa-host 08:05:33 + sadf -c /var/log/sa-host/sa23 08:05:33 file_magic: OK 08:05:33 HZ: Using current value: 100 08:05:33 file_header: OK 08:05:33 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 08:05:33 Statistics: 08:05:33 Hnuu...uuuununununu... 08:05:33 File successfully converted to sysstat format version 12.2.1 08:05:33 + sadf -c /var/log/sa-host/sa27 08:05:33 file_magic: OK 08:05:33 HZ: Using current value: 100 08:05:33 file_header: OK 08:05:33 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 08:05:33 Statistics: 08:05:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:05:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:33 provisioning config files... 08:05:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config1055888009321866314tmp [Pipeline] { [Pipeline] echo 08:05:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:34 ---> create-netrc.sh [Pipeline] } 08:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:05:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:05:34 ---> python-tools-install.sh [Pipeline] echo 08:05:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:35 ---> sudo-logs.sh 08:05:35 Archiving 'sudo' log.. [Pipeline] echo 08:05:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:35 ---> job-cost.sh 08:05:35 lf-activate-venv: SKIPPING 08:05:35 INFO: No Stack... 08:05:37 INFO: Retrieving Pricing Info for: v1-standard-2 08:05:37 INFO: Archiving Costs [Pipeline] echo 08:05:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:38 ---> logs-deploy.sh 08:05:38 lf-activate-venv: SKIPPING 08:05:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/1 08:05:38 INFO: archiving workspace using pattern(s): 08:05:40 Archives upload complete. 08:05:40 INFO: archiving logs to Nexus 08:05:40 ---> uname -a: 08:05:40 Linux prd-centos7-docker-4c-2g-23373.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:05:40 08:05:40 08:05:40 ---> lscpu: 08:05:40 Architecture: x86_64 08:05:40 CPU op-mode(s): 32-bit, 64-bit 08:05:40 Byte Order: Little Endian 08:05:40 Address sizes: 40 bits physical, 48 bits virtual 08:05:40 CPU(s): 4 08:05:40 On-line CPU(s) list: 0-3 08:05:40 Thread(s) per core: 1 08:05:40 Core(s) per socket: 1 08:05:40 Socket(s): 4 08:05:40 NUMA node(s): 1 08:05:40 Vendor ID: GenuineIntel 08:05:40 CPU family: 6 08:05:40 Model: 44 08:05:40 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:05:40 Stepping: 1 08:05:40 CPU MHz: 2933.436 08:05:40 BogoMIPS: 5866.87 08:05:40 Virtualization: VT-x 08:05:40 Hypervisor vendor: KVM 08:05:40 Virtualization type: full 08:05:40 L1d cache: 128 KiB 08:05:40 L1i cache: 128 KiB 08:05:40 L2 cache: 16 MiB 08:05:40 L3 cache: 64 MiB 08:05:40 NUMA node0 CPU(s): 0-3 08:05:40 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:05:40 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:05:40 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:05:40 Vulnerability Meltdown: Mitigation; PTI 08:05:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:05:40 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:05:40 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:05:40 Vulnerability Srbds: Not affected 08:05:40 Vulnerability Tsx async abort: Not affected 08:05:40 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 08:05:40 08:05:40 08:05:40 ---> nproc: 08:05:40 4 08:05:40 08:05:40 08:05:40 ---> df -h: 08:05:40 Filesystem Size Used Available Use% Mounted on 08:05:40 overlay 50.0G 7.3G 42.7G 15% / 08:05:40 tmpfs 64.0M 0 64.0M 0% /dev 08:05:40 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:05:40 shm 64.0M 0 64.0M 0% /dev/shm 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:05:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:05:40 08:05:40 08:05:40 ---> free -m: 08:05:40 total used free shared buff/cache available 08:05:40 Mem: 1837 704 110 0 1022 1027 08:05:40 Swap: 1023 1 1022 08:05:40 08:05:40 08:05:40 ---> ip addr: 08:05:40 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:05:40 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:05:40 inet 127.0.0.1/8 scope host lo 08:05:40 valid_lft forever preferred_lft forever 08:05:40 inet6 ::1/128 scope host 08:05:40 valid_lft forever preferred_lft forever 08:05:40 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:05:40 link/ether fa:16:3e:59:7a:4c brd ff:ff:ff:ff:ff:ff 08:05:40 inet 10.30.122.250/23 brd 10.30.123.255 scope global dynamic eth0 08:05:40 valid_lft 85873sec preferred_lft 85873sec 08:05:40 inet6 fe80::f816:3eff:fe59:7a4c/64 scope link 08:05:40 valid_lft forever preferred_lft forever 08:05:40 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:05:40 link/ether 02:42:79:bf:7d:e7 brd ff:ff:ff:ff:ff:ff 08:05:40 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:05:40 valid_lft forever preferred_lft forever 08:05:40 inet6 fe80::42:79ff:febf:7de7/64 scope link 08:05:40 valid_lft forever preferred_lft forever 08:05:40 08:05:40 08:05:40 ---> sar -b -r -n DEV: 08:05:40 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 08:05:40 08:05:40 07:56:42 LINUX RESTART (4 CPU) 08:05:40 08:05:40 07:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:05:40 07:58:01 149.91 66.51 83.40 0.00 8568.44 39207.54 0.00 08:05:40 07:59:01 3.56 0.03 3.53 0.00 1.07 114.12 0.00 08:05:40 08:00:01 0.35 0.00 0.35 0.00 0.00 5.15 0.00 08:05:40 08:01:01 0.37 0.02 0.35 0.00 0.13 3.78 0.00 08:05:40 08:02:01 0.38 0.08 0.30 0.00 1.60 5.39 0.00 08:05:40 08:03:02 0.25 0.00 0.25 0.00 0.00 3.60 0.00 08:05:40 08:04:01 0.24 0.00 0.24 0.00 0.00 1.93 0.00 08:05:40 08:05:01 0.15 0.00 0.15 0.00 0.00 2.15 0.00 08:05:40 Average: 19.45 8.35 11.10 0.00 1074.06 4930.15 0.00 08:05:40 08:05:40 07:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:05:40 07:58:01 179112 0 605932 32.20 2620 1093880 1113912 38.02 420004 1084524 128 08:05:40 07:59:01 186304 0 598620 31.82 2620 1094000 1078356 36.80 419532 1078860 16 08:05:40 08:00:01 184312 0 600608 31.92 2620 1094004 1078356 36.80 417248 1082952 8 08:05:40 08:01:01 182312 0 602608 32.03 2620 1094004 1080880 36.89 430724 1071160 20 08:05:40 08:02:01 184424 0 600368 31.91 2620 1094132 1078864 36.82 426224 1074220 12 08:05:40 08:03:02 182504 0 602280 32.01 2620 1094140 1078948 36.82 442924 1059404 8 08:05:40 08:04:01 183212 0 601572 31.97 2620 1094140 1078864 36.82 443552 1058164 8 08:05:40 08:05:01 182392 0 602384 32.02 2620 1094148 1078984 36.82 444200 1058164 8 08:05:40 Average: 183072 0 601796 31.98 2620 1094056 1083396 36.97 430551 1070931 26 08:05:40 08:05:40 07:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:05:40 07:58:01 eth0 543.93 338.99 1100.31 95.63 0.00 0.00 0.00 0.00 08:05:40 07:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 07:58:01 docker0 10.15 7.54 1.34 23.55 0.00 0.00 0.00 0.00 08:05:40 07:59:01 eth0 0.08 0.08 0.01 0.02 0.00 0.00 0.00 0.00 08:05:40 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:00:01 eth0 0.35 0.08 0.02 0.01 0.00 0.00 0.00 0.00 08:05:40 08:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:01:01 eth0 0.88 0.43 0.31 0.18 0.00 0.00 0.00 0.00 08:05:40 08:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:02:01 eth0 0.10 0.10 0.01 0.04 0.00 0.00 0.00 0.00 08:05:40 08:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:03:02 eth0 0.28 0.20 0.14 0.07 0.00 0.00 0.00 0.00 08:05:40 08:03:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:03:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:04:01 eth0 0.56 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:05:40 08:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:05:01 eth0 0.52 0.35 0.27 0.20 0.00 0.00 0.00 0.00 08:05:40 08:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 08:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 Average: eth0 68.51 42.65 137.98 12.05 0.00 0.00 0.00 0.00 08:05:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:40 Average: docker0 1.27 0.94 0.17 2.95 0.00 0.00 0.00 0.00 08:05:40 08:05:40 08:05:40 ---> sar -P ALL: 08:05:40 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/27/21 _x86_64_ (4 CPU) 08:05:40 08:05:40 07:56:42 LINUX RESTART (4 CPU) 08:05:40 08:05:40 07:57:01 CPU %user %nice %system %iowait %steal %idle 08:05:40 07:58:01 all 14.79 0.00 6.91 6.71 0.13 71.46 08:05:40 07:58:01 0 13.36 0.00 7.97 4.51 0.12 74.05 08:05:40 07:58:01 1 15.73 0.00 6.23 8.57 0.17 69.30 08:05:40 07:58:01 2 17.07 0.00 7.17 6.09 0.12 69.56 08:05:40 07:58:01 3 12.99 0.00 6.26 7.65 0.12 72.98 08:05:40 07:59:01 all 0.05 0.00 0.05 0.00 0.00 99.90 08:05:40 07:59:01 0 0.07 0.00 0.03 0.00 0.00 99.90 08:05:40 07:59:01 1 0.05 0.00 0.07 0.00 0.00 99.88 08:05:40 07:59:01 2 0.07 0.00 0.05 0.00 0.00 99.88 08:05:40 07:59:01 3 0.02 0.00 0.03 0.00 0.00 99.95 08:05:40 08:00:01 all 0.13 0.00 0.03 0.00 0.01 99.83 08:05:40 08:00:01 0 0.40 0.00 0.02 0.00 0.00 99.58 08:05:40 08:00:01 1 0.05 0.00 0.02 0.00 0.02 99.92 08:05:40 08:00:01 2 0.05 0.00 0.05 0.00 0.02 99.88 08:05:40 08:00:01 3 0.02 0.00 0.03 0.00 0.02 99.93 08:05:40 08:01:01 all 0.17 0.00 0.04 0.00 0.01 99.79 08:05:40 08:01:01 0 0.52 0.00 0.03 0.00 0.02 99.43 08:05:40 08:01:01 1 0.03 0.00 0.02 0.00 0.02 99.93 08:05:40 08:01:01 2 0.05 0.00 0.03 0.00 0.00 99.92 08:05:40 08:01:01 3 0.07 0.00 0.07 0.00 0.00 99.87 08:05:40 08:02:01 all 0.13 0.00 0.05 0.00 0.02 99.80 08:05:40 08:02:01 0 0.40 0.00 0.05 0.00 0.00 99.55 08:05:40 08:02:01 1 0.03 0.00 0.05 0.00 0.03 99.88 08:05:40 08:02:01 2 0.05 0.00 0.05 0.00 0.00 99.90 08:05:40 08:02:01 3 0.05 0.00 0.05 0.00 0.03 99.87 08:05:40 08:03:02 all 0.03 0.00 0.05 0.00 0.00 99.92 08:05:40 08:03:02 0 0.03 0.00 0.03 0.00 0.00 99.93 08:05:40 08:03:02 1 0.02 0.00 0.02 0.00 0.00 99.97 08:05:40 08:03:02 2 0.05 0.00 0.03 0.00 0.02 99.90 08:05:40 08:03:02 3 0.02 0.00 0.10 0.00 0.00 99.88 08:05:40 08:04:01 all 0.14 0.00 0.06 0.00 0.00 99.80 08:05:40 08:04:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:05:40 08:04:01 1 0.44 0.00 0.03 0.00 0.00 99.53 08:05:40 08:04:01 2 0.03 0.00 0.02 0.00 0.00 99.95 08:05:40 08:04:01 3 0.08 0.00 0.15 0.00 0.00 99.76 08:05:40 08:05:01 all 0.15 0.00 0.02 0.00 0.00 99.82 08:05:40 08:05:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:05:40 08:05:01 1 0.52 0.00 0.02 0.00 0.00 99.47 08:05:40 08:05:01 2 0.05 0.00 0.02 0.00 0.00 99.93 08:05:40 08:05:01 3 0.03 0.00 0.02 0.00 0.02 99.93 08:05:40 Average: all 1.93 0.00 0.89 0.83 0.02 96.33 08:05:40 Average: 0 1.83 0.00 1.01 0.56 0.02 96.59 08:05:40 Average: 1 2.09 0.00 0.80 1.06 0.03 96.02 08:05:40 Average: 2 2.16 0.00 0.92 0.75 0.02 96.15 08:05:40 Average: 3 1.63 0.00 0.83 0.94 0.02 96.57 08:05:40 08:05:40 08:05:40