Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 8bb32805f03fb28af25e69a0648a2076882556f1 rather than 9a08a510461eaf59e40d51060415424e250a91d4 Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: PERFORMANCE_OPTIMIZED 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2373648165653334927.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1835806076309803479.key > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6362944127362592497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5681236222798014623.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7659446828836447253.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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-snmp-go] ========================================================= [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-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-13407 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh8479119813047412010.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 9a08a510461eaf59e40d51060415424e250a91d4 Merge succeeded, producing 9a08a510461eaf59e40d51060415424e250a91d4 Checking out Revision 9a08a510461eaf59e40d51060415424e250a91d4 (PR-127) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh7293429128855633048.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh762105967239464519.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 3)" > git rev-list --no-walk 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:20:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:20:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:20:35 ========================================================= 11:20:35 EdgeX Global Pipelines Version Info 11:20:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:20:37 ------------------- 11:20:37 stable info: 11:20:37 ------------------- 11:20:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:20:37 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 11:20:37 Message: update stable to v1.0.210 11:20:37 ------------------- 11:20:37 experimental info: 11:20:37 ------------------- 11:20:37 Commited By: **** collab-it+edgex@linuxfoundation.org 11:20:37 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 11:20:37 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 11:20:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 11:20:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 11:20:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a08a510461eaf59e40d51060415424e250a91d4 [Pipeline] echo 11:20:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a08a51 [Pipeline] echo 11:20:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:38 provisioning config files... 11:20:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config9220297301720034601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:38 ---> docker-login.sh 11:20:38 nexus3.edgexfoundry.org:10001 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10002 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10003 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10004 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 docker.io 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:39 Configure a credential helper to remove this warning. See 11:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:39 11:20:39 Login Succeeded 11:20:39 ---> docker-login.sh ends [Pipeline] } 11:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:20:39 + git log --format=format:%s -1 9a08a510461eaf59e40d51060415424e250a91d4 [Pipeline] echo 11:20:39 GIT_COMMIT: 9a08a510461eaf59e40d51060415424e250a91d4, Commit Message: feat(snap): add initial snap packaging (part 3) [Pipeline] echo 11:20:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:20:40 11:20:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:20:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:20:40 latest: Pulling from edgex-devops/git-semver 11:20:40 a0d0a0d46f8b: Pulling fs layer 11:20:40 3e5f54012d9b: Pulling fs layer 11:20:40 4c7163046ea9: Pulling fs layer 11:20:40 0c2d73faf560: Pulling fs layer 11:20:40 0c2d73faf560: Waiting 11:20:40 3e5f54012d9b: Verifying Checksum 11:20:40 3e5f54012d9b: Download complete 11:20:40 a0d0a0d46f8b: Verifying Checksum 11:20:40 a0d0a0d46f8b: Download complete 11:20:40 0c2d73faf560: Verifying Checksum 11:20:40 0c2d73faf560: Download complete 11:20:40 4c7163046ea9: Verifying Checksum 11:20:40 4c7163046ea9: Download complete 11:20:41 a0d0a0d46f8b: Pull complete 11:20:41 3e5f54012d9b: Pull complete 11:20:41 4c7163046ea9: Pull complete 11:20:41 0c2d73faf560: Pull complete 11:20:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:20:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:20:41 prd-centos7-docker-4c-2g-13407 does not seem to be running inside a container 11:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:20:42 $ docker top 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:20:42 [ssh-agent] Looking for ssh-agent implementation... 11:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:20:42 $ docker exec 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb ssh-agent 11:20:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBadkNe/agent.15 11:20:42 SSH_AGENT_PID=21 11:20:42 Running ssh-add (command line suppressed) 11:20:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5677089719210750282.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5677089719210750282.key) 11:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:20:43 + git tag --points-at HEAD [Pipeline] } 11:20:43 $ docker exec --env ******** --env ******** 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb ssh-agent -k 11:20:43 unset SSH_AUTH_SOCK; 11:20:43 unset SSH_AGENT_PID; 11:20:43 echo Agent pid 21 killed; 11:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:20:43 [ssh-agent] Looking for ssh-agent implementation... 11:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:20:43 $ docker exec 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb ssh-agent 11:20:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghNDIj/agent.56 11:20:43 SSH_AGENT_PID=62 11:20:43 Running ssh-add (command line suppressed) 11:20:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3687768280484298150.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3687768280484298150.key) 11:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:20:43 + git semver init 11:20:43 # -> Open(): unable to determine branch for HEAD 11:20:43 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 11:20:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 11:20:43 # $SEMVER_REMOTE_NAME = origin 11:20:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:20:43 # $SEMVER_USER_NAME = edgex-jenkins 11:20:43 # $SEMVER_BRANCH = PR-127 11:20:43 # $SEMVER_TEMP = /tmp/semver-844222344 11:20:43 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 11:20:44 # '/tmp/semver-844222344' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 11:20:44 # -> Force: false 11:20:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 11:20:44 $ docker exec --env ******** --env ******** 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb ssh-agent -k 11:20:44 unset SSH_AUTH_SOCK; 11:20:44 unset SSH_AGENT_PID; 11:20:44 echo Agent pid 62 killed; 11:20:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:20:44 + git semver [Pipeline] } 11:20:44 $ docker stop --time=1 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb 11:20:46 $ docker rm -f 4abe7d2b667b028972a0bbd86cc17ed363c7d2ac0569b739799d5a142295f5bb [Pipeline] // withDockerContainer [Pipeline] sh 11:20:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:20:46 Stashed 1 file(s) [Pipeline] echo 11:20:46 [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 11:21:01 Still waiting to schedule task 11:21:01 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13407’ 11:21:01 Still waiting to schedule task 11:21:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:22:28 Running on prd-centos7-docker-4c-2g-13409 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 11:22:28 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 11:22:28 Selected Git installation does not exist. Using Default 11:22:28 The recommended git tool is: NONE 11:22:30 using credential edgex-jenkins-ssh 11:22:30 Cloning the remote Git repository 11:22:30 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:22:30 > git init /w/workspace/device-snmp-go/3 # timeout=10 11:22:30 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:22:30 > git --version # timeout=10 11:22:30 > git --version # 'git version 2.24.4' 11:22:30 using GIT_SSH to set credentials SSH Credentials for GitHub 11:22:30 [INFO] Currently running in a labeled security context 11:22:30 [INFO] Currently SELinux is 'enforcing' on the host 11:22:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/3@tmp/jenkins-gitclient-ssh7660633102978672875.key 11:22:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:22:31 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 9a08a510461eaf59e40d51060415424e250a91d4 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 11:22:31 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:22:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:22:31 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:22:31 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:22:31 [INFO] Currently running in a labeled security context 11:22:31 [INFO] Currently SELinux is 'enforcing' on the host 11:22:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/3@tmp/jenkins-gitclient-ssh7982746759466143651.key 11:22:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:22:31 > git config core.sparsecheckout # timeout=10 11:22:31 > git checkout -f 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] } 11:22:32 Failed in branch amd64 11:22:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13408 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 11:22:56 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 11:22:56 Selected Git installation does not exist. Using Default 11:22:56 The recommended git tool is: NONE 11:23:02 using credential edgex-jenkins-ssh 11:23:02 Cloning the remote Git repository 11:23:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:23:02 > git init /w/workspace/device-snmp-go/3 # timeout=10 11:23:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:23:02 > git --version # timeout=10 11:23:02 > git --version # 'git version 2.17.1' 11:23:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:23:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:23:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:23:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:23:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:23:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:23:03 using GIT_SSH to set credentials SSH Credentials for GitHub 11:23:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:23:03 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 9a08a510461eaf59e40d51060415424e250a91d4 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:23:04 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) 11:23:03 > git config core.sparsecheckout # timeout=10 11:23:04 > git checkout -f 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:23:05 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:23:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:23:06 ---> package-listing.sh 11:23:06 ++ facter osfamily 11:23:06 ++ tr '[:upper:]' '[:lower:]' 11:23:06 + OS_FAMILY=redhat 11:23:06 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 11:23:06 + START_PACKAGES=/tmp/packages_start.txt 11:23:06 + END_PACKAGES=/tmp/packages_end.txt 11:23:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:23:06 + PACKAGES=/tmp/packages_start.txt 11:23:06 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 11:23:06 + PACKAGES=/tmp/packages_end.txt 11:23:06 + case "${OS_FAMILY}" in 11:23:06 + rpm -qa 11:23:06 + sort 11:23:06 + '[' -f /tmp/packages_start.txt ']' 11:23:06 + '[' -f /tmp/packages_end.txt ']' 11:23:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:23:06 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 11:23:06 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 11:23:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [Pipeline] echo 11:23:06 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/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:23:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:07 11:23:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:23:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:08 latest: Pulling from edgex-lftools-log-publisher 11:23:08 b4d181a07f80: Pulling fs layer 11:23:08 a1111a8f2ec3: Pulling fs layer 11:23:08 ed53099fbce6: Pulling fs layer 11:23:08 dc539afda2c1: Pulling fs layer 11:23:08 77bc0d833cb6: Pulling fs layer 11:23:08 9065ff56babe: Pulling fs layer 11:23:08 d287ab97295c: Pulling fs layer 11:23:08 dc539afda2c1: Waiting 11:23:08 77bc0d833cb6: Waiting 11:23:08 9065ff56babe: Waiting 11:23:08 d287ab97295c: Waiting 11:23:08 a1111a8f2ec3: Verifying Checksum 11:23:08 a1111a8f2ec3: Download complete 11:23:08 dc539afda2c1: Verifying Checksum 11:23:08 dc539afda2c1: Download complete 11:23:08 ed53099fbce6: Verifying Checksum 11:23:08 ed53099fbce6: Download complete 11:23:08 9065ff56babe: Verifying Checksum 11:23:08 9065ff56babe: Download complete 11:23:08 77bc0d833cb6: Verifying Checksum 11:23:08 77bc0d833cb6: Download complete 11:23:08 b4d181a07f80: Verifying Checksum 11:23:08 b4d181a07f80: Download complete 11:23:08 d287ab97295c: Verifying Checksum 11:23:08 d287ab97295c: Download complete 11:23:09 b4d181a07f80: Pull complete 11:23:09 a1111a8f2ec3: Pull complete 11:23:10 ed53099fbce6: Pull complete 11:23:10 dc539afda2c1: Pull complete 11:23:10 77bc0d833cb6: Pull complete 11:23:10 9065ff56babe: Pull complete 11:23:16 d287ab97295c: Pull complete 11:23:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:23:16 prd-centos7-docker-4c-2g-13407 does not seem to be running inside a container 11:23:16 $ 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/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:23:18 $ docker top 2d135793c3a9f7fdff27d7899e3264575dd8fa728d5a02a0868602eecfb6342a -eo pid,comm [Pipeline] { [Pipeline] sh 11:23:18 + touch /tmp/pre-build-complete [Pipeline] sh 11:23:19 + mkdir -p /var/log/sysstat [Pipeline] sh 11:23:19 + ls /var/log/sa-host 11:23:19 + sadf -c /var/log/sa-host/sa29 11:23:19 file_magic: OK 11:23:19 HZ: Using current value: 100 11:23:19 file_header: OK 11:23:19 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 11:23:19 Statistics: 11:23:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:23:19 File successfully converted to sysstat format version 12.0.3 11:23:19 + sadf -c /var/log/sa-host/sa30 11:23:19 file_magic: OK 11:23:19 HZ: Using current value: 100 11:23:19 file_header: OK 11:23:19 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 11:23:19 Statistics: 11:23:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:23:19 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:23:19 provisioning config files... 11:23:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config4778521199631622737tmp [Pipeline] { [Pipeline] echo 11:23:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:23:19 ---> create-netrc.sh [Pipeline] } 11:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:23:20 ---> python-tools-install.sh [Pipeline] echo 11:23:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:23:20 ---> sudo-logs.sh 11:23:20 Archiving 'sudo' log.. 11:23:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-13407.novalocal: Name or service not known 11:23:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-13407.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:23:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:23:20 ---> job-cost.sh 11:23:20 lf-activate-venv: SKIPPING 11:23:20 INFO: No Stack... 11:23:21 INFO: Retrieving Pricing Info for: v3-standard-2 11:23:22 INFO: Archiving Costs [Pipeline] echo 11:23:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:23:22 ---> logs-deploy.sh 11:23:22 lf-activate-venv: SKIPPING 11:23:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/3 11:23:22 INFO: archiving workspace using pattern(s): 11:23:22 Archives upload complete. 11:23:23 INFO: archiving logs to Nexus