Pull request #882 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c6564cc59fa320e64cbefe1226e27f5e26549f22+4afc3732447dbc1bcd63643089443d556eeee277 (2ce0236fdf34a23997729dc4da96fbc0344e19fc) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-882/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-882/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-422 in /w/workspace/dgexfoundry_device-sdk-go_PR-882 [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-882 # 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 > 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/882/head:refs/remotes/origin/PR-882 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit c6564cc59fa320e64cbefe1226e27f5e26549f22 Merge succeeded, producing c6564cc59fa320e64cbefe1226e27f5e26549f22 Checking out Revision c6564cc59fa320e64cbefe1226e27f5e26549f22 (PR-882) > git config core.sparsecheckout # timeout=10 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # 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 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:25 ========================================================= 05:58:25 EdgeX Global Pipelines Version Info 05:58:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:29 ------------------- 05:58:29 stable info: 05:58:29 ------------------- 05:58:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:29 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:58:29 Message: update stable to v1.0.186 05:58:30 ------------------- 05:58:30 experimental info: 05:58:30 ------------------- 05:58:30 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:30 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:58:30 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:58:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-882 [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-882 [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-882 [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6564cc59fa320e64cbefe1226e27f5e26549f22 [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6564cc [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:58:32 provisioning config files... 05:58:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/config3984017985505317140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:33 ---> docker-login.sh 05:58:33 nexus3.edgexfoundry.org:10001 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 nexus3.edgexfoundry.org:10002 05:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:35 Configure a credential helper to remove this warning. See 05:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:35 05:58:35 Login Succeeded 05:58:35 nexus3.edgexfoundry.org:10003 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10004 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 docker.io 05:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 ---> docker-login.sh ends [Pipeline] } 05:58:37 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:58:38 + git log --format=format:%s -1 c6564cc59fa320e64cbefe1226e27f5e26549f22 [Pipeline] echo 05:58:39 GIT_COMMIT: c6564cc59fa320e64cbefe1226e27f5e26549f22, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:58:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:40 05:58:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:58:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:41 latest: Pulling from edgex-devops/git-semver 05:58:41 31603596830f: Pulling fs layer 05:58:41 2a8b12db71e7: Pulling fs layer 05:58:41 6ca5941a6612: Pulling fs layer 05:58:41 ecc8261a40a4: Pulling fs layer 05:58:41 ecc8261a40a4: Waiting 05:58:41 2a8b12db71e7: Verifying Checksum 05:58:41 2a8b12db71e7: Download complete 05:58:41 31603596830f: Verifying Checksum 05:58:41 31603596830f: Download complete 05:58:41 ecc8261a40a4: Verifying Checksum 05:58:41 ecc8261a40a4: Download complete 05:58:42 6ca5941a6612: Verifying Checksum 05:58:42 6ca5941a6612: Download complete 05:58:43 31603596830f: Pull complete 05:58:43 2a8b12db71e7: Pull complete 05:58:45 6ca5941a6612: Pull complete 05:58:46 ecc8261a40a4: Pull complete 05:58:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:58:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:58:47 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 05:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-882 -v /w/workspace/dgexfoundry_device-sdk-go_PR-882:/w/workspace/dgexfoundry_device-sdk-go_PR-882:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-882@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:58:50 $ docker top 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:51 [ssh-agent] Looking for ssh-agent implementation... 05:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:52 $ docker exec 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 ssh-agent 05:58:53 SSH_AUTH_SOCK=/tmp/ssh-zup8ddl118qo/agent.11 05:58:53 SSH_AGENT_PID=16 05:58:53 Running ssh-add (command line suppressed) 05:58:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/private_key_1832394627841911898.key (/w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/private_key_1832394627841911898.key) 05:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:55 + git tag --points-at HEAD [Pipeline] } 05:58:55 $ docker exec --env ******** --env ******** 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 ssh-agent -k 05:58:56 unset SSH_AUTH_SOCK; 05:58:56 unset SSH_AGENT_PID; 05:58:56 echo Agent pid 16 killed; 05:58:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:56 [ssh-agent] Looking for ssh-agent implementation... 05:58:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:57 $ docker exec 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 ssh-agent 05:58:58 SSH_AUTH_SOCK=/tmp/ssh-O8Zc2OnMv444/agent.44 05:58:58 SSH_AGENT_PID=49 05:58:58 Running ssh-add (command line suppressed) 05:58:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/private_key_5427048608359565796.key (/w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/private_key_5427048608359565796.key) 05:58:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:59 + git semver init 05:58:59 # -> Open(): unable to determine branch for HEAD 05:58:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-882/.git 05:58:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-882 05:58:59 # $SEMVER_REMOTE_NAME = origin 05:58:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:58:59 # $SEMVER_USER_NAME = edgex-jenkins 05:58:59 # $SEMVER_BRANCH = PR-882 05:58:59 # $SEMVER_TEMP = /tmp/semver-881000960 05:58:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:59:01 # '/tmp/semver-881000960' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-882/.semver' 05:59:01 # -> Force: false 05:59:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-882/.semver [Pipeline] } 05:59:01 $ docker exec --env ******** --env ******** 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 ssh-agent -k 05:59:01 unset SSH_AUTH_SOCK; 05:59:01 unset SSH_AGENT_PID; 05:59:01 echo Agent pid 49 killed; 05:59:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:02 + git semver [Pipeline] } 05:59:02 $ docker stop --time=1 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 05:59:04 $ docker rm -f 4e52d0caba31d8358f1fe28f631bd766a395f640090ef13b199886e8402e9803 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:06 Stashed 1 file(s) [Pipeline] echo 05:59:06 [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:59:22 Still waiting to schedule task 05:59:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:59:22 Still waiting to schedule task 05:59:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-423’ 06:01:01 Running on prd-centos7-docker-4c-2g-428 in /w/workspace/dgexfoundry_device-sdk-go_PR-882 [Pipeline] { [Pipeline] ws 06:01:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:01:04 using credential edgex-jenkins-ssh 06:01:04 Cloning the remote Git repository 06:01:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:01:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:04 > git --version # timeout=10 06:01:04 > git --version # 'git version 2.24.3' 06:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:05 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit c6564cc59fa320e64cbefe1226e27f5e26549f22 06:01:06 Merge succeeded, producing c6564cc59fa320e64cbefe1226e27f5e26549f22 06:01:06 Checking out Revision c6564cc59fa320e64cbefe1226e27f5e26549f22 (PR-882) 06:01:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/882/head:refs/remotes/origin/PR-882 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:05 > git config core.sparsecheckout # timeout=10 06:01:05 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # timeout=10 06:01:05 > git remote # timeout=10 06:01:06 > git config --get remote.origin.url # timeout=10 06:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:06 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 06:01:06 > git rev-parse HEAD^{commit} # timeout=10 06:01:06 > git config core.sparsecheckout # timeout=10 06:01:06 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # timeout=10 06:01:09 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:01:09 > git --version # timeout=10 06:01:09 > git --version # 'git version 2.24.3' 06:01:09 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:01:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:11 + sudo service docker restart 06:01:11 + true 06:01:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:12 provisioning config files... 06:01:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5817046869109682851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:13 ---> docker-login.sh 06:01:13 nexus3.edgexfoundry.org:10001 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10002 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10003 06:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:14 Configure a credential helper to remove this warning. See 06:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:14 06:01:14 Login Succeeded 06:01:14 nexus3.edgexfoundry.org:10004 06:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:14 Configure a credential helper to remove this warning. See 06:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:14 06:01:14 Login Succeeded 06:01:14 docker.io 06:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:14 Configure a credential helper to remove this warning. See 06:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:14 06:01:14 Login Succeeded 06:01:14 ---> docker-login.sh ends [Pipeline] } 06:01:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:15 ========================================================= 06:01:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:01:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:15 + 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:01:15 Sending build context to Docker daemon 2.437MB 06:01:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:01:15 Step 2/8 : FROM ${BASE} 06:01:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:15 188c0c94c7c5: Pulling fs layer 06:01:15 0ef7d3d256c8: Pulling fs layer 06:01:15 de9db76c5a1d: Pulling fs layer 06:01:15 bca2f99d35d6: Pulling fs layer 06:01:15 93359f2a8cfa: Pulling fs layer 06:01:15 7c6f9722023f: Pulling fs layer 06:01:15 a35cf1a2eb13: Pulling fs layer 06:01:15 bca2f99d35d6: Waiting 06:01:15 7c6f9722023f: Waiting 06:01:15 93359f2a8cfa: Waiting 06:01:15 a35cf1a2eb13: Waiting 06:01:15 de9db76c5a1d: Verifying Checksum 06:01:15 de9db76c5a1d: Download complete 06:01:15 0ef7d3d256c8: Verifying Checksum 06:01:15 0ef7d3d256c8: Download complete 06:01:15 93359f2a8cfa: Verifying Checksum 06:01:15 93359f2a8cfa: Download complete 06:01:15 188c0c94c7c5: Verifying Checksum 06:01:15 188c0c94c7c5: Download complete 06:01:15 7c6f9722023f: Verifying Checksum 06:01:15 7c6f9722023f: Download complete 06:01:16 188c0c94c7c5: Pull complete 06:01:16 0ef7d3d256c8: Pull complete 06:01:16 de9db76c5a1d: Pull complete 06:01:17 a35cf1a2eb13: Verifying Checksum 06:01:17 a35cf1a2eb13: Download complete 06:01:18 bca2f99d35d6: Verifying Checksum 06:01:18 bca2f99d35d6: Download complete 06:01:23 bca2f99d35d6: Pull complete 06:01:23 93359f2a8cfa: Pull complete 06:01:23 7c6f9722023f: Pull complete 06:01:30 a35cf1a2eb13: Pull complete 06:01:30 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:01:30 ---> a62c8e92a672 06:01:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:30 ---> Running in 2f71b001f27a 06:01:30 Removing intermediate container 2f71b001f27a 06:01:30 ---> 3fccbd7ccf4b 06:01:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:30 ---> Running in 667a26f3958d 06:01:31 Removing intermediate container 667a26f3958d 06:01:31 ---> c926cabf007a 06:01:31 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:01:31 ---> Running in d730c30cd4a9 06:01:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:33 (1/6) Installing libc-dev (0.7.2-r3) 06:01:34 (2/6) Installing libsodium (1.0.18-r0) 06:01:34 (3/6) Installing pkgconf (1.7.2-r0) 06:01:34 (4/6) Installing libsodium-dev (1.0.18-r0) 06:01:34 (5/6) Installing libzmq (4.3.3-r0) 06:01:34 (6/6) Installing zeromq-dev (4.3.3-r0) 06:01:34 Executing busybox-1.31.1-r19.trigger 06:01:34 OK: 167 MiB in 45 packages 06:01:35 Removing intermediate container d730c30cd4a9 06:01:35 ---> 0d914cebfecd 06:01:35 Step 6/8 : WORKDIR /device-sdk-go 06:01:35 ---> Running in 77ffbce6f1f4 06:01:35 Removing intermediate container 77ffbce6f1f4 06:01:35 ---> ba709c80e673 06:01:35 Step 7/8 : COPY . . 06:01:37 ---> b17d0417adea 06:01:37 Step 8/8 : RUN go mod download 06:01:37 ---> Running in f49d7a26786c 06:01:59 Removing intermediate container f49d7a26786c 06:01:59 ---> dd7e3b2828a1 06:01:59 Successfully built dd7e3b2828a1 06:01:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:59 + docker inspect -f . ci-base-image-x86_64 06:01:59 . [Pipeline] withDockerContainer 06:01:59 prd-centos7-docker-4c-2g-428 does not seem to be running inside a container 06:01:59 $ 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:02:00 $ docker top 42c902bc6a76fb4bb2380610a5b7108b3edab56351b1ce13def60c67b1cf9ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:01 + go version 06:02:01 go version go1.15.5 linux/amd64 [Pipeline] } 06:02:01 $ docker stop --time=1 42c902bc6a76fb4bb2380610a5b7108b3edab56351b1ce13def60c67b1cf9ee3 06:02:02 $ docker rm -f 42c902bc6a76fb4bb2380610a5b7108b3edab56351b1ce13def60c67b1cf9ee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:03 + docker inspect -f . ci-base-image-x86_64 06:02:03 . [Pipeline] withDockerContainer 06:02:03 prd-centos7-docker-4c-2g-428 does not seem to be running inside a container 06:02:03 $ 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:02:04 $ docker top 4797890b8b798c7568d4eb85a484895141c349d83da741a17cc9487e1d1be103 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:04 + make test 06:02:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:02:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:02:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:02:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:02:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:02:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:02:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 28.1% of statements 06:02:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements 06:02:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.082s coverage: 7.8% of statements 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 32.0% of statements 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 57.1% of statements 06:02:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.308s coverage: 6.6% of statements 06:02:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 06:02:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:39 GO111MODULE=on go vet ./... 06:02:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-431 in /w/workspace/dgexfoundry_device-sdk-go_PR-882 [Pipeline] { [Pipeline] ws 06:02:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:02:57 gofmt -l . 06:02:57 [ "`gofmt -l .`" = "" ] 06:02:57 ./bin/test-attribution-txt.sh 06:02:57 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 06:02:57 make: *** [Makefile:36: test] Error 1 [Pipeline] } 06:02:57 $ docker stop --time=1 4797890b8b798c7568d4eb85a484895141c349d83da741a17cc9487e1d1be103 06:02:59 $ docker rm -f 4797890b8b798c7568d4eb85a484895141c349d83da741a17cc9487e1d1be103 06:02:59 using credential edgex-jenkins-ssh 06:02:59 Cloning the remote Git repository [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 06:02:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:02:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:02:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:02:59 > git --version # timeout=10 06:02:59 > git --version # 'git version 2.17.1' 06:02:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:03:00 ---> job-cost.sh 06:03:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B8qE 06:03:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/882/head:refs/remotes/origin/PR-882 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:03:02 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit c6564cc59fa320e64cbefe1226e27f5e26549f22 06:03:02 Merge succeeded, producing c6564cc59fa320e64cbefe1226e27f5e26549f22 06:03:02 Checking out Revision c6564cc59fa320e64cbefe1226e27f5e26549f22 (PR-882) 06:03:02 > git config core.sparsecheckout # timeout=10 06:03:02 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # timeout=10 06:03:02 > git remote # timeout=10 06:03:02 > git config --get remote.origin.url # timeout=10 06:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:02 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 06:03:02 > git rev-parse HEAD^{commit} # timeout=10 06:03:02 > git config core.sparsecheckout # timeout=10 06:03:02 > git checkout -f c6564cc59fa320e64cbefe1226e27f5e26549f22 # timeout=10 06:03:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:03:06 > git --version # timeout=10 06:03:06 > git --version # 'git version 2.17.1' 06:03:06 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:03:06 06:03:06 GitHub has been notified of this commit’s build result 06:03:06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:03:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:03:09 + true 06:03:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:11 provisioning config files... 06:03:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7184750721544550652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:11 ---> docker-login.sh 06:03:11 nexus3.edgexfoundry.org:10001 06:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:12 Configure a credential helper to remove this warning. See 06:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:12 06:03:12 Login Succeeded 06:03:12 nexus3.edgexfoundry.org:10002 06:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:13 Configure a credential helper to remove this warning. See 06:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:13 06:03:13 Login Succeeded 06:03:13 nexus3.edgexfoundry.org:10003 06:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:13 Configure a credential helper to remove this warning. See 06:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:13 06:03:13 Login Succeeded 06:03:13 nexus3.edgexfoundry.org:10004 06:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:14 Configure a credential helper to remove this warning. See 06:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:14 06:03:14 Login Succeeded 06:03:14 docker.io 06:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:15 Configure a credential helper to remove this warning. See 06:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:15 06:03:15 Login Succeeded 06:03:15 ---> docker-login.sh ends [Pipeline] } 06:03:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:15 ========================================================= 06:03:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:03:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:03:15 + 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:03:16 Sending build context to Docker daemon 2.422MB 06:03:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:03:16 Step 2/8 : FROM ${BASE} 06:03:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:16 5f621e34cdf4: Pulling fs layer 06:03:16 a4357932f1b6: Pulling fs layer 06:03:16 18c013af1878: Pulling fs layer 06:03:16 00ac8860ef70: Pulling fs layer 06:03:16 63d7cb157983: Pulling fs layer 06:03:16 b116817d02f9: Pulling fs layer 06:03:16 745a02a5169b: Pulling fs layer 06:03:16 63d7cb157983: Waiting 06:03:16 b116817d02f9: Waiting 06:03:16 745a02a5169b: Waiting 06:03:16 00ac8860ef70: Waiting 06:03:16 18c013af1878: Verifying Checksum 06:03:16 18c013af1878: Download complete 06:03:16 a4357932f1b6: Verifying Checksum 06:03:16 a4357932f1b6: Download complete 06:03:16 5f621e34cdf4: Verifying Checksum 06:03:16 5f621e34cdf4: Download complete 06:03:16 63d7cb157983: Verifying Checksum 06:03:16 63d7cb157983: Download complete 06:03:16 b116817d02f9: Verifying Checksum 06:03:16 b116817d02f9: Download complete 06:03:17 5f621e34cdf4: Pull complete 06:03:18 a4357932f1b6: Pull complete 06:03:18 18c013af1878: Pull complete 06:03:19 745a02a5169b: Verifying Checksum 06:03:19 745a02a5169b: Download complete 06:03:20 00ac8860ef70: Download complete 06:03:30 00ac8860ef70: Pull complete 06:03:30 63d7cb157983: Pull complete 06:03:30 b116817d02f9: Pull complete 06:03:34 745a02a5169b: Pull complete 06:03:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:03:34 ---> b7e6874047d6 06:03:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:37 ---> Running in b4cdbd97b5b1 06:03:37 Removing intermediate container b4cdbd97b5b1 06:03:37 ---> 5b6d62c8f60f 06:03:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:38 ---> Running in 4d488c739b50 06:03:40 Removing intermediate container 4d488c739b50 06:03:40 ---> 99505fea3380 06:03:40 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:03:40 ---> Running in 5c01ea06b593 06:03:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:44 (1/6) Installing libc-dev (0.7.2-r3) 06:03:44 (2/6) Installing libsodium (1.0.18-r0) 06:03:44 (3/6) Installing pkgconf (1.7.2-r0) 06:03:44 (4/6) Installing libsodium-dev (1.0.18-r0) 06:03:44 (5/6) Installing libzmq (4.3.3-r0) 06:03:45 (6/6) Installing zeromq-dev (4.3.3-r0) 06:03:45 Executing busybox-1.31.1-r19.trigger 06:03:45 OK: 144 MiB in 45 packages 06:03:47 lf-activate-venv(): INFO: Adding /tmp/venv-B8qE/bin to PATH 06:03:47 INFO: No Stack... 06:03:47 INFO: Retrieving Pricing Info for: v1-standard-2 06:03:47 INFO: Archiving Costs 06:03:47 Removing intermediate container 5c01ea06b593 06:03:47 ---> 245626d3e9c9 06:03:47 Step 6/8 : WORKDIR /device-sdk-go 06:03:47 ---> Running in 5344d29c2b90 06:03:47 Removing intermediate container 5344d29c2b90 06:03:47 ---> db3378289bf8 06:03:47 Step 7/8 : COPY . . [Pipeline] sh 06:03:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:03:48 + cut -d, -f6 [Pipeline] lock 06:03:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] 06:03:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] did not exist. Created. 06:03:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:48 + echo total: 0.029999999329447746 [Pipeline] stash 06:03:49 ---> 63624cbb20ad 06:03:49 Step 8/8 : RUN go mod download 06:03:49 ---> Running in 17ab3733812b 06:03:49 Stashed 1 file(s) [Pipeline] } 06:03:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:49 Failed in branch amd64 06:04:16 Removing intermediate container 17ab3733812b 06:04:16 ---> 0499e08ee7c3 06:04:16 Successfully built 0499e08ee7c3 06:04:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:04:16 + docker inspect -f . ci-base-image-arm64 06:04:16 . [Pipeline] withDockerContainer 06:04:16 prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container 06:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:18 $ docker top 44e1fdcd139cc26813c33b038c83194d5a8eb27610cc05500c2a386db0c9dcb7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:19 + go version 06:04:19 go version go1.15.5 linux/arm64 [Pipeline] } 06:04:19 $ docker stop --time=1 44e1fdcd139cc26813c33b038c83194d5a8eb27610cc05500c2a386db0c9dcb7 06:04:21 $ docker rm -f 44e1fdcd139cc26813c33b038c83194d5a8eb27610cc05500c2a386db0c9dcb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:22 + docker inspect -f . ci-base-image-arm64 06:04:22 . [Pipeline] withDockerContainer 06:04:22 prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container 06:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:24 $ docker top d943e5d86e9d7523825d7cc8786c9802c841e50e279fb91f69fe99423a0dcc2e -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:25 + make test 06:04:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:04:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:05:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.131s coverage: 28.1% of statements 06:05:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.181s coverage: 78.9% of statements 06:05:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.122s coverage: 7.8% of statements 06:05:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:05:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:05:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:05:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.315s coverage: 32.0% of statements 06:05:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:05:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:05:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:05:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.283s coverage: 57.1% of statements 06:05:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.051s coverage: 6.6% of statements 06:05:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 5.0% of statements 06:05:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:05:55 GO111MODULE=on go vet ./... 06:06:42 gofmt -l . 06:06:42 [ "`gofmt -l .`" = "" ] 06:06:42 ./bin/test-attribution-txt.sh 06:06:42 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 06:06:42 make: *** [Makefile:36: test] Error 1 [Pipeline] } 06:06:42 $ docker stop --time=1 d943e5d86e9d7523825d7cc8786c9802c841e50e279fb91f69fe99423a0dcc2e 06:06:44 $ docker rm -f d943e5d86e9d7523825d7cc8786c9802c841e50e279fb91f69fe99423a0dcc2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:06:46 ---> job-cost.sh 06:06:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0Gku 06:07:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:09:17 lf-activate-venv(): INFO: Adding /tmp/venv-0Gku/bin to PATH 06:09:17 INFO: No Stack... 06:09:17 INFO: Retrieving Pricing Info for: lf-standard-4 06:09:17 INFO: Archiving Costs [Pipeline] sh 06:09:17 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, 06:09:17 -f6 [Pipeline] lock 06:09:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] 06:09:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] did not exist. Created. 06:09:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:19 /w/workspace/device-sdk-go/1@tmp/durable-4cf7fcdb/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4cf7fcdb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:19 + echo total: 0.20999999344348907 [Pipeline] stash 06:09:19 Warning: overwriting stash ‘stack-cost’ 06:09:20 Stashed 1 file(s) [Pipeline] } 06:09:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-882-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:09:21 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:09:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:24 ---> package-listing.sh 06:09:24 ++ tr '[:upper:]' '[:lower:]' 06:09:24 ++ facter osfamily 06:09:24 + OS_FAMILY=redhat 06:09:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-882 06:09:24 + START_PACKAGES=/tmp/packages_start.txt 06:09:24 + END_PACKAGES=/tmp/packages_end.txt 06:09:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:24 + PACKAGES=/tmp/packages_start.txt 06:09:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-882 ']' 06:09:24 + PACKAGES=/tmp/packages_end.txt 06:09:24 + case "${OS_FAMILY}" in 06:09:24 + rpm -qa 06:09:24 + sort 06:09:31 + '[' -f /tmp/packages_start.txt ']' 06:09:31 + '[' -f /tmp/packages_end.txt ']' 06:09:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-882 ']' 06:09:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-882/archives/ 06:09:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-882/archives/ [Pipeline] echo 06:09:31 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-882/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:09:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:33 06:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:09:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:33 alpine: Pulling from edgex-lftools-log-publisher 06:09:33 df20fa9351a1: Pulling fs layer 06:09:33 36b3adc4ff6f: Pulling fs layer 06:09:33 8ad3a11d3b57: Pulling fs layer 06:09:33 46f8f816bc3b: Pulling fs layer 06:09:33 93b61091891f: Pulling fs layer 06:09:33 93b9cdb0e59b: Pulling fs layer 06:09:33 5e14af77c1be: Pulling fs layer 06:09:33 01666e4c0597: Pulling fs layer 06:09:33 aa168da1d23b: Pulling fs layer 06:09:33 93b61091891f: Waiting 06:09:33 93b9cdb0e59b: Waiting 06:09:33 5e14af77c1be: Waiting 06:09:33 01666e4c0597: Waiting 06:09:33 aa168da1d23b: Waiting 06:09:33 46f8f816bc3b: Waiting 06:09:33 36b3adc4ff6f: Verifying Checksum 06:09:33 36b3adc4ff6f: Download complete 06:09:34 46f8f816bc3b: Verifying Checksum 06:09:34 46f8f816bc3b: Download complete 06:09:34 93b61091891f: Verifying Checksum 06:09:34 93b61091891f: Download complete 06:09:34 93b9cdb0e59b: Download complete 06:09:34 df20fa9351a1: Verifying Checksum 06:09:34 df20fa9351a1: Download complete 06:09:34 5e14af77c1be: Verifying Checksum 06:09:34 01666e4c0597: Verifying Checksum 06:09:34 01666e4c0597: Download complete 06:09:34 8ad3a11d3b57: Verifying Checksum 06:09:34 8ad3a11d3b57: Download complete 06:09:34 df20fa9351a1: Pull complete 06:09:34 36b3adc4ff6f: Pull complete 06:09:38 8ad3a11d3b57: Pull complete 06:09:38 46f8f816bc3b: Pull complete 06:09:38 93b61091891f: Pull complete 06:09:39 93b9cdb0e59b: Pull complete 06:09:39 5e14af77c1be: Pull complete 06:09:39 01666e4c0597: Pull complete 06:09:41 aa168da1d23b: Verifying Checksum 06:09:41 aa168da1d23b: Download complete 06:10:00 aa168da1d23b: Pull complete 06:10:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:10:00 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 06:10:00 $ 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-882/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-882 -v /w/workspace/dgexfoundry_device-sdk-go_PR-882:/w/workspace/dgexfoundry_device-sdk-go_PR-882:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-882@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:10:03 $ docker top a41ae35249fb820b28d751af2dcbc6dced4e79e3cac1e5b17b1f112c86076222 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:04 + mkdir -p /var/log/sa [Pipeline] sh 06:10:05 + ls /var/log/sa-host 06:10:05 + sadf -c /var/log/sa-host/sa16 06:10:05 file_magic: OK 06:10:05 HZ: Using current value: 100 06:10:05 file_header: OK 06:10:05 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:10:05 Statistics: 06:10:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:10:05 File successfully converted to sysstat format version 12.2.1 06:10:05 + sadf -c /var/log/sa-host/sa23 06:10:05 file_magic: OK 06:10:05 HZ: Using current value: 100 06:10:05 file_header: OK 06:10:05 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:10:05 Statistics: 06:10:05 Hnuu...uuuununununu... 06:10:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:06 provisioning config files... 06:10:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-882@tmp/config1943515653184307980tmp [Pipeline] { [Pipeline] echo 06:10:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> create-netrc.sh [Pipeline] } 06:10:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:10:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> python-tools-install.sh [Pipeline] echo 06:10:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:08 ---> sudo-logs.sh 06:10:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:09 ---> job-cost.sh 06:10:09 lf-activate-venv: SKIPPING 06:10:09 DEBUG: total: 0.20999999344348907 06:10:09 INFO: Retrieving Stack Cost... 06:10:11 INFO: Retrieving Pricing Info for: v1-standard-2 06:10:11 INFO: Archiving Costs [Pipeline] echo 06:10:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:12 ---> logs-deploy.sh 06:10:12 lf-activate-venv: SKIPPING 06:10:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-882/1 06:10:12 INFO: archiving workspace using pattern(s): 06:10:15 Archives upload complete. 06:10:15 INFO: archiving logs to Nexus