Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc201530981e513eba2542fa850395c651a4a8aa 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-ssh17261832981097703903.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4524918885408056153.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2595884582716877923.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5055012216687496325.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15050154081526462662.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-118095 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision cc201530981e513eba2542fa850395c651a4a8aa (main) Commit message: "Merge pull request #201 from lenny-intel/levski-change-log" > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 > git rev-list --no-walk 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:42:49 ========================================================= 09:42:49 EdgeX Global Pipelines Version Info 09:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:42:50 ------------------- 09:42:50 stable info: 09:42:50 ------------------- 09:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:42:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:42:50 Message: update stable to v1.0.244 09:42:51 ------------------- 09:42:51 experimental info: 09:42:51 ------------------- 09:42:51 Commited By: **** collab-it+edgex@linuxfoundation.org 09:42:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:42:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc20153 [Pipeline] echo 09:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:51 provisioning config files... 09:42:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10520199310030277327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:52 ---> docker-login.sh 09:42:52 nexus3.edgexfoundry.org:10001 09:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:52 Configure a credential helper to remove this warning. See 09:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:52 09:42:52 Login Succeeded 09:42:52 nexus3.edgexfoundry.org:10002 09:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:52 Configure a credential helper to remove this warning. See 09:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:52 09:42:52 Login Succeeded 09:42:52 nexus3.edgexfoundry.org:10003 09:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:52 Configure a credential helper to remove this warning. See 09:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:52 09:42:52 Login Succeeded 09:42:52 nexus3.edgexfoundry.org:10004 09:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:52 Configure a credential helper to remove this warning. See 09:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:52 09:42:52 Login Succeeded 09:42:52 docker.io 09:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:53 Configure a credential helper to remove this warning. See 09:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:53 09:42:53 Login Succeeded 09:42:53 ---> docker-login.sh ends [Pipeline] } 09:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:42:53 + git rev-list -1 --merges cc201530981e513eba2542fa850395c651a4a8aa~1..cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo 09:42:53 -----------> git rev-list -1 --merges cc201530981e513eba2542fa850395c651a4a8aa~1..cc201530981e513eba2542fa850395c651a4a8aa cc201530981e513eba2542fa850395c651a4a8aa 09:42:53 cc201530981e513eba2542fa850395c651a4a8aa [false] [Pipeline] sh 09:42:53 + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo 09:42:53 ========================================================= 09:42:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:42:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:42:54 + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo 09:42:54 [semverPrep] GIT_COMMIT: cc201530981e513eba2542fa850395c651a4a8aa, Commit Message: Merge pull request #201 from lenny-intel/levski-change-log [Pipeline] echo 09:42:54 [semverPrep] This is not a build commit. [Pipeline] sh 09:42:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:42:54 + grep -v github /etc/ssh/ssh_known_hosts 09:42:54 + [ -e /tmp/ssh_known_hosts ] 09:42:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:42:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:42:54 + sudo tee -a /etc/ssh/ssh_known_hosts 09:42:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:54 09:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:55 0.1.4: Pulling from edgex-devops/py-git-semver 09:42:55 b85a868b505f: Pulling fs layer 09:42:55 e2be974225ed: Pulling fs layer 09:42:55 339a4e72a1f5: Pulling fs layer 09:42:55 988bab9f4d93: Pulling fs layer 09:42:55 1469e6f7b9e6: Pulling fs layer 09:42:55 eaf3925da568: Pulling fs layer 09:42:55 bab4dde63d76: Pulling fs layer 09:42:55 bde34c3a00c8: Pulling fs layer 09:42:55 1469e6f7b9e6: Waiting 09:42:55 b352a97aabf1: Pulling fs layer 09:42:55 eaf3925da568: Waiting 09:42:55 4872d77fe225: Pulling fs layer 09:42:55 5851b861e8e6: Pulling fs layer 09:42:55 bab4dde63d76: Waiting 09:42:55 bde34c3a00c8: Waiting 09:42:55 b352a97aabf1: Waiting 09:42:55 4872d77fe225: Waiting 09:42:55 988bab9f4d93: Waiting 09:42:55 e2be974225ed: Verifying Checksum 09:42:55 e2be974225ed: Download complete 09:42:55 988bab9f4d93: Download complete 09:42:55 1469e6f7b9e6: Verifying Checksum 09:42:55 1469e6f7b9e6: Download complete 09:42:55 339a4e72a1f5: Verifying Checksum 09:42:55 339a4e72a1f5: Download complete 09:42:55 eaf3925da568: Verifying Checksum 09:42:55 eaf3925da568: Download complete 09:42:55 bde34c3a00c8: Verifying Checksum 09:42:55 bde34c3a00c8: Download complete 09:42:55 b352a97aabf1: Download complete 09:42:55 4872d77fe225: Verifying Checksum 09:42:55 4872d77fe225: Download complete 09:42:55 5851b861e8e6: Verifying Checksum 09:42:55 5851b861e8e6: Download complete 09:42:55 b85a868b505f: Verifying Checksum 09:42:55 b85a868b505f: Download complete 09:42:55 bab4dde63d76: Verifying Checksum 09:42:55 bab4dde63d76: Download complete 09:42:56 b85a868b505f: Pull complete 09:42:56 e2be974225ed: Pull complete 09:42:57 339a4e72a1f5: Pull complete 09:42:57 988bab9f4d93: Pull complete 09:42:57 1469e6f7b9e6: Pull complete 09:42:57 eaf3925da568: Pull complete 09:42:59 bab4dde63d76: Pull complete 09:42:59 bde34c3a00c8: Pull complete 09:42:59 b352a97aabf1: Pull complete 09:42:59 4872d77fe225: Pull complete 09:42:59 5851b861e8e6: Pull complete 09:42:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:59 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:43:02 $ docker top 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 -eo pid,comm 09:43:02 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). 09:43:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:02 [ssh-agent] Looking for ssh-agent implementation... 09:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:02 $ docker exec 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent 09:43:02 SSH_AUTH_SOCK=/tmp/ssh-j5yUWkQO37gD/agent.32 09:43:02 SSH_AGENT_PID=38 09:43:02 Running ssh-add (command line suppressed) 09:43:02 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12078984976709375028.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12078984976709375028.key) 09:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:02 + git tag --points-at HEAD [Pipeline] } 09:43:02 $ docker exec --env ******** --env ******** 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent -k 09:43:03 unset SSH_AUTH_SOCK; 09:43:03 unset SSH_AGENT_PID; 09:43:03 echo Agent pid 38 killed; 09:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:43:03 [ssh-agent] Looking for ssh-agent implementation... 09:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:43:03 $ docker exec 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent 09:43:03 SSH_AUTH_SOCK=/tmp/ssh-TCQN6ooGrtWk/agent.70 09:43:03 SSH_AGENT_PID=76 09:43:03 Running ssh-add (command line suppressed) 09:43:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5262300700803018948.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5262300700803018948.key) 09:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:43:03 + git semver init 09:43:04 2022-11-03 09:43:04,009 [run_init] DEBUG init version:0.0.0 force:False 09:43:04 2022-11-03 09:43:04,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:43:04 2022-11-03 09:43:04,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:43:04 2022-11-03 09:43:04,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 09:43:05 2022-11-03 09:43:04,955 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 09:43:05 2022-11-03 09:43:04,955 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 09:43:05 2022-11-03 09:43:04,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:43:05 2022-11-03 09:43:04,956 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:43:05 2.3.0-dev.22 [Pipeline] } 09:43:05 $ docker exec --env ******** --env ******** 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent -k 09:43:05 unset SSH_AUTH_SOCK; 09:43:05 unset SSH_AGENT_PID; 09:43:05 echo Agent pid 76 killed; 09:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:43:05 + git semver [Pipeline] } 09:43:05 $ docker stop --time=1 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 09:43:07 $ docker rm -f 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 [Pipeline] // withDockerContainer [Pipeline] sh 09:43:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:43:07 Stashed 1 file(s) [Pipeline] echo 09:43:07 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 09:43:07 provisioning config files... 09:43:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11679087348730271900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:07 ---> docker-login.sh 09:43:07 nexus3.edgexfoundry.org:10001 09:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:07 Configure a credential helper to remove this warning. See 09:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:07 09:43:07 Login Succeeded 09:43:07 nexus3.edgexfoundry.org:10002 09:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:07 Configure a credential helper to remove this warning. See 09:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:07 09:43:07 Login Succeeded 09:43:08 nexus3.edgexfoundry.org:10003 09:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:08 Configure a credential helper to remove this warning. See 09:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:08 09:43:08 Login Succeeded 09:43:08 nexus3.edgexfoundry.org:10004 09:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:08 Configure a credential helper to remove this warning. See 09:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:08 09:43:08 Login Succeeded 09:43:08 docker.io 09:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:08 Configure a credential helper to remove this warning. See 09:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:08 09:43:08 Login Succeeded 09:43:08 ---> docker-login.sh ends [Pipeline] } 09:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:43:08 ========================================================= 09:43:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:43:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:09 + 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 . 09:43:09 Sending build context to Docker daemon 5.543MB 09:43:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:43:09 Step 2/12 : FROM ${BASE} AS builder 09:43:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:43:09 213ec9aee27d: Pulling fs layer 09:43:09 4583459ba037: Pulling fs layer 09:43:09 93c1e223e6f2: Pulling fs layer 09:43:09 53926ce57604: Pulling fs layer 09:43:09 21b2b0c7a3f4: Pulling fs layer 09:43:09 22ff95d597cd: Pulling fs layer 09:43:09 12d6caf4c0d1: Pulling fs layer 09:43:09 96b7cbca73a9: Pulling fs layer 09:43:09 a7acece74701: Pulling fs layer 09:43:09 12d6caf4c0d1: Waiting 09:43:09 21b2b0c7a3f4: Waiting 09:43:09 53926ce57604: Waiting 09:43:09 22ff95d597cd: Waiting 09:43:09 96b7cbca73a9: Waiting 09:43:09 a7acece74701: Waiting 09:43:09 93c1e223e6f2: Verifying Checksum 09:43:09 93c1e223e6f2: Download complete 09:43:09 4583459ba037: Verifying Checksum 09:43:09 4583459ba037: Download complete 09:43:09 21b2b0c7a3f4: Verifying Checksum 09:43:09 21b2b0c7a3f4: Download complete 09:43:09 22ff95d597cd: Download complete 09:43:09 213ec9aee27d: Verifying Checksum 09:43:09 12d6caf4c0d1: Download complete 09:43:09 213ec9aee27d: Pull complete 09:43:09 4583459ba037: Pull complete 09:43:09 93c1e223e6f2: Pull complete 09:43:09 a7acece74701: Verifying Checksum 09:43:09 a7acece74701: Download complete 09:43:09 96b7cbca73a9: Verifying Checksum 09:43:09 96b7cbca73a9: Download complete 09:43:10 53926ce57604: Verifying Checksum 09:43:10 53926ce57604: Download complete 09:43:14 53926ce57604: Pull complete 09:43:14 21b2b0c7a3f4: Pull complete 09:43:14 22ff95d597cd: Pull complete 09:43:14 12d6caf4c0d1: Pull complete 09:43:15 96b7cbca73a9: Pull complete 09:43:16 a7acece74701: Pull complete 09:43:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:43:16 ---> db6d94c90886 09:43:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:43:22 ---> Running in 0c1b6781a6ed 09:43:22 Removing intermediate container 0c1b6781a6ed 09:43:22 ---> 86f0687cbf74 09:43:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:43:22 ---> Running in 6e27fc7f642e 09:43:22 Removing intermediate container 6e27fc7f642e 09:43:22 ---> 0473b5c1791f 09:43:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:43:22 ---> Running in 7324b260d1dd 09:43:22 Removing intermediate container 7324b260d1dd 09:43:22 ---> 3a8e01fd9067 09:43:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:43:22 ---> Running in ce25c2bc8a7a 09:43:22 Removing intermediate container ce25c2bc8a7a 09:43:22 ---> 26c4050c3d2b 09:43:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:43:22 ---> Running in 46c20398bd5c 09:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:43:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:43:22 (2/4) Installing libedit (20210910.3.1-r0) 09:43:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:43:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:43:22 Executing busybox-1.35.0-r17.trigger 09:43:22 OK: 216 MiB in 55 packages 09:43:22 Still waiting to schedule task 09:43:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:43:22 Removing intermediate container 46c20398bd5c 09:43:22 ---> cb2321efaaae 09:43:22 Step 8/12 : WORKDIR /device-snmp-go 09:43:22 ---> Running in 91b5fe10631e 09:43:22 Removing intermediate container 91b5fe10631e 09:43:22 ---> fe8675a12856 09:43:22 Step 9/12 : COPY go.mod vendor* ./ 09:43:22 ---> 7c0aec8ff4ab 09:43:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:22 ---> Running in 43408bc825da 09:43:44 Removing intermediate container 43408bc825da 09:43:44 ---> b23e05b05948 09:43:44 Step 11/12 : COPY . . 09:43:44 ---> 84557983227a 09:43:44 Step 12/12 : RUN ${MAKE} 09:43:44 ---> Running in e1b1862224a1 09:43:44 noop 09:43:45 Removing intermediate container e1b1862224a1 09:43:45 ---> d1c1746199cb 09:43:45 Successfully built d1c1746199cb 09:43:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:45 + docker inspect -f . ci-base-image-x86_64 09:43:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:45 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:43:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 09:43:45 $ docker top 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:46 + go version 09:43:46 go version go1.18.7 linux/amd64 [Pipeline] } 09:43:46 $ docker stop --time=1 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 09:43:47 $ docker rm -f 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:47 + docker inspect -f . ci-base-image-x86_64 09:43:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:47 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:43:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 09:43:48 $ docker top 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 09:43:48 + make test 09:43:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:43:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:43:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:43:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 09:44:04 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." 09:44:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:44:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:44:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:44:07 ./bin/test-attribution-txt.sh [Pipeline] echo 09:44:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:44:07 $ docker stop --time=1 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba 09:44:10 $ docker rm -f 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba [Pipeline] // withDockerContainer [Pipeline] sh 09:44:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:44:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:44:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:44:11 + ls -al . 09:44:11 total 184 09:44:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:43 . 09:44:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 .. 09:44:11 -rw-rw-r-- 1 jenkins jenkins 6 Nov 3 09:42 .dockerignore 09:44:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:43 .git 09:44:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 .github 09:44:11 -rw-rw-r-- 1 jenkins jenkins 328 Nov 3 09:42 .gitignore 09:44:11 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:42 .golangci.yml 09:44:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:43 .semver 09:44:11 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 3 09:42 Attribution.txt 09:44:11 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 3 09:42 CHANGELOG.md 09:44:11 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 3 09:42 Dockerfile 09:44:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:42 GOVERNANCE.md 09:44:11 -rw-rw-r-- 1 jenkins jenkins 656 Nov 3 09:42 Jenkinsfile 09:44:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:42 LICENSE 09:44:11 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 3 09:42 Makefile 09:44:11 -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:42 OWNERS.md 09:44:11 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 3 09:42 README.md 09:44:11 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:43 VERSION 09:44:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 bin 09:44:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 cmd 09:44:11 -rw-r--r-- 1 jenkins jenkins 7631 Nov 3 09:43 coverage.out 09:44:11 -rw-rw-r-- 1 jenkins jenkins 3462 Nov 3 09:42 go.mod 09:44:11 -rw-rw-r-- 1 jenkins jenkins 45069 Nov 3 09:42 go.sum 09:44:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 internal 09:44:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 snap 09:44:11 -rw-rw-r-- 1 jenkins jenkins 228 Nov 3 09:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + 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=cc201530981e513eba2542fa850395c651a4a8aa --label arch=amd64 --label version=2.3.0-dev.22 . 09:44:12 Sending build context to Docker daemon 5.552MB 09:44:12 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:44:12 Step 2/24 : FROM ${BASE} AS builder 09:44:12 ---> d1c1746199cb 09:44:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:44:12 ---> Running in eeec25dc3e1f 09:44:12 Removing intermediate container eeec25dc3e1f 09:44:12 ---> 9f0b4fc3e539 09:44:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:12 ---> Running in 0cb79bb7928f 09:44:12 Removing intermediate container 0cb79bb7928f 09:44:12 ---> 6cc84ce0f6db 09:44:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:44:12 ---> Running in 657ae0a90093 09:44:12 Removing intermediate container 657ae0a90093 09:44:12 ---> fc0b25eabad6 09:44:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:44:12 ---> Running in 3a20b964d65a 09:44:12 Removing intermediate container 3a20b964d65a 09:44:12 ---> e428c114f40e 09:44:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:44:12 ---> Running in 5e2df8aa7565 09:44:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:44:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:44:13 OK: 216 MiB in 55 packages 09:44:13 Removing intermediate container 5e2df8aa7565 09:44:13 ---> 2d4c850a7f4f 09:44:13 Step 8/24 : WORKDIR /device-snmp-go 09:44:13 ---> Running in 48318198e871 09:44:13 Removing intermediate container 48318198e871 09:44:13 ---> 5b0fdf50401b 09:44:13 Step 9/24 : COPY go.mod vendor* ./ 09:44:13 ---> 6bb8cebecc7f 09:44:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:13 ---> Running in 5bf23174e42a 09:44:14 Removing intermediate container 5bf23174e42a 09:44:14 ---> 75ff0cb46647 09:44:14 Step 11/24 : COPY . . 09:44:14 ---> e1ea99e69871 09:44:14 Step 12/24 : RUN ${MAKE} 09:44:14 ---> Running in ffb4892955ef 09:44:15 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=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:44:36 Removing intermediate container ffb4892955ef 09:44:36 ---> 9a3d47a330f6 09:44:36 Step 13/24 : FROM alpine:3.16 09:44:36 3.16: Pulling from library/alpine 09:44:36 213ec9aee27d: Already exists 09:44:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:44:37 Status: Downloaded newer image for alpine:3.16 09:44:37 ---> 9c6f07244728 09:44:37 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:44:37 ---> Running in 938a42b3223a 09:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:44:38 (1/6) Installing dumb-init (1.2.5-r1) 09:44:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:44:38 (3/6) Installing libsodium (1.0.18-r0) 09:44:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:44:38 (5/6) Installing libzmq (4.3.4-r0) 09:44:38 (6/6) Installing zeromq (4.3.4-r0) 09:44:38 Executing busybox-1.35.0-r17.trigger 09:44:38 OK: 8 MiB in 20 packages 09:44:39 Removing intermediate container 938a42b3223a 09:44:39 ---> 231e46014edb 09:44:39 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:44:40 ---> d25bf6a27a64 09:44:40 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:44:40 ---> 716a66ecd9d0 09:44:40 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:44:41 ---> 6c0a7c9112fd 09:44:41 Step 18/24 : EXPOSE 59993 09:44:41 ---> Running in 00e5ff4f721c 09:44:41 Removing intermediate container 00e5ff4f721c 09:44:41 ---> ec136428ab85 09:44:41 Step 19/24 : EXPOSE 161 09:44:41 ---> Running in 22062b9a5bf2 09:44:41 Removing intermediate container 22062b9a5bf2 09:44:41 ---> 4ba521aaeae8 09:44:41 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:44:42 ---> Running in 1caa6bb64fbb 09:44:42 Removing intermediate container 1caa6bb64fbb 09:44:42 ---> 46fdd7ff7859 09:44:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:44:42 ---> Running in a3226dc2b219 09:44:42 Removing intermediate container a3226dc2b219 09:44:42 ---> 0ce3ae107a31 09:44:42 Step 22/24 : LABEL arch=amd64 09:44:42 ---> Running in dd53e832167d 09:44:42 Removing intermediate container dd53e832167d 09:44:42 ---> a6dcd80675f8 09:44:42 Step 23/24 : LABEL git_sha=cc201530981e513eba2542fa850395c651a4a8aa 09:44:42 ---> Running in 8c817cbae34c 09:44:42 Removing intermediate container 8c817cbae34c 09:44:42 ---> 2124f53448af 09:44:42 Step 24/24 : LABEL version=2.3.0-dev.22 09:44:42 ---> Running in cace3c8a794f 09:44:42 Removing intermediate container cace3c8a794f 09:44:42 ---> 134dd2c1c4e8 09:44:42 [Warning] One or more build-args [ARCH] were not consumed 09:44:42 Successfully built 134dd2c1c4e8 09:44:42 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:42 provisioning config files... 09:44:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11969250224684119254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:43 ---> docker-login.sh 09:44:43 nexus3.edgexfoundry.org:10001 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 nexus3.edgexfoundry.org:10002 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 nexus3.edgexfoundry.org:10003 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 nexus3.edgexfoundry.org:10004 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 docker.io 09:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:43 Configure a credential helper to remove this warning. See 09:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:43 09:44:43 Login Succeeded 09:44:43 ---> docker-login.sh ends [Pipeline] } 09:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:44:43 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 09:44:43 cc201530981e513eba2542fa850395c651a4a8aa 09:44:43 latest 09:44:43 2.3.0-dev.22 09:44:43 cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:44:43 main 09:44:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa 09:44:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:44:44 dabd470a6995: Preparing 09:44:44 ca36c6ce4775: Preparing 09:44:44 6aa3f8be7c91: Preparing 09:44:44 6c0f21fd5f1e: Preparing 09:44:44 994393dc58e7: Preparing 09:44:44 994393dc58e7: Layer already exists 09:44:44 dabd470a6995: Pushed 09:44:44 ca36c6ce4775: Pushed 09:44:44 6c0f21fd5f1e: Pushed 09:44:47 6aa3f8be7c91: Pushed 09:44:47 cc201530981e513eba2542fa850395c651a4a8aa: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:47 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 09:44:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:44:48 dabd470a6995: Preparing 09:44:48 ca36c6ce4775: Preparing 09:44:48 6aa3f8be7c91: Preparing 09:44:48 6c0f21fd5f1e: Preparing 09:44:48 994393dc58e7: Preparing 09:44:48 6c0f21fd5f1e: Layer already exists 09:44:48 994393dc58e7: Layer already exists 09:44:48 ca36c6ce4775: Layer already exists 09:44:48 6aa3f8be7c91: Layer already exists 09:44:48 dabd470a6995: Layer already exists 09:44:48 latest: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:48 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 09:44:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:44:48 dabd470a6995: Preparing 09:44:48 ca36c6ce4775: Preparing 09:44:48 6aa3f8be7c91: Preparing 09:44:48 6c0f21fd5f1e: Preparing 09:44:48 994393dc58e7: Preparing 09:44:48 6c0f21fd5f1e: Layer already exists 09:44:48 ca36c6ce4775: Layer already exists 09:44:48 994393dc58e7: Layer already exists 09:44:48 dabd470a6995: Layer already exists 09:44:48 6aa3f8be7c91: Layer already exists 09:44:48 2.3.0-dev.22: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:44:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:44:49 dabd470a6995: Preparing 09:44:49 ca36c6ce4775: Preparing 09:44:49 6aa3f8be7c91: Preparing 09:44:49 6c0f21fd5f1e: Preparing 09:44:49 994393dc58e7: Preparing 09:44:49 994393dc58e7: Layer already exists 09:44:49 6c0f21fd5f1e: Layer already exists 09:44:49 dabd470a6995: Layer already exists 09:44:49 6aa3f8be7c91: Layer already exists 09:44:49 ca36c6ce4775: Layer already exists 09:44:49 cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 09:44:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:44:50 dabd470a6995: Preparing 09:44:50 ca36c6ce4775: Preparing 09:44:50 6aa3f8be7c91: Preparing 09:44:50 6c0f21fd5f1e: Preparing 09:44:50 994393dc58e7: Preparing 09:44:50 dabd470a6995: Layer already exists 09:44:50 994393dc58e7: Layer already exists 09:44:50 ca36c6ce4775: Layer already exists 09:44:50 6aa3f8be7c91: Layer already exists 09:44:50 6c0f21fd5f1e: Layer already exists 09:44:50 main: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:50 ===================================================== [Pipeline] echo 09:44:50 taggedImages: 09:44:50 - nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa 09:44:50 - nexus3.edgexfoundry.org:10004/device-snmp:latest 09:44:50 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 09:44:50 - nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:44:50 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [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 09:44:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:50 09:44:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:50 latest: Pulling from edgex-lftools-log-publisher 09:44:50 5eb5b503b376: Pulling fs layer 09:44:50 5c69ac0246d0: Pulling fs layer 09:44:50 ec43610c2a17: Pulling fs layer 09:44:50 3a2ae6a8a46f: Pulling fs layer 09:44:50 33b1e0a273af: Pulling fs layer 09:44:50 5d3b04190fa2: Pulling fs layer 09:44:50 2f39f015ded8: Pulling fs layer 09:44:50 5d3b04190fa2: Waiting 09:44:50 2f39f015ded8: Waiting 09:44:50 3a2ae6a8a46f: Waiting 09:44:50 33b1e0a273af: Waiting 09:44:50 5c69ac0246d0: Download complete 09:44:50 3a2ae6a8a46f: Verifying Checksum 09:44:50 3a2ae6a8a46f: Download complete 09:44:50 33b1e0a273af: Verifying Checksum 09:44:50 33b1e0a273af: Download complete 09:44:50 5d3b04190fa2: Verifying Checksum 09:44:50 ec43610c2a17: Verifying Checksum 09:44:50 ec43610c2a17: Download complete 09:44:51 5eb5b503b376: Download complete 09:44:51 2f39f015ded8: Download complete 09:44:52 5eb5b503b376: Pull complete 09:44:52 5c69ac0246d0: Pull complete 09:44:53 ec43610c2a17: Pull complete 09:44:53 3a2ae6a8a46f: Pull complete 09:44:53 33b1e0a273af: Pull complete 09:44:53 5d3b04190fa2: Pull complete 09:44:57 2f39f015ded8: Pull complete 09:44:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:58 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:44:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:45:02 $ docker top 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:02 ---> job-cost.sh 09:45:02 lf-activate-venv: SKIPPING 09:45:02 INFO: No Stack... 09:45:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:03 INFO: Archiving Costs [Pipeline] sh 09:45:03 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 09:45:03 + cut -d, -f6 [Pipeline] lock 09:45:03 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] 09:45:03 Resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] did not exist. Created. 09:45:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:45:04 + echo total: 0.2199999988079071 [Pipeline] stash 09:45:04 Stashed 1 file(s) [Pipeline] } 09:45:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 09:45:04 $ docker stop --time=1 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 09:45:05 $ docker rm -f 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:46:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118096 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 09:46:28 Running in /w/workspace/device-snmp-go/53 [Pipeline] { [Pipeline] checkout 09:46:28 Selected Git installation does not exist. Using Default 09:46:28 The recommended git tool is: NONE 09:46:33 using credential edgex-jenkins-ssh 09:46:33 Cloning the remote Git repository 09:46:33 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:46:34 > git init /w/workspace/device-snmp-go/53 # timeout=10 09:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:46:34 > git --version # timeout=10 09:46:34 > git --version # 'git version 2.25.1' 09:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:34 Verifying host key using known hosts file 09:46:34 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. 09:46:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:46:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:46:36 Avoid second fetch 09:46:36 Checking out Revision cc201530981e513eba2542fa850395c651a4a8aa (main) 09:46:36 > git config core.sparsecheckout # timeout=10 09:46:36 > git checkout -f cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 09:46:37 Commit message: "Merge pull request #201 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:46:37 % Total % Received % Xferd Average Speed Time Time Time Current 09:46:37 Dload Upload Total Spent Left Speed 09:46:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88746 [Pipeline] sh 09:46:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:46:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:46:38 + sudo tee /etc/docker/daemon.new 09:46:38 { 09:46:38 "registry-mirrors": [ 09:46:38 "https://nexus3.edgexfoundry.org:10001" 09:46:38 ], 09:46:38 "bip": "10.250.0.254/24", 09:46:38 "hosts": [ 09:46:38 "tcp://0.0.0.0:5555", 09:46:38 "unix:///var/run/docker.sock" 09:46:38 ], 09:46:38 "mtu": 1458, 09:46:38 "selinux-enabled": true, 09:46:38 "seccomp-profile": "/etc/docker/seccomp.json" 09:46:38 } [Pipeline] sh 09:46:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:46:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:57 provisioning config files... 09:46:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/53@tmp/config7781114084001321683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:58 ---> docker-login.sh 09:46:58 nexus3.edgexfoundry.org:10001 09:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:59 Configure a credential helper to remove this warning. See 09:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:59 09:46:59 Login Succeeded 09:46:59 nexus3.edgexfoundry.org:10002 09:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:59 Configure a credential helper to remove this warning. See 09:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:59 09:46:59 Login Succeeded 09:46:59 nexus3.edgexfoundry.org:10003 09:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:59 Configure a credential helper to remove this warning. See 09:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:59 09:46:59 Login Succeeded 09:46:59 nexus3.edgexfoundry.org:10004 09:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:00 Configure a credential helper to remove this warning. See 09:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:00 09:47:00 Login Succeeded 09:47:00 docker.io 09:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:00 Configure a credential helper to remove this warning. See 09:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:00 09:47:00 Login Succeeded 09:47:00 ---> docker-login.sh ends [Pipeline] } 09:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:00 ========================================================= 09:47:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:47:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:01 + 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 . 09:47:01 Sending build context to Docker daemon 2.864MB 09:47:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:47:01 Step 2/12 : FROM ${BASE} AS builder 09:47:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:47:01 9b18e9b68314: Pulling fs layer 09:47:01 35d82f9e3411: Pulling fs layer 09:47:01 e16973657156: Pulling fs layer 09:47:01 fc693d55d65f: Pulling fs layer 09:47:01 7e9fc2657dce: Pulling fs layer 09:47:01 dda99020689f: Pulling fs layer 09:47:01 db1c61fa0a46: Pulling fs layer 09:47:01 891c053d2c06: Pulling fs layer 09:47:01 dda99020689f: Waiting 09:47:01 fc693d55d65f: Waiting 09:47:01 7e9fc2657dce: Waiting 09:47:01 db1c61fa0a46: Waiting 09:47:01 891c053d2c06: Waiting 09:47:01 e16973657156: Verifying Checksum 09:47:01 e16973657156: Download complete 09:47:01 35d82f9e3411: Verifying Checksum 09:47:01 35d82f9e3411: Download complete 09:47:01 7e9fc2657dce: Download complete 09:47:01 dda99020689f: Verifying Checksum 09:47:01 dda99020689f: Download complete 09:47:01 9b18e9b68314: Verifying Checksum 09:47:03 9b18e9b68314: Pull complete 09:47:03 891c053d2c06: Verifying Checksum 09:47:03 891c053d2c06: Download complete 09:47:03 35d82f9e3411: Pull complete 09:47:03 e16973657156: Pull complete 09:47:04 db1c61fa0a46: Verifying Checksum 09:47:04 fc693d55d65f: Download complete 09:47:17 fc693d55d65f: Pull complete 09:47:17 7e9fc2657dce: Pull complete 09:47:17 dda99020689f: Pull complete 09:47:24 db1c61fa0a46: Pull complete 09:47:25 891c053d2c06: Pull complete 09:47:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:47:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:47:25 ---> f96f9c87975a 09:47:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:47:28 ---> Running in 6fff7e735b30 09:47:28 Removing intermediate container 6fff7e735b30 09:47:28 ---> 2cea4b6ea1fa 09:47:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:28 ---> Running in 1297834ac7a8 09:47:28 Removing intermediate container 1297834ac7a8 09:47:28 ---> 9c072aa073a4 09:47:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:47:28 ---> Running in 84a497f59eeb 09:47:29 Removing intermediate container 84a497f59eeb 09:47:29 ---> 375800b410d1 09:47:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:47:29 ---> Running in 80051c8847f9 09:47:29 Removing intermediate container 80051c8847f9 09:47:29 ---> 3655d04aa7d9 09:47:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:47:29 ---> Running in b561ffce3c8a 09:47:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:47:32 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:47:32 (2/4) Installing libedit (20210910.3.1-r0) 09:47:32 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:47:32 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:47:32 Executing busybox-1.35.0-r17.trigger 09:47:32 OK: 226 MiB in 55 packages 09:47:33 Removing intermediate container b561ffce3c8a 09:47:33 ---> a7f96d3bf09d 09:47:33 Step 8/12 : WORKDIR /device-snmp-go 09:47:33 ---> Running in 2708e3d38ad3 09:47:33 Removing intermediate container 2708e3d38ad3 09:47:33 ---> c5b7f7226fc9 09:47:33 Step 9/12 : COPY go.mod vendor* ./ 09:47:34 ---> 69c54aacf9a8 09:47:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:34 ---> Running in 267cf9273325 09:48:30 Removing intermediate container 267cf9273325 09:48:30 ---> a013c0a95873 09:48:30 Step 11/12 : COPY . . 09:48:30 ---> ef92f1b2b27e 09:48:30 Step 12/12 : RUN ${MAKE} 09:48:30 ---> Running in e66accc49944 09:48:30 noop 09:48:31 Removing intermediate container e66accc49944 09:48:31 ---> d5026758cf11 09:48:31 Successfully built d5026758cf11 09:48:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:31 + docker inspect -f . ci-base-image-arm64 09:48:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:32 prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container 09:48:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@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 ******** ci-base-image-arm64 cat 09:48:33 $ docker top 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:34 + go version 09:48:34 go version go1.18.7 linux/arm64 [Pipeline] } 09:48:34 $ docker stop --time=1 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae 09:48:36 $ docker rm -f 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:36 + docker inspect -f . ci-base-image-arm64 09:48:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:36 prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container 09:48:36 $ 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/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@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 ******** ci-base-image-arm64 cat 09:48:38 $ docker top f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:39 + git config --global --add safe.directory /w/workspace/device-snmp-go/53 [Pipeline] fileExists [Pipeline] sh 09:48:39 + make test 09:48:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:48:41 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:50:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:50:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 09:50:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:50:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:50:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:50:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:50:27 ./bin/test-attribution-txt.sh [Pipeline] echo 09:50:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:50:27 $ docker stop --time=1 f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a 09:50:29 $ docker rm -f f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a [Pipeline] // withDockerContainer [Pipeline] sh 09:50:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:30 Warning: overwriting stash ‘coverage-report’ 09:50:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:31 + ls -al . 09:50:31 total 180 09:50:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:48 . 09:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:46 .. 09:50:31 -rw-rw-r-- 1 jenkins jenkins 6 Nov 3 09:46 .dockerignore 09:50:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:46 .git 09:50:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 .github 09:50:31 -rw-rw-r-- 1 jenkins jenkins 328 Nov 3 09:46 .gitignore 09:50:31 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:46 .golangci.yml 09:50:31 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 3 09:46 Attribution.txt 09:50:31 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 3 09:46 CHANGELOG.md 09:50:31 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 3 09:46 Dockerfile 09:50:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:46 GOVERNANCE.md 09:50:31 -rw-rw-r-- 1 jenkins jenkins 656 Nov 3 09:46 Jenkinsfile 09:50:31 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:46 LICENSE 09:50:31 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 3 09:46 Makefile 09:50:31 -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:46 OWNERS.md 09:50:31 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 3 09:46 README.md 09:50:31 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:43 VERSION 09:50:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:46 bin 09:50:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 cmd 09:50:31 -rw-r--r-- 1 jenkins jenkins 7631 Nov 3 09:50 coverage.out 09:50:31 -rw-rw-r-- 1 jenkins jenkins 3462 Nov 3 09:46 go.mod 09:50:31 -rw-rw-r-- 1 jenkins jenkins 45069 Nov 3 09:46 go.sum 09:50:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 internal 09:50:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:46 snap 09:50:31 -rw-rw-r-- 1 jenkins jenkins 228 Nov 3 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:32 + 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=cc201530981e513eba2542fa850395c651a4a8aa --label arch=arm64 --label version=2.3.0-dev.22 . 09:50:32 Sending build context to Docker daemon 2.872MB 09:50:32 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:50:32 Step 2/24 : FROM ${BASE} AS builder 09:50:32 ---> d5026758cf11 09:50:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:50:32 ---> Running in 3138e8fe21ef 09:50:32 Removing intermediate container 3138e8fe21ef 09:50:32 ---> af3a3aa28d8e 09:50:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:50:32 ---> Running in f70f3f4bcfc4 09:50:33 Removing intermediate container f70f3f4bcfc4 09:50:33 ---> 313199e5eda0 09:50:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:50:33 ---> Running in 0fc3c746c5a9 09:50:33 Removing intermediate container 0fc3c746c5a9 09:50:33 ---> 6e75d9e5ec6f 09:50:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:50:33 ---> Running in 0b192ea2f9e1 09:50:33 Removing intermediate container 0b192ea2f9e1 09:50:33 ---> 10762a0b7fb5 09:50:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:33 ---> Running in 4be16e2bc3e4 09:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:50:35 OK: 226 MiB in 55 packages 09:50:36 Removing intermediate container 4be16e2bc3e4 09:50:36 ---> cf305e527343 09:50:36 Step 8/24 : WORKDIR /device-snmp-go 09:50:36 ---> Running in 068fc18010a9 09:50:37 Removing intermediate container 068fc18010a9 09:50:37 ---> 42a61ea5627a 09:50:37 Step 9/24 : COPY go.mod vendor* ./ 09:50:37 ---> 7ee5dd708e3f 09:50:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:37 ---> Running in 2331274e0dcd 09:50:39 Removing intermediate container 2331274e0dcd 09:50:39 ---> 57ba63cac405 09:50:39 Step 11/24 : COPY . . 09:50:40 ---> f30b2c1647c8 09:50:40 Step 12/24 : RUN ${MAKE} 09:50:40 ---> Running in a291b51a86bd 09:50: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=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:53:18 Removing intermediate container a291b51a86bd 09:53:18 ---> cf41bfef53a0 09:53:18 Step 13/24 : FROM alpine:3.16 09:53:18 3.16: Pulling from library/alpine 09:53:18 9b18e9b68314: Already exists 09:53:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:53:18 Status: Downloaded newer image for alpine:3.16 09:53:18 ---> a6215f271958 09:53:18 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:53:18 ---> Running in 9c3049ca209a 09:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:53:18 (1/6) Installing dumb-init (1.2.5-r1) 09:53:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:53:18 (3/6) Installing libsodium (1.0.18-r0) 09:53:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:53:18 (5/6) Installing libzmq (4.3.4-r0) 09:53:18 (6/6) Installing zeromq (4.3.4-r0) 09:53:18 Executing busybox-1.35.0-r17.trigger 09:53:18 OK: 8 MiB in 20 packages 09:53:18 Removing intermediate container 9c3049ca209a 09:53:18 ---> d5482b7b427c 09:53:18 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:53:18 ---> 1da1746765a0 09:53:18 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:53:18 ---> 8a6f8e93a23f 09:53:18 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:53:18 ---> 271f4a97e3d4 09:53:18 Step 18/24 : EXPOSE 59993 09:53:18 ---> Running in c1d5e0297121 09:53:18 Removing intermediate container c1d5e0297121 09:53:18 ---> f4abf86ff183 09:53:18 Step 19/24 : EXPOSE 161 09:53:18 ---> Running in 375ca7bfd0c9 09:53:18 Removing intermediate container 375ca7bfd0c9 09:53:18 ---> 7d16ce57c855 09:53:18 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:53:18 ---> Running in 65e627cae876 09:53:18 Removing intermediate container 65e627cae876 09:53:18 ---> c03fe8e0c602 09:53:18 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:53:18 ---> Running in 3ef3021f936f 09:53:18 Removing intermediate container 3ef3021f936f 09:53:18 ---> 6904e02acdcb 09:53:18 Step 22/24 : LABEL arch=arm64 09:53:18 ---> Running in f17887c4fe01 09:53:18 Removing intermediate container f17887c4fe01 09:53:18 ---> 9cd4f1806280 09:53:18 Step 23/24 : LABEL git_sha=cc201530981e513eba2542fa850395c651a4a8aa 09:53:18 ---> Running in 199f3e6c8cc9 09:53:18 Removing intermediate container 199f3e6c8cc9 09:53:18 ---> c46fd6beceb7 09:53:18 Step 24/24 : LABEL version=2.3.0-dev.22 09:53:18 ---> Running in da65e0264121 09:53:18 Removing intermediate container da65e0264121 09:53:18 ---> b51bd61cb8b9 09:53:18 [Warning] One or more build-args [ARCH] were not consumed 09:53:18 Successfully built b51bd61cb8b9 09:53:18 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:18 provisioning config files... 09:53:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/53@tmp/config9321676499380838086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:18 ---> docker-login.sh 09:53:18 nexus3.edgexfoundry.org:10001 09:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:18 Configure a credential helper to remove this warning. See 09:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:18 09:53:18 Login Succeeded 09:53:18 nexus3.edgexfoundry.org:10002 09:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:19 Configure a credential helper to remove this warning. See 09:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:19 09:53:19 Login Succeeded 09:53:19 nexus3.edgexfoundry.org:10003 09:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:19 Configure a credential helper to remove this warning. See 09:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:19 09:53:19 Login Succeeded 09:53:19 nexus3.edgexfoundry.org:10004 09:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:20 Configure a credential helper to remove this warning. See 09:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:20 09:53:20 Login Succeeded 09:53:20 docker.io 09:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:20 Configure a credential helper to remove this warning. See 09:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:20 09:53:20 Login Succeeded 09:53:20 ---> docker-login.sh ends [Pipeline] } 09:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:53:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:53:20 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 09:53:20 cc201530981e513eba2542fa850395c651a4a8aa 09:53:20 latest 09:53:20 2.3.0-dev.22 09:53:20 cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:53:20 main 09:53:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa 09:53:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:53:21 10e7f820894c: Preparing 09:53:21 7b08c91bf897: Preparing 09:53:21 cdd4fcc3447b: Preparing 09:53:21 950a50635b27: Preparing 09:53:21 5d3e392a13a0: Preparing 09:53:21 5d3e392a13a0: Layer already exists 09:53:21 7b08c91bf897: Pushed 09:53:21 10e7f820894c: Pushed 09:53:22 950a50635b27: Pushed 09:53:26 cdd4fcc3447b: Pushed 09:53:26 cc201530981e513eba2542fa850395c651a4a8aa: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:26 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:53:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:53:27 10e7f820894c: Preparing 09:53:27 7b08c91bf897: Preparing 09:53:27 cdd4fcc3447b: Preparing 09:53:27 950a50635b27: Preparing 09:53:27 5d3e392a13a0: Preparing 09:53:27 5d3e392a13a0: Layer already exists 09:53:27 950a50635b27: Layer already exists 09:53:27 10e7f820894c: Layer already exists 09:53:27 cdd4fcc3447b: Layer already exists 09:53:27 7b08c91bf897: Layer already exists 09:53:27 latest: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:27 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 09:53:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:53:27 10e7f820894c: Preparing 09:53:27 7b08c91bf897: Preparing 09:53:27 cdd4fcc3447b: Preparing 09:53:27 950a50635b27: Preparing 09:53:27 5d3e392a13a0: Preparing 09:53:27 5d3e392a13a0: Layer already exists 09:53:27 10e7f820894c: Layer already exists 09:53:27 950a50635b27: Layer already exists 09:53:27 cdd4fcc3447b: Layer already exists 09:53:27 7b08c91bf897: Layer already exists 09:53:27 2.3.0-dev.22: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:28 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:53:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:53:28 10e7f820894c: Preparing 09:53:28 7b08c91bf897: Preparing 09:53:28 cdd4fcc3447b: Preparing 09:53:28 950a50635b27: Preparing 09:53:28 5d3e392a13a0: Preparing 09:53:28 7b08c91bf897: Layer already exists 09:53:28 10e7f820894c: Layer already exists 09:53:28 950a50635b27: Layer already exists 09:53:28 cdd4fcc3447b: Layer already exists 09:53:28 5d3e392a13a0: Layer already exists 09:53:28 cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:28 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 09:53:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:53:29 10e7f820894c: Preparing 09:53:29 7b08c91bf897: Preparing 09:53:29 cdd4fcc3447b: Preparing 09:53:29 950a50635b27: Preparing 09:53:29 5d3e392a13a0: Preparing 09:53:29 5d3e392a13a0: Layer already exists 09:53:29 7b08c91bf897: Layer already exists 09:53:29 950a50635b27: Layer already exists 09:53:29 10e7f820894c: Layer already exists 09:53:29 cdd4fcc3447b: Layer already exists 09:53:29 main: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:53:29 ===================================================== [Pipeline] echo 09:53:29 taggedImages: 09:53:29 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa 09:53:29 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:53:29 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 09:53:29 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 09:53:29 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:29 09:53:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:30 arm64: Pulling from edgex-lftools-log-publisher 09:53:30 8998bd30e6a1: Pulling fs layer 09:53:30 04944245beec: Pulling fs layer 09:53:30 699f458cf7ca: Pulling fs layer 09:53:30 765212b225bb: Pulling fs layer 09:53:30 f23df028b6ca: Pulling fs layer 09:53:30 d65c8cfc05b1: Pulling fs layer 09:53:30 2437ff75d9bd: Pulling fs layer 09:53:30 f23df028b6ca: Waiting 09:53:30 d65c8cfc05b1: Waiting 09:53:30 765212b225bb: Waiting 09:53:30 2437ff75d9bd: Waiting 09:53:30 04944245beec: Verifying Checksum 09:53:30 04944245beec: Download complete 09:53:30 765212b225bb: Verifying Checksum 09:53:30 765212b225bb: Download complete 09:53:30 f23df028b6ca: Download complete 09:53:30 d65c8cfc05b1: Verifying Checksum 09:53:30 d65c8cfc05b1: Download complete 09:53:30 699f458cf7ca: Verifying Checksum 09:53:30 699f458cf7ca: Download complete 09:53:30 8998bd30e6a1: Verifying Checksum 09:53:30 8998bd30e6a1: Download complete 09:53:33 2437ff75d9bd: Verifying Checksum 09:53:33 2437ff75d9bd: Download complete 09:53:34 8998bd30e6a1: Pull complete 09:53:35 04944245beec: Pull complete 09:53:36 699f458cf7ca: Pull complete 09:53:37 765212b225bb: Pull complete 09:53:37 f23df028b6ca: Pull complete 09:53:38 d65c8cfc05b1: Pull complete 09:53:53 2437ff75d9bd: Pull complete 09:53:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:53 prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container 09:53:53 $ 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/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:53:55 $ docker top 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:56 ---> job-cost.sh 09:53:56 lf-activate-venv: SKIPPING 09:53:56 INFO: No Stack... 09:53:56 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:57 INFO: Archiving Costs [Pipeline] sh 09:53:57 + cat /w/workspace/device-snmp-go/53/archives/cost.csv 09:53:57 + cut -d, -f6 [Pipeline] lock 09:53:57 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] 09:53:57 Resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] did not exist. Created. 09:53:57 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:58 /w/workspace/device-snmp-go/53@tmp/durable-82f5deba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:58 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:58 Warning: overwriting stash ‘stack-cost’ 09:53:59 Stashed 1 file(s) [Pipeline] } 09:53:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:59 $ docker stop --time=1 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 09:54:00 $ docker rm -f 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 [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 09:54:00 provisioning config files... 09:54:00 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18168558621847087870tmp [Pipeline] { [Pipeline] sh 09:54:01 + set +x 09:54:01 + curl -s https://codecov.io/bash 09:54:01 + bash -s -- 09:54:01 09:54:01 _____ _ 09:54:01 / ____| | | 09:54:01 | | ___ __| | ___ ___ _____ __ 09:54:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:54:01 | |___| (_) | (_| | __/ (_| (_) \ V / 09:54:01 \_____\___/ \__,_|\___|\___\___/ \_/ 09:54:01 Bash-1.0.6 09:54:01 09:54:01 09:54:01 ==> git version 2.25.1 found 09:54:01 ==> 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 09:54:01 Release-Date: 2020-01-08 09:54:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:54:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:54:01 ==> Jenkins CI detected. 09:54:01 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 09:54:01 project root: . 09:54:01 --> token set from env 09:54:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:54:01 ==> Running gcov in . (disable via -X gcov) 09:54:01 ==> Python coveragepy not found 09:54:01 ==> Searching for coverage reports in: 09:54:01 + . 09:54:01 -> Found 1 reports 09:54:01 ==> Detecting git/mercurial file structure 09:54:01 ==> Reading reports 09:54:01 + ./coverage.out bytes=7631 09:54:01 ==> Appending adjustments 09:54:01 https://docs.codecov.io/docs/fixing-reports 09:54:01 + Found adjustments 09:54:01 ==> Gzipping contents 09:54:01 4.0K /tmp/codecov.o1tp1x.gz 09:54:01 ==> Uploading reports 09:54:01 url: https://codecov.io 09:54:01 query: branch=main&commit=cc201530981e513eba2542fa850395c651a4a8aa&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:54:01 -> Pinging Codecov 09:54:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=cc201530981e513eba2542fa850395c651a4a8aa&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:54:01 -> Uploading to 09:54:01 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/6C56EA5C29638FB4528AC87E60AF5AE0/cc201530981e513eba2542fa850395c651a4a8aa/bbcc42cd-92ae-4950-bd4b-a33a1584eef2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T095401Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43c2521fe143ccb25a165bd925d98cf8e50ab8f5e101288857f6264a944b5393 09:54:01 % Total % Received % Xferd Average Speed Time Time Time Current 09:54:01 Dload Upload Total Spent Left Speed 09:54:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 5757 --:--:-- --:--:-- --:--:-- 5757 09:54:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } 09:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:54:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:54:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:54:02 09:54:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:54:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:54:02 df9b9388f04a: Pulling fs layer 09:54:02 52dc419b0ee2: Pulling fs layer 09:54:02 25bc292e5bac: Pulling fs layer 09:54:02 114826534d7a: Pulling fs layer 09:54:02 4657fd5d0bcf: Pulling fs layer 09:54:02 6ad1cebc031e: Pulling fs layer 09:54:02 8a3aa393b2d8: Pulling fs layer 09:54:02 4657fd5d0bcf: Waiting 09:54:02 114826534d7a: Waiting 09:54:02 6ad1cebc031e: Waiting 09:54:02 8a3aa393b2d8: Waiting 09:54:02 25bc292e5bac: Verifying Checksum 09:54:02 25bc292e5bac: Download complete 09:54:02 52dc419b0ee2: Verifying Checksum 09:54:02 52dc419b0ee2: Download complete 09:54:02 4657fd5d0bcf: Verifying Checksum 09:54:02 4657fd5d0bcf: Download complete 09:54:02 df9b9388f04a: Verifying Checksum 09:54:02 df9b9388f04a: Download complete 09:54:02 6ad1cebc031e: Verifying Checksum 09:54:02 6ad1cebc031e: Download complete 09:54:02 df9b9388f04a: Pull complete 09:54:02 52dc419b0ee2: Pull complete 09:54:03 25bc292e5bac: Pull complete 09:54:03 114826534d7a: Verifying Checksum 09:54:03 114826534d7a: Download complete 09:54:03 8a3aa393b2d8: Verifying Checksum 09:54:03 8a3aa393b2d8: Download complete 09:54:07 114826534d7a: Pull complete 09:54:07 4657fd5d0bcf: Pull complete 09:54:07 6ad1cebc031e: Pull complete 09:54:10 8a3aa393b2d8: Pull complete 09:54:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:54:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:10 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:54:12 $ docker top 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 -eo pid,comm [Pipeline] { [Pipeline] echo 09:54:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 09:54:13 + set -o pipefail 09:54:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 09:54:18 09:54:18 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 09:54:18 09:54:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d874a40c-5be7-4769-80b2-a004702b729f 09:54:18 09:54:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:54:18 09:54:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:54:18 09:54:18 09:54:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:54:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:54:18 More details here: https://snyk.co/ue1NS [Pipeline] } 09:54:18 $ docker stop --time=1 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 09:54:21 $ docker rm -f 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:21 + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] sh 09:54:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:22 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:54:23 $ docker top c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:23 [ssh-agent] Looking for ssh-agent implementation... 09:54:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:23 $ docker exec c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 ssh-agent 09:54:23 SSH_AUTH_SOCK=/tmp/ssh-HGlo6lEqRcFD/agent.32 09:54:23 SSH_AGENT_PID=38 09:54:23 Running ssh-add (command line suppressed) 09:54:23 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1184943900293731988.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1184943900293731988.key) 09:54:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:23 + git semver tag 09:54:24 2022-11-03 09:54:23,940 [run_tag] DEBUG tag force:False 09:54:24 2022-11-03 09:54:23,941 [check_head_tag] DEBUG check head tag 09:54:24 2022-11-03 09:54:23,941 [execute] INFO git cat-file --batch-check 09:54:24 2022-11-03 09:54:23,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:54:24 2022-11-03 09:54:23,946 [execute] INFO git cat-file --batch 09:54:24 2022-11-03 09:54:23,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 09:54:24 2022-11-03 09:54:23,961 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:24 2022-11-03 09:54:23,961 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 09:54:24 2022-11-03 09:54:23,961 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 09:54:24 2022-11-03 09:54:23,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:24 2.3.0-dev.22 [Pipeline] } 09:54:24 $ docker exec --env ******** --env ******** c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 ssh-agent -k 09:54:24 unset SSH_AUTH_SOCK; 09:54:24 unset SSH_AGENT_PID; 09:54:24 echo Agent pid 38 killed; 09:54:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:24 + git semver [Pipeline] } 09:54:24 $ docker stop --time=1 c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 09:54:26 $ docker rm -f c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:26 09:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:26 0.23.1-centos7: Pulling from edgex-lftools 09:54:26 ab5ef0e58194: Pulling fs layer 09:54:26 9712f1f96733: Pulling fs layer 09:54:26 63f879dbbcfc: Pulling fs layer 09:54:26 0d9ebad4ef96: Pulling fs layer 09:54:26 e9a5061849ea: Pulling fs layer 09:54:26 d747dcd14b5f: Pulling fs layer 09:54:26 2de7ff778b66: Pulling fs layer 09:54:26 0d9ebad4ef96: Waiting 09:54:26 e9a5061849ea: Waiting 09:54:26 d747dcd14b5f: Waiting 09:54:26 2de7ff778b66: Waiting 09:54:26 9712f1f96733: Verifying Checksum 09:54:26 9712f1f96733: Download complete 09:54:27 63f879dbbcfc: Verifying Checksum 09:54:27 63f879dbbcfc: Download complete 09:54:27 0d9ebad4ef96: Verifying Checksum 09:54:27 0d9ebad4ef96: Download complete 09:54:27 d747dcd14b5f: Verifying Checksum 09:54:27 d747dcd14b5f: Download complete 09:54:27 ab5ef0e58194: Verifying Checksum 09:54:27 ab5ef0e58194: Download complete 09:54:27 e9a5061849ea: Verifying Checksum 09:54:27 e9a5061849ea: Download complete 09:54:27 2de7ff778b66: Verifying Checksum 09:54:27 2de7ff778b66: Download complete 09:54:30 ab5ef0e58194: Pull complete 09:54:30 9712f1f96733: Pull complete 09:54:30 63f879dbbcfc: Pull complete 09:54:35 0d9ebad4ef96: Pull complete 09:54:35 e9a5061849ea: Pull complete 09:54:35 d747dcd14b5f: Pull complete 09:54:36 2de7ff778b66: Pull complete 09:54:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:36 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:54:39 $ docker top 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:54:39 provisioning config files... 09:54:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6744092409787149694tmp 09:54:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17407178422784160700tmp 09:54:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8695806149405252707tmp [Pipeline] { [Pipeline] echo 09:54:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:54:39 ---> sigul-configuration.sh 09:54:39 gpg: directory `/root/.gnupg' created 09:54:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:54:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:54:39 gpg: keyring `/root/.gnupg/secring.gpg' created 09:54:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:54:39 gpg: CAST5 encrypted data 09:54:39 gpg: encrypted with 1 passphrase 09:54:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:54:40 + mkdir /home/jenkins 09:54:40 + mkdir /home/jenkins/sigul [Pipeline] sh 09:54:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:54:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:54:40 ---> sigul-install.sh 09:54:40 Sigul already installed; skipping installation. [Pipeline] sh 09:54:41 + git tag --list 09:54:41 1.0.0 09:54:41 v0.0.0 09:54:41 v1.1.0 09:54:41 v1.1.1 09:54:41 v1.2.2 09:54:41 v1.3.0 09:54:41 v1.3.1 09:54:41 v2.0.0 09:54:41 v2.1.0 09:54:41 v2.1.1 09:54:41 v2.1.1-dev.2 09:54:41 v2.1.1-dev.3 09:54:41 v2.2.0 09:54:41 v2.2.1-dev.1 09:54:41 v2.2.1-dev.2 09:54:41 v2.2.1-dev.3 09:54:41 v2.2.1-dev.4 09:54:41 v2.2.1-dev.5 09:54:41 v2.2.1-dev.6 09:54:41 v2.2.1-dev.7 09:54:41 v2.3.0-dev.10 09:54:41 v2.3.0-dev.11 09:54:41 v2.3.0-dev.12 09:54:41 v2.3.0-dev.13 09:54:41 v2.3.0-dev.14 09:54:41 v2.3.0-dev.15 09:54:41 v2.3.0-dev.16 09:54:41 v2.3.0-dev.17 09:54:41 v2.3.0-dev.18 09:54:41 v2.3.0-dev.19 09:54:41 v2.3.0-dev.20 09:54:41 v2.3.0-dev.21 09:54:41 v2.3.0-dev.22 09:54:41 v2.3.0-dev.7 09:54:41 v2.3.0-dev.8 09:54:41 v2.3.0-dev.9 [Pipeline] sh 09:54:41 + lftools sign git-tag v2.3.0-dev.22 09:54:41 Signing Git tag with Sigul... 09:54:41 Signing v2.3.0-dev.22 [Pipeline] echo 09:54:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:54:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:54:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:54:42 $ docker stop --time=1 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 09:54:43 $ docker rm -f 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:54:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:44 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:54:45 $ docker top c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:45 [ssh-agent] Looking for ssh-agent implementation... 09:54:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:45 $ docker exec c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c ssh-agent 09:54:45 SSH_AUTH_SOCK=/tmp/ssh-0kR4pU8qEIyw/agent.31 09:54:45 SSH_AGENT_PID=37 09:54:45 Running ssh-add (command line suppressed) 09:54:45 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13874734813817851855.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13874734813817851855.key) 09:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:45 + git semver bump pre 09:54:45 2022-11-03 09:54:45,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:45 2022-11-03 09:54:45,905 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 09:54:45 2022-11-03 09:54:45,905 [bump_version] DEBUG bumped version:2.3.0-dev.23 09:54:45 2022-11-03 09:54:45,905 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 09:54:45 2022-11-03 09:54:45,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:45 2022-11-03 09:54:45,905 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:45 2022-11-03 09:54:45,907 [execute] INFO git cat-file --batch-check 09:54:45 2022-11-03 09:54:45,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:45 2022-11-03 09:54:45,917 [execute] INFO git cat-file --batch 09:54:45 2022-11-03 09:54:45,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:45 2022-11-03 09:54:45,923 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:45 2.3.0-dev.23 [Pipeline] } 09:54:45 $ docker exec --env ******** --env ******** c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c ssh-agent -k 09:54:46 unset SSH_AUTH_SOCK; 09:54:46 unset SSH_AGENT_PID; 09:54:46 echo Agent pid 37 killed; 09:54:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:46 + git semver [Pipeline] } 09:54:46 $ docker stop --time=1 c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c 09:54:47 $ docker rm -f c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c [Pipeline] // withDockerContainer [Pipeline] sh 09:54:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:48 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:54:49 $ docker top 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:49 [ssh-agent] Looking for ssh-agent implementation... 09:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:49 $ docker exec 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 ssh-agent 09:54:49 SSH_AUTH_SOCK=/tmp/ssh-3NWOVnYmeAw7/agent.32 09:54:49 SSH_AGENT_PID=38 09:54:49 Running ssh-add (command line suppressed) 09:54:49 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16085651522097869112.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16085651522097869112.key) 09:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:49 + git semver push 09:54:49 2022-11-03 09:54:49,897 [run_push] DEBUG push 09:54:49 2022-11-03 09:54:49,898 [execute] INFO git cat-file --batch-check 09:54:49 2022-11-03 09:54:49,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:49 2022-11-03 09:54:49,902 [execute] INFO git rev-list 3dbe4b8d43aa6a5252edeb200cec9a3de00eae5f -- 09:54:49 2022-11-03 09:54:49,902 [execute] DEBUG Popen(['git', 'rev-list', '3dbe4b8d43aa6a5252edeb200cec9a3de00eae5f', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:54:49 2022-11-03 09:54:49,909 [execute] INFO git fetch -v origin 09:54:49 2022-11-03 09:54:49,909 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:54:50 2022-11-03 09:54:50,509 [run_push] DEBUG no remote changes detected 09:54:50 2022-11-03 09:54:50,509 [execute] INFO git push origin semver 09:54:50 2022-11-03 09:54:50,510 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:54:51 2022-11-03 09:54:51,281 [run_push] DEBUG push all version tags 09:54:51 2022-11-03 09:54:51,281 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:54:51 2022-11-03 09:54:51,282 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 09:54:52 2022-11-03 09:54:52,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 09:54:52 2.3.0-dev.23 [Pipeline] } 09:54:52 $ docker exec --env ******** --env ******** 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 ssh-agent -k 09:54:52 unset SSH_AUTH_SOCK; 09:54:52 unset SSH_AGENT_PID; 09:54:52 echo Agent pid 38 killed; 09:54:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:52 + git semver [Pipeline] } 09:54:53 $ docker stop --time=1 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 09:54:54 $ docker rm -f 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 09:54:55 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 09:54:55 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:54:55 total 16 09:54:55 drwxr-xr-x 3 root root 4096 Nov 3 09:45 . 09:54:55 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:54 .. 09:54:55 drwxr-xr-x 2 root root 4096 Nov 3 09:45 cost 09:54:55 -rw-r--r-- 1 root root 85 Nov 3 09:45 cost.csv 09:54:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:54:55 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:54:55 total 16 09:54:55 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:45 . 09:54:55 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:54 .. 09:54:55 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:45 cost 09:54:55 -rw-r--r-- 1 jenkins jenkins 85 Nov 3 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:54:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:56 ---> package-listing.sh 09:54:56 ++ facter osfamily 09:54:56 ++ tr '[:upper:]' '[:lower:]' 09:54:56 + OS_FAMILY=debian 09:54:56 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 09:54:56 + START_PACKAGES=/tmp/packages_start.txt 09:54:56 + END_PACKAGES=/tmp/packages_end.txt 09:54:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:56 + PACKAGES=/tmp/packages_start.txt 09:54:56 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:54:56 + PACKAGES=/tmp/packages_end.txt 09:54:56 + case "${OS_FAMILY}" in 09:54:56 + dpkg -l 09:54:56 + grep '^ii' 09:54:56 + '[' -f /tmp/packages_start.txt ']' 09:54:56 + '[' -f /tmp/packages_end.txt ']' 09:54:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:56 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:54:56 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 09:54:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 09:54:56 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:54:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:57 prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container 09:54:57 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:57 $ docker top 368ee03dddbbbea953c20f49afa2aec5cad17275c8be4ae5ca083b697f61ffef -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:58 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:58 + mkdir -p /var/log/sysstat [Pipeline] sh 09:54:58 + ls /var/log/sa-host 09:54:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:58 provisioning config files... 09:54:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2496917661376041456tmp [Pipeline] { [Pipeline] echo 09:54:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:59 ---> create-netrc.sh [Pipeline] } 09:54:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:59 ---> python-tools-install.sh [Pipeline] echo 09:54:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:59 ---> sudo-logs.sh 09:54:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:55:00 ---> job-cost.sh 09:55:00 lf-activate-venv: SKIPPING 09:55:00 DEBUG: total: 0.2199999988079071 09:55:00 INFO: Retrieving Stack Cost... 09:55:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:55:00 INFO: Archiving Costs [Pipeline] echo 09:55:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:55:01 ---> logs-deploy.sh 09:55:01 lf-activate-venv: SKIPPING 09:55:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/53 09:55:01 INFO: archiving workspace using pattern(s): 09:55:02 Archives upload complete. 09:55:02 INFO: archiving logs to Nexus