Pull request #200 updated Pull request #200 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 ejlee3 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b rather than 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Obtained Jenkinsfile from dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 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-ssh10905724595145821644.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13515403951980970304.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9070997439698557720.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh10999515499887453604.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9669875145247705506.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117258 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [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-200 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Merge succeeded, producing 46f9372487fc1fab33374bf7bf8d5f258f9e4986 Checking out Revision 46f9372487fc1fab33374bf7bf8d5f258f9e4986 (PR-200) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 Commit message: "fix spelling" > git rev-list --no-walk 8c35f609cce998e64b9585d07d2e76bd384f8bf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:36:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:36:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:36:19 ========================================================= 19:36:19 EdgeX Global Pipelines Version Info 19:36:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:36:19 ------------------- 19:36:19 stable info: 19:36:19 ------------------- 19:36:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:36:19 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:36:19 Message: update stable to v1.0.243 19:36:20 ------------------- 19:36:20 experimental info: 19:36:20 ------------------- 19:36:20 Commited By: **** collab-it+edgex@linuxfoundation.org 19:36:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:36:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 19:36:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo 19:36:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46f9372 [Pipeline] echo 19:36:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:36:21 provisioning config files... 19:36:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config4310462497932281746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:21 ---> docker-login.sh 19:36:21 nexus3.edgexfoundry.org:10001 19:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:21 Configure a credential helper to remove this warning. See 19:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:21 19:36:21 Login Succeeded 19:36:21 nexus3.edgexfoundry.org:10002 19:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:21 Configure a credential helper to remove this warning. See 19:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:21 19:36:21 Login Succeeded 19:36:21 nexus3.edgexfoundry.org:10003 19:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:21 Configure a credential helper to remove this warning. See 19:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:21 19:36:21 Login Succeeded 19:36:21 nexus3.edgexfoundry.org:10004 19:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:22 Configure a credential helper to remove this warning. See 19:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:22 19:36:22 Login Succeeded 19:36:22 docker.io 19:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:22 Configure a credential helper to remove this warning. See 19:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:22 19:36:22 Login Succeeded 19:36:22 ---> docker-login.sh ends [Pipeline] } 19:36:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:36:22 + git rev-list -1 --merges 46f9372487fc1fab33374bf7bf8d5f258f9e4986~1..46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo 19:36:22 -----------> git rev-list -1 --merges 46f9372487fc1fab33374bf7bf8d5f258f9e4986~1..46f9372487fc1fab33374bf7bf8d5f258f9e4986 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [false] [Pipeline] sh 19:36:23 + git log --format=format:%s -1 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo 19:36:23 ========================================================= 19:36:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:36:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:36:23 + git log --format=format:%s -1 46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] echo 19:36:23 [semverPrep] GIT_COMMIT: 46f9372487fc1fab33374bf7bf8d5f258f9e4986, Commit Message: fix spelling [Pipeline] echo 19:36:23 [semverPrep] This is not a build commit. [Pipeline] sh 19:36:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:36:23 + grep -v github /etc/ssh/ssh_known_hosts 19:36:23 + [ -e /tmp/ssh_known_hosts ] 19:36:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:36:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:36:23 + sudo tee -a /etc/ssh/ssh_known_hosts 19:36:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:36:24 19:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:36:24 0.1.4: Pulling from edgex-devops/py-git-semver 19:36:24 b85a868b505f: Pulling fs layer 19:36:24 e2be974225ed: Pulling fs layer 19:36:24 339a4e72a1f5: Pulling fs layer 19:36:24 988bab9f4d93: Pulling fs layer 19:36:24 1469e6f7b9e6: Pulling fs layer 19:36:24 eaf3925da568: Pulling fs layer 19:36:24 bab4dde63d76: Pulling fs layer 19:36:24 bde34c3a00c8: Pulling fs layer 19:36:24 b352a97aabf1: Pulling fs layer 19:36:24 4872d77fe225: Pulling fs layer 19:36:24 5851b861e8e6: Pulling fs layer 19:36:24 bab4dde63d76: Waiting 19:36:24 bde34c3a00c8: Waiting 19:36:24 b352a97aabf1: Waiting 19:36:24 4872d77fe225: Waiting 19:36:24 5851b861e8e6: Waiting 19:36:24 988bab9f4d93: Waiting 19:36:24 1469e6f7b9e6: Waiting 19:36:24 eaf3925da568: Waiting 19:36:24 e2be974225ed: Download complete 19:36:24 988bab9f4d93: Verifying Checksum 19:36:24 988bab9f4d93: Download complete 19:36:25 1469e6f7b9e6: Verifying Checksum 19:36:25 1469e6f7b9e6: Download complete 19:36:25 339a4e72a1f5: Verifying Checksum 19:36:25 339a4e72a1f5: Download complete 19:36:25 eaf3925da568: Verifying Checksum 19:36:25 eaf3925da568: Download complete 19:36:25 bde34c3a00c8: Verifying Checksum 19:36:25 bde34c3a00c8: Download complete 19:36:25 b352a97aabf1: Verifying Checksum 19:36:25 b352a97aabf1: Download complete 19:36:25 4872d77fe225: Download complete 19:36:25 5851b861e8e6: Verifying Checksum 19:36:25 5851b861e8e6: Download complete 19:36:25 b85a868b505f: Verifying Checksum 19:36:25 b85a868b505f: Download complete 19:36:26 bab4dde63d76: Verifying Checksum 19:36:26 bab4dde63d76: Download complete 19:36:26 b85a868b505f: Pull complete 19:36:26 e2be974225ed: Pull complete 19:36:27 339a4e72a1f5: Pull complete 19:36:27 988bab9f4d93: Pull complete 19:36:27 1469e6f7b9e6: Pull complete 19:36:27 eaf3925da568: Pull complete 19:36:29 bab4dde63d76: Pull complete 19:36:29 bde34c3a00c8: Pull complete 19:36:29 b352a97aabf1: Pull complete 19:36:29 4872d77fe225: Pull complete 19:36:29 5851b861e8e6: Pull complete 19:36:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:36:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:36:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:36:30 prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container 19:36:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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-devops/py-git-semver:0.1.4 cat 19:36:32 $ docker top 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 -eo pid,comm 19:36:32 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). 19:36:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:36:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:36:32 [ssh-agent] Looking for ssh-agent implementation... 19:36:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:36:32 $ docker exec 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent 19:36:32 SSH_AUTH_SOCK=/tmp/ssh-fwcxV4lzhfhk/agent.33 19:36:32 SSH_AGENT_PID=39 19:36:32 Running ssh-add (command line suppressed) 19:36:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_13515957681433525472.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_13515957681433525472.key) 19:36:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:36:32 + git tag --points-at HEAD [Pipeline] } 19:36:32 $ docker exec --env ******** --env ******** 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent -k 19:36:33 unset SSH_AUTH_SOCK; 19:36:33 unset SSH_AGENT_PID; 19:36:33 echo Agent pid 39 killed; 19:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:36:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:36:33 [ssh-agent] Looking for ssh-agent implementation... 19:36:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:36:33 $ docker exec 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent 19:36:33 SSH_AUTH_SOCK=/tmp/ssh-2CWSMzhlsBD0/agent.71 19:36:33 SSH_AGENT_PID=77 19:36:33 Running ssh-add (command line suppressed) 19:36:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_17487296074958231060.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_17487296074958231060.key) 19:36:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:36:33 + git semver init 19:36:34 2022-10-26 19:36:33,909 [run_init] DEBUG init version:0.0.0 force:False 19:36:34 2022-10-26 19:36:33,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver 19:36:34 2022-10-26 19:36:33,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver 19:36:34 2022-10-26 19:36:33,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200, universal_newlines=False, shell=None, istream=None) 19:36:34 2022-10-26 19:36:34,892 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.git/info/exclude 19:36:34 2022-10-26 19:36:34,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 with force:False 19:36:34 2022-10-26 19:36:34,893 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 19:36:34 2022-10-26 19:36:34,896 [execute] INFO git cat-file --batch-check 19:36:34 2022-10-26 19:36:34,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) 19:36:34 2022-10-26 19:36:34,902 [execute] INFO git cat-file --batch 19:36:34 2022-10-26 19:36:34,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) 19:36:34 2022-10-26 19:36:34,907 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 19:36:34 0.0.0 [Pipeline] } 19:36:34 $ docker exec --env ******** --env ******** 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 ssh-agent -k 19:36:35 unset SSH_AUTH_SOCK; 19:36:35 unset SSH_AGENT_PID; 19:36:35 echo Agent pid 77 killed; 19:36:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:36:35 + git semver [Pipeline] } 19:36:35 $ docker stop --time=1 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 19:36:37 $ docker rm -f 7cc1098b56c2d4a29cfbefb3b0b80ee96ae56b29c30b1ebac7c7971efed11895 [Pipeline] // withDockerContainer [Pipeline] sh 19:36:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:36:37 Stashed 1 file(s) [Pipeline] echo 19:36:37 [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 19:36:37 provisioning config files... 19:36:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config9972100801672212509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:37 ---> docker-login.sh 19:36:37 nexus3.edgexfoundry.org:10001 19:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:37 Configure a credential helper to remove this warning. See 19:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:37 19:36:37 Login Succeeded 19:36:37 nexus3.edgexfoundry.org:10002 19:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:37 Configure a credential helper to remove this warning. See 19:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:37 19:36:37 Login Succeeded 19:36:37 nexus3.edgexfoundry.org:10003 19:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:38 Configure a credential helper to remove this warning. See 19:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:38 19:36:38 Login Succeeded 19:36:38 nexus3.edgexfoundry.org:10004 19:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:38 Configure a credential helper to remove this warning. See 19:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:38 19:36:38 Login Succeeded 19:36:38 docker.io 19:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:38 Configure a credential helper to remove this warning. See 19:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:38 19:36:38 Login Succeeded 19:36:38 ---> docker-login.sh ends [Pipeline] } 19:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:36:38 ========================================================= 19:36:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:36:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:36:39 Sending build context to Docker daemon 5.618MB 19:36:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:36:39 Step 2/12 : FROM ${BASE} AS builder 19:36:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:36:39 213ec9aee27d: Pulling fs layer 19:36:39 4583459ba037: Pulling fs layer 19:36:39 93c1e223e6f2: Pulling fs layer 19:36:39 53926ce57604: Pulling fs layer 19:36:39 21b2b0c7a3f4: Pulling fs layer 19:36:39 30f14e443154: Pulling fs layer 19:36:39 801331c1e519: Pulling fs layer 19:36:39 99cc6dd402b0: Pulling fs layer 19:36:39 7d9ed39f4882: Pulling fs layer 19:36:39 801331c1e519: Waiting 19:36:39 99cc6dd402b0: Waiting 19:36:39 7d9ed39f4882: Waiting 19:36:39 30f14e443154: Waiting 19:36:39 21b2b0c7a3f4: Waiting 19:36:39 53926ce57604: Waiting 19:36:39 93c1e223e6f2: Verifying Checksum 19:36:39 93c1e223e6f2: Download complete 19:36:39 4583459ba037: Download complete 19:36:39 21b2b0c7a3f4: Verifying Checksum 19:36:39 21b2b0c7a3f4: Download complete 19:36:39 30f14e443154: Verifying Checksum 19:36:39 30f14e443154: Download complete 19:36:39 213ec9aee27d: Verifying Checksum 19:36:39 213ec9aee27d: Download complete 19:36:39 801331c1e519: Verifying Checksum 19:36:39 801331c1e519: Download complete 19:36:39 213ec9aee27d: Pull complete 19:36:39 4583459ba037: Pull complete 19:36:39 93c1e223e6f2: Pull complete 19:36:40 7d9ed39f4882: Verifying Checksum 19:36:40 53926ce57604: Verifying Checksum 19:36:40 53926ce57604: Download complete 19:36:40 99cc6dd402b0: Download complete 19:36:44 53926ce57604: Pull complete 19:36:44 21b2b0c7a3f4: Pull complete 19:36:44 30f14e443154: Pull complete 19:36:44 801331c1e519: Pull complete 19:36:46 99cc6dd402b0: Pull complete 19:36:46 7d9ed39f4882: Pull complete 19:36:46 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 19:36:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:36:46 ---> 1dedd983c030 19:36:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:36:48 ---> Running in 0fa266d81a5d 19:36:48 Removing intermediate container 0fa266d81a5d 19:36:48 ---> 1e3450c82981 19:36:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:36:48 ---> Running in c484eed39d87 19:36:48 Removing intermediate container c484eed39d87 19:36:48 ---> 325db48cd643 19:36:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:36:48 ---> Running in 3d0deb84aceb 19:36:48 Removing intermediate container 3d0deb84aceb 19:36:48 ---> 1e44142e258e 19:36:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:36:48 ---> Running in 19c16f9d31cd 19:36:49 Removing intermediate container 19c16f9d31cd 19:36:49 ---> 188d94fbe6ee 19:36:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:36:49 ---> Running in 5c4b9b6395a6 19:36:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:36:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:36:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:36:49 (2/4) Installing libedit (20210910.3.1-r0) 19:36:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:36:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:36:49 Executing busybox-1.35.0-r17.trigger 19:36:50 OK: 216 MiB in 55 packages 19:36:50 Removing intermediate container 5c4b9b6395a6 19:36:50 ---> 04dbaecd9b1d 19:36:50 Step 8/12 : WORKDIR /device-snmp-go 19:36:50 ---> Running in 25aecffc55cf 19:36:50 Removing intermediate container 25aecffc55cf 19:36:50 ---> 6c934e24d158 19:36:50 Step 9/12 : COPY go.mod vendor* ./ 19:36:50 ---> ac5e8d281d11 19:36:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:36:51 ---> Running in bc1b13947a3e 19:36:52 Still waiting to schedule task 19:36:52 ‘prd-ubuntu20.04-docker-8c-8g-117268’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:36:52 ‘prd-ubuntu20.04-docker-8c-8g-117269’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:36:52 ‘prd-ubuntu20.04-docker-8c-8g-117270’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:36:52 ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:36:52 ‘prd-ubuntu20.04-docker-8c-8g-117272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117262’ is offline 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117263’ is offline 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117264’ is offline 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117265’ is offline 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117266’ is offline 19:36:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117267’ is offline 19:37:09 Removing intermediate container bc1b13947a3e 19:37:09 ---> a9ea7949d8f6 19:37:09 Step 11/12 : COPY . . 19:37:09 ---> 73d823f92902 19:37:09 Step 12/12 : RUN ${MAKE} 19:37:09 ---> Running in 57e4bebf8e74 19:37:10 noop 19:37:10 Removing intermediate container 57e4bebf8e74 19:37:10 ---> ac1bf8a3807d 19:37:10 Successfully built ac1bf8a3807d 19:37:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:10 + docker inspect -f . ci-base-image-x86_64 19:37:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:37:11 prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container 19:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:37:11 $ docker top 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:37:12 + go version 19:37:12 go version go1.18.7 linux/amd64 [Pipeline] } 19:37:12 $ docker stop --time=1 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 19:37:13 $ docker rm -f 96863171fe77db30d5e6d9fb8800a468a59b4f18f255fd4c591714718e9d48b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:14 + docker inspect -f . ci-base-image-x86_64 19:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:37:14 prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container 19:37:14 $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:37:14 $ docker top e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:37:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] fileExists [Pipeline] sh 19:37:15 + make test 19:37:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:37:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:37:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:37:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 19:37:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 19:37:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:37:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:37:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:37:34 ./bin/test-attribution-txt.sh [Pipeline] echo 19:37:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:37:34 $ docker stop --time=1 e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 19:37:36 $ docker rm -f e684550edf599cc4712d884ab6e7ec60ff02d17599ce159a21865442d4fb34d4 [Pipeline] // withDockerContainer [Pipeline] sh 19:37:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:37:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:37:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:37:37 + ls -al . 19:37:37 total 180 19:37:37 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:37 . 19:37:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 .. 19:37:37 -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 19:36 .dockerignore 19:37:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git 19:37:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 .github 19:37:37 -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 19:36 .gitignore 19:37:37 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:36 .golangci.yml 19:37:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:36 .semver 19:37:37 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 19:36 Attribution.txt 19:37:37 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 19:36 CHANGELOG.md 19:37:37 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 19:36 Dockerfile 19:37:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:36 GOVERNANCE.md 19:37:37 -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 19:36 Jenkinsfile 19:37:37 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:36 LICENSE 19:37:37 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 19:36 Makefile 19:37:37 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:36 OWNERS.md 19:37:37 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 19:36 README.md 19:37:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION 19:37:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 bin 19:37:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 cmd 19:37:37 -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 19:37 coverage.out 19:37:37 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 19:36 go.mod 19:37:37 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 19:36 go.sum 19:37:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 internal 19:37:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 snap 19:37:37 -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 19:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:37 + 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=46f9372487fc1fab33374bf7bf8d5f258f9e4986 --label arch=amd64 --label version=0.0.0 . 19:37:37 Sending build context to Docker daemon 5.626MB 19:37:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:37:37 Step 2/24 : FROM ${BASE} AS builder 19:37:37 ---> ac1bf8a3807d 19:37:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:37:37 ---> Running in 37e5430bbdfb 19:37:37 Removing intermediate container 37e5430bbdfb 19:37:37 ---> 4c126154046a 19:37:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:37:37 ---> Running in 2f297745d608 19:37:38 Removing intermediate container 2f297745d608 19:37:38 ---> 5929947ff41a 19:37:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:37:38 ---> Running in 7c8009020b0c 19:37:38 Removing intermediate container 7c8009020b0c 19:37:38 ---> a40b10e22459 19:37:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:37:38 ---> Running in 774d3b5a62a0 19:37:38 Removing intermediate container 774d3b5a62a0 19:37:38 ---> 12630a9607ca 19:37:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:37:38 ---> Running in ecf4501c17d3 19:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:37:39 OK: 216 MiB in 55 packages 19:37:39 Removing intermediate container ecf4501c17d3 19:37:39 ---> 384f3deb3413 19:37:39 Step 8/24 : WORKDIR /device-snmp-go 19:37:39 ---> Running in fec7da168aea 19:37:39 Removing intermediate container fec7da168aea 19:37:39 ---> 02762577c483 19:37:39 Step 9/24 : COPY go.mod vendor* ./ 19:37:40 ---> 2dec601ac9f1 19:37:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:37:40 ---> Running in 795b8f426c84 19:37:41 Removing intermediate container 795b8f426c84 19:37:41 ---> 631264cbb553 19:37:41 Step 11/24 : COPY . . 19:37:41 ---> f870faa6af6f 19:37:41 Step 12/24 : RUN ${MAKE} 19:37:41 ---> Running in 3fa5c2cf8802 19:37:41 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 19:38:03 Removing intermediate container 3fa5c2cf8802 19:38:03 ---> 6ecaf78887e7 19:38:03 Step 13/24 : FROM alpine:3.16 19:38:03 3.16: Pulling from library/alpine 19:38:03 213ec9aee27d: Already exists 19:38:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:38:03 Status: Downloaded newer image for alpine:3.16 19:38:03 ---> 9c6f07244728 19:38:03 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 19:38:03 ---> Running in 2fb1c96ba403 19:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:38:03 (1/6) Installing dumb-init (1.2.5-r1) 19:38:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:38:03 (3/6) Installing libsodium (1.0.18-r0) 19:38:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:38:03 (5/6) Installing libzmq (4.3.4-r0) 19:38:03 (6/6) Installing zeromq (4.3.4-r0) 19:38:03 Executing busybox-1.35.0-r17.trigger 19:38:03 OK: 8 MiB in 20 packages 19:38:03 Removing intermediate container 2fb1c96ba403 19:38:03 ---> 4e3a22d8bdce 19:38:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 19:38:03 ---> 468cd5cd3289 19:38:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:38:03 ---> 1d3c0e16ced4 19:38:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 19:38:03 ---> b7e496d7b993 19:38:03 Step 18/24 : EXPOSE 59993 19:38:03 ---> Running in 81022027d9f9 19:38:03 Removing intermediate container 81022027d9f9 19:38:03 ---> e2bc4c5a3e6a 19:38:03 Step 19/24 : EXPOSE 161 19:38:03 ---> Running in c7d86df7f939 19:38:03 Removing intermediate container c7d86df7f939 19:38:03 ---> e504e005f769 19:38:03 Step 20/24 : ENTRYPOINT ["/device-snmp"] 19:38:03 ---> Running in 87cff50a5320 19:38:03 Removing intermediate container 87cff50a5320 19:38:03 ---> 3468acdec39b 19:38:03 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:38:03 ---> Running in 64f498fcba08 19:38:03 Removing intermediate container 64f498fcba08 19:38:03 ---> 600aa7750d54 19:38:03 Step 22/24 : LABEL arch=amd64 19:38:03 ---> Running in 47655d10224e 19:38:03 Removing intermediate container 47655d10224e 19:38:03 ---> dd5099c969f2 19:38:03 Step 23/24 : LABEL git_sha=46f9372487fc1fab33374bf7bf8d5f258f9e4986 19:38:03 ---> Running in 69cb3171f1b0 19:38:03 Removing intermediate container 69cb3171f1b0 19:38:03 ---> e37f0701d667 19:38:03 Step 24/24 : LABEL version=0.0.0 19:38:03 ---> Running in 46a211072c68 19:38:03 Removing intermediate container 46a211072c68 19:38:03 ---> 1b8366489a35 19:38:03 [Warning] One or more build-args [ARCH] were not consumed 19:38:03 Successfully built 1b8366489a35 19:38:03 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 19:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:38:04 19:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:38:04 latest: Pulling from edgex-lftools-log-publisher 19:38:04 5eb5b503b376: Pulling fs layer 19:38:04 5c69ac0246d0: Pulling fs layer 19:38:04 ec43610c2a17: Pulling fs layer 19:38:04 3a2ae6a8a46f: Pulling fs layer 19:38:04 33b1e0a273af: Pulling fs layer 19:38:04 5d3b04190fa2: Pulling fs layer 19:38:04 2f39f015ded8: Pulling fs layer 19:38:04 3a2ae6a8a46f: Waiting 19:38:04 33b1e0a273af: Waiting 19:38:04 5d3b04190fa2: Waiting 19:38:04 2f39f015ded8: Waiting 19:38:04 5c69ac0246d0: Verifying Checksum 19:38:04 5c69ac0246d0: Download complete 19:38:04 3a2ae6a8a46f: Download complete 19:38:04 33b1e0a273af: Verifying Checksum 19:38:04 33b1e0a273af: Download complete 19:38:04 5d3b04190fa2: Verifying Checksum 19:38:04 5d3b04190fa2: Download complete 19:38:04 ec43610c2a17: Verifying Checksum 19:38:04 ec43610c2a17: Download complete 19:38:04 5eb5b503b376: Download complete 19:38:05 2f39f015ded8: Download complete 19:38:05 5eb5b503b376: Pull complete 19:38:05 5c69ac0246d0: Pull complete 19:38:06 ec43610c2a17: Pull complete 19:38:06 3a2ae6a8a46f: Pull complete 19:38:06 33b1e0a273af: Pull complete 19:38:06 5d3b04190fa2: Pull complete 19:38:10 2f39f015ded8: Pull complete 19:38:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:38:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:38:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:11 prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container 19:38:11 $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:38:12 $ docker top b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:13 ---> job-cost.sh 19:38:13 lf-activate-venv: SKIPPING 19:38:13 INFO: No Stack... 19:38:13 INFO: Retrieving Pricing Info for: v3-standard-8 19:38:13 INFO: Archiving Costs [Pipeline] sh 19:38:13 + cat /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/cost.csv 19:38:13 + cut -d, -f6 [Pipeline] lock 19:38:13 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] 19:38:13 Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] did not exist. Created. 19:38:13 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:38:14 + echo total: 0.2199999988079071 [Pipeline] stash 19:38:14 Stashed 1 file(s) [Pipeline] } 19:38:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:38:14 $ docker stop --time=1 b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 19:38:15 $ docker rm -f b4f4d969f54aaa319b63046a881e51cb2ea026652c4875951226b3c10e34bd29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:38:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117273 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] { [Pipeline] ws 19:38:58 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 19:38:58 Selected Git installation does not exist. Using Default 19:38:58 The recommended git tool is: NONE 19:39:06 using credential edgex-jenkins-ssh 19:39:06 Cloning the remote Git repository 19:39:06 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:39:06 > git init /w/workspace/device-snmp-go/3 # timeout=10 19:39:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:39:06 > git --version # timeout=10 19:39:06 > git --version # 'git version 2.25.1' 19:39:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:06 Verifying host key using known hosts file 19:39:07 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:39:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:39:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:39:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:39:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:39:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:39:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:09 Verifying host key using known hosts file 19:39:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:39:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:39:10 Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 46f9372487fc1fab33374bf7bf8d5f258f9e4986 19:39:10 > git config core.sparsecheckout # timeout=10 19:39:10 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 19:39:16 Merge succeeded, producing 46f9372487fc1fab33374bf7bf8d5f258f9e4986 19:39:16 Checking out Revision 46f9372487fc1fab33374bf7bf8d5f258f9e4986 (PR-200) 19:39:15 > git remote # timeout=10 19:39:16 > git config --get remote.origin.url # timeout=10 19:39:16 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:16 Verifying host key using known hosts file 19:39:16 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:39:16 > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 19:39:16 > git rev-parse HEAD^{commit} # timeout=10 19:39:16 > git config core.sparsecheckout # timeout=10 19:39:16 > git checkout -f 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 19:39:19 Commit message: "fix spelling" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:39:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:39:20 % Total % Received % Xferd Average Speed Time Time Time Current 19:39:20 Dload Upload Total Spent Left Speed 19:39:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 19:39:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:39:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:39:21 + sudo tee /etc/docker/daemon.new 19:39:21 { 19:39:21 "registry-mirrors": [ 19:39:21 "https://nexus3.edgexfoundry.org:10001" 19:39:21 ], 19:39:21 "bip": "10.250.0.254/24", 19:39:21 "hosts": [ 19:39:21 "tcp://0.0.0.0:5555", 19:39:21 "unix:///var/run/docker.sock" 19:39:21 ], 19:39:21 "mtu": 1458, 19:39:21 "selinux-enabled": true, 19:39:21 "seccomp-profile": "/etc/docker/seccomp.json" 19:39:21 } [Pipeline] sh 19:39:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:39:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:39:40 provisioning config files... 19:39:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config1057683569998787034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:39:41 ---> docker-login.sh 19:39:41 nexus3.edgexfoundry.org:10001 19:39:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:42 Configure a credential helper to remove this warning. See 19:39:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:42 19:39:42 Login Succeeded 19:39:42 nexus3.edgexfoundry.org:10002 19:39:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:42 Configure a credential helper to remove this warning. See 19:39:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:42 19:39:42 Login Succeeded 19:39:42 nexus3.edgexfoundry.org:10003 19:39:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:42 Configure a credential helper to remove this warning. See 19:39:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:42 19:39:42 Login Succeeded 19:39:42 nexus3.edgexfoundry.org:10004 19:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:43 Configure a credential helper to remove this warning. See 19:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:43 19:39:43 Login Succeeded 19:39:43 docker.io 19:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:43 Configure a credential helper to remove this warning. See 19:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:43 19:39:43 Login Succeeded 19:39:43 ---> docker-login.sh ends [Pipeline] } 19:39:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:39:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:39:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:39:44 ========================================================= 19:39:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:39:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:39:44 Sending build context to Docker daemon 2.941MB 19:39:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:39:44 Step 2/12 : FROM ${BASE} AS builder 19:39:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:39:45 9b18e9b68314: Pulling fs layer 19:39:45 d32db5db7311: Pulling fs layer 19:39:45 d0c4b47475fc: Pulling fs layer 19:39:45 5831b945b038: Pulling fs layer 19:39:45 86bbec2aaacd: Pulling fs layer 19:39:45 e10730c5d714: Pulling fs layer 19:39:45 5dd5c2283517: Pulling fs layer 19:39:45 d5ac0230b979: Pulling fs layer 19:39:45 5831b945b038: Waiting 19:39:45 86bbec2aaacd: Waiting 19:39:45 e10730c5d714: Waiting 19:39:45 5dd5c2283517: Waiting 19:39:45 d5ac0230b979: Waiting 19:39:45 d0c4b47475fc: Verifying Checksum 19:39:45 d0c4b47475fc: Download complete 19:39:45 d32db5db7311: Download complete 19:39:45 86bbec2aaacd: Verifying Checksum 19:39:45 86bbec2aaacd: Download complete 19:39:45 e10730c5d714: Download complete 19:39:45 9b18e9b68314: Verifying Checksum 19:39:45 9b18e9b68314: Download complete 19:39:46 9b18e9b68314: Pull complete 19:39:46 d5ac0230b979: Verifying Checksum 19:39:46 d5ac0230b979: Download complete 19:39:47 d32db5db7311: Pull complete 19:39:47 d0c4b47475fc: Pull complete 19:39:47 5dd5c2283517: Download complete 19:39:48 5831b945b038: Verifying Checksum 19:39:48 5831b945b038: Download complete 19:40:00 5831b945b038: Pull complete 19:40:00 86bbec2aaacd: Pull complete 19:40:01 e10730c5d714: Pull complete 19:40:07 5dd5c2283517: Pull complete 19:40:09 d5ac0230b979: Pull complete 19:40:09 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:40:09 ---> 59b3b1a385d4 19:40:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:40:11 ---> Running in d21fa11ae08f 19:40:11 Removing intermediate container d21fa11ae08f 19:40:11 ---> 3be79acac827 19:40:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:40:11 ---> Running in a45c4ce81890 19:40:12 Removing intermediate container a45c4ce81890 19:40:12 ---> c17df0e47a86 19:40:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:40:12 ---> Running in 6bd5d7e79d57 19:40:12 Removing intermediate container 6bd5d7e79d57 19:40:12 ---> 59f24257ec89 19:40:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:40:12 ---> Running in 591fcca77711 19:40:13 Removing intermediate container 591fcca77711 19:40:13 ---> 3a137eaf32c0 19:40:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:40:13 ---> Running in df86aab26c51 19:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:40:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:40:15 (2/4) Installing libedit (20210910.3.1-r0) 19:40:16 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:40:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:40:16 Executing busybox-1.35.0-r17.trigger 19:40:16 OK: 226 MiB in 55 packages 19:40:17 Removing intermediate container df86aab26c51 19:40:17 ---> 6c7d4b23f9c7 19:40:17 Step 8/12 : WORKDIR /device-snmp-go 19:40:17 ---> Running in 4775e308a65f 19:40:17 Removing intermediate container 4775e308a65f 19:40:17 ---> 975410736542 19:40:17 Step 9/12 : COPY go.mod vendor* ./ 19:40:18 ---> 75bfc5e30439 19:40:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:40:18 ---> Running in 45842ff6a280 19:41:14 Removing intermediate container 45842ff6a280 19:41:14 ---> c97554dfd78e 19:41:14 Step 11/12 : COPY . . 19:41:15 ---> 63cbc7832c39 19:41:15 Step 12/12 : RUN ${MAKE} 19:41:15 ---> Running in 22bd3417fea2 19:41:16 noop 19:41:17 Removing intermediate container 22bd3417fea2 19:41:17 ---> e440d48ae88b 19:41:17 Successfully built e440d48ae88b 19:41:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:41:17 + docker inspect -f . ci-base-image-arm64 19:41:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:41:17 prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container 19:41:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:41:19 $ docker top 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb -eo pid,comm [Pipeline] { [Pipeline] sh 19:41:20 + go version 19:41:20 go version go1.18.7 linux/arm64 [Pipeline] } 19:41:20 $ docker stop --time=1 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb 19:41:21 $ docker rm -f 2becaf8ddb7325c5553c3b6c26bbad2e734293d04058b2a932dc2e59002aacfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:41:22 + docker inspect -f . ci-base-image-arm64 19:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:41:22 prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container 19:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:41:24 $ docker top cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c -eo pid,comm [Pipeline] { [Pipeline] sh 19:41:24 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 19:41:25 + make test 19:41:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:41:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:43:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:43:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements 19:43:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:43:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:43:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:43:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:43:41 ./bin/test-attribution-txt.sh [Pipeline] echo 19:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:43:41 $ docker stop --time=1 cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c 19:43:43 $ docker rm -f cdc74448cb00ee9e08308957a5b87c16b5bf9bbed228abb3c35950c9fb75489c [Pipeline] // withDockerContainer [Pipeline] sh 19:43:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:43:44 Warning: overwriting stash ‘coverage-report’ 19:43:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:43:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:43:45 + ls -al . 19:43:45 total 176 19:43:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:41 . 19:43:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:39 .. 19:43:45 -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 19:39 .dockerignore 19:43:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:39 .git 19:43:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 .github 19:43:45 -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 19:39 .gitignore 19:43:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:39 .golangci.yml 19:43:45 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 19:39 Attribution.txt 19:43:45 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 19:39 CHANGELOG.md 19:43:45 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 19:39 Dockerfile 19:43:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:39 GOVERNANCE.md 19:43:45 -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 19:39 Jenkinsfile 19:43:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:39 LICENSE 19:43:45 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 19:39 Makefile 19:43:45 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:39 OWNERS.md 19:43:45 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 19:39 README.md 19:43:45 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION 19:43:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:39 bin 19:43:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 cmd 19:43:45 -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 19:43 coverage.out 19:43:45 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 19:39 go.mod 19:43:45 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 19:39 go.sum 19:43:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:39 internal 19:43:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:39 snap 19:43:45 -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 19:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:45 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=46f9372487fc1fab33374bf7bf8d5f258f9e4986 --label arch=arm64 --label version=0.0.0 . 19:43:46 Sending build context to Docker daemon 2.95MB 19:43:46 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:43:46 Step 2/24 : FROM ${BASE} AS builder 19:43:46 ---> e440d48ae88b 19:43:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:43:46 ---> Running in 8b4296ae55ea 19:43:46 Removing intermediate container 8b4296ae55ea 19:43:46 ---> 55849abcaa69 19:43:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:43:46 ---> Running in e6ee46b82a44 19:43:46 Removing intermediate container e6ee46b82a44 19:43:46 ---> 209fe0d7e197 19:43:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:43:47 ---> Running in 7a93c2cb2b67 19:43:47 Removing intermediate container 7a93c2cb2b67 19:43:47 ---> a2631df97521 19:43:47 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:43:47 ---> Running in 8eee0a6dd7c4 19:43:47 Removing intermediate container 8eee0a6dd7c4 19:43:47 ---> 8b354f745dc1 19:43:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:48 ---> Running in fb900befcb4a 19:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:43:50 OK: 226 MiB in 55 packages 19:43:51 Removing intermediate container fb900befcb4a 19:43:51 ---> f5ef3f01b3d2 19:43:51 Step 8/24 : WORKDIR /device-snmp-go 19:43:51 ---> Running in 09db9653cb5b 19:43:51 Removing intermediate container 09db9653cb5b 19:43:51 ---> 98e03f0615e2 19:43:51 Step 9/24 : COPY go.mod vendor* ./ 19:43:52 ---> 42ee49667f1b 19:43:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:52 ---> Running in 319a3504182d 19:43:54 Removing intermediate container 319a3504182d 19:43:54 ---> 71e528433206 19:43:54 Step 11/24 : COPY . . 19:43:55 ---> ce15b93ea466 19:43:55 Step 12/24 : RUN ${MAKE} 19:43:55 ---> Running in ddb887371a88 19:43:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 19:46:33 Removing intermediate container ddb887371a88 19:46:33 ---> cdbfebc33d39 19:46:33 Step 13/24 : FROM alpine:3.16 19:46:33 3.16: Pulling from library/alpine 19:46:33 9b18e9b68314: Already exists 19:46:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:46:33 Status: Downloaded newer image for alpine:3.16 19:46:33 ---> a6215f271958 19:46:33 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 19:46:33 ---> Running in 21cf067d239d 19:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:46:33 (1/6) Installing dumb-init (1.2.5-r1) 19:46:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:46:33 (3/6) Installing libsodium (1.0.18-r0) 19:46:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:46:33 (5/6) Installing libzmq (4.3.4-r0) 19:46:33 (6/6) Installing zeromq (4.3.4-r0) 19:46:33 Executing busybox-1.35.0-r17.trigger 19:46:33 OK: 8 MiB in 20 packages 19:46:33 Removing intermediate container 21cf067d239d 19:46:33 ---> 08f5afbcc104 19:46:33 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 19:46:33 ---> c15d97b23b82 19:46:33 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:46:33 ---> 61ab451292c1 19:46:33 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 19:46:34 ---> ce2f1acbc62e 19:46:34 Step 18/24 : EXPOSE 59993 19:46:34 ---> Running in 70ad30089d09 19:46:34 Removing intermediate container 70ad30089d09 19:46:34 ---> dfea74b1b48b 19:46:34 Step 19/24 : EXPOSE 161 19:46:34 ---> Running in c2a8336a472a 19:46:34 Removing intermediate container c2a8336a472a 19:46:34 ---> ace38648b47e 19:46:34 Step 20/24 : ENTRYPOINT ["/device-snmp"] 19:46:34 ---> Running in 0b4294f2646a 19:46:35 Removing intermediate container 0b4294f2646a 19:46:35 ---> 59b1e5f335aa 19:46:35 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:46:35 ---> Running in 60400cfd6aaf 19:46:35 Removing intermediate container 60400cfd6aaf 19:46:35 ---> c4f1913e80cb 19:46:35 Step 22/24 : LABEL arch=arm64 19:46:35 ---> Running in 787fff4acee6 19:46:36 Removing intermediate container 787fff4acee6 19:46:36 ---> 6bbe12814aa3 19:46:36 Step 23/24 : LABEL git_sha=46f9372487fc1fab33374bf7bf8d5f258f9e4986 19:46:36 ---> Running in 454c315bf073 19:46:36 Removing intermediate container 454c315bf073 19:46:36 ---> 0b290a0a9a58 19:46:36 Step 24/24 : LABEL version=0.0.0 19:46:36 ---> Running in f5a940811464 19:46:36 Removing intermediate container f5a940811464 19:46:36 ---> 6b9e49737f53 19:46:36 [Warning] One or more build-args [ARCH] were not consumed 19:46:36 Successfully built 6b9e49737f53 19:46:36 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:37 19:46:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:37 arm64: Pulling from edgex-lftools-log-publisher 19:46:37 8998bd30e6a1: Pulling fs layer 19:46:37 04944245beec: Pulling fs layer 19:46:37 699f458cf7ca: Pulling fs layer 19:46:37 765212b225bb: Pulling fs layer 19:46:37 f23df028b6ca: Pulling fs layer 19:46:37 d65c8cfc05b1: Pulling fs layer 19:46:37 2437ff75d9bd: Pulling fs layer 19:46:37 765212b225bb: Waiting 19:46:37 f23df028b6ca: Waiting 19:46:37 d65c8cfc05b1: Waiting 19:46:37 2437ff75d9bd: Waiting 19:46:37 04944245beec: Verifying Checksum 19:46:37 04944245beec: Download complete 19:46:37 765212b225bb: Verifying Checksum 19:46:37 765212b225bb: Download complete 19:46:37 f23df028b6ca: Verifying Checksum 19:46:37 f23df028b6ca: Download complete 19:46:37 d65c8cfc05b1: Verifying Checksum 19:46:37 d65c8cfc05b1: Download complete 19:46:37 699f458cf7ca: Verifying Checksum 19:46:37 699f458cf7ca: Download complete 19:46:38 8998bd30e6a1: Verifying Checksum 19:46:38 8998bd30e6a1: Download complete 19:46:40 2437ff75d9bd: Verifying Checksum 19:46:40 2437ff75d9bd: Download complete 19:46:42 8998bd30e6a1: Pull complete 19:46:42 04944245beec: Pull complete 19:46:44 699f458cf7ca: Pull complete 19:46:44 765212b225bb: Pull complete 19:46:45 f23df028b6ca: Pull complete 19:46:45 d65c8cfc05b1: Pull complete 19:47:00 2437ff75d9bd: Pull complete 19:47:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:47:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-117273 does not seem to be running inside a container 19:47:00 $ 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/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:47:03 $ docker top 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:04 ---> job-cost.sh 19:47:04 lf-activate-venv: SKIPPING 19:47:04 INFO: No Stack... 19:47:04 INFO: Retrieving Pricing Info for: v3-standard-4 19:47:05 INFO: Archiving Costs [Pipeline] sh 19:47:05 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 19:47:05 + cut -d, -f6 [Pipeline] lock 19:47:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] 19:47:06 Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] did not exist. Created. 19:47:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:47:06 /w/workspace/device-snmp-go/3@tmp/durable-017e6b47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:47:06 + echo total: 0.10999999940395355 [Pipeline] stash 19:47:06 Warning: overwriting stash ‘stack-cost’ 19:47:07 Stashed 1 file(s) [Pipeline] } 19:47:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:47:07 $ docker stop --time=1 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b 19:47:08 $ docker rm -f 8e44761e7eacbfe10dc641b32ce33d176d329102a7b622d2fe2b88e59392e59b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:47:08 provisioning config files... 19:47:08 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config4290062414752985113tmp [Pipeline] { [Pipeline] sh 19:47:09 + set +x 19:47:09 + curl -s https://codecov.io/bash 19:47:09 + bash -s -- 19:47:09 19:47:09 _____ _ 19:47:09 / ____| | | 19:47:09 | | ___ __| | ___ ___ _____ __ 19:47:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:47:09 | |___| (_) | (_| | __/ (_| (_) \ V / 19:47:09 \_____\___/ \__,_|\___|\___\___/ \_/ 19:47:09 Bash-1.0.6 19:47:09 19:47:09 19:47:09 ==> git version 2.25.1 found 19:47:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:47:09 Release-Date: 2020-01-08 19:47:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:47:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:47:09 ==> Jenkins CI detected. 19:47:09 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-200 19:47:09 project root: . 19:47:09 --> token set from env 19:47:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:47:09 ==> Running gcov in . (disable via -X gcov) 19:47:09 ==> Python coveragepy not found 19:47:09 ==> Searching for coverage reports in: 19:47:09 + . 19:47:09 -> Found 1 reports 19:47:09 ==> Detecting git/mercurial file structure 19:47:09 ==> Reading reports 19:47:09 + ./coverage.out bytes=7631 19:47:09 ==> Appending adjustments 19:47:09 https://docs.codecov.io/docs/fixing-reports 19:47:09 + Found adjustments 19:47:09 ==> Gzipping contents 19:47:09 4.0K /tmp/codecov.pUPMWf.gz 19:47:09 ==> Uploading reports 19:47:09 url: https://codecov.io 19:47:09 query: branch=PR-200&commit=46f9372487fc1fab33374bf7bf8d5f258f9e4986&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= 19:47:09 -> Pinging Codecov 19:47:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-200&commit=46f9372487fc1fab33374bf7bf8d5f258f9e4986&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= 19:47:09 -> Uploading to 19:47:09 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/6C56EA5C29638FB4528AC87E60AF5AE0/46f9372487fc1fab33374bf7bf8d5f258f9e4986/b7c7293a-0f88-496e-868b-bf2b82ec98c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T194709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82430d4906c36ba17147ed3879bcb28c2c03d859221446b55b225e0bfe970229 19:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:09 Dload Upload Total Spent Left Speed 19:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7347 --:--:-- --:--:-- --:--:-- 7347 19:47:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/46f9372487fc1fab33374bf7bf8d5f258f9e4986 [Pipeline] } 19:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:47:10 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-200/archives ] 19:47:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 19:47:10 total 16 19:47:10 drwxr-xr-x 3 root root 4096 Oct 26 19:38 . 19:47:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. 19:47:10 drwxr-xr-x 2 root root 4096 Oct 26 19:38 cost 19:47:10 -rw-r--r-- 1 root root 86 Oct 26 19:38 cost.csv 19:47:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 19:47:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 19:47:10 total 16 19:47:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:38 . 19:47:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:38 .. 19:47:10 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:38 cost 19:47:10 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 19:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:47:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:47:11 ---> package-listing.sh 19:47:11 ++ facter osfamily 19:47:11 ++ tr '[:upper:]' '[:lower:]' 19:47:12 + OS_FAMILY=debian 19:47:12 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-200 19:47:12 + START_PACKAGES=/tmp/packages_start.txt 19:47:12 + END_PACKAGES=/tmp/packages_end.txt 19:47:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:47:12 + PACKAGES=/tmp/packages_start.txt 19:47:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' 19:47:12 + PACKAGES=/tmp/packages_end.txt 19:47:12 + case "${OS_FAMILY}" in 19:47:12 + dpkg -l 19:47:12 + grep '^ii' 19:47:12 + '[' -f /tmp/packages_start.txt ']' 19:47:12 + '[' -f /tmp/packages_end.txt ']' 19:47:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:47:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' 19:47:12 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ 19:47:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [Pipeline] echo 19:47: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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:47:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:47:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:12 prd-ubuntu20.04-docker-8c-8g-117258 does not seem to be running inside a container 19:47:12 $ 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-200/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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:47:13 $ docker top fce8705864f541650629c5d5cccb63911ce7e012850f48c3acb9a541f2d96bcd -eo pid,comm [Pipeline] { [Pipeline] sh 19:47:13 + touch /tmp/pre-build-complete [Pipeline] sh 19:47:13 + mkdir -p /var/log/sysstat [Pipeline] sh 19:47:14 + ls /var/log/sa-host 19:47:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:14 provisioning config files... 19:47:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config9878757203232612687tmp [Pipeline] { [Pipeline] echo 19:47:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:47:14 ---> create-netrc.sh [Pipeline] } 19:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:47:14 ---> python-tools-install.sh [Pipeline] echo 19:47:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:47:15 ---> sudo-logs.sh 19:47:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:47:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:47:15 ---> job-cost.sh 19:47:15 lf-activate-venv: SKIPPING 19:47:15 DEBUG: total: 0.2199999988079071 19:47:15 INFO: Retrieving Stack Cost... 19:47:15 INFO: Retrieving Pricing Info for: v3-standard-8 19:47:16 INFO: Archiving Costs [Pipeline] echo 19:47:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:47:16 ---> logs-deploy.sh 19:47:16 lf-activate-venv: SKIPPING 19:47:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-200/3 19:47:16 INFO: archiving workspace using pattern(s): 19:47:17 Archives upload complete. 19:47:17 INFO: archiving logs to Nexus