Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bd6e5dae59222faf073cfb9822f90f2048c0bba 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-ssh13239753335693914888.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12088425453213772405.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9846123845979392303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2794114526949504452.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10636898376148367009.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2742’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2744 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2bd6e5dae59222faf073cfb9822f90f2048c0bba (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#213)" > 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-list --no-walk 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:36 ========================================================= 17:28:36 EdgeX Global Pipelines Version Info 17:28:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:28:37 ------------------- 17:28:37 stable info: 17:28:37 ------------------- 17:28:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:28:37 Message: update stable to v1.0.244 17:28:38 ------------------- 17:28:38 experimental info: 17:28:38 ------------------- 17:28:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:28:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:28:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bd6e5d [Pipeline] echo 17:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:38 provisioning config files... 17:28:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8425584217720540243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:39 ---> docker-login.sh 17:28:39 nexus3.edgexfoundry.org:10001 17:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:39 Configure a credential helper to remove this warning. See 17:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:39 17:28:39 Login Succeeded 17:28:39 nexus3.edgexfoundry.org:10002 17:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:39 Configure a credential helper to remove this warning. See 17:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:39 17:28:39 Login Succeeded 17:28:39 nexus3.edgexfoundry.org:10003 17:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:39 Configure a credential helper to remove this warning. See 17:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:39 17:28:39 Login Succeeded 17:28:39 nexus3.edgexfoundry.org:10004 17:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:39 Configure a credential helper to remove this warning. See 17:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:39 17:28:39 Login Succeeded 17:28:39 docker.io 17:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:40 Configure a credential helper to remove this warning. See 17:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:40 17:28:40 Login Succeeded 17:28:40 ---> docker-login.sh ends [Pipeline] } 17:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:28:40 + git rev-list -1 --merges 2bd6e5dae59222faf073cfb9822f90f2048c0bba~1..2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo 17:28:40 -----------> git rev-list -1 --merges 2bd6e5dae59222faf073cfb9822f90f2048c0bba~1..2bd6e5dae59222faf073cfb9822f90f2048c0bba 2bd6e5dae59222faf073cfb9822f90f2048c0bba [false] [Pipeline] sh 17:28:40 + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo 17:28:40 ========================================================= 17:28:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:28:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:41 + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo 17:28:41 [semverPrep] GIT_COMMIT: 2bd6e5dae59222faf073cfb9822f90f2048c0bba, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#213) [Pipeline] echo 17:28:41 [semverPrep] This is not a build commit. [Pipeline] sh 17:28:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:41 + grep -v github /etc/ssh/ssh_known_hosts 17:28:41 + [ -e /tmp/ssh_known_hosts ] 17:28:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:28:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:28:41 + sudo tee -a /etc/ssh/ssh_known_hosts 17:28:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:41 17:28:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:42 0.1.4: Pulling from edgex-devops/py-git-semver 17:28:42 b85a868b505f: Pulling fs layer 17:28:42 e2be974225ed: Pulling fs layer 17:28:42 339a4e72a1f5: Pulling fs layer 17:28:42 988bab9f4d93: Pulling fs layer 17:28:42 1469e6f7b9e6: Pulling fs layer 17:28:42 eaf3925da568: Pulling fs layer 17:28:42 bab4dde63d76: Pulling fs layer 17:28:42 bde34c3a00c8: Pulling fs layer 17:28:42 b352a97aabf1: Pulling fs layer 17:28:42 4872d77fe225: Pulling fs layer 17:28:42 5851b861e8e6: Pulling fs layer 17:28:42 988bab9f4d93: Waiting 17:28:42 1469e6f7b9e6: Waiting 17:28:42 eaf3925da568: Waiting 17:28:42 bab4dde63d76: Waiting 17:28:42 bde34c3a00c8: Waiting 17:28:42 b352a97aabf1: Waiting 17:28:42 4872d77fe225: Waiting 17:28:42 5851b861e8e6: Waiting 17:28:42 e2be974225ed: Verifying Checksum 17:28:42 e2be974225ed: Download complete 17:28:42 988bab9f4d93: Verifying Checksum 17:28:42 988bab9f4d93: Download complete 17:28:42 1469e6f7b9e6: Verifying Checksum 17:28:42 1469e6f7b9e6: Download complete 17:28:42 eaf3925da568: Verifying Checksum 17:28:42 eaf3925da568: Download complete 17:28:42 339a4e72a1f5: Verifying Checksum 17:28:42 339a4e72a1f5: Download complete 17:28:42 bde34c3a00c8: Verifying Checksum 17:28:42 bde34c3a00c8: Download complete 17:28:42 b352a97aabf1: Verifying Checksum 17:28:42 b352a97aabf1: Download complete 17:28:42 4872d77fe225: Download complete 17:28:42 5851b861e8e6: Download complete 17:28:42 b85a868b505f: Download complete 17:28:43 bab4dde63d76: Verifying Checksum 17:28:43 bab4dde63d76: Download complete 17:28:44 b85a868b505f: Pull complete 17:28:44 e2be974225ed: Pull complete 17:28:44 339a4e72a1f5: Pull complete 17:28:44 988bab9f4d93: Pull complete 17:28:45 1469e6f7b9e6: Pull complete 17:28:45 eaf3925da568: Pull complete 17:28:47 bab4dde63d76: Pull complete 17:28:47 bde34c3a00c8: Pull complete 17:28:47 b352a97aabf1: Pull complete 17:28:47 4872d77fe225: Pull complete 17:28:47 5851b861e8e6: Pull complete 17:28:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:47 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:48 $ docker top 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 -eo pid,comm 17:28:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:28:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:17 [ssh-agent] Looking for ssh-agent implementation... 17:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:18 $ docker exec 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent 17:29:18 SSH_AUTH_SOCK=/tmp/ssh-zoUx4Vq8kPko/agent.32 17:29:18 SSH_AGENT_PID=38 17:29:18 Running ssh-add (command line suppressed) 17:29:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11363969543542009739.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11363969543542009739.key) 17:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:18 + git tag --points-at HEAD [Pipeline] } 17:29:18 $ docker exec --env ******** --env ******** 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent -k 17:29:18 unset SSH_AUTH_SOCK; 17:29:18 unset SSH_AGENT_PID; 17:29:18 echo Agent pid 38 killed; 17:29:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:18 [ssh-agent] Looking for ssh-agent implementation... 17:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:18 $ docker exec 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent 17:29:18 SSH_AUTH_SOCK=/tmp/ssh-ARZCYyc2Wfjm/agent.71 17:29:18 SSH_AGENT_PID=77 17:29:18 Running ssh-add (command line suppressed) 17:29:19 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5929221406398174560.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5929221406398174560.key) 17:29:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:19 + git semver init 17:29:19 2023-01-17 17:29:19,556 [run_init] DEBUG init version:0.0.0 force:False 17:29:19 2023-01-17 17:29:19,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:29:19 2023-01-17 17:29:19,557 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:29:19 2023-01-17 17:29:19,557 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:29:20 2023-01-17 17:29:20,345 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 17:29:20 2023-01-17 17:29:20,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 17:29:20 2023-01-17 17:29:20,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:29:20 2023-01-17 17:29:20,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:29:20 3.0.0-dev.5 [Pipeline] } 17:29:20 $ docker exec --env ******** --env ******** 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent -k 17:29:20 unset SSH_AUTH_SOCK; 17:29:20 unset SSH_AGENT_PID; 17:29:20 echo Agent pid 77 killed; 17:29:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:21 + git semver [Pipeline] } 17:29:21 $ docker stop --time=1 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 17:29:22 $ docker rm -f --volumes 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:23 Stashed 1 file(s) [Pipeline] echo 17:29:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:23 provisioning config files... 17:29:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9572209963830474860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:23 ---> docker-login.sh 17:29:23 nexus3.edgexfoundry.org:10001 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10002 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10003 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10004 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 docker.io 17:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:24 Configure a credential helper to remove this warning. See 17:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:24 17:29:24 Login Succeeded 17:29:24 ---> docker-login.sh ends [Pipeline] } 17:29:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:24 ========================================================= 17:29:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:29:24 Sending build context to Docker daemon 5.663MB 17:29:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:29:24 Step 2/12 : FROM ${BASE} AS builder 17:29:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:24 213ec9aee27d: Pulling fs layer 17:29:24 4583459ba037: Pulling fs layer 17:29:24 93c1e223e6f2: Pulling fs layer 17:29:24 53926ce57604: Pulling fs layer 17:29:24 21b2b0c7a3f4: Pulling fs layer 17:29:24 22ff95d597cd: Pulling fs layer 17:29:24 12d6caf4c0d1: Pulling fs layer 17:29:24 96b7cbca73a9: Pulling fs layer 17:29:24 a7acece74701: Pulling fs layer 17:29:24 22ff95d597cd: Waiting 17:29:24 12d6caf4c0d1: Waiting 17:29:24 96b7cbca73a9: Waiting 17:29:24 a7acece74701: Waiting 17:29:24 53926ce57604: Waiting 17:29:24 21b2b0c7a3f4: Waiting 17:29:24 93c1e223e6f2: Verifying Checksum 17:29:24 93c1e223e6f2: Download complete 17:29:24 4583459ba037: Verifying Checksum 17:29:24 4583459ba037: Download complete 17:29:24 21b2b0c7a3f4: Verifying Checksum 17:29:24 21b2b0c7a3f4: Download complete 17:29:24 22ff95d597cd: Verifying Checksum 17:29:24 22ff95d597cd: Download complete 17:29:24 213ec9aee27d: Verifying Checksum 17:29:24 213ec9aee27d: Download complete 17:29:24 12d6caf4c0d1: Download complete 17:29:24 213ec9aee27d: Pull complete 17:29:25 4583459ba037: Pull complete 17:29:25 93c1e223e6f2: Pull complete 17:29:25 a7acece74701: Verifying Checksum 17:29:25 a7acece74701: Download complete 17:29:26 53926ce57604: Verifying Checksum 17:29:26 53926ce57604: Download complete 17:29:26 96b7cbca73a9: Verifying Checksum 17:29:26 96b7cbca73a9: Download complete 17:29:30 53926ce57604: Pull complete 17:29:30 21b2b0c7a3f4: Pull complete 17:29:30 22ff95d597cd: Pull complete 17:29:30 12d6caf4c0d1: Pull complete 17:29:32 96b7cbca73a9: Pull complete 17:29:32 a7acece74701: Pull complete 17:29:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:29:32 ---> db6d94c90886 17:29:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:29:34 ---> Running in cd2e3698926e 17:29:34 Removing intermediate container cd2e3698926e 17:29:34 ---> 2bcdc2a13b84 17:29:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:34 ---> Running in 9a15734c7a64 17:29:34 Removing intermediate container 9a15734c7a64 17:29:34 ---> 1c1136912a0c 17:29:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:29:34 ---> Running in 0199d6bab1e1 17:29:34 Removing intermediate container 0199d6bab1e1 17:29:34 ---> 3fb3f1be8b68 17:29:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:29:34 ---> Running in e5f44eaa2b7b 17:29:34 Removing intermediate container e5f44eaa2b7b 17:29:34 ---> 6fb2e9240478 17:29:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:34 ---> Running in 8ef1e239475c 17:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:29:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:29:35 (2/4) Installing libedit (20210910.3.1-r0) 17:29:35 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:29:35 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:29:35 Executing busybox-1.35.0-r17.trigger 17:29:35 OK: 216 MiB in 55 packages 17:29:36 Removing intermediate container 8ef1e239475c 17:29:36 ---> 5217547c2dd7 17:29:36 Step 8/12 : WORKDIR /device-snmp-go 17:29:36 ---> Running in 33a3e14da007 17:29:36 Removing intermediate container 33a3e14da007 17:29:36 ---> 84080a7b6f05 17:29:36 Step 9/12 : COPY go.mod vendor* ./ 17:29:36 ---> b927ee6cfb17 17:29:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:36 ---> Running in 1d485657e714 17:29:38 Still waiting to schedule task 17:29:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2743’ is offline 17:29:58 Removing intermediate container 1d485657e714 17:29:58 ---> 7159942ad460 17:29:58 Step 11/12 : COPY . . 17:29:58 ---> b5db7bb95ecb 17:29:58 Step 12/12 : RUN ${MAKE} 17:29:58 ---> Running in 442f7632b9cb 17:29:58 noop 17:29:58 Removing intermediate container 442f7632b9cb 17:29:58 ---> afd31281833c 17:29:58 Successfully built afd31281833c 17:29:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:58 + docker inspect -f . ci-base-image-x86_64 17:29:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:58 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:29:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:59 $ docker top abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:59 + go version 17:29:59 go version go1.18.7 linux/amd64 [Pipeline] } 17:29:59 $ docker stop --time=1 abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 17:30:00 $ docker rm -f --volumes abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:01 + docker inspect -f . ci-base-image-x86_64 17:30:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:01 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:30:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:01 $ docker top b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 17:30:02 + make test 17:30:02 go test ./... -coverprofile=coverage.out 17:30:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:30:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:30:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.019s coverage: 0.0% of statements 17:30:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:30:17 go vet ./... 17:30:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:19 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:19 $ docker stop --time=1 b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee 17:30:21 $ docker rm -f --volumes b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee [Pipeline] // withDockerContainer [Pipeline] sh 17:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:23 + ls -al . 17:30:23 total 180 17:30:23 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:30 . 17:30:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:28 .. 17:30:23 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 17:28 .dockerignore 17:30:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:30 .git 17:30:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 .github 17:30:23 -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 17:28 .gitignore 17:30:23 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:28 .golangci.yml 17:30:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:29 .semver 17:30:23 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 17:28 Attribution.txt 17:30:23 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 17:28 CHANGELOG.md 17:30:23 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 17:28 Dockerfile 17:30:23 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:28 GOVERNANCE.md 17:30:23 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 17:28 Jenkinsfile 17:30:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:28 LICENSE 17:30:23 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 17:28 Makefile 17:30:23 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:28 OWNERS.md 17:30:23 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 17:28 README.md 17:30:23 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:29 VERSION 17:30:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:28 bin 17:30:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 cmd 17:30:23 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 17:30 coverage.out 17:30:23 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 17:28 go.mod 17:30:23 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 17:28 go.sum 17:30:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 internal 17:30:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:28 snap 17:30:23 -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:23 + 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba --label arch=amd64 --label version=3.0.0-dev.5 . 17:30:23 Sending build context to Docker daemon 5.671MB 17:30:23 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:30:23 Step 2/24 : FROM ${BASE} AS builder 17:30:23 ---> afd31281833c 17:30:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:30:23 ---> Running in 6a00e5e1611b 17:30:23 Removing intermediate container 6a00e5e1611b 17:30:23 ---> 8472a53f2c8e 17:30:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:23 ---> Running in 43ebfe8a2a0d 17:30:23 Removing intermediate container 43ebfe8a2a0d 17:30:23 ---> 5aa783d95a86 17:30:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:30:23 ---> Running in 7f18fc5fc6ad 17:30:23 Removing intermediate container 7f18fc5fc6ad 17:30:23 ---> c766fe8fe600 17:30:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:30:23 ---> Running in 8e5375bd4c84 17:30:23 Removing intermediate container 8e5375bd4c84 17:30:23 ---> 8eaf93956121 17:30:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:23 ---> Running in 9d025bece71a 17:30:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:24 OK: 216 MiB in 55 packages 17:30:24 Removing intermediate container 9d025bece71a 17:30:24 ---> 75ad486287b8 17:30:24 Step 8/24 : WORKDIR /device-snmp-go 17:30:24 ---> Running in d358243e7343 17:30:25 Removing intermediate container d358243e7343 17:30:25 ---> 2c3b9c970c33 17:30:25 Step 9/24 : COPY go.mod vendor* ./ 17:30:25 ---> 048f030ab92e 17:30:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:25 ---> Running in a6389e3df2c3 17:30:26 Removing intermediate container a6389e3df2c3 17:30:26 ---> aeb4afb545a6 17:30:26 Step 11/24 : COPY . . 17:30:26 ---> 9638ae95129b 17:30:26 Step 12/24 : RUN ${MAKE} 17:30:26 ---> Running in 8575a2ec7647 17:30:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 17:30:44 Removing intermediate container 8575a2ec7647 17:30:44 ---> 22acedecf163 17:30:44 Step 13/24 : FROM alpine:3.16 17:30:44 3.16: Pulling from library/alpine 17:30:44 ca7dd9ec2225: Pulling fs layer 17:30:45 ca7dd9ec2225: Verifying Checksum 17:30:45 ca7dd9ec2225: Download complete 17:30:45 ca7dd9ec2225: Pull complete 17:30:45 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:30:45 Status: Downloaded newer image for alpine:3.16 17:30:45 ---> bfe296a52501 17:30:45 Step 14/24 : RUN apk add --update --no-cache dumb-init 17:30:45 ---> Running in 6370fb0a12dd 17:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:46 (1/1) Installing dumb-init (1.2.5-r1) 17:30:46 Executing busybox-1.35.0-r17.trigger 17:30:46 OK: 6 MiB in 15 packages 17:30:46 Removing intermediate container 6370fb0a12dd 17:30:46 ---> df782603c858 17:30:46 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:30:46 ---> 3459ef48266a 17:30:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:30:47 ---> fa0065379c43 17:30:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:30:47 ---> 2f42013ec14c 17:30:47 Step 18/24 : EXPOSE 59993 17:30:47 ---> Running in 3914f8793f94 17:30:47 Removing intermediate container 3914f8793f94 17:30:47 ---> c0059c3deab7 17:30:47 Step 19/24 : EXPOSE 161 17:30:47 ---> Running in 60b7e0424d56 17:30:47 Removing intermediate container 60b7e0424d56 17:30:47 ---> 528217cad3ef 17:30:47 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:30:47 ---> Running in 43d6bf97ed84 17:30:47 Removing intermediate container 43d6bf97ed84 17:30:47 ---> 76841d8a0257 17:30:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:30:47 ---> Running in f0aebafb9073 17:30:47 Removing intermediate container f0aebafb9073 17:30:47 ---> 96bd35e2606c 17:30:47 Step 22/24 : LABEL arch=amd64 17:30:47 ---> Running in e8509a27afdd 17:30:47 Removing intermediate container e8509a27afdd 17:30:47 ---> 2997a9ef307d 17:30:47 Step 23/24 : LABEL git_sha=2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:30:47 ---> Running in f4be0ce13a25 17:30:48 Removing intermediate container f4be0ce13a25 17:30:48 ---> 5feb6b609990 17:30:48 Step 24/24 : LABEL version=3.0.0-dev.5 17:30:48 ---> Running in 008d6c0477d1 17:30:48 Removing intermediate container 008d6c0477d1 17:30:48 ---> 7951dbedb813 17:30:48 [Warning] One or more build-args [ARCH] were not consumed 17:30:48 Successfully built 7951dbedb813 17:30:48 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:48 provisioning config files... 17:30:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17092112285189728650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:48 ---> docker-login.sh 17:30:48 nexus3.edgexfoundry.org:10001 17:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:48 Configure a credential helper to remove this warning. See 17:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:48 17:30:48 Login Succeeded 17:30:48 nexus3.edgexfoundry.org:10002 17:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:48 Configure a credential helper to remove this warning. See 17:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:48 17:30:48 Login Succeeded 17:30:48 nexus3.edgexfoundry.org:10003 17:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:48 Configure a credential helper to remove this warning. See 17:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:48 17:30:48 Login Succeeded 17:30:48 nexus3.edgexfoundry.org:10004 17:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:48 Configure a credential helper to remove this warning. See 17:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:48 17:30:48 Login Succeeded 17:30:48 docker.io 17:30:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:49 Configure a credential helper to remove this warning. See 17:30:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:49 17:30:49 Login Succeeded 17:30:49 ---> docker-login.sh ends [Pipeline] } 17:30:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:30:49 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 17:30:49 2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:30:49 latest 17:30:49 3.0.0-dev.5 17:30:49 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:30:49 main 17:30:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:30:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:30:49 aec4bf3d57ac: Preparing 17:30:49 5b5b02b6730a: Preparing 17:30:49 a75ea3a88623: Preparing 17:30:49 dab22a138762: Preparing 17:30:49 e5e13b0c77cb: Preparing 17:30:49 e5e13b0c77cb: Layer already exists 17:30:49 aec4bf3d57ac: Pushed 17:30:49 5b5b02b6730a: Pushed 17:30:49 dab22a138762: Pushed 17:30:52 a75ea3a88623: Pushed 17:30:52 2bd6e5dae59222faf073cfb9822f90f2048c0bba: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 17:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:30:53 aec4bf3d57ac: Preparing 17:30:53 5b5b02b6730a: Preparing 17:30:53 a75ea3a88623: Preparing 17:30:53 dab22a138762: Preparing 17:30:53 e5e13b0c77cb: Preparing 17:30:53 aec4bf3d57ac: Layer already exists 17:30:53 e5e13b0c77cb: Layer already exists 17:30:53 dab22a138762: Layer already exists 17:30:53 5b5b02b6730a: Layer already exists 17:30:53 a75ea3a88623: Layer already exists 17:30:53 latest: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 17:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:30:53 aec4bf3d57ac: Preparing 17:30:53 5b5b02b6730a: Preparing 17:30:53 a75ea3a88623: Preparing 17:30:53 dab22a138762: Preparing 17:30:53 e5e13b0c77cb: Preparing 17:30:53 e5e13b0c77cb: Layer already exists 17:30:53 dab22a138762: Layer already exists 17:30:53 a75ea3a88623: Layer already exists 17:30:53 aec4bf3d57ac: Layer already exists 17:30:53 5b5b02b6730a: Layer already exists 17:30:53 3.0.0-dev.5: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:30:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:30:54 aec4bf3d57ac: Preparing 17:30:54 5b5b02b6730a: Preparing 17:30:54 a75ea3a88623: Preparing 17:30:54 dab22a138762: Preparing 17:30:54 e5e13b0c77cb: Preparing 17:30:54 dab22a138762: Layer already exists 17:30:54 a75ea3a88623: Layer already exists 17:30:54 aec4bf3d57ac: Layer already exists 17:30:54 e5e13b0c77cb: Layer already exists 17:30:54 5b5b02b6730a: Layer already exists 17:30:54 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 17:30:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:30:54 aec4bf3d57ac: Preparing 17:30:54 5b5b02b6730a: Preparing 17:30:54 a75ea3a88623: Preparing 17:30:54 dab22a138762: Preparing 17:30:54 e5e13b0c77cb: Preparing 17:30:54 aec4bf3d57ac: Layer already exists 17:30:54 e5e13b0c77cb: Layer already exists 17:30:54 a75ea3a88623: Layer already exists 17:30:54 5b5b02b6730a: Layer already exists 17:30:54 dab22a138762: Layer already exists 17:30:54 main: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:30:54 ===================================================== [Pipeline] echo 17:30:54 taggedImages: 17:30:54 - nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:30:54 - nexus3.edgexfoundry.org:10004/device-snmp:latest 17:30:54 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 17:30:54 - nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:30:54 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:55 17:30:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:55 latest: Pulling from edgex-lftools-log-publisher 17:30:55 5eb5b503b376: Pulling fs layer 17:30:55 5c69ac0246d0: Pulling fs layer 17:30:55 ec43610c2a17: Pulling fs layer 17:30:55 3a2ae6a8a46f: Pulling fs layer 17:30:55 33b1e0a273af: Pulling fs layer 17:30:55 5d3b04190fa2: Pulling fs layer 17:30:55 2f39f015ded8: Pulling fs layer 17:30:55 3a2ae6a8a46f: Waiting 17:30:55 33b1e0a273af: Waiting 17:30:55 2f39f015ded8: Waiting 17:30:55 5d3b04190fa2: Waiting 17:30:55 5c69ac0246d0: Verifying Checksum 17:30:55 5c69ac0246d0: Download complete 17:30:55 3a2ae6a8a46f: Verifying Checksum 17:30:55 3a2ae6a8a46f: Download complete 17:30:55 33b1e0a273af: Verifying Checksum 17:30:55 33b1e0a273af: Download complete 17:30:55 ec43610c2a17: Verifying Checksum 17:30:55 ec43610c2a17: Download complete 17:30:55 5d3b04190fa2: Verifying Checksum 17:30:55 5d3b04190fa2: Download complete 17:30:55 5eb5b503b376: Verifying Checksum 17:30:55 5eb5b503b376: Download complete 17:30:56 2f39f015ded8: Download complete 17:30:57 5eb5b503b376: Pull complete 17:30:57 5c69ac0246d0: Pull complete 17:30:57 ec43610c2a17: Pull complete 17:30:57 3a2ae6a8a46f: Pull complete 17:30:58 33b1e0a273af: Pull complete 17:30:58 5d3b04190fa2: Pull complete 17:31:02 2f39f015ded8: Pull complete 17:31:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:02 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:04 $ docker top 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:04 ---> job-cost.sh 17:31:04 lf-activate-venv: SKIPPING 17:31:04 INFO: No Stack... 17:31:04 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:05 INFO: Archiving Costs [Pipeline] sh 17:31:05 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 17:31:05 + cut -d, -f6 [Pipeline] lock 17:31:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] 17:31:05 Resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] did not exist. Created. 17:31:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:05 + echo total: 0.2199999988079071 [Pipeline] stash 17:31:05 Stashed 1 file(s) [Pipeline] } 17:31:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:05 $ docker stop --time=1 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b 17:31:07 $ docker rm -f --volumes 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:31:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2745 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 17:31:18 Running in /w/workspace/device-snmp-go/61 [Pipeline] { [Pipeline] checkout 17:31:18 Selected Git installation does not exist. Using Default 17:31:18 The recommended git tool is: NONE 17:31:24 using credential edgex-jenkins-ssh 17:31:24 Cloning the remote Git repository 17:31:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:31:24 > git init /w/workspace/device-snmp-go/61 # timeout=10 17:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:31:24 > git --version # timeout=10 17:31:24 > git --version # 'git version 2.25.1' 17:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:31:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:26 Avoid second fetch 17:31:26 Checking out Revision 2bd6e5dae59222faf073cfb9822f90f2048c0bba (main) 17:31:27 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#213)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:26 > git config core.sparsecheckout # timeout=10 17:31:26 > git checkout -f 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 17:31:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:31:27 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:27 Dload Upload Total Spent Left Speed 17:31:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh 17:31:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:31:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:31:28 + sudo tee /etc/docker/daemon.new 17:31:28 { 17:31:28 "registry-mirrors": [ 17:31:28 "https://nexus3.edgexfoundry.org:10001" 17:31:28 ], 17:31:28 "bip": "10.250.0.254/24", 17:31:28 "hosts": [ 17:31:28 "tcp://0.0.0.0:5555", 17:31:28 "unix:///var/run/docker.sock" 17:31:28 ], 17:31:28 "mtu": 1458, 17:31:28 "selinux-enabled": true, 17:31:28 "seccomp-profile": "/etc/docker/seccomp.json" 17:31:28 } [Pipeline] sh 17:31:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:31:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:47 provisioning config files... 17:31:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/61@tmp/config4845010158353618097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:48 ---> docker-login.sh 17:31:48 nexus3.edgexfoundry.org:10001 17:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:48 Configure a credential helper to remove this warning. See 17:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:48 17:31:48 Login Succeeded 17:31:48 nexus3.edgexfoundry.org:10002 17:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:49 Configure a credential helper to remove this warning. See 17:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:49 17:31:49 Login Succeeded 17:31:49 nexus3.edgexfoundry.org:10003 17:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:49 Configure a credential helper to remove this warning. See 17:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:49 17:31:49 Login Succeeded 17:31:49 nexus3.edgexfoundry.org:10004 17:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:49 Configure a credential helper to remove this warning. See 17:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:49 17:31:49 Login Succeeded 17:31:49 docker.io 17:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:50 Configure a credential helper to remove this warning. See 17:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:50 17:31:50 Login Succeeded 17:31:50 ---> docker-login.sh ends [Pipeline] } 17:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:50 ========================================================= 17:31:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:31:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:31:51 Sending build context to Docker daemon 2.934MB 17:31:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:31:51 Step 2/12 : FROM ${BASE} AS builder 17:31:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:31:51 9b18e9b68314: Pulling fs layer 17:31:51 35d82f9e3411: Pulling fs layer 17:31:51 e16973657156: Pulling fs layer 17:31:51 fc693d55d65f: Pulling fs layer 17:31:51 7e9fc2657dce: Pulling fs layer 17:31:51 dda99020689f: Pulling fs layer 17:31:51 db1c61fa0a46: Pulling fs layer 17:31:51 891c053d2c06: Pulling fs layer 17:31:51 fc693d55d65f: Waiting 17:31:51 7e9fc2657dce: Waiting 17:31:51 db1c61fa0a46: Waiting 17:31:51 891c053d2c06: Waiting 17:31:51 dda99020689f: Waiting 17:31:51 e16973657156: Verifying Checksum 17:31:51 e16973657156: Download complete 17:31:51 35d82f9e3411: Verifying Checksum 17:31:51 35d82f9e3411: Download complete 17:31:51 7e9fc2657dce: Download complete 17:31:51 dda99020689f: Verifying Checksum 17:31:51 dda99020689f: Download complete 17:31:51 9b18e9b68314: Verifying Checksum 17:31:52 9b18e9b68314: Pull complete 17:31:52 891c053d2c06: Verifying Checksum 17:31:52 891c053d2c06: Download complete 17:31:53 35d82f9e3411: Pull complete 17:31:53 e16973657156: Pull complete 17:31:54 db1c61fa0a46: Verifying Checksum 17:31:54 db1c61fa0a46: Download complete 17:31:54 fc693d55d65f: Verifying Checksum 17:31:54 fc693d55d65f: Download complete 17:32:06 fc693d55d65f: Pull complete 17:32:06 7e9fc2657dce: Pull complete 17:32:06 dda99020689f: Pull complete 17:32:13 db1c61fa0a46: Pull complete 17:32:14 891c053d2c06: Pull complete 17:32:14 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:32:14 ---> f96f9c87975a 17:32:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:32:16 ---> Running in ac8e59271975 17:32:16 Removing intermediate container ac8e59271975 17:32:16 ---> 8b68e4fb3c81 17:32:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:16 ---> Running in 672394c5f332 17:32:17 Removing intermediate container 672394c5f332 17:32:17 ---> f19e7d283d68 17:32:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:32:17 ---> Running in b3c235eaa089 17:32:17 Removing intermediate container b3c235eaa089 17:32:17 ---> 2ad8839d9b04 17:32:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:32:17 ---> Running in 267cef615f0c 17:32:18 Removing intermediate container 267cef615f0c 17:32:18 ---> 7b6d79f8bac8 17:32:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:18 ---> Running in 77c03a6806f5 17:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:32:20 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:32:20 (2/4) Installing libedit (20210910.3.1-r0) 17:32:20 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:32:20 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:32:20 Executing busybox-1.35.0-r17.trigger 17:32:20 OK: 226 MiB in 55 packages 17:32:21 Removing intermediate container 77c03a6806f5 17:32:21 ---> a961911e8648 17:32:21 Step 8/12 : WORKDIR /device-snmp-go 17:32:21 ---> Running in 8e59d5e4efc9 17:32:22 Removing intermediate container 8e59d5e4efc9 17:32:22 ---> 96b754a6faf4 17:32:22 Step 9/12 : COPY go.mod vendor* ./ 17:32:22 ---> 8af76617a888 17:32:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:22 ---> Running in f3b7a31063d9 17:33:19 Removing intermediate container f3b7a31063d9 17:33:19 ---> 79cb824dc34a 17:33:19 Step 11/12 : COPY . . 17:33:19 ---> d4028c888ac0 17:33:19 Step 12/12 : RUN ${MAKE} 17:33:19 ---> Running in 881e14074342 17:33:20 noop 17:33:21 Removing intermediate container 881e14074342 17:33:21 ---> f194bcf2b01c 17:33:21 Successfully built f194bcf2b01c 17:33:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:21 + docker inspect -f . ci-base-image-arm64 17:33:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:21 prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container 17:33:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:23 $ docker top 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:23 + go version 17:33:23 go version go1.18.7 linux/arm64 [Pipeline] } 17:33:23 $ docker stop --time=1 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 17:33:25 $ docker rm -f --volumes 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:26 + docker inspect -f . ci-base-image-arm64 17:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:26 prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container 17:33:26 $ 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/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:27 $ docker top 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:28 + git config --global --add safe.directory /w/workspace/device-snmp-go/61 [Pipeline] fileExists [Pipeline] sh 17:33:29 + make test 17:33:29 go test ./... -coverprofile=coverage.out 17:33:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:34:53 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:34:53 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements 17:34:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:34:53 go vet ./... 17:35:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:20 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:20 $ docker stop --time=1 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 17:35:22 $ docker rm -f --volumes 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:23 Warning: overwriting stash ‘coverage-report’ 17:35:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:24 + ls -al . 17:35:24 total 176 17:35:24 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 . 17:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 .. 17:35:24 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 17:31 .dockerignore 17:35:24 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:31 .git 17:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 .github 17:35:24 -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 17:31 .gitignore 17:35:24 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:31 .golangci.yml 17:35:24 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 17:31 Attribution.txt 17:35:24 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 17:31 CHANGELOG.md 17:35:24 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 17:31 Dockerfile 17:35:24 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:31 GOVERNANCE.md 17:35:24 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 17:31 Jenkinsfile 17:35:24 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:31 LICENSE 17:35:24 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 17:31 Makefile 17:35:24 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:31 OWNERS.md 17:35:24 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 17:31 README.md 17:35:24 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:29 VERSION 17:35:24 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 bin 17:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 cmd 17:35:24 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 17:34 coverage.out 17:35:24 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 17:31 go.mod 17:35:24 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 17:31 go.sum 17:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 internal 17:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 snap 17:35:24 -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:24 + 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba --label arch=arm64 --label version=3.0.0-dev.5 . 17:35:25 Sending build context to Docker daemon 2.942MB 17:35:25 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:35:25 Step 2/24 : FROM ${BASE} AS builder 17:35:25 ---> f194bcf2b01c 17:35:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:35:25 ---> Running in cdc7216fa8c2 17:35:25 Removing intermediate container cdc7216fa8c2 17:35:25 ---> fabfac173a13 17:35:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:25 ---> Running in 39f93fd3f66a 17:35:26 Removing intermediate container 39f93fd3f66a 17:35:26 ---> 0ff509929084 17:35:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:35:26 ---> Running in ee2838aff844 17:35:26 Removing intermediate container ee2838aff844 17:35:26 ---> 0ed13f431820 17:35:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:35:26 ---> Running in 3fc5dd7501df 17:35:26 Removing intermediate container 3fc5dd7501df 17:35:26 ---> 6b2f5fe8f16a 17:35:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:27 ---> Running in fe0e062ba6c0 17:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:35:29 OK: 226 MiB in 55 packages 17:35:30 Removing intermediate container fe0e062ba6c0 17:35:30 ---> 18bd45606572 17:35:30 Step 8/24 : WORKDIR /device-snmp-go 17:35:30 ---> Running in b292dd44009d 17:35:31 Removing intermediate container b292dd44009d 17:35:31 ---> e793a9c09469 17:35:31 Step 9/24 : COPY go.mod vendor* ./ 17:35:31 ---> 7960b00542ec 17:35:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:31 ---> Running in f01b5c4e0e59 17:35:34 Removing intermediate container f01b5c4e0e59 17:35:34 ---> 576ebed17536 17:35:34 Step 11/24 : COPY . . 17:35:35 ---> 57f9faaa0ec9 17:35:35 Step 12/24 : RUN ${MAKE} 17:35:35 ---> Running in 4476c8f45e91 17:35:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 17:38:28 Removing intermediate container 4476c8f45e91 17:38:28 ---> e870ae497ae8 17:38:28 Step 13/24 : FROM alpine:3.16 17:38:28 3.16: Pulling from library/alpine 17:38:28 6875df1f5354: Pulling fs layer 17:38:28 6875df1f5354: Verifying Checksum 17:38:28 6875df1f5354: Download complete 17:38:28 6875df1f5354: Pull complete 17:38:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:38:28 Status: Downloaded newer image for alpine:3.16 17:38:28 ---> 2b4661558fb8 17:38:28 Step 14/24 : RUN apk add --update --no-cache dumb-init 17:38:28 ---> Running in 6299cb16bf75 17:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:38:30 (1/1) Installing dumb-init (1.2.5-r1) 17:38:30 Executing busybox-1.35.0-r17.trigger 17:38:30 OK: 5 MiB in 15 packages 17:38:31 Removing intermediate container 6299cb16bf75 17:38:31 ---> 5cc1f9e23cbf 17:38:31 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:38:32 ---> 866e34c71014 17:38:32 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:38:33 ---> e2ed00fa8748 17:38:33 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:38:33 ---> 3cd86b6fa958 17:38:33 Step 18/24 : EXPOSE 59993 17:38:33 ---> Running in 729935b1d80c 17:38:34 Removing intermediate container 729935b1d80c 17:38:34 ---> 0c92e435de31 17:38:34 Step 19/24 : EXPOSE 161 17:38:34 ---> Running in 5b762169fd8b 17:38:34 Removing intermediate container 5b762169fd8b 17:38:34 ---> 463e32b5b45b 17:38:34 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:38:34 ---> Running in 64585335f3ab 17:38:35 Removing intermediate container 64585335f3ab 17:38:35 ---> 4eb43c883f3d 17:38:35 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:38:35 ---> Running in 9e1085798c7a 17:38:35 Removing intermediate container 9e1085798c7a 17:38:35 ---> 1b21f15f5e83 17:38:35 Step 22/24 : LABEL arch=arm64 17:38:35 ---> Running in b8141e74ded6 17:38:35 Removing intermediate container b8141e74ded6 17:38:35 ---> 6cc79202cfb3 17:38:35 Step 23/24 : LABEL git_sha=2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:38:35 ---> Running in 9113b078bcce 17:38:36 Removing intermediate container 9113b078bcce 17:38:36 ---> 85dc63cf83cc 17:38:36 Step 24/24 : LABEL version=3.0.0-dev.5 17:38:36 ---> Running in a4e4a988709d 17:38:36 Removing intermediate container a4e4a988709d 17:38:36 ---> 48244edbf336 17:38:36 [Warning] One or more build-args [ARCH] were not consumed 17:38:36 Successfully built 48244edbf336 17:38:36 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:36 provisioning config files... 17:38:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/61@tmp/config11904858286085444068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:37 ---> docker-login.sh 17:38:37 nexus3.edgexfoundry.org:10001 17:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:37 Configure a credential helper to remove this warning. See 17:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:37 17:38:37 Login Succeeded 17:38:37 nexus3.edgexfoundry.org:10002 17:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:37 Configure a credential helper to remove this warning. See 17:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:37 17:38:37 Login Succeeded 17:38:37 nexus3.edgexfoundry.org:10003 17:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:38 Configure a credential helper to remove this warning. See 17:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:38 17:38:38 Login Succeeded 17:38:38 nexus3.edgexfoundry.org:10004 17:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:38 Configure a credential helper to remove this warning. See 17:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:38 17:38:38 Login Succeeded 17:38:38 docker.io 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 ---> docker-login.sh ends [Pipeline] } 17:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:39 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 17:38:39 2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:38:39 latest 17:38:39 3.0.0-dev.5 17:38:39 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:38:39 main 17:38:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:39 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:40 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:38:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:38:40 d0882780e4f7: Preparing 17:38:40 fc3b1e89ceb8: Preparing 17:38:40 5d650e68b012: Preparing 17:38:40 479fd2e7c101: Preparing 17:38:40 17bec77d7fdc: Preparing 17:38:40 17bec77d7fdc: Layer already exists 17:38:40 fc3b1e89ceb8: Pushed 17:38:40 d0882780e4f7: Pushed 17:38:40 479fd2e7c101: Pushed 17:38:45 5d650e68b012: Pushed 17:38:45 2bd6e5dae59222faf073cfb9822f90f2048c0bba: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:38:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:38:46 d0882780e4f7: Preparing 17:38:46 fc3b1e89ceb8: Preparing 17:38:46 5d650e68b012: Preparing 17:38:46 479fd2e7c101: Preparing 17:38:46 17bec77d7fdc: Preparing 17:38:46 d0882780e4f7: Layer already exists 17:38:46 5d650e68b012: Layer already exists 17:38:46 17bec77d7fdc: Layer already exists 17:38:46 479fd2e7c101: Layer already exists 17:38:46 fc3b1e89ceb8: Layer already exists 17:38:46 latest: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 17:38:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:38:47 d0882780e4f7: Preparing 17:38:47 fc3b1e89ceb8: Preparing 17:38:47 5d650e68b012: Preparing 17:38:47 479fd2e7c101: Preparing 17:38:47 17bec77d7fdc: Preparing 17:38:47 17bec77d7fdc: Layer already exists 17:38:47 d0882780e4f7: Layer already exists 17:38:47 fc3b1e89ceb8: Layer already exists 17:38:47 5d650e68b012: Layer already exists 17:38:47 479fd2e7c101: Layer already exists 17:38:47 3.0.0-dev.5: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:48 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:38:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:38:48 d0882780e4f7: Preparing 17:38:48 fc3b1e89ceb8: Preparing 17:38:48 5d650e68b012: Preparing 17:38:48 479fd2e7c101: Preparing 17:38:48 17bec77d7fdc: Preparing 17:38:48 5d650e68b012: Layer already exists 17:38:48 479fd2e7c101: Layer already exists 17:38:48 fc3b1e89ceb8: Layer already exists 17:38:48 d0882780e4f7: Layer already exists 17:38:48 17bec77d7fdc: Layer already exists 17:38:48 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 17:38:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 17:38:49 d0882780e4f7: Preparing 17:38:49 fc3b1e89ceb8: Preparing 17:38:49 5d650e68b012: Preparing 17:38:49 479fd2e7c101: Preparing 17:38:49 17bec77d7fdc: Preparing 17:38:49 479fd2e7c101: Layer already exists 17:38:49 d0882780e4f7: Layer already exists 17:38:49 5d650e68b012: Layer already exists 17:38:49 fc3b1e89ceb8: Layer already exists 17:38:49 17bec77d7fdc: Layer already exists 17:38:49 main: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:49 ===================================================== [Pipeline] echo 17:38:49 taggedImages: 17:38:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba 17:38:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 17:38:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 17:38:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 17:38:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:50 17:38:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:51 arm64: Pulling from edgex-lftools-log-publisher 17:38:51 8998bd30e6a1: Pulling fs layer 17:38:51 04944245beec: Pulling fs layer 17:38:51 699f458cf7ca: Pulling fs layer 17:38:51 765212b225bb: Pulling fs layer 17:38:51 f23df028b6ca: Pulling fs layer 17:38:51 d65c8cfc05b1: Pulling fs layer 17:38:51 2437ff75d9bd: Pulling fs layer 17:38:51 f23df028b6ca: Waiting 17:38:51 d65c8cfc05b1: Waiting 17:38:51 2437ff75d9bd: Waiting 17:38:51 765212b225bb: Waiting 17:38:51 04944245beec: Verifying Checksum 17:38:51 04944245beec: Download complete 17:38:51 765212b225bb: Verifying Checksum 17:38:51 765212b225bb: Download complete 17:38:51 f23df028b6ca: Verifying Checksum 17:38:51 f23df028b6ca: Download complete 17:38:51 d65c8cfc05b1: Verifying Checksum 17:38:51 d65c8cfc05b1: Download complete 17:38:51 699f458cf7ca: Verifying Checksum 17:38:51 699f458cf7ca: Download complete 17:38:51 8998bd30e6a1: Verifying Checksum 17:38:51 8998bd30e6a1: Download complete 17:38:54 2437ff75d9bd: Verifying Checksum 17:38:54 2437ff75d9bd: Download complete 17:38:55 8998bd30e6a1: Pull complete 17:38:56 04944245beec: Pull complete 17:38:57 699f458cf7ca: Pull complete 17:38:57 765212b225bb: Pull complete 17:38:58 f23df028b6ca: Pull complete 17:38:58 d65c8cfc05b1: Pull complete 17:39:13 2437ff75d9bd: Pull complete 17:39:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:14 prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container 17:39:14 $ 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/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:17 $ docker top 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:18 ---> job-cost.sh 17:39:18 lf-activate-venv: SKIPPING 17:39:18 INFO: No Stack... 17:39:18 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:19 INFO: Archiving Costs [Pipeline] sh 17:39:20 + cut -d, -f6 17:39:20 + cat /w/workspace/device-snmp-go/61/archives/cost.csv [Pipeline] lock 17:39:20 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] 17:39:20 Resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] did not exist. Created. 17:39:20 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:21 /w/workspace/device-snmp-go/61@tmp/durable-2156fd3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:21 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:21 Warning: overwriting stash ‘stack-cost’ 17:39:21 Stashed 1 file(s) [Pipeline] } 17:39:21 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:21 $ docker stop --time=1 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 17:39:23 $ docker rm -f --volumes 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:39:23 provisioning config files... 17:39:23 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5807130947295961044tmp [Pipeline] { [Pipeline] sh 17:39:24 + set +x 17:39:24 + + bashcurl -s -s -- https://codecov.io/bash 17:39:24 17:39:24 17:39:24 _____ _ 17:39:24 / ____| | | 17:39:24 | | ___ __| | ___ ___ _____ __ 17:39:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:24 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:24 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:24 Bash-1.0.6 17:39:24 17:39:24 17:39:24 ==> git version 2.25.1 found 17:39:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:39:24 Release-Date: 2020-01-08 17:39:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:39:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:24 ==> Jenkins CI detected. 17:39:24 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 17:39:24 project root: . 17:39:24 --> token set from env 17:39:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:24 ==> Running gcov in . (disable via -X gcov) 17:39:24 ==> Python coveragepy not found 17:39:24 ==> Searching for coverage reports in: 17:39:24 + . 17:39:24 -> Found 1 reports 17:39:24 ==> Detecting git/mercurial file structure 17:39:24 ==> Reading reports 17:39:24 + ./coverage.out bytes=7631 17:39:24 ==> Appending adjustments 17:39:24 https://docs.codecov.io/docs/fixing-reports 17:39:24 + Found adjustments 17:39:24 ==> Gzipping contents 17:39:24 4.0K /tmp/codecov.19CFrc.gz 17:39:24 ==> Uploading reports 17:39:24 url: https://codecov.io 17:39:24 query: branch=main&commit=2bd6e5dae59222faf073cfb9822f90f2048c0bba&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:24 -> Pinging Codecov 17:39:24 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:26 -> Uploading to 17:39:26 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/2bd6e5dae59222faf073cfb9822f90f2048c0bba/545f4057-b37c-42cf-a4e5-3dd1d501948e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T173925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b35aa87f69035915dc73d1be64047355c5b79013b497d596879fcfa9e18b7b01 17:39:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:26 Dload Upload Total Spent Left Speed 17:39:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1517 0 0 100 1517 0 7472 --:--:-- --:--:-- --:--:-- 7436 100 1517 0 0 100 1517 0 5107 --:--:-- --:--:-- --:--:-- 5107 17:39:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } 17:39:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:39:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:39:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:26 17:39:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:39:27 df9b9388f04a: Pulling fs layer 17:39:27 52dc419b0ee2: Pulling fs layer 17:39:27 25bc292e5bac: Pulling fs layer 17:39:27 114826534d7a: Pulling fs layer 17:39:27 4657fd5d0bcf: Pulling fs layer 17:39:27 6ad1cebc031e: Pulling fs layer 17:39:27 8a3aa393b2d8: Pulling fs layer 17:39:27 114826534d7a: Waiting 17:39:27 4657fd5d0bcf: Waiting 17:39:27 6ad1cebc031e: Waiting 17:39:27 8a3aa393b2d8: Waiting 17:39:27 25bc292e5bac: Verifying Checksum 17:39:27 25bc292e5bac: Download complete 17:39:27 52dc419b0ee2: Download complete 17:39:27 df9b9388f04a: Download complete 17:39:27 df9b9388f04a: Pull complete 17:39:27 52dc419b0ee2: Pull complete 17:39:27 6ad1cebc031e: Verifying Checksum 17:39:27 6ad1cebc031e: Download complete 17:39:27 25bc292e5bac: Pull complete 17:39:28 114826534d7a: Verifying Checksum 17:39:28 114826534d7a: Download complete 17:39:28 8a3aa393b2d8: Verifying Checksum 17:39:28 8a3aa393b2d8: Download complete 17:39:32 114826534d7a: Pull complete 17:39:32 4657fd5d0bcf: Pull complete 17:39:32 6ad1cebc031e: Pull complete 17:39:34 8a3aa393b2d8: Pull complete 17:39:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:34 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:39:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:39:36 $ docker top 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 -eo pid,comm [Pipeline] { [Pipeline] echo 17:39:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 17:39:37 + set -o pipefail 17:39:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 17:39:43 17:39:43 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 17:39:43 17:39:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/7493bb27-76c2-4df2-8c0e-7786e0bca666 17:39:43 17:39:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:39:43 17:39:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:39:43 17:39:43 17:39:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:39:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:39:43 More details here: https://snyk.co/ue1NS [Pipeline] } 17:39:43 $ docker stop --time=1 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 17:39:46 $ docker rm -f --volumes 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:46 + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] sh 17:39:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:47 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:39:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:39:47 $ docker top 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 -eo pid,comm 17:39:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:39:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:48 [ssh-agent] Looking for ssh-agent implementation... 17:39:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:48 $ docker exec 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 ssh-agent 17:39:48 SSH_AUTH_SOCK=/tmp/ssh-DcL1dA6YSq2p/agent.32 17:39:48 SSH_AGENT_PID=38 17:39:48 Running ssh-add (command line suppressed) 17:39:48 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9518997790079840356.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9518997790079840356.key) 17:39:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:48 + git semver tag 17:39:48 2023-01-17 17:39:48,819 [run_tag] DEBUG tag force:False 17:39:48 2023-01-17 17:39:48,819 [check_head_tag] DEBUG check head tag 17:39:48 2023-01-17 17:39:48,820 [execute] INFO git cat-file --batch-check 17:39:48 2023-01-17 17:39:48,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:39:48 2023-01-17 17:39:48,824 [execute] INFO git cat-file --batch 17:39:48 2023-01-17 17:39:48,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 17:39:48 2023-01-17 17:39:48,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:39:48 2023-01-17 17:39:48,843 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 17:39:48 2023-01-17 17:39:48,844 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:39:48 2023-01-17 17:39:48,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:39:48 3.0.0-dev.5 [Pipeline] } 17:39:48 $ docker exec --env ******** --env ******** 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 ssh-agent -k 17:39:49 unset SSH_AUTH_SOCK; 17:39:49 unset SSH_AGENT_PID; 17:39:49 echo Agent pid 38 killed; 17:39:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:49 + git semver [Pipeline] } 17:39:49 $ docker stop --time=1 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 17:39:50 $ docker rm -f --volumes 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:51 17:39:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:51 0.23.1-centos7: Pulling from edgex-lftools 17:39:51 ab5ef0e58194: Pulling fs layer 17:39:51 9712f1f96733: Pulling fs layer 17:39:51 63f879dbbcfc: Pulling fs layer 17:39:51 0d9ebad4ef96: Pulling fs layer 17:39:51 e9a5061849ea: Pulling fs layer 17:39:51 d747dcd14b5f: Pulling fs layer 17:39:51 2de7ff778b66: Pulling fs layer 17:39:51 0d9ebad4ef96: Waiting 17:39:51 e9a5061849ea: Waiting 17:39:51 d747dcd14b5f: Waiting 17:39:51 2de7ff778b66: Waiting 17:39:51 9712f1f96733: Verifying Checksum 17:39:51 9712f1f96733: Download complete 17:39:52 63f879dbbcfc: Verifying Checksum 17:39:52 63f879dbbcfc: Download complete 17:39:52 0d9ebad4ef96: Verifying Checksum 17:39:52 0d9ebad4ef96: Download complete 17:39:52 ab5ef0e58194: Verifying Checksum 17:39:52 ab5ef0e58194: Download complete 17:39:52 d747dcd14b5f: Verifying Checksum 17:39:52 d747dcd14b5f: Download complete 17:39:52 e9a5061849ea: Verifying Checksum 17:39:52 e9a5061849ea: Download complete 17:39:52 2de7ff778b66: Verifying Checksum 17:39:52 2de7ff778b66: Download complete 17:39:55 ab5ef0e58194: Pull complete 17:39:55 9712f1f96733: Pull complete 17:39:55 63f879dbbcfc: Pull complete 17:39:59 0d9ebad4ef96: Pull complete 17:39:59 e9a5061849ea: Pull complete 17:39:59 d747dcd14b5f: Pull complete 17:40:00 2de7ff778b66: Pull complete 17:40:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:00 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:40:02 $ docker top 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:40:02 provisioning config files... 17:40:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config941630950323586471tmp 17:40:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5131004068807563484tmp 17:40:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17604607084966886531tmp [Pipeline] { [Pipeline] echo 17:40:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:40:02 ---> sigul-configuration.sh 17:40:02 gpg: directory `/root/.gnupg' created 17:40:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:40:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:40:02 gpg: keyring `/root/.gnupg/secring.gpg' created 17:40:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:40:02 gpg: CAST5 encrypted data 17:40:02 gpg: encrypted with 1 passphrase 17:40:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:40:03 + mkdir /home/jenkins 17:40:03 + mkdir /home/jenkins/sigul [Pipeline] sh 17:40:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:40:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:40:03 ---> sigul-install.sh 17:40:03 Sigul already installed; skipping installation. [Pipeline] sh 17:40:04 + git tag --list 17:40:04 1.0.0 17:40:04 v0.0.0 17:40:04 v1.1.0 17:40:04 v1.1.1 17:40:04 v1.2.2 17:40:04 v1.3.0 17:40:04 v1.3.1 17:40:04 v2.0.0 17:40:04 v2.1.0 17:40:04 v2.1.1 17:40:04 v2.1.1-dev.2 17:40:04 v2.1.1-dev.3 17:40:04 v2.2.0 17:40:04 v2.2.1-dev.1 17:40:04 v2.2.1-dev.2 17:40:04 v2.2.1-dev.3 17:40:04 v2.2.1-dev.4 17:40:04 v2.2.1-dev.5 17:40:04 v2.2.1-dev.6 17:40:04 v2.2.1-dev.7 17:40:04 v2.3.0 17:40:04 v2.3.0-dev.10 17:40:04 v2.3.0-dev.11 17:40:04 v2.3.0-dev.12 17:40:04 v2.3.0-dev.13 17:40:04 v2.3.0-dev.14 17:40:04 v2.3.0-dev.15 17:40:04 v2.3.0-dev.16 17:40:04 v2.3.0-dev.17 17:40:04 v2.3.0-dev.18 17:40:04 v2.3.0-dev.19 17:40:04 v2.3.0-dev.20 17:40:04 v2.3.0-dev.21 17:40:04 v2.3.0-dev.22 17:40:04 v2.3.0-dev.23 17:40:04 v2.3.0-dev.24 17:40:04 v2.3.0-dev.7 17:40:04 v2.3.0-dev.8 17:40:04 v2.3.0-dev.9 17:40:04 v3.0.0-dev.1 17:40:04 v3.0.0-dev.2 17:40:04 v3.0.0-dev.3 17:40:04 v3.0.0-dev.4 17:40:04 v3.0.0-dev.5 [Pipeline] sh 17:40:04 + lftools sign git-tag v3.0.0-dev.5 17:40:04 Signing Git tag with Sigul... 17:40:04 Signing v3.0.0-dev.5 [Pipeline] echo 17:40:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:40:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:40:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:40:05 $ docker stop --time=1 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 17:40:07 $ docker rm -f --volumes 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:40:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:40:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:08 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:40:08 $ docker top 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 -eo pid,comm 17:40:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:40:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:08 [ssh-agent] Looking for ssh-agent implementation... 17:40:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:08 $ docker exec 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 ssh-agent 17:40:08 SSH_AUTH_SOCK=/tmp/ssh-fI52gnwejvYB/agent.32 17:40:08 SSH_AGENT_PID=38 17:40:08 Running ssh-add (command line suppressed) 17:40:08 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10391595421348664301.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10391595421348664301.key) 17:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:09 + git semver bump pre 17:40:09 2023-01-17 17:40:09,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:40:09 2023-01-17 17:40:09,409 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 17:40:09 2023-01-17 17:40:09,409 [bump_version] DEBUG bumped version:3.0.0-dev.6 17:40:09 2023-01-17 17:40:09,409 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 17:40:09 2023-01-17 17:40:09,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:40:09 2023-01-17 17:40:09,409 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:40:09 2023-01-17 17:40:09,411 [execute] INFO git cat-file --batch-check 17:40:09 2023-01-17 17:40:09,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:09 2023-01-17 17:40:09,417 [execute] INFO git cat-file --batch 17:40:09 2023-01-17 17:40:09,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:09 2023-01-17 17:40:09,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:40:09 3.0.0-dev.6 [Pipeline] } 17:40:09 $ docker exec --env ******** --env ******** 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 ssh-agent -k 17:40:09 unset SSH_AUTH_SOCK; 17:40:09 unset SSH_AGENT_PID; 17:40:09 echo Agent pid 38 killed; 17:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:09 + git semver [Pipeline] } 17:40:10 $ docker stop --time=1 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 17:40:11 $ docker rm -f --volumes 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:40:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:12 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:40:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:40:12 $ docker top d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 -eo pid,comm 17:40:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:40:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:12 [ssh-agent] Looking for ssh-agent implementation... 17:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:12 $ docker exec d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 ssh-agent 17:40:12 SSH_AUTH_SOCK=/tmp/ssh-Qr24QAgFTW1n/agent.32 17:40:12 SSH_AGENT_PID=38 17:40:12 Running ssh-add (command line suppressed) 17:40:12 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15754499266670001333.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15754499266670001333.key) 17:40:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:13 + git semver push 17:40:13 2023-01-17 17:40:13,434 [run_push] DEBUG push 17:40:13 2023-01-17 17:40:13,435 [execute] INFO git cat-file --batch-check 17:40:13 2023-01-17 17:40:13,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:13 2023-01-17 17:40:13,439 [execute] INFO git rev-list 6f4cc65c29d68df36fcb00e269ed84cc9a507b18 -- 17:40:13 2023-01-17 17:40:13,439 [execute] DEBUG Popen(['git', 'rev-list', '6f4cc65c29d68df36fcb00e269ed84cc9a507b18', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:13 2023-01-17 17:40:13,447 [execute] INFO git fetch -v origin 17:40:13 2023-01-17 17:40:13,447 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:40:14 2023-01-17 17:40:13,982 [run_push] DEBUG no remote changes detected 17:40:14 2023-01-17 17:40:13,982 [execute] INFO git push origin semver 17:40:14 2023-01-17 17:40:13,983 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:15 2023-01-17 17:40:14,821 [run_push] DEBUG push all version tags 17:40:15 2023-01-17 17:40:14,822 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:40:15 2023-01-17 17:40:14,822 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:40:15 2023-01-17 17:40:15,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:40:15 3.0.0-dev.6 [Pipeline] } 17:40:15 $ docker exec --env ******** --env ******** d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 ssh-agent -k 17:40:15 unset SSH_AUTH_SOCK; 17:40:15 unset SSH_AGENT_PID; 17:40:15 echo Agent pid 38 killed; 17:40:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:16 + git semver [Pipeline] } 17:40:16 $ docker stop --time=1 d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 17:40:17 $ docker rm -f --volumes d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:40:18 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 17:40:18 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:40:18 total 16 17:40:18 drwxr-xr-x 3 root root 4096 Jan 17 17:31 . 17:40:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:40 .. 17:40:18 drwxr-xr-x 2 root root 4096 Jan 17 17:31 cost 17:40:18 -rw-r--r-- 1 root root 85 Jan 17 17:31 cost.csv 17:40:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:40:18 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:40:18 total 16 17:40:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:31 . 17:40:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:40 .. 17:40:18 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:31 cost 17:40:18 -rw-r--r-- 1 jenkins jenkins 85 Jan 17 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:40:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:40:19 ---> package-listing.sh 17:40:19 ++ facter osfamily 17:40:19 ++ tr '[:upper:]' '[:lower:]' 17:40:19 + OS_FAMILY=debian 17:40:19 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 17:40:19 + START_PACKAGES=/tmp/packages_start.txt 17:40:19 + END_PACKAGES=/tmp/packages_end.txt 17:40:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:40:19 + PACKAGES=/tmp/packages_start.txt 17:40:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:40:19 + PACKAGES=/tmp/packages_end.txt 17:40:19 + case "${OS_FAMILY}" in 17:40:19 + dpkg -l 17:40:19 + grep '^ii' 17:40:19 + '[' -f /tmp/packages_start.txt ']' 17:40:19 + '[' -f /tmp/packages_end.txt ']' 17:40:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:40:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:40:19 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 17:40:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 17:40:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:40:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:20 prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container 17:40:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:40:20 $ docker top 4be6a35817f804b72fa6dc19569dc01dcd707c063f40abbec53ebe51e4932bba -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:21 + touch /tmp/pre-build-complete [Pipeline] sh 17:40:21 + mkdir -p /var/log/sysstat [Pipeline] sh 17:40:21 + ls /var/log/sa-host 17:40:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:21 provisioning config files... 17:40:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11775815760732502734tmp [Pipeline] { [Pipeline] echo 17:40:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:40:22 ---> create-netrc.sh [Pipeline] } 17:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:40:22 ---> python-tools-install.sh [Pipeline] echo 17:40:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:40:22 ---> sudo-logs.sh 17:40:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:40:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:40:23 ---> job-cost.sh 17:40:23 lf-activate-venv: SKIPPING 17:40:23 DEBUG: total: 0.2199999988079071 17:40:23 INFO: Retrieving Stack Cost... 17:40:23 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:24 INFO: Archiving Costs [Pipeline] echo 17:40:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:40:24 ---> logs-deploy.sh 17:40:24 lf-activate-venv: SKIPPING 17:40:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/61 17:40:24 INFO: archiving workspace using pattern(s): 17:40:25 Archives upload complete. 17:40:25 INFO: archiving logs to Nexus