Pull request #756 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11+2e0b14878cfb4a574be8745ab7c226ce26d53775 (fb2ae672f49858890269bbdc4dd24f9b10923dd2) 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-756/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-756/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-22787 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [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-756 # 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 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) > 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/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" 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:15:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:05 ========================================================= 06:15:05 EdgeX Global Pipelines Version Info 06:15:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:06 ------------------- 06:15:06 stable info: 06:15:06 ------------------- 06:15:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:15:06 Message: update stable to v1.0.179 06:15:07 ------------------- 06:15:07 experimental info: 06:15:07 ------------------- 06:15:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:15:07 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:15:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:15:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:15:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-756 [Pipeline] echo 06:15:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-756 [Pipeline] echo 06:15:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-756 [Pipeline] echo 06:15:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] echo 06:15:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ca3ead [Pipeline] echo 06:15:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:15:12 provisioning config files... 06:15:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1688239591441618253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:13 ---> docker-login.sh 06:15:13 nexus3.edgexfoundry.org:10001 06:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:13 Configure a credential helper to remove this warning. See 06:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:13 06:15:13 Login Succeeded 06:15:13 nexus3.edgexfoundry.org:10002 06:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:13 Configure a credential helper to remove this warning. See 06:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:13 06:15:13 Login Succeeded 06:15:13 nexus3.edgexfoundry.org:10003 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 nexus3.edgexfoundry.org:10004 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 docker.io 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 ---> docker-login.sh ends [Pipeline] } 06:15:14 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:15:15 + git log --format=format:%s -1 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] echo 06:15:15 GIT_COMMIT: 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11, Commit Message: build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0 [Pipeline] echo 06:15:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:16 06:15:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:15:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:17 latest: Pulling from edgex-devops/git-semver 06:15:17 31603596830f: Pulling fs layer 06:15:17 2a8b12db71e7: Pulling fs layer 06:15:17 6ca5941a6612: Pulling fs layer 06:15:17 ecc8261a40a4: Pulling fs layer 06:15:17 ecc8261a40a4: Waiting 06:15:17 2a8b12db71e7: Verifying Checksum 06:15:17 2a8b12db71e7: Download complete 06:15:17 31603596830f: Download complete 06:15:17 ecc8261a40a4: Verifying Checksum 06:15:17 ecc8261a40a4: Download complete 06:15:17 6ca5941a6612: Verifying Checksum 06:15:17 6ca5941a6612: Download complete 06:15:17 31603596830f: Pull complete 06:15:17 2a8b12db71e7: Pull complete 06:15:18 6ca5941a6612: Pull complete 06:15:18 ecc8261a40a4: Pull complete 06:15:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:15:18 prd-centos7-docker-4c-2g-22787 does not seem to be running inside a container 06:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@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:15:21 $ docker top 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:21 [ssh-agent] Looking for ssh-agent implementation... 06:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:21 $ docker exec 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent 06:15:22 SSH_AUTH_SOCK=/tmp/ssh-YQ0z5Sebn7Fj/agent.12 06:15:22 SSH_AGENT_PID=18 06:15:22 Running ssh-add (command line suppressed) 06:15:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_7210364196532538149.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_7210364196532538149.key) 06:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:22 + git tag --points-at HEAD [Pipeline] } 06:15:22 $ docker exec --env ******** --env ******** 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent -k 06:15:22 unset SSH_AUTH_SOCK; 06:15:22 unset SSH_AGENT_PID; 06:15:22 echo Agent pid 18 killed; 06:15:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:23 [ssh-agent] Looking for ssh-agent implementation... 06:15:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:23 $ docker exec 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent 06:15:23 SSH_AUTH_SOCK=/tmp/ssh-y6CAJyU1fA2f/agent.46 06:15:23 SSH_AGENT_PID=52 06:15:23 Running ssh-add (command line suppressed) 06:15:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5678698202228662329.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_5678698202228662329.key) 06:15:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:23 + git semver init 06:15:23 # -> Open(): unable to determine branch for HEAD 06:15:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.git 06:15:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-756 06:15:23 # $SEMVER_REMOTE_NAME = origin 06:15:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:15:23 # $SEMVER_USER_NAME = edgex-jenkins 06:15:23 # $SEMVER_BRANCH = PR-756 06:15:23 # $SEMVER_TEMP = /tmp/semver-968905717 06:15:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:15:24 # '/tmp/semver-968905717' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver' 06:15:24 # -> Force: false 06:15:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver [Pipeline] } 06:15:24 $ docker exec --env ******** --env ******** 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 ssh-agent -k 06:15:24 unset SSH_AUTH_SOCK; 06:15:24 unset SSH_AGENT_PID; 06:15:24 echo Agent pid 52 killed; 06:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:25 + git semver [Pipeline] } 06:15:25 $ docker stop --time=1 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 06:15:26 $ docker rm -f 72c48fbfdb7188ff6a61611c1882bc8d9316d522bf61a9821964394ca35164c3 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:27 Stashed 1 file(s) [Pipeline] echo 06:15:27 [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:15:43 Still waiting to schedule task 06:15:43 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22789’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 06:15:43 Still waiting to schedule task 06:15:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:17:05 Running on prd-centos7-docker-4c-2g-22791 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws 06:17:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:17:07 using credential edgex-jenkins-ssh 06:17:07 Cloning the remote Git repository 06:17:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:17:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:17:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:07 > git --version # timeout=10 06:17:07 > git --version # 'git version 2.24.3' 06:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:17:09 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:17:09 Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:17:09 Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) 06:17:08 > git config core.sparsecheckout # timeout=10 06:17:08 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 06:17:08 > git remote # timeout=10 06:17:08 > git config --get remote.origin.url # timeout=10 06:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:08 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:17:08 > git rev-parse HEAD^{commit} # timeout=10 06:17:08 > git config core.sparsecheckout # timeout=10 06:17:08 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 06:17:12 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" 06:17:12 > git --version # timeout=10 06:17:12 > git --version # 'git version 2.24.3' 06:17:12 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:17:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:14 + sudo service docker restart 06:17:14 + true 06:17:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:15 provisioning config files... 06:17:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1204966238275849664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:16 ---> docker-login.sh 06:17:16 nexus3.edgexfoundry.org:10001 06:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:16 Configure a credential helper to remove this warning. See 06:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:16 06:17:16 Login Succeeded 06:17:16 nexus3.edgexfoundry.org:10002 06:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:16 Configure a credential helper to remove this warning. See 06:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:16 06:17:16 Login Succeeded 06:17:16 nexus3.edgexfoundry.org:10003 06:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:16 Configure a credential helper to remove this warning. See 06:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:16 06:17:16 Login Succeeded 06:17:16 nexus3.edgexfoundry.org:10004 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 docker.io 06:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:17 Configure a credential helper to remove this warning. See 06:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:17 06:17:17 Login Succeeded 06:17:17 ---> docker-login.sh ends [Pipeline] } 06:17:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:17 ========================================================= 06:17:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:17:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:17:18 + 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:17:18 Sending build context to Docker daemon 2.557MB 06:17:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:17:18 Step 2/8 : FROM ${BASE} 06:17:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:17:18 188c0c94c7c5: Pulling fs layer 06:17:18 0ef7d3d256c8: Pulling fs layer 06:17:18 de9db76c5a1d: Pulling fs layer 06:17:18 bca2f99d35d6: Pulling fs layer 06:17:18 93359f2a8cfa: Pulling fs layer 06:17:18 7c6f9722023f: Pulling fs layer 06:17:18 a35cf1a2eb13: Pulling fs layer 06:17:18 bca2f99d35d6: Waiting 06:17:18 93359f2a8cfa: Waiting 06:17:18 7c6f9722023f: Waiting 06:17:18 a35cf1a2eb13: Waiting 06:17:18 de9db76c5a1d: Verifying Checksum 06:17:18 de9db76c5a1d: Download complete 06:17:18 0ef7d3d256c8: Verifying Checksum 06:17:18 0ef7d3d256c8: Download complete 06:17:18 93359f2a8cfa: Verifying Checksum 06:17:18 93359f2a8cfa: Download complete 06:17:18 7c6f9722023f: Verifying Checksum 06:17:18 7c6f9722023f: Download complete 06:17:18 188c0c94c7c5: Verifying Checksum 06:17:18 188c0c94c7c5: Download complete 06:17:18 188c0c94c7c5: Pull complete 06:17:18 0ef7d3d256c8: Pull complete 06:17:19 de9db76c5a1d: Pull complete 06:17:20 a35cf1a2eb13: Verifying Checksum 06:17:20 a35cf1a2eb13: Download complete 06:17:21 bca2f99d35d6: Verifying Checksum 06:17:21 bca2f99d35d6: Download complete 06:17:25 bca2f99d35d6: Pull complete 06:17:25 93359f2a8cfa: Pull complete 06:17:25 7c6f9722023f: Pull complete 06:17:32 a35cf1a2eb13: Pull complete 06:17:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:17:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:17:32 ---> a62c8e92a672 06:17:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:33 ---> Running in 405fbe62cb1a 06:17:33 Removing intermediate container 405fbe62cb1a 06:17:33 ---> dd5742ecd89f 06:17:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:33 ---> Running in ca1c13b7e313 06:17:34 Removing intermediate container ca1c13b7e313 06:17:34 ---> c814921143b1 06:17:34 Step 5/8 : RUN apk add --update --no-cache make git 06:17:34 ---> Running in b6b3f3a829ac 06:17:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:17:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:17:36 OK: 166 MiB in 39 packages 06:17:36 Removing intermediate container b6b3f3a829ac 06:17:36 ---> 9e2a43e41061 06:17:36 Step 6/8 : WORKDIR /device-sdk-go 06:17:36 ---> Running in 864953953af1 06:17:36 Removing intermediate container 864953953af1 06:17:36 ---> 86e9262ddbbe 06:17:36 Step 7/8 : COPY . . 06:17:37 ---> 8769e5563a82 06:17:37 Step 8/8 : RUN go mod download 06:17:38 ---> Running in 512cb207d04e 06:17:56 Removing intermediate container 512cb207d04e 06:17:56 ---> 9dbd20bad4b5 06:17:56 Successfully built 9dbd20bad4b5 06:17:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:17:56 + docker inspect -f . ci-base-image-x86_64 06:17:56 . [Pipeline] withDockerContainer 06:17:56 prd-centos7-docker-4c-2g-22791 does not seem to be running inside a container 06:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:57 $ docker top 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:57 + go version 06:17:57 go version go1.15.5 linux/amd64 [Pipeline] } 06:17:57 $ docker stop --time=1 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b 06:17:59 $ docker rm -f 5fdd0664bce5546bd7e3946e524f0fd7ee171b7affb89b07a3c91e2e6bf33f3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:18:00 + docker inspect -f . ci-base-image-x86_64 06:18:00 . [Pipeline] withDockerContainer 06:18:00 prd-centos7-docker-4c-2g-22791 does not seem to be running inside a container 06:18: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 ******** ci-base-image-x86_64 cat 06:18:00 $ docker top f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:01 + make test 06:18:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:18:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:18:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:18:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:18:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:18:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 19.4% of statements 06:18:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements 06:18:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22793 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws 06:18:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:18:41 using credential edgex-jenkins-ssh 06:18:41 Cloning the remote Git repository 06:18:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:18:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:18:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:41 > git --version # timeout=10 06:18:42 > git --version # 'git version 2.17.1' 06:18:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:43 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:18:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:18:43 > git config core.sparsecheckout # timeout=10 06:18:43 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 06:18:43 > git remote # timeout=10 06:18:43 > git config --get remote.origin.url # timeout=10 06:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:43 Merge succeeded, producing 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:18:43 Checking out Revision 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 (PR-756) 06:18:43 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:18:43 > git rev-parse HEAD^{commit} # timeout=10 06:18:43 > git config core.sparsecheckout # timeout=10 06:18:43 > git checkout -f 7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 # timeout=10 06:18:48 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" 06:18:48 > git --version # timeout=10 06:18:48 > git --version # 'git version 2.17.1' 06:18:48 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:18:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:18:51 + + sudo servicetrue docker 06:18:51 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:18:54 provisioning config files... 06:18:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7526783053584164190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:54 ---> docker-login.sh 06:18:54 nexus3.edgexfoundry.org:10001 06:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:55 Configure a credential helper to remove this warning. See 06:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:55 06:18:55 Login Succeeded 06:18:55 nexus3.edgexfoundry.org:10002 06:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:57 Configure a credential helper to remove this warning. See 06:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:57 06:18:57 Login Succeeded 06:18:57 nexus3.edgexfoundry.org:10003 06:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:57 Configure a credential helper to remove this warning. See 06:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:57 06:18:57 Login Succeeded 06:18:57 nexus3.edgexfoundry.org:10004 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.050s coverage: 9.4% of statements 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.045s coverage: 21.7% of statements 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.203s coverage: 43.2% of statements 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.255s coverage: 68.9% of statements 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 53.8% of statements 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 26.8% of statements 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.573s coverage: 83.5% of statements 06:18:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 06:18:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:18:57 GO111MODULE=on go vet ./... 06:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:57 Configure a credential helper to remove this warning. See 06:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:57 06:18:57 Login Succeeded 06:18:57 docker.io 06:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:58 Configure a credential helper to remove this warning. See 06:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:58 06:18:58 Login Succeeded 06:18:58 ---> docker-login.sh ends [Pipeline] } 06:18:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:58 ========================================================= 06:18:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:18:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:18:59 + 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:18:59 Sending build context to Docker daemon 2.554MB 06:18:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:18:59 Step 2/8 : FROM ${BASE} 06:18:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:59 5f621e34cdf4: Pulling fs layer 06:18:59 a4357932f1b6: Pulling fs layer 06:18:59 18c013af1878: Pulling fs layer 06:18:59 00ac8860ef70: Pulling fs layer 06:18:59 63d7cb157983: Pulling fs layer 06:18:59 b116817d02f9: Pulling fs layer 06:18:59 745a02a5169b: Pulling fs layer 06:18:59 00ac8860ef70: Waiting 06:18:59 63d7cb157983: Waiting 06:18:59 b116817d02f9: Waiting 06:18:59 745a02a5169b: Waiting 06:18:59 18c013af1878: Verifying Checksum 06:18:59 18c013af1878: Download complete 06:18:59 a4357932f1b6: Download complete 06:18:59 63d7cb157983: Download complete 06:18:59 5f621e34cdf4: Verifying Checksum 06:18:59 5f621e34cdf4: Download complete 06:18:59 b116817d02f9: Verifying Checksum 06:18:59 b116817d02f9: Download complete 06:19:00 5f621e34cdf4: Pull complete 06:19:01 a4357932f1b6: Pull complete 06:19:01 18c013af1878: Pull complete 06:19:02 745a02a5169b: Verifying Checksum 06:19:02 745a02a5169b: Download complete 06:19:03 00ac8860ef70: Verifying Checksum 06:19:03 00ac8860ef70: Download complete 06:19:04 gofmt -l . 06:19:04 [ "`gofmt -l .`" = "" ] 06:19:04 ./bin/test-attribution-txt.sh 06:19:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:19:04 $ docker stop --time=1 f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 06:19:05 $ docker rm -f f469ec1fd8a6af7a59dad8936236c2d034fe9d0e6f9c3ec85a29da0011fe6c62 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:19:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:19:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:08 + ls -al . 06:19:08 total 216 06:19:08 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 26 06:19 . 06:19:08 drwxrwxr-x. 4 jenkins jenkins 28 Jan 26 06:17 .. 06:19:08 drwxrwxr-x. 2 jenkins jenkins 64 Jan 26 06:17 bin 06:19:08 -rw-r--r--. 1 jenkins jenkins 136842 Jan 26 06:18 coverage.out 06:19:08 -rw-rw-r--. 1 jenkins jenkins 949 Jan 26 06:17 Dockerfile.build 06:19:08 -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 06:17 .dockerignore 06:19:08 drwxrwxr-x. 4 jenkins jenkins 48 Jan 26 06:17 example 06:19:08 drwxrwxr-x. 8 jenkins jenkins 179 Jan 26 06:17 .git 06:19:08 drwxrwxr-x. 2 jenkins jenkins 103 Jan 26 06:17 .github 06:19:08 -rw-rw-r--. 1 jenkins jenkins 138 Jan 26 06:17 .gitignore 06:19:08 -rw-r--r--. 1 jenkins jenkins 514 Jan 26 06:19 go.mod 06:19:08 -rw-r--r--. 1 jenkins jenkins 14101 Jan 26 06:19 go.sum 06:19:08 drwxrwxr-x. 15 jenkins jenkins 211 Jan 26 06:17 internal 06:19:08 -rw-rw-r--. 1 jenkins jenkins 901 Jan 26 06:17 Jenkinsfile 06:19:08 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 06:17 LICENSE 06:19:08 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 26 06:17 Makefile 06:19:08 drwxrwxr-x. 4 jenkins jenkins 26 Jan 26 06:17 openapi 06:19:08 drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 06:17 pkg 06:19:08 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 26 06:17 README.md 06:19:08 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 26 06:17 RELEASE-NOTES.txt 06:19:08 drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 06:17 snap 06:19:08 -rw-rw-r--. 1 jenkins jenkins 5 Jan 26 06:15 VERSION 06:19:08 -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 06:17 version.go [Pipeline] isUnix [Pipeline] sh 06:19:09 + 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=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 --label arch=amd64 --label version=0.0.0 . 06:19:09 Sending build context to Docker daemon 2.695MB 06:19:09 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:19:09 Step 2/24 : FROM ${BASE} AS builder 06:19:09 ---> 9dbd20bad4b5 06:19:09 Step 3/24 : ARG MAKE='make build' 06:19:09 ---> Running in 65364da65c15 06:19:09 Removing intermediate container 65364da65c15 06:19:09 ---> 3ee76dd84792 06:19:09 Step 4/24 : WORKDIR /device-sdk-go 06:19:09 ---> Running in 794b26d78552 06:19:09 Removing intermediate container 794b26d78552 06:19:09 ---> 11884dcad4e0 06:19:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:10 ---> Running in 43d9203e24f4 06:19:10 Removing intermediate container 43d9203e24f4 06:19:10 ---> 131c39872189 06:19:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:10 ---> Running in d8daa4e7c488 06:19:11 Removing intermediate container d8daa4e7c488 06:19:11 ---> 1293baee5eb9 06:19:11 Step 7/24 : RUN apk add --update --no-cache make git 06:19:11 ---> Running in 4b5cdf18e958 06:19:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:19:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:19:13 00ac8860ef70: Pull complete 06:19:13 63d7cb157983: Pull complete 06:19:14 b116817d02f9: Pull complete 06:19:15 OK: 166 MiB in 39 packages 06:19:15 Removing intermediate container 4b5cdf18e958 06:19:15 ---> 08a525bb1da2 06:19:15 Step 8/24 : COPY . . 06:19:16 ---> 93d75b529e23 06:19:16 Step 9/24 : RUN ${MAKE} 06:19:16 ---> Running in 61020a095942 06:19:16 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:18 745a02a5169b: Pull complete 06:19:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:19:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:19:18 ---> b7e6874047d6 06:19:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:20 ---> Running in ef3102edb9af 06:19:21 Removing intermediate container ef3102edb9af 06:19:21 ---> e1a7428ccc7a 06:19:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:21 ---> Running in 494e8201f85f 06:19:24 Removing intermediate container 494e8201f85f 06:19:24 ---> 1838a4f94378 06:19:24 Step 5/8 : RUN apk add --update --no-cache make git 06:19:24 ---> Running in 672339a5ff7a 06:19:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:19:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:19:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:19:26 Removing intermediate container 61020a095942 06:19:26 ---> be7ca03d50fe 06:19:26 Step 10/24 : FROM scratch 06:19:26 ---> 06:19:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:26 ---> Running in aee121f7a09a 06:19:26 Removing intermediate container aee121f7a09a 06:19:26 ---> 733ad49da40a 06:19:26 Step 12/24 : ENV APP_PORT=49990 06:19:26 ---> Running in 6a18696acccc 06:19:26 Removing intermediate container 6a18696acccc 06:19:26 ---> e34124469223 06:19:26 Step 13/24 : EXPOSE $APP_PORT 06:19:26 ---> Running in 4f7061a870f1 06:19:27 Removing intermediate container 4f7061a870f1 06:19:27 ---> 87e2412a6067 06:19:27 Step 14/24 : WORKDIR / 06:19:27 ---> Running in b50cdc5056b5 06:19:27 Removing intermediate container b50cdc5056b5 06:19:27 ---> 11c4338d06a2 06:19:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:19:27 ---> 6d021b94df06 06:19:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:19:27 ---> 4549ffc1530c 06:19:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:19:28 ---> 3ed5e008f961 06:19:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:19:28 OK: 142 MiB in 39 packages 06:19:28 ---> b805ee853902 06:19:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:19:28 ---> 04d2edd156ad 06:19:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:19:28 ---> Running in 168cbd9d9a38 06:19:28 Removing intermediate container 168cbd9d9a38 06:19:28 ---> 6bf54f7f6e5d 06:19:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:19:28 ---> Running in ba98a056d2a6 06:19:28 Removing intermediate container ba98a056d2a6 06:19:28 ---> 04181d4e784e 06:19:28 Step 22/24 : LABEL arch=amd64 06:19:29 Removing intermediate container 672339a5ff7a 06:19:29 ---> f65786440e65 06:19:29 Step 6/8 : WORKDIR /device-sdk-go 06:19:29 ---> Running in ffaca3e95de1 06:19:29 ---> Running in de55c4e712cf 06:19:29 Removing intermediate container de55c4e712cf 06:19:29 ---> be912afc552a 06:19:29 Step 23/24 : LABEL git_sha=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:19:29 ---> Running in 2620f0976092 06:19:29 Removing intermediate container 2620f0976092 06:19:29 ---> 65b3bb416046 06:19:29 Step 24/24 : LABEL version=0.0.0 06:19:29 ---> Running in e272c43f5ed5 06:19:29 Removing intermediate container e272c43f5ed5 06:19:29 ---> 27266fc491a2 06:19:29 [Warning] One or more build-args [ARCH] were not consumed 06:19:29 Successfully built 27266fc491a2 06:19:29 Successfully tagged docker-device-sdk-simple:latest 06:19:29 Removing intermediate container ffaca3e95de1 06:19:29 ---> 5eab6e1b9b83 06:19:29 Step 7/8 : COPY . . [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 06:19:31 ---> 769590145718 06:19:31 Step 8/8 : RUN go mod download 06:19:31 ---> Running in 74c89b2e011f [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:19:53 Removing intermediate container 74c89b2e011f 06:19:53 ---> 3d132e67323d 06:19:53 Successfully built 3d132e67323d 06:19:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:19:53 + docker inspect -f . ci-base-image-arm64 06:19:53 . [Pipeline] withDockerContainer 06:19:53 prd-ubuntu18.04-docker-arm64-4c-16g-22793 does not seem to be running inside a container 06:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:19:55 $ docker top d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:56 + go version 06:19:56 go version go1.15.5 linux/arm64 [Pipeline] } 06:19:56 $ docker stop --time=1 d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b 06:19:58 $ docker rm -f d469cdc29e16dd2f3dd31504a1135c1c8a7fdb9aa91dd2950c1b57a703db906b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:19:59 + docker inspect -f . ci-base-image-arm64 06:19:59 . [Pipeline] withDockerContainer 06:20:00 prd-ubuntu18.04-docker-arm64-4c-16g-22793 does not seem to be running inside a container 06:20: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-arm64 cat 06:20:01 $ docker top e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:02 + make test 06:20:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:20:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:21:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:21:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:21:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:21:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.198s coverage: 19.4% of statements 06:21:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.207s coverage: 97.1% of statements 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.173s coverage: 9.4% of statements 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.143s coverage: 21.7% of statements 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.583s coverage: 43.2% of statements 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.746s coverage: 68.9% of statements 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 26.8% of statements 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.790s coverage: 83.5% of statements 06:21:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements 06:21:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:21:42 GO111MODULE=on go vet ./... 06:22:14 gofmt -l . 06:22:14 [ "`gofmt -l .`" = "" ] 06:22:14 ./bin/test-attribution-txt.sh 06:22:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:22:14 $ docker stop --time=1 e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f 06:22:16 $ docker rm -f e2b6b4de8b2073237aa309169f8e80d84e4e14f3cd327393baaac9228406aa9f [Pipeline] // withDockerContainer [Pipeline] sh 06:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:17 Warning: overwriting stash ‘coverage-report’ 06:22:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:20 + ls -al . 06:22:20 total 252 06:22:20 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:22 . 06:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 .. 06:22:20 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 06:18 .dockerignore 06:22:20 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:18 .git 06:22:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:18 .github 06:22:20 -rw-rw-r-- 1 jenkins jenkins 138 Jan 26 06:18 .gitignore 06:22:20 -rw-rw-r-- 1 jenkins jenkins 949 Jan 26 06:18 Dockerfile.build 06:22:20 -rw-rw-r-- 1 jenkins jenkins 901 Jan 26 06:18 Jenkinsfile 06:22:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 06:18 LICENSE 06:22:20 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 26 06:18 Makefile 06:22:20 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 26 06:18 README.md 06:22:20 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 26 06:18 RELEASE-NOTES.txt 06:22:20 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 06:15 VERSION 06:22:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:18 bin 06:22:20 -rw-r--r-- 1 jenkins jenkins 136842 Jan 26 06:21 coverage.out 06:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 example 06:22:20 -rw-r--r-- 1 jenkins jenkins 514 Jan 26 06:22 go.mod 06:22:20 -rw-r--r-- 1 jenkins jenkins 14101 Jan 26 06:22 go.sum 06:22:20 drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 06:18 internal 06:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 openapi 06:22:20 drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 06:18 pkg 06:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:18 snap 06:22:20 -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 06:18 version.go [Pipeline] isUnix [Pipeline] sh 06:22:20 + 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=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 --label arch=arm64 --label version=0.0.0 . 06:22:21 Sending build context to Docker daemon 2.692MB 06:22:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:22:21 Step 2/24 : FROM ${BASE} AS builder 06:22:21 ---> 3d132e67323d 06:22:21 Step 3/24 : ARG MAKE='make build' 06:22:21 ---> Running in 4ea0854dabc2 06:22:22 Removing intermediate container 4ea0854dabc2 06:22:22 ---> fddfdbfd7d9e 06:22:22 Step 4/24 : WORKDIR /device-sdk-go 06:22:22 ---> Running in 73fff2f0a54f 06:22:22 Removing intermediate container 73fff2f0a54f 06:22:22 ---> 21d2011f4f92 06:22:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:22:22 ---> Running in c46eb43c822a 06:22:22 Removing intermediate container c46eb43c822a 06:22:22 ---> 0ffacfaa1de1 06:22:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:23 ---> Running in 2063879015ba 06:22:25 Removing intermediate container 2063879015ba 06:22:25 ---> 3df2afeb5036 06:22:25 Step 7/24 : RUN apk add --update --no-cache make git 06:22:25 ---> Running in b7287af3efee 06:22:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:22:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:22:27 OK: 142 MiB in 39 packages 06:22:28 Removing intermediate container b7287af3efee 06:22:28 ---> e70a2d13af22 06:22:28 Step 8/24 : COPY . . 06:22:30 ---> 2630ff32078a 06:22:30 Step 9/24 : RUN ${MAKE} 06:22:30 ---> Running in a817dda27b1e 06:22:31 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:22:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:22:59 Removing intermediate container a817dda27b1e 06:22:59 ---> bb571f0ca7d7 06:22:59 Step 10/24 : FROM scratch 06:22:59 ---> 06:22:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:22:59 ---> Running in 756ac5230623 06:22:59 Removing intermediate container 756ac5230623 06:22:59 ---> 807fa8415a7f 06:22:59 Step 12/24 : ENV APP_PORT=49990 06:22:59 ---> Running in aa2dd001d6ce 06:23:00 Removing intermediate container aa2dd001d6ce 06:23:00 ---> b4cbb335eb81 06:23:00 Step 13/24 : EXPOSE $APP_PORT 06:23:00 ---> Running in d2b0491d93ad 06:23:00 Removing intermediate container d2b0491d93ad 06:23:00 ---> c1acbd89fd6d 06:23:00 Step 14/24 : WORKDIR / 06:23:00 ---> Running in bc1bf9c870ec 06:23:01 Removing intermediate container bc1bf9c870ec 06:23:01 ---> 47959eb5e046 06:23:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:23:02 ---> 7367d6b2ecdd 06:23:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:23:02 ---> 87e52d44b487 06:23:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:23:03 ---> 0c95c50afb2a 06:23:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:23:04 ---> 5b79fec106d3 06:23:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:23:05 ---> f7c1bc8803a3 06:23:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:23:05 ---> Running in 94d8c922f867 06:23:06 Removing intermediate container 94d8c922f867 06:23:06 ---> 0ec788f80e33 06:23:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:23:06 ---> Running in 3718d71d935d 06:23:06 Removing intermediate container 3718d71d935d 06:23:06 ---> 3880569e320a 06:23:06 Step 22/24 : LABEL arch=arm64 06:23:06 ---> Running in f140f84ede52 06:23:07 Removing intermediate container f140f84ede52 06:23:07 ---> 68222eda8cfb 06:23:07 Step 23/24 : LABEL git_sha=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 06:23:07 ---> Running in 2b355bf4447c 06:23:08 Removing intermediate container 2b355bf4447c 06:23:08 ---> a1d1792dc2a8 06:23:08 Step 24/24 : LABEL version=0.0.0 06:23:08 ---> Running in 9ce6129cf922 06:23:08 Removing intermediate container 9ce6129cf922 06:23:08 ---> 91b8a6b53761 06:23:08 [Warning] One or more build-args [ARCH] were not consumed 06:23:08 Successfully built 91b8a6b53761 06:23:08 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:23:11 provisioning config files... 06:23:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config1825918225772138237tmp [Pipeline] { [Pipeline] sh 06:23:11 + set +x 06:23:11 + curl -s https://codecov.io/bash 06:23:11 + bash -s -- 06:23:11 06:23:11 _____ _ 06:23:11 / ____| | | 06:23:11 | | ___ __| | ___ ___ _____ __ 06:23:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:11 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:11 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:11 Bash-20210115-cec3c92 06:23:11 06:23:11 06:23:11 ==> git version 2.24.3 found 06:23:11 ==> 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:23:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:23:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:23:11 ==> Jenkins CI detected. 06:23:11 project root: . 06:23:11 --> token set from env 06:23:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:11 ==> Running gcov in . (disable via -X gcov) 06:23:11 ==> Python coveragepy not found 06:23:11 ==> Searching for coverage reports in: 06:23:11 + . 06:23:11 -> Found 1 reports 06:23:11 ==> Detecting git/mercurial file structure 06:23:11 ==> Reading reports 06:23:11 + ./coverage.out bytes=136842 06:23:11 ==> Appending adjustments 06:23:11 https://docs.codecov.io/docs/fixing-reports 06:23:12 + Found adjustments 06:23:12 ==> Gzipping contents 06:23:12 24K /tmp/codecov.GUI6HA.gz 06:23:12 ==> Uploading reports 06:23:12 url: https://codecov.io 06:23:12 query: branch=PR-756&commit=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 06:23:12 -> Pinging Codecov 06:23:12 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-756&commit=7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 06:23:12 -> Uploading to 06:23:12 https://storage.googleapis.com/codecov/v4/raw/2021-01-26/7E55EF52A471D76F132DFD9A03CDDE97/7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11/0f720399-e872-422b-b66e-129cc2456ed2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T062312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebca67c364911563de598b5fb262d840195fba738723df46b8197b7e6e543760 06:23:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:12 Dload Upload Total Spent Left Speed 06:23:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21548 0 0 100 21548 0 45540 --:--:-- --:--:-- --:--:-- 45556 06:23:13 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7ca3eadc5b49c2b948e24145c2dc6f7d1e51ad11 [Pipeline] } 06:23:13 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:23:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:17 ---> package-listing.sh 06:23:17 ++ facter osfamily 06:23:17 ++ tr '[:upper:]' '[:lower:]' 06:23:17 + OS_FAMILY=redhat 06:23:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-756 06:23:17 + START_PACKAGES=/tmp/packages_start.txt 06:23:17 + END_PACKAGES=/tmp/packages_end.txt 06:23:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:17 + PACKAGES=/tmp/packages_start.txt 06:23:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 06:23:17 + PACKAGES=/tmp/packages_end.txt 06:23:17 + case "${OS_FAMILY}" in 06:23:17 + rpm -qa 06:23:17 + sort 06:23:21 + '[' -f /tmp/packages_start.txt ']' 06:23:21 + '[' -f /tmp/packages_end.txt ']' 06:23:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 06:23:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ 06:23:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [Pipeline] echo 06:23:21 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-756/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:22 06:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:22 alpine: Pulling from edgex-lftools-log-publisher 06:23:22 df20fa9351a1: Pulling fs layer 06:23:22 36b3adc4ff6f: Pulling fs layer 06:23:22 8ad3a11d3b57: Pulling fs layer 06:23:22 46f8f816bc3b: Pulling fs layer 06:23:22 93b61091891f: Pulling fs layer 06:23:22 93b9cdb0e59b: Pulling fs layer 06:23:22 5e14af77c1be: Pulling fs layer 06:23:22 01666e4c0597: Pulling fs layer 06:23:22 aa168da1d23b: Pulling fs layer 06:23:22 46f8f816bc3b: Waiting 06:23:22 93b61091891f: Waiting 06:23:22 93b9cdb0e59b: Waiting 06:23:22 01666e4c0597: Waiting 06:23:22 aa168da1d23b: Waiting 06:23:22 5e14af77c1be: Waiting 06:23:22 36b3adc4ff6f: Verifying Checksum 06:23:22 36b3adc4ff6f: Download complete 06:23:22 46f8f816bc3b: Download complete 06:23:23 df20fa9351a1: Verifying Checksum 06:23:23 93b9cdb0e59b: Verifying Checksum 06:23:23 93b9cdb0e59b: Download complete 06:23:23 93b61091891f: Download complete 06:23:23 5e14af77c1be: Verifying Checksum 06:23:23 5e14af77c1be: Download complete 06:23:23 01666e4c0597: Verifying Checksum 06:23:23 01666e4c0597: Download complete 06:23:23 8ad3a11d3b57: Verifying Checksum 06:23:23 8ad3a11d3b57: Download complete 06:23:23 df20fa9351a1: Pull complete 06:23:23 36b3adc4ff6f: Pull complete 06:23:24 8ad3a11d3b57: Pull complete 06:23:24 46f8f816bc3b: Pull complete 06:23:24 93b61091891f: Pull complete 06:23:25 93b9cdb0e59b: Pull complete 06:23:25 5e14af77c1be: Pull complete 06:23:25 01666e4c0597: Pull complete 06:23:26 aa168da1d23b: Download complete 06:23:32 aa168da1d23b: Pull complete 06:23:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:23:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:23:33 prd-centos7-docker-4c-2g-22787 does not seem to be running inside a container 06:23:33 $ 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-756/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-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@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:23:36 $ docker top cd82a35a53931ca5ccc3b4518829b171b3adde389f954a3897008cbac9e551e7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:37 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:37 + mkdir -p /var/log/sa [Pipeline] sh 06:23:37 + ls /var/log/sa-host 06:23:37 + sadf -c /var/log/sa-host/sa23 06:23:37 file_magic: OK 06:23:37 HZ: Using current value: 100 06:23:37 file_header: OK 06:23:37 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:23:37 Statistics: 06:23:37 Hnuu...uuuununununu... 06:23:37 File successfully converted to sysstat format version 12.2.1 06:23:37 + sadf -c /var/log/sa-host/sa26 06:23:37 file_magic: OK 06:23:37 HZ: Using current value: 100 06:23:37 file_header: OK 06:23:37 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:23:37 Statistics: 06:23:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:23:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:38 provisioning config files... 06:23:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config121920609936567493tmp [Pipeline] { [Pipeline] echo 06:23:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:38 ---> create-netrc.sh [Pipeline] } 06:23:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:23:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:23:39 ---> python-tools-install.sh [Pipeline] echo 06:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:39 ---> sudo-logs.sh 06:23:39 Archiving 'sudo' log.. [Pipeline] echo 06:23:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:39 ---> job-cost.sh 06:23:39 lf-activate-venv: SKIPPING 06:23:39 INFO: No Stack... 06:23:40 INFO: Retrieving Pricing Info for: v1-standard-2 06:23:41 INFO: Archiving Costs [Pipeline] echo 06:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:41 ---> logs-deploy.sh 06:23:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-756/1 06:23:41 INFO: archiving workspace using pattern(s): 06:23:43 Archives upload complete. 06:23:43 INFO: archiving logs to Nexus