Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 939f05dc904f698a3240c8a4fd92233c39c26988 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-ssh9533402022102522754.key > 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-ssh9439022925042971744.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-ssh525387603821721608.key > 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-ssh13856474641680341850.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh5398175090099510757.key > 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 ‘prd-ubuntu20.04-docker-8c-8g-1591’ Running on prd-ubuntu20.04-docker-8c-8g-1596 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 > 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 939f05dc904f698a3240c8a4fd92233c39c26988 (main) Commit message: "refactor!: Rename command line flags for the sake of consistency (#209)" > 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 939f05dc904f698a3240c8a4fd92233c39c26988 # timeout=10 > git rev-list --no-walk d1c7c2ea98aab23790d51b6eaeef7bb46474233e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:19 ========================================================= 17:22:19 EdgeX Global Pipelines Version Info 17:22:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:19 ------------------- 17:22:19 stable info: 17:22:19 ------------------- 17:22:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:22:19 Message: update stable to v1.0.244 17:22:20 ------------------- 17:22:20 experimental info: 17:22:20 ------------------- 17:22:20 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:22:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 939f05d [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:20 provisioning config files... 17:22:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config837636105185501619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:21 ---> docker-login.sh 17:22:21 nexus3.edgexfoundry.org:10001 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10002 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10003 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10004 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:22 docker.io 17:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 ---> docker-login.sh ends [Pipeline] } 17:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:22:22 + git rev-list -1 --merges 939f05dc904f698a3240c8a4fd92233c39c26988~1..939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] echo 17:22:22 -----------> git rev-list -1 --merges 939f05dc904f698a3240c8a4fd92233c39c26988~1..939f05dc904f698a3240c8a4fd92233c39c26988 939f05dc904f698a3240c8a4fd92233c39c26988 [false] [Pipeline] sh 17:22:22 + git log --format=format:%s -1 939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] echo 17:22:23 ========================================================= 17:22:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:22:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:23 + git log --format=format:%s -1 939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] echo 17:22:23 [semverPrep] GIT_COMMIT: 939f05dc904f698a3240c8a4fd92233c39c26988, Commit Message: refactor!: Rename command line flags for the sake of consistency (#209) [Pipeline] echo 17:22:23 [semverPrep] This is not a build commit. [Pipeline] sh 17:22:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:22:23 + grep -v github /etc/ssh/ssh_known_hosts 17:22:23 + [ -e /tmp/ssh_known_hosts ] 17:22:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:22:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:22:23 + sudo tee -a /etc/ssh/ssh_known_hosts 17:22:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:24 17:22:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:24 0.1.4: Pulling from edgex-devops/py-git-semver 17:22:24 b85a868b505f: Pulling fs layer 17:22:24 e2be974225ed: Pulling fs layer 17:22:24 339a4e72a1f5: Pulling fs layer 17:22:24 988bab9f4d93: Pulling fs layer 17:22:24 1469e6f7b9e6: Pulling fs layer 17:22:24 eaf3925da568: Pulling fs layer 17:22:24 bab4dde63d76: Pulling fs layer 17:22:24 bde34c3a00c8: Pulling fs layer 17:22:24 eaf3925da568: Waiting 17:22:24 988bab9f4d93: Waiting 17:22:24 1469e6f7b9e6: Waiting 17:22:24 bab4dde63d76: Waiting 17:22:24 b352a97aabf1: Pulling fs layer 17:22:24 bde34c3a00c8: Waiting 17:22:24 4872d77fe225: Pulling fs layer 17:22:24 5851b861e8e6: Pulling fs layer 17:22:24 b352a97aabf1: Waiting 17:22:24 4872d77fe225: Waiting 17:22:24 5851b861e8e6: Waiting 17:22:24 e2be974225ed: Download complete 17:22:24 988bab9f4d93: Verifying Checksum 17:22:24 988bab9f4d93: Download complete 17:22:24 1469e6f7b9e6: Verifying Checksum 17:22:24 1469e6f7b9e6: Download complete 17:22:24 339a4e72a1f5: Verifying Checksum 17:22:24 339a4e72a1f5: Download complete 17:22:24 eaf3925da568: Verifying Checksum 17:22:24 eaf3925da568: Download complete 17:22:24 bde34c3a00c8: Download complete 17:22:24 b352a97aabf1: Download complete 17:22:24 4872d77fe225: Verifying Checksum 17:22:24 4872d77fe225: Download complete 17:22:24 5851b861e8e6: Verifying Checksum 17:22:24 5851b861e8e6: Download complete 17:22:24 b85a868b505f: Verifying Checksum 17:22:24 b85a868b505f: Download complete 17:22:24 bab4dde63d76: Download complete 17:22:26 b85a868b505f: Pull complete 17:22:26 e2be974225ed: Pull complete 17:22:26 339a4e72a1f5: Pull complete 17:22:26 988bab9f4d93: Pull complete 17:22:27 1469e6f7b9e6: Pull complete 17:22:27 eaf3925da568: Pull complete 17:22:29 bab4dde63d76: Pull complete 17:22:29 bde34c3a00c8: Pull complete 17:22:29 b352a97aabf1: Pull complete 17:22:29 4872d77fe225: Pull complete 17:22:29 5851b861e8e6: Pull complete 17:22:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:29 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:22:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:22:31 $ docker top fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 -eo pid,comm 17:22:31 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). 17:22:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:31 [ssh-agent] Looking for ssh-agent implementation... 17:22:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:31 $ docker exec fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 ssh-agent 17:22:31 SSH_AUTH_SOCK=/tmp/ssh-pWjjL7SLKvMd/agent.33 17:22:31 SSH_AGENT_PID=39 17:22:31 Running ssh-add (command line suppressed) 17:22:32 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10918060277168668456.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10918060277168668456.key) 17:22:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:32 + git tag --points-at HEAD [Pipeline] } 17:22:32 $ docker exec --env ******** --env ******** fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 ssh-agent -k 17:22:32 unset SSH_AUTH_SOCK; 17:22:32 unset SSH_AGENT_PID; 17:22:32 echo Agent pid 39 killed; 17:22:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:22:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:32 [ssh-agent] Looking for ssh-agent implementation... 17:22:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:32 $ docker exec fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 ssh-agent 17:22:32 SSH_AUTH_SOCK=/tmp/ssh-EDAwU97xjVpy/agent.71 17:22:32 SSH_AGENT_PID=77 17:22:32 Running ssh-add (command line suppressed) 17:22:32 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13233296107411421227.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13233296107411421227.key) 17:22:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:33 + git semver init 17:22:33 2023-01-10 17:22:33,338 [run_init] DEBUG init version:0.0.0 force:False 17:22:33 2023-01-10 17:22:33,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:22:33 2023-01-10 17:22:33,339 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:22:33 2023-01-10 17:22:33,339 [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) 17:22:34 2023-01-10 17:22:34,565 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 17:22:34 2023-01-10 17:22:34,565 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 17:22:34 2023-01-10 17:22:34,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:22:34 2023-01-10 17:22:34,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:22:34 3.0.0-dev.2 [Pipeline] } 17:22:34 $ docker exec --env ******** --env ******** fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 ssh-agent -k 17:22:34 unset SSH_AUTH_SOCK; 17:22:34 unset SSH_AGENT_PID; 17:22:34 echo Agent pid 77 killed; 17:22:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:35 + git semver [Pipeline] } 17:22:35 $ docker stop --time=1 fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 17:22:36 $ docker rm -f --volumes fba8144f63ee0d23805c4b76dedbe6d08d7d88aac02fb23e5f84fd263efd83d1 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:37 Stashed 1 file(s) [Pipeline] echo 17:22:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 17:22:37 provisioning config files... 17:22:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2299413519824915319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:37 ---> docker-login.sh 17:22:37 nexus3.edgexfoundry.org:10001 17:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:37 Configure a credential helper to remove this warning. See 17:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:37 17:22:37 Login Succeeded 17:22:37 nexus3.edgexfoundry.org:10002 17:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:37 Configure a credential helper to remove this warning. See 17:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:37 17:22:37 Login Succeeded 17:22:37 nexus3.edgexfoundry.org:10003 17:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:38 Configure a credential helper to remove this warning. See 17:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:38 17:22:38 Login Succeeded 17:22:38 nexus3.edgexfoundry.org:10004 17:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:38 Configure a credential helper to remove this warning. See 17:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:38 17:22:38 Login Succeeded 17:22:38 docker.io 17:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:38 Configure a credential helper to remove this warning. See 17:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:38 17:22:38 Login Succeeded 17:22:38 ---> docker-login.sh ends [Pipeline] } 17:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:38 ========================================================= 17:22:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:22:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:38 + 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 . 17:22:38 Sending build context to Docker daemon 5.629MB 17:22:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:22:38 Step 2/12 : FROM ${BASE} AS builder 17:22:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:38 213ec9aee27d: Pulling fs layer 17:22:38 4583459ba037: Pulling fs layer 17:22:38 93c1e223e6f2: Pulling fs layer 17:22:38 53926ce57604: Pulling fs layer 17:22:38 21b2b0c7a3f4: Pulling fs layer 17:22:38 22ff95d597cd: Pulling fs layer 17:22:38 12d6caf4c0d1: Pulling fs layer 17:22:38 96b7cbca73a9: Pulling fs layer 17:22:38 a7acece74701: Pulling fs layer 17:22:38 53926ce57604: Waiting 17:22:38 21b2b0c7a3f4: Waiting 17:22:38 96b7cbca73a9: Waiting 17:22:38 a7acece74701: Waiting 17:22:38 22ff95d597cd: Waiting 17:22:38 12d6caf4c0d1: Waiting 17:22:38 93c1e223e6f2: Verifying Checksum 17:22:38 93c1e223e6f2: Download complete 17:22:38 4583459ba037: Verifying Checksum 17:22:38 4583459ba037: Download complete 17:22:38 21b2b0c7a3f4: Verifying Checksum 17:22:38 21b2b0c7a3f4: Download complete 17:22:38 22ff95d597cd: Verifying Checksum 17:22:38 22ff95d597cd: Download complete 17:22:39 213ec9aee27d: Verifying Checksum 17:22:39 12d6caf4c0d1: Download complete 17:22:39 213ec9aee27d: Pull complete 17:22:39 4583459ba037: Pull complete 17:22:39 93c1e223e6f2: Pull complete 17:22:39 96b7cbca73a9: Verifying Checksum 17:22:39 96b7cbca73a9: Download complete 17:22:39 a7acece74701: Verifying Checksum 17:22:39 a7acece74701: Download complete 17:22:39 53926ce57604: Verifying Checksum 17:22:39 53926ce57604: Download complete 17:22:43 53926ce57604: Pull complete 17:22:43 21b2b0c7a3f4: Pull complete 17:22:43 22ff95d597cd: Pull complete 17:22:43 12d6caf4c0d1: Pull complete 17:22:45 96b7cbca73a9: Pull complete 17:22:46 a7acece74701: Pull complete 17:22:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:22:46 ---> db6d94c90886 17:22:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:22:50 ---> Running in b413dd4770f6 17:22:50 Removing intermediate container b413dd4770f6 17:22:50 ---> 852dcbd4bd86 17:22:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:50 ---> Running in 000c01aa0a23 17:22:50 Removing intermediate container 000c01aa0a23 17:22:50 ---> f1deec33fa83 17:22:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:22:50 ---> Running in 2dee8a28bb27 17:22:51 Removing intermediate container 2dee8a28bb27 17:22:51 ---> 88bec75fc544 17:22:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:22:51 ---> Running in 23fde52394da 17:22:51 Removing intermediate container 23fde52394da 17:22:51 ---> bd76f9ef5e8f 17:22:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:51 ---> Running in 03dd25b20952 17:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:22:51 (2/4) Installing libedit (20210910.3.1-r0) 17:22:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:22:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:22:51 Executing busybox-1.35.0-r17.trigger 17:22:51 OK: 216 MiB in 55 packages 17:22:52 Removing intermediate container 03dd25b20952 17:22:52 ---> fd09a0eb97ca 17:22:52 Step 8/12 : WORKDIR /device-snmp-go 17:22:52 ---> Running in 4033850b26d8 17:22:52 Removing intermediate container 4033850b26d8 17:22:52 ---> bbb2f10b009e 17:22:52 Step 9/12 : COPY go.mod vendor* ./ 17:22:52 Still waiting to schedule task 17:22:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1592’ 17:22:52 ---> 430196be8dd6 17:22:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:52 ---> Running in 6051cc5171fc 17:23:19 Removing intermediate container 6051cc5171fc 17:23:19 ---> 784f9fddf63f 17:23:19 Step 11/12 : COPY . . 17:23:19 ---> e9656765b5e0 17:23:19 Step 12/12 : RUN ${MAKE} 17:23:19 ---> Running in cd437a271508 17:23:19 noop 17:23:19 Removing intermediate container cd437a271508 17:23:19 ---> ee5df6b188d9 17:23:19 Successfully built ee5df6b188d9 17:23:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:19 + docker inspect -f . ci-base-image-x86_64 17:23:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:19 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:23:19 $ 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 ******** ci-base-image-x86_64 cat 17:23:20 $ docker top 60a4b6e4389552a540b21cc915750fb63daeae9bc29e7983e08a0d80222014d0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:20 + go version 17:23:20 go version go1.18.7 linux/amd64 [Pipeline] } 17:23:20 $ docker stop --time=1 60a4b6e4389552a540b21cc915750fb63daeae9bc29e7983e08a0d80222014d0 17:23:21 $ docker rm -f --volumes 60a4b6e4389552a540b21cc915750fb63daeae9bc29e7983e08a0d80222014d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:22 + docker inspect -f . ci-base-image-x86_64 17:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:22 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:23:22 $ 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 ******** ci-base-image-x86_64 cat 17:23:22 $ docker top 011a542e99c55729ba11978fff7b8676ee65cbd7ac8086a7573f3f2127490343 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 17:23:23 + make test 17:23:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:23:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:23:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:23:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements 17:23:37 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." 17:23:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:23:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:41 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:41 $ docker stop --time=1 011a542e99c55729ba11978fff7b8676ee65cbd7ac8086a7573f3f2127490343 17:23:43 $ docker rm -f --volumes 011a542e99c55729ba11978fff7b8676ee65cbd7ac8086a7573f3f2127490343 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:44 + ls -al . 17:23:44 total 180 17:23:44 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:23 . 17:23:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:22 .. 17:23:44 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 17:22 .dockerignore 17:23:44 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:23 .git 17:23:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 .github 17:23:44 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 17:22 .gitignore 17:23:44 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:22 .golangci.yml 17:23:44 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:22 .semver 17:23:44 -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 17:22 Attribution.txt 17:23:44 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 17:22 CHANGELOG.md 17:23:44 -rw-rw-r-- 1 jenkins jenkins 1468 Jan 10 17:22 Dockerfile 17:23:44 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:22 GOVERNANCE.md 17:23:44 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 17:22 Jenkinsfile 17:23:44 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:22 LICENSE 17:23:44 -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 17:22 Makefile 17:23:44 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 17:22 OWNERS.md 17:23:44 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 17:22 README.md 17:23:44 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:22 VERSION 17:23:44 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:22 bin 17:23:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 cmd 17:23:44 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 17:23 coverage.out 17:23:44 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 17:22 go.mod 17:23:44 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 17:22 go.sum 17:23:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 internal 17:23:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:22 snap 17:23:44 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:45 + 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=939f05dc904f698a3240c8a4fd92233c39c26988 --label arch=amd64 --label version=3.0.0-dev.2 . 17:23:45 Sending build context to Docker daemon 5.637MB 17:23:45 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:23:45 Step 2/24 : FROM ${BASE} AS builder 17:23:45 ---> ee5df6b188d9 17:23:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:23:45 ---> Running in e30f5a851796 17:23:45 Removing intermediate container e30f5a851796 17:23:45 ---> 853db8a50a8c 17:23:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:45 ---> Running in d3af39869fc8 17:23:45 Removing intermediate container d3af39869fc8 17:23:45 ---> ad542139c6ea 17:23:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:23:45 ---> Running in 58913bfaefc6 17:23:45 Removing intermediate container 58913bfaefc6 17:23:45 ---> 14fe24ed3f62 17:23:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:23:45 ---> Running in 8d44148506be 17:23:45 Removing intermediate container 8d44148506be 17:23:45 ---> c6d4d7506a10 17:23:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:45 ---> Running in 46a292afaf12 17:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:46 OK: 216 MiB in 55 packages 17:23:46 Removing intermediate container 46a292afaf12 17:23:46 ---> 0166111bc5ab 17:23:46 Step 8/24 : WORKDIR /device-snmp-go 17:23:46 ---> Running in 1b7932e3616c 17:23:46 Removing intermediate container 1b7932e3616c 17:23:46 ---> cf9f12533259 17:23:46 Step 9/24 : COPY go.mod vendor* ./ 17:23:46 ---> dfc9c57c6255 17:23:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:46 ---> Running in 35494e2cc6dc 17:23:47 Removing intermediate container 35494e2cc6dc 17:23:47 ---> 60c7a076a3b6 17:23:47 Step 11/24 : COPY . . 17:23:47 ---> f3877b749856 17:23:47 Step 12/24 : RUN ${MAKE} 17:23:47 ---> Running in 95dd59d6700b 17:23:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 17:24:09 Removing intermediate container 95dd59d6700b 17:24:09 ---> 7832c6e5f1c0 17:24:09 Step 13/24 : FROM alpine:3.16 17:24:09 3.16: Pulling from library/alpine 17:24:09 ca7dd9ec2225: Pulling fs layer 17:24:09 ca7dd9ec2225: Verifying Checksum 17:24:09 ca7dd9ec2225: Download complete 17:24:09 ca7dd9ec2225: Pull complete 17:24:09 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:24:09 Status: Downloaded newer image for alpine:3.16 17:24:09 ---> bfe296a52501 17:24:09 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 17:24:09 ---> Running in 41b1984b5d54 17:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:24:09 (1/6) Installing dumb-init (1.2.5-r1) 17:24:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:24:09 (3/6) Installing libsodium (1.0.18-r0) 17:24:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:24:09 (5/6) Installing libzmq (4.3.4-r0) 17:24:09 (6/6) Installing zeromq (4.3.4-r0) 17:24:09 Executing busybox-1.35.0-r17.trigger 17:24:09 OK: 8 MiB in 20 packages 17:24:09 Removing intermediate container 41b1984b5d54 17:24:09 ---> c63979841616 17:24:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:24:10 ---> 5a29b8cf6557 17:24:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:24:10 ---> ba521b45abe1 17:24:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:24:10 ---> 05a1721328eb 17:24:10 Step 18/24 : EXPOSE 59993 17:24:10 ---> Running in 9d658044d304 17:24:10 Removing intermediate container 9d658044d304 17:24:10 ---> 3289a23fd0ab 17:24:10 Step 19/24 : EXPOSE 161 17:24:10 ---> Running in 545b8d447071 17:24:10 Removing intermediate container 545b8d447071 17:24:10 ---> a2a50c1ea381 17:24:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:24:10 ---> Running in 116633cec38a 17:24:10 Removing intermediate container 116633cec38a 17:24:10 ---> 2370f633915f 17:24:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:24:10 ---> Running in 0768987edddb 17:24:10 Removing intermediate container 0768987edddb 17:24:10 ---> 900ac32cd8fc 17:24:10 Step 22/24 : LABEL arch=amd64 17:24:10 ---> Running in 8bbe9fa5135b 17:24:11 Removing intermediate container 8bbe9fa5135b 17:24:11 ---> 2efeb78e988b 17:24:11 Step 23/24 : LABEL git_sha=939f05dc904f698a3240c8a4fd92233c39c26988 17:24:11 ---> Running in bb489ba3aee8 17:24:11 Removing intermediate container bb489ba3aee8 17:24:11 ---> b8afa9188cec 17:24:11 Step 24/24 : LABEL version=3.0.0-dev.2 17:24:11 ---> Running in 3010087456eb 17:24:11 Removing intermediate container 3010087456eb 17:24:11 ---> a0fc2d454d9c 17:24:11 [Warning] One or more build-args [ARCH] were not consumed 17:24:11 Successfully built a0fc2d454d9c 17:24:11 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:11 provisioning config files... 17:24:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17931421925710129529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:11 ---> docker-login.sh 17:24:11 nexus3.edgexfoundry.org:10001 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10002 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10003 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10004 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 docker.io 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:12 Configure a credential helper to remove this warning. See 17:24:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:12 17:24:12 Login Succeeded 17:24:12 ---> docker-login.sh ends [Pipeline] } 17:24:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:24:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:12 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 17:24:12 939f05dc904f698a3240c8a4fd92233c39c26988 17:24:12 latest 17:24:12 3.0.0-dev.2 17:24:12 939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:24:12 main 17:24:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988 17:24:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:24:12 bdc46cf7e2e3: Preparing 17:24:12 486163ab6be4: Preparing 17:24:12 899b693d1947: Preparing 17:24:12 a0b6290f91b7: Preparing 17:24:12 e5e13b0c77cb: Preparing 17:24:12 e5e13b0c77cb: Layer already exists 17:24:12 bdc46cf7e2e3: Pushed 17:24:12 486163ab6be4: Pushed 17:24:13 a0b6290f91b7: Pushed 17:24:15 899b693d1947: Pushed 17:24:15 939f05dc904f698a3240c8a4fd92233c39c26988: digest: sha256:792e32f23ac719bbef33eaa5644c1438295f7c0ee951092a90b923fa65229a1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 17:24:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:24:16 bdc46cf7e2e3: Preparing 17:24:16 486163ab6be4: Preparing 17:24:16 899b693d1947: Preparing 17:24:16 a0b6290f91b7: Preparing 17:24:16 e5e13b0c77cb: Preparing 17:24:16 899b693d1947: Layer already exists 17:24:16 e5e13b0c77cb: Layer already exists 17:24:16 bdc46cf7e2e3: Layer already exists 17:24:16 a0b6290f91b7: Layer already exists 17:24:16 486163ab6be4: Layer already exists 17:24:16 latest: digest: sha256:792e32f23ac719bbef33eaa5644c1438295f7c0ee951092a90b923fa65229a1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:16 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.2 17:24:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:24:16 bdc46cf7e2e3: Preparing 17:24:16 486163ab6be4: Preparing 17:24:16 899b693d1947: Preparing 17:24:16 a0b6290f91b7: Preparing 17:24:16 e5e13b0c77cb: Preparing 17:24:16 e5e13b0c77cb: Layer already exists 17:24:16 899b693d1947: Layer already exists 17:24:16 a0b6290f91b7: Layer already exists 17:24:16 bdc46cf7e2e3: Layer already exists 17:24:16 486163ab6be4: Layer already exists 17:24:16 3.0.0-dev.2: digest: sha256:792e32f23ac719bbef33eaa5644c1438295f7c0ee951092a90b923fa65229a1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:24:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:24:17 bdc46cf7e2e3: Preparing 17:24:17 486163ab6be4: Preparing 17:24:17 899b693d1947: Preparing 17:24:17 a0b6290f91b7: Preparing 17:24:17 e5e13b0c77cb: Preparing 17:24:17 a0b6290f91b7: Layer already exists 17:24:17 bdc46cf7e2e3: Layer already exists 17:24:17 e5e13b0c77cb: Layer already exists 17:24:17 486163ab6be4: Layer already exists 17:24:17 899b693d1947: Layer already exists 17:24:17 939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2: digest: sha256:792e32f23ac719bbef33eaa5644c1438295f7c0ee951092a90b923fa65229a1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 17:24:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:24:18 bdc46cf7e2e3: Preparing 17:24:18 486163ab6be4: Preparing 17:24:18 899b693d1947: Preparing 17:24:18 a0b6290f91b7: Preparing 17:24:18 e5e13b0c77cb: Preparing 17:24:18 bdc46cf7e2e3: Layer already exists 17:24:18 486163ab6be4: Layer already exists 17:24:18 a0b6290f91b7: Layer already exists 17:24:18 e5e13b0c77cb: Layer already exists 17:24:18 899b693d1947: Layer already exists 17:24:18 main: digest: sha256:792e32f23ac719bbef33eaa5644c1438295f7c0ee951092a90b923fa65229a1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:24:18 ===================================================== [Pipeline] echo 17:24:18 taggedImages: 17:24:18 - nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988 17:24:18 - nexus3.edgexfoundry.org:10004/device-snmp:latest 17:24:18 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.2 17:24:18 - nexus3.edgexfoundry.org:10004/device-snmp:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:24:18 - 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 17:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:18 17:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:18 latest: Pulling from edgex-lftools-log-publisher 17:24:18 5eb5b503b376: Pulling fs layer 17:24:18 5c69ac0246d0: Pulling fs layer 17:24:18 ec43610c2a17: Pulling fs layer 17:24:18 3a2ae6a8a46f: Pulling fs layer 17:24:18 33b1e0a273af: Pulling fs layer 17:24:18 5d3b04190fa2: Pulling fs layer 17:24:18 2f39f015ded8: Pulling fs layer 17:24:18 33b1e0a273af: Waiting 17:24:18 5d3b04190fa2: Waiting 17:24:18 2f39f015ded8: Waiting 17:24:18 3a2ae6a8a46f: Waiting 17:24:18 5c69ac0246d0: Verifying Checksum 17:24:18 5c69ac0246d0: Download complete 17:24:18 3a2ae6a8a46f: Verifying Checksum 17:24:18 3a2ae6a8a46f: Download complete 17:24:18 33b1e0a273af: Verifying Checksum 17:24:18 33b1e0a273af: Download complete 17:24:18 5d3b04190fa2: Download complete 17:24:19 ec43610c2a17: Verifying Checksum 17:24:19 ec43610c2a17: Download complete 17:24:19 5eb5b503b376: Verifying Checksum 17:24:19 5eb5b503b376: Download complete 17:24:19 2f39f015ded8: Download complete 17:24:20 5eb5b503b376: Pull complete 17:24:20 5c69ac0246d0: Pull complete 17:24:20 ec43610c2a17: Pull complete 17:24:20 3a2ae6a8a46f: Pull complete 17:24:20 33b1e0a273af: Pull complete 17:24:20 5d3b04190fa2: Pull complete 17:24:25 2f39f015ded8: Pull complete 17:24:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:25 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:24:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:24:28 $ docker top 9dcdbf53c8295e6af6e38e39514628fdf9c44c402d1f82277c2302bcefd9af8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:28 ---> job-cost.sh 17:24:28 lf-activate-venv: SKIPPING 17:24:28 INFO: No Stack... 17:24:29 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:29 INFO: Archiving Costs [Pipeline] sh 17:24:29 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 17:24:29 + cut -d, -f6 [Pipeline] lock 17:24:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] 17:24:29 Resource [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] did not exist. Created. 17:24:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:30 + echo total: 0.2199999988079071 [Pipeline] stash 17:24:30 Stashed 1 file(s) [Pipeline] } 17:24:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:30 $ docker stop --time=1 9dcdbf53c8295e6af6e38e39514628fdf9c44c402d1f82277c2302bcefd9af8c 17:24:31 $ docker rm -f --volumes 9dcdbf53c8295e6af6e38e39514628fdf9c44c402d1f82277c2302bcefd9af8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1603 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 17:25:43 Running in /w/workspace/device-snmp-go/58 [Pipeline] { [Pipeline] checkout 17:25:43 Selected Git installation does not exist. Using Default 17:25:43 The recommended git tool is: NONE 17:25:51 using credential edgex-jenkins-ssh 17:25:51 Cloning the remote Git repository 17:25:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:25:51 > git init /w/workspace/device-snmp-go/58 # timeout=10 17:25:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:25:51 > git --version # timeout=10 17:25:51 > git --version # 'git version 2.25.1' 17:25:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:25:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:54 Avoid second fetch 17:25:54 Checking out Revision 939f05dc904f698a3240c8a4fd92233c39c26988 (main) 17:25:54 > git config core.sparsecheckout # timeout=10 17:25:54 > git checkout -f 939f05dc904f698a3240c8a4fd92233c39c26988 # timeout=10 17:25:54 Commit message: "refactor!: Rename command line flags for the sake of consistency (#209)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:25:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:55 Dload Upload Total Spent Left Speed 17:25:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 17:25:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:56 + sudo tee /etc/docker/daemon.new 17:25:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:25:56 { 17:25:56 "registry-mirrors": [ 17:25:56 "https://nexus3.edgexfoundry.org:10001" 17:25:56 ], 17:25:56 "bip": "10.250.0.254/24", 17:25:56 "hosts": [ 17:25:56 "tcp://0.0.0.0:5555", 17:25:56 "unix:///var/run/docker.sock" 17:25:56 ], 17:25:56 "mtu": 1458, 17:25:56 "selinux-enabled": true, 17:25:56 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:56 } [Pipeline] sh 17:25:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:15 provisioning config files... 17:26:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/58@tmp/config6586028728349404679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:16 ---> docker-login.sh 17:26:16 nexus3.edgexfoundry.org:10001 17:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:16 Configure a credential helper to remove this warning. See 17:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:16 17:26:16 Login Succeeded 17:26:16 nexus3.edgexfoundry.org:10002 17:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:17 Configure a credential helper to remove this warning. See 17:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:17 17:26:17 Login Succeeded 17:26:17 nexus3.edgexfoundry.org:10003 17:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:17 Configure a credential helper to remove this warning. See 17:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:17 17:26:17 Login Succeeded 17:26:17 nexus3.edgexfoundry.org:10004 17:26:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:18 Configure a credential helper to remove this warning. See 17:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:18 17:26:18 Login Succeeded 17:26:18 docker.io 17:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:18 Configure a credential helper to remove this warning. See 17:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:18 17:26:18 Login Succeeded 17:26:18 ---> docker-login.sh ends [Pipeline] } 17:26:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:19 ========================================================= 17:26:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:26:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:19 + 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 . 17:26:19 Sending build context to Docker daemon 2.911MB 17:26:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:26:19 Step 2/12 : FROM ${BASE} AS builder 17:26:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:20 9b18e9b68314: Pulling fs layer 17:26:20 35d82f9e3411: Pulling fs layer 17:26:20 e16973657156: Pulling fs layer 17:26:20 fc693d55d65f: Pulling fs layer 17:26:20 7e9fc2657dce: Pulling fs layer 17:26:20 dda99020689f: Pulling fs layer 17:26:20 db1c61fa0a46: Pulling fs layer 17:26:20 891c053d2c06: Pulling fs layer 17:26:20 fc693d55d65f: Waiting 17:26:20 dda99020689f: Waiting 17:26:20 7e9fc2657dce: Waiting 17:26:20 db1c61fa0a46: Waiting 17:26:20 891c053d2c06: Waiting 17:26:20 e16973657156: Verifying Checksum 17:26:20 e16973657156: Download complete 17:26:20 35d82f9e3411: Download complete 17:26:20 7e9fc2657dce: Verifying Checksum 17:26:20 7e9fc2657dce: Download complete 17:26:20 dda99020689f: Verifying Checksum 17:26:20 dda99020689f: Download complete 17:26:20 9b18e9b68314: Verifying Checksum 17:26:20 9b18e9b68314: Download complete 17:26:21 9b18e9b68314: Pull complete 17:26:21 891c053d2c06: Verifying Checksum 17:26:21 891c053d2c06: Download complete 17:26:22 35d82f9e3411: Pull complete 17:26:22 e16973657156: Pull complete 17:26:23 db1c61fa0a46: Verifying Checksum 17:26:23 db1c61fa0a46: Download complete 17:26:23 fc693d55d65f: Verifying Checksum 17:26:23 fc693d55d65f: Download complete 17:26:38 fc693d55d65f: Pull complete 17:26:38 7e9fc2657dce: Pull complete 17:26:38 dda99020689f: Pull complete 17:26:44 db1c61fa0a46: Pull complete 17:26:46 891c053d2c06: Pull complete 17:26:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:26:46 ---> f96f9c87975a 17:26:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:26:47 ---> Running in cdd4a0706116 17:26:48 Removing intermediate container cdd4a0706116 17:26:48 ---> 8593e74e0c25 17:26:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:48 ---> Running in 86a1ab2a72dd 17:26:48 Removing intermediate container 86a1ab2a72dd 17:26:48 ---> 3b0b5dc2e8f4 17:26:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:26:49 ---> Running in a31f4d2d2d4e 17:26:49 Removing intermediate container a31f4d2d2d4e 17:26:49 ---> 88baeb3d4c83 17:26:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:26:49 ---> Running in 7ed76dfad742 17:26:50 Removing intermediate container 7ed76dfad742 17:26:50 ---> 8b4c80b1427b 17:26:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:50 ---> Running in 800edfd37403 17:26:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:26:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:26:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:26:53 (2/4) Installing libedit (20210910.3.1-r0) 17:26:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:26:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:26:53 Executing busybox-1.35.0-r17.trigger 17:26:53 OK: 226 MiB in 55 packages 17:26:54 Removing intermediate container 800edfd37403 17:26:54 ---> d096bc8f9be4 17:26:54 Step 8/12 : WORKDIR /device-snmp-go 17:26:54 ---> Running in f217ae2f5c33 17:26:55 Removing intermediate container f217ae2f5c33 17:26:55 ---> 215d362fa599 17:26:55 Step 9/12 : COPY go.mod vendor* ./ 17:26:55 ---> 87417e1a7256 17:26:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:55 ---> Running in c42d0829c4bd 17:28:03 Removing intermediate container c42d0829c4bd 17:28:03 ---> 1ec3b80d2c54 17:28:03 Step 11/12 : COPY . . 17:28:03 ---> fd83c89ea017 17:28:03 Step 12/12 : RUN ${MAKE} 17:28:03 ---> Running in 2e6a42e3e1ca 17:28:03 noop 17:28:03 Removing intermediate container 2e6a42e3e1ca 17:28:03 ---> 2b2a304e6241 17:28:03 Successfully built 2b2a304e6241 17:28:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:04 + docker inspect -f . ci-base-image-arm64 17:28:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:04 prd-ubuntu20.04-docker-arm64-4c-16g-1603 does not seem to be running inside a container 17:28:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/58 -v /w/workspace/device-snmp-go/58:/w/workspace/device-snmp-go/58:rw,z -v /w/workspace/device-snmp-go/58@tmp:/w/workspace/device-snmp-go/58@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 17:28:05 $ docker top f41aaa47867206b10b3fa9431eadd3e0a84b81b4d9802461a15930f0c735b098 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:06 + go version 17:28:06 go version go1.18.7 linux/arm64 [Pipeline] } 17:28:06 $ docker stop --time=1 f41aaa47867206b10b3fa9431eadd3e0a84b81b4d9802461a15930f0c735b098 17:28:08 $ docker rm -f --volumes f41aaa47867206b10b3fa9431eadd3e0a84b81b4d9802461a15930f0c735b098 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:09 + docker inspect -f . ci-base-image-arm64 17:28:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:09 prd-ubuntu20.04-docker-arm64-4c-16g-1603 does not seem to be running inside a container 17:28:09 $ 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/58 -v /w/workspace/device-snmp-go/58:/w/workspace/device-snmp-go/58:rw,z -v /w/workspace/device-snmp-go/58@tmp:/w/workspace/device-snmp-go/58@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 17:28:10 $ docker top b15a491cf396fdd19c7e937e93dee862b025eebe6a7dcf1efa7b4606ffac5b55 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:11 + git config --global --add safe.directory /w/workspace/device-snmp-go/58 [Pipeline] fileExists [Pipeline] sh 17:28:12 + make test 17:28:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:28:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:29:51 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:29:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 17:29:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:29:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:18 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:18 $ docker stop --time=1 b15a491cf396fdd19c7e937e93dee862b025eebe6a7dcf1efa7b4606ffac5b55 17:30:20 $ docker rm -f --volumes b15a491cf396fdd19c7e937e93dee862b025eebe6a7dcf1efa7b4606ffac5b55 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:21 Warning: overwriting stash ‘coverage-report’ 17:30:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:22 + ls -al . 17:30:22 total 176 17:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:28 . 17:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:25 .. 17:30:22 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 17:25 .dockerignore 17:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:25 .git 17:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 .github 17:30:22 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 17:25 .gitignore 17:30:22 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:25 .golangci.yml 17:30:22 -rw-rw-r-- 1 jenkins jenkins 8932 Jan 10 17:25 Attribution.txt 17:30:22 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 17:25 CHANGELOG.md 17:30:22 -rw-rw-r-- 1 jenkins jenkins 1468 Jan 10 17:25 Dockerfile 17:30:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:25 GOVERNANCE.md 17:30:22 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 17:25 Jenkinsfile 17:30:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:25 LICENSE 17:30:22 -rw-rw-r-- 1 jenkins jenkins 2543 Jan 10 17:25 Makefile 17:30:22 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 17:25 OWNERS.md 17:30:22 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 17:25 README.md 17:30:22 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:22 VERSION 17:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:25 bin 17:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 cmd 17:30:22 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 17:29 coverage.out 17:30:22 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 17:25 go.mod 17:30:22 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 17:25 go.sum 17:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 internal 17:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:25 snap 17:30:22 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:23 + 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=939f05dc904f698a3240c8a4fd92233c39c26988 --label arch=arm64 --label version=3.0.0-dev.2 . 17:30:23 Sending build context to Docker daemon 2.919MB 17:30:23 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:30:23 Step 2/24 : FROM ${BASE} AS builder 17:30:23 ---> 2b2a304e6241 17:30:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:30:23 ---> Running in 553e67620cdb 17:30:24 Removing intermediate container 553e67620cdb 17:30:24 ---> b52628862dc6 17:30:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:24 ---> Running in 22de92526786 17:30:24 Removing intermediate container 22de92526786 17:30:24 ---> 837eb5fa4137 17:30:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:30:24 ---> Running in 65a88f1611ae 17:30:25 Removing intermediate container 65a88f1611ae 17:30:25 ---> e33b419231b9 17:30:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:30:25 ---> Running in 415545bca061 17:30:25 Removing intermediate container 415545bca061 17:30:25 ---> 66e81a251dda 17:30:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:25 ---> Running in d023ce882198 17:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:28 OK: 226 MiB in 55 packages 17:30:29 Removing intermediate container d023ce882198 17:30:29 ---> fb7c25388693 17:30:29 Step 8/24 : WORKDIR /device-snmp-go 17:30:29 ---> Running in 423496409b86 17:30:30 Removing intermediate container 423496409b86 17:30:30 ---> 1384898c8387 17:30:30 Step 9/24 : COPY go.mod vendor* ./ 17:30:31 ---> 5768d0d000dd 17:30:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:31 ---> Running in 6d6f801f906a 17:30:33 Removing intermediate container 6d6f801f906a 17:30:33 ---> 5b8756fa279e 17:30:33 Step 11/24 : COPY . . 17:30:34 ---> fa5d08e38eb2 17:30:34 Step 12/24 : RUN ${MAKE} 17:30:34 ---> Running in e086daa7a48b 17:30:35 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 17:33:27 Removing intermediate container e086daa7a48b 17:33:27 ---> c86fd65afc18 17:33:27 Step 13/24 : FROM alpine:3.16 17:33:27 3.16: Pulling from library/alpine 17:33:27 6875df1f5354: Pulling fs layer 17:33:27 6875df1f5354: Verifying Checksum 17:33:27 6875df1f5354: Pull complete 17:33:27 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:33:27 Status: Downloaded newer image for alpine:3.16 17:33:27 ---> 2b4661558fb8 17:33:27 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 17:33:27 ---> Running in 6fa7ddf11453 17:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:33:27 (1/6) Installing dumb-init (1.2.5-r1) 17:33:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:33:27 (3/6) Installing libsodium (1.0.18-r0) 17:33:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:33:27 (5/6) Installing libzmq (4.3.4-r0) 17:33:27 (6/6) Installing zeromq (4.3.4-r0) 17:33:27 Executing busybox-1.35.0-r17.trigger 17:33:27 OK: 8 MiB in 20 packages 17:33:27 Removing intermediate container 6fa7ddf11453 17:33:27 ---> 5a295f3d3991 17:33:27 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:33:28 ---> a175b277f108 17:33:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:33:28 ---> 803150a3acc8 17:33:28 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:33:29 ---> b4b9b3ebf817 17:33:29 Step 18/24 : EXPOSE 59993 17:33:29 ---> Running in a245162172ae 17:33:29 Removing intermediate container a245162172ae 17:33:29 ---> 3afe25f5e58a 17:33:29 Step 19/24 : EXPOSE 161 17:33:29 ---> Running in 5640d7b9e72a 17:33:30 Removing intermediate container 5640d7b9e72a 17:33:30 ---> 7fa6c7f15cea 17:33:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:33:30 ---> Running in 4635d507a74a 17:33:30 Removing intermediate container 4635d507a74a 17:33:30 ---> e84b8c745c65 17:33:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:33:30 ---> Running in 14267d509631 17:33:30 Removing intermediate container 14267d509631 17:33:30 ---> 3cfc0e356740 17:33:30 Step 22/24 : LABEL arch=arm64 17:33:30 ---> Running in 0c0cb74d2090 17:33:31 Removing intermediate container 0c0cb74d2090 17:33:31 ---> b09559bd6f90 17:33:31 Step 23/24 : LABEL git_sha=939f05dc904f698a3240c8a4fd92233c39c26988 17:33:31 ---> Running in 7aa21351f7d4 17:33:31 Removing intermediate container 7aa21351f7d4 17:33:31 ---> 1fa27ce27360 17:33:31 Step 24/24 : LABEL version=3.0.0-dev.2 17:33:31 ---> Running in d2927a31b9fb 17:33:32 Removing intermediate container d2927a31b9fb 17:33:32 ---> 67f939087412 17:33:32 [Warning] One or more build-args [ARCH] were not consumed 17:33:32 Successfully built 67f939087412 17:33:32 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 17:33:32 provisioning config files... 17:33:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/58@tmp/config11997109713727784531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:32 ---> docker-login.sh 17:33:32 nexus3.edgexfoundry.org:10001 17:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:33 Configure a credential helper to remove this warning. See 17:33:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:33 17:33:33 Login Succeeded 17:33:33 nexus3.edgexfoundry.org:10002 17:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:33 Configure a credential helper to remove this warning. See 17:33:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:33 17:33:33 Login Succeeded 17:33:33 nexus3.edgexfoundry.org:10003 17:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:33 Configure a credential helper to remove this warning. See 17:33:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:33 17:33:33 Login Succeeded 17:33:33 nexus3.edgexfoundry.org:10004 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 docker.io 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 ---> docker-login.sh ends [Pipeline] } 17:33:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:35 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 17:33:35 939f05dc904f698a3240c8a4fd92233c39c26988 17:33:35 latest 17:33:35 3.0.0-dev.2 17:33:35 939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:33:35 main 17:33:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988 17:33:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:33:35 31439fe0efcd: Preparing 17:33:35 9e20594fbd9f: Preparing 17:33:35 99301c53f822: Preparing 17:33:35 8cc7e9bd58f4: Preparing 17:33:35 17bec77d7fdc: Preparing 17:33:35 17bec77d7fdc: Layer already exists 17:33:36 9e20594fbd9f: Pushed 17:33:36 31439fe0efcd: Pushed 17:33:36 8cc7e9bd58f4: Pushed 17:33:43 99301c53f822: Pushed 17:33:43 939f05dc904f698a3240c8a4fd92233c39c26988: digest: sha256:c459ab0354f1e1014c580819a810a052023fbe88f072aaf7a1a6fa5f10fbb61f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:33:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:33:44 31439fe0efcd: Preparing 17:33:44 9e20594fbd9f: Preparing 17:33:44 99301c53f822: Preparing 17:33:44 8cc7e9bd58f4: Preparing 17:33:44 17bec77d7fdc: Preparing 17:33:44 17bec77d7fdc: Layer already exists 17:33:44 9e20594fbd9f: Layer already exists 17:33:44 8cc7e9bd58f4: Layer already exists 17:33:44 31439fe0efcd: Layer already exists 17:33:44 99301c53f822: Layer already exists 17:33:44 latest: digest: sha256:c459ab0354f1e1014c580819a810a052023fbe88f072aaf7a1a6fa5f10fbb61f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.2 17:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:33:45 31439fe0efcd: Preparing 17:33:45 9e20594fbd9f: Preparing 17:33:45 99301c53f822: Preparing 17:33:45 8cc7e9bd58f4: Preparing 17:33:45 17bec77d7fdc: Preparing 17:33:45 99301c53f822: Layer already exists 17:33:45 17bec77d7fdc: Layer already exists 17:33:45 8cc7e9bd58f4: Layer already exists 17:33:45 9e20594fbd9f: Layer already exists 17:33:45 31439fe0efcd: Layer already exists 17:33:45 3.0.0-dev.2: digest: sha256:c459ab0354f1e1014c580819a810a052023fbe88f072aaf7a1a6fa5f10fbb61f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:33:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:33:46 31439fe0efcd: Preparing 17:33:46 9e20594fbd9f: Preparing 17:33:46 99301c53f822: Preparing 17:33:46 8cc7e9bd58f4: Preparing 17:33:46 17bec77d7fdc: Preparing 17:33:46 17bec77d7fdc: Layer already exists 17:33:46 31439fe0efcd: Layer already exists 17:33:46 8cc7e9bd58f4: Layer already exists 17:33:46 99301c53f822: Layer already exists 17:33:46 9e20594fbd9f: Layer already exists 17:33:46 939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2: digest: sha256:c459ab0354f1e1014c580819a810a052023fbe88f072aaf7a1a6fa5f10fbb61f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 17:33:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:33:47 31439fe0efcd: Preparing 17:33:47 9e20594fbd9f: Preparing 17:33:47 99301c53f822: Preparing 17:33:47 8cc7e9bd58f4: Preparing 17:33:47 17bec77d7fdc: Preparing 17:33:47 8cc7e9bd58f4: Layer already exists 17:33:47 9e20594fbd9f: Layer already exists 17:33:47 17bec77d7fdc: Layer already exists 17:33:47 31439fe0efcd: Layer already exists 17:33:47 99301c53f822: Layer already exists 17:33:47 main: digest: sha256:c459ab0354f1e1014c580819a810a052023fbe88f072aaf7a1a6fa5f10fbb61f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:47 ===================================================== [Pipeline] echo 17:33:47 taggedImages: 17:33:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988 17:33:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:33:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.2 17:33:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:939f05dc904f698a3240c8a4fd92233c39c26988-3.0.0-dev.2 17:33:47 - 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 17:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:47 17:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:48 arm64: Pulling from edgex-lftools-log-publisher 17:33:48 8998bd30e6a1: Pulling fs layer 17:33:48 04944245beec: Pulling fs layer 17:33:48 699f458cf7ca: Pulling fs layer 17:33:48 765212b225bb: Pulling fs layer 17:33:48 f23df028b6ca: Pulling fs layer 17:33:48 d65c8cfc05b1: Pulling fs layer 17:33:48 2437ff75d9bd: Pulling fs layer 17:33:48 765212b225bb: Waiting 17:33:48 f23df028b6ca: Waiting 17:33:48 d65c8cfc05b1: Waiting 17:33:48 2437ff75d9bd: Waiting 17:33:48 04944245beec: Verifying Checksum 17:33:48 04944245beec: Download complete 17:33:48 765212b225bb: Verifying Checksum 17:33:48 765212b225bb: Download complete 17:33:48 f23df028b6ca: Verifying Checksum 17:33:48 f23df028b6ca: Download complete 17:33:48 d65c8cfc05b1: Verifying Checksum 17:33:48 d65c8cfc05b1: Download complete 17:33:48 699f458cf7ca: Verifying Checksum 17:33:48 699f458cf7ca: Download complete 17:33:48 8998bd30e6a1: Verifying Checksum 17:33:48 8998bd30e6a1: Download complete 17:33:51 2437ff75d9bd: Verifying Checksum 17:33:51 2437ff75d9bd: Download complete 17:33:52 8998bd30e6a1: Pull complete 17:33:53 04944245beec: Pull complete 17:33:55 699f458cf7ca: Pull complete 17:33:55 765212b225bb: Pull complete 17:33:56 f23df028b6ca: Pull complete 17:33:56 d65c8cfc05b1: Pull complete 17:34:11 2437ff75d9bd: Pull complete 17:34:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:34:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:11 prd-ubuntu20.04-docker-arm64-4c-16g-1603 does not seem to be running inside a container 17:34:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/58 -v /w/workspace/device-snmp-go/58:/w/workspace/device-snmp-go/58:rw,z -v /w/workspace/device-snmp-go/58@tmp:/w/workspace/device-snmp-go/58@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 17:34:14 $ docker top fc990a943740c45c3d87bab7ea9ab4e26aaf9013f8f9b7c22abef46489a3a86d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:15 ---> job-cost.sh 17:34:15 lf-activate-venv: SKIPPING 17:34:15 INFO: No Stack... 17:34:16 INFO: Retrieving Pricing Info for: v3-standard-4 17:34:17 INFO: Archiving Costs [Pipeline] sh 17:34:17 + cat /w/workspace/device-snmp-go/58/archives/cost.csv 17:34:17 + cut -d, -f6 [Pipeline] lock 17:34:17 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] 17:34:17 Resource [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] did not exist. Created. 17:34:17 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:18 /w/workspace/device-snmp-go/58@tmp/durable-9e714036/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:34:19 + echo total: 0.10999999940395355 [Pipeline] stash 17:34:19 Warning: overwriting stash ‘stack-cost’ 17:34:19 Stashed 1 file(s) [Pipeline] } 17:34:19 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:19 $ docker stop --time=1 fc990a943740c45c3d87bab7ea9ab4e26aaf9013f8f9b7c22abef46489a3a86d 17:34:20 $ docker rm -f --volumes fc990a943740c45c3d87bab7ea9ab4e26aaf9013f8f9b7c22abef46489a3a86d [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 17:34:21 provisioning config files... 17:34:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18305062037204117253tmp [Pipeline] { [Pipeline] sh 17:34:21 + set +x 17:34:21 + curl -s https://codecov.io/bash 17:34:21 + bash -s -- 17:34:21 17:34:21 _____ _ 17:34:21 / ____| | | 17:34:21 | | ___ __| | ___ ___ _____ __ 17:34:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:34:21 | |___| (_) | (_| | __/ (_| (_) \ V / 17:34:21 \_____\___/ \__,_|\___|\___\___/ \_/ 17:34:21 Bash-1.0.6 17:34:21 17:34:21 17:34:21 ==> git version 2.25.1 found 17:34:21 ==> 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 17:34:21 Release-Date: 2020-01-08 17:34:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:34:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:34:21 ==> Jenkins CI detected. 17:34:21 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 17:34:21 project root: . 17:34:21 --> token set from env 17:34:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:34:21 ==> Running gcov in . (disable via -X gcov) 17:34:21 ==> Python coveragepy not found 17:34:21 ==> Searching for coverage reports in: 17:34:21 + . 17:34:21 -> Found 1 reports 17:34:21 ==> Detecting git/mercurial file structure 17:34:21 ==> Reading reports 17:34:21 + ./coverage.out bytes=7631 17:34:21 ==> Appending adjustments 17:34:21 https://docs.codecov.io/docs/fixing-reports 17:34:21 + Found adjustments 17:34:21 ==> Gzipping contents 17:34:21 4.0K /tmp/codecov.LsHdV7.gz 17:34:21 ==> Uploading reports 17:34:21 url: https://codecov.io 17:34:21 query: branch=main&commit=939f05dc904f698a3240c8a4fd92233c39c26988&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:34:21 -> Pinging Codecov 17:34:21 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=939f05dc904f698a3240c8a4fd92233c39c26988&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:34:21 -> Uploading to 17:34:21 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/6C56EA5C29638FB4528AC87E60AF5AE0/939f05dc904f698a3240c8a4fd92233c39c26988/045d955a-482c-4cf3-8263-ecfac0b40ddb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T173421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=749be944910e71f2762f72ccca7c116af3d9dace7713a3cccdde866818bd49d9 17:34:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:21 Dload Upload Total Spent Left Speed 17:34:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7600 --:--:-- --:--:-- --:--:-- 7600 100 1543 0 0 100 1543 0 6919 --:--:-- --:--:-- --:--:-- 6888 17:34:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] } 17:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:34:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:34:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:22 17:34:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:34:22 df9b9388f04a: Pulling fs layer 17:34:22 52dc419b0ee2: Pulling fs layer 17:34:22 25bc292e5bac: Pulling fs layer 17:34:22 114826534d7a: Pulling fs layer 17:34:22 4657fd5d0bcf: Pulling fs layer 17:34:22 6ad1cebc031e: Pulling fs layer 17:34:22 8a3aa393b2d8: Pulling fs layer 17:34:22 8a3aa393b2d8: Waiting 17:34:22 114826534d7a: Waiting 17:34:22 25bc292e5bac: Verifying Checksum 17:34:22 25bc292e5bac: Download complete 17:34:22 52dc419b0ee2: Verifying Checksum 17:34:22 52dc419b0ee2: Download complete 17:34:22 4657fd5d0bcf: Download complete 17:34:22 df9b9388f04a: Verifying Checksum 17:34:22 df9b9388f04a: Download complete 17:34:23 6ad1cebc031e: Verifying Checksum 17:34:23 6ad1cebc031e: Download complete 17:34:23 df9b9388f04a: Pull complete 17:34:23 52dc419b0ee2: Pull complete 17:34:23 25bc292e5bac: Pull complete 17:34:23 114826534d7a: Verifying Checksum 17:34:23 114826534d7a: Download complete 17:34:24 8a3aa393b2d8: Verifying Checksum 17:34:24 8a3aa393b2d8: Download complete 17:34:27 114826534d7a: Pull complete 17:34:27 4657fd5d0bcf: Pull complete 17:34:28 6ad1cebc031e: Pull complete 17:34:31 8a3aa393b2d8: Pull complete 17:34:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:34:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:31 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:34:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:34:39 $ docker top 47b1f0fd8e0906e0e8eabf35598c7115cedda0c80a1d8380653f8afe732a719b -eo pid,comm [Pipeline] { [Pipeline] echo 17:34:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 17:34:39 + set -o pipefail 17:34:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 17:34:46 17:34:46 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 17:34:46 17:34:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/bc7a8d1a-f840-49d3-afe9-84bc20bf1c33 17:34:46 17:34:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:34:46 17:34:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:34:46 17:34:46 17:34:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:34:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:34:46 More details here: https://snyk.co/ue1NS [Pipeline] } 17:34:46 $ docker stop --time=1 47b1f0fd8e0906e0e8eabf35598c7115cedda0c80a1d8380653f8afe732a719b 17:34:53 $ docker rm -f --volumes 47b1f0fd8e0906e0e8eabf35598c7115cedda0c80a1d8380653f8afe732a719b [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 17:34:54 + git log --format=format:%s -1 939f05dc904f698a3240c8a4fd92233c39c26988 [Pipeline] sh 17:34:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:55 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:34:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:34:55 $ docker top 9e3455fb9084e9c148d4adb99080f99fc2218b87df5dc92c09b954d5b38c2efa -eo pid,comm 17:34:55 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). 17:34:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:56 [ssh-agent] Looking for ssh-agent implementation... 17:34:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:56 $ docker exec 9e3455fb9084e9c148d4adb99080f99fc2218b87df5dc92c09b954d5b38c2efa ssh-agent 17:34:56 SSH_AUTH_SOCK=/tmp/ssh-WUDQG9qAOHaF/agent.31 17:34:56 SSH_AGENT_PID=37 17:34:56 Running ssh-add (command line suppressed) 17:34:56 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13314366276746747498.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13314366276746747498.key) 17:34:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:56 + git semver tag 17:34:56 2023-01-10 17:34:56,946 [run_tag] DEBUG tag force:False 17:34:56 2023-01-10 17:34:56,946 [check_head_tag] DEBUG check head tag 17:34:56 2023-01-10 17:34:56,948 [execute] INFO git cat-file --batch-check 17:34:56 2023-01-10 17:34:56,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:34:56 2023-01-10 17:34:56,953 [execute] INFO git cat-file --batch 17:34:56 2023-01-10 17:34:56,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:34:57 2023-01-10 17:34:56,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:34:57 2023-01-10 17:34:56,970 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 17:34:57 2023-01-10 17:34:56,970 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:34:57 2023-01-10 17:34:56,976 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:34:57 3.0.0-dev.2 [Pipeline] } 17:34:57 $ docker exec --env ******** --env ******** 9e3455fb9084e9c148d4adb99080f99fc2218b87df5dc92c09b954d5b38c2efa ssh-agent -k 17:34:57 unset SSH_AUTH_SOCK; 17:34:57 unset SSH_AGENT_PID; 17:34:57 echo Agent pid 37 killed; 17:34:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:57 + git semver [Pipeline] } 17:34:57 $ docker stop --time=1 9e3455fb9084e9c148d4adb99080f99fc2218b87df5dc92c09b954d5b38c2efa 17:34:59 $ docker rm -f --volumes 9e3455fb9084e9c148d4adb99080f99fc2218b87df5dc92c09b954d5b38c2efa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:59 17:34:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:35:00 0.23.1-centos7: Pulling from edgex-lftools 17:35:00 ab5ef0e58194: Pulling fs layer 17:35:00 9712f1f96733: Pulling fs layer 17:35:00 63f879dbbcfc: Pulling fs layer 17:35:00 0d9ebad4ef96: Pulling fs layer 17:35:00 e9a5061849ea: Pulling fs layer 17:35:00 d747dcd14b5f: Pulling fs layer 17:35:00 2de7ff778b66: Pulling fs layer 17:35:00 e9a5061849ea: Waiting 17:35:00 d747dcd14b5f: Waiting 17:35:00 2de7ff778b66: Waiting 17:35:00 0d9ebad4ef96: Waiting 17:35:00 9712f1f96733: Verifying Checksum 17:35:00 9712f1f96733: Download complete 17:35:01 63f879dbbcfc: Verifying Checksum 17:35:01 63f879dbbcfc: Download complete 17:35:01 ab5ef0e58194: Verifying Checksum 17:35:01 ab5ef0e58194: Download complete 17:35:01 d747dcd14b5f: Verifying Checksum 17:35:01 d747dcd14b5f: Download complete 17:35:01 e9a5061849ea: Verifying Checksum 17:35:01 e9a5061849ea: Download complete 17:35:01 2de7ff778b66: Verifying Checksum 17:35:01 2de7ff778b66: Download complete 17:35:01 0d9ebad4ef96: Verifying Checksum 17:35:01 0d9ebad4ef96: Download complete 17:35:04 ab5ef0e58194: Pull complete 17:35:04 9712f1f96733: Pull complete 17:35:04 63f879dbbcfc: Pull complete 17:35:09 0d9ebad4ef96: Pull complete 17:35:09 e9a5061849ea: Pull complete 17:35:09 d747dcd14b5f: Pull complete 17:35:11 2de7ff778b66: Pull complete 17:35:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:35:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:35:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:11 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:35:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:35:23 $ docker top a754197e4fa0dbfa0ddd7e8a9d3960f48b1bd552076d48eff84b52e1903f3c22 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:35:23 provisioning config files... 17:35:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17986108467292634032tmp 17:35:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1263525643502890418tmp 17:35:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14537859775735758752tmp [Pipeline] { [Pipeline] echo 17:35:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:35:23 ---> sigul-configuration.sh 17:35:23 gpg: directory `/root/.gnupg' created 17:35:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:35:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:35:23 gpg: keyring `/root/.gnupg/secring.gpg' created 17:35:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:35:23 gpg: CAST5 encrypted data 17:35:23 gpg: encrypted with 1 passphrase 17:35:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:35:23 + mkdir /home/jenkins 17:35:23 + mkdir /home/jenkins/sigul [Pipeline] sh 17:35:24 + 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 17:35:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:35:24 ---> sigul-install.sh 17:35:24 Sigul already installed; skipping installation. [Pipeline] sh 17:35:24 + git tag --list 17:35:24 1.0.0 17:35:24 v0.0.0 17:35:24 v1.1.0 17:35:24 v1.1.1 17:35:24 v1.2.2 17:35:24 v1.3.0 17:35:24 v1.3.1 17:35:24 v2.0.0 17:35:24 v2.1.0 17:35:24 v2.1.1 17:35:24 v2.1.1-dev.2 17:35:24 v2.1.1-dev.3 17:35:24 v2.2.0 17:35:24 v2.2.1-dev.1 17:35:24 v2.2.1-dev.2 17:35:24 v2.2.1-dev.3 17:35:24 v2.2.1-dev.4 17:35:24 v2.2.1-dev.5 17:35:24 v2.2.1-dev.6 17:35:24 v2.2.1-dev.7 17:35:24 v2.3.0 17:35:24 v2.3.0-dev.10 17:35:24 v2.3.0-dev.11 17:35:24 v2.3.0-dev.12 17:35:24 v2.3.0-dev.13 17:35:24 v2.3.0-dev.14 17:35:24 v2.3.0-dev.15 17:35:24 v2.3.0-dev.16 17:35:24 v2.3.0-dev.17 17:35:24 v2.3.0-dev.18 17:35:24 v2.3.0-dev.19 17:35:24 v2.3.0-dev.20 17:35:24 v2.3.0-dev.21 17:35:24 v2.3.0-dev.22 17:35:24 v2.3.0-dev.23 17:35:24 v2.3.0-dev.24 17:35:24 v2.3.0-dev.7 17:35:24 v2.3.0-dev.8 17:35:24 v2.3.0-dev.9 17:35:24 v3.0.0-dev.1 17:35:24 v3.0.0-dev.2 [Pipeline] sh 17:35:24 + lftools sign git-tag v3.0.0-dev.2 17:35:25 Signing Git tag with Sigul... 17:35:25 Signing v3.0.0-dev.2 [Pipeline] echo 17:35:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:35:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:35:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:35:26 $ docker stop --time=1 a754197e4fa0dbfa0ddd7e8a9d3960f48b1bd552076d48eff84b52e1903f3c22 17:35:27 $ docker rm -f --volumes a754197e4fa0dbfa0ddd7e8a9d3960f48b1bd552076d48eff84b52e1903f3c22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:28 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:35:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:35:29 $ docker top cb600cb8941fedf81ffeae81cb70daa11bfc316810c5fea5d8a8a345bdc9d7d3 -eo pid,comm 17:35:29 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). 17:35:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:29 [ssh-agent] Looking for ssh-agent implementation... 17:35:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:29 $ docker exec cb600cb8941fedf81ffeae81cb70daa11bfc316810c5fea5d8a8a345bdc9d7d3 ssh-agent 17:35:29 SSH_AUTH_SOCK=/tmp/ssh-0X9XPqsbRF5q/agent.13 17:35:29 SSH_AGENT_PID=19 17:35:29 Running ssh-add (command line suppressed) 17:35:29 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5374681323555905423.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5374681323555905423.key) 17:35:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:29 + git semver bump pre 17:35:30 2023-01-10 17:35:29,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:35:30 2023-01-10 17:35:29,994 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 17:35:30 2023-01-10 17:35:29,994 [bump_version] DEBUG bumped version:3.0.0-dev.3 17:35:30 2023-01-10 17:35:29,995 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 17:35:30 2023-01-10 17:35:29,995 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:35:30 2023-01-10 17:35:29,995 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:35:30 2023-01-10 17:35:29,997 [execute] INFO git cat-file --batch-check 17:35:30 2023-01-10 17:35:29,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:30 2023-01-10 17:35:30,004 [execute] INFO git cat-file --batch 17:35:30 2023-01-10 17:35:30,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:30 2023-01-10 17:35:30,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:35:30 3.0.0-dev.3 [Pipeline] } 17:35:30 $ docker exec --env ******** --env ******** cb600cb8941fedf81ffeae81cb70daa11bfc316810c5fea5d8a8a345bdc9d7d3 ssh-agent -k 17:35:30 unset SSH_AUTH_SOCK; 17:35:30 unset SSH_AGENT_PID; 17:35:30 echo Agent pid 19 killed; 17:35:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:30 + git semver [Pipeline] } 17:35:31 $ docker stop --time=1 cb600cb8941fedf81ffeae81cb70daa11bfc316810c5fea5d8a8a345bdc9d7d3 17:35:32 $ docker rm -f --volumes cb600cb8941fedf81ffeae81cb70daa11bfc316810c5fea5d8a8a345bdc9d7d3 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:33 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:35:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:35:34 $ docker top 917f5a0850e6c052ba9e87bd47d7acc9f5953f7d915ef9027551cba3be399f17 -eo pid,comm 17:35:34 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). 17:35:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:34 [ssh-agent] Looking for ssh-agent implementation... 17:35:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:34 $ docker exec 917f5a0850e6c052ba9e87bd47d7acc9f5953f7d915ef9027551cba3be399f17 ssh-agent 17:35:34 SSH_AUTH_SOCK=/tmp/ssh-K0OCgzjA9RXX/agent.33 17:35:34 SSH_AGENT_PID=39 17:35:34 Running ssh-add (command line suppressed) 17:35:35 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6925700055828399302.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6925700055828399302.key) 17:35:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:35 + git semver push 17:35:35 2023-01-10 17:35:35,626 [run_push] DEBUG push 17:35:35 2023-01-10 17:35:35,627 [execute] INFO git cat-file --batch-check 17:35:35 2023-01-10 17:35:35,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:35:35 2023-01-10 17:35:35,632 [execute] INFO git rev-list 75a2bc988f7d5eb3b078a84827066836da50a5f3 -- 17:35:35 2023-01-10 17:35:35,632 [execute] DEBUG Popen(['git', 'rev-list', '75a2bc988f7d5eb3b078a84827066836da50a5f3', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:35:35 2023-01-10 17:35:35,640 [execute] INFO git fetch -v origin 17:35:35 2023-01-10 17:35:35,640 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:35:36 2023-01-10 17:35:36,153 [run_push] DEBUG no remote changes detected 17:35:36 2023-01-10 17:35:36,153 [execute] INFO git push origin semver 17:35:36 2023-01-10 17:35:36,153 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:35:37 2023-01-10 17:35:36,954 [run_push] DEBUG push all version tags 17:35:37 2023-01-10 17:35:36,954 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:35:37 2023-01-10 17:35:36,955 [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) 17:35:38 2023-01-10 17:35:37,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:35:38 3.0.0-dev.3 [Pipeline] } 17:35:38 $ docker exec --env ******** --env ******** 917f5a0850e6c052ba9e87bd47d7acc9f5953f7d915ef9027551cba3be399f17 ssh-agent -k 17:35:38 unset SSH_AUTH_SOCK; 17:35:38 unset SSH_AGENT_PID; 17:35:38 echo Agent pid 39 killed; 17:35:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:38 + git semver [Pipeline] } 17:35:38 $ docker stop --time=1 917f5a0850e6c052ba9e87bd47d7acc9f5953f7d915ef9027551cba3be399f17 17:35:40 $ docker rm -f --volumes 917f5a0850e6c052ba9e87bd47d7acc9f5953f7d915ef9027551cba3be399f17 [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 17:35:40 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 17:35:40 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:35:40 total 16 17:35:40 drwxr-xr-x 3 root root 4096 Jan 10 17:24 . 17:35:40 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:35 .. 17:35:40 drwxr-xr-x 2 root root 4096 Jan 10 17:24 cost 17:35:40 -rw-r--r-- 1 root root 85 Jan 10 17:24 cost.csv 17:35:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:35:40 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:35:40 total 16 17:35:40 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:24 . 17:35:40 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:35 .. 17:35:40 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 17:24 cost 17:35:40 -rw-r--r-- 1 jenkins jenkins 85 Jan 10 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:41 ---> package-listing.sh 17:35:41 ++ facter osfamily 17:35:41 ++ tr '[:upper:]' '[:lower:]' 17:35:42 + OS_FAMILY=debian 17:35:42 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 17:35:42 + START_PACKAGES=/tmp/packages_start.txt 17:35:42 + END_PACKAGES=/tmp/packages_end.txt 17:35:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:42 + PACKAGES=/tmp/packages_start.txt 17:35:42 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:35:42 + PACKAGES=/tmp/packages_end.txt 17:35:42 + case "${OS_FAMILY}" in 17:35:42 + dpkg -l 17:35:42 + grep '^ii' 17:35:42 + '[' -f /tmp/packages_start.txt ']' 17:35:42 + '[' -f /tmp/packages_end.txt ']' 17:35:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:42 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:35:42 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 17:35:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 17:35:42 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 17:35:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:43 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 17:35:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:43 $ docker top 8642d3ec6af6801a38e607f210b8a92ede9e90eabe9274a53877adc7f15fbb2f -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:43 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:44 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:44 + ls /var/log/sa-host 17:35:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:44 provisioning config files... 17:35:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10975712099758973087tmp [Pipeline] { [Pipeline] echo 17:35:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:44 ---> create-netrc.sh [Pipeline] } 17:35:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:45 ---> python-tools-install.sh [Pipeline] echo 17:35:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:45 ---> sudo-logs.sh 17:35:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:45 ---> job-cost.sh 17:35:45 lf-activate-venv: SKIPPING 17:35:45 DEBUG: total: 0.2199999988079071 17:35:45 INFO: Retrieving Stack Cost... 17:35:46 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:47 INFO: Archiving Costs [Pipeline] echo 17:35:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:47 ---> logs-deploy.sh 17:35:47 lf-activate-venv: SKIPPING 17:35:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/58 17:35:47 INFO: archiving workspace using pattern(s): 17:35:48 Archives upload complete. 17:35:48 INFO: archiving logs to Nexus