Pull request #822 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 12ea01a942df90baa52921e3f1e14c6c5423f015+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (a10bdfd5fd6431e224d55bf7903c41c4c5a456ea) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-822/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-822/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30126 in /w/workspace/dgexfoundry_device-sdk-go_PR-822 [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-822 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 12ea01a942df90baa52921e3f1e14c6c5423f015 Merge succeeded, producing 12ea01a942df90baa52921e3f1e14c6c5423f015 Checking out Revision 12ea01a942df90baa52921e3f1e14c6c5423f015 (PR-822) > 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/822/head:refs/remotes/origin/PR-822 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:46 ========================================================= 05:52:46 EdgeX Global Pipelines Version Info 05:52:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:47 ------------------- 05:52:47 stable info: 05:52:47 ------------------- 05:52:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:47 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:52:47 Message: update stable to v1.0.184 05:52:48 ------------------- 05:52:48 experimental info: 05:52:48 ------------------- 05:52:48 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:48 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:52:48 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-822 [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-822 [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-822 [Pipeline] echo 05:52:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12ea01a942df90baa52921e3f1e14c6c5423f015 [Pipeline] echo 05:52:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12ea01a [Pipeline] echo 05:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:53 provisioning config files... 05:52:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/config2191155721941564136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:53 ---> docker-login.sh 05:52:53 nexus3.edgexfoundry.org:10001 05:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:54 Configure a credential helper to remove this warning. See 05:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:54 05:52:54 Login Succeeded 05:52:54 nexus3.edgexfoundry.org:10002 05:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:54 Configure a credential helper to remove this warning. See 05:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:54 05:52:54 Login Succeeded 05:52:54 nexus3.edgexfoundry.org:10003 05:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:54 Configure a credential helper to remove this warning. See 05:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:54 05:52:54 Login Succeeded 05:52:54 nexus3.edgexfoundry.org:10004 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 docker.io 05:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:55 Configure a credential helper to remove this warning. See 05:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:55 05:52:55 Login Succeeded 05:52:55 ---> docker-login.sh ends [Pipeline] } 05:52: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 05:52:56 + git log --format=format:%s -1 12ea01a942df90baa52921e3f1e14c6c5423f015 [Pipeline] echo 05:52:56 GIT_COMMIT: 12ea01a942df90baa52921e3f1e14c6c5423f015, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:52:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:57 05:52:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:52:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:57 latest: Pulling from edgex-devops/git-semver 05:52:57 31603596830f: Pulling fs layer 05:52:57 2a8b12db71e7: Pulling fs layer 05:52:57 6ca5941a6612: Pulling fs layer 05:52:57 ecc8261a40a4: Pulling fs layer 05:52:57 ecc8261a40a4: Waiting 05:52:57 2a8b12db71e7: Download complete 05:52:58 31603596830f: Verifying Checksum 05:52:58 31603596830f: Download complete 05:52:58 ecc8261a40a4: Verifying Checksum 05:52:58 ecc8261a40a4: Download complete 05:52:58 6ca5941a6612: Verifying Checksum 05:52:58 6ca5941a6612: Download complete 05:52:58 31603596830f: Pull complete 05:52:58 2a8b12db71e7: Pull complete 05:52:59 6ca5941a6612: Pull complete 05:52:59 ecc8261a40a4: Pull complete 05:52:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:00 prd-centos7-docker-4c-2g-30126 does not seem to be running inside a container 05:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-822 -v /w/workspace/dgexfoundry_device-sdk-go_PR-822:/w/workspace/dgexfoundry_device-sdk-go_PR-822:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:02 $ docker top a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:03 [ssh-agent] Looking for ssh-agent implementation... 05:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:03 $ docker exec a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 ssh-agent 05:53:03 SSH_AUTH_SOCK=/tmp/ssh-GD33bOjUqs7A/agent.11 05:53:03 SSH_AGENT_PID=16 05:53:03 Running ssh-add (command line suppressed) 05:53:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/private_key_2682647014592678802.key (/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/private_key_2682647014592678802.key) 05:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:04 + git tag --points-at HEAD [Pipeline] } 05:53:04 $ docker exec --env ******** --env ******** a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 ssh-agent -k 05:53:04 unset SSH_AUTH_SOCK; 05:53:04 unset SSH_AGENT_PID; 05:53:04 echo Agent pid 16 killed; 05:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:04 [ssh-agent] Looking for ssh-agent implementation... 05:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:04 $ docker exec a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 ssh-agent 05:53:05 SSH_AUTH_SOCK=/tmp/ssh-iiUlrvVvYNiW/agent.46 05:53:05 SSH_AGENT_PID=52 05:53:05 Running ssh-add (command line suppressed) 05:53:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/private_key_9106483843839293606.key (/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/private_key_9106483843839293606.key) 05:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:05 + git semver init 05:53:05 # -> Open(): unable to determine branch for HEAD 05:53:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-822/.git 05:53:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-822 05:53:05 # $SEMVER_REMOTE_NAME = origin 05:53:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:05 # $SEMVER_USER_NAME = edgex-jenkins 05:53:05 # $SEMVER_BRANCH = PR-822 05:53:05 # $SEMVER_TEMP = /tmp/semver-498854893 05:53:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:53:06 # '/tmp/semver-498854893' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-822/.semver' 05:53:06 # -> Force: false 05:53:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-822/.semver [Pipeline] } 05:53:06 $ docker exec --env ******** --env ******** a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 ssh-agent -k 05:53:06 unset SSH_AUTH_SOCK; 05:53:06 unset SSH_AGENT_PID; 05:53:06 echo Agent pid 52 killed; 05:53:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:07 + git semver [Pipeline] } 05:53:07 $ docker stop --time=1 a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 05:53:08 $ docker rm -f a70302fa4cfec3557d267324cf4ab2a98f1523cf930d3432f9ea8bf922a93b39 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:09 Stashed 1 file(s) [Pipeline] echo 05:53:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:53:25 Still waiting to schedule task 05:53:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:53:25 Still waiting to schedule task 05:53:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:55:21 Running on prd-centos7-docker-4c-2g-30129 in /w/workspace/dgexfoundry_device-sdk-go_PR-822 [Pipeline] { [Pipeline] ws 05:55:21 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:55:24 using credential edgex-jenkins-ssh 05:55:24 Cloning the remote Git repository 05:55:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:55:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:24 > git --version # timeout=10 05:55:24 > git --version # 'git version 2.24.3' 05:55:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/822/head:refs/remotes/origin/PR-822 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:25 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 12ea01a942df90baa52921e3f1e14c6c5423f015 05:55:25 Merge succeeded, producing 12ea01a942df90baa52921e3f1e14c6c5423f015 05:55:25 Checking out Revision 12ea01a942df90baa52921e3f1e14c6c5423f015 (PR-822) 05:55:25 > git config core.sparsecheckout # timeout=10 05:55:25 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # timeout=10 05:55:25 > git remote # timeout=10 05:55:25 > git config --get remote.origin.url # timeout=10 05:55:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:25 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 05:55:25 > git rev-parse HEAD^{commit} # timeout=10 05:55:25 > git config core.sparsecheckout # timeout=10 05:55:25 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # timeout=10 05:55:29 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:55:29 > git --version # timeout=10 05:55:29 > git --version # 'git version 2.24.3' 05:55:29 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:55:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:55:31 + sudo service docker restart 05:55:31 + true 05:55:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:32 provisioning config files... 05:55:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config559187883211215098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:32 ---> docker-login.sh 05:55:32 nexus3.edgexfoundry.org:10001 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:33 Configure a credential helper to remove this warning. See 05:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:33 05:55:33 Login Succeeded 05:55:33 nexus3.edgexfoundry.org:10002 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:33 Configure a credential helper to remove this warning. See 05:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:33 05:55:33 Login Succeeded 05:55:33 nexus3.edgexfoundry.org:10003 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:33 Configure a credential helper to remove this warning. See 05:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:33 05:55:33 Login Succeeded 05:55:33 nexus3.edgexfoundry.org:10004 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:33 Configure a credential helper to remove this warning. See 05:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:33 05:55:33 Login Succeeded 05:55:33 docker.io 05:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:34 Configure a credential helper to remove this warning. See 05:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:34 05:55:34 Login Succeeded 05:55:34 ---> docker-login.sh ends [Pipeline] } 05:55:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:34 ========================================================= 05:55:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:55:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:35 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:55:35 Sending build context to Docker daemon 2.282MB 05:55:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:55:35 Step 2/8 : FROM ${BASE} 05:55:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:55:35 188c0c94c7c5: Pulling fs layer 05:55:35 0ef7d3d256c8: Pulling fs layer 05:55:35 de9db76c5a1d: Pulling fs layer 05:55:35 bca2f99d35d6: Pulling fs layer 05:55:35 93359f2a8cfa: Pulling fs layer 05:55:35 7c6f9722023f: Pulling fs layer 05:55:35 a35cf1a2eb13: Pulling fs layer 05:55:35 bca2f99d35d6: Waiting 05:55:35 93359f2a8cfa: Waiting 05:55:35 7c6f9722023f: Waiting 05:55:35 a35cf1a2eb13: Waiting 05:55:35 de9db76c5a1d: Verifying Checksum 05:55:35 de9db76c5a1d: Download complete 05:55:35 0ef7d3d256c8: Download complete 05:55:35 93359f2a8cfa: Verifying Checksum 05:55:35 93359f2a8cfa: Download complete 05:55:35 7c6f9722023f: Verifying Checksum 05:55:35 7c6f9722023f: Download complete 05:55:35 188c0c94c7c5: Verifying Checksum 05:55:35 188c0c94c7c5: Download complete 05:55:35 188c0c94c7c5: Pull complete 05:55:35 0ef7d3d256c8: Pull complete 05:55:35 de9db76c5a1d: Pull complete 05:55:37 a35cf1a2eb13: Verifying Checksum 05:55:37 a35cf1a2eb13: Download complete 05:55:38 bca2f99d35d6: Verifying Checksum 05:55:38 bca2f99d35d6: Download complete 05:55:42 bca2f99d35d6: Pull complete 05:55:42 93359f2a8cfa: Pull complete 05:55:43 7c6f9722023f: Pull complete 05:55:47 a35cf1a2eb13: Pull complete 05:55:47 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:55:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:55:47 ---> a62c8e92a672 05:55:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:47 ---> Running in c095fdca3f2b 05:55:47 Removing intermediate container c095fdca3f2b 05:55:47 ---> c4f66f411c4e 05:55:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:47 ---> Running in 019705f5afe3 05:55:48 Removing intermediate container 019705f5afe3 05:55:48 ---> aa7c7630068b 05:55:48 Step 5/8 : RUN apk add --update --no-cache make git 05:55:48 ---> Running in ef1aeb38aa90 05:55:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:50 OK: 166 MiB in 39 packages 05:55:50 Removing intermediate container ef1aeb38aa90 05:55:50 ---> 96e518134057 05:55:50 Step 6/8 : WORKDIR /device-sdk-go 05:55:51 ---> Running in 1fcaa5a8b072 05:55:51 Removing intermediate container 1fcaa5a8b072 05:55:51 ---> 2eaa38f98f64 05:55:51 Step 7/8 : COPY . . 05:55:52 ---> 059c97eacc7d 05:55:52 Step 8/8 : RUN go mod download 05:55:52 ---> Running in 161a45b87fa1 05:56:10 Removing intermediate container 161a45b87fa1 05:56:10 ---> fea830bee585 05:56:10 Successfully built fea830bee585 05:56:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:56:11 + docker inspect -f . ci-base-image-x86_64 05:56:11 . [Pipeline] withDockerContainer 05:56:11 prd-centos7-docker-4c-2g-30129 does not seem to be running inside a container 05:56:11 $ 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 05:56:12 $ docker top f9404829d032dd98dc82f9b5a73e0504bde412f7b042da4fa1f3eb7c0f25752c -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:12 + go version 05:56:12 go version go1.15.5 linux/amd64 [Pipeline] } 05:56:12 $ docker stop --time=1 f9404829d032dd98dc82f9b5a73e0504bde412f7b042da4fa1f3eb7c0f25752c 05:56:14 $ docker rm -f f9404829d032dd98dc82f9b5a73e0504bde412f7b042da4fa1f3eb7c0f25752c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:15 + docker inspect -f . ci-base-image-x86_64 05:56:15 . [Pipeline] withDockerContainer 05:56:15 prd-centos7-docker-4c-2g-30129 does not seem to be running inside a container 05:56:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:56:16 $ docker top 494a3859f366811f0da73168721c1c5b01e9fde3899d216a14b5d5c1c7f86dc7 -eo pid,comm [Pipeline] { 05:56:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30130 in /w/workspace/dgexfoundry_device-sdk-go_PR-822 [Pipeline] { [Pipeline] sh [Pipeline] ws 05:56:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:56:16 + make test 05:56:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:56:21 using credential edgex-jenkins-ssh 05:56:21 Cloning the remote Git repository 05:56:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:56:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:56:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:22 > git --version # timeout=10 05:56:22 > git --version # 'git version 2.17.1' 05:56:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:56:23 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 12ea01a942df90baa52921e3f1e14c6c5423f015 05:56:24 Merge succeeded, producing 12ea01a942df90baa52921e3f1e14c6c5423f015 05:56:24 Checking out Revision 12ea01a942df90baa52921e3f1e14c6c5423f015 (PR-822) 05:56:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/822/head:refs/remotes/origin/PR-822 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:23 > git config core.sparsecheckout # timeout=10 05:56:23 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # timeout=10 05:56:24 > git remote # timeout=10 05:56:24 > git config --get remote.origin.url # timeout=10 05:56:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:24 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 05:56:24 > git rev-parse HEAD^{commit} # timeout=10 05:56:24 > git config core.sparsecheckout # timeout=10 05:56:24 > git checkout -f 12ea01a942df90baa52921e3f1e14c6c5423f015 # timeout=10 05:56:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:28 > git --version # timeout=10 05:56:28 > git --version # 'git version 2.17.1' 05:56:28 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:30 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:56:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:31 + sudo service docker restart+ 05:56:31 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:34 provisioning config files... 05:56:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2960147498226424676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:34 ---> docker-login.sh 05:56:34 nexus3.edgexfoundry.org:10001 05:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:35 Configure a credential helper to remove this warning. See 05:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:35 05:56:35 Login Succeeded 05:56:35 nexus3.edgexfoundry.org:10002 05:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:36 Configure a credential helper to remove this warning. See 05:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:36 05:56:36 Login Succeeded 05:56:36 nexus3.edgexfoundry.org:10003 05:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:37 Configure a credential helper to remove this warning. See 05:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:37 05:56:37 Login Succeeded 05:56:37 nexus3.edgexfoundry.org:10004 05:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:37 Configure a credential helper to remove this warning. See 05:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:37 05:56:37 Login Succeeded 05:56:37 docker.io 05:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:56:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:56:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:38 Configure a credential helper to remove this warning. See 05:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:38 05:56:38 Login Succeeded 05:56:38 ---> docker-login.sh ends [Pipeline] } 05:56:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:39 ========================================================= 05:56:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:56:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:39 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:56:39 Sending build context to Docker daemon 2.273MB 05:56:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:40 Step 2/8 : FROM ${BASE} 05:56:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:40 5f621e34cdf4: Pulling fs layer 05:56:40 a4357932f1b6: Pulling fs layer 05:56:40 18c013af1878: Pulling fs layer 05:56:40 00ac8860ef70: Pulling fs layer 05:56:40 63d7cb157983: Pulling fs layer 05:56:40 b116817d02f9: Pulling fs layer 05:56:40 745a02a5169b: Pulling fs layer 05:56:40 00ac8860ef70: Waiting 05:56:40 63d7cb157983: Waiting 05:56:40 b116817d02f9: Waiting 05:56:40 745a02a5169b: Waiting 05:56:40 18c013af1878: Verifying Checksum 05:56:40 18c013af1878: Download complete 05:56:40 a4357932f1b6: Download complete 05:56:40 63d7cb157983: Verifying Checksum 05:56:40 63d7cb157983: Download complete 05:56:40 b116817d02f9: Verifying Checksum 05:56:40 b116817d02f9: Download complete 05:56:40 5f621e34cdf4: Verifying Checksum 05:56:40 5f621e34cdf4: Download complete 05:56:40 5f621e34cdf4: Pull complete 05:56:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements 05:56:41 a4357932f1b6: Pull complete 05:56:41 18c013af1878: Pull complete 05:56:43 745a02a5169b: Verifying Checksum 05:56:43 745a02a5169b: Download complete 05:56:44 00ac8860ef70: Verifying Checksum 05:56:44 00ac8860ef70: Download complete 05:56:54 00ac8860ef70: Pull complete 05:56:54 63d7cb157983: Pull complete 05:56:54 b116817d02f9: Pull complete 05:56:59 745a02a5169b: Pull complete 05:56:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:59 ---> b7e6874047d6 05:56:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:01 ---> Running in 501197a5a2ef 05:57:02 Removing intermediate container 501197a5a2ef 05:57:02 ---> fdf867d66c31 05:57:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:02 ---> Running in 48d2abbe1e80 05:57:05 Removing intermediate container 48d2abbe1e80 05:57:05 ---> 245616c814e9 05:57:05 Step 5/8 : RUN apk add --update --no-cache make git 05:57:05 ---> Running in 0d9de68b3c03 05:57:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:57:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:09 OK: 142 MiB in 39 packages 05:57:11 Removing intermediate container 0d9de68b3c03 05:57:11 ---> cbfe6724af2b 05:57:11 Step 6/8 : WORKDIR /device-sdk-go 05:57:11 ---> Running in 7114ddb81657 05:57:11 Removing intermediate container 7114ddb81657 05:57:11 ---> bc85919309a6 05:57:11 Step 7/8 : COPY . . 05:57:13 ---> 6437e3538dc9 05:57:13 Step 8/8 : RUN go mod download 05:57:13 ---> Running in 2177706f630c 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.5% of statements 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 12.5% of statements 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.055s coverage: 84.8% of statements 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.082s coverage: 57.3% of statements 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.069s coverage: 81.2% of statements 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 24.8% of statements 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.102s coverage: 6.4% of statements 05:57:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements 05:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:13 GO111MODULE=on go vet ./... 05:57:19 gofmt -l . 05:57:19 [ "`gofmt -l .`" = "" ] 05:57:19 ./bin/test-attribution-txt.sh 05:57:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:57:20 $ docker stop --time=1 494a3859f366811f0da73168721c1c5b01e9fde3899d216a14b5d5c1c7f86dc7 05:57:22 $ docker rm -f 494a3859f366811f0da73168721c1c5b01e9fde3899d216a14b5d5c1c7f86dc7 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:57:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:57:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:57:25 + ls -al . 05:57:25 total 188 05:57:25 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 05:57 . 05:57:25 drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 05:55 .. 05:57:25 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 05:55 bin 05:57:25 -rw-r--r--. 1 jenkins jenkins 103667 Mar 17 05:57 coverage.out 05:57:25 -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 05:55 Dockerfile.build 05:57:25 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 05:55 .dockerignore 05:57:25 drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 05:55 example 05:57:25 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 05:55 .git 05:57:25 drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 05:55 .github 05:57:25 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 05:55 .gitignore 05:57:25 -rw-r--r--. 1 jenkins jenkins 479 Mar 17 05:57 go.mod 05:57:25 -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 05:57 go.sum 05:57:25 drwxrwxr-x. 12 jenkins jenkins 171 Mar 17 05:55 internal 05:57:25 -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 05:55 Jenkinsfile 05:57:25 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 05:55 LICENSE 05:57:25 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 05:55 Makefile 05:57:25 drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 05:55 openapi 05:57:25 drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 05:55 pkg 05:57:25 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 05:55 README.md 05:57:25 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 05:55 RELEASE-NOTES.txt 05:57:25 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 05:55 snap 05:57:25 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 05:53 VERSION 05:57:25 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 05:55 version.go [Pipeline] isUnix [Pipeline] sh 05:57:26 + 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=12ea01a942df90baa52921e3f1e14c6c5423f015 --label arch=amd64 --label version=0.0.0 . 05:57:26 Sending build context to Docker daemon 2.386MB 05:57:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:57:26 Step 2/24 : FROM ${BASE} AS builder 05:57:26 ---> fea830bee585 05:57:26 Step 3/24 : ARG MAKE='make build' 05:57:26 ---> Running in 4aab9c669661 05:57:26 Removing intermediate container 4aab9c669661 05:57:26 ---> ba3e8aa81d9c 05:57:26 Step 4/24 : WORKDIR /device-sdk-go 05:57:26 ---> Running in 330c6a396fad 05:57:26 Removing intermediate container 330c6a396fad 05:57:26 ---> 108c22447c44 05:57:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:27 ---> Running in 21fdb59bd74f 05:57:27 Removing intermediate container 21fdb59bd74f 05:57:27 ---> 81d7d5c2435e 05:57:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:27 ---> Running in 3039b916e411 05:57:28 Removing intermediate container 3039b916e411 05:57:28 ---> 552c1ae18681 05:57:28 Step 7/24 : RUN apk add --update --no-cache make git 05:57:28 ---> Running in af77c2ae0875 05:57:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:57:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:57:30 OK: 166 MiB in 39 packages 05:57:30 Removing intermediate container af77c2ae0875 05:57:30 ---> a5424e07816b 05:57:30 Step 8/24 : COPY . . 05:57:31 ---> 482ba5a2955e 05:57:31 Step 9/24 : RUN ${MAKE} 05:57:31 ---> Running in b17cbc3f3d13 05:57:32 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 05:57:40 Removing intermediate container 2177706f630c 05:57:40 ---> 43477bf33ca6 05:57:40 Successfully built 43477bf33ca6 05:57:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:57:40 + docker inspect -f . ci-base-image-arm64 05:57:40 . [Pipeline] withDockerContainer 05:57:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:57:40 prd-ubuntu18.04-docker-arm64-4c-16g-30130 does not seem to be running inside a container 05:57:40 $ 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 ******** ci-base-image-arm64 cat 05:57:42 Removing intermediate container b17cbc3f3d13 05:57:42 ---> 1f0b62e2af22 05:57:42 Step 10/24 : FROM scratch 05:57:42 ---> 05:57:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:42 ---> Running in b49debc95a4b 05:57:42 $ docker top 1e70472c50c85d4fc348875ccae04cf1ffefdb79e7e4261072476ac48110084b -eo pid,comm 05:57:42 Removing intermediate container b49debc95a4b 05:57:42 ---> 90e8510578d2 05:57:42 Step 12/24 : ENV APP_PORT=49990 05:57:42 ---> Running in 7c82c18821f8 [Pipeline] { 05:57:43 Removing intermediate container 7c82c18821f8 05:57:43 ---> 5fdfb300bdcd 05:57:43 Step 13/24 : EXPOSE $APP_PORT 05:57:43 ---> Running in 6da319892069 05:57:43 Removing intermediate container 6da319892069 05:57:43 ---> 8354a882bf53 05:57:43 Step 14/24 : WORKDIR / [Pipeline] sh 05:57:43 ---> Running in 6b7f423c52da 05:57:43 Removing intermediate container 6b7f423c52da 05:57:43 ---> 591007e1f1b7 05:57:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:57:43 + go version 05:57:43 go version go1.15.5 linux/arm64 [Pipeline] } 05:57:43 $ docker stop --time=1 1e70472c50c85d4fc348875ccae04cf1ffefdb79e7e4261072476ac48110084b 05:57:43 ---> 88b70c455edc 05:57:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:57:44 ---> a13338d50810 05:57:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:57:44 ---> 994a44037196 05:57:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:57:44 ---> 31fe5b7fd8e6 05:57:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:57:45 ---> a9ce15741018 05:57:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:57:45 ---> Running in bdc423e0ad6d 05:57:45 Removing intermediate container bdc423e0ad6d 05:57:45 ---> b9f5c8a0b7bd 05:57:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:57:45 ---> Running in e6e5108ae665 05:57:45 Removing intermediate container e6e5108ae665 05:57:45 ---> c3ffc735d275 05:57:45 Step 22/24 : LABEL arch=amd64 05:57:45 ---> Running in 44759c667eb6 05:57:45 $ docker rm -f 1e70472c50c85d4fc348875ccae04cf1ffefdb79e7e4261072476ac48110084b 05:57:46 Removing intermediate container 44759c667eb6 05:57:46 ---> a649a8c39936 05:57:46 Step 23/24 : LABEL git_sha=12ea01a942df90baa52921e3f1e14c6c5423f015 05:57:46 ---> Running in 7b9dee38443f [Pipeline] // withDockerContainer 05:57:46 Removing intermediate container 7b9dee38443f 05:57:46 ---> e0cfd37e086a 05:57:46 Step 24/24 : LABEL version=0.0.0 05:57:46 ---> Running in 276105633e4b 05:57:46 Removing intermediate container 276105633e4b 05:57:46 ---> 91ee914b8554 05:57:46 [Warning] One or more build-args [ARCH] were not consumed [Pipeline] } [Pipeline] // script [Pipeline] } 05:57:46 Successfully built 91ee914b8554 05:57:46 Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 05:57:47 + docker inspect -f . ci-base-image-arm64 05:57:47 . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer 05:57:47 ---> job-cost.sh 05:57:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-srPs 05:57:47 prd-ubuntu18.04-docker-arm64-4c-16g-30130 does not seem to be running inside a container 05:57:48 $ 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 ******** ci-base-image-arm64 cat 05:57:49 $ docker top 9df9c91e33987028ac5c406b88f1dbc2bdc6719ebfce9c0f807a228de7e82cfc -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:50 + make test 05:57:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:58:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:58:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:58:29 lf-activate-venv(): INFO: Adding /tmp/venv-srPs/bin to PATH 05:58:29 INFO: No Stack... 05:58:29 INFO: Retrieving Pricing Info for: v1-standard-2 05:58:29 INFO: Archiving Costs [Pipeline] sh 05:58:30 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:58:30 + cut -d, -f6 [Pipeline] lock 05:58:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] 05:58:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] did not exist. Created. 05:58:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:58:32 + echo total: 0.029999999329447746 [Pipeline] stash 05:58:32 Stashed 1 file(s) [Pipeline] } 05:58:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:59:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:59:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:59:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 10.5% of statements 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 12.5% of statements 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.140s coverage: 84.8% of statements 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.273s coverage: 57.3% of statements 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.203s coverage: 81.2% of statements 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 24.8% of statements 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.820s coverage: 6.4% of statements 05:59:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.1% of statements 05:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:59:32 GO111MODULE=on go vet ./... 06:00:05 gofmt -l . 06:00:05 [ "`gofmt -l .`" = "" ] 06:00:05 ./bin/test-attribution-txt.sh 06:00:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:00:05 $ docker stop --time=1 9df9c91e33987028ac5c406b88f1dbc2bdc6719ebfce9c0f807a228de7e82cfc 06:00:07 $ docker rm -f 9df9c91e33987028ac5c406b88f1dbc2bdc6719ebfce9c0f807a228de7e82cfc [Pipeline] // withDockerContainer [Pipeline] sh 06:00:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:08 Warning: overwriting stash ‘coverage-report’ 06:00:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:11 + ls -al . 06:00:11 total 224 06:00:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 06:00 . 06:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:56 .. 06:00:11 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:56 .dockerignore 06:00:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:56 .git 06:00:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:56 .github 06:00:11 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 05:56 .gitignore 06:00:11 -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 05:56 Dockerfile.build 06:00:11 -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 05:56 Jenkinsfile 06:00:11 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:56 LICENSE 06:00:11 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 05:56 Makefile 06:00:11 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 05:56 README.md 06:00:11 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 05:56 RELEASE-NOTES.txt 06:00:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:53 VERSION 06:00:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:56 bin 06:00:11 -rw-r--r-- 1 jenkins jenkins 103667 Mar 17 05:59 coverage.out 06:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:56 example 06:00:11 -rw-r--r-- 1 jenkins jenkins 479 Mar 17 06:00 go.mod 06:00:11 -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 06:00 go.sum 06:00:11 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:56 internal 06:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:56 openapi 06:00:11 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:56 pkg 06:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:56 snap 06:00:11 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:56 version.go [Pipeline] isUnix [Pipeline] sh 06:00:11 + 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=12ea01a942df90baa52921e3f1e14c6c5423f015 --label arch=arm64 --label version=0.0.0 . 06:00:11 Sending build context to Docker daemon 2.377MB 06:00:11 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:00:11 Step 2/24 : FROM ${BASE} AS builder 06:00:11 ---> 43477bf33ca6 06:00:11 Step 3/24 : ARG MAKE='make build' 06:00:12 ---> Running in 89fab48e9270 06:00:12 Removing intermediate container 89fab48e9270 06:00:12 ---> 1c19c0d49b66 06:00:12 Step 4/24 : WORKDIR /device-sdk-go 06:00:12 ---> Running in bb8ceefbf9e3 06:00:13 Removing intermediate container bb8ceefbf9e3 06:00:13 ---> 219313dbc42d 06:00:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:13 ---> Running in 4688800abaa2 06:00:13 Removing intermediate container 4688800abaa2 06:00:13 ---> caeb0eb105dc 06:00:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:13 ---> Running in 239d0b0bcbd1 06:00:15 Removing intermediate container 239d0b0bcbd1 06:00:15 ---> 6729b7bc7924 06:00:15 Step 7/24 : RUN apk add --update --no-cache make git 06:00:16 ---> Running in c14db3c9cd6f 06:00:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:00:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:00:20 OK: 142 MiB in 39 packages 06:00:21 Removing intermediate container c14db3c9cd6f 06:00:21 ---> e3cda9253595 06:00:21 Step 8/24 : COPY . . 06:00:22 ---> bfccfb915a30 06:00:22 Step 9/24 : RUN ${MAKE} 06:00:22 ---> Running in 55753efb8563 06:00:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:00:50 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:00:52 Removing intermediate container 55753efb8563 06:00:52 ---> db74f6f08a99 06:00:52 Step 10/24 : FROM scratch 06:00:52 ---> 06:00:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:52 ---> Running in b225383eaf82 06:00:52 Removing intermediate container b225383eaf82 06:00:52 ---> 29047971e547 06:00:52 Step 12/24 : ENV APP_PORT=49990 06:00:52 ---> Running in d14bf323958b 06:00:52 Removing intermediate container d14bf323958b 06:00:52 ---> 589d7fe43bbc 06:00:52 Step 13/24 : EXPOSE $APP_PORT 06:00:53 ---> Running in d1162830a6bb 06:00:53 Removing intermediate container d1162830a6bb 06:00:53 ---> c4df3c35f312 06:00:53 Step 14/24 : WORKDIR / 06:00:53 ---> Running in 302c97ff2eae 06:00:54 Removing intermediate container 302c97ff2eae 06:00:54 ---> 7377e34399b7 06:00:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:00:55 ---> c61ff4d94e45 06:00:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:00:56 ---> a5f11b31d97f 06:00:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:00:56 ---> 3c805fb7d306 06:00:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:00:57 ---> cd9f1107964f 06:00:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:00:58 ---> 2e7385dbc290 06:00:58 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:00:58 ---> Running in d808f7c29e3f 06:00:59 Removing intermediate container d808f7c29e3f 06:00:59 ---> 710ec35c0609 06:00:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:59 ---> Running in 7dcad6f1e43e 06:00:59 Removing intermediate container 7dcad6f1e43e 06:00:59 ---> e9549fe19b83 06:00:59 Step 22/24 : LABEL arch=arm64 06:00:59 ---> Running in 5d35fb2a1efe 06:01:00 Removing intermediate container 5d35fb2a1efe 06:01:00 ---> 9d38cd9a40f2 06:01:00 Step 23/24 : LABEL git_sha=12ea01a942df90baa52921e3f1e14c6c5423f015 06:01:00 ---> Running in ffc28efce1e7 06:01:00 Removing intermediate container ffc28efce1e7 06:01:00 ---> c652a98109cf 06:01:00 Step 24/24 : LABEL version=0.0.0 06:01:01 ---> Running in 96b3c56ae908 06:01:01 Removing intermediate container 96b3c56ae908 06:01:01 ---> 5bf0edf3bb8a 06:01:01 [Warning] One or more build-args [ARCH] were not consumed 06:01:01 Successfully built 5bf0edf3bb8a 06:01:01 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:01:02 ---> job-cost.sh 06:01:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LGr0 06:01:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:18 lf-activate-venv(): INFO: Adding /tmp/venv-LGr0/bin to PATH 06:03:18 INFO: No Stack... 06:03:18 INFO: Retrieving Pricing Info for: lf-standard-4 06:03:18 INFO: Archiving Costs [Pipeline] sh 06:03:18 + cut -d, -f6 06:03:18 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:03:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] 06:03:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] did not exist. Created. 06:03:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:19 /w/workspace/device-sdk-go/1@tmp/durable-12f2124a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-12f2124a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:03:19 + echo total: 0.20999999344348907 [Pipeline] stash 06:03:19 Warning: overwriting stash ‘stack-cost’ 06:03:20 Stashed 1 file(s) [Pipeline] } 06:03:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-822-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:03:21 provisioning config files... 06:03:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/config9114375346354564074tmp [Pipeline] { [Pipeline] sh 06:03:22 + set +x 06:03:22 + curl -s https://codecov.io/bash 06:03:22 + bash -s -- 06:03:22 06:03:22 _____ _ 06:03:22 / ____| | | 06:03:22 | | ___ __| | ___ ___ _____ __ 06:03:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:03:22 | |___| (_) | (_| | __/ (_| (_) \ V / 06:03:22 \_____\___/ \__,_|\___|\___\___/ \_/ 06:03:22 Bash-20210309-2b87ace 06:03:22 06:03:22 06:03:22 ==> git version 2.24.3 found 06:03:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:03:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:03:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:03:22 ==> Jenkins CI detected. 06:03:22 project root: . 06:03:22 --> token set from env 06:03:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:03:22 ==> Running gcov in . (disable via -X gcov) 06:03:22 ==> Python coveragepy not found 06:03:22 ==> Searching for coverage reports in: 06:03:22 + . 06:03:22 -> Found 1 reports 06:03:22 ==> Detecting git/mercurial file structure 06:03:22 ==> Reading reports 06:03:22 + ./coverage.out bytes=103667 06:03:22 ==> Appending adjustments 06:03:22 https://docs.codecov.io/docs/fixing-reports 06:03:22 + Found adjustments 06:03:22 ==> Gzipping contents 06:03:22 16K /tmp/codecov.K0lt0R.gz 06:03:22 ==> Uploading reports 06:03:22 url: https://codecov.io 06:03:22 query: branch=PR-822&commit=12ea01a942df90baa52921e3f1e14c6c5423f015&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-822%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=822&job=&cmd_args= 06:03:22 -> Pinging Codecov 06:03:22 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-822&commit=12ea01a942df90baa52921e3f1e14c6c5423f015&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-822%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=822&job=&cmd_args= 06:03:23 -> Uploading to 06:03:23 https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/12ea01a942df90baa52921e3f1e14c6c5423f015/7363c428-26dd-46b1-a80c-b2a1757132fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T060323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e83391f2fea040d86e200b351bc19cf79c70f146b2a2df235110a65a3790749b 06:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:23 Dload Upload Total Spent Left Speed 06:03:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13869 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13869 0 0 100 13869 0 36748 --:--:-- --:--:-- --:--:-- 36690 06:03:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/12ea01a942df90baa52921e3f1e14c6c5423f015 [Pipeline] } 06:03:23 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] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:03:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:27 ---> package-listing.sh 06:03:27 ++ facter osfamily 06:03:27 ++ tr '[:upper:]' '[:lower:]' 06:03:27 + OS_FAMILY=redhat 06:03:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-822 06:03:27 + START_PACKAGES=/tmp/packages_start.txt 06:03:27 + END_PACKAGES=/tmp/packages_end.txt 06:03:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:27 + PACKAGES=/tmp/packages_start.txt 06:03:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-822 ']' 06:03:27 + PACKAGES=/tmp/packages_end.txt 06:03:27 + case "${OS_FAMILY}" in 06:03:27 + rpm -qa 06:03:27 + sort 06:03:32 + '[' -f /tmp/packages_start.txt ']' 06:03:32 + '[' -f /tmp/packages_end.txt ']' 06:03:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-822 ']' 06:03:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-822/archives/ 06:03:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-822/archives/ [Pipeline] echo 06:03:32 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-822/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:03:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:33 06:03:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:03:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:34 alpine: Pulling from edgex-lftools-log-publisher 06:03:34 df20fa9351a1: Pulling fs layer 06:03:34 36b3adc4ff6f: Pulling fs layer 06:03:34 8ad3a11d3b57: Pulling fs layer 06:03:34 46f8f816bc3b: Pulling fs layer 06:03:34 93b61091891f: Pulling fs layer 06:03:34 93b9cdb0e59b: Pulling fs layer 06:03:34 5e14af77c1be: Pulling fs layer 06:03:34 01666e4c0597: Pulling fs layer 06:03:34 aa168da1d23b: Pulling fs layer 06:03:34 46f8f816bc3b: Waiting 06:03:34 93b61091891f: Waiting 06:03:34 93b9cdb0e59b: Waiting 06:03:34 5e14af77c1be: Waiting 06:03:34 01666e4c0597: Waiting 06:03:34 aa168da1d23b: Waiting 06:03:34 36b3adc4ff6f: Verifying Checksum 06:03:34 36b3adc4ff6f: Download complete 06:03:34 46f8f816bc3b: Verifying Checksum 06:03:34 46f8f816bc3b: Download complete 06:03:34 df20fa9351a1: Download complete 06:03:34 93b9cdb0e59b: Verifying Checksum 06:03:34 93b9cdb0e59b: Download complete 06:03:34 5e14af77c1be: Verifying Checksum 06:03:34 5e14af77c1be: Download complete 06:03:34 01666e4c0597: Verifying Checksum 06:03:34 01666e4c0597: Download complete 06:03:34 93b61091891f: Download complete 06:03:34 8ad3a11d3b57: Verifying Checksum 06:03:34 8ad3a11d3b57: Download complete 06:03:34 df20fa9351a1: Pull complete 06:03:34 36b3adc4ff6f: Pull complete 06:03:36 aa168da1d23b: Verifying Checksum 06:03:36 aa168da1d23b: Download complete 06:03:36 8ad3a11d3b57: Pull complete 06:03:36 46f8f816bc3b: Pull complete 06:03:37 93b61091891f: Pull complete 06:03:37 93b9cdb0e59b: Pull complete 06:03:37 5e14af77c1be: Pull complete 06:03:37 01666e4c0597: Pull complete 06:03:45 aa168da1d23b: Pull complete 06:03:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:03:45 prd-centos7-docker-4c-2g-30126 does not seem to be running inside a container 06:03:45 $ 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-822/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-822 -v /w/workspace/dgexfoundry_device-sdk-go_PR-822:/w/workspace/dgexfoundry_device-sdk-go_PR-822:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:03:49 $ docker top 12524fb63d82bc45e68171dc01cb0d23f16f780dbca4887fea46579e66fd0cf3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:50 + touch /tmp/pre-build-complete [Pipeline] sh 06:03:50 + mkdir -p /var/log/sa [Pipeline] sh 06:03:50 + ls /var/log/sa-host 06:03:50 + sadf -c /var/log/sa-host/sa17 06:03:50 file_magic: OK 06:03:50 HZ: Using current value: 100 06:03:50 file_header: OK 06:03:50 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:03:50 Statistics: 06:03:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:03:50 File successfully converted to sysstat format version 12.2.1 06:03:50 + sadf -c /var/log/sa-host/sa23 06:03:50 file_magic: OK 06:03:50 HZ: Using current value: 100 06:03:50 file_header: OK 06:03:50 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:03:50 Statistics: 06:03:50 Hnuu...uuuununununu... 06:03:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:50 provisioning config files... 06:03:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-822@tmp/config3014630036028538799tmp [Pipeline] { [Pipeline] echo 06:03:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:51 ---> create-netrc.sh [Pipeline] } 06:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:03:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:03:51 ---> python-tools-install.sh [Pipeline] echo 06:03:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:03:52 ---> sudo-logs.sh 06:03:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:03:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:03:52 ---> job-cost.sh 06:03:52 lf-activate-venv: SKIPPING 06:03:52 DEBUG: total: 0.20999999344348907 06:03:52 INFO: Retrieving Stack Cost... 06:03:54 INFO: Retrieving Pricing Info for: v1-standard-2 06:03:54 INFO: Archiving Costs [Pipeline] echo 06:03:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:03:55 ---> logs-deploy.sh 06:03:55 lf-activate-venv: SKIPPING 06:03:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-822/1 06:03:55 INFO: archiving workspace using pattern(s): 06:03:57 Archives upload complete. 06:03:57 INFO: archiving logs to Nexus