Pull request #907 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a7a1d48a4db65f49e42c8adebbac80b653b5bc35+70dff52b8df9807f5114cad14836e8310fd11d9c (1a257c6d4dfd16a259de55575a6649a462ad4154) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-907/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-907/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3229 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [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-907 # 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/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a7a1d48a4db65f49e42c8adebbac80b653b5bc35 Merge succeeded, producing 7f406cf923a647c2287e059134030a78ae2352f9 Checking out Revision 7f406cf923a647c2287e059134030a78ae2352f9 (PR-907) > git config core.sparsecheckout # timeout=10 > git checkout -f a7a1d48a4db65f49e42c8adebbac80b653b5bc35 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f406cf923a647c2287e059134030a78ae2352f9 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:39:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:39:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:39:47 ========================================================= 17:39:47 EdgeX Global Pipelines Version Info 17:39:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:39:51 ------------------- 17:39:51 stable info: 17:39:51 ------------------- 17:39:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:39:51 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 17:39:51 Message: update stable to v1.0.191 17:39:52 ------------------- 17:39:52 experimental info: 17:39:52 ------------------- 17:39:52 Commited By: **** collab-it+edgex@linuxfoundation.org 17:39:52 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 17:39:52 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:39:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-907 [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-907 [Pipeline] echo 17:39:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-907 [Pipeline] echo 17:39:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f406cf923a647c2287e059134030a78ae2352f9 [Pipeline] echo 17:39:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f406cf [Pipeline] echo 17:39:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:39:54 provisioning config files... 17:39:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config3698972319868882537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:54 ---> docker-login.sh 17:39:54 nexus3.edgexfoundry.org:10001 17:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:56 Configure a credential helper to remove this warning. See 17:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:56 17:39:56 Login Succeeded 17:39:56 nexus3.edgexfoundry.org:10002 17:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:56 Configure a credential helper to remove this warning. See 17:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:56 17:39:56 Login Succeeded 17:39:56 nexus3.edgexfoundry.org:10003 17:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:57 Configure a credential helper to remove this warning. See 17:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:57 17:39:57 Login Succeeded 17:39:57 nexus3.edgexfoundry.org:10004 17:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:57 Configure a credential helper to remove this warning. See 17:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:57 17:39:57 Login Succeeded 17:39:58 docker.io 17:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:59 Configure a credential helper to remove this warning. See 17:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:59 17:39:59 Login Succeeded 17:39:59 ---> docker-login.sh ends [Pipeline] } 17:39:59 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 17:39:59 + git log --format=format:%s -1 7f406cf923a647c2287e059134030a78ae2352f9 [Pipeline] echo 17:40:00 GIT_COMMIT: 7f406cf923a647c2287e059134030a78ae2352f9, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo 17:40:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:40:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:01 17:40:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:40:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:01 latest: Pulling from edgex-devops/git-semver 17:40:01 31603596830f: Pulling fs layer 17:40:01 54011a49482f: Pulling fs layer 17:40:01 a6820b24f6d8: Pulling fs layer 17:40:01 f581987b2513: Pulling fs layer 17:40:01 f581987b2513: Waiting 17:40:01 54011a49482f: Verifying Checksum 17:40:01 54011a49482f: Download complete 17:40:02 31603596830f: Verifying Checksum 17:40:02 31603596830f: Download complete 17:40:02 f581987b2513: Verifying Checksum 17:40:02 f581987b2513: Download complete 17:40:02 a6820b24f6d8: Verifying Checksum 17:40:02 a6820b24f6d8: Download complete 17:40:03 31603596830f: Pull complete 17:40:03 54011a49482f: Pull complete 17:40:05 a6820b24f6d8: Pull complete 17:40:05 f581987b2513: Pull complete 17:40:05 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:40:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:40:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:40:06 prd-centos7-docker-4c-2g-3229 does not seem to be running inside a container 17:40:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:40:10 $ docker top 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:10 [ssh-agent] Looking for ssh-agent implementation... 17:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:10 $ docker exec 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e ssh-agent 17:40:11 SSH_AUTH_SOCK=/tmp/ssh-D9owDymzP28O/agent.12 17:40:11 SSH_AGENT_PID=17 17:40:11 Running ssh-add (command line suppressed) 17:40:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_5967067512529073040.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_5967067512529073040.key) 17:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:11 + git tag --points-at HEAD [Pipeline] } 17:40:11 $ docker exec --env ******** --env ******** 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e ssh-agent -k 17:40:12 unset SSH_AUTH_SOCK; 17:40:12 unset SSH_AGENT_PID; 17:40:12 echo Agent pid 17 killed; 17:40:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:12 [ssh-agent] Looking for ssh-agent implementation... 17:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:12 $ docker exec 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e ssh-agent 17:40:13 SSH_AUTH_SOCK=/tmp/ssh-zqXTqSVFb0F0/agent.45 17:40:13 SSH_AGENT_PID=50 17:40:13 Running ssh-add (command line suppressed) 17:40:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_3964937615885448443.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_3964937615885448443.key) 17:40:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:14 + git semver init 17:40:14 # -> Open(): unable to determine branch for HEAD 17:40:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.git 17:40:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-907 17:40:14 # $SEMVER_REMOTE_NAME = origin 17:40:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:40:14 # $SEMVER_USER_NAME = edgex-jenkins 17:40:14 # $SEMVER_BRANCH = PR-907 17:40:14 # $SEMVER_TEMP = /tmp/semver-856688201 17:40:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:40:15 # '/tmp/semver-856688201' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver' 17:40:15 # -> Force: false 17:40:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver [Pipeline] } 17:40:15 $ docker exec --env ******** --env ******** 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e ssh-agent -k 17:40:15 unset SSH_AUTH_SOCK; 17:40:15 unset SSH_AGENT_PID; 17:40:15 echo Agent pid 50 killed; 17:40:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:16 + git semver [Pipeline] } 17:40:16 $ docker stop --time=1 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e 17:40:18 $ docker rm -f 613a24c9888464341351144c6e38f84040503824036c6b6381723c0f29b4f82e [Pipeline] // withDockerContainer [Pipeline] sh 17:40:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:40:19 Stashed 1 file(s) [Pipeline] echo 17:40:19 [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 17:40:35 Still waiting to schedule task 17:40:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3229’ 17:40:35 Still waiting to schedule task 17:40:35 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 17:42:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3230 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws 17:42:22 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:42:27 using credential edgex-jenkins-ssh 17:42:27 Cloning the remote Git repository 17:42:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:42:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:42:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:42:27 > git --version # timeout=10 17:42:27 > git --version # 'git version 2.17.1' 17:42:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:42:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:42:29 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a7a1d48a4db65f49e42c8adebbac80b653b5bc35 [Pipeline] } 17:42:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:42:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:42:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:42:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:42:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:42:29 > git config core.sparsecheckout # timeout=10 17:42:29 > git checkout -f a7a1d48a4db65f49e42c8adebbac80b653b5bc35 # timeout=10 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:42:30 Failed in branch arm64 17:42:53 Running on prd-centos7-docker-4c-2g-3232 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws 17:42:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:42:57 using credential edgex-jenkins-ssh 17:42:57 Cloning the remote Git repository 17:42:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:42:57 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:42:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:42:57 > git --version # timeout=10 17:42:57 > git --version # 'git version 2.24.3' 17:42:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:42:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:42:58 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a7a1d48a4db65f49e42c8adebbac80b653b5bc35 [Pipeline] } [Pipeline] // ws [Pipeline] } 17:42:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:42:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:42:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:42:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:42:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:42:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:42:58 > git config core.sparsecheckout # timeout=10 17:42:58 > git checkout -f a7a1d48a4db65f49e42c8adebbac80b653b5bc35 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:42:59 Failed in branch amd64 [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 17:43:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:43:02 ---> package-listing.sh 17:43:02 ++ facter osfamily 17:43:02 ++ tr '[:upper:]' '[:lower:]' 17:43:02 + OS_FAMILY=redhat 17:43:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-907 17:43:02 + START_PACKAGES=/tmp/packages_start.txt 17:43:02 + END_PACKAGES=/tmp/packages_end.txt 17:43:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:43:02 + PACKAGES=/tmp/packages_start.txt 17:43:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' 17:43:02 + PACKAGES=/tmp/packages_end.txt 17:43:02 + case "${OS_FAMILY}" in 17:43:02 + rpm -qa 17:43:02 + sort 17:43:09 + '[' -f /tmp/packages_start.txt ']' 17:43:09 + '[' -f /tmp/packages_end.txt ']' 17:43:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:43:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' 17:43:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ 17:43:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [Pipeline] echo 17:43:09 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-907/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:43:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:43:10 17:43:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:43:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:43:11 alpine: Pulling from edgex-lftools-log-publisher 17:43:11 df20fa9351a1: Pulling fs layer 17:43:11 36b3adc4ff6f: Pulling fs layer 17:43:11 8ad3a11d3b57: Pulling fs layer 17:43:11 46f8f816bc3b: Pulling fs layer 17:43:11 93b61091891f: Pulling fs layer 17:43:11 93b9cdb0e59b: Pulling fs layer 17:43:11 5e14af77c1be: Pulling fs layer 17:43:11 01666e4c0597: Pulling fs layer 17:43:11 aa168da1d23b: Pulling fs layer 17:43:11 46f8f816bc3b: Waiting 17:43:11 01666e4c0597: Waiting 17:43:11 5e14af77c1be: Waiting 17:43:11 93b9cdb0e59b: Waiting 17:43:11 36b3adc4ff6f: Download complete 17:43:11 46f8f816bc3b: Download complete 17:43:11 df20fa9351a1: Download complete 17:43:11 93b9cdb0e59b: Download complete 17:43:11 93b61091891f: Verifying Checksum 17:43:11 93b61091891f: Download complete 17:43:11 5e14af77c1be: Verifying Checksum 17:43:11 5e14af77c1be: Download complete 17:43:11 01666e4c0597: Download complete 17:43:12 df20fa9351a1: Pull complete 17:43:12 8ad3a11d3b57: Verifying Checksum 17:43:12 8ad3a11d3b57: Download complete 17:43:12 36b3adc4ff6f: Pull complete 17:43:14 8ad3a11d3b57: Pull complete 17:43:14 46f8f816bc3b: Pull complete 17:43:16 93b61091891f: Pull complete 17:43:16 93b9cdb0e59b: Pull complete 17:43:16 5e14af77c1be: Pull complete 17:43:16 01666e4c0597: Pull complete 17:43:16 aa168da1d23b: Verifying Checksum 17:43:16 aa168da1d23b: Download complete 17:43:32 aa168da1d23b: Pull complete 17:43:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:43:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:43:32 prd-centos7-docker-4c-2g-3229 does not seem to be running inside a container 17:43:32 $ 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-907/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-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:43:36 $ docker top 117d049d178723131ff96d6ed29e00d6b01e8589695759b64adb75bf9ad4f163 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:43:37 + mkdir -p /var/log/sa [Pipeline] sh 17:43:37 + ls /var/log/sa-host 17:43:37 + sadf -c /var/log/sa-host/sa06 17:43:37 file_magic: OK 17:43:37 HZ: Using current value: 100 17:43:37 file_header: OK 17:43:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:43:37 Statistics: 17:43:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:43:37 File successfully converted to sysstat format version 12.2.1 17:43:37 + sadf -c /var/log/sa-host/sa23 17:43:37 file_magic: OK 17:43:37 HZ: Using current value: 100 17:43:37 file_header: OK 17:43:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:43:37 Statistics: 17:43:37 Hnuu...uuuununununu... 17:43:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:38 provisioning config files... 17:43:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config8879647252504219122tmp [Pipeline] { [Pipeline] echo 17:43:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:43:38 ---> create-netrc.sh [Pipeline] } 17:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:43:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:43:39 ---> python-tools-install.sh [Pipeline] echo 17:43:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:43:40 ---> sudo-logs.sh 17:43:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:43:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:43:41 ---> job-cost.sh 17:43:41 lf-activate-venv: SKIPPING 17:43:41 INFO: No Stack... 17:43:42 INFO: Retrieving Pricing Info for: v1-standard-2 17:43:42 INFO: Archiving Costs [Pipeline] echo 17:43:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:43:43 ---> logs-deploy.sh 17:43:43 lf-activate-venv: SKIPPING 17:43:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-907/1 17:43:43 INFO: archiving workspace using pattern(s): 17:43:47 Archives upload complete. 17:43:47 INFO: archiving logs to Nexus