Pull request #751 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from acdbdf51e57d6d155b1a8289388d32206bd76f3a+2e0b14878cfb4a574be8745ab7c226ce26d53775 (e3bb5b423dc92cacf99e71c5a0a469071e940f22) 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-751/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-751/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22208 in /w/workspace/dgexfoundry_device-sdk-go_PR-751 [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-751 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit acdbdf51e57d6d155b1a8289388d32206bd76f3a > 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/751/head:refs/remotes/origin/PR-751 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # timeout=10 Merge succeeded, producing acdbdf51e57d6d155b1a8289388d32206bd76f3a Checking out Revision acdbdf51e57d6d155b1a8289388d32206bd76f3a (PR-751) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # 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 06:11:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:11:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:11:42 ========================================================= 06:11:42 EdgeX Global Pipelines Version Info 06:11:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:11:45 ------------------- 06:11:45 stable info: 06:11:45 ------------------- 06:11:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:11:45 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:11:45 Message: update stable to v1.0.179 06:11:46 ------------------- 06:11:46 experimental info: 06:11:46 ------------------- 06:11:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:11:46 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:11:46 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:11:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:11:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:11:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:11:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-751 [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-751 [Pipeline] echo 06:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-751 [Pipeline] echo 06:11:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acdbdf51e57d6d155b1a8289388d32206bd76f3a [Pipeline] echo 06:11:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acdbdf5 [Pipeline] echo 06:11:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:11:51 provisioning config files... 06:11:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/config7813776754106047048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:52 ---> docker-login.sh 06:11:52 nexus3.edgexfoundry.org:10001 06:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:52 Configure a credential helper to remove this warning. See 06:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:52 06:11:52 Login Succeeded 06:11:52 nexus3.edgexfoundry.org:10002 06:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:53 Configure a credential helper to remove this warning. See 06:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:53 06:11:53 Login Succeeded 06:11:53 nexus3.edgexfoundry.org:10003 06:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:53 Configure a credential helper to remove this warning. See 06:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:53 06:11:53 Login Succeeded 06:11:53 nexus3.edgexfoundry.org:10004 06:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:54 Configure a credential helper to remove this warning. See 06:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:54 06:11:54 Login Succeeded 06:11:54 docker.io 06:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:55 Configure a credential helper to remove this warning. See 06:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:55 06:11:55 Login Succeeded 06:11:55 ---> docker-login.sh ends [Pipeline] } 06:11:55 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 06:11:56 + git log --format=format:%s -1 acdbdf51e57d6d155b1a8289388d32206bd76f3a [Pipeline] echo 06:11:56 GIT_COMMIT: acdbdf51e57d6d155b1a8289388d32206bd76f3a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:11:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:11:57 06:11:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:11:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:11:58 latest: Pulling from edgex-devops/git-semver 06:11:58 31603596830f: Pulling fs layer 06:11:58 2a8b12db71e7: Pulling fs layer 06:11:58 6ca5941a6612: Pulling fs layer 06:11:58 ecc8261a40a4: Pulling fs layer 06:11:58 ecc8261a40a4: Waiting 06:11:58 2a8b12db71e7: Download complete 06:11:58 31603596830f: Verifying Checksum 06:11:58 31603596830f: Download complete 06:11:58 ecc8261a40a4: Download complete 06:11:58 6ca5941a6612: Verifying Checksum 06:11:58 6ca5941a6612: Download complete 06:11:59 31603596830f: Pull complete 06:11:59 2a8b12db71e7: Pull complete 06:12:01 6ca5941a6612: Pull complete 06:12:02 ecc8261a40a4: Pull complete 06:12:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:12:02 prd-centos7-docker-4c-2g-22208 does not seem to be running inside a container 06:12:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-751 -v /w/workspace/dgexfoundry_device-sdk-go_PR-751:/w/workspace/dgexfoundry_device-sdk-go_PR-751:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-751@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:12:05 $ docker top aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:05 [ssh-agent] Looking for ssh-agent implementation... 06:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:06 $ docker exec aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f ssh-agent 06:12:06 SSH_AUTH_SOCK=/tmp/ssh-yRcPqjJYj4DR/agent.12 06:12:06 SSH_AGENT_PID=17 06:12:06 Running ssh-add (command line suppressed) 06:12:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/private_key_8082674566421582481.key (/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/private_key_8082674566421582481.key) 06:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:07 + git tag --points-at HEAD [Pipeline] } 06:12:07 $ docker exec --env ******** --env ******** aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f ssh-agent -k 06:12:07 unset SSH_AUTH_SOCK; 06:12:07 unset SSH_AGENT_PID; 06:12:07 echo Agent pid 17 killed; 06:12:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:08 [ssh-agent] Looking for ssh-agent implementation... 06:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:08 $ docker exec aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f ssh-agent 06:12:09 SSH_AUTH_SOCK=/tmp/ssh-YBECLhFHLNgk/agent.46 06:12:09 SSH_AGENT_PID=52 06:12:09 Running ssh-add (command line suppressed) 06:12:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/private_key_1627050073609252096.key (/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/private_key_1627050073609252096.key) 06:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:09 + git semver init 06:12:09 # -> Open(): unable to determine branch for HEAD 06:12:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-751/.git 06:12:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-751 06:12:09 # $SEMVER_REMOTE_NAME = origin 06:12:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:12:09 # $SEMVER_USER_NAME = edgex-jenkins 06:12:09 # $SEMVER_BRANCH = PR-751 06:12:09 # $SEMVER_TEMP = /tmp/semver-573021401 06:12:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:12:10 # '/tmp/semver-573021401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-751/.semver' 06:12:10 # -> Force: false 06:12:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-751/.semver [Pipeline] } 06:12:10 $ docker exec --env ******** --env ******** aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f ssh-agent -k 06:12:10 unset SSH_AUTH_SOCK; 06:12:10 unset SSH_AGENT_PID; 06:12:10 echo Agent pid 52 killed; 06:12:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:11 + git semver [Pipeline] } 06:12:11 $ docker stop --time=1 aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f 06:12:13 $ docker rm -f aad30aba9047e7e8a26e8ecaa8628036979a4a424113b237a0f1435edb9b9b5f [Pipeline] // withDockerContainer [Pipeline] sh 06:12:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:12:14 Stashed 1 file(s) [Pipeline] echo 06:12:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:12:30 Still waiting to schedule task 06:12:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:12:30 Still waiting to schedule task 06:12:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:14:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22209 in /w/workspace/dgexfoundry_device-sdk-go_PR-751 [Pipeline] { [Pipeline] ws 06:14:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:14:25 using credential edgex-jenkins-ssh 06:14:25 Cloning the remote Git repository 06:14:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:14:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:14:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:25 > git --version # timeout=10 06:14:25 > git --version # 'git version 2.17.1' 06:14:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:27 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:14:27 Merge succeeded, producing acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:14:27 Checking out Revision acdbdf51e57d6d155b1a8289388d32206bd76f3a (PR-751) 06:14:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/751/head:refs/remotes/origin/PR-751 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:14:27 > git config core.sparsecheckout # timeout=10 06:14:27 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # timeout=10 06:14:27 > git remote # timeout=10 06:14:27 > git config --get remote.origin.url # timeout=10 06:14:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:27 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:14:27 > git rev-parse HEAD^{commit} # timeout=10 06:14:27 > git config core.sparsecheckout # timeout=10 06:14:28 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # timeout=10 06:14:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:14:32 > git --version # timeout=10 06:14:32 > git --version # 'git version 2.17.1' 06:14:32 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:14:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:14:35 + + sudotrue service 06:14:35 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:14:37 provisioning config files... 06:14:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config903947265670399440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:37 ---> docker-login.sh 06:14:37 nexus3.edgexfoundry.org:10001 06:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:39 Configure a credential helper to remove this warning. See 06:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:39 06:14:39 Login Succeeded 06:14:39 nexus3.edgexfoundry.org:10002 06:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:39 Configure a credential helper to remove this warning. See 06:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:39 06:14:39 Login Succeeded 06:14:39 nexus3.edgexfoundry.org:10003 06:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:40 Configure a credential helper to remove this warning. See 06:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:40 06:14:40 Login Succeeded 06:14:40 nexus3.edgexfoundry.org:10004 06:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:40 Configure a credential helper to remove this warning. See 06:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:40 06:14:40 Login Succeeded 06:14:40 docker.io 06:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:41 Configure a credential helper to remove this warning. See 06:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:41 06:14:41 Login Succeeded 06:14:41 ---> docker-login.sh ends [Pipeline] } 06:14:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:42 ========================================================= 06:14:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:14:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:14:42 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:14:43 Sending build context to Docker daemon 2.555MB 06:14:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:14:43 Step 2/8 : FROM ${BASE} 06:14:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:14:43 5f621e34cdf4: Pulling fs layer 06:14:43 a4357932f1b6: Pulling fs layer 06:14:43 18c013af1878: Pulling fs layer 06:14:43 00ac8860ef70: Pulling fs layer 06:14:43 63d7cb157983: Pulling fs layer 06:14:43 b116817d02f9: Pulling fs layer 06:14:43 745a02a5169b: Pulling fs layer 06:14:43 b116817d02f9: Waiting 06:14:43 00ac8860ef70: Waiting 06:14:43 63d7cb157983: Waiting 06:14:43 745a02a5169b: Waiting 06:14:43 18c013af1878: Verifying Checksum 06:14:43 18c013af1878: Download complete 06:14:43 a4357932f1b6: Verifying Checksum 06:14:43 a4357932f1b6: Download complete 06:14:43 63d7cb157983: Verifying Checksum 06:14:43 63d7cb157983: Download complete 06:14:43 b116817d02f9: Verifying Checksum 06:14:43 b116817d02f9: Download complete 06:14:43 5f621e34cdf4: Verifying Checksum 06:14:43 5f621e34cdf4: Download complete 06:14:43 5f621e34cdf4: Pull complete 06:14:44 a4357932f1b6: Pull complete 06:14:44 18c013af1878: Pull complete 06:14:46 745a02a5169b: Verifying Checksum 06:14:46 745a02a5169b: Download complete 06:14:47 00ac8860ef70: Verifying Checksum 06:14:47 00ac8860ef70: Download complete 06:14:57 00ac8860ef70: Pull complete 06:14:57 63d7cb157983: Pull complete 06:14:57 b116817d02f9: Pull complete 06:15:01 745a02a5169b: Pull complete 06:15:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:15:01 ---> b7e6874047d6 06:15:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:15:03 ---> Running in 848854a884d9 06:15:04 Removing intermediate container 848854a884d9 06:15:04 ---> 55141e5a8bc6 06:15:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:04 ---> Running in ccde3725d60e 06:15:07 Removing intermediate container ccde3725d60e 06:15:07 ---> fa4d3a469c6a 06:15:07 Step 5/8 : RUN apk add --update --no-cache make git 06:15:07 ---> Running in 2a001ee080ab 06:15:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:15:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:15:09 OK: 142 MiB in 39 packages 06:15:10 Removing intermediate container 2a001ee080ab 06:15:10 ---> d5e2184d8e84 06:15:10 Step 6/8 : WORKDIR /device-sdk-go 06:15:10 ---> Running in ea7239743660 06:15:11 Removing intermediate container ea7239743660 06:15:11 ---> f6f157bd8a30 06:15:11 Step 7/8 : COPY . . 06:15:12 ---> 098dc9d8108a 06:15:12 Step 8/8 : RUN go mod download 06:15:12 ---> Running in e080a1bf981a 06:15:18 Running on prd-centos7-docker-4c-2g-22210 in /w/workspace/dgexfoundry_device-sdk-go_PR-751 [Pipeline] { [Pipeline] ws 06:15:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:15:27 using credential edgex-jenkins-ssh 06:15:27 Cloning the remote Git repository 06:15:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:15:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:27 > git --version # timeout=10 06:15:27 > git --version # 'git version 2.24.3' 06:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:29 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:15:29 Merge succeeded, producing acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:15:29 Checking out Revision acdbdf51e57d6d155b1a8289388d32206bd76f3a (PR-751) 06:15:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/751/head:refs/remotes/origin/PR-751 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:29 > git config core.sparsecheckout # timeout=10 06:15:29 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # timeout=10 06:15:29 > git remote # timeout=10 06:15:29 > git config --get remote.origin.url # timeout=10 06:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:29 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:15:29 > git rev-parse HEAD^{commit} # timeout=10 06:15:29 > git config core.sparsecheckout # timeout=10 06:15:29 > git checkout -f acdbdf51e57d6d155b1a8289388d32206bd76f3a # timeout=10 06:15:34 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:15:34 > git --version # timeout=10 06:15:34 > git --version # 'git version 2.24.3' 06:15:34 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 06:15:35 Removing intermediate container e080a1bf981a 06:15:35 ---> d862ce42d78a 06:15:35 Successfully built d862ce42d78a 06:15:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 06:15:35 + docker inspect -f . ci-base-image-arm64 06:15:35 . [Pipeline] { [Pipeline] withDockerContainer 06:15:35 prd-ubuntu18.04-docker-arm64-4c-16g-22209 does not seem to be running inside a container 06:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:37 $ docker top 2970954ebd8033207a742ec72c2644a1c73b5773055826c1271fe5bacc93340d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:15:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:15:39 + go version 06:15:39 go version go1.15.5 linux/arm64 [Pipeline] } 06:15:39 $ docker stop --time=1 2970954ebd8033207a742ec72c2644a1c73b5773055826c1271fe5bacc93340d 06:15:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 06:15:41 $ docker rm -f 2970954ebd8033207a742ec72c2644a1c73b5773055826c1271fe5bacc93340d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } 06:15:41 + sudo service docker restart 06:15:41 + true 06:15:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:42 + docker inspect -f . ci-base-image-arm64 06:15:42 . [Pipeline] withDockerContainer 06:15:42 prd-ubuntu18.04-docker-arm64-4c-16g-22209 does not seem to be running inside a container 06:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:44 $ docker top 284ad009ca366563b20bff9b5069e7160de76a6ffaf72ef320da431461e82ae1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 06:15:45 provisioning config files... 06:15:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7684362580731361792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:45 + make test 06:15:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:15:45 ---> docker-login.sh 06:15:45 nexus3.edgexfoundry.org:10001 06:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:46 Configure a credential helper to remove this warning. See 06:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:46 06:15:46 Login Succeeded 06:15:46 nexus3.edgexfoundry.org:10002 06:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:47 Configure a credential helper to remove this warning. See 06:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:47 06:15:47 Login Succeeded 06:15:47 nexus3.edgexfoundry.org:10003 06:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:47 Configure a credential helper to remove this warning. See 06:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:47 06:15:47 Login Succeeded 06:15:47 nexus3.edgexfoundry.org:10004 06:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:47 Configure a credential helper to remove this warning. See 06:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:47 06:15:47 Login Succeeded 06:15:47 docker.io 06:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:48 Configure a credential helper to remove this warning. See 06:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:48 06:15:48 Login Succeeded 06:15:48 ---> docker-login.sh ends [Pipeline] } 06:15:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:49 ========================================================= 06:15:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:15:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:15:50 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:15:50 Sending build context to Docker daemon 2.549MB 06:15:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:15:50 Step 2/8 : FROM ${BASE} 06:15:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:50 188c0c94c7c5: Pulling fs layer 06:15:50 0ef7d3d256c8: Pulling fs layer 06:15:50 de9db76c5a1d: Pulling fs layer 06:15:50 bca2f99d35d6: Pulling fs layer 06:15:50 93359f2a8cfa: Pulling fs layer 06:15:50 7c6f9722023f: Pulling fs layer 06:15:50 a35cf1a2eb13: Pulling fs layer 06:15:50 93359f2a8cfa: Waiting 06:15:50 7c6f9722023f: Waiting 06:15:50 a35cf1a2eb13: Waiting 06:15:50 bca2f99d35d6: Waiting 06:15:50 de9db76c5a1d: Verifying Checksum 06:15:50 de9db76c5a1d: Download complete 06:15:51 0ef7d3d256c8: Verifying Checksum 06:15:51 0ef7d3d256c8: Download complete 06:15:51 93359f2a8cfa: Download complete 06:15:51 7c6f9722023f: Verifying Checksum 06:15:51 7c6f9722023f: Download complete 06:15:52 188c0c94c7c5: Verifying Checksum 06:15:52 188c0c94c7c5: Download complete 06:15:52 188c0c94c7c5: Pull complete 06:15:53 0ef7d3d256c8: Pull complete 06:15:53 de9db76c5a1d: Pull complete 06:15:57 a35cf1a2eb13: Verifying Checksum 06:15:57 a35cf1a2eb13: Download complete 06:15:59 bca2f99d35d6: Verifying Checksum 06:15:59 bca2f99d35d6: Download complete 06:16:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:16:12 bca2f99d35d6: Pull complete 06:16:12 93359f2a8cfa: Pull complete 06:16:12 7c6f9722023f: Pull complete 06:16:16 a35cf1a2eb13: Pull complete 06:16:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:16:16 ---> a62c8e92a672 06:16:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:17 ---> Running in 1d807a0fbe94 06:16:17 Removing intermediate container 1d807a0fbe94 06:16:17 ---> 78f805ff7c30 06:16:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:17 ---> Running in a4d71baa3640 06:16:20 Removing intermediate container a4d71baa3640 06:16:20 ---> 1feb96f0304a 06:16:20 Step 5/8 : RUN apk add --update --no-cache make git 06:16:20 ---> Running in ca04664c6891 06:16:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:22 OK: 166 MiB in 39 packages 06:16:22 Removing intermediate container ca04664c6891 06:16:22 ---> e03e69ddeb32 06:16:22 Step 6/8 : WORKDIR /device-sdk-go 06:16:22 ---> Running in b1d6d2ba35bb 06:16:23 Removing intermediate container b1d6d2ba35bb 06:16:23 ---> 3728c04a9612 06:16:23 Step 7/8 : COPY . . 06:16:24 ---> e3053a7d343a 06:16:24 Step 8/8 : RUN go mod download 06:16:24 ---> Running in c8a2e7abc626 06:16:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:16:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:16:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:16:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 19.4% of statements 06:16:51 Removing intermediate container c8a2e7abc626 06:16:51 ---> 5c904f01a237 06:16:51 Successfully built 5c904f01a237 06:16:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:16:52 + docker inspect -f . ci-base-image-x86_64 06:16:52 . [Pipeline] withDockerContainer 06:16:52 prd-centos7-docker-4c-2g-22210 does not seem to be running inside a container 06:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.188s coverage: 97.1% of statements 06:16:54 $ docker top 739daae7c8d327dee2a496cbfe10fb789072cf19500f46d20c3b19a76e2fd47f -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:56 + go version 06:16:56 go version go1.15.5 linux/amd64 [Pipeline] } 06:16:56 $ docker stop --time=1 739daae7c8d327dee2a496cbfe10fb789072cf19500f46d20c3b19a76e2fd47f 06:16:57 $ docker rm -f 739daae7c8d327dee2a496cbfe10fb789072cf19500f46d20c3b19a76e2fd47f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:59 + docker inspect -f . ci-base-image-x86_64 06:16:59 . [Pipeline] withDockerContainer 06:16:59 prd-centos7-docker-4c-2g-22210 does not seem to be running inside a container 06:17:00 $ 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:17:01 $ docker top b66cc10a606154ab8e26b4b9e76c7278cf187abbbaad659bb71198130d64101e -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:02 + make test 06:17:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 9.4% of statements 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 21.7% of statements 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.593s coverage: 43.2% of statements 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.752s coverage: 68.9% of statements 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 53.8% of statements 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.151s coverage: 26.8% of statements 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.966s coverage: 83.5% of statements 06:17:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.129s coverage: 4.2% of statements 06:17:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:17:25 GO111MODULE=on go vet ./... 06:17:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:17:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:17:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:17:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 19.4% of statements 06:17:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.944s coverage: 97.1% of statements 06:17:57 gofmt -l . 06:17:57 [ "`gofmt -l .`" = "" ] 06:17:57 ./bin/test-attribution-txt.sh 06:17:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:17:57 $ docker stop --time=1 284ad009ca366563b20bff9b5069e7160de76a6ffaf72ef320da431461e82ae1 06:17:59 $ docker rm -f 284ad009ca366563b20bff9b5069e7160de76a6ffaf72ef320da431461e82ae1 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:05 + ls -al . 06:18:05 total 252 06:18:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 06:17 . 06:18:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 06:14 .. 06:18:05 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 06:14 .dockerignore 06:18:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 06:14 .git 06:18:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 06:14 .github 06:18:05 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 06:14 .gitignore 06:18:05 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 06:14 Dockerfile.build 06:18:05 -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 06:14 Jenkinsfile 06:18:05 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 06:14 LICENSE 06:18:05 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 06:14 Makefile 06:18:05 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 06:14 README.md 06:18:05 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 06:14 RELEASE-NOTES.txt 06:18:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 06:12 VERSION 06:18:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 06:14 bin 06:18:05 -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 06:17 coverage.out 06:18:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 06:14 example 06:18:05 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 06:17 go.mod 06:18:05 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 06:17 go.sum 06:18:05 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 06:14 internal 06:18:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 06:14 openapi 06:18:05 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 06:14 pkg 06:18:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 06:14 snap 06:18:05 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 06:14 version.go [Pipeline] isUnix [Pipeline] sh 06:18:05 + 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=acdbdf51e57d6d155b1a8289388d32206bd76f3a --label arch=arm64 --label version=0.0.0 . 06:18:06 Sending build context to Docker daemon 2.693MB 06:18:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:18:06 Step 2/24 : FROM ${BASE} AS builder 06:18:06 ---> d862ce42d78a 06:18:06 Step 3/24 : ARG MAKE='make build' 06:18:06 ---> Running in d4f50bf67a20 06:18:07 Removing intermediate container d4f50bf67a20 06:18:07 ---> 5ca39abe5678 06:18:07 Step 4/24 : WORKDIR /device-sdk-go 06:18:07 ---> Running in 1e55222e9fe8 06:18:07 Removing intermediate container 1e55222e9fe8 06:18:07 ---> 5b3f4106f9e8 06:18:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:07 ---> Running in 253f52e55e7e 06:18:08 Removing intermediate container 253f52e55e7e 06:18:08 ---> dd7669df67f9 06:18:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:08 ---> Running in 26026e3473f4 06:18:10 Removing intermediate container 26026e3473f4 06:18:10 ---> 88fc67211828 06:18:10 Step 7/24 : RUN apk add --update --no-cache make git 06:18:10 ---> Running in 52921c8dddbb 06:18:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:18:13 OK: 142 MiB in 39 packages 06:18:14 Removing intermediate container 52921c8dddbb 06:18:14 ---> 626c1ff00684 06:18:14 Step 8/24 : COPY . . 06:18:16 ---> 7f9e8a0dfd86 06:18:16 Step 9/24 : RUN ${MAKE} 06:18:16 ---> Running in 25aca687d1b3 06:18:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.089s coverage: 9.4% of statements 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.161s coverage: 21.7% of statements 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.323s coverage: 43.2% of statements 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.443s coverage: 68.9% of statements 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.169s coverage: 53.8% of statements 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.089s coverage: 26.8% of statements 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.264s coverage: 83.5% of statements 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.080s coverage: 4.2% of statements 06:18:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:18:25 GO111MODULE=on go vet ./... 06:18:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:18:44 Removing intermediate container 25aca687d1b3 06:18:44 ---> 4d6a1938efa9 06:18:44 Step 10/24 : FROM scratch 06:18:44 ---> 06:18:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:44 ---> Running in ca6f242b95ea 06:18:45 gofmt -l . 06:18:45 [ "`gofmt -l .`" = "" ] 06:18:45 ./bin/test-attribution-txt.sh 06:18:45 Removing intermediate container ca6f242b95ea 06:18:45 ---> 51ed3c5a4200 06:18:45 Step 12/24 : ENV APP_PORT=49990 06:18:45 ---> Running in 112d60addf6f 06:18:45 Removing intermediate container 112d60addf6f 06:18:45 ---> def3456c3c42 06:18:45 Step 13/24 : EXPOSE $APP_PORT 06:18:45 ---> Running in 91a690f212fc 06:18:46 ./bin/test-go-mod-tidy.sh 06:18:46 Removing intermediate container 91a690f212fc 06:18:46 ---> 2b211091d0ce 06:18:46 Step 14/24 : WORKDIR / 06:18:46 ---> Running in 0c7fd5f3f54c [Pipeline] } 06:18:46 $ docker stop --time=1 b66cc10a606154ab8e26b4b9e76c7278cf187abbbaad659bb71198130d64101e 06:18:46 Removing intermediate container 0c7fd5f3f54c 06:18:46 ---> 575341ff214c 06:18:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:18:47 ---> d3be83d2bceb 06:18:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:18:48 ---> 0d57ce4a01bc 06:18:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:18:49 $ docker rm -f b66cc10a606154ab8e26b4b9e76c7278cf187abbbaad659bb71198130d64101e 06:18:49 ---> 3ea17cbdfe00 06:18:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:18:49 ---> 59f16ef77527 06:18:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:18:50 ---> 34388edf3a42 06:18:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] // withDockerContainer [Pipeline] sh 06:18:50 ---> Running in a854cf07b53d 06:18:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:51 Warning: overwriting stash ‘coverage-report’ 06:18:51 Removing intermediate container a854cf07b53d 06:18:51 ---> 1c0df102f068 06:18:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:51 ---> Running in f1695ab6599b 06:18:51 Stashed 1 file(s) [Pipeline] } 06:18:51 Removing intermediate container f1695ab6599b 06:18:51 ---> dd7b9af13dfa 06:18:51 Step 22/24 : LABEL arch=arm64 [Pipeline] // script [Pipeline] } [Pipeline] // stage 06:18:52 ---> Running in 8f6ff542ea63 [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:18:52 Removing intermediate container 8f6ff542ea63 06:18:52 ---> 24ac483ebe02 06:18:52 Step 23/24 : LABEL git_sha=acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:52 ---> Running in 02abf51e354e 06:18:52 Removing intermediate container 02abf51e354e 06:18:52 ---> a97018e0ad5f 06:18:52 Step 24/24 : LABEL version=0.0.0 06:18:52 + ls -al . 06:18:52 total 216 06:18:52 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 06:18 . 06:18:52 drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 06:15 .. 06:18:52 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 06:15 bin 06:18:52 -rw-r--r--. 1 jenkins jenkins 136843 Jan 22 06:18 coverage.out 06:18:52 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 06:15 Dockerfile.build 06:18:52 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 06:15 .dockerignore 06:18:52 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 06:15 example 06:18:52 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 06:15 .git 06:18:52 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 06:15 .github 06:18:52 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 06:15 .gitignore 06:18:52 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 06:18 go.mod 06:18:52 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 06:18 go.sum 06:18:52 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 06:15 internal 06:18:52 -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 06:15 Jenkinsfile 06:18:52 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 06:15 LICENSE 06:18:52 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 06:15 Makefile 06:18:52 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 06:15 openapi 06:18:52 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 06:15 pkg 06:18:52 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 06:15 README.md 06:18:52 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 06:15 RELEASE-NOTES.txt 06:18:52 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 06:15 snap 06:18:52 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 06:12 VERSION 06:18:52 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:18:53 ---> Running in de6ac5ab4409 06:18:53 + 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=acdbdf51e57d6d155b1a8289388d32206bd76f3a --label arch=amd64 --label version=0.0.0 . 06:18:53 Removing intermediate container de6ac5ab4409 06:18:53 ---> a534984ac292 06:18:53 [Warning] One or more build-args [ARCH] were not consumed 06:18:53 Successfully built a534984ac292 06:18:53 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] } 06:18:53 Sending build context to Docker daemon 2.686MB 06:18:53 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:18:53 Step 2/24 : FROM ${BASE} AS builder 06:18:53 ---> 5c904f01a237 06:18:53 Step 3/24 : ARG MAKE='make build' [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:18:54 ---> Running in 978d111219fa [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 06:18:54 Removing intermediate container 978d111219fa 06:18:54 ---> d54544896942 06:18:54 Step 4/24 : WORKDIR /device-sdk-go [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:54 ---> Running in 48b0a67a4db7 06:18:55 Removing intermediate container 48b0a67a4db7 06:18:55 ---> 76eba64a4297 06:18:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:55 ---> Running in 77672c14e2ed 06:18:55 Removing intermediate container 77672c14e2ed 06:18:55 ---> 4e465308904f 06:18:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:55 ---> Running in 30682e455cb6 06:18:56 Removing intermediate container 30682e455cb6 06:18:56 ---> 1d50c8692997 06:18:56 Step 7/24 : RUN apk add --update --no-cache make git 06:18:56 ---> Running in a49b3cfad956 06:18:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:18:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:18:58 OK: 166 MiB in 39 packages 06:18:59 Removing intermediate container a49b3cfad956 06:18:59 ---> 1cb49a3b5a34 06:18:59 Step 8/24 : COPY . . 06:19:00 ---> 4ff7eab7cf24 06:19:00 Step 9/24 : RUN ${MAKE} 06:19:00 ---> Running in 8ce932a9ba10 06:19:02 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:19:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:19:23 Removing intermediate container 8ce932a9ba10 06:19:23 ---> f70d84b43889 06:19:23 Step 10/24 : FROM scratch 06:19:23 ---> 06:19:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:23 ---> Running in a2af63b20aa9 06:19:23 Removing intermediate container a2af63b20aa9 06:19:23 ---> ea2f3303e119 06:19:23 Step 12/24 : ENV APP_PORT=49990 06:19:23 ---> Running in a1709147242e 06:19:24 Removing intermediate container a1709147242e 06:19:24 ---> 41f7a8ee0cf9 06:19:24 Step 13/24 : EXPOSE $APP_PORT 06:19:24 ---> Running in 40fcf90a2bf6 06:19:24 Removing intermediate container 40fcf90a2bf6 06:19:24 ---> 3fe5b7c17f26 06:19:24 Step 14/24 : WORKDIR / 06:19:24 ---> Running in a29b75648120 06:19:24 Removing intermediate container a29b75648120 06:19:24 ---> 755ca666fad5 06:19:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:19:26 ---> 3f33a050413d 06:19:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:19:26 ---> 0c3144c57b98 06:19:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:19:27 ---> 50ddc2faa27b 06:19:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:19:27 ---> 15cc86b2eb45 06:19:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:19:28 ---> ca764dcac7fc 06:19:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:19:28 ---> Running in 256e84b55b75 06:19:28 Removing intermediate container 256e84b55b75 06:19:28 ---> 700e69316e7d 06:19:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:19:28 ---> Running in dda3f8c36c8a 06:19:28 Removing intermediate container dda3f8c36c8a 06:19:28 ---> 6c8288977e15 06:19:28 Step 22/24 : LABEL arch=amd64 06:19:29 ---> Running in ff6d6ea09a88 06:19:29 Removing intermediate container ff6d6ea09a88 06:19:29 ---> 4887ab8653ce 06:19:29 Step 23/24 : LABEL git_sha=acdbdf51e57d6d155b1a8289388d32206bd76f3a 06:19:29 ---> Running in 41acb8cefa35 06:19:29 Removing intermediate container 41acb8cefa35 06:19:29 ---> b47ad7c60035 06:19:29 Step 24/24 : LABEL version=0.0.0 06:19:30 ---> Running in d8502975c51e 06:19:30 Removing intermediate container d8502975c51e 06:19:30 ---> 382dce5e2082 06:19:30 [Warning] One or more build-args [ARCH] were not consumed 06:19:30 Successfully built 382dce5e2082 06:19: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:19:33 provisioning config files... 06:19:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/config2979867686068973466tmp [Pipeline] { [Pipeline] sh 06:19:33 + set +x 06:19:33 + bash -s -- 06:19:33 + curl -s https://codecov.io/bash 06:19:34 06:19:34 _____ _ 06:19:34 / ____| | | 06:19:34 | | ___ __| | ___ ___ _____ __ 06:19:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:34 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:34 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:34 Bash-20210115-cec3c92 06:19:34 06:19:34 06:19:34 ==> git version 2.24.3 found 06:19:34 ==> 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:19:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:19:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:19:34 ==> Jenkins CI detected. 06:19:34 project root: . 06:19:34 --> token set from env 06:19:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:34 ==> Running gcov in . (disable via -X gcov) 06:19:34 ==> Python coveragepy not found 06:19:34 ==> Searching for coverage reports in: 06:19:34 + . 06:19:34 -> Found 1 reports 06:19:34 ==> Detecting git/mercurial file structure 06:19:34 ==> Reading reports 06:19:34 + ./coverage.out bytes=136843 06:19:34 ==> Appending adjustments 06:19:34 https://docs.codecov.io/docs/fixing-reports 06:19:35 + Found adjustments 06:19:35 ==> Gzipping contents 06:19:35 24K /tmp/codecov.SUBvkG.gz 06:19:35 ==> Uploading reports 06:19:35 url: https://codecov.io 06:19:35 query: branch=PR-751&commit=acdbdf51e57d6d155b1a8289388d32206bd76f3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-751%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=751&job=&cmd_args= 06:19:35 -> Pinging Codecov 06:19:35 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-751&commit=acdbdf51e57d6d155b1a8289388d32206bd76f3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-751%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=751&job=&cmd_args= 06:19:35 -> Uploading to 06:19:35 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/acdbdf51e57d6d155b1a8289388d32206bd76f3a/e2b7e2cc-81ea-4aa3-80db-9bc3dca6d09f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T061935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d8bfe6b812c4fab56556b113a4d3c546a9c99586ca4a12e6ff667b02b573562 06:19:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:35 Dload Upload Total Spent Left Speed 06:19:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21526 0 0 100 21526 0 40356 --:--:-- --:--:-- --:--:-- 40310 06:19:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/acdbdf51e57d6d155b1a8289388d32206bd76f3a [Pipeline] } 06:19: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:19:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:40 ---> package-listing.sh 06:19:40 ++ facter osfamily 06:19:40 ++ tr '[:upper:]' '[:lower:]' 06:19:41 + OS_FAMILY=redhat 06:19:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-751 06:19:41 + START_PACKAGES=/tmp/packages_start.txt 06:19:41 + END_PACKAGES=/tmp/packages_end.txt 06:19:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:41 + PACKAGES=/tmp/packages_start.txt 06:19:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-751 ']' 06:19:41 + PACKAGES=/tmp/packages_end.txt 06:19:41 + case "${OS_FAMILY}" in 06:19:41 + rpm -qa 06:19:41 + sort 06:19:46 + '[' -f /tmp/packages_start.txt ']' 06:19:46 + '[' -f /tmp/packages_end.txt ']' 06:19:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-751 ']' 06:19:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-751/archives/ 06:19:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-751/archives/ [Pipeline] echo 06:19:46 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-751/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:19:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:48 06:19:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:19:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:48 alpine: Pulling from edgex-lftools-log-publisher 06:19:48 df20fa9351a1: Pulling fs layer 06:19:48 36b3adc4ff6f: Pulling fs layer 06:19:48 8ad3a11d3b57: Pulling fs layer 06:19:48 46f8f816bc3b: Pulling fs layer 06:19:48 93b61091891f: Pulling fs layer 06:19:48 93b9cdb0e59b: Pulling fs layer 06:19:48 5e14af77c1be: Pulling fs layer 06:19:48 01666e4c0597: Pulling fs layer 06:19:48 aa168da1d23b: Pulling fs layer 06:19:48 46f8f816bc3b: Waiting 06:19:48 93b61091891f: Waiting 06:19:48 93b9cdb0e59b: Waiting 06:19:48 5e14af77c1be: Waiting 06:19:48 01666e4c0597: Waiting 06:19:48 aa168da1d23b: Waiting 06:19:48 36b3adc4ff6f: Verifying Checksum 06:19:48 36b3adc4ff6f: Download complete 06:19:49 46f8f816bc3b: Verifying Checksum 06:19:49 46f8f816bc3b: Download complete 06:19:49 df20fa9351a1: Verifying Checksum 06:19:49 df20fa9351a1: Download complete 06:19:49 93b9cdb0e59b: Verifying Checksum 06:19:49 93b9cdb0e59b: Download complete 06:19:49 5e14af77c1be: Download complete 06:19:49 01666e4c0597: Verifying Checksum 06:19:49 01666e4c0597: Download complete 06:19:49 93b61091891f: Verifying Checksum 06:19:49 93b61091891f: Download complete 06:19:50 df20fa9351a1: Pull complete 06:19:50 8ad3a11d3b57: Verifying Checksum 06:19:50 8ad3a11d3b57: Download complete 06:19:50 36b3adc4ff6f: Pull complete 06:19:53 8ad3a11d3b57: Pull complete 06:19:53 46f8f816bc3b: Pull complete 06:19:55 93b61091891f: Pull complete 06:19:55 93b9cdb0e59b: Pull complete 06:19:55 5e14af77c1be: Pull complete 06:19:55 01666e4c0597: Pull complete 06:19:56 aa168da1d23b: Verifying Checksum 06:19:56 aa168da1d23b: Download complete 06:20:15 aa168da1d23b: Pull complete 06:20:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:20:15 prd-centos7-docker-4c-2g-22208 does not seem to be running inside a container 06:20:15 $ 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-751/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-751 -v /w/workspace/dgexfoundry_device-sdk-go_PR-751:/w/workspace/dgexfoundry_device-sdk-go_PR-751:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:20:19 $ docker top b74612171f36ef2b4e0cf85912ad17bf1b7bf4f7286b79dd3a7073128c3c42f1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:21 + mkdir -p /var/log/sa [Pipeline] sh 06:20:21 + ls /var/log/sa-host 06:20:22 + sadf -c /var/log/sa-host/sa22 06:20:22 file_magic: OK 06:20:22 HZ: Using current value: 100 06:20:22 file_header: OK 06:20:22 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:20:22 Statistics: 06:20:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:20:22 File successfully converted to sysstat format version 12.2.1 06:20:22 + sadf -c /var/log/sa-host/sa23 06:20:22 file_magic: OK 06:20:22 HZ: Using current value: 100 06:20:22 file_header: OK 06:20:22 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:20:22 Statistics: 06:20:22 Hnuu...uuuununununu... 06:20:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:22 provisioning config files... 06:20:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp/config7561199771924328142tmp [Pipeline] { [Pipeline] echo 06:20:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:23 ---> create-netrc.sh [Pipeline] } 06:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:20:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:20:24 ---> python-tools-install.sh [Pipeline] echo 06:20:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:25 ---> sudo-logs.sh 06:20:25 Archiving 'sudo' log.. [Pipeline] echo 06:20:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:26 ---> job-cost.sh 06:20:26 lf-activate-venv: SKIPPING 06:20:26 INFO: No Stack... 06:20:27 INFO: Retrieving Pricing Info for: v1-standard-2 06:20:28 INFO: Archiving Costs [Pipeline] echo 06:20:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:28 ---> logs-deploy.sh 06:20:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-751/1 06:20:28 INFO: archiving workspace using pattern(s): 06:20:32 Archives upload complete. 06:20:32 INFO: archiving logs to Nexus 06:20:34 ---> uname -a: 06:20:34 Linux prd-centos7-docker-4c-2g-22208.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:20:34 06:20:34 06:20:34 ---> lscpu: 06:20:34 Architecture: x86_64 06:20:34 CPU op-mode(s): 32-bit, 64-bit 06:20:34 Byte Order: Little Endian 06:20:34 Address sizes: 40 bits physical, 48 bits virtual 06:20:34 CPU(s): 4 06:20:34 On-line CPU(s) list: 0-3 06:20:34 Thread(s) per core: 1 06:20:34 Core(s) per socket: 1 06:20:34 Socket(s): 4 06:20:34 NUMA node(s): 1 06:20:34 Vendor ID: GenuineIntel 06:20:34 CPU family: 6 06:20:34 Model: 44 06:20:34 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:20:34 Stepping: 1 06:20:34 CPU MHz: 2933.438 06:20:34 BogoMIPS: 5866.87 06:20:34 Virtualization: VT-x 06:20:34 Hypervisor vendor: KVM 06:20:34 Virtualization type: full 06:20:34 L1d cache: 128 KiB 06:20:34 L1i cache: 128 KiB 06:20:34 L2 cache: 16 MiB 06:20:34 L3 cache: 64 MiB 06:20:34 NUMA node0 CPU(s): 0-3 06:20:34 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:20:34 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:20:34 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:20:34 Vulnerability Meltdown: Mitigation; PTI 06:20:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:20:34 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:20:34 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:20:34 Vulnerability Srbds: Not affected 06:20:34 Vulnerability Tsx async abort: Not affected 06:20:34 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:20:34 06:20:34 06:20:34 ---> nproc: 06:20:34 4 06:20:34 06:20:34 06:20:34 ---> df -h: 06:20:34 Filesystem Size Used Available Use% Mounted on 06:20:34 overlay 50.0G 7.3G 42.7G 15% / 06:20:34 tmpfs 64.0M 0 64.0M 0% /dev 06:20:34 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:20:34 shm 64.0M 0 64.0M 0% /dev/shm 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-751 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-751@tmp 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:20:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:20:34 06:20:34 06:20:34 ---> free -m: 06:20:34 total used free shared buff/cache available 06:20:34 Mem: 1837 725 92 0 1019 1006 06:20:34 Swap: 1023 1 1022 06:20:34 06:20:34 06:20:34 ---> ip addr: 06:20:34 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:20:34 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:20:34 inet 127.0.0.1/8 scope host lo 06:20:34 valid_lft forever preferred_lft forever 06:20:34 inet6 ::1/128 scope host 06:20:34 valid_lft forever preferred_lft forever 06:20:34 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:20:34 link/ether fa:16:3e:5f:dc:29 brd ff:ff:ff:ff:ff:ff 06:20:34 inet 10.30.123.23/23 brd 10.30.123.255 scope global dynamic eth0 06:20:34 valid_lft 85812sec preferred_lft 85812sec 06:20:34 inet6 fe80::f816:3eff:fe5f:dc29/64 scope link 06:20:34 valid_lft forever preferred_lft forever 06:20:34 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:20:34 link/ether 02:42:47:2d:71:15 brd ff:ff:ff:ff:ff:ff 06:20:34 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:20:34 valid_lft forever preferred_lft forever 06:20:34 inet6 fe80::42:47ff:fe2d:7115/64 scope link 06:20:34 valid_lft forever preferred_lft forever 06:20:34 06:20:34 06:20:34 ---> sar -b -r -n DEV: 06:20:34 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 06:20:34 06:20:34 06:10:32 LINUX RESTART (4 CPU) 06:20:34 06:20:34 06:11:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:20:34 06:12:01 141.84 68.28 73.56 0.00 7345.23 38520.28 0.00 06:20:34 06:13:01 19.93 5.12 14.81 0.00 1273.48 1537.75 0.00 06:20:34 06:14:01 0.33 0.00 0.33 0.00 0.00 4.99 0.00 06:20:34 06:15:01 0.27 0.00 0.27 0.00 0.00 3.73 0.00 06:20:34 06:16:01 0.20 0.00 0.20 0.00 0.00 2.62 0.00 06:20:34 06:17:02 0.25 0.00 0.25 0.00 0.00 2.73 0.00 06:20:34 06:18:01 0.34 0.00 0.34 0.00 0.00 3.60 0.00 06:20:34 06:19:01 0.27 0.00 0.27 0.00 0.00 2.97 0.00 06:20:34 06:20:01 67.72 51.64 16.08 0.00 4375.51 5758.65 0.00 06:20:34 Average: 25.55 13.85 11.71 0.00 1437.93 5045.89 0.00 06:20:34 06:20:34 06:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:20:34 06:12:01 117104 0 628636 33.41 2620 1133184 1274848 43.51 434352 1128680 25304 06:20:34 06:13:01 163468 0 616316 32.76 2620 1099140 1136116 38.77 415672 1101216 20 06:20:34 06:14:01 174068 0 605712 32.19 2620 1099144 1055368 36.02 424912 1083284 8 06:20:34 06:15:01 170052 0 609724 32.41 2620 1099148 1055452 36.02 422960 1088700 12 06:20:34 06:16:01 169652 0 610120 32.43 2620 1099152 1055588 36.03 432736 1079448 8 06:20:34 06:17:02 170420 0 609348 32.39 2620 1099156 1055240 36.01 434044 1077624 8 06:20:34 06:18:01 171096 0 608668 32.35 2620 1099160 1055132 36.01 433596 1077624 8 06:20:34 06:19:01 169456 0 610304 32.44 2620 1099164 1055420 36.02 435156 1077624 16 06:20:34 06:20:01 74484 0 703600 37.39 2620 1100840 1483564 50.63 531064 1055152 99696 06:20:34 Average: 153311 0 622492 33.08 2620 1103121 1136303 38.78 440499 1085484 13898 06:20:34 06:20:34 06:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:20:34 06:12:01 eth0 245.84 183.22 1053.12 63.54 0.00 0.00 0.00 0.00 06:20:34 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:13:01 eth0 29.42 27.79 47.66 27.70 0.00 0.00 0.00 0.00 06:20:34 06:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:13:01 docker0 9.02 6.39 1.25 23.24 0.00 0.00 0.00 0.00 06:20:34 06:14:01 eth0 1.91 0.93 2.87 0.08 0.00 0.00 0.00 0.00 06:20:34 06:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:15:01 eth0 1.13 0.33 0.34 0.17 0.00 0.00 0.00 0.00 06:20:34 06:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:16:01 eth0 0.41 0.36 0.26 0.23 0.00 0.00 0.00 0.00 06:20:34 06:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:17:02 eth0 0.27 0.20 0.14 0.07 0.00 0.00 0.00 0.00 06:20:34 06:17:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:17:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:18:01 eth0 0.66 0.08 0.06 0.01 0.00 0.00 0.00 0.00 06:20:34 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:19:01 eth0 1.43 0.56 0.58 0.39 0.00 0.00 0.00 0.00 06:20:34 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:20:01 eth0 216.79 174.64 2162.24 20.40 0.00 0.00 0.00 0.00 06:20:34 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 Average: eth0 55.18 43.04 363.50 12.45 0.00 0.00 0.00 0.00 06:20:34 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:34 Average: docker0 1.00 0.71 0.14 2.59 0.00 0.00 0.00 0.00 06:20:34 06:20:34 06:20:34 ---> sar -P ALL: 06:20:34 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 06:20:34 06:20:34 06:10:32 LINUX RESTART (4 CPU) 06:20:34 06:20:34 06:11:02 CPU %user %nice %system %iowait %steal %idle 06:20:34 06:12:01 all 12.26 0.00 7.42 5.67 21.30 53.35 06:20:34 06:12:01 0 12.89 0.00 11.42 4.36 21.05 50.28 06:20:34 06:12:01 1 13.79 0.00 5.78 5.83 21.81 52.80 06:20:34 06:12:01 2 11.62 0.00 6.63 6.61 21.45 53.68 06:20:34 06:12:01 3 10.72 0.00 5.90 5.87 20.88 56.63 06:20:34 06:13:01 all 1.12 0.00 1.25 0.29 4.30 93.03 06:20:34 06:13:01 0 1.21 0.00 1.45 0.21 4.39 92.74 06:20:34 06:13:01 1 0.99 0.00 1.16 0.59 4.62 92.64 06:20:34 06:13:01 2 1.10 0.00 0.86 0.15 4.18 93.72 06:20:34 06:13:01 3 1.19 0.00 1.56 0.22 3.99 93.04 06:20:34 06:14:01 all 0.12 0.00 0.07 0.00 0.75 99.06 06:20:34 06:14:01 0 0.12 0.00 0.08 0.00 0.68 99.12 06:20:34 06:14:01 1 0.07 0.00 0.05 0.00 1.16 98.73 06:20:34 06:14:01 2 0.27 0.00 0.07 0.00 0.42 99.25 06:20:34 06:14:01 3 0.05 0.00 0.07 0.00 0.73 99.15 06:20:34 06:15:01 all 0.07 0.00 0.14 0.00 1.51 98.28 06:20:34 06:15:01 0 0.03 0.00 0.18 0.00 1.91 97.88 06:20:34 06:15:01 1 0.03 0.00 0.12 0.00 1.57 98.29 06:20:34 06:15:01 2 0.18 0.00 0.18 0.00 1.41 98.23 06:20:34 06:15:01 3 0.02 0.00 0.08 0.00 1.17 98.73 06:20:34 06:16:01 all 0.05 0.00 0.05 0.00 1.41 98.49 06:20:34 06:16:01 0 0.02 0.00 0.10 0.00 1.02 98.86 06:20:34 06:16:01 1 0.11 0.00 0.02 0.00 1.87 98.00 06:20:34 06:16:01 2 0.07 0.00 0.05 0.00 1.93 97.96 06:20:34 06:16:01 3 0.00 0.00 0.02 0.00 0.82 99.16 06:20:34 06:17:02 all 0.11 0.00 0.13 0.00 0.86 98.91 06:20:34 06:17:02 0 0.03 0.00 0.23 0.00 0.51 99.22 06:20:34 06:17:02 1 0.31 0.00 0.08 0.00 1.30 98.30 06:20:34 06:17:02 2 0.03 0.00 0.17 0.00 1.08 98.73 06:20:34 06:17:02 3 0.05 0.00 0.03 0.00 0.53 99.39 06:20:34 06:18:01 all 0.07 0.00 0.03 0.00 1.21 98.69 06:20:34 06:18:01 0 0.02 0.00 0.00 0.00 0.59 99.39 06:20:34 06:18:01 1 0.17 0.00 0.03 0.00 2.02 97.78 06:20:34 06:18:01 2 0.07 0.00 0.03 0.00 0.92 98.97 06:20:34 06:18:01 3 0.03 0.00 0.03 0.00 1.31 98.62 06:20:34 06:19:01 all 0.14 0.00 0.04 0.00 0.73 99.10 06:20:34 06:19:01 0 0.17 0.00 0.05 0.00 0.89 98.89 06:20:34 06:19:01 1 0.07 0.00 0.00 0.00 0.48 99.45 06:20:34 06:19:01 2 0.28 0.00 0.05 0.00 1.17 98.50 06:20:34 06:19:01 3 0.03 0.00 0.05 0.00 0.37 99.55 06:20:34 06:20:01 all 2.39 0.00 1.71 1.18 11.73 82.98 06:20:34 06:20:01 0 1.71 0.00 1.50 0.30 12.20 84.28 06:20:34 06:20:01 1 2.40 0.00 1.73 0.50 11.86 83.53 06:20:34 06:20:01 2 3.28 0.00 1.96 3.04 12.12 79.59 06:20:34 06:20:01 3 2.19 0.00 1.66 0.88 10.75 84.51 06:20:34 Average: all 1.82 0.00 1.21 0.79 4.89 91.29 06:20:34 Average: 0 1.79 0.00 1.66 0.54 4.83 91.19 06:20:34 Average: 1 1.99 0.00 1.00 0.77 5.21 91.03 06:20:34 Average: 2 1.89 0.00 1.12 1.10 5.01 90.87 06:20:34 Average: 3 1.58 0.00 1.04 0.77 4.52 92.08 06:20:34 06:20:34 06:20:34