Pull request #794 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf1e79a50c13038e4678ee9448babdfd976f7249+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (d7534f4364e888145991e0702a91a45076d18ea0) 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-794/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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-794/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27279 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [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-794 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) > 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/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:32 ========================================================= 05:53:32 EdgeX Global Pipelines Version Info 05:53:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:33 ------------------- 05:53:33 stable info: 05:53:33 ------------------- 05:53:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:33 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:53:33 Message: update stable to v1.0.179 05:53:34 ------------------- 05:53:34 experimental info: 05:53:34 ------------------- 05:53:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:34 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:53:34 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:53:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:53:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-794 [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-794 [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-794 [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf1e79a [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:39 provisioning config files... 05:53:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config6015334507700651888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:40 ---> docker-login.sh 05:53:40 nexus3.edgexfoundry.org:10001 05:53:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:40 Configure a credential helper to remove this warning. See 05:53:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:40 05:53:40 Login Succeeded 05:53:40 nexus3.edgexfoundry.org:10002 05:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:41 Configure a credential helper to remove this warning. See 05:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:41 05:53:41 Login Succeeded 05:53:41 nexus3.edgexfoundry.org:10003 05:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:41 Configure a credential helper to remove this warning. See 05:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:41 05:53:41 Login Succeeded 05:53:41 nexus3.edgexfoundry.org:10004 05:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:41 Configure a credential helper to remove this warning. See 05:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:41 05:53:41 Login Succeeded 05:53:41 docker.io 05:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:41 Configure a credential helper to remove this warning. See 05:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:41 05:53:41 Login Succeeded 05:53:41 ---> docker-login.sh ends [Pipeline] } 05:53:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:43 + git log --format=format:%s -1 cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] echo 05:53:43 GIT_COMMIT: cf1e79a50c13038e4678ee9448babdfd976f7249, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:53:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:44 05:53:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:53:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:44 latest: Pulling from edgex-devops/git-semver 05:53:44 31603596830f: Pulling fs layer 05:53:44 2a8b12db71e7: Pulling fs layer 05:53:44 6ca5941a6612: Pulling fs layer 05:53:44 ecc8261a40a4: Pulling fs layer 05:53:44 ecc8261a40a4: Waiting 05:53:44 2a8b12db71e7: Verifying Checksum 05:53:44 2a8b12db71e7: Download complete 05:53:45 31603596830f: Verifying Checksum 05:53:45 31603596830f: Download complete 05:53:45 ecc8261a40a4: Verifying Checksum 05:53:45 ecc8261a40a4: Download complete 05:53:45 6ca5941a6612: Verifying Checksum 05:53:45 6ca5941a6612: Download complete 05:53:45 31603596830f: Pull complete 05:53:45 2a8b12db71e7: Pull complete 05:53:46 6ca5941a6612: Pull complete 05:53:46 ecc8261a40a4: Pull complete 05:53:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:53:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:46 prd-centos7-docker-4c-2g-27279 does not seem to be running inside a container 05:53:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:49 $ docker top 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:49 [ssh-agent] Looking for ssh-agent implementation... 05:53:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:50 $ docker exec 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent 05:53:50 SSH_AUTH_SOCK=/tmp/ssh-6x8PEzvyUeZD/agent.11 05:53:50 SSH_AGENT_PID=16 05:53:50 Running ssh-add (command line suppressed) 05:53:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_4408715902044917533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_4408715902044917533.key) 05:53:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:50 + git tag --points-at HEAD [Pipeline] } 05:53:50 $ docker exec --env ******** --env ******** 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent -k 05:53:51 unset SSH_AUTH_SOCK; 05:53:51 unset SSH_AGENT_PID; 05:53:51 echo Agent pid 16 killed; 05:53:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:51 [ssh-agent] Looking for ssh-agent implementation... 05:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:51 $ docker exec 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent 05:53:51 SSH_AUTH_SOCK=/tmp/ssh-7ygPayGvUSHV/agent.45 05:53:51 SSH_AGENT_PID=51 05:53:51 Running ssh-add (command line suppressed) 05:53:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_7634671788447929349.key (/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/private_key_7634671788447929349.key) 05:53:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:52 + git semver init 05:53:52 # -> Open(): unable to determine branch for HEAD 05:53:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.git 05:53:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-794 05:53:52 # $SEMVER_REMOTE_NAME = origin 05:53:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:52 # $SEMVER_USER_NAME = edgex-jenkins 05:53:52 # $SEMVER_BRANCH = PR-794 05:53:52 # $SEMVER_TEMP = /tmp/semver-742337391 05:53:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:53:52 # '/tmp/semver-742337391' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver' 05:53:53 # -> Force: false 05:53:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-794/.semver [Pipeline] } 05:53:53 $ docker exec --env ******** --env ******** 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e ssh-agent -k 05:53:53 unset SSH_AUTH_SOCK; 05:53:53 unset SSH_AGENT_PID; 05:53:53 echo Agent pid 51 killed; 05:53:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:53 + git semver [Pipeline] } 05:53:53 $ docker stop --time=1 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e 05:53:55 $ docker rm -f 7945c7ed898240b62278e8bdccb483925d1e6bdea7fa1097dce048fb8d89350e [Pipeline] // withDockerContainer [Pipeline] sh 05:53:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:56 Stashed 1 file(s) [Pipeline] echo 05:53:56 [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 05:54:12 Still waiting to schedule task 05:54:12 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27279’ 05:54:12 Still waiting to schedule task 05:54:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 05:55:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27280 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws 05:55:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:56:01 using credential edgex-jenkins-ssh 05:56:01 Cloning the remote Git repository 05:56:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:56:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:56:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:01 > git --version # timeout=10 05:56:01 > git --version # 'git version 2.17.1' 05:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:03 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 05:56:04 Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 05:56:04 Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) 05:56:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:03 > git config core.sparsecheckout # timeout=10 05:56:03 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 05:56:04 > git remote # timeout=10 05:56:04 > git config --get remote.origin.url # timeout=10 05:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:04 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 05:56:04 > git rev-parse HEAD^{commit} # timeout=10 05:56:04 > git config core.sparsecheckout # timeout=10 05:56:04 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 05:56:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:08 > git --version # timeout=10 05:56:08 > git --version # 'git version 2.17.1' 05:56:08 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:56:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:11 + true 05:56:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:14 provisioning config files... 05:56:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4816532329014835784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:14 ---> docker-login.sh 05:56:14 nexus3.edgexfoundry.org:10001 05:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:15 Configure a credential helper to remove this warning. See 05:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:15 05:56:15 Login Succeeded 05:56:16 nexus3.edgexfoundry.org:10002 05:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:16 Configure a credential helper to remove this warning. See 05:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:16 05:56:16 Login Succeeded 05:56:16 nexus3.edgexfoundry.org:10003 05:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10004 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 docker.io 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 ---> docker-login.sh ends [Pipeline] } 05:56:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:18 ========================================================= 05:56:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:56:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:19 + 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 . 05:56:19 Sending build context to Docker daemon 2.394MB 05:56:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:19 Step 2/8 : FROM ${BASE} 05:56:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:19 5f621e34cdf4: Pulling fs layer 05:56:19 a4357932f1b6: Pulling fs layer 05:56:19 18c013af1878: Pulling fs layer 05:56:19 00ac8860ef70: Pulling fs layer 05:56:19 63d7cb157983: Pulling fs layer 05:56:19 b116817d02f9: Pulling fs layer 05:56:19 745a02a5169b: Pulling fs layer 05:56:19 63d7cb157983: Waiting 05:56:19 b116817d02f9: Waiting 05:56:19 745a02a5169b: Waiting 05:56:19 00ac8860ef70: Waiting 05:56:19 18c013af1878: Verifying Checksum 05:56:19 18c013af1878: Download complete 05:56:19 a4357932f1b6: Verifying Checksum 05:56:19 a4357932f1b6: Download complete 05:56:19 63d7cb157983: Verifying Checksum 05:56:19 63d7cb157983: Download complete 05:56:19 b116817d02f9: Verifying Checksum 05:56:19 b116817d02f9: Download complete 05:56:19 5f621e34cdf4: Verifying Checksum 05:56:19 5f621e34cdf4: Download complete 05:56:20 5f621e34cdf4: Pull complete 05:56:21 a4357932f1b6: Pull complete 05:56:21 18c013af1878: Pull complete 05:56:22 745a02a5169b: Verifying Checksum 05:56:22 745a02a5169b: Download complete 05:56:23 00ac8860ef70: Verifying Checksum 05:56:23 00ac8860ef70: Download complete 05:56:34 00ac8860ef70: Pull complete 05:56:34 63d7cb157983: Pull complete 05:56:34 b116817d02f9: Pull complete 05:56:39 745a02a5169b: Pull complete 05:56:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:39 ---> b7e6874047d6 05:56:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:41 ---> Running in a0dd92cc9138 05:56:41 Removing intermediate container a0dd92cc9138 05:56:41 ---> 7f6c87f84a63 05:56:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:41 ---> Running in c42166c07fde 05:56:44 Removing intermediate container c42166c07fde 05:56:44 ---> 39ad958409ff 05:56:44 Step 5/8 : RUN apk add --update --no-cache make git 05:56:44 ---> Running in 92b80210c651 05:56:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:47 OK: 142 MiB in 39 packages 05:56:48 Removing intermediate container 92b80210c651 05:56:48 ---> ada505ebb45e 05:56:48 Step 6/8 : WORKDIR /device-sdk-go 05:56:48 ---> Running in e86326c61845 05:56:48 Removing intermediate container e86326c61845 05:56:48 ---> bccf13b44f0f 05:56:48 Step 7/8 : COPY . . 05:56:50 ---> 6057af6391cf 05:56:50 Step 8/8 : RUN go mod download 05:56:50 ---> Running in 837190c1b2ef 05:57:16 Removing intermediate container 837190c1b2ef 05:57:16 ---> 44d88dc43523 05:57:16 Successfully built 44d88dc43523 05:57:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:57:17 + docker inspect -f . ci-base-image-arm64 05:57:17 . [Pipeline] withDockerContainer 05:57:17 prd-ubuntu18.04-docker-arm64-4c-16g-27280 does not seem to be running inside a container 05:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:19 $ docker top 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:20 + go version 05:57:20 go version go1.15.5 linux/arm64 [Pipeline] } 05:57:20 $ docker stop --time=1 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e 05:57:22 $ docker rm -f 754d39736ab3cf57cee573902788fa52168739a26e9f972d77ae450d3aedc50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:23 + docker inspect -f . ci-base-image-arm64 05:57:23 . [Pipeline] withDockerContainer 05:57:23 prd-ubuntu18.04-docker-arm64-4c-16g-27280 does not seem to be running inside a container 05:57:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:25 $ docker top 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:26 + make test 05:57:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:52 Running on prd-centos7-docker-4c-2g-27281 in /w/workspace/dgexfoundry_device-sdk-go_PR-794 [Pipeline] { [Pipeline] ws 05:57:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:58:05 using credential edgex-jenkins-ssh 05:58:05 Cloning the remote Git repository 05:58:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:58:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:06 > git --version # timeout=10 05:58:06 > git --version # 'git version 2.24.3' 05:58:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/794/head:refs/remotes/origin/PR-794 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:08 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit cf1e79a50c13038e4678ee9448babdfd976f7249 05:58:09 Merge succeeded, producing cf1e79a50c13038e4678ee9448babdfd976f7249 05:58:09 Checking out Revision cf1e79a50c13038e4678ee9448babdfd976f7249 (PR-794) 05:58:09 > git config core.sparsecheckout # timeout=10 05:58:09 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 05:58:09 > git remote # timeout=10 05:58:09 > git config --get remote.origin.url # timeout=10 05:58:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:09 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 05:58:09 > git rev-parse HEAD^{commit} # timeout=10 05:58:09 > git config core.sparsecheckout # timeout=10 05:58:09 > git checkout -f cf1e79a50c13038e4678ee9448babdfd976f7249 # timeout=10 05:58:15 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:58:15 > git --version # timeout=10 05:58:15 > git --version # 'git version 2.24.3' 05:58:15 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:58:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:58:19 + sudo service docker restart 05:58:19 + true 05:58:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:58:21 provisioning config files... 05:58:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6157696054301133908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:22 ---> docker-login.sh 05:58:22 nexus3.edgexfoundry.org:10001 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:24 Configure a credential helper to remove this warning. See 05:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:24 05:58:24 Login Succeeded 05:58:24 nexus3.edgexfoundry.org:10002 05:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:24 Configure a credential helper to remove this warning. See 05:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:24 05:58:24 Login Succeeded 05:58:24 nexus3.edgexfoundry.org:10003 05:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:25 Configure a credential helper to remove this warning. See 05:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:25 05:58:25 Login Succeeded 05:58:25 nexus3.edgexfoundry.org:10004 05:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:26 Configure a credential helper to remove this warning. See 05:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:26 05:58:26 Login Succeeded 05:58:26 docker.io 05:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:27 Configure a credential helper to remove this warning. See 05:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:27 05:58:27 Login Succeeded 05:58:27 ---> docker-login.sh ends [Pipeline] } 05:58:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:29 ========================================================= 05:58:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:58:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:58:30 + 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 . 05:58:31 Sending build context to Docker daemon 2.393MB 05:58:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:58:31 Step 2/8 : FROM ${BASE} 05:58:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:32 188c0c94c7c5: Pulling fs layer 05:58:32 0ef7d3d256c8: Pulling fs layer 05:58:32 de9db76c5a1d: Pulling fs layer 05:58:32 bca2f99d35d6: Pulling fs layer 05:58:32 93359f2a8cfa: Pulling fs layer 05:58:32 7c6f9722023f: Pulling fs layer 05:58:32 a35cf1a2eb13: Pulling fs layer 05:58:32 bca2f99d35d6: Waiting 05:58:32 93359f2a8cfa: Waiting 05:58:32 7c6f9722023f: Waiting 05:58:32 a35cf1a2eb13: Waiting 05:58:32 de9db76c5a1d: Verifying Checksum 05:58:32 de9db76c5a1d: Download complete 05:58:32 0ef7d3d256c8: Verifying Checksum 05:58:32 0ef7d3d256c8: Download complete 05:58:32 93359f2a8cfa: Download complete 05:58:32 7c6f9722023f: Verifying Checksum 05:58:32 7c6f9722023f: Download complete 05:58:33 188c0c94c7c5: Verifying Checksum 05:58:33 188c0c94c7c5: Download complete 05:58:34 188c0c94c7c5: Pull complete 05:58:35 0ef7d3d256c8: Pull complete 05:58:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:58:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:58:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:58:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements 05:58:35 de9db76c5a1d: Pull complete 05:58:41 a35cf1a2eb13: Verifying Checksum 05:58:41 a35cf1a2eb13: Download complete 05:58:43 bca2f99d35d6: Verifying Checksum 05:58:43 bca2f99d35d6: Download complete 05:58:53 bca2f99d35d6: Pull complete 05:58:54 93359f2a8cfa: Pull complete 05:58:55 7c6f9722023f: Pull complete 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.156s coverage: 10.1% of statements 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.140s coverage: 12.5% of statements 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.143s coverage: 84.8% of statements 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 49.2% of statements 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 81.3% of statements 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 24.8% of statements 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.908s coverage: 83.5% of statements 05:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.3% of statements 05:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:59:02 GO111MODULE=on go vet ./... 05:59:04 a35cf1a2eb13: Pull complete 05:59:04 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:59:04 ---> a62c8e92a672 05:59:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:04 ---> Running in 7a1f7e0facd9 05:59:04 Removing intermediate container 7a1f7e0facd9 05:59:04 ---> 0e0f79e53bbe 05:59:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:04 ---> Running in 6492940d51ca 05:59:07 Removing intermediate container 6492940d51ca 05:59:07 ---> 8c7061ee490a 05:59:07 Step 5/8 : RUN apk add --update --no-cache make git 05:59:07 ---> Running in 3a76e6a423de 05:59:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:59:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:59:10 OK: 166 MiB in 39 packages 05:59:11 Removing intermediate container 3a76e6a423de 05:59:11 ---> f35e7038fa48 05:59:11 Step 6/8 : WORKDIR /device-sdk-go 05:59:12 ---> Running in aa93f08aed5b 05:59:12 Removing intermediate container aa93f08aed5b 05:59:12 ---> 37ba2a7eb815 05:59:12 Step 7/8 : COPY . . 05:59:14 ---> 7b435468bf99 05:59:14 Step 8/8 : RUN go mod download 05:59:14 ---> Running in 6c8ef249c7c7 05:59:34 gofmt -l . 05:59:35 [ "`gofmt -l .`" = "" ] 05:59:35 ./bin/test-attribution-txt.sh 05:59:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:59:36 $ docker stop --time=1 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 05:59:39 $ docker rm -f 4b9137613b5777bbc9aed0e1150e7a1eceb97322a6aebd5145331d4473a0bf55 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:44 + ls -al . 05:59:44 total 220 05:59:44 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 05:59 . 05:59:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 .. 05:59:44 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 05:56 .dockerignore 05:59:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 05:56 .git 05:59:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:56 .github 05:59:44 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 05:56 .gitignore 05:59:44 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 05:56 Dockerfile.build 05:59:44 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 05:56 Jenkinsfile 05:59:44 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 05:56 LICENSE 05:59:44 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 05:56 Makefile 05:59:44 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 05:56 README.md 05:59:44 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 05:56 RELEASE-NOTES.txt 05:59:44 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 05:53 VERSION 05:59:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 05:56 bin 05:59:44 -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 05:59 coverage.out 05:59:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 example 05:59:44 -rw-r--r-- 1 jenkins jenkins 515 Feb 23 05:59 go.mod 05:59:44 -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 05:59 go.sum 05:59:44 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 05:56 internal 05:59:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 openapi 05:59:44 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 05:56 pkg 05:59:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 05:56 snap 05:59:44 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 05:56 version.go [Pipeline] isUnix [Pipeline] sh 05:59:44 + 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=cf1e79a50c13038e4678ee9448babdfd976f7249 --label arch=arm64 --label version=0.0.0 . 05:59:44 Sending build context to Docker daemon 2.496MB 05:59:44 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:59:44 Step 2/24 : FROM ${BASE} AS builder 05:59:44 ---> 44d88dc43523 05:59:44 Step 3/24 : ARG MAKE='make build' 05:59:45 ---> Running in 89a4ee78a1cd 05:59:45 Removing intermediate container 89a4ee78a1cd 05:59:45 ---> 70ace959aaa5 05:59:45 Step 4/24 : WORKDIR /device-sdk-go 05:59:45 ---> Running in 5fe4fb7995e7 05:59:46 Removing intermediate container 5fe4fb7995e7 05:59:46 ---> 20260eb2666a 05:59:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:46 ---> Running in 24837cb7faa1 05:59:47 Removing intermediate container 24837cb7faa1 05:59:47 ---> dd25937ef227 05:59:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:47 ---> Running in 3a17d85e0280 05:59:48 Removing intermediate container 3a17d85e0280 05:59:48 ---> 90cf3237da8f 05:59:48 Step 7/24 : RUN apk add --update --no-cache make git 05:59:49 ---> Running in 76bc57c42b4f 05:59:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:51 OK: 142 MiB in 39 packages 05:59:52 Removing intermediate container 76bc57c42b4f 05:59:52 ---> a38c52e6ce7c 05:59:52 Step 8/24 : COPY . . 05:59:53 ---> 16983eb36436 05:59:53 Step 9/24 : RUN ${MAKE} 05:59:53 ---> Running in 02400598d2c7 05:59:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:00:04 Removing intermediate container 6c8ef249c7c7 06:00:04 ---> bbacadb9b51a 06:00:04 Successfully built bbacadb9b51a 06:00:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:00:04 + docker inspect -f . ci-base-image-x86_64 06:00:05 . [Pipeline] withDockerContainer 06:00:06 prd-centos7-docker-4c-2g-27281 does not seem to be running inside a container 06:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:08 $ docker top 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:10 + go version 06:00:10 go version go1.15.5 linux/amd64 [Pipeline] } 06:00:10 $ docker stop --time=1 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da 06:00:12 $ docker rm -f 30be9d1063b7e7bc696afa63dafdb963285835392479662b7d16ea11510959da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:14 + docker inspect -f . ci-base-image-x86_64 06:00:14 . [Pipeline] withDockerContainer 06:00:15 prd-centos7-docker-4c-2g-27281 does not seem to be running inside a container 06:00:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:17 $ docker top b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:20 + make test 06:00:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:00:22 Removing intermediate container 02400598d2c7 06:00:22 ---> a2b985ae0f8c 06:00:22 Step 10/24 : FROM scratch 06:00:22 ---> 06:00:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:22 ---> Running in 568e01638c42 06:00:22 Removing intermediate container 568e01638c42 06:00:22 ---> 4ac7fc2fdfe2 06:00:22 Step 12/24 : ENV APP_PORT=49990 06:00:22 ---> Running in 3424a076bb9f 06:00:23 Removing intermediate container 3424a076bb9f 06:00:23 ---> edf2b75df90c 06:00:23 Step 13/24 : EXPOSE $APP_PORT 06:00:23 ---> Running in cd2c9f9319f4 06:00:23 Removing intermediate container cd2c9f9319f4 06:00:23 ---> 3715e2cb5dbe 06:00:23 Step 14/24 : WORKDIR / 06:00:23 ---> Running in d9d3e72b66bd 06:00:24 Removing intermediate container d9d3e72b66bd 06:00:24 ---> 6685c200580e 06:00:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:00:25 ---> e54e953f6cef 06:00:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:00:26 ---> 61b4fbc55886 06:00:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:00:26 ---> cad3941a3b06 06:00:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:00:27 ---> 13d0b1290313 06:00:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:00:28 ---> 806bad8763ba 06:00:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:00:28 ---> Running in c3e011c9e50c 06:00:28 Removing intermediate container c3e011c9e50c 06:00:28 ---> 98d444409575 06:00:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:29 ---> Running in 340a95279109 06:00:29 Removing intermediate container 340a95279109 06:00:29 ---> e8c4debdbea0 06:00:29 Step 22/24 : LABEL arch=arm64 06:00:29 ---> Running in 1601e1eedce5 06:00:30 Removing intermediate container 1601e1eedce5 06:00:30 ---> 48ebba1f9143 06:00:30 Step 23/24 : LABEL git_sha=cf1e79a50c13038e4678ee9448babdfd976f7249 06:00:30 ---> Running in 83ce17f9b379 06:00:30 Removing intermediate container 83ce17f9b379 06:00:30 ---> 8966e4a3fbc5 06:00:30 Step 24/24 : LABEL version=0.0.0 06:00:30 ---> Running in 10dc03a51a5f 06:00:31 Removing intermediate container 10dc03a51a5f 06:00:31 ---> bddfea3ee0dc 06:00:31 [Warning] One or more build-args [ARCH] were not consumed 06:00:31 Successfully built bddfea3ee0dc 06:00:31 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] } 06:00:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 25.5% of statements 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.265s coverage: 10.1% of statements 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.197s coverage: 12.5% of statements 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.192s coverage: 84.8% of statements 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.323s coverage: 49.2% of statements 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.139s coverage: 81.3% of statements 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.106s coverage: 24.8% of statements 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.449s coverage: 83.5% of statements 06:01:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.102s coverage: 5.3% of statements 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:55 GO111MODULE=on go vet ./... 06:02:29 gofmt -l . 06:02:29 [ "`gofmt -l .`" = "" ] 06:02:29 ./bin/test-attribution-txt.sh 06:02:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:30 $ docker stop --time=1 b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 06:02:33 $ docker rm -f b3fb3c59cda57365023bdc29ac8475b1197fd3ec2ec90934de24dbba029cf567 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:36 Warning: overwriting stash ‘coverage-report’ 06:02:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:39 + ls -al . 06:02:39 total 184 06:02:39 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 06:02 . 06:02:39 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 05:58 .. 06:02:39 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 05:58 bin 06:02:39 -rw-r--r--. 1 jenkins jenkins 101758 Feb 23 06:01 coverage.out 06:02:39 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 05:58 Dockerfile.build 06:02:39 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 05:58 .dockerignore 06:02:39 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 05:58 example 06:02:39 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 05:58 .git 06:02:39 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 05:58 .github 06:02:39 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 05:58 .gitignore 06:02:39 -rw-r--r--. 1 jenkins jenkins 515 Feb 23 06:02 go.mod 06:02:39 -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 06:02 go.sum 06:02:39 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 05:58 internal 06:02:39 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 05:58 Jenkinsfile 06:02:39 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 05:58 LICENSE 06:02:39 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 05:58 Makefile 06:02:39 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 05:58 openapi 06:02:39 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 05:58 pkg 06:02:39 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 05:58 README.md 06:02:39 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 05:58 RELEASE-NOTES.txt 06:02:39 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 05:58 snap 06:02:39 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 05:53 VERSION 06:02:39 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 05:58 version.go [Pipeline] isUnix [Pipeline] sh 06:02:39 + 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=cf1e79a50c13038e4678ee9448babdfd976f7249 --label arch=amd64 --label version=0.0.0 . 06:02:40 Sending build context to Docker daemon 2.495MB 06:02:40 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:02:40 Step 2/24 : FROM ${BASE} AS builder 06:02:40 ---> bbacadb9b51a 06:02:40 Step 3/24 : ARG MAKE='make build' 06:02:41 ---> Running in 8920745c7727 06:02:41 Removing intermediate container 8920745c7727 06:02:41 ---> 3e7c5e2ef5f3 06:02:41 Step 4/24 : WORKDIR /device-sdk-go 06:02:41 ---> Running in bc7b36bd9176 06:02:42 Removing intermediate container bc7b36bd9176 06:02:42 ---> 662580c22c75 06:02:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:42 ---> Running in 0c871425e7ba 06:02:42 Removing intermediate container 0c871425e7ba 06:02:42 ---> 6ce562ed1f6c 06:02:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:42 ---> Running in 8edab64aa0f4 06:02:44 Removing intermediate container 8edab64aa0f4 06:02:44 ---> f65f77d8eef7 06:02:44 Step 7/24 : RUN apk add --update --no-cache make git 06:02:44 ---> Running in aeb917935905 06:02:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:48 OK: 166 MiB in 39 packages 06:02:49 Removing intermediate container aeb917935905 06:02:49 ---> b07bccb2c406 06:02:49 Step 8/24 : COPY . . 06:02:51 ---> 69a39bdd62c0 06:02:51 Step 9/24 : RUN ${MAKE} 06:02:51 ---> Running in c5e0c3064ba9 06:02:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:03:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:03:18 Removing intermediate container c5e0c3064ba9 06:03:18 ---> dd9946885f64 06:03:18 Step 10/24 : FROM scratch 06:03:18 ---> 06:03:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:18 ---> Running in dc9e8a058502 06:03:19 Removing intermediate container dc9e8a058502 06:03:19 ---> 9753f155486d 06:03:19 Step 12/24 : ENV APP_PORT=49990 06:03:19 ---> Running in dbf97c5c33a7 06:03:19 Removing intermediate container dbf97c5c33a7 06:03:19 ---> c5a4e5ab1250 06:03:19 Step 13/24 : EXPOSE $APP_PORT 06:03:20 ---> Running in 9da475bf1c44 06:03:20 Removing intermediate container 9da475bf1c44 06:03:20 ---> 95f33e565fe6 06:03:20 Step 14/24 : WORKDIR / 06:03:21 ---> Running in c60d313252f7 06:03:21 Removing intermediate container c60d313252f7 06:03:21 ---> 403c88c88c74 06:03:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:03:22 ---> 29854af4ee14 06:03:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:03:23 ---> 8ff28b08817f 06:03:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:03:23 ---> e964ff98e747 06:03:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:03:23 ---> d13c136d1a5b 06:03:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:03:24 ---> 897e75d1f6f0 06:03:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:03:24 ---> Running in 303761ea8391 06:03:26 Removing intermediate container 303761ea8391 06:03:26 ---> e8d88b8ac87d 06:03:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:26 ---> Running in 227aadf97f1f 06:03:26 Removing intermediate container 227aadf97f1f 06:03:26 ---> 71364627d1cd 06:03:26 Step 22/24 : LABEL arch=amd64 06:03:27 ---> Running in efd7c99d71ec 06:03:27 Removing intermediate container efd7c99d71ec 06:03:27 ---> 7b020c31a7ab 06:03:27 Step 23/24 : LABEL git_sha=cf1e79a50c13038e4678ee9448babdfd976f7249 06:03:27 ---> Running in ebc653f82952 06:03:29 Removing intermediate container ebc653f82952 06:03:29 ---> efae193176c5 06:03:29 Step 24/24 : LABEL version=0.0.0 06:03:29 ---> Running in 462535f4070d 06:03:29 Removing intermediate container 462535f4070d 06:03:29 ---> 84df14be22f8 06:03:29 [Warning] One or more build-args [ARCH] were not consumed 06:03:30 Successfully built 84df14be22f8 06:03:30 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 06:03:33 provisioning config files... 06:03:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config4763934857699909222tmp [Pipeline] { [Pipeline] sh 06:03:33 + set +x 06:03:33 + curl -s https://codecov.io/bash 06:03:33 + bash -s -- 06:03:33 06:03:33 _____ _ 06:03:33 / ____| | | 06:03:33 | | ___ __| | ___ ___ _____ __ 06:03:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:03:33 | |___| (_) | (_| | __/ (_| (_) \ V / 06:03:33 \_____\___/ \__,_|\___|\___\___/ \_/ 06:03:33 Bash-20210129-7c25fce 06:03:33 06:03:33 06:03:33 ==> git version 2.24.3 found 06:03:33 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:03:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:03:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:03:33 ==> Jenkins CI detected. 06:03:33 project root: . 06:03:33 --> token set from env 06:03:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:03:33 ==> Running gcov in . (disable via -X gcov) 06:03:33 ==> Python coveragepy not found 06:03:33 ==> Searching for coverage reports in: 06:03:33 + . 06:03:33 -> Found 1 reports 06:03:33 ==> Detecting git/mercurial file structure 06:03:33 ==> Reading reports 06:03:33 + ./coverage.out bytes=101758 06:03:33 ==> Appending adjustments 06:03:33 https://docs.codecov.io/docs/fixing-reports 06:03:34 + Found adjustments 06:03:34 ==> Gzipping contents 06:03:34 20K /tmp/codecov.21uVAx.gz 06:03:34 ==> Uploading reports 06:03:34 url: https://codecov.io 06:03:34 query: branch=PR-794&commit=cf1e79a50c13038e4678ee9448babdfd976f7249&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= 06:03:34 -> Pinging Codecov 06:03:34 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-794&commit=cf1e79a50c13038e4678ee9448babdfd976f7249&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-794%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=794&job=&cmd_args= 06:03:35 -> Uploading to 06:03:35 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/cf1e79a50c13038e4678ee9448babdfd976f7249/4a29304a-6d59-4d60-b068-a0bb038b91cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T060335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=444bf5c3e3c3f816581d8c26a972ceedc46cf5ce0b6407f3d50f8bc33f9ce284 06:03:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:35 Dload Upload Total Spent Left Speed 06:03:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16479 0 0 100 16479 0 33682 --:--:-- --:--:-- --:--:-- 33630 100 16479 0 0 100 16479 0 33670 --:--:-- --:--:-- --:--:-- 33630 06:03:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf1e79a50c13038e4678ee9448babdfd976f7249 [Pipeline] } 06:03:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:03:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:40 ---> package-listing.sh 06:03:40 ++ facter osfamily 06:03:40 ++ tr '[:upper:]' '[:lower:]' 06:03:40 + OS_FAMILY=redhat 06:03:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-794 06:03:40 + START_PACKAGES=/tmp/packages_start.txt 06:03:40 + END_PACKAGES=/tmp/packages_end.txt 06:03:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:40 + PACKAGES=/tmp/packages_start.txt 06:03:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' 06:03:40 + PACKAGES=/tmp/packages_end.txt 06:03:40 + case "${OS_FAMILY}" in 06:03:40 + rpm -qa 06:03:40 + sort 06:03:45 + '[' -f /tmp/packages_start.txt ']' 06:03:45 + '[' -f /tmp/packages_end.txt ']' 06:03:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-794 ']' 06:03:45 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ 06:03:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-794/archives/ [Pipeline] echo 06:03:45 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-794/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:03:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:46 06:03:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:03:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:46 alpine: Pulling from edgex-lftools-log-publisher 06:03:46 df20fa9351a1: Pulling fs layer 06:03:46 36b3adc4ff6f: Pulling fs layer 06:03:46 8ad3a11d3b57: Pulling fs layer 06:03:46 46f8f816bc3b: Pulling fs layer 06:03:46 93b61091891f: Pulling fs layer 06:03:46 93b9cdb0e59b: Pulling fs layer 06:03:46 5e14af77c1be: Pulling fs layer 06:03:46 01666e4c0597: Pulling fs layer 06:03:46 aa168da1d23b: Pulling fs layer 06:03:46 93b9cdb0e59b: Waiting 06:03:46 5e14af77c1be: Waiting 06:03:46 aa168da1d23b: Waiting 06:03:46 46f8f816bc3b: Waiting 06:03:46 01666e4c0597: Waiting 06:03:46 93b61091891f: Waiting 06:03:46 36b3adc4ff6f: Verifying Checksum 06:03:46 36b3adc4ff6f: Download complete 06:03:46 46f8f816bc3b: Verifying Checksum 06:03:46 46f8f816bc3b: Download complete 06:03:46 df20fa9351a1: Verifying Checksum 06:03:46 df20fa9351a1: Download complete 06:03:46 93b9cdb0e59b: Verifying Checksum 06:03:46 93b9cdb0e59b: Download complete 06:03:46 5e14af77c1be: Verifying Checksum 06:03:46 5e14af77c1be: Download complete 06:03:46 93b61091891f: Verifying Checksum 06:03:46 93b61091891f: Download complete 06:03:46 01666e4c0597: Verifying Checksum 06:03:46 01666e4c0597: Download complete 06:03:46 8ad3a11d3b57: Verifying Checksum 06:03:46 8ad3a11d3b57: Download complete 06:03:47 df20fa9351a1: Pull complete 06:03:47 36b3adc4ff6f: Pull complete 06:03:48 8ad3a11d3b57: Pull complete 06:03:48 aa168da1d23b: Verifying Checksum 06:03:48 aa168da1d23b: Download complete 06:03:48 46f8f816bc3b: Pull complete 06:03:48 93b61091891f: Pull complete 06:03:49 93b9cdb0e59b: Pull complete 06:03:49 5e14af77c1be: Pull complete 06:03:49 01666e4c0597: Pull complete 06:03:56 aa168da1d23b: Pull complete 06:03:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:03:56 prd-centos7-docker-4c-2g-27279 does not seem to be running inside a container 06:03:56 $ 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-794/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-794 -v /w/workspace/dgexfoundry_device-sdk-go_PR-794:/w/workspace/dgexfoundry_device-sdk-go_PR-794:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:04:00 $ docker top b52f82c1680e5ea107f321fe76e05d62bd0b14a9a1da784ca5d88549b3bb3b31 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:00 + touch /tmp/pre-build-complete [Pipeline] sh 06:04:01 + mkdir -p /var/log/sa [Pipeline] sh 06:04:01 + ls /var/log/sa-host 06:04:01 + sadf -c /var/log/sa-host/sa23 06:04:01 file_magic: OK 06:04:01 HZ: Using current value: 100 06:04:01 file_header: OK 06:04:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:04:01 Statistics: 06:04:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:04:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:02 provisioning config files... 06:04:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp/config4899669155972963555tmp [Pipeline] { [Pipeline] echo 06:04:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:04:02 ---> create-netrc.sh [Pipeline] } 06:04:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:04:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:04:03 ---> python-tools-install.sh [Pipeline] echo 06:04:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:04:03 ---> sudo-logs.sh 06:04:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:04:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:04:03 ---> job-cost.sh 06:04:03 lf-activate-venv: SKIPPING 06:04:03 INFO: No Stack... 06:04:05 INFO: Retrieving Pricing Info for: v1-standard-2 06:04:05 INFO: Archiving Costs [Pipeline] echo 06:04:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:06 ---> logs-deploy.sh 06:04:06 lf-activate-venv: SKIPPING 06:04:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-794/1 06:04:06 INFO: archiving workspace using pattern(s): 06:04:07 Archives upload complete. 06:04:07 INFO: archiving logs to Nexus 06:04:08 ---> uname -a: 06:04:08 Linux prd-centos7-docker-4c-2g-27279.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:04:08 06:04:08 06:04:08 ---> lscpu: 06:04:08 Architecture: x86_64 06:04:08 CPU op-mode(s): 32-bit, 64-bit 06:04:08 Byte Order: Little Endian 06:04:08 Address sizes: 40 bits physical, 48 bits virtual 06:04:08 CPU(s): 4 06:04:08 On-line CPU(s) list: 0-3 06:04:08 Thread(s) per core: 1 06:04:08 Core(s) per socket: 1 06:04:08 Socket(s): 4 06:04:08 NUMA node(s): 1 06:04:08 Vendor ID: GenuineIntel 06:04:08 CPU family: 6 06:04:08 Model: 44 06:04:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:04:08 Stepping: 1 06:04:08 CPU MHz: 2933.438 06:04:08 BogoMIPS: 5866.87 06:04:08 Virtualization: VT-x 06:04:08 Hypervisor vendor: KVM 06:04:08 Virtualization type: full 06:04:08 L1d cache: 128 KiB 06:04:08 L1i cache: 128 KiB 06:04:08 L2 cache: 16 MiB 06:04:08 L3 cache: 64 MiB 06:04:08 NUMA node0 CPU(s): 0-3 06:04:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:04:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:04:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:04:08 Vulnerability Meltdown: Mitigation; PTI 06:04:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:04:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:04:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:04:08 Vulnerability Srbds: Not affected 06:04:08 Vulnerability Tsx async abort: Not affected 06:04:08 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 06:04:08 06:04:08 06:04:08 ---> nproc: 06:04:08 4 06:04:08 06:04:08 06:04:08 ---> df -h: 06:04:08 Filesystem Size Used Available Use% Mounted on 06:04:08 overlay 50.0G 7.3G 42.7G 15% / 06:04:08 tmpfs 64.0M 0 64.0M 0% /dev 06:04:08 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:04:08 shm 64.0M 0 64.0M 0% /dev/shm 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-794@tmp 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:04:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-794 06:04:08 06:04:08 06:04:08 ---> free -m: 06:04:08 total used free shared buff/cache available 06:04:08 Mem: 1837 724 78 0 1034 1008 06:04:08 Swap: 1023 0 1023 06:04:08 06:04:08 06:04:08 ---> ip addr: 06:04:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:04:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:04:08 inet 127.0.0.1/8 scope host lo 06:04:08 valid_lft forever preferred_lft forever 06:04:08 inet6 ::1/128 scope host 06:04:08 valid_lft forever preferred_lft forever 06:04:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:04:08 link/ether fa:16:3e:48:71:a0 brd ff:ff:ff:ff:ff:ff 06:04:08 inet 10.30.122.158/23 brd 10.30.123.255 scope global dynamic eth0 06:04:08 valid_lft 85731sec preferred_lft 85731sec 06:04:08 inet6 fe80::f816:3eff:fe48:71a0/64 scope link 06:04:08 valid_lft forever preferred_lft forever 06:04:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:04:08 link/ether 02:42:87:0d:d4:1d brd ff:ff:ff:ff:ff:ff 06:04:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:04:08 valid_lft forever preferred_lft forever 06:04:08 inet6 fe80::42:87ff:fe0d:d41d/64 scope link 06:04:08 valid_lft forever preferred_lft forever 06:04:08 06:04:08 06:04:08 ---> sar -b -r -n DEV: 06:04:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 06:04:08 06:04:08 05:52:48 LINUX RESTART (4 CPU) 06:04:08 06:04:08 05:54:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:04:08 05:55:01 3.52 0.03 3.49 0.00 1.08 115.92 0.00 06:04:08 05:56:01 0.48 0.00 0.48 0.00 0.00 5.90 0.00 06:04:08 05:57:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 06:04:08 05:58:01 0.28 0.00 0.28 0.00 0.00 3.46 0.00 06:04:08 05:59:01 0.28 0.00 0.28 0.00 0.00 3.85 0.00 06:04:08 06:00:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 06:04:08 06:01:01 0.27 0.02 0.25 0.00 0.13 2.43 0.00 06:04:08 06:02:01 0.40 0.08 0.32 0.00 1.60 5.18 0.00 06:04:08 06:03:01 0.25 0.00 0.25 0.00 0.00 3.38 0.00 06:04:08 Average: 0.67 0.01 0.65 0.00 0.31 16.10 0.00 06:04:08 06:04:08 05:54:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:04:08 05:55:01 166784 0 586836 31.19 2620 1125304 1068544 36.47 414360 1101992 12 06:04:08 05:56:01 165212 0 588404 31.27 2620 1125308 1061552 36.23 430092 1088572 20 06:04:08 05:57:01 165832 0 587776 31.24 2620 1125316 1061348 36.22 428884 1088572 12 06:04:08 05:58:01 163796 0 589812 31.35 2620 1125316 1061492 36.23 439572 1079932 8 06:04:08 05:59:01 164668 0 588876 31.30 2620 1125380 1061420 36.22 431680 1087364 20 06:04:08 06:00:01 165292 0 588304 31.27 2620 1125328 1061348 36.22 431244 1087348 8 06:04:08 06:01:01 164312 0 589280 31.32 2620 1125332 1063688 36.30 432008 1087348 8 06:04:08 06:02:01 164584 0 588880 31.30 2620 1125460 1061856 36.24 431556 1087416 8 06:04:08 06:03:01 163468 0 589992 31.36 2620 1125464 1062024 36.25 432592 1087412 8 06:04:08 Average: 164883 0 588684 31.29 2620 1125356 1062586 36.26 430221 1088440 12 06:04:08 06:04:08 05:54:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:04:08 05:55:01 eth0 0.63 0.10 0.04 0.02 0.00 0.00 0.00 0.00 06:04:08 05:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:56:01 eth0 0.67 0.48 0.29 0.18 0.00 0.00 0.00 0.00 06:04:08 05:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:57:01 eth0 0.78 0.10 0.07 0.04 0.00 0.00 0.00 0.00 06:04:08 05:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:58:01 eth0 0.52 0.32 0.27 0.20 0.00 0.00 0.00 0.00 06:04:08 05:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:59:01 eth0 0.28 0.20 0.14 0.07 0.00 0.00 0.00 0.00 06:04:08 05:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 05:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:00:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:04:08 06:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:01:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:04:08 06:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:02:01 eth0 0.10 0.02 0.01 0.00 0.00 0.00 0.00 0.00 06:04:08 06:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:03:01 eth0 1.13 0.43 0.34 0.21 0.00 0.00 0.00 0.00 06:04:08 06:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 Average: eth0 0.48 0.20 0.13 0.08 0.00 0.00 0.00 0.00 06:04:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:04:08 06:04:08 06:04:08 ---> sar -P ALL: 06:04:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/23/21 _x86_64_ (4 CPU) 06:04:08 06:04:08 05:52:48 LINUX RESTART (4 CPU) 06:04:08 06:04:08 05:54:02 CPU %user %nice %system %iowait %steal %idle 06:04:08 05:55:01 all 0.18 0.00 0.06 0.00 0.00 99.76 06:04:08 05:55:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:04:08 05:55:01 1 0.08 0.00 0.08 0.00 0.00 99.83 06:04:08 05:55:01 2 0.10 0.00 0.07 0.00 0.00 99.83 06:04:08 05:55:01 3 0.52 0.00 0.05 0.00 0.00 99.42 06:04:08 05:56:01 all 0.18 0.00 0.06 0.00 0.00 99.76 06:04:08 05:56:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:04:08 05:56:01 1 0.08 0.00 0.03 0.00 0.00 99.88 06:04:08 05:56:01 2 0.07 0.00 0.12 0.00 0.00 99.82 06:04:08 05:56:01 3 0.52 0.00 0.03 0.00 0.00 99.45 06:04:08 05:57:01 all 0.13 0.00 0.04 0.00 0.00 99.83 06:04:08 05:57:01 0 0.03 0.00 0.05 0.00 0.02 99.90 06:04:08 05:57:01 1 0.00 0.00 0.03 0.00 0.00 99.97 06:04:08 05:57:01 2 0.03 0.00 0.05 0.00 0.00 99.92 06:04:08 05:57:01 3 0.43 0.00 0.03 0.00 0.00 99.53 06:04:08 05:58:01 all 0.15 0.00 0.05 0.00 0.00 99.80 06:04:08 05:58:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:04:08 05:58:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:04:08 05:58:01 2 0.50 0.00 0.10 0.00 0.02 99.38 06:04:08 05:58:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:04:08 05:59:01 all 0.18 0.00 0.28 0.00 0.00 99.54 06:04:08 05:59:01 0 0.02 0.00 0.13 0.00 0.00 99.85 06:04:08 05:59:01 1 0.10 0.00 0.38 0.00 0.00 99.52 06:04:08 05:59:01 2 0.55 0.00 0.33 0.00 0.00 99.12 06:04:08 05:59:01 3 0.05 0.00 0.27 0.00 0.00 99.68 06:04:08 06:00:01 all 0.16 0.00 0.03 0.00 0.00 99.80 06:04:08 06:00:01 0 0.07 0.00 0.05 0.00 0.00 99.88 06:04:08 06:00:01 1 0.05 0.00 0.05 0.00 0.00 99.90 06:04:08 06:00:01 2 0.52 0.00 0.02 0.00 0.00 99.47 06:04:08 06:00:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:04:08 06:01:01 all 0.17 0.00 0.05 0.00 0.00 99.78 06:04:08 06:01:01 0 0.53 0.00 0.03 0.00 0.00 99.43 06:04:08 06:01:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:04:08 06:01:01 2 0.07 0.00 0.08 0.00 0.00 99.85 06:04:08 06:01:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:04:08 06:02:01 all 0.16 0.00 0.05 0.00 0.00 99.80 06:04:08 06:02:01 0 0.52 0.00 0.03 0.00 0.00 99.45 06:04:08 06:02:01 1 0.08 0.00 0.08 0.00 0.00 99.83 06:04:08 06:02:01 2 0.02 0.00 0.03 0.00 0.00 99.95 06:04:08 06:02:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:04:08 06:03:01 all 0.17 0.00 0.03 0.00 0.00 99.80 06:04:08 06:03:01 0 0.53 0.00 0.02 0.00 0.00 99.45 06:04:08 06:03:01 1 0.07 0.00 0.05 0.00 0.00 99.88 06:04:08 06:03:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:04:08 06:03:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:04:08 Average: all 0.16 0.00 0.07 0.00 0.00 99.76 06:04:08 Average: 0 0.20 0.00 0.05 0.00 0.00 99.75 06:04:08 Average: 1 0.06 0.00 0.09 0.00 0.00 99.85 06:04:08 Average: 2 0.21 0.00 0.09 0.00 0.00 99.69 06:04:08 Average: 3 0.18 0.00 0.06 0.00 0.00 99.76 06:04:08 06:04:08 06:04:08