Pull request #789 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3+6125dba09cfc805438589ab7aad954d8cad7589e (6d1d9e6a1c3982861d6cc303d8d969881dfbbc08) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-789/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 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-789/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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26774 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [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-789 # 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/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 Merge succeeded, producing 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 Checking out Revision 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 (PR-789) > git config core.sparsecheckout # timeout=10 > git checkout -f 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # timeout=10 Commit message: "test: add unit tests for v2 cache" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:49 ========================================================= 06:56:49 EdgeX Global Pipelines Version Info 06:56:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:51 ------------------- 06:56:51 stable info: 06:56:51 ------------------- 06:56:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:51 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:56:51 Message: update stable to v1.0.179 06:56:53 ------------------- 06:56:53 experimental info: 06:56:53 ------------------- 06:56:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:53 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:56:53 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:56:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:56:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:56:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:56:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:56:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo 06:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo 06:56:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 [Pipeline] echo 06:56:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25a9bc2 [Pipeline] echo 06:56:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:56:58 provisioning config files... 06:56:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config4848865798848887327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:59 ---> docker-login.sh 06:56:59 nexus3.edgexfoundry.org:10001 06:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:00 Configure a credential helper to remove this warning. See 06:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:00 06:57:00 Login Succeeded 06:57:00 nexus3.edgexfoundry.org:10002 06:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:01 Configure a credential helper to remove this warning. See 06:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:01 06:57:01 Login Succeeded 06:57:01 nexus3.edgexfoundry.org:10003 06:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:01 Configure a credential helper to remove this warning. See 06:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:01 06:57:01 Login Succeeded 06:57:01 nexus3.edgexfoundry.org:10004 06:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:02 Configure a credential helper to remove this warning. See 06:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:02 06:57:02 Login Succeeded 06:57:02 docker.io 06:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:04 Configure a credential helper to remove this warning. See 06:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:04 06:57:04 Login Succeeded 06:57:04 ---> docker-login.sh ends [Pipeline] } 06:57:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:05 + git log --format=format:%s -1 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 [Pipeline] echo 06:57:05 GIT_COMMIT: 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3, Commit Message: test: add unit tests for v2 cache [Pipeline] echo 06:57:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:57:07 06:57:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:57:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:57:08 latest: Pulling from edgex-devops/git-semver 06:57:08 31603596830f: Pulling fs layer 06:57:08 2a8b12db71e7: Pulling fs layer 06:57:08 6ca5941a6612: Pulling fs layer 06:57:08 ecc8261a40a4: Pulling fs layer 06:57:08 ecc8261a40a4: Waiting 06:57:08 2a8b12db71e7: Verifying Checksum 06:57:08 2a8b12db71e7: Download complete 06:57:08 31603596830f: Verifying Checksum 06:57:08 31603596830f: Download complete 06:57:08 ecc8261a40a4: Verifying Checksum 06:57:08 ecc8261a40a4: Download complete 06:57:08 6ca5941a6612: Verifying Checksum 06:57:08 6ca5941a6612: Download complete 06:57:09 31603596830f: Pull complete 06:57:09 2a8b12db71e7: Pull complete 06:57:11 6ca5941a6612: Pull complete 06:57:11 ecc8261a40a4: Pull complete 06:57:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:57:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:57:12 prd-centos7-docker-4c-2g-26774 does not seem to be running inside a container 06:57:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:57:15 $ docker top 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:57:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:16 [ssh-agent] Looking for ssh-agent implementation... 06:57:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:16 $ docker exec 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a ssh-agent 06:57:17 SSH_AUTH_SOCK=/tmp/ssh-t3anfWULFniP/agent.13 06:57:17 SSH_AGENT_PID=18 06:57:17 Running ssh-add (command line suppressed) 06:57:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_6136749590030462616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_6136749590030462616.key) 06:57:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:19 + git tag --points-at HEAD [Pipeline] } 06:57:19 $ docker exec --env ******** --env ******** 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a ssh-agent -k 06:57:19 unset SSH_AUTH_SOCK; 06:57:19 unset SSH_AGENT_PID; 06:57:19 echo Agent pid 18 killed; 06:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:57:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:19 [ssh-agent] Looking for ssh-agent implementation... 06:57:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:20 $ docker exec 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a ssh-agent 06:57:20 SSH_AUTH_SOCK=/tmp/ssh-cHxBNLHek90f/agent.47 06:57:20 SSH_AGENT_PID=53 06:57:20 Running ssh-add (command line suppressed) 06:57:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8794657128969626150.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_8794657128969626150.key) 06:57:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:22 + git semver init 06:57:22 # -> Open(): unable to determine branch for HEAD 06:57:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git 06:57:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 06:57:22 # $SEMVER_REMOTE_NAME = origin 06:57:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:57:22 # $SEMVER_USER_NAME = edgex-jenkins 06:57:22 # $SEMVER_BRANCH = PR-789 06:57:22 # $SEMVER_TEMP = /tmp/semver-478294766 06:57:22 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:57:23 # '/tmp/semver-478294766' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' 06:57:23 # -> Force: false 06:57:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } 06:57:23 $ docker exec --env ******** --env ******** 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a ssh-agent -k 06:57:23 unset SSH_AUTH_SOCK; 06:57:23 unset SSH_AGENT_PID; 06:57:23 echo Agent pid 53 killed; 06:57:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:24 + git semver [Pipeline] } 06:57:24 $ docker stop --time=1 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a 06:57:26 $ docker rm -f 18bc45d1db4db831c95075fbcfaceceaeb49cc75589c3cd8e693e5a30c78af0a [Pipeline] // withDockerContainer [Pipeline] sh 06:57:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:28 Stashed 1 file(s) [Pipeline] echo 06:57:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:57:44 Still waiting to schedule task 06:57:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26774’ 06:57:44 Still waiting to schedule task 06:57:44 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 06:59:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26775 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 06:59:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:59:46 Running on prd-centos7-docker-4c-2g-26777 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 06:59:46 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:59:47 using credential edgex-jenkins-ssh 06:59:47 Cloning the remote Git repository 06:59:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:59:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:59:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:47 > git --version # timeout=10 06:59:47 > git --version # 'git version 2.17.1' 06:59:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:49 using credential edgex-jenkins-ssh 06:59:49 Cloning the remote Git repository 06:59:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:59:49 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:59:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:59:49 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 06:59:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:49 > git --version # timeout=10 06:59:49 > git --version # 'git version 2.24.3' 06:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:59:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:59:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] // stage 06:59:50 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 [Pipeline] } 06:59:50 Failed in branch arm64 [Pipeline] } [Pipeline] // ws 06:59:49 > git config core.sparsecheckout # timeout=10 06:59:49 > git checkout -f 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:59:51 Failed in branch amd64 06:59:50 > git config core.sparsecheckout # timeout=10 06:59:50 > git checkout -f 25a9bc25be5e6a7eeb3c598773f6a1609a9301d3 # timeout=10 [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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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:59:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:59:56 ---> package-listing.sh 06:59:56 ++ tr '[:upper:]' '[:lower:]' 06:59:56 ++ facter osfamily 06:59:56 + OS_FAMILY=redhat 06:59:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 06:59:56 + START_PACKAGES=/tmp/packages_start.txt 06:59:56 + END_PACKAGES=/tmp/packages_end.txt 06:59:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:59:56 + PACKAGES=/tmp/packages_start.txt 06:59:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 06:59:56 + PACKAGES=/tmp/packages_end.txt 06:59:56 + case "${OS_FAMILY}" in 06:59:56 + sort 06:59:56 + rpm -qa 07:00:04 + '[' -f /tmp/packages_start.txt ']' 07:00:04 + '[' -f /tmp/packages_end.txt ']' 07:00:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:00:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 07:00:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ 07:00:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo 07:00:04 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-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:00:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:00:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:06 07:00:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:00:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:07 alpine: Pulling from edgex-lftools-log-publisher 07:00:07 df20fa9351a1: Pulling fs layer 07:00:07 36b3adc4ff6f: Pulling fs layer 07:00:07 8ad3a11d3b57: Pulling fs layer 07:00:07 46f8f816bc3b: Pulling fs layer 07:00:07 93b61091891f: Pulling fs layer 07:00:07 93b9cdb0e59b: Pulling fs layer 07:00:07 5e14af77c1be: Pulling fs layer 07:00:07 01666e4c0597: Pulling fs layer 07:00:07 aa168da1d23b: Pulling fs layer 07:00:07 46f8f816bc3b: Waiting 07:00:07 93b61091891f: Waiting 07:00:07 93b9cdb0e59b: Waiting 07:00:07 5e14af77c1be: Waiting 07:00:07 01666e4c0597: Waiting 07:00:07 aa168da1d23b: Waiting 07:00:07 46f8f816bc3b: Verifying Checksum 07:00:07 46f8f816bc3b: Download complete 07:00:08 df20fa9351a1: Verifying Checksum 07:00:08 df20fa9351a1: Download complete 07:00:08 93b9cdb0e59b: Verifying Checksum 07:00:08 93b9cdb0e59b: Download complete 07:00:09 5e14af77c1be: Verifying Checksum 07:00:09 5e14af77c1be: Download complete 07:00:10 93b61091891f: Download complete 07:00:10 01666e4c0597: Verifying Checksum 07:00:10 01666e4c0597: Download complete 07:00:10 df20fa9351a1: Pull complete 07:00:11 8ad3a11d3b57: Verifying Checksum 07:00:11 8ad3a11d3b57: Download complete 07:00:11 36b3adc4ff6f: Pull complete 07:00:13 8ad3a11d3b57: Pull complete 07:00:14 46f8f816bc3b: Pull complete 07:00:15 93b61091891f: Pull complete 07:00:15 93b9cdb0e59b: Pull complete 07:00:15 5e14af77c1be: Pull complete 07:00:16 01666e4c0597: Pull complete 07:00:22 aa168da1d23b: Verifying Checksum 07:00:22 aa168da1d23b: Download complete 07:00:41 aa168da1d23b: Pull complete 07:00:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:00:41 prd-centos7-docker-4c-2g-26774 does not seem to be running inside a container 07:00:41 $ 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-789/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-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:00:45 $ docker top 94d2014c9bbb21dc05245fecb099b755ab4d1ec034019f781f5db65f3650201d -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:45 + touch /tmp/pre-build-complete [Pipeline] sh 07:00:46 + mkdir -p /var/log/sa [Pipeline] sh 07:00:47 + ls /var/log/sa-host 07:00:47 + sadf -c /var/log/sa-host/sa18 07:00:47 file_magic: OK 07:00:47 HZ: Using current value: 100 07:00:47 file_header: OK 07:00:47 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 07:00:47 Statistics: 07:00:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:00:47 File successfully converted to sysstat format version 12.2.1 07:00:47 + sadf -c /var/log/sa-host/sa23 07:00:47 file_magic: OK 07:00:47 HZ: Using current value: 100 07:00:47 file_header: OK 07:00:47 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 07:00:47 Statistics: 07:00:47 Hnuu...uuuununununu... 07:00:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:48 provisioning config files... 07:00:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config5788033197599750989tmp [Pipeline] { [Pipeline] echo 07:00:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:00:48 ---> create-netrc.sh [Pipeline] } 07:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:00:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:00:49 ---> python-tools-install.sh [Pipeline] echo 07:00:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:00:51 ---> sudo-logs.sh 07:00:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:00:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:00:52 ---> job-cost.sh 07:00:52 lf-activate-venv: SKIPPING 07:00:52 INFO: No Stack... 07:00:53 INFO: Retrieving Pricing Info for: v1-standard-2 07:00:54 INFO: Archiving Costs [Pipeline] echo 07:00:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:00:54 ---> logs-deploy.sh 07:00:54 lf-activate-venv: SKIPPING 07:00:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/1 07:00:54 INFO: archiving workspace using pattern(s): 07:00:57 Archives upload complete. 07:00:57 INFO: archiving logs to Nexus