Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 86e265f4693997e38d18c21fe32d96af1ec8218a 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-ssh6459417310849262160.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14965656741093802717.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4701179030629225436.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14584171201871972296.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-ssh12129705337659100631.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7494’ Running on prd-ubuntu20.04-docker-8c-8g-7498 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 86e265f4693997e38d18c21fe32d96af1ec8218a (main) Commit message: "Merge pull request #196 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > 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 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 > git rev-list --no-walk d466151200edb95fff3e1a1306a852eb5b109481 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:01:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:01:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:01:44 ========================================================= 10:01:44 EdgeX Global Pipelines Version Info 10:01:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:01:45 ------------------- 10:01:45 stable info: 10:01:45 ------------------- 10:01:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:01:45 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:01:45 Message: update stable to v1.0.239 10:01:46 ------------------- 10:01:46 experimental info: 10:01:46 ------------------- 10:01:46 Commited By: **** collab-it+edgex@linuxfoundation.org 10:01:46 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:01:46 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86e265f [Pipeline] echo 10:01:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:46 provisioning config files... 10:01:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8388107775524821878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:47 ---> docker-login.sh 10:01:47 nexus3.edgexfoundry.org:10001 10:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:47 Configure a credential helper to remove this warning. See 10:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:47 10:01:47 Login Succeeded 10:01:47 nexus3.edgexfoundry.org:10002 10:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:47 Configure a credential helper to remove this warning. See 10:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:47 10:01:47 Login Succeeded 10:01:47 nexus3.edgexfoundry.org:10003 10:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:47 Configure a credential helper to remove this warning. See 10:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:47 10:01:47 Login Succeeded 10:01:47 nexus3.edgexfoundry.org:10004 10:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:47 Configure a credential helper to remove this warning. See 10:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:47 10:01:47 Login Succeeded 10:01:47 docker.io 10:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:48 Configure a credential helper to remove this warning. See 10:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:48 10:01:48 Login Succeeded 10:01:48 ---> docker-login.sh ends [Pipeline] } 10:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:01:48 + git rev-list -1 --merges 86e265f4693997e38d18c21fe32d96af1ec8218a~1..86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] echo 10:01:48 -----------> git rev-list -1 --merges 86e265f4693997e38d18c21fe32d96af1ec8218a~1..86e265f4693997e38d18c21fe32d96af1ec8218a 86e265f4693997e38d18c21fe32d96af1ec8218a 10:01:48 86e265f4693997e38d18c21fe32d96af1ec8218a [false] [Pipeline] sh 10:01:48 + git log --format=format:%s -1 86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] echo 10:01:48 ========================================================= 10:01:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:01:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:49 + git log --format=format:%s -1 86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] echo 10:01:49 [semverPrep] GIT_COMMIT: 86e265f4693997e38d18c21fe32d96af1ec8218a, Commit Message: Merge pull request #196 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo 10:01:49 [semverPrep] This is not a build commit. [Pipeline] sh 10:01:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:01:49 + grep -v github /etc/ssh/ssh_known_hosts 10:01:49 + [ -e /tmp/ssh_known_hosts ] 10:01:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:01:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:01:49 + sudo tee -a /etc/ssh/ssh_known_hosts 10:01:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:49 10:01:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:50 0.1.4: Pulling from edgex-devops/py-git-semver 10:01:50 b85a868b505f: Pulling fs layer 10:01:50 e2be974225ed: Pulling fs layer 10:01:50 339a4e72a1f5: Pulling fs layer 10:01:50 988bab9f4d93: Pulling fs layer 10:01:50 1469e6f7b9e6: Pulling fs layer 10:01:50 988bab9f4d93: Waiting 10:01:50 eaf3925da568: Pulling fs layer 10:01:50 bab4dde63d76: Pulling fs layer 10:01:50 eaf3925da568: Waiting 10:01:50 1469e6f7b9e6: Waiting 10:01:50 bde34c3a00c8: Pulling fs layer 10:01:50 b352a97aabf1: Pulling fs layer 10:01:50 bde34c3a00c8: Waiting 10:01:50 bab4dde63d76: Waiting 10:01:50 4872d77fe225: Pulling fs layer 10:01:50 5851b861e8e6: Pulling fs layer 10:01:50 b352a97aabf1: Waiting 10:01:50 5851b861e8e6: Waiting 10:01:50 e2be974225ed: Download complete 10:01:50 988bab9f4d93: Verifying Checksum 10:01:50 988bab9f4d93: Download complete 10:01:50 1469e6f7b9e6: Verifying Checksum 10:01:50 1469e6f7b9e6: Download complete 10:01:50 eaf3925da568: Verifying Checksum 10:01:50 eaf3925da568: Download complete 10:01:50 339a4e72a1f5: Verifying Checksum 10:01:50 339a4e72a1f5: Download complete 10:01:50 bde34c3a00c8: Download complete 10:01:50 b352a97aabf1: Verifying Checksum 10:01:50 b352a97aabf1: Download complete 10:01:50 4872d77fe225: Verifying Checksum 10:01:50 4872d77fe225: Download complete 10:01:50 b85a868b505f: Verifying Checksum 10:01:50 b85a868b505f: Download complete 10:01:50 5851b861e8e6: Verifying Checksum 10:01:50 5851b861e8e6: Download complete 10:01:50 bab4dde63d76: Verifying Checksum 10:01:50 bab4dde63d76: Download complete 10:01:51 b85a868b505f: Pull complete 10:01:51 e2be974225ed: Pull complete 10:01:52 339a4e72a1f5: Pull complete 10:01:52 988bab9f4d93: Pull complete 10:01:52 1469e6f7b9e6: Pull complete 10:01:52 eaf3925da568: Pull complete 10:01:54 bab4dde63d76: Pull complete 10:01:54 bde34c3a00c8: Pull complete 10:01:54 b352a97aabf1: Pull complete 10:01:54 4872d77fe225: Pull complete 10:01:54 5851b861e8e6: Pull complete 10:01:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:54 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:01:56 $ docker top f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d -eo pid,comm 10:01:56 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). 10:01:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:56 [ssh-agent] Looking for ssh-agent implementation... 10:01:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:56 $ docker exec f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d ssh-agent 10:01:56 SSH_AUTH_SOCK=/tmp/ssh-7SvcgkcmOxPm/agent.32 10:01:56 SSH_AGENT_PID=38 10:01:56 Running ssh-add (command line suppressed) 10:01:56 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8629457703900878194.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8629457703900878194.key) 10:01:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:57 + git tag --points-at HEAD [Pipeline] } 10:01:57 $ docker exec --env ******** --env ******** f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d ssh-agent -k 10:01:57 unset SSH_AUTH_SOCK; 10:01:57 unset SSH_AGENT_PID; 10:01:57 echo Agent pid 38 killed; 10:01:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:01:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:57 [ssh-agent] Looking for ssh-agent implementation... 10:01:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:57 $ docker exec f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d ssh-agent 10:01:57 SSH_AUTH_SOCK=/tmp/ssh-qOjwAE574eqO/agent.70 10:01:57 SSH_AGENT_PID=76 10:01:57 Running ssh-add (command line suppressed) 10:01:57 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9964460272255732824.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9964460272255732824.key) 10:01:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:57 + git semver init 10:01:58 2022-10-10 10:01:58,070 [run_init] DEBUG init version:0.0.0 force:False 10:01:58 2022-10-10 10:01:58,070 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 10:01:58 2022-10-10 10:01:58,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 10:01:58 2022-10-10 10:01:58,071 [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) 10:01:59 2022-10-10 10:01:58,939 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 10:01:59 2022-10-10 10:01:58,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 10:01:59 2022-10-10 10:01:58,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:01:59 2022-10-10 10:01:58,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:01:59 2.3.0-dev.17 [Pipeline] } 10:01:59 $ docker exec --env ******** --env ******** f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d ssh-agent -k 10:01:59 unset SSH_AUTH_SOCK; 10:01:59 unset SSH_AGENT_PID; 10:01:59 echo Agent pid 76 killed; 10:01:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:01:59 + git semver [Pipeline] } 10:01:59 $ docker stop --time=1 f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d 10:02:01 $ docker rm -f f16b44cbbdda8bdd72139fe1e258441de8a5dc6811d886ad1ea2b33c019f0d4d [Pipeline] // withDockerContainer [Pipeline] sh 10:02:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:01 Stashed 1 file(s) [Pipeline] echo 10:02:01 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 10:02:01 provisioning config files... 10:02:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config666439559623583244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:02 ---> docker-login.sh 10:02:02 nexus3.edgexfoundry.org:10001 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 nexus3.edgexfoundry.org:10002 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 nexus3.edgexfoundry.org:10003 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 nexus3.edgexfoundry.org:10004 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 docker.io 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 ---> docker-login.sh ends [Pipeline] } 10:02:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:02 ========================================================= 10:02:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:02:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:03 + 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 . 10:02:03 Sending build context to Docker daemon 5.5MB 10:02:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:02:03 Step 2/13 : FROM ${BASE} AS builder 10:02:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:03 2408cc74d12b: Pulling fs layer 10:02:03 ea60b727a1ce: Pulling fs layer 10:02:03 30c4a7721957: Pulling fs layer 10:02:03 370296b7ddb6: Pulling fs layer 10:02:03 7c6cee850709: Pulling fs layer 10:02:03 aa9baa53a306: Pulling fs layer 10:02:03 8b309c321861: Pulling fs layer 10:02:03 d8d76fd02f46: Pulling fs layer 10:02:03 fa31f396de31: Pulling fs layer 10:02:03 370296b7ddb6: Waiting 10:02:03 7c6cee850709: Waiting 10:02:03 aa9baa53a306: Waiting 10:02:03 8b309c321861: Waiting 10:02:03 d8d76fd02f46: Waiting 10:02:03 fa31f396de31: Waiting 10:02:03 30c4a7721957: Download complete 10:02:03 ea60b727a1ce: Verifying Checksum 10:02:03 ea60b727a1ce: Download complete 10:02:03 7c6cee850709: Verifying Checksum 10:02:03 7c6cee850709: Download complete 10:02:03 aa9baa53a306: Verifying Checksum 10:02:03 aa9baa53a306: Download complete 10:02:03 2408cc74d12b: Verifying Checksum 10:02:03 2408cc74d12b: Download complete 10:02:03 8b309c321861: Download complete 10:02:03 2408cc74d12b: Pull complete 10:02:03 ea60b727a1ce: Pull complete 10:02:03 30c4a7721957: Pull complete 10:02:03 fa31f396de31: Verifying Checksum 10:02:03 fa31f396de31: Download complete 10:02:04 370296b7ddb6: Verifying Checksum 10:02:04 370296b7ddb6: Download complete 10:02:04 d8d76fd02f46: Verifying Checksum 10:02:04 d8d76fd02f46: Download complete 10:02:07 370296b7ddb6: Pull complete 10:02:07 7c6cee850709: Pull complete 10:02:07 aa9baa53a306: Pull complete 10:02:07 8b309c321861: Pull complete 10:02:09 d8d76fd02f46: Pull complete 10:02:10 fa31f396de31: Pull complete 10:02:10 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:02:10 ---> cef68f9685f8 10:02:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:02:12 ---> Running in aa9ee7a295a9 10:02:12 Removing intermediate container aa9ee7a295a9 10:02:12 ---> b45d925214be 10:02:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:12 ---> Running in 2b27874a66b0 10:02:12 Removing intermediate container 2b27874a66b0 10:02:12 ---> 48f544353ad7 10:02:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:12 ---> Running in 7a4b63726821 10:02:12 Removing intermediate container 7a4b63726821 10:02:12 ---> 32e0a5e114db 10:02:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:02:12 ---> Running in c8d5deeeccc4 10:02:12 Removing intermediate container c8d5deeeccc4 10:02:12 ---> 4d698f56fdff 10:02:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:12 ---> Running in 5fb80cc61778 10:02:13 Removing intermediate container 5fb80cc61778 10:02:13 ---> 0a3b452aca22 10:02:13 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:13 ---> Running in 17b6901d7ded 10:02:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:02:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:02:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:02:14 (2/4) Installing libedit (20210910.3.1-r0) 10:02:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:02:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:02:16 Executing busybox-1.35.0-r13.trigger 10:02:16 OK: 216 MiB in 55 packages 10:02:16 Still waiting to schedule task 10:02:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7496’ 10:02:16 Removing intermediate container 17b6901d7ded 10:02:16 ---> 27890b53eb5f 10:02:16 Step 9/13 : WORKDIR /device-snmp-go 10:02:16 ---> Running in 4b5b1768a7cc 10:02:16 Removing intermediate container 4b5b1768a7cc 10:02:16 ---> 864a333db212 10:02:16 Step 10/13 : COPY go.mod vendor* ./ 10:02:17 ---> 95434444a88c 10:02:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:17 ---> Running in be1b02e19d96 10:02:31 Removing intermediate container be1b02e19d96 10:02:31 ---> f0847cf2c781 10:02:31 Step 12/13 : COPY . . 10:02:31 ---> d0b8575ecaa6 10:02:31 Step 13/13 : RUN ${MAKE} 10:02:31 ---> Running in 3d840683e3f3 10:02:31 noop 10:02:31 Removing intermediate container 3d840683e3f3 10:02:31 ---> 21060bf682be 10:02:31 Successfully built 21060bf682be 10:02:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:32 + docker inspect -f . ci-base-image-x86_64 10:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:32 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:02:32 $ docker top d24be69a9160fb7095e883687baacc3837027e2ed680f59c07cf4f7f2e54cc65 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:33 + go version 10:02:33 go version go1.18.3 linux/amd64 [Pipeline] } 10:02:33 $ docker stop --time=1 d24be69a9160fb7095e883687baacc3837027e2ed680f59c07cf4f7f2e54cc65 10:02:34 $ docker rm -f d24be69a9160fb7095e883687baacc3837027e2ed680f59c07cf4f7f2e54cc65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:34 + docker inspect -f . ci-base-image-x86_64 10:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:34 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:02:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:02:35 $ docker top da9f5812ae1c31b41e2bbc667110a6619791cbf2919956e7e4c2ef960e8dfcda -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 10:02:35 + make test 10:02:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:02:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:02:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:02:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 10:02:52 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." 10:02:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:02:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:02:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:02:54 ./bin/test-attribution-txt.sh [Pipeline] echo 10:02:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:02:54 $ docker stop --time=1 da9f5812ae1c31b41e2bbc667110a6619791cbf2919956e7e4c2ef960e8dfcda 10:02:56 $ docker rm -f da9f5812ae1c31b41e2bbc667110a6619791cbf2919956e7e4c2ef960e8dfcda [Pipeline] // withDockerContainer [Pipeline] sh 10:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:02:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:02:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:02:57 + ls -al . 10:02:57 total 172 10:02:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 10:02 . 10:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 .. 10:02:57 -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 10:01 .dockerignore 10:02:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:02 .git 10:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 .github 10:02:57 -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 10:01 .gitignore 10:02:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:01 .golangci.yml 10:02:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:01 .semver 10:02:57 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 10:01 Attribution.txt 10:02:57 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 10:01 CHANGELOG.md 10:02:57 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 10:01 Dockerfile 10:02:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:01 GOVERNANCE.md 10:02:57 -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 10:01 Jenkinsfile 10:02:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:01 LICENSE 10:02:57 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 10:01 Makefile 10:02:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:01 OWNERS.md 10:02:57 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 10:01 README.md 10:02:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:02 VERSION 10:02:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:01 bin 10:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 cmd 10:02:57 -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 10:02 coverage.out 10:02:57 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 10:01 go.mod 10:02:57 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 10:01 go.sum 10:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 internal 10:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 snap 10:02:57 -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:57 + 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=86e265f4693997e38d18c21fe32d96af1ec8218a --label arch=amd64 --label version=2.3.0-dev.17 . 10:02:57 Sending build context to Docker daemon 5.509MB 10:02:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:02:57 Step 2/25 : FROM ${BASE} AS builder 10:02:57 ---> 21060bf682be 10:02:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:02:57 ---> Running in 819c64a53bef 10:02:57 Removing intermediate container 819c64a53bef 10:02:57 ---> 73a6d7d18d13 10:02:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:58 ---> Running in f987149db769 10:02:58 Removing intermediate container f987149db769 10:02:58 ---> bd696f83e843 10:02:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:58 ---> Running in bd2520cf1aa3 10:02:58 Removing intermediate container bd2520cf1aa3 10:02:58 ---> 607512847ff0 10:02:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:02:58 ---> Running in 697731a38ae6 10:02:58 Removing intermediate container 697731a38ae6 10:02:58 ---> d7a84dbd9a8e 10:02:58 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:58 ---> Running in 5c4c3a38b2b8 10:02:58 Removing intermediate container 5c4c3a38b2b8 10:02:58 ---> 249202fab1fa 10:02:58 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:58 ---> Running in d908831f8a14 10:02:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:03:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:03:00 OK: 216 MiB in 55 packages 10:03:00 Removing intermediate container d908831f8a14 10:03:00 ---> 95044df40454 10:03:00 Step 9/25 : WORKDIR /device-snmp-go 10:03:00 ---> Running in 20b5d82ed02f 10:03:00 Removing intermediate container 20b5d82ed02f 10:03:00 ---> 5ec0eb53d745 10:03:00 Step 10/25 : COPY go.mod vendor* ./ 10:03:00 ---> a351f9801afa 10:03:00 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:00 ---> Running in 08f1ad023771 10:03:01 Removing intermediate container 08f1ad023771 10:03:01 ---> ae286f6d784f 10:03:01 Step 12/25 : COPY . . 10:03:01 ---> ff8761664549 10:03:01 Step 13/25 : RUN ${MAKE} 10:03:02 ---> Running in dd555632a6b0 10:03:02 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.37 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:03:24 Removing intermediate container dd555632a6b0 10:03:24 ---> 80eb8b2de38d 10:03:24 Step 14/25 : FROM alpine:3.16 10:03:24 3.16: Pulling from library/alpine 10:03:24 213ec9aee27d: Pulling fs layer 10:03:24 213ec9aee27d: Download complete 10:03:24 213ec9aee27d: Pull complete 10:03:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:03:24 Status: Downloaded newer image for alpine:3.16 10:03:24 ---> 9c6f07244728 10:03:24 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 10:03:24 ---> Running in ec4507192b0f 10:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:03:24 (1/6) Installing dumb-init (1.2.5-r1) 10:03:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:03:24 (3/6) Installing libsodium (1.0.18-r0) 10:03:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:03:24 (5/6) Installing libzmq (4.3.4-r0) 10:03:24 (6/6) Installing zeromq (4.3.4-r0) 10:03:24 Executing busybox-1.35.0-r17.trigger 10:03:24 OK: 8 MiB in 20 packages 10:03:24 Removing intermediate container ec4507192b0f 10:03:24 ---> 7be96c9e3f4b 10:03:24 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 10:03:24 ---> c3ff178dd85f 10:03:24 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:03:24 ---> 9c74a4f9da38 10:03:24 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 10:03:24 ---> e8032a2c2b12 10:03:24 Step 19/25 : EXPOSE 59993 10:03:24 ---> Running in 56961ec75fab 10:03:24 Removing intermediate container 56961ec75fab 10:03:24 ---> 08781fbc1afd 10:03:24 Step 20/25 : EXPOSE 161 10:03:24 ---> Running in 1ef737d2d42a 10:03:24 Removing intermediate container 1ef737d2d42a 10:03:24 ---> 991c81827560 10:03:24 Step 21/25 : ENTRYPOINT ["/device-snmp"] 10:03:24 ---> Running in 84d72b2e11c3 10:03:24 Removing intermediate container 84d72b2e11c3 10:03:24 ---> 2604a0f07fcd 10:03:24 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:03:24 ---> Running in 35ede60112a2 10:03:24 Removing intermediate container 35ede60112a2 10:03:24 ---> 47eafb0a38ad 10:03:24 Step 23/25 : LABEL arch=amd64 10:03:24 ---> Running in a8ec4c0b7e8f 10:03:24 Removing intermediate container a8ec4c0b7e8f 10:03:24 ---> 6d8002a9ab08 10:03:24 Step 24/25 : LABEL git_sha=86e265f4693997e38d18c21fe32d96af1ec8218a 10:03:24 ---> Running in 6f99e81ce481 10:03:24 Removing intermediate container 6f99e81ce481 10:03:24 ---> c43c55e4b54d 10:03:24 Step 25/25 : LABEL version=2.3.0-dev.17 10:03:24 ---> Running in 3ed652828dfe 10:03:24 Removing intermediate container 3ed652828dfe 10:03:24 ---> 239961dc2f93 10:03:24 [Warning] One or more build-args [ARCH] were not consumed 10:03:24 Successfully built 239961dc2f93 10:03:24 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:03:24 provisioning config files... 10:03:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16444690228600397371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:24 ---> docker-login.sh 10:03:24 nexus3.edgexfoundry.org:10001 10:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:24 Configure a credential helper to remove this warning. See 10:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:24 10:03:24 Login Succeeded 10:03:24 nexus3.edgexfoundry.org:10002 10:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:24 Configure a credential helper to remove this warning. See 10:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:24 10:03:24 Login Succeeded 10:03:24 nexus3.edgexfoundry.org:10003 10:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:24 Configure a credential helper to remove this warning. See 10:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:24 10:03:24 Login Succeeded 10:03:24 nexus3.edgexfoundry.org:10004 10:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:24 Configure a credential helper to remove this warning. See 10:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:24 10:03:24 Login Succeeded 10:03:24 docker.io 10:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:25 Configure a credential helper to remove this warning. See 10:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:25 10:03:25 Login Succeeded 10:03:25 ---> docker-login.sh ends [Pipeline] } 10:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:03:25 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 10:03:25 86e265f4693997e38d18c21fe32d96af1ec8218a 10:03:25 latest 10:03:25 2.3.0-dev.17 10:03:25 86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:03:25 main 10:03:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:25 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:26 + docker push nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a 10:03:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:03:26 fbdab0a49cca: Preparing 10:03:26 56c44141b7d4: Preparing 10:03:26 be6b75fd8109: Preparing 10:03:26 fa63c7ba5261: Preparing 10:03:26 994393dc58e7: Preparing 10:03:26 994393dc58e7: Layer already exists 10:03:26 56c44141b7d4: Pushed 10:03:26 fbdab0a49cca: Pushed 10:03:26 fa63c7ba5261: Pushed 10:03:28 be6b75fd8109: Pushed 10:03:28 86e265f4693997e38d18c21fe32d96af1ec8218a: digest: sha256:f0b8b74b5e64dee0767c6a4847b711e61de88c49fc0149ec1cd58c8eaf2077ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:29 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 10:03:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:03:29 fbdab0a49cca: Preparing 10:03:29 56c44141b7d4: Preparing 10:03:29 be6b75fd8109: Preparing 10:03:29 fa63c7ba5261: Preparing 10:03:29 994393dc58e7: Preparing 10:03:29 fa63c7ba5261: Layer already exists 10:03:29 56c44141b7d4: Layer already exists 10:03:29 fbdab0a49cca: Layer already exists 10:03:29 994393dc58e7: Layer already exists 10:03:29 be6b75fd8109: Layer already exists 10:03:29 latest: digest: sha256:f0b8b74b5e64dee0767c6a4847b711e61de88c49fc0149ec1cd58c8eaf2077ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:29 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.17 10:03:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:03:30 fbdab0a49cca: Preparing 10:03:30 56c44141b7d4: Preparing 10:03:30 be6b75fd8109: Preparing 10:03:30 fa63c7ba5261: Preparing 10:03:30 994393dc58e7: Preparing 10:03:30 994393dc58e7: Layer already exists 10:03:30 fbdab0a49cca: Layer already exists 10:03:30 56c44141b7d4: Layer already exists 10:03:30 be6b75fd8109: Layer already exists 10:03:30 fa63c7ba5261: Layer already exists 10:03:30 2.3.0-dev.17: digest: sha256:f0b8b74b5e64dee0767c6a4847b711e61de88c49fc0149ec1cd58c8eaf2077ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:30 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:03:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:03:30 fbdab0a49cca: Preparing 10:03:30 56c44141b7d4: Preparing 10:03:30 be6b75fd8109: Preparing 10:03:30 fa63c7ba5261: Preparing 10:03:30 994393dc58e7: Preparing 10:03:30 994393dc58e7: Layer already exists 10:03:30 fa63c7ba5261: Layer already exists 10:03:30 be6b75fd8109: Layer already exists 10:03:30 56c44141b7d4: Layer already exists 10:03:30 fbdab0a49cca: Layer already exists 10:03:30 86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17: digest: sha256:f0b8b74b5e64dee0767c6a4847b711e61de88c49fc0149ec1cd58c8eaf2077ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:31 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 10:03:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 10:03:31 fbdab0a49cca: Preparing 10:03:31 56c44141b7d4: Preparing 10:03:31 be6b75fd8109: Preparing 10:03:31 fa63c7ba5261: Preparing 10:03:31 994393dc58e7: Preparing 10:03:31 994393dc58e7: Layer already exists 10:03:31 fa63c7ba5261: Layer already exists 10:03:31 56c44141b7d4: Layer already exists 10:03:31 be6b75fd8109: Layer already exists 10:03:31 fbdab0a49cca: Layer already exists 10:03:31 main: digest: sha256:f0b8b74b5e64dee0767c6a4847b711e61de88c49fc0149ec1cd58c8eaf2077ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:03:31 ===================================================== [Pipeline] echo 10:03:31 taggedImages: 10:03:31 - nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a 10:03:31 - nexus3.edgexfoundry.org:10004/device-snmp:latest 10:03:31 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.17 10:03:31 - nexus3.edgexfoundry.org:10004/device-snmp:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:03:31 - 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 10:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:31 10:03:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:32 latest: Pulling from edgex-lftools-log-publisher 10:03:32 5eb5b503b376: Pulling fs layer 10:03:32 5c69ac0246d0: Pulling fs layer 10:03:32 ec43610c2a17: Pulling fs layer 10:03:32 3a2ae6a8a46f: Pulling fs layer 10:03:32 33b1e0a273af: Pulling fs layer 10:03:32 5d3b04190fa2: Pulling fs layer 10:03:32 2f39f015ded8: Pulling fs layer 10:03:32 5d3b04190fa2: Waiting 10:03:32 2f39f015ded8: Waiting 10:03:32 5c69ac0246d0: Verifying Checksum 10:03:32 5c69ac0246d0: Download complete 10:03:32 3a2ae6a8a46f: Verifying Checksum 10:03:32 3a2ae6a8a46f: Download complete 10:03:32 33b1e0a273af: Verifying Checksum 10:03:32 33b1e0a273af: Download complete 10:03:32 5d3b04190fa2: Download complete 10:03:32 ec43610c2a17: Verifying Checksum 10:03:32 ec43610c2a17: Download complete 10:03:32 5eb5b503b376: Verifying Checksum 10:03:32 5eb5b503b376: Download complete 10:03:32 2f39f015ded8: Download complete 10:03:33 5eb5b503b376: Pull complete 10:03:33 5c69ac0246d0: Pull complete 10:03:34 ec43610c2a17: Pull complete 10:03:34 3a2ae6a8a46f: Pull complete 10:03:34 33b1e0a273af: Pull complete 10:03:34 5d3b04190fa2: Pull complete 10:03:38 2f39f015ded8: Pull complete 10:03:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:03:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:38 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:03:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:03:40 $ docker top 71f1c3ca3a0165b09de7df1530d164e87bc957c08facc9695669d2f828b37334 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:40 ---> job-cost.sh 10:03:40 lf-activate-venv: SKIPPING 10:03:40 INFO: No Stack... 10:03:41 INFO: Retrieving Pricing Info for: v3-standard-8 10:03:41 INFO: Archiving Costs [Pipeline] sh 10:03:41 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 10:03:41 + cut -d, -f6 [Pipeline] lock 10:03:41 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] 10:03:41 Resource [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] did not exist. Created. 10:03:41 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:03:42 + echo total: 0.2199999988079071 [Pipeline] stash 10:03:42 Stashed 1 file(s) [Pipeline] } 10:03:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 10:03:42 $ docker stop --time=1 71f1c3ca3a0165b09de7df1530d164e87bc957c08facc9695669d2f828b37334 10:03:43 $ docker rm -f 71f1c3ca3a0165b09de7df1530d164e87bc957c08facc9695669d2f828b37334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:04:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7502 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 10:04:38 Running in /w/workspace/device-snmp-go/48 [Pipeline] { [Pipeline] checkout 10:04:38 Selected Git installation does not exist. Using Default 10:04:38 The recommended git tool is: NONE 10:04:44 using credential edgex-jenkins-ssh 10:04:44 Cloning the remote Git repository 10:04:44 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:04:44 > git init /w/workspace/device-snmp-go/48 # timeout=10 10:04:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:04:44 > git --version # timeout=10 10:04:44 > git --version # 'git version 2.25.1' 10:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:44 Verifying host key using known hosts file 10:04:45 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. 10:04:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:47 Avoid second fetch 10:04:47 Checking out Revision 86e265f4693997e38d18c21fe32d96af1ec8218a (main) 10:04:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:04:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:47 > git config core.sparsecheckout # timeout=10 10:04:47 > git checkout -f 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 10:04:47 Commit message: "Merge pull request #196 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:48 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:48 Dload Upload Total Spent Left Speed 10:04:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 10:04:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:49 + sudo tee /etc/docker/daemon.new 10:04:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:04:49 { 10:04:49 "registry-mirrors": [ 10:04:49 "https://nexus3.edgexfoundry.org:10001" 10:04:49 ], 10:04:49 "bip": "10.250.0.254/24", 10:04:49 "hosts": [ 10:04:49 "tcp://0.0.0.0:5555", 10:04:49 "unix:///var/run/docker.sock" 10:04:49 ], 10:04:49 "mtu": 1458, 10:04:49 "selinux-enabled": true, 10:04:49 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:49 } [Pipeline] sh 10:04:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:04:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:08 provisioning config files... 10:05:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/48@tmp/config8791509543199254091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:08 ---> docker-login.sh 10:05:08 nexus3.edgexfoundry.org:10001 10:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:09 Configure a credential helper to remove this warning. See 10:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:09 10:05:09 Login Succeeded 10:05:09 nexus3.edgexfoundry.org:10002 10:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 nexus3.edgexfoundry.org:10003 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 nexus3.edgexfoundry.org:10004 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 docker.io 10:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:11 Configure a credential helper to remove this warning. See 10:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:11 10:05:11 Login Succeeded 10:05:11 ---> docker-login.sh ends [Pipeline] } 10:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:11 ========================================================= 10:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:05:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:12 + 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 . 10:05:12 Sending build context to Docker daemon 2.839MB 10:05:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:05:12 Step 2/13 : FROM ${BASE} AS builder 10:05:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:05:12 b3c136eddcbf: Pulling fs layer 10:05:12 c0a3192eca97: Pulling fs layer 10:05:12 a050256f5b6f: Pulling fs layer 10:05:12 656be50a0ddc: Pulling fs layer 10:05:12 2bbca73fdf42: Pulling fs layer 10:05:12 f607e4fc86c3: Pulling fs layer 10:05:12 4d572c569a2c: Pulling fs layer 10:05:12 fcf976331f73: Pulling fs layer 10:05:12 f607e4fc86c3: Waiting 10:05:12 656be50a0ddc: Waiting 10:05:12 2bbca73fdf42: Waiting 10:05:12 4d572c569a2c: Waiting 10:05:12 fcf976331f73: Waiting 10:05:12 a050256f5b6f: Verifying Checksum 10:05:12 a050256f5b6f: Download complete 10:05:12 c0a3192eca97: Verifying Checksum 10:05:12 c0a3192eca97: Download complete 10:05:12 2bbca73fdf42: Verifying Checksum 10:05:12 2bbca73fdf42: Download complete 10:05:12 f607e4fc86c3: Verifying Checksum 10:05:12 f607e4fc86c3: Download complete 10:05:12 b3c136eddcbf: Verifying Checksum 10:05:12 b3c136eddcbf: Download complete 10:05:14 b3c136eddcbf: Pull complete 10:05:14 fcf976331f73: Verifying Checksum 10:05:14 fcf976331f73: Download complete 10:05:14 c0a3192eca97: Pull complete 10:05:14 a050256f5b6f: Pull complete 10:05:15 4d572c569a2c: Verifying Checksum 10:05:15 4d572c569a2c: Download complete 10:05:15 656be50a0ddc: Verifying Checksum 10:05:15 656be50a0ddc: Download complete 10:05:29 656be50a0ddc: Pull complete 10:05:29 2bbca73fdf42: Pull complete 10:05:29 f607e4fc86c3: Pull complete 10:05:32 4d572c569a2c: Pull complete 10:05:34 fcf976331f73: Pull complete 10:05:34 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:05:34 ---> 3970a7415f9e 10:05:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:05:36 ---> Running in 015c1de31453 10:05:36 Removing intermediate container 015c1de31453 10:05:36 ---> ea2c497c5a17 10:05:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:36 ---> Running in 2ecd3cd0d3c3 10:05:37 Removing intermediate container 2ecd3cd0d3c3 10:05:37 ---> 0d399b9eb908 10:05:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:05:37 ---> Running in 64c7e7afe059 10:05:37 Removing intermediate container 64c7e7afe059 10:05:37 ---> a5f1a30c3d90 10:05:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:05:37 ---> Running in 08ead7f3e59f 10:05:38 Removing intermediate container 08ead7f3e59f 10:05:38 ---> 89d34b6c68ef 10:05:38 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:38 ---> Running in f2c21a4112d5 10:05:40 Removing intermediate container f2c21a4112d5 10:05:40 ---> fc40d705dad8 10:05:40 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:40 ---> Running in 1ddd40eb4a2d 10:05:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:05:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:05:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:05:43 (2/4) Installing libedit (20210910.3.1-r0) 10:05:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:05:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:05:43 Executing busybox-1.35.0-r13.trigger 10:05:43 OK: 226 MiB in 55 packages 10:05:44 Removing intermediate container 1ddd40eb4a2d 10:05:44 ---> 94615dd11c31 10:05:44 Step 9/13 : WORKDIR /device-snmp-go 10:05:44 ---> Running in ad5fb2d4a384 10:05:45 Removing intermediate container ad5fb2d4a384 10:05:45 ---> f69496d53279 10:05:45 Step 10/13 : COPY go.mod vendor* ./ 10:05:45 ---> 98ebb026065c 10:05:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:45 ---> Running in 15617f902e3b 10:06:42 Removing intermediate container 15617f902e3b 10:06:42 ---> 8d60f69a6372 10:06:42 Step 12/13 : COPY . . 10:06:42 ---> 9f9c7f2ca2f4 10:06:42 Step 13/13 : RUN ${MAKE} 10:06:42 ---> Running in 04658287e28c 10:06:42 noop 10:06:42 Removing intermediate container 04658287e28c 10:06:42 ---> dcd7caf299bd 10:06:42 Successfully built dcd7caf299bd 10:06:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:42 + docker inspect -f . ci-base-image-arm64 10:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:42 prd-ubuntu20.04-docker-arm64-4c-16g-7502 does not seem to be running inside a container 10:06:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/48 -v /w/workspace/device-snmp-go/48:/w/workspace/device-snmp-go/48:rw,z -v /w/workspace/device-snmp-go/48@tmp:/w/workspace/device-snmp-go/48@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 10:06:44 $ docker top c152145203706070dba0da7411b32ddd98ce3a16139e67fe8d6d4e2196bfbb44 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:45 + go version 10:06:45 go version go1.18.3 linux/arm64 [Pipeline] } 10:06:45 $ docker stop --time=1 c152145203706070dba0da7411b32ddd98ce3a16139e67fe8d6d4e2196bfbb44 10:06:46 $ docker rm -f c152145203706070dba0da7411b32ddd98ce3a16139e67fe8d6d4e2196bfbb44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:47 + docker inspect -f . ci-base-image-arm64 10:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-7502 does not seem to be running inside a container 10:06:47 $ 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/48 -v /w/workspace/device-snmp-go/48:/w/workspace/device-snmp-go/48:rw,z -v /w/workspace/device-snmp-go/48@tmp:/w/workspace/device-snmp-go/48@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 10:06:48 $ docker top c06dc9c124875f5344eea5d2259e010263fd2935aaf518102b7bc24a5dd30c13 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:49 + git config --global --add safe.directory /w/workspace/device-snmp-go/48 [Pipeline] fileExists [Pipeline] sh 10:06:49 + make test 10:06:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:06:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:08:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:08:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.097s coverage: 0.0% of statements 10:08:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:08:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:08:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:50 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:50 $ docker stop --time=1 c06dc9c124875f5344eea5d2259e010263fd2935aaf518102b7bc24a5dd30c13 10:08:52 $ docker rm -f c06dc9c124875f5344eea5d2259e010263fd2935aaf518102b7bc24a5dd30c13 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:54 Warning: overwriting stash ‘coverage-report’ 10:08:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:55 + ls -al . 10:08:55 total 168 10:08:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:06 . 10:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:04 .. 10:08:55 -rw-rw-r-- 1 jenkins jenkins 6 Oct 10 10:04 .dockerignore 10:08:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:04 .git 10:08:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 .github 10:08:55 -rw-rw-r-- 1 jenkins jenkins 328 Oct 10 10:04 .gitignore 10:08:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:04 .golangci.yml 10:08:55 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 10 10:04 Attribution.txt 10:08:55 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 10 10:04 CHANGELOG.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 10 10:04 Dockerfile 10:08:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:04 GOVERNANCE.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 656 Oct 10 10:04 Jenkinsfile 10:08:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:04 LICENSE 10:08:55 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 10 10:04 Makefile 10:08:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:04 OWNERS.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 10 10:04 README.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:02 VERSION 10:08:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:04 bin 10:08:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 cmd 10:08:55 -rw-r--r-- 1 jenkins jenkins 7631 Oct 10 10:08 coverage.out 10:08:55 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 10 10:04 go.mod 10:08:55 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 10 10:04 go.sum 10:08:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 internal 10:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:04 snap 10:08:55 -rw-rw-r-- 1 jenkins jenkins 228 Oct 10 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:55 + 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=86e265f4693997e38d18c21fe32d96af1ec8218a --label arch=arm64 --label version=2.3.0-dev.17 . 10:08:56 Sending build context to Docker daemon 2.847MB 10:08:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:08:56 Step 2/25 : FROM ${BASE} AS builder 10:08:56 ---> dcd7caf299bd 10:08:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:08:56 ---> Running in 88b386485a14 10:08:56 Removing intermediate container 88b386485a14 10:08:56 ---> c33e27dece18 10:08:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:56 ---> Running in 0f08005cbfc8 10:08:57 Removing intermediate container 0f08005cbfc8 10:08:57 ---> 642794bc199f 10:08:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:08:57 ---> Running in 4fba443ce0e9 10:08:57 Removing intermediate container 4fba443ce0e9 10:08:57 ---> 5066f612fe77 10:08:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:08:57 ---> Running in f1a40753bc6d 10:08:58 Removing intermediate container f1a40753bc6d 10:08:58 ---> 398ba3b3dd06 10:08:58 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:58 ---> Running in 623fd4c748b9 10:09:00 Removing intermediate container 623fd4c748b9 10:09:00 ---> 9d5bf10687ce 10:09:00 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:00 ---> Running in ce6017215daa 10:09:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:09:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:09:03 OK: 226 MiB in 55 packages 10:09:04 Removing intermediate container ce6017215daa 10:09:04 ---> c7c19151477f 10:09:04 Step 9/25 : WORKDIR /device-snmp-go 10:09:04 ---> Running in 33312f93f516 10:09:05 Removing intermediate container 33312f93f516 10:09:05 ---> baf00df2c055 10:09:05 Step 10/25 : COPY go.mod vendor* ./ 10:09:05 ---> 6428d8ba5ae9 10:09:05 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:05 ---> Running in ba652afe2408 10:09:09 Removing intermediate container ba652afe2408 10:09:09 ---> 55fc959d34d8 10:09:09 Step 12/25 : COPY . . 10:09:10 ---> a29348220862 10:09:10 Step 13/25 : RUN ${MAKE} 10:09:10 ---> Running in f881b3b7e22c 10:09:12 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.37 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 10:12:03 Removing intermediate container f881b3b7e22c 10:12:03 ---> 8f5c56284026 10:12:03 Step 14/25 : FROM alpine:3.16 10:12:03 3.16: Pulling from library/alpine 10:12:03 9b18e9b68314: Pulling fs layer 10:12:03 9b18e9b68314: Verifying Checksum 10:12:03 9b18e9b68314: Download complete 10:12:03 9b18e9b68314: Pull complete 10:12:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:12:03 Status: Downloaded newer image for alpine:3.16 10:12:03 ---> a6215f271958 10:12:03 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 10:12:03 ---> Running in 06af5c324afe 10:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:12:03 (1/6) Installing dumb-init (1.2.5-r1) 10:12:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:12:03 (3/6) Installing libsodium (1.0.18-r0) 10:12:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:12:03 (5/6) Installing libzmq (4.3.4-r0) 10:12:03 (6/6) Installing zeromq (4.3.4-r0) 10:12:03 Executing busybox-1.35.0-r17.trigger 10:12:03 OK: 8 MiB in 20 packages 10:12:03 Removing intermediate container 06af5c324afe 10:12:03 ---> 6238324a0f2b 10:12:03 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 10:12:03 ---> 7eb0edbc541c 10:12:03 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:12:03 ---> 5087989e5347 10:12:03 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 10:12:03 ---> 7237930a112b 10:12:03 Step 19/25 : EXPOSE 59993 10:12:03 ---> Running in f5b7c4e11516 10:12:03 Removing intermediate container f5b7c4e11516 10:12:03 ---> cef58f062a5f 10:12:03 Step 20/25 : EXPOSE 161 10:12:03 ---> Running in 4574cf75c97e 10:12:03 Removing intermediate container 4574cf75c97e 10:12:03 ---> fac0eb09bdd9 10:12:03 Step 21/25 : ENTRYPOINT ["/device-snmp"] 10:12:04 ---> Running in 9e6c27a86702 10:12:04 Removing intermediate container 9e6c27a86702 10:12:04 ---> 14fa43a03935 10:12:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:12:04 ---> Running in b6d98a9757d4 10:12:04 Removing intermediate container b6d98a9757d4 10:12:04 ---> d84c955a0425 10:12:04 Step 23/25 : LABEL arch=arm64 10:12:04 ---> Running in 8351cae2c0d2 10:12:05 Removing intermediate container 8351cae2c0d2 10:12:05 ---> a2cfc049dd01 10:12:05 Step 24/25 : LABEL git_sha=86e265f4693997e38d18c21fe32d96af1ec8218a 10:12:05 ---> Running in 6c5ce4bd3789 10:12:05 Removing intermediate container 6c5ce4bd3789 10:12:05 ---> a5baf87a3ed0 10:12:05 Step 25/25 : LABEL version=2.3.0-dev.17 10:12:05 ---> Running in 12455c2c60ee 10:12:05 Removing intermediate container 12455c2c60ee 10:12:05 ---> de33fac61662 10:12:05 [Warning] One or more build-args [ARCH] were not consumed 10:12:05 Successfully built de33fac61662 10:12:05 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 10:12:05 provisioning config files... 10:12:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/48@tmp/config4266732163520373040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:06 ---> docker-login.sh 10:12:06 nexus3.edgexfoundry.org:10001 10:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:06 Configure a credential helper to remove this warning. See 10:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:06 10:12:06 Login Succeeded 10:12:06 nexus3.edgexfoundry.org:10002 10:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:06 Configure a credential helper to remove this warning. See 10:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:06 10:12:06 Login Succeeded 10:12:06 nexus3.edgexfoundry.org:10003 10:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:07 Configure a credential helper to remove this warning. See 10:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:07 10:12:07 Login Succeeded 10:12:07 nexus3.edgexfoundry.org:10004 10:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:07 Configure a credential helper to remove this warning. See 10:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:07 10:12:07 Login Succeeded 10:12:07 docker.io 10:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 ---> docker-login.sh ends [Pipeline] } 10:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:08 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 10:12:08 86e265f4693997e38d18c21fe32d96af1ec8218a 10:12:08 latest 10:12:08 2.3.0-dev.17 10:12:08 86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:12:08 main 10:12:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a 10:12:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:09 95468f611c55: Preparing 10:12:09 518cbf673ec4: Preparing 10:12:09 83511265d63f: Preparing 10:12:09 94b3d6f9bd6a: Preparing 10:12:09 5d3e392a13a0: Preparing 10:12:09 5d3e392a13a0: Layer already exists 10:12:09 95468f611c55: Pushed 10:12:09 518cbf673ec4: Pushed 10:12:10 94b3d6f9bd6a: Pushed 10:12:16 83511265d63f: Pushed 10:12:16 86e265f4693997e38d18c21fe32d96af1ec8218a: digest: sha256:6bd7727fb1ed9be3c3750bfa74dcd18e674994a11c09f8af1f4da574523903c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 10:12:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:17 95468f611c55: Preparing 10:12:17 518cbf673ec4: Preparing 10:12:17 83511265d63f: Preparing 10:12:17 94b3d6f9bd6a: Preparing 10:12:17 5d3e392a13a0: Preparing 10:12:17 83511265d63f: Layer already exists 10:12:17 94b3d6f9bd6a: Layer already exists 10:12:17 95468f611c55: Layer already exists 10:12:17 518cbf673ec4: Layer already exists 10:12:17 5d3e392a13a0: Layer already exists 10:12:17 latest: digest: sha256:6bd7727fb1ed9be3c3750bfa74dcd18e674994a11c09f8af1f4da574523903c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.17 10:12:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:18 95468f611c55: Preparing 10:12:18 518cbf673ec4: Preparing 10:12:18 83511265d63f: Preparing 10:12:18 94b3d6f9bd6a: Preparing 10:12:18 5d3e392a13a0: Preparing 10:12:18 518cbf673ec4: Layer already exists 10:12:18 94b3d6f9bd6a: Layer already exists 10:12:18 83511265d63f: Layer already exists 10:12:18 5d3e392a13a0: Layer already exists 10:12:18 95468f611c55: Layer already exists 10:12:18 2.3.0-dev.17: digest: sha256:6bd7727fb1ed9be3c3750bfa74dcd18e674994a11c09f8af1f4da574523903c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:19 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:12:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:19 95468f611c55: Preparing 10:12:19 518cbf673ec4: Preparing 10:12:19 83511265d63f: Preparing 10:12:19 94b3d6f9bd6a: Preparing 10:12:19 5d3e392a13a0: Preparing 10:12:19 83511265d63f: Layer already exists 10:12:19 95468f611c55: Layer already exists 10:12:19 518cbf673ec4: Layer already exists 10:12:19 94b3d6f9bd6a: Layer already exists 10:12:19 5d3e392a13a0: Layer already exists 10:12:19 86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17: digest: sha256:6bd7727fb1ed9be3c3750bfa74dcd18e674994a11c09f8af1f4da574523903c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:19 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 10:12:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:20 95468f611c55: Preparing 10:12:20 518cbf673ec4: Preparing 10:12:20 83511265d63f: Preparing 10:12:20 94b3d6f9bd6a: Preparing 10:12:20 5d3e392a13a0: Preparing 10:12:20 518cbf673ec4: Layer already exists 10:12:20 5d3e392a13a0: Layer already exists 10:12:20 83511265d63f: Layer already exists 10:12:20 94b3d6f9bd6a: Layer already exists 10:12:20 95468f611c55: Layer already exists 10:12:20 main: digest: sha256:6bd7727fb1ed9be3c3750bfa74dcd18e674994a11c09f8af1f4da574523903c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:20 ===================================================== [Pipeline] echo 10:12:20 taggedImages: 10:12:20 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a 10:12:20 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 10:12:20 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.17 10:12:20 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:86e265f4693997e38d18c21fe32d96af1ec8218a-2.3.0-dev.17 10:12:20 - 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 10:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:20 10:12:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:21 arm64: Pulling from edgex-lftools-log-publisher 10:12:21 8998bd30e6a1: Pulling fs layer 10:12:21 04944245beec: Pulling fs layer 10:12:21 699f458cf7ca: Pulling fs layer 10:12:21 765212b225bb: Pulling fs layer 10:12:21 f23df028b6ca: Pulling fs layer 10:12:21 d65c8cfc05b1: Pulling fs layer 10:12:21 2437ff75d9bd: Pulling fs layer 10:12:21 765212b225bb: Waiting 10:12:21 f23df028b6ca: Waiting 10:12:21 d65c8cfc05b1: Waiting 10:12:21 2437ff75d9bd: Waiting 10:12:21 04944245beec: Verifying Checksum 10:12:21 04944245beec: Download complete 10:12:21 765212b225bb: Verifying Checksum 10:12:21 765212b225bb: Download complete 10:12:21 f23df028b6ca: Verifying Checksum 10:12:21 f23df028b6ca: Download complete 10:12:21 d65c8cfc05b1: Verifying Checksum 10:12:21 d65c8cfc05b1: Download complete 10:12:21 699f458cf7ca: Verifying Checksum 10:12:21 699f458cf7ca: Download complete 10:12:22 8998bd30e6a1: Verifying Checksum 10:12:22 8998bd30e6a1: Download complete 10:12:24 2437ff75d9bd: Download complete 10:12:26 8998bd30e6a1: Pull complete 10:12:26 04944245beec: Pull complete 10:12:28 699f458cf7ca: Pull complete 10:12:28 765212b225bb: Pull complete 10:12:28 f23df028b6ca: Pull complete 10:12:28 d65c8cfc05b1: Pull complete 10:12:43 2437ff75d9bd: Pull complete 10:12:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:44 prd-ubuntu20.04-docker-arm64-4c-16g-7502 does not seem to be running inside a container 10:12: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/device-snmp-go/48 -v /w/workspace/device-snmp-go/48:/w/workspace/device-snmp-go/48:rw,z -v /w/workspace/device-snmp-go/48@tmp:/w/workspace/device-snmp-go/48@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 10:12:46 $ docker top 41f1cbf70255abb58331c14b34b1be7564a87d00e62864ac357688250fa6029e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:47 ---> job-cost.sh 10:12:47 lf-activate-venv: SKIPPING 10:12:47 INFO: No Stack... 10:12:48 INFO: Retrieving Pricing Info for: v3-standard-4 10:12:49 INFO: Archiving Costs [Pipeline] sh 10:12:49 + cat /w/workspace/device-snmp-go/48/archives/cost.csv 10:12:49 + cut -d, -f6 [Pipeline] lock 10:12:49 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] 10:12:49 Resource [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] did not exist. Created. 10:12:49 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:50 /w/workspace/device-snmp-go/48@tmp/durable-d2fe3ff6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:12:51 + echo total: 0.10999999940395355 [Pipeline] stash 10:12:51 Warning: overwriting stash ‘stack-cost’ 10:12:51 Stashed 1 file(s) [Pipeline] } 10:12:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:51 $ docker stop --time=1 41f1cbf70255abb58331c14b34b1be7564a87d00e62864ac357688250fa6029e 10:12:52 $ docker rm -f 41f1cbf70255abb58331c14b34b1be7564a87d00e62864ac357688250fa6029e [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 10:12:53 provisioning config files... 10:12:53 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8876981552617255107tmp [Pipeline] { [Pipeline] sh 10:12:53 + set +x 10:12:53 + curl -s https://codecov.io/bash 10:12:53 + bash -s -- 10:12:53 10:12:53 _____ _ 10:12:53 / ____| | | 10:12:53 | | ___ __| | ___ ___ _____ __ 10:12:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:12:53 | |___| (_) | (_| | __/ (_| (_) \ V / 10:12:53 \_____\___/ \__,_|\___|\___\___/ \_/ 10:12:53 Bash-1.0.6 10:12:53 10:12:53 10:12:53 ==> git version 2.25.1 found 10:12:53 ==> 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 10:12:53 Release-Date: 2020-01-08 10:12:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:12:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:12:53 ==> Jenkins CI detected. 10:12:53 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 10:12:53 project root: . 10:12:53 --> token set from env 10:12:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:12:53 ==> Running gcov in . (disable via -X gcov) 10:12:53 ==> Python coveragepy not found 10:12:53 ==> Searching for coverage reports in: 10:12:53 + . 10:12:53 -> Found 1 reports 10:12:53 ==> Detecting git/mercurial file structure 10:12:53 ==> Reading reports 10:12:53 + ./coverage.out bytes=7631 10:12:53 ==> Appending adjustments 10:12:53 https://docs.codecov.io/docs/fixing-reports 10:12:53 + Found adjustments 10:12:53 ==> Gzipping contents 10:12:53 4.0K /tmp/codecov.zrgGqp.gz 10:12:53 ==> Uploading reports 10:12:53 url: https://codecov.io 10:12:53 query: branch=main&commit=86e265f4693997e38d18c21fe32d96af1ec8218a&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:12:53 -> Pinging Codecov 10:12:53 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=86e265f4693997e38d18c21fe32d96af1ec8218a&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:12:53 -> Uploading to 10:12:53 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/6C56EA5C29638FB4528AC87E60AF5AE0/86e265f4693997e38d18c21fe32d96af1ec8218a/76f568f7-51d7-4da1-99fc-153053c65f7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T101253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d93359d53810fa190c458a6c76bcb975e6ce91db445dd9fbe8701b4326e79a4 10:12:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:53 Dload Upload Total Spent Left Speed 10:12:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7278 --:--:-- --:--:-- --:--:-- 7278 10:12:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] } 10:12:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:12:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:12:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:12:54 10:12:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:12:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:12:54 df9b9388f04a: Pulling fs layer 10:12:54 52dc419b0ee2: Pulling fs layer 10:12:54 25bc292e5bac: Pulling fs layer 10:12:54 114826534d7a: Pulling fs layer 10:12:54 4657fd5d0bcf: Pulling fs layer 10:12:54 6ad1cebc031e: Pulling fs layer 10:12:54 8a3aa393b2d8: Pulling fs layer 10:12:54 4657fd5d0bcf: Waiting 10:12:54 114826534d7a: Waiting 10:12:54 6ad1cebc031e: Waiting 10:12:54 8a3aa393b2d8: Waiting 10:12:54 25bc292e5bac: Verifying Checksum 10:12:54 25bc292e5bac: Download complete 10:12:54 52dc419b0ee2: Verifying Checksum 10:12:54 52dc419b0ee2: Download complete 10:12:54 4657fd5d0bcf: Verifying Checksum 10:12:54 4657fd5d0bcf: Download complete 10:12:54 df9b9388f04a: Verifying Checksum 10:12:55 df9b9388f04a: Pull complete 10:12:55 6ad1cebc031e: Verifying Checksum 10:12:55 6ad1cebc031e: Download complete 10:12:55 52dc419b0ee2: Pull complete 10:12:55 25bc292e5bac: Pull complete 10:12:55 114826534d7a: Verifying Checksum 10:12:55 114826534d7a: Download complete 10:12:55 8a3aa393b2d8: Verifying Checksum 10:12:55 8a3aa393b2d8: Download complete 10:12:59 114826534d7a: Pull complete 10:12:59 4657fd5d0bcf: Pull complete 10:12:59 6ad1cebc031e: Pull complete 10:13:01 8a3aa393b2d8: Pull complete 10:13:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:13:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:01 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:13:03 $ docker top 495e543e93c16f43803491593f42225baf9f9303881f35eff3d8ce54883f9bce -eo pid,comm [Pipeline] { [Pipeline] echo 10:13:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 10:13:04 + set -o pipefail 10:13:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 10:13:09 10:13:09 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 10:13:09 10:13:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/16d58270-dce5-4523-9d39-cd0fdb3dbe4f 10:13:09 10:13:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:13:09 10:13:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:13:09 10:13:09 10:13:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:13:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:13:09 More details here: https://snyk.co/ue1NS [Pipeline] } 10:13:09 $ docker stop --time=1 495e543e93c16f43803491593f42225baf9f9303881f35eff3d8ce54883f9bce 10:13:11 $ docker rm -f 495e543e93c16f43803491593f42225baf9f9303881f35eff3d8ce54883f9bce [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 10:13:12 + git log --format=format:%s -1 86e265f4693997e38d18c21fe32d96af1ec8218a [Pipeline] sh 10:13:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:13 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:13:13 $ docker top 91504b25364da74020f86a231dc7f20874c54d14234bbeac80cb3af0940e0046 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:13:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:13:13 [ssh-agent] Looking for ssh-agent implementation... 10:13:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:13:13 $ docker exec 91504b25364da74020f86a231dc7f20874c54d14234bbeac80cb3af0940e0046 ssh-agent 10:13:13 SSH_AUTH_SOCK=/tmp/ssh-j5RMGEZbb9wz/agent.32 10:13:13 SSH_AGENT_PID=38 10:13:13 Running ssh-add (command line suppressed) 10:13:13 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16731867521690615078.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16731867521690615078.key) 10:13:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:13:14 + git semver tag 10:13:14 2022-10-10 10:13:14,432 [run_tag] DEBUG tag force:False 10:13:14 2022-10-10 10:13:14,432 [check_head_tag] DEBUG check head tag 10:13:14 2022-10-10 10:13:14,433 [execute] INFO git cat-file --batch-check 10:13:14 2022-10-10 10:13:14,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 10:13:14 2022-10-10 10:13:14,436 [execute] INFO git cat-file --batch 10:13:14 2022-10-10 10:13:14,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 10:13:14 2022-10-10 10:13:14,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:14 2022-10-10 10:13:14,451 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 10:13:14 2022-10-10 10:13:14,451 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 10:13:14 2022-10-10 10:13:14,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:14 2.3.0-dev.17 [Pipeline] } 10:13:14 $ docker exec --env ******** --env ******** 91504b25364da74020f86a231dc7f20874c54d14234bbeac80cb3af0940e0046 ssh-agent -k 10:13:14 unset SSH_AUTH_SOCK; 10:13:14 unset SSH_AGENT_PID; 10:13:14 echo Agent pid 38 killed; 10:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:14 + git semver [Pipeline] } 10:13:15 $ docker stop --time=1 91504b25364da74020f86a231dc7f20874c54d14234bbeac80cb3af0940e0046 10:13:16 $ docker rm -f 91504b25364da74020f86a231dc7f20874c54d14234bbeac80cb3af0940e0046 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:16 10:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:17 0.23.1-centos7: Pulling from edgex-lftools 10:13:17 ab5ef0e58194: Pulling fs layer 10:13:17 9712f1f96733: Pulling fs layer 10:13:17 63f879dbbcfc: Pulling fs layer 10:13:17 0d9ebad4ef96: Pulling fs layer 10:13:17 e9a5061849ea: Pulling fs layer 10:13:17 d747dcd14b5f: Pulling fs layer 10:13:17 2de7ff778b66: Pulling fs layer 10:13:17 0d9ebad4ef96: Waiting 10:13:17 e9a5061849ea: Waiting 10:13:17 d747dcd14b5f: Waiting 10:13:17 2de7ff778b66: Waiting 10:13:17 9712f1f96733: Download complete 10:13:17 63f879dbbcfc: Verifying Checksum 10:13:17 63f879dbbcfc: Download complete 10:13:17 0d9ebad4ef96: Verifying Checksum 10:13:17 0d9ebad4ef96: Download complete 10:13:17 d747dcd14b5f: Download complete 10:13:17 e9a5061849ea: Download complete 10:13:17 ab5ef0e58194: Download complete 10:13:17 2de7ff778b66: Verifying Checksum 10:13:17 2de7ff778b66: Download complete 10:13:20 ab5ef0e58194: Pull complete 10:13:20 9712f1f96733: Pull complete 10:13:20 63f879dbbcfc: Pull complete 10:13:24 0d9ebad4ef96: Pull complete 10:13:24 e9a5061849ea: Pull complete 10:13:24 d747dcd14b5f: Pull complete 10:13:25 2de7ff778b66: Pull complete 10:13:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:25 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:13:27 $ docker top 4aa528928d397b7ca06a0c70e4f7fb21f5b14523d7fae7300ac24a4818872877 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:13:27 provisioning config files... 10:13:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3810125825233642536tmp 10:13:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config196720338862907612tmp 10:13:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6149832780873747332tmp [Pipeline] { [Pipeline] echo 10:13:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:13:28 ---> sigul-configuration.sh 10:13:28 gpg: directory `/root/.gnupg' created 10:13:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:13:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:13:28 gpg: keyring `/root/.gnupg/secring.gpg' created 10:13:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:13:28 gpg: CAST5 encrypted data 10:13:28 gpg: encrypted with 1 passphrase 10:13:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:13:28 + mkdir /home/jenkins 10:13:28 + mkdir /home/jenkins/sigul [Pipeline] sh 10:13:28 + 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 10:13:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:13:28 ---> sigul-install.sh 10:13:28 Sigul already installed; skipping installation. [Pipeline] sh 10:13:29 + git tag --list 10:13:29 1.0.0 10:13:29 v0.0.0 10:13:29 v1.1.0 10:13:29 v1.1.1 10:13:29 v1.2.2 10:13:29 v1.3.0 10:13:29 v1.3.1 10:13:29 v2.0.0 10:13:29 v2.1.0 10:13:29 v2.1.1 10:13:29 v2.1.1-dev.2 10:13:29 v2.1.1-dev.3 10:13:29 v2.2.0 10:13:29 v2.2.1-dev.1 10:13:29 v2.2.1-dev.2 10:13:29 v2.2.1-dev.3 10:13:29 v2.2.1-dev.4 10:13:29 v2.2.1-dev.5 10:13:29 v2.2.1-dev.6 10:13:29 v2.2.1-dev.7 10:13:29 v2.3.0-dev.10 10:13:29 v2.3.0-dev.11 10:13:29 v2.3.0-dev.12 10:13:29 v2.3.0-dev.13 10:13:29 v2.3.0-dev.14 10:13:29 v2.3.0-dev.15 10:13:29 v2.3.0-dev.16 10:13:29 v2.3.0-dev.17 10:13:29 v2.3.0-dev.7 10:13:29 v2.3.0-dev.8 10:13:29 v2.3.0-dev.9 [Pipeline] sh 10:13:29 + lftools sign git-tag v2.3.0-dev.17 10:13:30 Signing Git tag with Sigul... 10:13:30 Signing v2.3.0-dev.17 [Pipeline] echo 10:13:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:13:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:13:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:13:30 $ docker stop --time=1 4aa528928d397b7ca06a0c70e4f7fb21f5b14523d7fae7300ac24a4818872877 10:13:31 $ docker rm -f 4aa528928d397b7ca06a0c70e4f7fb21f5b14523d7fae7300ac24a4818872877 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:13:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:32 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:13:33 $ docker top 46e483d0a9d72b34b89ed1b7dfcac2656ef8e2e36483687f3653a72dc654b446 -eo pid,comm 10:13:33 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). 10:13:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:13:33 [ssh-agent] Looking for ssh-agent implementation... 10:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:13:33 $ docker exec 46e483d0a9d72b34b89ed1b7dfcac2656ef8e2e36483687f3653a72dc654b446 ssh-agent 10:13:33 SSH_AUTH_SOCK=/tmp/ssh-THfscVeYkDch/agent.32 10:13:33 SSH_AGENT_PID=38 10:13:33 Running ssh-add (command line suppressed) 10:13:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1082394834759248688.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1082394834759248688.key) 10:13:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:13:33 + git semver bump pre 10:13:34 2022-10-10 10:13:33,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:34 2022-10-10 10:13:33,914 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 10:13:34 2022-10-10 10:13:33,914 [bump_version] DEBUG bumped version:2.3.0-dev.18 10:13:34 2022-10-10 10:13:33,914 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 10:13:34 2022-10-10 10:13:33,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:34 2022-10-10 10:13:33,914 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:34 2022-10-10 10:13:33,916 [execute] INFO git cat-file --batch-check 10:13:34 2022-10-10 10:13:33,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:13:34 2022-10-10 10:13:33,921 [execute] INFO git cat-file --batch 10:13:34 2022-10-10 10:13:33,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:13:34 2022-10-10 10:13:33,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:34 2.3.0-dev.18 [Pipeline] } 10:13:34 $ docker exec --env ******** --env ******** 46e483d0a9d72b34b89ed1b7dfcac2656ef8e2e36483687f3653a72dc654b446 ssh-agent -k 10:13:34 unset SSH_AUTH_SOCK; 10:13:34 unset SSH_AGENT_PID; 10:13:34 echo Agent pid 38 killed; 10:13:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:34 + git semver [Pipeline] } 10:13:34 $ docker stop --time=1 46e483d0a9d72b34b89ed1b7dfcac2656ef8e2e36483687f3653a72dc654b446 10:13:35 $ docker rm -f 46e483d0a9d72b34b89ed1b7dfcac2656ef8e2e36483687f3653a72dc654b446 [Pipeline] // withDockerContainer [Pipeline] sh 10:13:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:36 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:13:37 $ docker top 210ef9f3333136fad16a4291e6b4167db8c41fbd2d19c088e14fca3997e44c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:13:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:13:37 [ssh-agent] Looking for ssh-agent implementation... 10:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:13:37 $ docker exec 210ef9f3333136fad16a4291e6b4167db8c41fbd2d19c088e14fca3997e44c13 ssh-agent 10:13:37 SSH_AUTH_SOCK=/tmp/ssh-C7rAZHhYhBAN/agent.33 10:13:37 SSH_AGENT_PID=39 10:13:37 Running ssh-add (command line suppressed) 10:13:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16183041088949979091.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16183041088949979091.key) 10:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:13:37 + git semver push 10:13:37 2022-10-10 10:13:37,932 [run_push] DEBUG push 10:13:37 2022-10-10 10:13:37,933 [execute] INFO git cat-file --batch-check 10:13:37 2022-10-10 10:13:37,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:13:37 2022-10-10 10:13:37,937 [execute] INFO git rev-list df04cd98f38c6de6b60e6c3856a6725a96d48d10 -- 10:13:37 2022-10-10 10:13:37,937 [execute] DEBUG Popen(['git', 'rev-list', 'df04cd98f38c6de6b60e6c3856a6725a96d48d10', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:13:37 2022-10-10 10:13:37,943 [execute] INFO git fetch -v origin 10:13:37 2022-10-10 10:13:37,943 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:13:38 2022-10-10 10:13:38,475 [run_push] DEBUG no remote changes detected 10:13:38 2022-10-10 10:13:38,475 [execute] INFO git push origin semver 10:13:38 2022-10-10 10:13:38,476 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:13:39 2022-10-10 10:13:39,449 [run_push] DEBUG push all version tags 10:13:39 2022-10-10 10:13:39,450 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:13:39 2022-10-10 10:13:39,450 [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) 10:13:40 2022-10-10 10:13:40,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 10:13:40 2.3.0-dev.18 [Pipeline] } 10:13:40 $ docker exec --env ******** --env ******** 210ef9f3333136fad16a4291e6b4167db8c41fbd2d19c088e14fca3997e44c13 ssh-agent -k 10:13:40 unset SSH_AUTH_SOCK; 10:13:40 unset SSH_AGENT_PID; 10:13:40 echo Agent pid 39 killed; 10:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:40 + git semver [Pipeline] } 10:13:41 $ docker stop --time=1 210ef9f3333136fad16a4291e6b4167db8c41fbd2d19c088e14fca3997e44c13 10:13:42 $ docker rm -f 210ef9f3333136fad16a4291e6b4167db8c41fbd2d19c088e14fca3997e44c13 [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 10:13:42 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 10:13:42 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:13:42 total 16 10:13:42 drwxr-xr-x 3 root root 4096 Oct 10 10:03 . 10:13:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:13 .. 10:13:42 drwxr-xr-x 2 root root 4096 Oct 10 10:03 cost 10:13:42 -rw-r--r-- 1 root root 85 Oct 10 10:03 cost.csv 10:13:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:13:42 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 10:13:42 total 16 10:13:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:03 . 10:13:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:13 .. 10:13:42 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 10:03 cost 10:13:42 -rw-r--r-- 1 jenkins jenkins 85 Oct 10 10:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:13:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:13:44 ---> package-listing.sh 10:13:44 ++ facter osfamily 10:13:44 ++ tr '[:upper:]' '[:lower:]' 10:13:44 + OS_FAMILY=debian 10:13:44 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 10:13:44 + START_PACKAGES=/tmp/packages_start.txt 10:13:44 + END_PACKAGES=/tmp/packages_end.txt 10:13:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:13:44 + PACKAGES=/tmp/packages_start.txt 10:13:44 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 10:13:44 + PACKAGES=/tmp/packages_end.txt 10:13:44 + case "${OS_FAMILY}" in 10:13:44 + dpkg -l 10:13:44 + grep '^ii' 10:13:44 + '[' -f /tmp/packages_start.txt ']' 10:13:44 + '[' -f /tmp/packages_end.txt ']' 10:13:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:13:44 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 10:13:44 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 10:13:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 10:13:44 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 10:13:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:45 prd-ubuntu20.04-docker-8c-8g-7498 does not seem to be running inside a container 10:13:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:45 $ docker top 34e077006ce8471b4480c5b502bedf4aa33e9811eb286005dd9e704ef9b2f4e6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:45 + touch /tmp/pre-build-complete [Pipeline] sh 10:13:46 + mkdir -p /var/log/sysstat [Pipeline] sh 10:13:46 + ls /var/log/sa-host 10:13:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:46 provisioning config files... 10:13:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16634211658517913568tmp [Pipeline] { [Pipeline] echo 10:13:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:13:46 ---> create-netrc.sh [Pipeline] } 10:13:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:13:47 ---> python-tools-install.sh [Pipeline] echo 10:13:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:13:47 ---> sudo-logs.sh 10:13:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:13:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:13:47 ---> job-cost.sh 10:13:47 lf-activate-venv: SKIPPING 10:13:47 DEBUG: total: 0.2199999988079071 10:13:47 INFO: Retrieving Stack Cost... 10:13:48 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:48 INFO: Archiving Costs [Pipeline] echo 10:13:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:13:48 ---> logs-deploy.sh 10:13:48 lf-activate-venv: SKIPPING 10:13:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/48 10:13:48 INFO: archiving workspace using pattern(s): 10:13:49 Archives upload complete. 10:13:49 INFO: archiving logs to Nexus