Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0845b1209c9eb9dd940496004e850c7da2ef6955 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-ssh16406736953717890418.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13100173619819486812.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11886348550078460095.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16229979152387102338.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12434784755189500557.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118455’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118458 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0845b1209c9eb9dd940496004e850c7da2ef6955 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#202)" > 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 0845b1209c9eb9dd940496004e850c7da2ef6955 # timeout=10 > git rev-list --no-walk cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:24:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:24:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:24:46 ========================================================= 17:24:46 EdgeX Global Pipelines Version Info 17:24:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:24:47 ------------------- 17:24:47 stable info: 17:24:47 ------------------- 17:24:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:24:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:24:47 Message: update stable to v1.0.244 17:24:48 ------------------- 17:24:48 experimental info: 17:24:48 ------------------- 17:24:48 Commited By: **** collab-it+edgex@linuxfoundation.org 17:24:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:24:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0845b12 [Pipeline] echo 17:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:48 provisioning config files... 17:24:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8289799242541225074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:48 ---> docker-login.sh 17:24:48 nexus3.edgexfoundry.org:10001 17:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:49 Configure a credential helper to remove this warning. See 17:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:49 17:24:49 Login Succeeded 17:24:49 nexus3.edgexfoundry.org:10002 17:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:49 Configure a credential helper to remove this warning. See 17:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:49 17:24:49 Login Succeeded 17:24:49 nexus3.edgexfoundry.org:10003 17:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:49 Configure a credential helper to remove this warning. See 17:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:49 17:24:49 Login Succeeded 17:24:49 nexus3.edgexfoundry.org:10004 17:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:49 Configure a credential helper to remove this warning. See 17:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:49 17:24:49 Login Succeeded 17:24:49 docker.io 17:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:49 Configure a credential helper to remove this warning. See 17:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:49 17:24:49 Login Succeeded 17:24:49 ---> docker-login.sh ends [Pipeline] } 17:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:24:50 + git rev-list -1 --merges 0845b1209c9eb9dd940496004e850c7da2ef6955~1..0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] echo 17:24:50 -----------> git rev-list -1 --merges 0845b1209c9eb9dd940496004e850c7da2ef6955~1..0845b1209c9eb9dd940496004e850c7da2ef6955 0845b1209c9eb9dd940496004e850c7da2ef6955 [false] [Pipeline] sh 17:24:50 + git log --format=format:%s -1 0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] echo 17:24:50 ========================================================= 17:24:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:24:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:51 + git log --format=format:%s -1 0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] echo 17:24:51 [semverPrep] GIT_COMMIT: 0845b1209c9eb9dd940496004e850c7da2ef6955, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#202) [Pipeline] echo 17:24:51 [semverPrep] This is not a build commit. [Pipeline] sh 17:24:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:24:51 + grep -v github /etc/ssh/ssh_known_hosts 17:24:51 + [ -e /tmp/ssh_known_hosts ] 17:24:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:24:51 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:24:51 sudo tee -a /etc/ssh/ssh_known_hosts 17:24:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:51 17:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:51 0.1.4: Pulling from edgex-devops/py-git-semver 17:24:51 b85a868b505f: Pulling fs layer 17:24:51 e2be974225ed: Pulling fs layer 17:24:51 339a4e72a1f5: Pulling fs layer 17:24:51 988bab9f4d93: Pulling fs layer 17:24:51 1469e6f7b9e6: Pulling fs layer 17:24:51 eaf3925da568: Pulling fs layer 17:24:51 bab4dde63d76: Pulling fs layer 17:24:51 bde34c3a00c8: Pulling fs layer 17:24:51 b352a97aabf1: Pulling fs layer 17:24:51 4872d77fe225: Pulling fs layer 17:24:51 5851b861e8e6: Pulling fs layer 17:24:51 988bab9f4d93: Waiting 17:24:51 1469e6f7b9e6: Waiting 17:24:51 eaf3925da568: Waiting 17:24:51 bab4dde63d76: Waiting 17:24:51 bde34c3a00c8: Waiting 17:24:51 b352a97aabf1: Waiting 17:24:51 4872d77fe225: Waiting 17:24:51 e2be974225ed: Download complete 17:24:51 988bab9f4d93: Verifying Checksum 17:24:51 988bab9f4d93: Download complete 17:24:52 1469e6f7b9e6: Verifying Checksum 17:24:52 1469e6f7b9e6: Download complete 17:24:52 eaf3925da568: Download complete 17:24:52 339a4e72a1f5: Verifying Checksum 17:24:52 339a4e72a1f5: Download complete 17:24:52 bde34c3a00c8: Verifying Checksum 17:24:52 bde34c3a00c8: Download complete 17:24:52 b352a97aabf1: Download complete 17:24:52 4872d77fe225: Verifying Checksum 17:24:52 4872d77fe225: Download complete 17:24:52 5851b861e8e6: Download complete 17:24:52 b85a868b505f: Verifying Checksum 17:24:52 b85a868b505f: Download complete 17:24:52 bab4dde63d76: Verifying Checksum 17:24:52 bab4dde63d76: Download complete 17:24:53 b85a868b505f: Pull complete 17:24:53 e2be974225ed: Pull complete 17:24:54 339a4e72a1f5: Pull complete 17:24:54 988bab9f4d93: Pull complete 17:24:54 1469e6f7b9e6: Pull complete 17:24:54 eaf3925da568: Pull complete 17:24:56 bab4dde63d76: Pull complete 17:24:56 bde34c3a00c8: Pull complete 17:24:56 b352a97aabf1: Pull complete 17:24:56 4872d77fe225: Pull complete 17:24:56 5851b861e8e6: Pull complete 17:24:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:24:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:57 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:24:57 $ 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:24:58 $ docker top 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 -eo pid,comm 17:24:58 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:24:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:24:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:58 [ssh-agent] Looking for ssh-agent implementation... 17:24:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:58 $ docker exec 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 ssh-agent 17:24:58 SSH_AUTH_SOCK=/tmp/ssh-K2MlpedMhO9t/agent.34 17:24:58 SSH_AGENT_PID=40 17:24:58 Running ssh-add (command line suppressed) 17:24:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4515103875522707558.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4515103875522707558.key) 17:24:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:59 + git tag --points-at HEAD [Pipeline] } 17:24:59 $ docker exec --env ******** --env ******** 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 ssh-agent -k 17:24:59 unset SSH_AUTH_SOCK; 17:24:59 unset SSH_AGENT_PID; 17:24:59 echo Agent pid 40 killed; 17:24:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:24:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:59 [ssh-agent] Looking for ssh-agent implementation... 17:24:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:59 $ docker exec 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 ssh-agent 17:24:59 SSH_AUTH_SOCK=/tmp/ssh-Cy2XR6GdTsqw/agent.74 17:24:59 SSH_AGENT_PID=80 17:24:59 Running ssh-add (command line suppressed) 17:24:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8647350106337084371.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8647350106337084371.key) 17:24:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:00 + git semver init 17:25:00 2022-11-07 17:25:00,347 [run_init] DEBUG init version:0.0.0 force:False 17:25:00 2022-11-07 17:25:00,348 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:25:00 2022-11-07 17:25:00,348 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:25:00 2022-11-07 17:25:00,348 [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:25:01 2022-11-07 17:25:01,312 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 17:25:01 2022-11-07 17:25:01,312 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 17:25:01 2022-11-07 17:25:01,313 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:25:01 2022-11-07 17:25:01,313 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:25:01 2.3.0-dev.23 [Pipeline] } 17:25:01 $ docker exec --env ******** --env ******** 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 ssh-agent -k 17:25:01 unset SSH_AUTH_SOCK; 17:25:01 unset SSH_AGENT_PID; 17:25:01 echo Agent pid 80 killed; 17:25:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:01 + git semver [Pipeline] } 17:25:02 $ docker stop --time=1 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 17:25:03 $ docker rm -f 23c48b983918a1b2d18c8685e766c96c3ca9ad9750b6034aae707fcb85830690 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:03 Stashed 1 file(s) [Pipeline] echo 17:25:03 [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [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:25:04 provisioning config files... 17:25:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2296340316809119231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:04 ---> docker-login.sh 17:25:04 nexus3.edgexfoundry.org:10001 17:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:04 Configure a credential helper to remove this warning. See 17:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:04 17:25:04 Login Succeeded 17:25:04 nexus3.edgexfoundry.org:10002 17:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:04 Configure a credential helper to remove this warning. See 17:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:04 17:25:04 Login Succeeded 17:25:04 nexus3.edgexfoundry.org:10003 17:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:04 Configure a credential helper to remove this warning. See 17:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:04 17:25:04 Login Succeeded 17:25:04 nexus3.edgexfoundry.org:10004 17:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:04 Configure a credential helper to remove this warning. See 17:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:04 17:25:04 Login Succeeded 17:25:04 docker.io 17:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:05 Configure a credential helper to remove this warning. See 17:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:05 17:25:05 Login Succeeded 17:25:05 ---> docker-login.sh ends [Pipeline] } 17:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:05 ========================================================= 17:25:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:25:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:05 + 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:25:05 Sending build context to Docker daemon 5.559MB 17:25:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:25:05 Step 2/12 : FROM ${BASE} AS builder 17:25:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:25:05 213ec9aee27d: Pulling fs layer 17:25:05 4583459ba037: Pulling fs layer 17:25:05 93c1e223e6f2: Pulling fs layer 17:25:05 53926ce57604: Pulling fs layer 17:25:05 21b2b0c7a3f4: Pulling fs layer 17:25:05 22ff95d597cd: Pulling fs layer 17:25:05 12d6caf4c0d1: Pulling fs layer 17:25:05 96b7cbca73a9: Pulling fs layer 17:25:05 a7acece74701: Pulling fs layer 17:25:05 53926ce57604: Waiting 17:25:05 21b2b0c7a3f4: Waiting 17:25:05 22ff95d597cd: Waiting 17:25:05 12d6caf4c0d1: Waiting 17:25:05 96b7cbca73a9: Waiting 17:25:05 a7acece74701: Waiting 17:25:05 93c1e223e6f2: Verifying Checksum 17:25:05 93c1e223e6f2: Download complete 17:25:05 4583459ba037: Download complete 17:25:05 21b2b0c7a3f4: Download complete 17:25:05 22ff95d597cd: Verifying Checksum 17:25:05 22ff95d597cd: Download complete 17:25:05 213ec9aee27d: Verifying Checksum 17:25:05 213ec9aee27d: Download complete 17:25:05 12d6caf4c0d1: Verifying Checksum 17:25:05 12d6caf4c0d1: Download complete 17:25:05 213ec9aee27d: Pull complete 17:25:05 4583459ba037: Pull complete 17:25:06 93c1e223e6f2: Pull complete 17:25:06 a7acece74701: Verifying Checksum 17:25:06 a7acece74701: Download complete 17:25:06 96b7cbca73a9: Download complete 17:25:06 53926ce57604: Verifying Checksum 17:25:06 53926ce57604: Download complete 17:25:11 53926ce57604: Pull complete 17:25:11 21b2b0c7a3f4: Pull complete 17:25:11 22ff95d597cd: Pull complete 17:25:11 12d6caf4c0d1: Pull complete 17:25:13 96b7cbca73a9: Pull complete 17:25:13 a7acece74701: Pull complete 17:25:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:25:14 ---> db6d94c90886 17:25:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:25:15 ---> Running in d109993b3819 17:25:15 Removing intermediate container d109993b3819 17:25:15 ---> 41c6d8091ae1 17:25:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:25:15 ---> Running in d46489c9f4ae 17:25:15 Removing intermediate container d46489c9f4ae 17:25:15 ---> 3b7aa9cf4aef 17:25:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:25:15 ---> Running in cfa42cf22591 17:25:16 Removing intermediate container cfa42cf22591 17:25:16 ---> 82ee0f8278a8 17:25:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:25:16 ---> Running in 3c15ddde2481 17:25:16 Removing intermediate container 3c15ddde2481 17:25:16 ---> f7a5eb10576b 17:25:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:16 ---> Running in 8084003cffa1 17:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:25:16 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:25:16 (2/4) Installing libedit (20210910.3.1-r0) 17:25:16 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:25:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:25:16 Executing busybox-1.35.0-r17.trigger 17:25:17 OK: 216 MiB in 55 packages 17:25:17 Removing intermediate container 8084003cffa1 17:25:17 ---> 21d651d7d8af 17:25:17 Step 8/12 : WORKDIR /device-snmp-go 17:25:17 ---> Running in 255a88647213 17:25:17 Removing intermediate container 255a88647213 17:25:17 ---> e36fdaa9ed62 17:25:17 Step 9/12 : COPY go.mod vendor* ./ 17:25:17 ---> 5423a51e490f 17:25:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:17 ---> Running in c84c4756764b 17:25:19 Still waiting to schedule task 17:25:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118457’ 17:25:35 Removing intermediate container c84c4756764b 17:25:35 ---> b8f78caa3c1a 17:25:35 Step 11/12 : COPY . . 17:25:35 ---> 2500ac405d62 17:25:35 Step 12/12 : RUN ${MAKE} 17:25:35 ---> Running in 21193517f480 17:25:35 noop 17:25:35 Removing intermediate container 21193517f480 17:25:35 ---> 76cc5151c1b6 17:25:35 Successfully built 76cc5151c1b6 17:25:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:36 + docker inspect -f . ci-base-image-x86_64 17:25:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:36 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:25:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:25:36 $ docker top fd7a8d23cd145386ddbaef2422a8e4ac54005b356a17d198ec7fd3cf16fdb71a -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:36 + go version 17:25:36 go version go1.18.7 linux/amd64 [Pipeline] } 17:25:36 $ docker stop --time=1 fd7a8d23cd145386ddbaef2422a8e4ac54005b356a17d198ec7fd3cf16fdb71a 17:25:38 $ docker rm -f fd7a8d23cd145386ddbaef2422a8e4ac54005b356a17d198ec7fd3cf16fdb71a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:38 + docker inspect -f . ci-base-image-x86_64 17:25:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:38 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:25:38 $ 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:25:39 $ docker top 94c506c47ad5bab93e24be3705ec3905c1d72cbf6481b75b5e7a4b6703a46300 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 17:25:39 + make test 17:25:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:25:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:25:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:25:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 17:25:58 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:25:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:26:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:00 ./bin/test-attribution-txt.sh [Pipeline] echo 17:26:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:00 $ docker stop --time=1 94c506c47ad5bab93e24be3705ec3905c1d72cbf6481b75b5e7a4b6703a46300 17:26:02 $ docker rm -f 94c506c47ad5bab93e24be3705ec3905c1d72cbf6481b75b5e7a4b6703a46300 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:26:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:03 + ls -al . 17:26:03 total 180 17:26:03 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:25 . 17:26:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:24 .. 17:26:03 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 17:24 .dockerignore 17:26:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:25 .git 17:26:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:24 .github 17:26:03 -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 17:24 .gitignore 17:26:03 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:24 .golangci.yml 17:26:03 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:25 .semver 17:26:03 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 17:24 Attribution.txt 17:26:03 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 17:24 CHANGELOG.md 17:26:03 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 17:24 Dockerfile 17:26:03 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:24 GOVERNANCE.md 17:26:03 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 17:24 Jenkinsfile 17:26:03 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:24 LICENSE 17:26:03 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 17:24 Makefile 17:26:03 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:24 OWNERS.md 17:26:03 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 17:24 README.md 17:26:03 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:25 VERSION 17:26:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:24 bin 17:26:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:24 cmd 17:26:03 -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 17:25 coverage.out 17:26:03 -rw-rw-r-- 1 jenkins jenkins 3455 Nov 7 17:24 go.mod 17:26:03 -rw-rw-r-- 1 jenkins jenkins 45055 Nov 7 17:24 go.sum 17:26:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:24 internal 17:26:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:24 snap 17:26:03 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:03 + 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=0845b1209c9eb9dd940496004e850c7da2ef6955 --label arch=amd64 --label version=2.3.0-dev.23 . 17:26:03 Sending build context to Docker daemon 5.567MB 17:26:03 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:26:03 Step 2/24 : FROM ${BASE} AS builder 17:26:03 ---> 76cc5151c1b6 17:26:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:26:03 ---> Running in 19389c9609f8 17:26:04 Removing intermediate container 19389c9609f8 17:26:04 ---> 2b5a66b39f74 17:26:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:04 ---> Running in bc43c11fcfc8 17:26:04 Removing intermediate container bc43c11fcfc8 17:26:04 ---> d24b4c0ce048 17:26:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:26:04 ---> Running in 2321f497ca28 17:26:04 Removing intermediate container 2321f497ca28 17:26:04 ---> 21a23ae4bca2 17:26:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:26:04 ---> Running in 3210b4c63305 17:26:04 Removing intermediate container 3210b4c63305 17:26:04 ---> 49e1b97bc9a7 17:26:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:04 ---> Running in e8ba86a317e5 17:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:05 OK: 216 MiB in 55 packages 17:26:05 Removing intermediate container e8ba86a317e5 17:26:05 ---> b5f93b97d2af 17:26:05 Step 8/24 : WORKDIR /device-snmp-go 17:26:05 ---> Running in 12660d5ef22a 17:26:05 Removing intermediate container 12660d5ef22a 17:26:05 ---> 7de65adc67e1 17:26:05 Step 9/24 : COPY go.mod vendor* ./ 17:26:05 ---> bc9865bdb055 17:26:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:05 ---> Running in 55074fde7f56 17:26:06 Removing intermediate container 55074fde7f56 17:26:06 ---> 8f081b8a6fef 17:26:06 Step 11/24 : COPY . . 17:26:06 ---> 0dff81e077b1 17:26:06 Step 12/24 : RUN ${MAKE} 17:26:06 ---> Running in 681c1aa533f7 17:26:06 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 17:26:28 Removing intermediate container 681c1aa533f7 17:26:28 ---> 983606afb89e 17:26:28 Step 13/24 : FROM alpine:3.16 17:26:28 3.16: Pulling from library/alpine 17:26:28 213ec9aee27d: Already exists 17:26:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:26:28 Status: Downloaded newer image for alpine:3.16 17:26:28 ---> 9c6f07244728 17:26:28 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 17:26:28 ---> Running in 14445346d592 17:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:28 (1/6) Installing dumb-init (1.2.5-r1) 17:26:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:26:28 (3/6) Installing libsodium (1.0.18-r0) 17:26:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:26:28 (5/6) Installing libzmq (4.3.4-r0) 17:26:28 (6/6) Installing zeromq (4.3.4-r0) 17:26:28 Executing busybox-1.35.0-r17.trigger 17:26:28 OK: 8 MiB in 20 packages 17:26:28 Removing intermediate container 14445346d592 17:26:28 ---> 72bd2a558395 17:26:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:26:28 ---> 70ef03ea5677 17:26:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:26:28 ---> 33ec62acb4e2 17:26:28 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:26:29 ---> 2241407938dc 17:26:29 Step 18/24 : EXPOSE 59993 17:26:29 ---> Running in 2dfde3c3e37c 17:26:29 Removing intermediate container 2dfde3c3e37c 17:26:29 ---> 191743fdc8e6 17:26:29 Step 19/24 : EXPOSE 161 17:26:29 ---> Running in 3080aaef593f 17:26:29 Removing intermediate container 3080aaef593f 17:26:29 ---> 56f0842c3c02 17:26:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:26:29 ---> Running in cc31a34dcbf7 17:26:29 Removing intermediate container cc31a34dcbf7 17:26:29 ---> 12f27a361056 17:26:29 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:26:29 ---> Running in 0571dd70faef 17:26:29 Removing intermediate container 0571dd70faef 17:26:29 ---> 6acaaf06cc2c 17:26:29 Step 22/24 : LABEL arch=amd64 17:26:29 ---> Running in 2a17b15326a8 17:26:29 Removing intermediate container 2a17b15326a8 17:26:29 ---> c297f9ce5904 17:26:29 Step 23/24 : LABEL git_sha=0845b1209c9eb9dd940496004e850c7da2ef6955 17:26:29 ---> Running in 391efe80fafc 17:26:29 Removing intermediate container 391efe80fafc 17:26:29 ---> 23a3822e1667 17:26:29 Step 24/24 : LABEL version=2.3.0-dev.23 17:26:29 ---> Running in 6ed139e238a9 17:26:29 Removing intermediate container 6ed139e238a9 17:26:29 ---> bc433da9047c 17:26:29 [Warning] One or more build-args [ARCH] were not consumed 17:26:29 Successfully built bc433da9047c 17:26:29 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:26:29 provisioning config files... 17:26:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10925529237037432282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:30 ---> docker-login.sh 17:26:30 nexus3.edgexfoundry.org:10001 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10002 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10003 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 nexus3.edgexfoundry.org:10004 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:30 Configure a credential helper to remove this warning. See 17:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:30 17:26:30 Login Succeeded 17:26:30 docker.io 17:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:31 Configure a credential helper to remove this warning. See 17:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:31 17:26:31 Login Succeeded 17:26:31 ---> docker-login.sh ends [Pipeline] } 17:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:31 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 17:26:31 0845b1209c9eb9dd940496004e850c7da2ef6955 17:26:31 latest 17:26:31 2.3.0-dev.23 17:26:31 0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:26:31 main 17:26:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:31 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955 17:26:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:26:31 6e1b8299772e: Preparing 17:26:31 e1414e1fae3b: Preparing 17:26:31 8d929ec14515: Preparing 17:26:31 6f1d475928ab: Preparing 17:26:31 994393dc58e7: Preparing 17:26:31 994393dc58e7: Layer already exists 17:26:31 6e1b8299772e: Pushed 17:26:31 e1414e1fae3b: Pushed 17:26:31 6f1d475928ab: Pushed 17:26:34 8d929ec14515: Pushed 17:26:34 0845b1209c9eb9dd940496004e850c7da2ef6955: digest: sha256:ac2f2c3f1c7083806251211917305a8c5f608530c1ab9ff5d7dda74b58c45ecd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:34 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 17:26:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:26:35 6e1b8299772e: Preparing 17:26:35 e1414e1fae3b: Preparing 17:26:35 8d929ec14515: Preparing 17:26:35 6f1d475928ab: Preparing 17:26:35 994393dc58e7: Preparing 17:26:35 e1414e1fae3b: Layer already exists 17:26:35 6f1d475928ab: Layer already exists 17:26:35 6e1b8299772e: Layer already exists 17:26:35 994393dc58e7: Layer already exists 17:26:35 8d929ec14515: Layer already exists 17:26:35 latest: digest: sha256:ac2f2c3f1c7083806251211917305a8c5f608530c1ab9ff5d7dda74b58c45ecd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:35 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.23 17:26:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:26:35 6e1b8299772e: Preparing 17:26:35 e1414e1fae3b: Preparing 17:26:35 8d929ec14515: Preparing 17:26:35 6f1d475928ab: Preparing 17:26:35 994393dc58e7: Preparing 17:26:35 6f1d475928ab: Layer already exists 17:26:35 e1414e1fae3b: Layer already exists 17:26:35 8d929ec14515: Layer already exists 17:26:35 994393dc58e7: Layer already exists 17:26:35 6e1b8299772e: Layer already exists 17:26:35 2.3.0-dev.23: digest: sha256:ac2f2c3f1c7083806251211917305a8c5f608530c1ab9ff5d7dda74b58c45ecd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:36 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:26:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:26:36 6e1b8299772e: Preparing 17:26:36 e1414e1fae3b: Preparing 17:26:36 8d929ec14515: Preparing 17:26:36 6f1d475928ab: Preparing 17:26:36 994393dc58e7: Preparing 17:26:36 6f1d475928ab: Layer already exists 17:26:36 6e1b8299772e: Layer already exists 17:26:36 8d929ec14515: Layer already exists 17:26:36 e1414e1fae3b: Layer already exists 17:26:36 994393dc58e7: Layer already exists 17:26:36 0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23: digest: sha256:ac2f2c3f1c7083806251211917305a8c5f608530c1ab9ff5d7dda74b58c45ecd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:36 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 17:26:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:26:36 6e1b8299772e: Preparing 17:26:36 e1414e1fae3b: Preparing 17:26:36 8d929ec14515: Preparing 17:26:36 6f1d475928ab: Preparing 17:26:36 994393dc58e7: Preparing 17:26:36 e1414e1fae3b: Layer already exists 17:26:36 8d929ec14515: Layer already exists 17:26:36 6f1d475928ab: Layer already exists 17:26:36 6e1b8299772e: Layer already exists 17:26:36 994393dc58e7: Layer already exists 17:26:36 main: digest: sha256:ac2f2c3f1c7083806251211917305a8c5f608530c1ab9ff5d7dda74b58c45ecd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:26:37 ===================================================== [Pipeline] echo 17:26:37 taggedImages: 17:26:37 - nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955 17:26:37 - nexus3.edgexfoundry.org:10004/device-snmp:latest 17:26:37 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.23 17:26:37 - nexus3.edgexfoundry.org:10004/device-snmp:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:26:37 - 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:26:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:37 17:26:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:37 latest: Pulling from edgex-lftools-log-publisher 17:26:37 5eb5b503b376: Pulling fs layer 17:26:37 5c69ac0246d0: Pulling fs layer 17:26:37 ec43610c2a17: Pulling fs layer 17:26:37 3a2ae6a8a46f: Pulling fs layer 17:26:37 33b1e0a273af: Pulling fs layer 17:26:37 5d3b04190fa2: Pulling fs layer 17:26:37 2f39f015ded8: Pulling fs layer 17:26:37 3a2ae6a8a46f: Waiting 17:26:37 33b1e0a273af: Waiting 17:26:37 5d3b04190fa2: Waiting 17:26:37 2f39f015ded8: Waiting 17:26:37 5c69ac0246d0: Download complete 17:26:37 3a2ae6a8a46f: Verifying Checksum 17:26:37 3a2ae6a8a46f: Download complete 17:26:37 33b1e0a273af: Verifying Checksum 17:26:37 33b1e0a273af: Download complete 17:26:37 5d3b04190fa2: Verifying Checksum 17:26:37 5d3b04190fa2: Download complete 17:26:37 ec43610c2a17: Verifying Checksum 17:26:37 ec43610c2a17: Download complete 17:26:37 5eb5b503b376: Verifying Checksum 17:26:37 5eb5b503b376: Download complete 17:26:38 2f39f015ded8: Download complete 17:26:39 5eb5b503b376: Pull complete 17:26:39 5c69ac0246d0: Pull complete 17:26:39 ec43610c2a17: Pull complete 17:26:39 3a2ae6a8a46f: Pull complete 17:26:39 33b1e0a273af: Pull complete 17:26:39 5d3b04190fa2: Pull complete 17:26:44 2f39f015ded8: Pull complete 17:26:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:44 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:26:44 $ 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:26:45 $ docker top 4ee585e74088167cbd944ba211f4f254325de2139535d93a19b62deff4cca285 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:45 ---> job-cost.sh 17:26:45 lf-activate-venv: SKIPPING 17:26:45 INFO: No Stack... 17:26:46 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:46 INFO: Archiving Costs [Pipeline] sh 17:26:46 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 17:26:46 + cut -d, -f6 [Pipeline] lock 17:26:46 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] 17:26:46 Resource [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] did not exist. Created. 17:26:46 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:47 + echo total: 0.2199999988079071 [Pipeline] stash 17:26:47 Stashed 1 file(s) [Pipeline] } 17:26:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:47 $ docker stop --time=1 4ee585e74088167cbd944ba211f4f254325de2139535d93a19b62deff4cca285 17:26:48 $ docker rm -f 4ee585e74088167cbd944ba211f4f254325de2139535d93a19b62deff4cca285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118463 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 17:27:48 Running in /w/workspace/device-snmp-go/54 [Pipeline] { [Pipeline] checkout 17:27:48 Selected Git installation does not exist. Using Default 17:27:48 The recommended git tool is: NONE 17:27:55 using credential edgex-jenkins-ssh 17:27:55 Cloning the remote Git repository 17:27:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:27:55 > git init /w/workspace/device-snmp-go/54 # timeout=10 17:27:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:27:56 > git --version # timeout=10 17:27:56 > git --version # 'git version 2.25.1' 17:27:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:56 Verifying host key using known hosts file 17:27:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:27:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:58 Avoid second fetch 17:27:58 Checking out Revision 0845b1209c9eb9dd940496004e850c7da2ef6955 (main) 17:27:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:27:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:58 > git config core.sparsecheckout # timeout=10 17:27:58 > git checkout -f 0845b1209c9eb9dd940496004e850c7da2ef6955 # timeout=10 17:27:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#202)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:28:00 Dload Upload Total Spent Left Speed 17:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 17:28:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:28:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:28:01 + sudo tee /etc/docker/daemon.new 17:28:01 { 17:28:01 "registry-mirrors": [ 17:28:01 "https://nexus3.edgexfoundry.org:10001" 17:28:01 ], 17:28:01 "bip": "10.250.0.254/24", 17:28:01 "hosts": [ 17:28:01 "tcp://0.0.0.0:5555", 17:28:01 "unix:///var/run/docker.sock" 17:28:01 ], 17:28:01 "mtu": 1458, 17:28:01 "selinux-enabled": true, 17:28:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:28:01 } [Pipeline] sh 17:28:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:28:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:20 provisioning config files... 17:28:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/54@tmp/config9323938008600681304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:20 ---> docker-login.sh 17:28:20 nexus3.edgexfoundry.org:10001 17:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:21 Configure a credential helper to remove this warning. See 17:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:21 17:28:21 Login Succeeded 17:28:21 nexus3.edgexfoundry.org:10002 17:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:21 Configure a credential helper to remove this warning. See 17:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:21 17:28:21 Login Succeeded 17:28:21 nexus3.edgexfoundry.org:10003 17:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:22 Configure a credential helper to remove this warning. See 17:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:22 17:28:22 Login Succeeded 17:28:22 nexus3.edgexfoundry.org:10004 17:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:22 Configure a credential helper to remove this warning. See 17:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:22 17:28:22 Login Succeeded 17:28:22 docker.io 17:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:23 Configure a credential helper to remove this warning. See 17:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:23 17:28:23 Login Succeeded 17:28:23 ---> docker-login.sh ends [Pipeline] } 17:28:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:23 ========================================================= 17:28:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:28:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:24 + 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:28:24 Sending build context to Docker daemon 2.872MB 17:28:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:28:24 Step 2/12 : FROM ${BASE} AS builder 17:28:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:28:24 9b18e9b68314: Pulling fs layer 17:28:24 35d82f9e3411: Pulling fs layer 17:28:24 e16973657156: Pulling fs layer 17:28:24 fc693d55d65f: Pulling fs layer 17:28:24 7e9fc2657dce: Pulling fs layer 17:28:24 dda99020689f: Pulling fs layer 17:28:24 db1c61fa0a46: Pulling fs layer 17:28:24 891c053d2c06: Pulling fs layer 17:28:24 fc693d55d65f: Waiting 17:28:24 7e9fc2657dce: Waiting 17:28:24 db1c61fa0a46: Waiting 17:28:24 dda99020689f: Waiting 17:28:24 891c053d2c06: Waiting 17:28:24 e16973657156: Download complete 17:28:24 35d82f9e3411: Verifying Checksum 17:28:24 35d82f9e3411: Download complete 17:28:24 7e9fc2657dce: Verifying Checksum 17:28:24 7e9fc2657dce: Download complete 17:28:24 dda99020689f: Verifying Checksum 17:28:24 dda99020689f: Download complete 17:28:24 9b18e9b68314: Verifying Checksum 17:28:24 9b18e9b68314: Download complete 17:28:25 9b18e9b68314: Pull complete 17:28:26 35d82f9e3411: Pull complete 17:28:26 891c053d2c06: Verifying Checksum 17:28:26 891c053d2c06: Download complete 17:28:26 e16973657156: Pull complete 17:28:27 db1c61fa0a46: Verifying Checksum 17:28:27 db1c61fa0a46: Download complete 17:28:28 fc693d55d65f: Verifying Checksum 17:28:28 fc693d55d65f: Download complete 17:28:40 fc693d55d65f: Pull complete 17:28:40 7e9fc2657dce: Pull complete 17:28:40 dda99020689f: Pull complete 17:28:47 db1c61fa0a46: Pull complete 17:28:49 891c053d2c06: Pull complete 17:28:49 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:28:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:28:49 ---> f96f9c87975a 17:28:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:28:49 ---> Running in 4c0b1cea96e7 17:28:50 Removing intermediate container 4c0b1cea96e7 17:28:50 ---> c0c1dffdf925 17:28:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:28:50 ---> Running in e050a189b8f6 17:28:50 Removing intermediate container e050a189b8f6 17:28:50 ---> f8360a197e3f 17:28:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:28:51 ---> Running in 022400d116dc 17:28:51 Removing intermediate container 022400d116dc 17:28:51 ---> d52f9a8d4525 17:28:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:28:51 ---> Running in 850c0bc49b74 17:28:52 Removing intermediate container 850c0bc49b74 17:28:52 ---> 8caffa94d9f1 17:28:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:52 ---> Running in 01ffd435c673 17:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:28:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:28:55 (2/4) Installing libedit (20210910.3.1-r0) 17:28:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:28:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:28:55 Executing busybox-1.35.0-r17.trigger 17:28:55 OK: 226 MiB in 55 packages 17:28:56 Removing intermediate container 01ffd435c673 17:28:56 ---> d2e5531083dc 17:28:56 Step 8/12 : WORKDIR /device-snmp-go 17:28:56 ---> Running in 1d0cc7c432ba 17:28:56 Removing intermediate container 1d0cc7c432ba 17:28:56 ---> 66a59cdfa31b 17:28:56 Step 9/12 : COPY go.mod vendor* ./ 17:28:57 ---> 33ab24433730 17:28:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:57 ---> Running in b6328ffabfef 17:29:53 Removing intermediate container b6328ffabfef 17:29:53 ---> fa196a1299fc 17:29:53 Step 11/12 : COPY . . 17:29:53 ---> 770fde6dbeb0 17:29:53 Step 12/12 : RUN ${MAKE} 17:29:53 ---> Running in 6ab4c55a9a96 17:29:53 noop 17:29:54 Removing intermediate container 6ab4c55a9a96 17:29:54 ---> 461817097a15 17:29:54 Successfully built 461817097a15 17:29:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:54 + docker inspect -f . ci-base-image-arm64 17:29:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:54 prd-ubuntu20.04-docker-arm64-4c-16g-118463 does not seem to be running inside a container 17:29:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/54 -v /w/workspace/device-snmp-go/54:/w/workspace/device-snmp-go/54:rw,z -v /w/workspace/device-snmp-go/54@tmp:/w/workspace/device-snmp-go/54@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:29:56 $ docker top f17384c226d1a07061f7b18d12c8ed3484e743191da5db74fb16c8089e55c469 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:56 + go version 17:29:56 go version go1.18.7 linux/arm64 [Pipeline] } 17:29:57 $ docker stop --time=1 f17384c226d1a07061f7b18d12c8ed3484e743191da5db74fb16c8089e55c469 17:29:58 $ docker rm -f f17384c226d1a07061f7b18d12c8ed3484e743191da5db74fb16c8089e55c469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:59 + docker inspect -f . ci-base-image-arm64 17:29:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:59 prd-ubuntu20.04-docker-arm64-4c-16g-118463 does not seem to be running inside a container 17:29:59 $ 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/54 -v /w/workspace/device-snmp-go/54:/w/workspace/device-snmp-go/54:rw,z -v /w/workspace/device-snmp-go/54@tmp:/w/workspace/device-snmp-go/54@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:30:00 $ docker top fb00eafe5d0d33c333c4c1afd35b9688df92777414a02c71bd4bdeaa61468f61 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:01 + git config --global --add safe.directory /w/workspace/device-snmp-go/54 [Pipeline] fileExists [Pipeline] sh 17:30:02 + make test 17:30:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:30:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:31:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:31:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements 17:31:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:32:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:32:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:32:19 ./bin/test-attribution-txt.sh [Pipeline] echo 17:32:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:32:19 $ docker stop --time=1 fb00eafe5d0d33c333c4c1afd35b9688df92777414a02c71bd4bdeaa61468f61 17:32:22 $ docker rm -f fb00eafe5d0d33c333c4c1afd35b9688df92777414a02c71bd4bdeaa61468f61 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:23 Warning: overwriting stash ‘coverage-report’ 17:32:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:24 + ls -al . 17:32:24 total 176 17:32:24 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:30 . 17:32:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:27 .. 17:32:24 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 17:27 .dockerignore 17:32:24 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:27 .git 17:32:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:27 .github 17:32:24 -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 17:27 .gitignore 17:32:24 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:27 .golangci.yml 17:32:24 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 17:27 Attribution.txt 17:32:24 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 17:27 CHANGELOG.md 17:32:24 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 17:27 Dockerfile 17:32:24 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:27 GOVERNANCE.md 17:32:24 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 17:27 Jenkinsfile 17:32:24 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:27 LICENSE 17:32:24 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 17:27 Makefile 17:32:24 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:27 OWNERS.md 17:32:24 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 17:27 README.md 17:32:24 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:25 VERSION 17:32:24 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:27 bin 17:32:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:27 cmd 17:32:24 -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 17:31 coverage.out 17:32:24 -rw-rw-r-- 1 jenkins jenkins 3455 Nov 7 17:27 go.mod 17:32:24 -rw-rw-r-- 1 jenkins jenkins 45055 Nov 7 17:27 go.sum 17:32:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:27 internal 17:32:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:27 snap 17:32:24 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:25 + 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=0845b1209c9eb9dd940496004e850c7da2ef6955 --label arch=arm64 --label version=2.3.0-dev.23 . 17:32:25 Sending build context to Docker daemon 2.88MB 17:32:25 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:32:25 Step 2/24 : FROM ${BASE} AS builder 17:32:25 ---> 461817097a15 17:32:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:32:25 ---> Running in 3d5f5c97614b 17:32:25 Removing intermediate container 3d5f5c97614b 17:32:25 ---> d1f5f8ad056a 17:32:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:26 ---> Running in 1cfa88b6406f 17:32:26 Removing intermediate container 1cfa88b6406f 17:32:26 ---> 78b9a04cdbe7 17:32:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:32:26 ---> Running in 54ebcc65ee17 17:32:27 Removing intermediate container 54ebcc65ee17 17:32:27 ---> 609e84658dca 17:32:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:32:27 ---> Running in 71b64d889b45 17:32:27 Removing intermediate container 71b64d889b45 17:32:27 ---> 31f213d08118 17:32:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:27 ---> Running in 3a14aadd114b 17:32:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:32:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:32:30 OK: 226 MiB in 55 packages 17:32:31 Removing intermediate container 3a14aadd114b 17:32:31 ---> aba02fde53b8 17:32:31 Step 8/24 : WORKDIR /device-snmp-go 17:32:31 ---> Running in 409c3b0fa4a3 17:32:32 Removing intermediate container 409c3b0fa4a3 17:32:32 ---> 59daa30ea763 17:32:32 Step 9/24 : COPY go.mod vendor* ./ 17:32:32 ---> 92a3dacefee1 17:32:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:33 ---> Running in 5212f5ecb203 17:32:35 Removing intermediate container 5212f5ecb203 17:32:35 ---> 186b90254e39 17:32:35 Step 11/24 : COPY . . 17:32:36 ---> d4d0fff21de1 17:32:36 Step 12/24 : RUN ${MAKE} 17:32:36 ---> Running in e3fe52077acd 17:32:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 17:36:02 Removing intermediate container e3fe52077acd 17:36:02 ---> ae90435d445f 17:36:02 Step 13/24 : FROM alpine:3.16 17:36:02 3.16: Pulling from library/alpine 17:36:02 9b18e9b68314: Already exists 17:36:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:36:02 Status: Downloaded newer image for alpine:3.16 17:36:02 ---> a6215f271958 17:36:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 17:36:02 ---> Running in e54c5bef731c 17:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:36:02 (1/6) Installing dumb-init (1.2.5-r1) 17:36:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:36:02 (3/6) Installing libsodium (1.0.18-r0) 17:36:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:36:02 (5/6) Installing libzmq (4.3.4-r0) 17:36:02 (6/6) Installing zeromq (4.3.4-r0) 17:36:02 Executing busybox-1.35.0-r17.trigger 17:36:02 OK: 8 MiB in 20 packages 17:36:02 Removing intermediate container e54c5bef731c 17:36:02 ---> a53f30e653f0 17:36:02 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:36:02 ---> 04beba60c043 17:36:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:36:02 ---> 92e98957902f 17:36:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:36:02 ---> 535070348706 17:36:02 Step 18/24 : EXPOSE 59993 17:36:02 ---> Running in da742bf72d01 17:36:02 Removing intermediate container da742bf72d01 17:36:02 ---> ad3b962f1d75 17:36:02 Step 19/24 : EXPOSE 161 17:36:02 ---> Running in 60f29e145cfc 17:36:02 Removing intermediate container 60f29e145cfc 17:36:02 ---> 0cea6622a063 17:36:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:36:02 ---> Running in 9cbeb0e8a5cc 17:36:02 Removing intermediate container 9cbeb0e8a5cc 17:36:02 ---> 54cb2785aa0f 17:36:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:36:02 ---> Running in cbfea6cd1245 17:36:02 Removing intermediate container cbfea6cd1245 17:36:02 ---> fe5695daef90 17:36:02 Step 22/24 : LABEL arch=arm64 17:36:02 ---> Running in 1bf7c936ede1 17:36:02 Removing intermediate container 1bf7c936ede1 17:36:02 ---> d945f6e7f6fd 17:36:02 Step 23/24 : LABEL git_sha=0845b1209c9eb9dd940496004e850c7da2ef6955 17:36:02 ---> Running in 94966642b6d7 17:36:02 Removing intermediate container 94966642b6d7 17:36:02 ---> 57524bb6ba90 17:36:02 Step 24/24 : LABEL version=2.3.0-dev.23 17:36:02 ---> Running in 7ef896d65856 17:36:02 Removing intermediate container 7ef896d65856 17:36:02 ---> 24fe070dc671 17:36:02 [Warning] One or more build-args [ARCH] were not consumed 17:36:02 Successfully built 24fe070dc671 17:36:02 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:36:03 provisioning config files... 17:36:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/54@tmp/config8395903273628482011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:03 ---> docker-login.sh 17:36:03 nexus3.edgexfoundry.org:10001 17:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:03 Configure a credential helper to remove this warning. See 17:36:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:03 17:36:03 Login Succeeded 17:36:03 nexus3.edgexfoundry.org:10002 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 nexus3.edgexfoundry.org:10003 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 nexus3.edgexfoundry.org:10004 17:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:05 Configure a credential helper to remove this warning. See 17:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:05 17:36:05 Login Succeeded 17:36:05 docker.io 17:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:05 Configure a credential helper to remove this warning. See 17:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:05 17:36:05 Login Succeeded 17:36:05 ---> docker-login.sh ends [Pipeline] } 17:36:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:36:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:06 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 17:36:06 0845b1209c9eb9dd940496004e850c7da2ef6955 17:36:06 latest 17:36:06 2.3.0-dev.23 17:36:06 0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:36:06 main 17:36:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955 17:36:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:36:06 7ce7d173b6f7: Preparing 17:36:06 c692b091640e: Preparing 17:36:06 6242d7e83c1d: Preparing 17:36:06 431d42d8aaf4: Preparing 17:36:06 5d3e392a13a0: Preparing 17:36:07 5d3e392a13a0: Layer already exists 17:36:07 7ce7d173b6f7: Pushed 17:36:07 c692b091640e: Pushed 17:36:08 431d42d8aaf4: Pushed 17:36:13 6242d7e83c1d: Pushed 17:36:13 0845b1209c9eb9dd940496004e850c7da2ef6955: digest: sha256:5a775b7fe698d2a749d4fb5e9639ed5962c2af64e1485cf9e01bbd3592e9786c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:36:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:36:14 7ce7d173b6f7: Preparing 17:36:14 c692b091640e: Preparing 17:36:14 6242d7e83c1d: Preparing 17:36:14 431d42d8aaf4: Preparing 17:36:14 5d3e392a13a0: Preparing 17:36:14 431d42d8aaf4: Layer already exists 17:36:14 5d3e392a13a0: Layer already exists 17:36:14 6242d7e83c1d: Layer already exists 17:36:14 7ce7d173b6f7: Layer already exists 17:36:14 c692b091640e: Layer already exists 17:36:14 latest: digest: sha256:5a775b7fe698d2a749d4fb5e9639ed5962c2af64e1485cf9e01bbd3592e9786c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.23 17:36:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:36:15 7ce7d173b6f7: Preparing 17:36:15 c692b091640e: Preparing 17:36:15 6242d7e83c1d: Preparing 17:36:15 431d42d8aaf4: Preparing 17:36:15 5d3e392a13a0: Preparing 17:36:15 c692b091640e: Layer already exists 17:36:15 6242d7e83c1d: Layer already exists 17:36:15 431d42d8aaf4: Layer already exists 17:36:15 5d3e392a13a0: Layer already exists 17:36:15 7ce7d173b6f7: Layer already exists 17:36:15 2.3.0-dev.23: digest: sha256:5a775b7fe698d2a749d4fb5e9639ed5962c2af64e1485cf9e01bbd3592e9786c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:36:16 7ce7d173b6f7: Preparing 17:36:16 c692b091640e: Preparing 17:36:16 6242d7e83c1d: Preparing 17:36:16 431d42d8aaf4: Preparing 17:36:16 5d3e392a13a0: Preparing 17:36:16 7ce7d173b6f7: Layer already exists 17:36:16 c692b091640e: Layer already exists 17:36:16 5d3e392a13a0: Layer already exists 17:36:16 431d42d8aaf4: Layer already exists 17:36:16 6242d7e83c1d: Layer already exists 17:36:16 0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23: digest: sha256:5a775b7fe698d2a749d4fb5e9639ed5962c2af64e1485cf9e01bbd3592e9786c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 17:36:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:36:17 7ce7d173b6f7: Preparing 17:36:17 c692b091640e: Preparing 17:36:17 6242d7e83c1d: Preparing 17:36:17 431d42d8aaf4: Preparing 17:36:17 5d3e392a13a0: Preparing 17:36:17 431d42d8aaf4: Layer already exists 17:36:17 7ce7d173b6f7: Layer already exists 17:36:17 5d3e392a13a0: Layer already exists 17:36:17 c692b091640e: Layer already exists 17:36:17 6242d7e83c1d: Layer already exists 17:36:17 main: digest: sha256:5a775b7fe698d2a749d4fb5e9639ed5962c2af64e1485cf9e01bbd3592e9786c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:36:17 ===================================================== [Pipeline] echo 17:36:17 taggedImages: 17:36:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955 17:36:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:36:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.23 17:36:17 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0845b1209c9eb9dd940496004e850c7da2ef6955-2.3.0-dev.23 17:36:17 - 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:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:18 17:36:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:18 arm64: Pulling from edgex-lftools-log-publisher 17:36:18 8998bd30e6a1: Pulling fs layer 17:36:18 04944245beec: Pulling fs layer 17:36:18 699f458cf7ca: Pulling fs layer 17:36:18 765212b225bb: Pulling fs layer 17:36:18 f23df028b6ca: Pulling fs layer 17:36:18 d65c8cfc05b1: Pulling fs layer 17:36:18 2437ff75d9bd: Pulling fs layer 17:36:18 f23df028b6ca: Waiting 17:36:18 d65c8cfc05b1: Waiting 17:36:18 2437ff75d9bd: Waiting 17:36:18 765212b225bb: Waiting 17:36:18 04944245beec: Verifying Checksum 17:36:18 04944245beec: Download complete 17:36:18 765212b225bb: Verifying Checksum 17:36:18 765212b225bb: Download complete 17:36:18 f23df028b6ca: Download complete 17:36:19 d65c8cfc05b1: Verifying Checksum 17:36:19 d65c8cfc05b1: Download complete 17:36:19 699f458cf7ca: Verifying Checksum 17:36:19 699f458cf7ca: Download complete 17:36:19 8998bd30e6a1: Verifying Checksum 17:36:19 8998bd30e6a1: Download complete 17:36:21 2437ff75d9bd: Verifying Checksum 17:36:21 2437ff75d9bd: Download complete 17:36:23 8998bd30e6a1: Pull complete 17:36:23 04944245beec: Pull complete 17:36:25 699f458cf7ca: Pull complete 17:36:25 765212b225bb: Pull complete 17:36:26 f23df028b6ca: Pull complete 17:36:26 d65c8cfc05b1: Pull complete 17:36:45 2437ff75d9bd: Pull complete 17:36:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:45 prd-ubuntu20.04-docker-arm64-4c-16g-118463 does not seem to be running inside a container 17:36:45 $ 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/54 -v /w/workspace/device-snmp-go/54:/w/workspace/device-snmp-go/54:rw,z -v /w/workspace/device-snmp-go/54@tmp:/w/workspace/device-snmp-go/54@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:36:50 $ docker top 55ae34f0524c3096e8e8ef666b6e18a7e25e8d6dcce8d4854007e314b506da1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:51 ---> job-cost.sh 17:36:51 lf-activate-venv: SKIPPING 17:36:51 INFO: No Stack... 17:36:52 INFO: Retrieving Pricing Info for: v3-standard-4 17:36:53 INFO: Archiving Costs [Pipeline] sh 17:36:54 + cat /w/workspace/device-snmp-go/54/archives/cost.csv 17:36:54 + cut -d, -f6 [Pipeline] lock 17:36:54 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] 17:36:54 Resource [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] did not exist. Created. 17:36:54 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:54 /w/workspace/device-snmp-go/54@tmp/durable-c18a73dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:36:55 + echo total: 0.10999999940395355 [Pipeline] stash 17:36:55 Warning: overwriting stash ‘stack-cost’ 17:36:55 Stashed 1 file(s) [Pipeline] } 17:36:55 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:55 $ docker stop --time=1 55ae34f0524c3096e8e8ef666b6e18a7e25e8d6dcce8d4854007e314b506da1f 17:36:57 $ docker rm -f 55ae34f0524c3096e8e8ef666b6e18a7e25e8d6dcce8d4854007e314b506da1f [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:36:57 provisioning config files... 17:36:57 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16404508427465280578tmp [Pipeline] { [Pipeline] sh 17:36:57 + set +x 17:36:57 + curl -s https://codecov.io/bash 17:36:57 + bash -s -- 17:36:57 17:36:57 _____ _ 17:36:57 / ____| | | 17:36:57 | | ___ __| | ___ ___ _____ __ 17:36:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:36:57 | |___| (_) | (_| | __/ (_| (_) \ V / 17:36:57 \_____\___/ \__,_|\___|\___\___/ \_/ 17:36:57 Bash-1.0.6 17:36:57 17:36:57 17:36:57 ==> git version 2.25.1 found 17:36:57 ==> 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:36:57 Release-Date: 2020-01-08 17:36:57 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:36:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:36:57 ==> Jenkins CI detected. 17:36:57 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 17:36:57 project root: . 17:36:57 --> token set from env 17:36:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:36:57 ==> Running gcov in . (disable via -X gcov) 17:36:57 ==> Python coveragepy not found 17:36:57 ==> Searching for coverage reports in: 17:36:57 + . 17:36:57 -> Found 1 reports 17:36:57 ==> Detecting git/mercurial file structure 17:36:57 ==> Reading reports 17:36:57 + ./coverage.out bytes=7631 17:36:57 ==> Appending adjustments 17:36:57 https://docs.codecov.io/docs/fixing-reports 17:36:58 + Found adjustments 17:36:58 ==> Gzipping contents 17:36:58 4.0K /tmp/codecov.aGuBpj.gz 17:36:58 ==> Uploading reports 17:36:58 url: https://codecov.io 17:36:58 query: branch=main&commit=0845b1209c9eb9dd940496004e850c7da2ef6955&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:36:58 -> Pinging Codecov 17:36:58 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=0845b1209c9eb9dd940496004e850c7da2ef6955&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:36:58 -> Uploading to 17:36:58 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/6C56EA5C29638FB4528AC87E60AF5AE0/0845b1209c9eb9dd940496004e850c7da2ef6955/8788b974-009c-41d1-9a22-547e54fe6d5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T173658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdd96223ea846cac97356c04f69fc5683cc1d65b7e0e2757e568a34221dce462 17:36:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:58 Dload Upload Total Spent Left Speed 17:36:58 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 6857 --:--:-- --:--:-- --:--:-- 6827 17:36:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] } 17:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:36:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:36:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:36:59 17:36:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:36:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:36:59 df9b9388f04a: Pulling fs layer 17:36:59 52dc419b0ee2: Pulling fs layer 17:36:59 25bc292e5bac: Pulling fs layer 17:36:59 114826534d7a: Pulling fs layer 17:36:59 4657fd5d0bcf: Pulling fs layer 17:36:59 6ad1cebc031e: Pulling fs layer 17:36:59 8a3aa393b2d8: Pulling fs layer 17:36:59 6ad1cebc031e: Waiting 17:36:59 4657fd5d0bcf: Waiting 17:36:59 8a3aa393b2d8: Waiting 17:36:59 114826534d7a: Waiting 17:36:59 25bc292e5bac: Verifying Checksum 17:36:59 25bc292e5bac: Download complete 17:36:59 52dc419b0ee2: Verifying Checksum 17:36:59 52dc419b0ee2: Download complete 17:36:59 4657fd5d0bcf: Download complete 17:36:59 df9b9388f04a: Download complete 17:36:59 df9b9388f04a: Pull complete 17:36:59 6ad1cebc031e: Verifying Checksum 17:36:59 6ad1cebc031e: Download complete 17:36:59 52dc419b0ee2: Pull complete 17:36:59 25bc292e5bac: Pull complete 17:37:00 114826534d7a: Verifying Checksum 17:37:00 114826534d7a: Download complete 17:37:00 8a3aa393b2d8: Verifying Checksum 17:37:00 8a3aa393b2d8: Download complete 17:37:03 114826534d7a: Pull complete 17:37:03 4657fd5d0bcf: Pull complete 17:37:04 6ad1cebc031e: Pull complete 17:37:06 8a3aa393b2d8: Pull complete 17:37:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:37:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:06 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:06 $ 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:37:08 $ docker top d50004978e9015798a84de1f62865029f1f5e21111fbe833c68355f7794901d7 -eo pid,comm [Pipeline] { [Pipeline] echo 17:37:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 17:37:08 + set -o pipefail 17:37:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 17:37:14 17:37:14 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 17:37:14 17:37:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/e8caf621-8624-493d-a43c-177812904de2 17:37:14 17:37:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:37:14 17:37:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:37:14 17:37:14 17:37:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:37:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:37:14 More details here: https://snyk.co/ue1NS [Pipeline] } 17:37:14 $ docker stop --time=1 d50004978e9015798a84de1f62865029f1f5e21111fbe833c68355f7794901d7 17:37:16 $ docker rm -f d50004978e9015798a84de1f62865029f1f5e21111fbe833c68355f7794901d7 [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:37:16 + git log --format=format:%s -1 0845b1209c9eb9dd940496004e850c7da2ef6955 [Pipeline] sh 17:37:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:17 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:17 $ 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:37:17 $ docker top 94dea4a83cb919a5fa968b9f256f5a2f746ca039bb38cf9f5d74c4faa3c09ef6 -eo pid,comm 17:37:17 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:37:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:17 [ssh-agent] Looking for ssh-agent implementation... 17:37:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:17 $ docker exec 94dea4a83cb919a5fa968b9f256f5a2f746ca039bb38cf9f5d74c4faa3c09ef6 ssh-agent 17:37:18 SSH_AUTH_SOCK=/tmp/ssh-QV1YlkDJyeK5/agent.32 17:37:18 SSH_AGENT_PID=38 17:37:18 Running ssh-add (command line suppressed) 17:37:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16007096191664859901.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16007096191664859901.key) 17:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:18 + git semver tag 17:37:18 2022-11-07 17:37:18,674 [run_tag] DEBUG tag force:False 17:37:18 2022-11-07 17:37:18,674 [check_head_tag] DEBUG check head tag 17:37:18 2022-11-07 17:37:18,675 [execute] INFO git cat-file --batch-check 17:37:18 2022-11-07 17:37:18,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:37:18 2022-11-07 17:37:18,678 [execute] INFO git cat-file --batch 17:37:18 2022-11-07 17:37:18,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:37:18 2022-11-07 17:37:18,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:18 2022-11-07 17:37:18,693 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 17:37:18 2022-11-07 17:37:18,693 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:37:18 2022-11-07 17:37:18,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:18 2.3.0-dev.23 [Pipeline] } 17:37:18 $ docker exec --env ******** --env ******** 94dea4a83cb919a5fa968b9f256f5a2f746ca039bb38cf9f5d74c4faa3c09ef6 ssh-agent -k 17:37:18 unset SSH_AUTH_SOCK; 17:37:18 unset SSH_AGENT_PID; 17:37:18 echo Agent pid 38 killed; 17:37:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:19 + git semver [Pipeline] } 17:37:19 $ docker stop --time=1 94dea4a83cb919a5fa968b9f256f5a2f746ca039bb38cf9f5d74c4faa3c09ef6 17:37:20 $ docker rm -f 94dea4a83cb919a5fa968b9f256f5a2f746ca039bb38cf9f5d74c4faa3c09ef6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:21 17:37:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:21 0.23.1-centos7: Pulling from edgex-lftools 17:37:21 ab5ef0e58194: Pulling fs layer 17:37:21 9712f1f96733: Pulling fs layer 17:37:21 63f879dbbcfc: Pulling fs layer 17:37:21 0d9ebad4ef96: Pulling fs layer 17:37:21 e9a5061849ea: Pulling fs layer 17:37:21 d747dcd14b5f: Pulling fs layer 17:37:21 2de7ff778b66: Pulling fs layer 17:37:21 0d9ebad4ef96: Waiting 17:37:21 e9a5061849ea: Waiting 17:37:21 d747dcd14b5f: Waiting 17:37:21 2de7ff778b66: Waiting 17:37:21 9712f1f96733: Verifying Checksum 17:37:21 9712f1f96733: Download complete 17:37:21 63f879dbbcfc: Verifying Checksum 17:37:21 63f879dbbcfc: Download complete 17:37:21 0d9ebad4ef96: Verifying Checksum 17:37:21 0d9ebad4ef96: Download complete 17:37:21 d747dcd14b5f: Verifying Checksum 17:37:21 d747dcd14b5f: Download complete 17:37:21 e9a5061849ea: Verifying Checksum 17:37:21 e9a5061849ea: Download complete 17:37:21 ab5ef0e58194: Verifying Checksum 17:37:21 ab5ef0e58194: Download complete 17:37:22 2de7ff778b66: Verifying Checksum 17:37:22 2de7ff778b66: Download complete 17:37:24 ab5ef0e58194: Pull complete 17:37:24 9712f1f96733: Pull complete 17:37:25 63f879dbbcfc: Pull complete 17:37:28 0d9ebad4ef96: Pull complete 17:37:28 e9a5061849ea: Pull complete 17:37:28 d747dcd14b5f: Pull complete 17:37:29 2de7ff778b66: Pull complete 17:37:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:29 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:29 $ 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:37:31 $ docker top 236d86424b3203a1f7fcc0d12225c6e2006db1d806b0877743d2791559f02728 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:37:31 provisioning config files... 17:37:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4412229180115660667tmp 17:37:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11317615270072080512tmp 17:37:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16757141342002555572tmp [Pipeline] { [Pipeline] echo 17:37:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:37:32 ---> sigul-configuration.sh 17:37:32 gpg: directory `/root/.gnupg' created 17:37:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:37:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:37:32 gpg: keyring `/root/.gnupg/secring.gpg' created 17:37:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:37:32 gpg: CAST5 encrypted data 17:37:32 gpg: encrypted with 1 passphrase 17:37:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:37:32 + mkdir /home/jenkins 17:37:32 + mkdir /home/jenkins/sigul [Pipeline] sh 17:37:32 + 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:37:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:37:32 ---> sigul-install.sh 17:37:32 Sigul already installed; skipping installation. [Pipeline] sh 17:37:33 + git tag --list 17:37:33 1.0.0 17:37:33 v0.0.0 17:37:33 v1.1.0 17:37:33 v1.1.1 17:37:33 v1.2.2 17:37:33 v1.3.0 17:37:33 v1.3.1 17:37:33 v2.0.0 17:37:33 v2.1.0 17:37:33 v2.1.1 17:37:33 v2.1.1-dev.2 17:37:33 v2.1.1-dev.3 17:37:33 v2.2.0 17:37:33 v2.2.1-dev.1 17:37:33 v2.2.1-dev.2 17:37:33 v2.2.1-dev.3 17:37:33 v2.2.1-dev.4 17:37:33 v2.2.1-dev.5 17:37:33 v2.2.1-dev.6 17:37:33 v2.2.1-dev.7 17:37:33 v2.3.0-dev.10 17:37:33 v2.3.0-dev.11 17:37:33 v2.3.0-dev.12 17:37:33 v2.3.0-dev.13 17:37:33 v2.3.0-dev.14 17:37:33 v2.3.0-dev.15 17:37:33 v2.3.0-dev.16 17:37:33 v2.3.0-dev.17 17:37:33 v2.3.0-dev.18 17:37:33 v2.3.0-dev.19 17:37:33 v2.3.0-dev.20 17:37:33 v2.3.0-dev.21 17:37:33 v2.3.0-dev.22 17:37:33 v2.3.0-dev.23 17:37:33 v2.3.0-dev.7 17:37:33 v2.3.0-dev.8 17:37:33 v2.3.0-dev.9 [Pipeline] sh 17:37:33 + lftools sign git-tag v2.3.0-dev.23 17:37:34 Signing Git tag with Sigul... 17:37:34 Signing v2.3.0-dev.23 [Pipeline] echo 17:37:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:37:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:37:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:37:34 $ docker stop --time=1 236d86424b3203a1f7fcc0d12225c6e2006db1d806b0877743d2791559f02728 17:37:35 $ docker rm -f 236d86424b3203a1f7fcc0d12225c6e2006db1d806b0877743d2791559f02728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:37:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:36 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:36 $ 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:37:37 $ docker top 3f1b15c03c8bad20f2e3b3943c222e5d7337260e69ee01a97e3dbc206cfcb56b -eo pid,comm 17:37:37 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:37:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:37 [ssh-agent] Looking for ssh-agent implementation... 17:37:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:37 $ docker exec 3f1b15c03c8bad20f2e3b3943c222e5d7337260e69ee01a97e3dbc206cfcb56b ssh-agent 17:37:37 SSH_AUTH_SOCK=/tmp/ssh-AwHLkCPqOWOM/agent.33 17:37:37 SSH_AGENT_PID=39 17:37:37 Running ssh-add (command line suppressed) 17:37:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3221239519283637116.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3221239519283637116.key) 17:37:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:37 + git semver bump pre 17:37:38 2022-11-07 17:37:37,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:38 2022-11-07 17:37:37,957 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev 17:37:38 2022-11-07 17:37:37,957 [bump_version] DEBUG bumped version:2.3.0-dev.24 17:37:38 2022-11-07 17:37:37,957 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 17:37:38 2022-11-07 17:37:37,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:38 2022-11-07 17:37:37,958 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:38 2022-11-07 17:37:37,960 [execute] INFO git cat-file --batch-check 17:37:38 2022-11-07 17:37:37,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:37:38 2022-11-07 17:37:37,965 [execute] INFO git cat-file --batch 17:37:38 2022-11-07 17:37:37,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:37:38 2022-11-07 17:37:37,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:38 2.3.0-dev.24 [Pipeline] } 17:37:38 $ docker exec --env ******** --env ******** 3f1b15c03c8bad20f2e3b3943c222e5d7337260e69ee01a97e3dbc206cfcb56b ssh-agent -k 17:37:38 unset SSH_AUTH_SOCK; 17:37:38 unset SSH_AGENT_PID; 17:37:38 echo Agent pid 39 killed; 17:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:38 + git semver [Pipeline] } 17:37:38 $ docker stop --time=1 3f1b15c03c8bad20f2e3b3943c222e5d7337260e69ee01a97e3dbc206cfcb56b 17:37:40 $ docker rm -f 3f1b15c03c8bad20f2e3b3943c222e5d7337260e69ee01a97e3dbc206cfcb56b [Pipeline] // withDockerContainer [Pipeline] sh 17:37:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:40 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:40 $ 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:37:41 $ docker top cd58380c5f98bc342f888753cb5608d5d6e320de78804b5cf2771d56775b8613 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:41 [ssh-agent] Looking for ssh-agent implementation... 17:37:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:41 $ docker exec cd58380c5f98bc342f888753cb5608d5d6e320de78804b5cf2771d56775b8613 ssh-agent 17:37:41 SSH_AUTH_SOCK=/tmp/ssh-kqgkzIvO0cBg/agent.32 17:37:41 SSH_AGENT_PID=38 17:37:41 Running ssh-add (command line suppressed) 17:37:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9378187318173557667.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9378187318173557667.key) 17:37:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:41 + git semver push 17:37:42 2022-11-07 17:37:42,000 [run_push] DEBUG push 17:37:42 2022-11-07 17:37:42,000 [execute] INFO git cat-file --batch-check 17:37:42 2022-11-07 17:37:42,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:37:42 2022-11-07 17:37:42,004 [execute] INFO git rev-list 3085027bbee3713824d06545bf832520706bbac9 -- 17:37:42 2022-11-07 17:37:42,005 [execute] DEBUG Popen(['git', 'rev-list', '3085027bbee3713824d06545bf832520706bbac9', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:37:42 2022-11-07 17:37:42,013 [execute] INFO git fetch -v origin 17:37:42 2022-11-07 17:37:42,014 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:37:42 2022-11-07 17:37:42,645 [run_push] DEBUG no remote changes detected 17:37:42 2022-11-07 17:37:42,646 [execute] INFO git push origin semver 17:37:42 2022-11-07 17:37:42,646 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:37:43 2022-11-07 17:37:43,487 [run_push] DEBUG push all version tags 17:37:43 2022-11-07 17:37:43,488 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:37:43 2022-11-07 17:37:43,489 [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:37:44 2022-11-07 17:37:44,281 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:37:44 2.3.0-dev.24 [Pipeline] } 17:37:44 $ docker exec --env ******** --env ******** cd58380c5f98bc342f888753cb5608d5d6e320de78804b5cf2771d56775b8613 ssh-agent -k 17:37:44 unset SSH_AUTH_SOCK; 17:37:44 unset SSH_AGENT_PID; 17:37:44 echo Agent pid 38 killed; 17:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:44 + git semver [Pipeline] } 17:37:45 $ docker stop --time=1 cd58380c5f98bc342f888753cb5608d5d6e320de78804b5cf2771d56775b8613 17:37:46 $ docker rm -f cd58380c5f98bc342f888753cb5608d5d6e320de78804b5cf2771d56775b8613 [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:37:47 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 17:37:47 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:37:47 total 16 17:37:47 drwxr-xr-x 3 root root 4096 Nov 7 17:26 . 17:37:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:37 .. 17:37:47 drwxr-xr-x 2 root root 4096 Nov 7 17:26 cost 17:37:47 -rw-r--r-- 1 root root 85 Nov 7 17:26 cost.csv 17:37:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:37:47 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:37:47 total 16 17:37:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:26 . 17:37:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:37 .. 17:37:47 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:26 cost 17:37:47 -rw-r--r-- 1 jenkins jenkins 85 Nov 7 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:37:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:37:48 ---> package-listing.sh 17:37:48 ++ facter osfamily 17:37:48 ++ tr '[:upper:]' '[:lower:]' 17:37:48 + OS_FAMILY=debian 17:37:48 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 17:37:48 + START_PACKAGES=/tmp/packages_start.txt 17:37:48 + END_PACKAGES=/tmp/packages_end.txt 17:37:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:37:48 + PACKAGES=/tmp/packages_start.txt 17:37:48 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:37:48 + PACKAGES=/tmp/packages_end.txt 17:37:48 + case "${OS_FAMILY}" in 17:37:48 + dpkg -l 17:37:48 + grep '^ii' 17:37:48 + '[' -f /tmp/packages_start.txt ']' 17:37:48 + '[' -f /tmp/packages_end.txt ']' 17:37:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:37:48 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:37:48 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 17:37:48 + 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:37:48 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:37:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:49 prd-ubuntu20.04-docker-8c-8g-118458 does not seem to be running inside a container 17:37:49 $ 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:37:49 $ docker top b4c920c80bb762dc92d7045e8b999076a607019d9b82a41b432b0025eb02ca92 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:50 + touch /tmp/pre-build-complete [Pipeline] sh 17:37:50 + mkdir -p /var/log/sysstat [Pipeline] sh 17:37:50 + ls /var/log/sa-host 17:37:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:50 provisioning config files... 17:37:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3937270820630583187tmp [Pipeline] { [Pipeline] echo 17:37:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:37:51 ---> create-netrc.sh [Pipeline] } 17:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:37:51 ---> python-tools-install.sh [Pipeline] echo 17:37:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:37:51 ---> sudo-logs.sh 17:37:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:37:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:37:51 ---> job-cost.sh 17:37:51 lf-activate-venv: SKIPPING 17:37:51 DEBUG: total: 0.2199999988079071 17:37:51 INFO: Retrieving Stack Cost... 17:37:52 INFO: Retrieving Pricing Info for: v3-standard-8 17:37:52 INFO: Archiving Costs [Pipeline] echo 17:37:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:37:53 ---> logs-deploy.sh 17:37:53 lf-activate-venv: SKIPPING 17:37:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/54 17:37:53 INFO: archiving workspace using pattern(s): 17:37:54 Archives upload complete. 17:37:54 INFO: archiving logs to Nexus