Pull request #279 opened 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 marcpfuller for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 224900f6885e44699053c83c13a1a421d11bcb33 rather than eb672d49098cce593546c87cd0a7c6393e4e4b33 Obtained Jenkinsfile from 224900f6885e44699053c83c13a1a421d11bcb33 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-ssh66384774436651896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13938785689152526052.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git 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-snmp-go/branches/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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 [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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6218584012679480324.key > 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 [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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16868307845001502877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh2937066185135232946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE 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-snmp-go/branches/PR-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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 [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-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2343101486433863456.key > 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 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.20 USE_ALPINE: true 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6256 in /w/workspace/gexfoundry_device-snmp-go_PR-279 [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-279 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224900f6885e44699053c83c13a1a421d11bcb33 into PR head commit eb672d49098cce593546c87cd0a7c6393e4e4b33 Merge succeeded, producing eb672d49098cce593546c87cd0a7c6393e4e4b33 Checking out Revision eb672d49098cce593546c87cd0a7c6393e4e4b33 (PR-279) > git config core.sparsecheckout # timeout=10 > git checkout -f eb672d49098cce593546c87cd0a7c6393e4e4b33 # 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 224900f6885e44699053c83c13a1a421d11bcb33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb672d49098cce593546c87cd0a7c6393e4e4b33 # timeout=10 Commit message: "refactor!: Change configuration and device toml files to yaml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:51:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:51:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:51:26 ========================================================= 21:51:26 EdgeX Global Pipelines Version Info 21:51:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:51:27 ------------------- 21:51:27 stable info: 21:51:27 ------------------- 21:51:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:51:27 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:51:27 Message: update stable to v1.0.245 21:51:27 ------------------- 21:51:27 experimental info: 21:51:27 ------------------- 21:51:27 Commited By: **** collab-it+edgex@linuxfoundation.org 21:51:27 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:51:27 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb672d49098cce593546c87cd0a7c6393e4e4b33 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb672d4 [Pipeline] echo 21:51:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:29 provisioning config files... 21:51:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config14995282828116049985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:29 ---> docker-login.sh 21:51:29 nexus3.edgexfoundry.org:10001 21:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:30 Configure a credential helper to remove this warning. See 21:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:30 21:51:30 Login Succeeded 21:51:30 nexus3.edgexfoundry.org:10002 21:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:30 Configure a credential helper to remove this warning. See 21:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:30 21:51:30 Login Succeeded 21:51:30 nexus3.edgexfoundry.org:10003 21:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:30 Configure a credential helper to remove this warning. See 21:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:30 21:51:30 Login Succeeded 21:51:30 nexus3.edgexfoundry.org:10004 21:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:30 Configure a credential helper to remove this warning. See 21:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:30 21:51:30 Login Succeeded 21:51:30 docker.io 21:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:30 Configure a credential helper to remove this warning. See 21:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:30 21:51:30 Login Succeeded 21:51:30 ---> docker-login.sh ends [Pipeline] } 21:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:31 + git rev-list -1 --merges eb672d49098cce593546c87cd0a7c6393e4e4b33~1..eb672d49098cce593546c87cd0a7c6393e4e4b33 [Pipeline] echo 21:51:31 -----------> git rev-list -1 --merges eb672d49098cce593546c87cd0a7c6393e4e4b33~1..eb672d49098cce593546c87cd0a7c6393e4e4b33 eb672d49098cce593546c87cd0a7c6393e4e4b33 [false] [Pipeline] sh 21:51:31 + git log --format=format:%s -1 eb672d49098cce593546c87cd0a7c6393e4e4b33 [Pipeline] echo 21:51:32 ========================================================= 21:51:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:32 + git log --format=format:%s -1 eb672d49098cce593546c87cd0a7c6393e4e4b33 [Pipeline] echo 21:51:32 [semverPrep] GIT_COMMIT: eb672d49098cce593546c87cd0a7c6393e4e4b33, Commit Message: refactor!: Change configuration and device toml files to yaml [Pipeline] echo 21:51:32 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:32 + grep -v github /etc/ssh/ssh_known_hosts 21:51:32 + [ -e /tmp/ssh_known_hosts ] 21:51:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:32 + sudo tee -a /etc/ssh/ssh_known_hosts 21:51:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:33 21:51:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:33 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:33 b85a868b505f: Pulling fs layer 21:51:33 e2be974225ed: Pulling fs layer 21:51:33 339a4e72a1f5: Pulling fs layer 21:51:33 988bab9f4d93: Pulling fs layer 21:51:33 1469e6f7b9e6: Pulling fs layer 21:51:33 eaf3925da568: Pulling fs layer 21:51:33 bab4dde63d76: Pulling fs layer 21:51:33 bde34c3a00c8: Pulling fs layer 21:51:33 b352a97aabf1: Pulling fs layer 21:51:33 4872d77fe225: Pulling fs layer 21:51:33 5851b861e8e6: Pulling fs layer 21:51:33 bab4dde63d76: Waiting 21:51:33 bde34c3a00c8: Waiting 21:51:33 b352a97aabf1: Waiting 21:51:33 5851b861e8e6: Waiting 21:51:33 4872d77fe225: Waiting 21:51:33 988bab9f4d93: Waiting 21:51:33 1469e6f7b9e6: Waiting 21:51:33 eaf3925da568: Waiting 21:51:33 e2be974225ed: Download complete 21:51:33 988bab9f4d93: Verifying Checksum 21:51:33 988bab9f4d93: Download complete 21:51:33 339a4e72a1f5: Verifying Checksum 21:51:33 339a4e72a1f5: Download complete 21:51:33 1469e6f7b9e6: Verifying Checksum 21:51:33 1469e6f7b9e6: Download complete 21:51:33 eaf3925da568: Verifying Checksum 21:51:33 eaf3925da568: Download complete 21:51:34 bde34c3a00c8: Verifying Checksum 21:51:34 bde34c3a00c8: Download complete 21:51:34 b352a97aabf1: Download complete 21:51:34 4872d77fe225: Verifying Checksum 21:51:34 4872d77fe225: Download complete 21:51:34 5851b861e8e6: Download complete 21:51:34 b85a868b505f: Verifying Checksum 21:51:34 b85a868b505f: Download complete 21:51:34 bab4dde63d76: Verifying Checksum 21:51:34 bab4dde63d76: Download complete 21:51:35 b85a868b505f: Pull complete 21:51:35 e2be974225ed: Pull complete 21:51:35 339a4e72a1f5: Pull complete 21:51:36 988bab9f4d93: Pull complete 21:51:36 1469e6f7b9e6: Pull complete 21:51:36 eaf3925da568: Pull complete 21:51:38 bab4dde63d76: Pull complete 21:51:38 bde34c3a00c8: Pull complete 21:51:38 b352a97aabf1: Pull complete 21:51:38 4872d77fe225: Pull complete 21:51:38 5851b861e8e6: Pull complete 21:51:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:38 prd-ubuntu20.04-docker-8c-8g-6256 does not seem to be running inside a container 21:51:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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-devops/py-git-semver:0.1.4 cat 21:51:40 $ docker top bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 -eo pid,comm 21:51:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:51:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:41 [ssh-agent] Looking for ssh-agent implementation... 21:51:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:41 $ docker exec bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 ssh-agent 21:51:41 SSH_AUTH_SOCK=/tmp/ssh-ArjJVayrCDOV/agent.33 21:51:41 SSH_AGENT_PID=39 21:51:41 Running ssh-add (command line suppressed) 21:51:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_8744877666567905203.key (/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_8744877666567905203.key) 21:51:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:41 + git tag --points-at HEAD [Pipeline] } 21:51:41 $ docker exec --env ******** --env ******** bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 ssh-agent -k 21:51:41 unset SSH_AUTH_SOCK; 21:51:41 unset SSH_AGENT_PID; 21:51:41 echo Agent pid 39 killed; 21:51:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:51:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:42 [ssh-agent] Looking for ssh-agent implementation... 21:51:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:42 $ docker exec bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 ssh-agent 21:51:42 SSH_AUTH_SOCK=/tmp/ssh-1nZlMpw6Rdoj/agent.71 21:51:42 SSH_AGENT_PID=77 21:51:42 Running ssh-add (command line suppressed) 21:51:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_7093369110710992356.key (/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/private_key_7093369110710992356.key) 21:51:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:42 + git semver init 21:51:42 2023-03-29 21:51:42,912 [run_init] DEBUG init version:0.0.0 force:False 21:51:42 2023-03-29 21:51:42,913 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver 21:51:42 2023-03-29 21:51:42,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-279/.semver 21:51:42 2023-03-29 21:51:42,914 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279, universal_newlines=False, shell=None, istream=None) 21:51:43 2023-03-29 21:51:43,697 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.git/info/exclude 21:51:43 2023-03-29 21:51:43,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 with force:False 21:51:43 2023-03-29 21:51:43,698 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 21:51:43 2023-03-29 21:51:43,702 [execute] INFO git cat-file --batch-check 21:51:43 2023-03-29 21:51:43,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) 21:51:43 2023-03-29 21:51:43,709 [execute] INFO git cat-file --batch 21:51:43 2023-03-29 21:51:43,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-279/.semver, universal_newlines=False, shell=None, istream=) 21:51:43 2023-03-29 21:51:43,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-279/.semver/PR-279 21:51:43 0.0.0 [Pipeline] } 21:51:43 $ docker exec --env ******** --env ******** bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 ssh-agent -k 21:51:44 unset SSH_AUTH_SOCK; 21:51:44 unset SSH_AGENT_PID; 21:51:44 echo Agent pid 77 killed; 21:51:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:44 + git semver [Pipeline] } 21:51:44 $ docker stop --time=1 bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 21:51:46 $ docker rm -f --volumes bcc196f1f8e806ee478b1ae3d8938a754965fb140d99c9c983f656c5720c5cf4 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:51:46 Stashed 1 file(s) [Pipeline] echo 21:51: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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:47 provisioning config files... 21:51:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config15576009723274502690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:47 ---> docker-login.sh 21:51:47 nexus3.edgexfoundry.org:10001 21:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:47 Configure a credential helper to remove this warning. See 21:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:47 21:51:47 Login Succeeded 21:51:47 nexus3.edgexfoundry.org:10002 21:51:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:47 Configure a credential helper to remove this warning. See 21:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:47 21:51:47 Login Succeeded 21:51:47 nexus3.edgexfoundry.org:10003 21:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:48 Configure a credential helper to remove this warning. See 21:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:48 21:51:48 Login Succeeded 21:51:48 nexus3.edgexfoundry.org:10004 21:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:48 Configure a credential helper to remove this warning. See 21:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:48 21:51:48 Login Succeeded 21:51:48 docker.io 21:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:48 Configure a credential helper to remove this warning. See 21:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:48 21:51:48 Login Succeeded 21:51:48 ---> docker-login.sh ends [Pipeline] } 21:51:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:48 ========================================================= 21:51:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:51:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:51:49 Sending build context to Docker daemon 5.789MB 21:51:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:51:49 Step 2/12 : FROM ${BASE} AS builder 21:51:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:49 63b65145d645: Pulling fs layer 21:51:49 a2d21d5440eb: Pulling fs layer 21:51:49 935e6c44a52c: Pulling fs layer 21:51:49 94cc34f8dd06: Pulling fs layer 21:51:49 30dea6a524f1: Pulling fs layer 21:51:49 a2aff8979fd8: Pulling fs layer 21:51:49 6808be2612f2: Pulling fs layer 21:51:49 f25807f1079a: Pulling fs layer 21:51:49 30dea6a524f1: Waiting 21:51:49 a2aff8979fd8: Waiting 21:51:49 f25807f1079a: Waiting 21:51:49 94cc34f8dd06: Waiting 21:51:49 6808be2612f2: Waiting 21:51:49 a2d21d5440eb: Download complete 21:51:49 94cc34f8dd06: Verifying Checksum 21:51:49 94cc34f8dd06: Download complete 21:51:49 30dea6a524f1: Verifying Checksum 21:51:49 30dea6a524f1: Download complete 21:51:49 63b65145d645: Verifying Checksum 21:51:49 63b65145d645: Download complete 21:51:49 a2aff8979fd8: Verifying Checksum 21:51:49 a2aff8979fd8: Download complete 21:51:49 63b65145d645: Pull complete 21:51:49 a2d21d5440eb: Pull complete 21:51:49 f25807f1079a: Verifying Checksum 21:51:49 f25807f1079a: Download complete 21:51:49 935e6c44a52c: Verifying Checksum 21:51:49 935e6c44a52c: Download complete 21:51:50 6808be2612f2: Verifying Checksum 21:51:50 6808be2612f2: Download complete 21:51:53 935e6c44a52c: Pull complete 21:51:53 94cc34f8dd06: Pull complete 21:51:53 30dea6a524f1: Pull complete 21:51:53 a2aff8979fd8: Pull complete 21:51:55 6808be2612f2: Pull complete 21:51:56 f25807f1079a: Pull complete 21:51:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:51:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:51:56 ---> 3b553350e43f 21:51:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:51:59 ---> Running in bdf5bf03f287 21:51:59 Removing intermediate container bdf5bf03f287 21:51:59 ---> 0a3c61c76761 21:51:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:59 ---> Running in a750efd3cc7c 21:51:59 Removing intermediate container a750efd3cc7c 21:51:59 ---> 4b276b68d7f2 21:51:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:59 ---> Running in a4273e4c14de 21:51:59 Removing intermediate container a4273e4c14de 21:51:59 ---> e9e7387d833c 21:51:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:51:59 ---> Running in 3674d10ec41c 21:51:59 Removing intermediate container 3674d10ec41c 21:51:59 ---> 6fa330de2742 21:51:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:59 ---> Running in cd5d51186919 21:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:52:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:52:00 (2/4) Installing libedit (20221030.3.1-r0) 21:52:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:52:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:52:00 Executing busybox-1.35.0-r29.trigger 21:52:00 OK: 269 MiB in 57 packages 21:52:00 Removing intermediate container cd5d51186919 21:52:00 ---> 43a9d9827f05 21:52:00 Step 8/12 : WORKDIR /device-snmp-go 21:52:00 ---> Running in 22af6f780404 21:52:01 Removing intermediate container 22af6f780404 21:52:01 ---> 6571662d58a7 21:52:01 Step 9/12 : COPY go.mod vendor* ./ 21:52:01 ---> 28793e3802d7 21:52:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:01 ---> Running in 16b1a9ba273e 21:52:02 Still waiting to schedule task 21:52:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:52:47 Removing intermediate container 16b1a9ba273e 21:52:47 ---> be50cf083223 21:52:47 Step 11/12 : COPY . . 21:52:47 ---> 126ca54c11d4 21:52:47 Step 12/12 : RUN ${MAKE} 21:52:47 ---> Running in 2680d97ece7e 21:52:47 noop 21:52:47 Removing intermediate container 2680d97ece7e 21:52:47 ---> 377df16bc6d6 21:52:47 Successfully built 377df16bc6d6 21:52:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:48 + docker inspect -f . ci-base-image-x86_64 21:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:48 prd-ubuntu20.04-docker-8c-8g-6256 does not seem to be running inside a container 21:52:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** ci-base-image-x86_64 cat 21:52:48 $ docker top 602c0bab05c0b4780c199c409a261c4acb785434647c7f66f270be396e28f607 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:49 + go version 21:52:49 go version go1.20.2 linux/amd64 [Pipeline] } 21:52:49 $ docker stop --time=1 602c0bab05c0b4780c199c409a261c4acb785434647c7f66f270be396e28f607 21:52:50 $ docker rm -f --volumes 602c0bab05c0b4780c199c409a261c4acb785434647c7f66f270be396e28f607 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:51 + docker inspect -f . ci-base-image-x86_64 21:52:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:51 prd-ubuntu20.04-docker-8c-8g-6256 does not seem to be running inside a container 21:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** ci-base-image-x86_64 cat 21:52:51 $ docker top aeb4c110f5b82b24218731cef5a34435a494e12b886f147f796ca5f04d4eb702 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] fileExists [Pipeline] sh 21:52:52 + make test 21:52:52 go test ./... -coverprofile=coverage.out 21:52:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:53:07 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:53:07 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 21:53:14 go vet ./... 21:53:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:18 $ docker stop --time=1 aeb4c110f5b82b24218731cef5a34435a494e12b886f147f796ca5f04d4eb702 21:53:21 $ docker rm -f --volumes aeb4c110f5b82b24218731cef5a34435a494e12b886f147f796ca5f04d4eb702 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:53:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:22 + ls -al . 21:53:22 total 168 21:53:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 21:52 . 21:53:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:51 .. 21:53:22 -rw-rw-r-- 1 jenkins jenkins 6 Mar 29 21:51 .dockerignore 21:53:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 21:51 .git 21:53:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:51 .github 21:53:22 -rw-rw-r-- 1 jenkins jenkins 328 Mar 29 21:51 .gitignore 21:53:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 21:51 .golangci.yml 21:53:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:51 .semver 21:53:22 -rw-rw-r-- 1 jenkins jenkins 8926 Mar 29 21:51 Attribution.txt 21:53:22 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 29 21:51 CHANGELOG.md 21:53:22 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 29 21:51 Dockerfile 21:53:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 21:51 GOVERNANCE.md 21:53:22 -rw-rw-r-- 1 jenkins jenkins 656 Mar 29 21:51 Jenkinsfile 21:53:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 21:51 LICENSE 21:53:22 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 29 21:51 Makefile 21:53:22 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 21:51 OWNERS.md 21:53:22 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 29 21:51 README.md 21:53:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 21:51 VERSION 21:53:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 21:51 bin 21:53:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:51 cmd 21:53:22 -rw-r--r-- 1 jenkins jenkins 7630 Mar 29 21:53 coverage.out 21:53:22 -rw-rw-r-- 1 jenkins jenkins 3280 Mar 29 21:51 go.mod 21:53:22 -rw-rw-r-- 1 jenkins jenkins 31151 Mar 29 21:51 go.sum 21:53:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 21:51 internal 21:53:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 21:51 snap 21:53:22 -rw-rw-r-- 1 jenkins jenkins 228 Mar 29 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:23 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=eb672d49098cce593546c87cd0a7c6393e4e4b33 --label arch=amd64 --label version=0.0.0 . 21:53:23 Sending build context to Docker daemon 5.797MB 21:53:23 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:53:23 Step 2/24 : FROM ${BASE} AS builder 21:53:23 ---> 377df16bc6d6 21:53:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:53:23 ---> Running in 65dd6f444ed0 21:53:24 Removing intermediate container 65dd6f444ed0 21:53:24 ---> 9f32a047c33c 21:53:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:24 ---> Running in 89cbc393ad93 21:53:24 Removing intermediate container 89cbc393ad93 21:53:24 ---> 687e87832ee8 21:53:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:53:24 ---> Running in cc6e1e63fafe 21:53:24 Removing intermediate container cc6e1e63fafe 21:53:24 ---> cf67a5a79da5 21:53:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:53:24 ---> Running in fac669b465cb 21:53:24 Removing intermediate container fac669b465cb 21:53:24 ---> 46fc06288494 21:53:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:24 ---> Running in 70ec9e6de0d1 21:53:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:53:25 OK: 269 MiB in 57 packages 21:53:25 Removing intermediate container 70ec9e6de0d1 21:53:25 ---> 1ef7072800df 21:53:25 Step 8/24 : WORKDIR /device-snmp-go 21:53:25 ---> Running in c6818d9e7691 21:53:25 Removing intermediate container c6818d9e7691 21:53:25 ---> c566cc2e6cf5 21:53:25 Step 9/24 : COPY go.mod vendor* ./ 21:53:25 ---> a4bff82bebc0 21:53:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:25 ---> Running in 0be67ffec6a8 21:53:26 Removing intermediate container 0be67ffec6a8 21:53:26 ---> 2d8a428d00a1 21:53:26 Step 11/24 : COPY . . 21:53:27 ---> 9254bd934295 21:53:27 Step 12/24 : RUN ${MAKE} 21:53:27 ---> Running in e2d7897c9aaf 21:53:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:53:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6257 in /w/workspace/gexfoundry_device-snmp-go_PR-279 [Pipeline] { [Pipeline] ws 21:53:49 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 21:53:49 Selected Git installation does not exist. Using Default 21:53:49 The recommended git tool is: NONE 21:53:49 Removing intermediate container e2d7897c9aaf 21:53:49 ---> 92755a65d93c 21:53:49 Step 13/24 : FROM alpine:3.17 21:53:49 3.17: Pulling from library/alpine 21:53:49 f56be85fc22e: Pulling fs layer 21:53:49 f56be85fc22e: Verifying Checksum 21:53:49 f56be85fc22e: Download complete 21:53:49 f56be85fc22e: Pull complete 21:53:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:53:49 Status: Downloaded newer image for alpine:3.17 21:53:49 ---> 9ed4aefc74f6 21:53:49 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:53:49 ---> Running in 9ff9649c64df 21:53:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:53:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:53:49 (1/1) Installing dumb-init (1.2.5-r2) 21:53:49 Executing busybox-1.35.0-r29.trigger 21:53:49 OK: 7 MiB in 16 packages 21:53:49 Removing intermediate container 9ff9649c64df 21:53:49 ---> f2670f7d8890 21:53:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:53:49 ---> 6bf2996b17c8 21:53:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:53:49 ---> c379e8bde6dc 21:53:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:53:49 ---> f45acf3c5efe 21:53:49 Step 18/24 : EXPOSE 59993 21:53:49 ---> Running in 8e1150e1191a 21:53:49 Removing intermediate container 8e1150e1191a 21:53:49 ---> 2b69fe726b08 21:53:49 Step 19/24 : EXPOSE 161 21:53:49 ---> Running in 422cbb40ab3a 21:53:50 Removing intermediate container 422cbb40ab3a 21:53:50 ---> 7051af75f964 21:53:50 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:53:50 ---> Running in 0a5270e5bc0a 21:53:50 Removing intermediate container 0a5270e5bc0a 21:53:50 ---> 56ddd92e7924 21:53:50 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:53:50 ---> Running in 575ec98d2f1a 21:53:50 Removing intermediate container 575ec98d2f1a 21:53:50 ---> cbf5b30b209a 21:53:50 Step 22/24 : LABEL arch=amd64 21:53:50 ---> Running in 03bbf7fd53f8 21:53:50 Removing intermediate container 03bbf7fd53f8 21:53:50 ---> fb92f90d2a5e 21:53:50 Step 23/24 : LABEL git_sha=eb672d49098cce593546c87cd0a7c6393e4e4b33 21:53:50 ---> Running in 2ceefaef2ec2 21:53:50 Removing intermediate container 2ceefaef2ec2 21:53:50 ---> 3b46535ea155 21:53:50 Step 24/24 : LABEL version=0.0.0 21:53:50 ---> Running in b2f36495238b 21:53:50 Removing intermediate container b2f36495238b 21:53:50 ---> 78695c653b60 21:53:50 [Warning] One or more build-args [ARCH] were not consumed 21:53:50 Successfully built 78695c653b60 21:53:50 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:51 21:53:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:51 latest: Pulling from edgex-lftools-log-publisher 21:53:51 5eb5b503b376: Pulling fs layer 21:53:51 5c69ac0246d0: Pulling fs layer 21:53:51 ec43610c2a17: Pulling fs layer 21:53:51 3a2ae6a8a46f: Pulling fs layer 21:53:51 33b1e0a273af: Pulling fs layer 21:53:51 5d3b04190fa2: Pulling fs layer 21:53:51 2f39f015ded8: Pulling fs layer 21:53:51 33b1e0a273af: Waiting 21:53:51 5d3b04190fa2: Waiting 21:53:51 2f39f015ded8: Waiting 21:53:51 3a2ae6a8a46f: Waiting 21:53:51 5c69ac0246d0: Verifying Checksum 21:53:51 5c69ac0246d0: Download complete 21:53:51 3a2ae6a8a46f: Verifying Checksum 21:53:51 3a2ae6a8a46f: Download complete 21:53:51 33b1e0a273af: Verifying Checksum 21:53:51 33b1e0a273af: Download complete 21:53:51 ec43610c2a17: Verifying Checksum 21:53:51 ec43610c2a17: Download complete 21:53:51 5d3b04190fa2: Verifying Checksum 21:53:51 5d3b04190fa2: Download complete 21:53:52 5eb5b503b376: Verifying Checksum 21:53:52 5eb5b503b376: Download complete 21:53:52 2f39f015ded8: Download complete 21:53:53 5eb5b503b376: Pull complete 21:53:53 5c69ac0246d0: Pull complete 21:53:53 ec43610c2a17: Pull complete 21:53:53 3a2ae6a8a46f: Pull complete 21:53:53 33b1e0a273af: Pull complete 21:53:54 5d3b04190fa2: Pull complete 21:53:58 2f39f015ded8: Pull complete 21:53:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:58 prd-ubuntu20.04-docker-8c-8g-6256 does not seem to be running inside a container 21:53:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 21:53:58 using credential edgex-jenkins-ssh 21:53:58 Cloning the remote Git repository 21:53:58 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:53:59 > git init /w/workspace/device-snmp-go/1 # timeout=10 21:53:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:53:59 > git --version # timeout=10 21:53:59 > git --version # 'git version 2.25.1' 21:53:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:54:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:02 Merging remotes/origin/main commit 224900f6885e44699053c83c13a1a421d11bcb33 into PR head commit eb672d49098cce593546c87cd0a7c6393e4e4b33 21:54:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:54:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:54:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:54:02 > git config core.sparsecheckout # timeout=10 21:54:02 > git checkout -f eb672d49098cce593546c87cd0a7c6393e4e4b33 # timeout=10 21:54:04 $ docker top 087162265f06e3642ceacbaf816c4bc9c975a8a1d61dddd573dcb990a1b0bc9e -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:05 Failed in branch arm64 21:54:05 ---> job-cost.sh 21:54:05 lf-activate-venv: SKIPPING 21:54:05 INFO: No Stack... 21:54:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:06 INFO: Archiving Costs [Pipeline] sh 21:54:06 + cat /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/cost.csv 21:54:06 + cut -d, -f6 [Pipeline] lock 21:54:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-279-1-stack-cost] 21:54:06 Resource [jenkins-edgexfoundry-device-snmp-go-PR-279-1-stack-cost] did not exist. Created. 21:54:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:06 Stashed 1 file(s) [Pipeline] } 21:54:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:07 $ docker stop --time=1 087162265f06e3642ceacbaf816c4bc9c975a8a1d61dddd573dcb990a1b0bc9e 21:54:08 $ docker rm -f --volumes 087162265f06e3642ceacbaf816c4bc9c975a8a1d61dddd573dcb990a1b0bc9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:54:10 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-279/archives ] 21:54:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 21:54:10 total 16 21:54:10 drwxr-xr-x 3 root root 4096 Mar 29 21:54 . 21:54:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:54 .. 21:54:10 drwxr-xr-x 2 root root 4096 Mar 29 21:54 cost 21:54:10 -rw-r--r-- 1 root root 86 Mar 29 21:54 cost.csv 21:54:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 21:54:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-279/archives 21:54:10 total 16 21:54:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 21:54 . 21:54:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 21:54 .. 21:54:10 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 21:54 cost 21:54:10 -rw-r--r-- 1 jenkins jenkins 86 Mar 29 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:54:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:54:11 ---> package-listing.sh 21:54:11 ++ facter osfamily 21:54:11 ++ tr '[:upper:]' '[:lower:]' 21:54:11 + OS_FAMILY=debian 21:54:11 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-279 21:54:11 + START_PACKAGES=/tmp/packages_start.txt 21:54:11 + END_PACKAGES=/tmp/packages_end.txt 21:54:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:54:11 + PACKAGES=/tmp/packages_start.txt 21:54:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' 21:54:11 + PACKAGES=/tmp/packages_end.txt 21:54:11 + case "${OS_FAMILY}" in 21:54:11 + dpkg -l 21:54:11 + grep '^ii' 21:54:11 + '[' -f /tmp/packages_start.txt ']' 21:54:11 + '[' -f /tmp/packages_end.txt ']' 21:54:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:54:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-279 ']' 21:54:11 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/ 21:54:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-279/archives/ [Pipeline] echo 21:54:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:54:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:13 prd-ubuntu20.04-docker-8c-8g-6256 does not seem to be running inside a container 21:54:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-279/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-279 -v /w/workspace/gexfoundry_device-snmp-go_PR-279:/w/workspace/gexfoundry_device-snmp-go_PR-279:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-279@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-279@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:13 $ docker top 86fed0e07073edd979c75ca5b5f958f366cff670ed38a3883724abd1fc78ceec -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:13 + touch /tmp/pre-build-complete [Pipeline] sh 21:54:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:54:14 + ls /var/log/sa-host 21:54:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:14 provisioning config files... 21:54:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-279@tmp/config6083762418392152050tmp [Pipeline] { [Pipeline] echo 21:54:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:54:14 ---> create-netrc.sh [Pipeline] } 21:54:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:54:15 ---> python-tools-install.sh [Pipeline] echo 21:54:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:54:15 ---> sudo-logs.sh 21:54:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:54:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:54:16 ---> job-cost.sh 21:54:16 lf-activate-venv: SKIPPING 21:54:16 DEBUG: total: 0.2199999988079071 21:54:16 INFO: Retrieving Stack Cost... 21:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:16 INFO: Archiving Costs [Pipeline] echo 21:54:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:54:17 ---> logs-deploy.sh 21:54:17 lf-activate-venv: SKIPPING 21:54:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-279/1 21:54:17 INFO: archiving workspace using pattern(s): 21:54:17 Archives upload complete. 21:54:17 INFO: archiving logs to Nexus