Pull request #894 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a0ad82aaf1563892981615125cf6d9fce4b8e9e+a1de66810b8e114107e849a310222ed3c1b44bf0 (ada546badeac50d7dbff3c38a13d49ece6081f86) 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-894/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-894/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 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1528’ is offline Running on prd-centos7-docker-4c-2g-1529 in /w/workspace/dgexfoundry_device-sdk-go_PR-894 [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-894 # 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/894/head:refs/remotes/origin/PR-894 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 9a0ad82aaf1563892981615125cf6d9fce4b8e9e Merge succeeded, producing 9a0ad82aaf1563892981615125cf6d9fce4b8e9e Checking out Revision 9a0ad82aaf1563892981615125cf6d9fce4b8e9e (PR-894) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # 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 a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # 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:54:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:47 ========================================================= 05:54:47 EdgeX Global Pipelines Version Info 05:54:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:54:49 ------------------- 05:54:49 stable info: 05:54:49 ------------------- 05:54:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:54:49 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:54:49 Message: update stable to v1.0.186 05:54:50 ------------------- 05:54:50 experimental info: 05:54:50 ------------------- 05:54:50 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:50 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:54:50 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-894 [Pipeline] echo 05:54:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-894 [Pipeline] echo 05:54:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-894 [Pipeline] echo 05:54:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a0ad82aaf1563892981615125cf6d9fce4b8e9e [Pipeline] echo 05:54:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a0ad82 [Pipeline] echo 05:54:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:52 provisioning config files... 05:54:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/config8502018300067540185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:52 ---> docker-login.sh 05:54:52 nexus3.edgexfoundry.org:10001 05:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:53 Configure a credential helper to remove this warning. See 05:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:53 05:54:53 Login Succeeded 05:54:53 nexus3.edgexfoundry.org:10002 05:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:53 Configure a credential helper to remove this warning. See 05:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:53 05:54:53 Login Succeeded 05:54:53 nexus3.edgexfoundry.org:10003 05:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:53 Configure a credential helper to remove this warning. See 05:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:53 05:54:53 Login Succeeded 05:54:53 nexus3.edgexfoundry.org:10004 05:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:53 Configure a credential helper to remove this warning. See 05:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:53 05:54:53 Login Succeeded 05:54:53 docker.io 05:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:54 Configure a credential helper to remove this warning. See 05:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:54 05:54:54 Login Succeeded 05:54:54 ---> docker-login.sh ends [Pipeline] } 05:54:54 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:54:54 + git log --format=format:%s -1 9a0ad82aaf1563892981615125cf6d9fce4b8e9e [Pipeline] echo 05:54:54 GIT_COMMIT: 9a0ad82aaf1563892981615125cf6d9fce4b8e9e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:54:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:54:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:55 05:54:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:54:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:55 latest: Pulling from edgex-devops/git-semver 05:54:55 31603596830f: Pulling fs layer 05:54:55 2a8b12db71e7: Pulling fs layer 05:54:55 6ca5941a6612: Pulling fs layer 05:54:55 ecc8261a40a4: Pulling fs layer 05:54:55 ecc8261a40a4: Waiting 05:54:55 2a8b12db71e7: Download complete 05:54:55 31603596830f: Download complete 05:54:56 ecc8261a40a4: Verifying Checksum 05:54:56 ecc8261a40a4: Download complete 05:54:56 6ca5941a6612: Verifying Checksum 05:54:56 6ca5941a6612: Download complete 05:54:56 31603596830f: Pull complete 05:54:56 2a8b12db71e7: Pull complete 05:54:57 6ca5941a6612: Pull complete 05:54:57 ecc8261a40a4: Pull complete 05:54:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:54:58 prd-centos7-docker-4c-2g-1529 does not seem to be running inside a container 05:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-894 -v /w/workspace/dgexfoundry_device-sdk-go_PR-894:/w/workspace/dgexfoundry_device-sdk-go_PR-894:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-894@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:55:00 $ docker top f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:00 [ssh-agent] Looking for ssh-agent implementation... 05:55:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:00 $ docker exec f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee ssh-agent 05:55:00 SSH_AUTH_SOCK=/tmp/ssh-25VaNARtcgg2/agent.11 05:55:00 SSH_AGENT_PID=16 05:55:00 Running ssh-add (command line suppressed) 05:55:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/private_key_8895707727954412832.key (/w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/private_key_8895707727954412832.key) 05:55:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:01 + git tag --points-at HEAD [Pipeline] } 05:55:01 $ docker exec --env ******** --env ******** f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee ssh-agent -k 05:55:01 unset SSH_AUTH_SOCK; 05:55:01 unset SSH_AGENT_PID; 05:55:01 echo Agent pid 16 killed; 05:55:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:55:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:01 [ssh-agent] Looking for ssh-agent implementation... 05:55:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:01 $ docker exec f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee ssh-agent 05:55:01 SSH_AUTH_SOCK=/tmp/ssh-strJyXFVqDTd/agent.45 05:55:01 SSH_AGENT_PID=51 05:55:01 Running ssh-add (command line suppressed) 05:55:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/private_key_2172292821839071807.key (/w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/private_key_2172292821839071807.key) 05:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:02 + git semver init 05:55:02 # -> Open(): unable to determine branch for HEAD 05:55:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-894/.git 05:55:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-894 05:55:02 # $SEMVER_REMOTE_NAME = origin 05:55:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:55:02 # $SEMVER_USER_NAME = edgex-jenkins 05:55:02 # $SEMVER_BRANCH = PR-894 05:55:02 # $SEMVER_TEMP = /tmp/semver-233660552 05:55:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:55:04 # '/tmp/semver-233660552' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-894/.semver' 05:55:04 # -> Force: false 05:55:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-894/.semver [Pipeline] } 05:55:04 $ docker exec --env ******** --env ******** f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee ssh-agent -k 05:55:05 unset SSH_AUTH_SOCK; 05:55:05 unset SSH_AGENT_PID; 05:55:05 echo Agent pid 51 killed; 05:55:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:05 + git semver [Pipeline] } 05:55:05 $ docker stop --time=1 f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee 05:55:07 $ docker rm -f f1878ce6b0a179be773cfdb332d94562ca0fce918895c74adf3261fa8fc091ee [Pipeline] // withDockerContainer [Pipeline] sh 05:55:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:55:07 Stashed 1 file(s) [Pipeline] echo 05:55:07 [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:55:23 Still waiting to schedule task 05:55:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:55:23 Still waiting to schedule task 05:55:23 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1527’ 05:58:04 Running on prd-centos7-docker-4c-2g-1530 in /w/workspace/dgexfoundry_device-sdk-go_PR-894 [Pipeline] { [Pipeline] ws 05:58:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:58:06 using credential edgex-jenkins-ssh 05:58:06 Cloning the remote Git repository 05:58:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:58:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:07 > git --version # timeout=10 05:58:07 > git --version # 'git version 2.24.3' 05:58:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:08 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 9a0ad82aaf1563892981615125cf6d9fce4b8e9e 05:58:08 Merge succeeded, producing 9a0ad82aaf1563892981615125cf6d9fce4b8e9e 05:58:08 Checking out Revision 9a0ad82aaf1563892981615125cf6d9fce4b8e9e (PR-894) 05:58:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/894/head:refs/remotes/origin/PR-894 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:08 > git config core.sparsecheckout # timeout=10 05:58:08 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # timeout=10 05:58:08 > git remote # timeout=10 05:58:08 > git config --get remote.origin.url # timeout=10 05:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:08 > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 05:58:08 > git rev-parse HEAD^{commit} # timeout=10 05:58:08 > git config core.sparsecheckout # timeout=10 05:58:08 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # timeout=10 05:58:12 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:58:12 > git --version # timeout=10 05:58:12 > git --version # 'git version 2.24.3' 05:58:12 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:58:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:58:14 + sudo service docker restart 05:58:14 + true 05:58:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:58:15 provisioning config files... 05:58:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5800863264750991824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:15 ---> docker-login.sh 05:58:15 nexus3.edgexfoundry.org:10001 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10002 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10003 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10004 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 docker.io 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:17 Configure a credential helper to remove this warning. See 05:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:17 05:58:17 Login Succeeded 05:58:17 ---> docker-login.sh ends [Pipeline] } 05:58:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:17 ========================================================= 05:58:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:58:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:58:17 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:58:17 Sending build context to Docker daemon 2.464MB 05:58:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:58:17 Step 2/8 : FROM ${BASE} 05:58:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:18 188c0c94c7c5: Pulling fs layer 05:58:18 0ef7d3d256c8: Pulling fs layer 05:58:18 de9db76c5a1d: Pulling fs layer 05:58:18 bca2f99d35d6: Pulling fs layer 05:58:18 93359f2a8cfa: Pulling fs layer 05:58:18 7c6f9722023f: Pulling fs layer 05:58:18 a35cf1a2eb13: Pulling fs layer 05:58:18 93359f2a8cfa: Waiting 05:58:18 7c6f9722023f: Waiting 05:58:18 a35cf1a2eb13: Waiting 05:58:18 bca2f99d35d6: Waiting 05:58:18 de9db76c5a1d: Verifying Checksum 05:58:18 de9db76c5a1d: Download complete 05:58:18 0ef7d3d256c8: Verifying Checksum 05:58:18 0ef7d3d256c8: Download complete 05:58:18 93359f2a8cfa: Verifying Checksum 05:58:18 93359f2a8cfa: Download complete 05:58:18 7c6f9722023f: Verifying Checksum 05:58:18 7c6f9722023f: Download complete 05:58:18 188c0c94c7c5: Verifying Checksum 05:58:18 188c0c94c7c5: Download complete 05:58:18 188c0c94c7c5: Pull complete 05:58:18 0ef7d3d256c8: Pull complete 05:58:18 de9db76c5a1d: Pull complete 05:58:19 a35cf1a2eb13: Verifying Checksum 05:58:19 a35cf1a2eb13: Download complete 05:58:20 bca2f99d35d6: Verifying Checksum 05:58:20 bca2f99d35d6: Download complete 05:58:25 bca2f99d35d6: Pull complete 05:58:25 93359f2a8cfa: Pull complete 05:58:25 7c6f9722023f: Pull complete 05:58:32 a35cf1a2eb13: Pull complete 05:58:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:58:32 ---> a62c8e92a672 05:58:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:32 ---> Running in 6492612ede50 05:58:32 Removing intermediate container 6492612ede50 05:58:32 ---> 579f0c292308 05:58:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:32 ---> Running in ba9ac6fa83f3 05:58:32 Removing intermediate container ba9ac6fa83f3 05:58:32 ---> 3aa88569671f 05:58:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:58:32 ---> Running in 0087896456c3 05:58:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:34 (1/6) Installing libc-dev (0.7.2-r3) 05:58:34 (2/6) Installing libsodium (1.0.18-r0) 05:58:34 (3/6) Installing pkgconf (1.7.2-r0) 05:58:34 (4/6) Installing libsodium-dev (1.0.18-r0) 05:58:34 (5/6) Installing libzmq (4.3.3-r0) 05:58:34 (6/6) Installing zeromq-dev (4.3.3-r0) 05:58:34 Executing busybox-1.31.1-r19.trigger 05:58:34 OK: 167 MiB in 45 packages 05:58:35 Removing intermediate container 0087896456c3 05:58:35 ---> 07d5740d0918 05:58:35 Step 6/8 : WORKDIR /device-sdk-go 05:58:35 ---> Running in a340990728df 05:58:35 Removing intermediate container a340990728df 05:58:35 ---> 3baeb4dd8a8c 05:58:35 Step 7/8 : COPY . . 05:58:37 ---> e00750f5109f 05:58:37 Step 8/8 : RUN go mod download 05:58:37 ---> Running in ab8d5b842308 05:58:59 Removing intermediate container ab8d5b842308 05:58:59 ---> c436d949cc65 05:58:59 Successfully built c436d949cc65 05:58:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:58:59 + docker inspect -f . ci-base-image-x86_64 05:58:59 . [Pipeline] withDockerContainer 05:58:59 prd-centos7-docker-4c-2g-1530 does not seem to be running inside a container 05:58: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 ******** ci-base-image-x86_64 cat 05:59:00 $ docker top 31e94362035485745ab5332575610bcb53ea1d1c2d2a566a45862e2bbfd1caf7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:01 + go version 05:59:01 go version go1.15.5 linux/amd64 [Pipeline] } 05:59:01 $ docker stop --time=1 31e94362035485745ab5332575610bcb53ea1d1c2d2a566a45862e2bbfd1caf7 05:59:02 $ docker rm -f 31e94362035485745ab5332575610bcb53ea1d1c2d2a566a45862e2bbfd1caf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:03 + docker inspect -f . ci-base-image-x86_64 05:59:03 . [Pipeline] withDockerContainer 05:59:03 prd-centos7-docker-4c-2g-1530 does not seem to be running inside a container 05:59: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 ******** ci-base-image-x86_64 cat 05:59:04 $ docker top 37c65e123e92488088911a9bc126bd85261961749082a3231a53987487e959a5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:04 + make test 05:59:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1531 in /w/workspace/dgexfoundry_device-sdk-go_PR-894 [Pipeline] { [Pipeline] ws 05:59:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:59:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:59:16 using credential edgex-jenkins-ssh 05:59:16 Cloning the remote Git repository 05:59:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:59:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:16 > git --version # timeout=10 05:59:16 > git --version # 'git version 2.17.1' 05:59:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/894/head:refs/remotes/origin/PR-894 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:18 Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 9a0ad82aaf1563892981615125cf6d9fce4b8e9e 05:59:19 Merge succeeded, producing 9a0ad82aaf1563892981615125cf6d9fce4b8e9e 05:59:19 Checking out Revision 9a0ad82aaf1563892981615125cf6d9fce4b8e9e (PR-894) 05:59:18 > git config core.sparsecheckout # timeout=10 05:59:18 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # timeout=10 05:59:18 > git remote # timeout=10 05:59:18 > git config --get remote.origin.url # timeout=10 05:59:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:18 > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 05:59:19 > git rev-parse HEAD^{commit} # timeout=10 05:59:19 > git config core.sparsecheckout # timeout=10 05:59:19 > git checkout -f 9a0ad82aaf1563892981615125cf6d9fce4b8e9e # timeout=10 05:59:23 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:59:23 > git --version # timeout=10 05:59:23 > git --version # 'git version 2.17.1' 05:59:23 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:59:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:25 + sudo service+ docker restart 05:59:25 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:28 provisioning config files... 05:59:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5894664039885262967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:28 ---> docker-login.sh 05:59:28 nexus3.edgexfoundry.org:10001 05:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:30 Configure a credential helper to remove this warning. See 05:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:30 05:59:30 Login Succeeded 05:59:30 nexus3.edgexfoundry.org:10002 05:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:30 Configure a credential helper to remove this warning. See 05:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:30 05:59:30 Login Succeeded 05:59:30 nexus3.edgexfoundry.org:10003 05:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:31 Configure a credential helper to remove this warning. See 05:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:31 05:59:31 Login Succeeded 05:59:31 nexus3.edgexfoundry.org:10004 05:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:31 Configure a credential helper to remove this warning. See 05:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:31 05:59:31 Login Succeeded 05:59:31 docker.io 05:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:32 Configure a credential helper to remove this warning. See 05:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:32 05:59:32 Login Succeeded 05:59:32 ---> docker-login.sh ends [Pipeline] } 05:59:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:32 ========================================================= 05:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:59:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:33 + 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:59:33 Sending build context to Docker daemon 2.457MB 05:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:59:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:59:33 Step 2/8 : FROM ${BASE} 05:59:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:33 5f621e34cdf4: Pulling fs layer 05:59:33 a4357932f1b6: Pulling fs layer 05:59:33 18c013af1878: Pulling fs layer 05:59:33 00ac8860ef70: Pulling fs layer 05:59:33 63d7cb157983: Pulling fs layer 05:59:33 b116817d02f9: Pulling fs layer 05:59:33 745a02a5169b: Pulling fs layer 05:59:33 00ac8860ef70: Waiting 05:59:33 b116817d02f9: Waiting 05:59:33 745a02a5169b: Waiting 05:59:33 63d7cb157983: Waiting 05:59:33 18c013af1878: Verifying Checksum 05:59:33 18c013af1878: Download complete 05:59:33 a4357932f1b6: Verifying Checksum 05:59:33 a4357932f1b6: Download complete 05:59:33 63d7cb157983: Download complete 05:59:33 b116817d02f9: Verifying Checksum 05:59:33 b116817d02f9: Download complete 05:59:33 5f621e34cdf4: Download complete 05:59:34 5f621e34cdf4: Pull complete 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 28.1% of statements 05:59:35 a4357932f1b6: Pull complete 05:59:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements 05:59:35 18c013af1878: Pull complete 05:59:35 745a02a5169b: Verifying Checksum 05:59:35 745a02a5169b: Download complete 05:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.079s coverage: 7.8% of statements 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 32.0% of statements 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.2% of statements 05:59:36 00ac8860ef70: Verifying Checksum 05:59:36 00ac8860ef70: Download complete 05:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.206s coverage: 6.6% of statements 05:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.0% of statements 05:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:59:37 GO111MODULE=on go vet ./... 05:59:47 00ac8860ef70: Pull complete 05:59:47 63d7cb157983: Pull complete 05:59:47 b116817d02f9: Pull complete 05:59:51 745a02a5169b: Pull complete 05:59:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:59:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:59:51 ---> b7e6874047d6 05:59:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:54 ---> Running in 1b213311af05 05:59:54 Removing intermediate container 1b213311af05 05:59:54 ---> 7e220bf6d96f 05:59:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:54 ---> Running in 4bda2df5d95f 05:59:55 gofmt -l . 05:59:55 [ "`gofmt -l .`" = "" ] 05:59:55 ./bin/test-attribution-txt.sh 05:59:55 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 05:59:55 make: *** [Makefile:36: test] Error 1 [Pipeline] } 05:59:55 $ docker stop --time=1 37c65e123e92488088911a9bc126bd85261961749082a3231a53987487e959a5 05:59:56 Removing intermediate container 4bda2df5d95f 05:59:56 ---> 24c2859a1c10 05:59:56 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:59:56 ---> Running in 42cecc73ceb6 05:59:57 $ docker rm -f 37c65e123e92488088911a9bc126bd85261961749082a3231a53987487e959a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 05:59:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage 05:59:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh 05:59:58 ---> job-cost.sh 05:59:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-i04n 05:59:58 (1/6) Installing libc-dev (0.7.2-r3) 05:59:59 (2/6) Installing libsodium (1.0.18-r0) 05:59:59 (3/6) Installing pkgconf (1.7.2-r0) 05:59:59 (4/6) Installing libsodium-dev (1.0.18-r0) 05:59:59 (5/6) Installing libzmq (4.3.3-r0) 05:59:59 (6/6) Installing zeromq-dev (4.3.3-r0) 05:59:59 Executing busybox-1.31.1-r19.trigger 05:59:59 OK: 144 MiB in 45 packages 06:00:00 Removing intermediate container 42cecc73ceb6 06:00:00 ---> 8860a645edc7 06:00:00 Step 6/8 : WORKDIR /device-sdk-go 06:00:00 ---> Running in 6dc91fb79871 06:00:01 Removing intermediate container 6dc91fb79871 06:00:01 ---> b0f682f4e97a 06:00:01 Step 7/8 : COPY . . 06:00:02 ---> 7c754c352075 06:00:02 Step 8/8 : RUN go mod download 06:00:02 ---> Running in c9ee0cbf0424 06:00:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:00:29 Removing intermediate container c9ee0cbf0424 06:00:29 ---> 90eb12b0b34d 06:00:29 Successfully built 90eb12b0b34d 06:00:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:00:30 + docker inspect -f . ci-base-image-arm64 06:00:30 . [Pipeline] withDockerContainer 06:00:30 prd-ubuntu18.04-docker-arm64-4c-16g-1531 does not seem to be running inside a container 06:00:30 $ 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 06:00:31 $ docker top a9a244d41c36f42653b869b1aacabd40f9b8177802babbe66718ac90503ff870 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:32 + go version 06:00:32 go version go1.15.5 linux/arm64 [Pipeline] } 06:00:33 $ docker stop --time=1 a9a244d41c36f42653b869b1aacabd40f9b8177802babbe66718ac90503ff870 06:00:34 $ docker rm -f a9a244d41c36f42653b869b1aacabd40f9b8177802babbe66718ac90503ff870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:35 + docker inspect -f . ci-base-image-arm64 06:00:35 . [Pipeline] withDockerContainer 06:00:36 prd-ubuntu18.04-docker-arm64-4c-16g-1531 does not seem to be running inside a container 06:00:36 $ 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 06:00:37 $ docker top ade6a805c075eabcb9e759e1e38cea09334934d1a0aabebe718847da5d032ca6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:38 + make test 06:00:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:40 lf-activate-venv(): INFO: Adding /tmp/venv-i04n/bin to PATH 06:00:40 INFO: No Stack... 06:00:40 INFO: Retrieving Pricing Info for: v1-standard-2 06:00:40 INFO: Archiving Costs [Pipeline] sh 06:00:40 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:00:40 + cut -d, -f6 [Pipeline] lock 06:00:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] 06:00:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] did not exist. Created. 06:00:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:41 + echo total: 0.029999999329447746 [Pipeline] stash 06:00:41 Stashed 1 file(s) [Pipeline] } 06:00:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:00:42 Failed in branch amd64 06:01:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.181s coverage: 28.1% of statements 06:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.183s coverage: 78.9% of statements 06:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.170s coverage: 7.8% of statements 06:02:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:02:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.276s coverage: 32.0% of statements 06:02:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.299s coverage: 57.2% of statements 06:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.129s coverage: 6.6% of statements 06:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements 06:02:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:07 GO111MODULE=on go vet ./... 06:02:54 gofmt -l . 06:02:54 [ "`gofmt -l .`" = "" ] 06:02:54 ./bin/test-attribution-txt.sh 06:02:54 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 06:02:54 make: *** [Makefile:36: test] Error 1 [Pipeline] } 06:02:54 $ docker stop --time=1 ade6a805c075eabcb9e759e1e38cea09334934d1a0aabebe718847da5d032ca6 06:02:56 $ docker rm -f ade6a805c075eabcb9e759e1e38cea09334934d1a0aabebe718847da5d032ca6 [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:02:58 ---> job-cost.sh 06:02:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3J72 06:03:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:05:14 lf-activate-venv(): INFO: Adding /tmp/venv-3J72/bin to PATH 06:05:14 INFO: No Stack... 06:05:14 INFO: Retrieving Pricing Info for: lf-standard-4 06:05:14 INFO: Archiving Costs [Pipeline] sh 06:05:14 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:05:14 + cut -d, -f6 [Pipeline] lock 06:05:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] 06:05:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] did not exist. Created. 06:05:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:15 /w/workspace/device-sdk-go/1@tmp/durable-73ee42e2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-73ee42e2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:05:15 + echo total: 0.20999999344348907 [Pipeline] stash 06:05:15 Warning: overwriting stash ‘stack-cost’ 06:05:16 Stashed 1 file(s) [Pipeline] } 06:05:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-894-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:16 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:05:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:05:19 ---> package-listing.sh 06:05:19 ++ facter osfamily 06:05:19 ++ tr '[:upper:]' '[:lower:]' 06:05:19 + OS_FAMILY=redhat 06:05:19 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-894 06:05:19 + START_PACKAGES=/tmp/packages_start.txt 06:05:19 + END_PACKAGES=/tmp/packages_end.txt 06:05:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:05:19 + PACKAGES=/tmp/packages_start.txt 06:05:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-894 ']' 06:05:19 + PACKAGES=/tmp/packages_end.txt 06:05:19 + case "${OS_FAMILY}" in 06:05:19 + rpm -qa 06:05:19 + sort 06:05:25 + '[' -f /tmp/packages_start.txt ']' 06:05:25 + '[' -f /tmp/packages_end.txt ']' 06:05:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:05:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-894 ']' 06:05:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-894/archives/ 06:05:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-894/archives/ [Pipeline] echo 06:05:25 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-894/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:05:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:25 06:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:26 alpine: Pulling from edgex-lftools-log-publisher 06:05:26 df20fa9351a1: Pulling fs layer 06:05:26 36b3adc4ff6f: Pulling fs layer 06:05:26 8ad3a11d3b57: Pulling fs layer 06:05:26 46f8f816bc3b: Pulling fs layer 06:05:26 93b61091891f: Pulling fs layer 06:05:26 93b9cdb0e59b: Pulling fs layer 06:05:26 5e14af77c1be: Pulling fs layer 06:05:26 01666e4c0597: Pulling fs layer 06:05:26 aa168da1d23b: Pulling fs layer 06:05:26 46f8f816bc3b: Waiting 06:05:26 aa168da1d23b: Waiting 06:05:26 01666e4c0597: Waiting 06:05:26 5e14af77c1be: Waiting 06:05:26 93b9cdb0e59b: Waiting 06:05:26 36b3adc4ff6f: Verifying Checksum 06:05:26 36b3adc4ff6f: Download complete 06:05:26 46f8f816bc3b: Verifying Checksum 06:05:26 46f8f816bc3b: Download complete 06:05:26 df20fa9351a1: Download complete 06:05:26 93b9cdb0e59b: Verifying Checksum 06:05:26 93b9cdb0e59b: Download complete 06:05:26 5e14af77c1be: Verifying Checksum 06:05:26 5e14af77c1be: Download complete 06:05:26 93b61091891f: Verifying Checksum 06:05:26 93b61091891f: Download complete 06:05:26 01666e4c0597: Verifying Checksum 06:05:26 01666e4c0597: Download complete 06:05:26 8ad3a11d3b57: Verifying Checksum 06:05:26 8ad3a11d3b57: Download complete 06:05:26 df20fa9351a1: Pull complete 06:05:26 36b3adc4ff6f: Pull complete 06:05:27 8ad3a11d3b57: Pull complete 06:05:27 46f8f816bc3b: Pull complete 06:05:28 93b61091891f: Pull complete 06:05:28 aa168da1d23b: Verifying Checksum 06:05:28 aa168da1d23b: Download complete 06:05:28 93b9cdb0e59b: Pull complete 06:05:28 5e14af77c1be: Pull complete 06:05:29 01666e4c0597: Pull complete 06:05:35 aa168da1d23b: Pull complete 06:05:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:05:35 prd-centos7-docker-4c-2g-1529 does not seem to be running inside a container 06:05:35 $ 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-894/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-894 -v /w/workspace/dgexfoundry_device-sdk-go_PR-894:/w/workspace/dgexfoundry_device-sdk-go_PR-894:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:05:39 $ docker top 9f08eddee6bfcb46214441adca98b6ef3480ef10997e3ded871da063428a1be3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:39 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:40 + mkdir -p /var/log/sa [Pipeline] sh 06:05:40 + ls /var/log/sa-host 06:05:40 + sadf -c /var/log/sa-host/sa23 06:05:40 file_magic: OK 06:05:40 HZ: Using current value: 100 06:05:40 file_header: OK 06:05:40 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:05:40 Statistics: 06:05:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:05:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:41 provisioning config files... 06:05:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-894@tmp/config414516908355203402tmp [Pipeline] { [Pipeline] echo 06:05:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:41 ---> create-netrc.sh [Pipeline] } 06:05:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:05:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:05:41 ---> python-tools-install.sh [Pipeline] echo 06:05:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:42 ---> sudo-logs.sh 06:05:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:05:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:42 ---> job-cost.sh 06:05:42 lf-activate-venv: SKIPPING 06:05:42 DEBUG: total: 0.20999999344348907 06:05:42 INFO: Retrieving Stack Cost... 06:05:44 INFO: Retrieving Pricing Info for: v1-standard-2 06:05:44 INFO: Archiving Costs [Pipeline] echo 06:05:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:44 ---> logs-deploy.sh 06:05:44 lf-activate-venv: SKIPPING 06:05:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-894/1 06:05:44 INFO: archiving workspace using pattern(s): 06:05:46 Archives upload complete. 06:05:46 INFO: archiving logs to Nexus