Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 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-ssh9693661841241075327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10607429327948936497.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh1813271164984616294.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh4753151310027747705.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh15190730385513893057.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22778 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 Avoid second fetch Checking out Revision bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 (main) 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 > 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 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 Commit message: "Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:18 ========================================================= 05:17:18 EdgeX Global Pipelines Version Info 05:17:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:17:19 ------------------- 05:17:19 stable info: 05:17:19 ------------------- 05:17:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:17:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:17:19 Message: update stable to v1.0.238 05:17:20 ------------------- 05:17:20 experimental info: 05:17:20 ------------------- 05:17:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:17:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:17:20 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc9e5fc [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:20 provisioning config files... 05:17:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8335460263790628678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:21 ---> docker-login.sh 05:17:21 nexus3.edgexfoundry.org:10001 05:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:21 Configure a credential helper to remove this warning. See 05:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:21 05:17:21 Login Succeeded 05:17:21 nexus3.edgexfoundry.org:10002 05:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:21 Configure a credential helper to remove this warning. See 05:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:21 05:17:21 Login Succeeded 05:17:21 nexus3.edgexfoundry.org:10003 05:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:21 Configure a credential helper to remove this warning. See 05:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:21 05:17:21 Login Succeeded 05:17:21 nexus3.edgexfoundry.org:10004 05:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:21 Configure a credential helper to remove this warning. See 05:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:21 05:17:21 Login Succeeded 05:17:21 docker.io 05:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:22 Configure a credential helper to remove this warning. See 05:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:22 05:17:22 Login Succeeded 05:17:22 ---> docker-login.sh ends [Pipeline] } 05:17:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:17:22 + git rev-list -1 --merges bc9e5fc4f6f386374dc08e9c841744ba7db9ed84~1..bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo 05:17:22 -----------> git rev-list -1 --merges bc9e5fc4f6f386374dc08e9c841744ba7db9ed84~1..bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:17:22 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [false] [Pipeline] sh 05:17:22 + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo 05:17:22 ========================================================= 05:17:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:17:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:23 + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo 05:17:23 [semverPrep] GIT_COMMIT: bc9e5fc4f6f386374dc08e9c841744ba7db9ed84, Commit Message: Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 05:17:23 [semverPrep] This is not a build commit. [Pipeline] sh 05:17:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:23 + grep -v github /etc/ssh/ssh_known_hosts 05:17:23 + [ -e /tmp/ssh_known_hosts ] 05:17:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:17:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:17:23 + sudo tee -a /etc/ssh/ssh_known_hosts 05:17:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:23 05:17:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:24 0.1.4: Pulling from edgex-devops/py-git-semver 05:17:24 b85a868b505f: Pulling fs layer 05:17:24 e2be974225ed: Pulling fs layer 05:17:24 339a4e72a1f5: Pulling fs layer 05:17:24 988bab9f4d93: Pulling fs layer 05:17:24 1469e6f7b9e6: Pulling fs layer 05:17:24 eaf3925da568: Pulling fs layer 05:17:24 bab4dde63d76: Pulling fs layer 05:17:24 bde34c3a00c8: Pulling fs layer 05:17:24 b352a97aabf1: Pulling fs layer 05:17:24 4872d77fe225: Pulling fs layer 05:17:24 988bab9f4d93: Waiting 05:17:24 bab4dde63d76: Waiting 05:17:24 5851b861e8e6: Pulling fs layer 05:17:24 4872d77fe225: Waiting 05:17:24 5851b861e8e6: Waiting 05:17:24 b352a97aabf1: Waiting 05:17:24 bde34c3a00c8: Waiting 05:17:24 1469e6f7b9e6: Waiting 05:17:24 e2be974225ed: Verifying Checksum 05:17:24 e2be974225ed: Download complete 05:17:24 988bab9f4d93: Verifying Checksum 05:17:24 988bab9f4d93: Download complete 05:17:24 1469e6f7b9e6: Verifying Checksum 05:17:24 1469e6f7b9e6: Download complete 05:17:24 339a4e72a1f5: Verifying Checksum 05:17:24 339a4e72a1f5: Download complete 05:17:24 eaf3925da568: Verifying Checksum 05:17:24 eaf3925da568: Download complete 05:17:24 bde34c3a00c8: Verifying Checksum 05:17:24 bde34c3a00c8: Download complete 05:17:24 b352a97aabf1: Download complete 05:17:24 4872d77fe225: Verifying Checksum 05:17:24 4872d77fe225: Download complete 05:17:24 5851b861e8e6: Verifying Checksum 05:17:24 5851b861e8e6: Download complete 05:17:24 b85a868b505f: Verifying Checksum 05:17:24 b85a868b505f: Download complete 05:17:24 bab4dde63d76: Verifying Checksum 05:17:24 bab4dde63d76: Download complete 05:17:26 b85a868b505f: Pull complete 05:17:26 e2be974225ed: Pull complete 05:17:26 339a4e72a1f5: Pull complete 05:17:26 988bab9f4d93: Pull complete 05:17:27 1469e6f7b9e6: Pull complete 05:17:27 eaf3925da568: Pull complete 05:17:29 bab4dde63d76: Pull complete 05:17:29 bde34c3a00c8: Pull complete 05:17:29 b352a97aabf1: Pull complete 05:17:29 4872d77fe225: Pull complete 05:17:29 5851b861e8e6: Pull complete 05:17:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:17:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:29 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:17:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:17:31 $ docker top d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 -eo pid,comm 05:17:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:17:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:31 [ssh-agent] Looking for ssh-agent implementation... 05:17:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:31 $ docker exec d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent 05:17:31 SSH_AUTH_SOCK=/tmp/ssh-M963gu95BXvv/agent.32 05:17:31 SSH_AGENT_PID=38 05:17:31 Running ssh-add (command line suppressed) 05:17:31 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4282817739618662554.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4282817739618662554.key) 05:17:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:32 + git tag --points-at HEAD [Pipeline] } 05:17:32 $ docker exec --env ******** --env ******** d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent -k 05:17:32 unset SSH_AUTH_SOCK; 05:17:32 unset SSH_AGENT_PID; 05:17:32 echo Agent pid 38 killed; 05:17:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:32 [ssh-agent] Looking for ssh-agent implementation... 05:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:32 $ docker exec d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent 05:17:32 SSH_AUTH_SOCK=/tmp/ssh-YcyVFsQleqoB/agent.70 05:17:32 SSH_AGENT_PID=77 05:17:32 Running ssh-add (command line suppressed) 05:17:32 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8489819478825534425.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8489819478825534425.key) 05:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:32 + git semver init 05:17:33 2022-08-15 05:17:33,203 [run_init] DEBUG init version:0.0.0 force:False 05:17:33 2022-08-15 05:17:33,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:17:33 2022-08-15 05:17:33,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:17:33 2022-08-15 05:17:33,205 [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) 05:17:34 2022-08-15 05:17:33,934 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 05:17:34 2022-08-15 05:17:33,935 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 05:17:34 2022-08-15 05:17:33,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:17:34 2022-08-15 05:17:33,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:17:34 2.3.0-dev.10 [Pipeline] } 05:17:34 $ docker exec --env ******** --env ******** d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent -k 05:17:34 unset SSH_AUTH_SOCK; 05:17:34 unset SSH_AGENT_PID; 05:17:34 echo Agent pid 77 killed; 05:17:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:34 + git semver [Pipeline] } 05:17:34 $ docker stop --time=1 d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 05:17:36 $ docker rm -f d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 [Pipeline] // withDockerContainer [Pipeline] sh 05:17:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:17:36 Stashed 1 file(s) [Pipeline] echo 05:17:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.10 [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 05:17:37 provisioning config files... 05:17:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7840343262058568139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:37 ---> docker-login.sh 05:17:37 nexus3.edgexfoundry.org:10001 05:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:37 Configure a credential helper to remove this warning. See 05:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:37 05:17:37 Login Succeeded 05:17:37 nexus3.edgexfoundry.org:10002 05:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:37 Configure a credential helper to remove this warning. See 05:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:37 05:17:37 Login Succeeded 05:17:37 nexus3.edgexfoundry.org:10003 05:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:37 Configure a credential helper to remove this warning. See 05:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:37 05:17:37 Login Succeeded 05:17:37 nexus3.edgexfoundry.org:10004 05:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:37 Configure a credential helper to remove this warning. See 05:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:37 05:17:37 Login Succeeded 05:17:37 docker.io 05:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:38 Configure a credential helper to remove this warning. See 05:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:38 05:17:38 Login Succeeded 05:17:38 ---> docker-login.sh ends [Pipeline] } 05:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:38 ========================================================= 05:17:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:17:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:17:38 Sending build context to Docker daemon 5.448MB 05:17:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:17:38 Step 2/12 : FROM ${BASE} AS builder 05:17:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:17:38 2408cc74d12b: Pulling fs layer 05:17:38 ea60b727a1ce: Pulling fs layer 05:17:38 30c4a7721957: Pulling fs layer 05:17:38 370296b7ddb6: Pulling fs layer 05:17:38 7c6cee850709: Pulling fs layer 05:17:38 39a5fcdaea64: Pulling fs layer 05:17:38 d94ebbe4e438: Pulling fs layer 05:17:38 bcfd1f05c69d: Pulling fs layer 05:17:38 59ccb84bbe0f: Pulling fs layer 05:17:38 370296b7ddb6: Waiting 05:17:38 7c6cee850709: Waiting 05:17:38 39a5fcdaea64: Waiting 05:17:38 59ccb84bbe0f: Waiting 05:17:38 d94ebbe4e438: Waiting 05:17:38 bcfd1f05c69d: Waiting 05:17:38 30c4a7721957: Download complete 05:17:38 ea60b727a1ce: Verifying Checksum 05:17:38 ea60b727a1ce: Download complete 05:17:38 7c6cee850709: Verifying Checksum 05:17:38 7c6cee850709: Download complete 05:17:38 39a5fcdaea64: Verifying Checksum 05:17:38 39a5fcdaea64: Download complete 05:17:38 2408cc74d12b: Verifying Checksum 05:17:38 2408cc74d12b: Download complete 05:17:38 d94ebbe4e438: Download complete 05:17:38 2408cc74d12b: Pull complete 05:17:39 ea60b727a1ce: Pull complete 05:17:39 30c4a7721957: Pull complete 05:17:39 59ccb84bbe0f: Verifying Checksum 05:17:39 59ccb84bbe0f: Download complete 05:17:39 bcfd1f05c69d: Verifying Checksum 05:17:39 bcfd1f05c69d: Download complete 05:17:39 370296b7ddb6: Verifying Checksum 05:17:39 370296b7ddb6: Download complete 05:17:44 370296b7ddb6: Pull complete 05:17:44 7c6cee850709: Pull complete 05:17:44 39a5fcdaea64: Pull complete 05:17:44 d94ebbe4e438: Pull complete 05:17:46 bcfd1f05c69d: Pull complete 05:17:47 59ccb84bbe0f: Pull complete 05:17:47 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:17:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:17:47 ---> a4fb48ad2a94 05:17:47 Step 3/12 : ARG MAKE='make build' 05:17:49 ---> Running in 46cae7348a02 05:17:49 Removing intermediate container 46cae7348a02 05:17:49 ---> 327f45376b02 05:17:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:17:49 ---> Running in eac5dbf1e172 05:17:49 Removing intermediate container eac5dbf1e172 05:17:49 ---> 9546aef006af 05:17:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:17:49 ---> Running in ddcb6f96f68e 05:17:49 Removing intermediate container ddcb6f96f68e 05:17:49 ---> f9a8bc95a0e4 05:17:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:17:49 ---> Running in a33fdcfa6b25 05:17:49 Removing intermediate container a33fdcfa6b25 05:17:49 ---> 65a2568213f6 05:17:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:17:49 ---> Running in 2671f9ce7235 05:17:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:17:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:17:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:17:51 (2/4) Installing libedit (20210910.3.1-r0) 05:17:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:17:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:17:51 Executing busybox-1.35.0-r13.trigger 05:17:51 OK: 216 MiB in 55 packages 05:17:51 Still waiting to schedule task 05:17:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:17:52 Removing intermediate container 2671f9ce7235 05:17:52 ---> 14ce42572b70 05:17:52 Step 8/12 : WORKDIR /device-snmp-go 05:17:52 ---> Running in 2854d5195b24 05:17:52 Removing intermediate container 2854d5195b24 05:17:52 ---> 3d0c675cb011 05:17:52 Step 9/12 : COPY go.mod vendor* ./ 05:17:52 ---> b71ade2b9da8 05:17:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:52 ---> Running in 81d57384be43 05:18:07 Removing intermediate container 81d57384be43 05:18:07 ---> 3c0b4a2800a2 05:18:07 Step 11/12 : COPY . . 05:18:07 ---> b7faf86fe10c 05:18:07 Step 12/12 : RUN ${MAKE} 05:18:07 ---> Running in e61e0ca63f52 05:18:08 noop 05:18:08 Removing intermediate container e61e0ca63f52 05:18:08 ---> b6fb7e15ef3c 05:18:08 Successfully built b6fb7e15ef3c 05:18:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:09 + docker inspect -f . ci-base-image-x86_64 05:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:09 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:18:09 $ docker top 0610fbbf92f09e1af689dc4e35ac3407f3c867f7062ac3dd9ab4f0112b88f955 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:10 + go version 05:18:10 go version go1.18.3 linux/amd64 [Pipeline] } 05:18:10 $ docker stop --time=1 0610fbbf92f09e1af689dc4e35ac3407f3c867f7062ac3dd9ab4f0112b88f955 05:18:11 $ docker rm -f 0610fbbf92f09e1af689dc4e35ac3407f3c867f7062ac3dd9ab4f0112b88f955 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:11 + docker inspect -f . ci-base-image-x86_64 05:18:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:11 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:18:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:18:12 $ docker top b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 05:18:13 + make test 05:18:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:18:13 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:18:23 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:18:23 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 05:18:31 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." 05:18:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:18:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:34 ./bin/test-attribution-txt.sh 05:18:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:18:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:18:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:18:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:18:34 $ docker stop --time=1 b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 05:18:35 $ docker rm -f b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:18:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:18:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:18:36 + ls -al . 05:18:36 total 172 05:18:36 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:18 . 05:18:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:17 .. 05:18:36 -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:17 .dockerignore 05:18:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:18 .git 05:18:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 .github 05:18:36 -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:17 .gitignore 05:18:36 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:17 .golangci.yml 05:18:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:17 .semver 05:18:36 -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:17 Attribution.txt 05:18:36 -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:17 CHANGELOG.md 05:18:36 -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:17 Dockerfile 05:18:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:17 GOVERNANCE.md 05:18:36 -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:17 Jenkinsfile 05:18:36 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:17 LICENSE 05:18:36 -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:17 Makefile 05:18:36 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:17 OWNERS.md 05:18:36 -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:17 README.md 05:18:36 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:17 VERSION 05:18:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:17 bin 05:18:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 cmd 05:18:36 -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:18 coverage.out 05:18:36 -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:17 go.mod 05:18:36 -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:17 go.sum 05:18:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 internal 05:18:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:17 snap 05:18:36 -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:37 + 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=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 --label arch=amd64 --label version=2.3.0-dev.10 . 05:18:37 Sending build context to Docker daemon 5.456MB 05:18:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:18:37 Step 2/24 : FROM ${BASE} AS builder 05:18:37 ---> b6fb7e15ef3c 05:18:37 Step 3/24 : ARG MAKE='make build' 05:18:37 ---> Running in 3226b79ce9dd 05:18:37 Removing intermediate container 3226b79ce9dd 05:18:37 ---> 852929b6b814 05:18:37 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:18:37 ---> Running in a8fa0f36d7ed 05:18:37 Removing intermediate container a8fa0f36d7ed 05:18:37 ---> c8260f54387c 05:18:37 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:18:37 ---> Running in a5645baf36c6 05:18:37 Removing intermediate container a5645baf36c6 05:18:37 ---> 1ed83df74a03 05:18:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:18:37 ---> Running in e7cce641c00f 05:18:38 Removing intermediate container e7cce641c00f 05:18:38 ---> 0995b45f4003 05:18:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:18:38 ---> Running in 6636d70ea8cc 05:18:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:18:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:18:40 OK: 216 MiB in 55 packages 05:18:40 Removing intermediate container 6636d70ea8cc 05:18:40 ---> 3537f106073a 05:18:40 Step 8/24 : WORKDIR /device-snmp-go 05:18:40 ---> Running in 1cb0d5ff7a0b 05:18:40 Removing intermediate container 1cb0d5ff7a0b 05:18:40 ---> 3ad7932ae5f1 05:18:40 Step 9/24 : COPY go.mod vendor* ./ 05:18:40 ---> 63a14e2c285b 05:18:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:40 ---> Running in 6cdcbc464712 05:18:41 Removing intermediate container 6cdcbc464712 05:18:41 ---> 14d2a3611460 05:18:41 Step 11/24 : COPY . . 05:18:41 ---> ae48521efe1e 05:18:41 Step 12/24 : RUN ${MAKE} 05:18:41 ---> Running in 4dc188ff6082 05:18:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:19:04 Removing intermediate container 4dc188ff6082 05:19:04 ---> df6307373a44 05:19:04 Step 13/24 : FROM alpine:3.16 05:19:04 3.16: Pulling from library/alpine 05:19:04 213ec9aee27d: Pulling fs layer 05:19:04 213ec9aee27d: Verifying Checksum 05:19:04 213ec9aee27d: Download complete 05:19:04 213ec9aee27d: Pull complete 05:19:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:19:04 Status: Downloaded newer image for alpine:3.16 05:19:04 ---> 9c6f07244728 05:19:04 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:19:04 ---> Running in 8e2ca1631bf3 05:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:19:05 (1/6) Installing dumb-init (1.2.5-r1) 05:19:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:19:05 (3/6) Installing libsodium (1.0.18-r0) 05:19:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:19:05 (5/6) Installing libzmq (4.3.4-r0) 05:19:05 (6/6) Installing zeromq (4.3.4-r0) 05:19:05 Executing busybox-1.35.0-r17.trigger 05:19:05 OK: 8 MiB in 20 packages 05:19:05 Removing intermediate container 8e2ca1631bf3 05:19:05 ---> 3ab527695e00 05:19:05 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:19:06 ---> 6d0a010c6113 05:19:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:19:06 ---> fbb20bcd9081 05:19:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:19:06 ---> 978341f9ff8f 05:19:06 Step 18/24 : EXPOSE 59993 05:19:06 ---> Running in 6ff3a64c44c2 05:19:06 Removing intermediate container 6ff3a64c44c2 05:19:06 ---> 5fbad612b89c 05:19:06 Step 19/24 : EXPOSE 161 05:19:06 ---> Running in bb5ed85040b7 05:19:06 Removing intermediate container bb5ed85040b7 05:19:06 ---> 17f7064715a3 05:19:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:19:06 ---> Running in d0428b65416a 05:19:06 Removing intermediate container d0428b65416a 05:19:06 ---> 92c7974f7b7e 05:19:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:19:06 ---> Running in 867cdaa4b4d3 05:19:06 Removing intermediate container 867cdaa4b4d3 05:19:06 ---> 5391d066ff93 05:19:06 Step 22/24 : LABEL arch=amd64 05:19:07 ---> Running in 83b0e4e3e064 05:19:07 Removing intermediate container 83b0e4e3e064 05:19:07 ---> fcb57c55f623 05:19:07 Step 23/24 : LABEL git_sha=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:19:07 ---> Running in 6b76980f3a64 05:19:07 Removing intermediate container 6b76980f3a64 05:19:07 ---> eb01ee894fe9 05:19:07 Step 24/24 : LABEL version=2.3.0-dev.10 05:19:07 ---> Running in 920bc5b9e37b 05:19:07 Removing intermediate container 920bc5b9e37b 05:19:07 ---> 1876a3e9add2 05:19:07 [Warning] One or more build-args [ARCH] were not consumed 05:19:07 Successfully built 1876a3e9add2 05:19:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:07 provisioning config files... 05:19:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1191478402640027345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:07 ---> docker-login.sh 05:19:07 nexus3.edgexfoundry.org:10001 05:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:07 Configure a credential helper to remove this warning. See 05:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:07 05:19:07 Login Succeeded 05:19:07 nexus3.edgexfoundry.org:10002 05:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:08 Configure a credential helper to remove this warning. See 05:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:08 05:19:08 Login Succeeded 05:19:08 nexus3.edgexfoundry.org:10003 05:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:08 Configure a credential helper to remove this warning. See 05:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:08 05:19:08 Login Succeeded 05:19:08 nexus3.edgexfoundry.org:10004 05:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:08 Configure a credential helper to remove this warning. See 05:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:08 05:19:08 Login Succeeded 05:19:08 docker.io 05:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:08 Configure a credential helper to remove this warning. See 05:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:08 05:19:08 Login Succeeded 05:19:08 ---> docker-login.sh ends [Pipeline] } 05:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:19:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:08 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:19:08 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:19:08 latest 05:19:08 2.3.0-dev.10 05:19:08 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:19:08 main 05:19:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:19:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:19:09 b9fc6dd82998: Preparing 05:19:09 74885571ddc8: Preparing 05:19:09 229e2f29cf87: Preparing 05:19:09 988b48aa52c3: Preparing 05:19:09 994393dc58e7: Preparing 05:19:09 994393dc58e7: Layer already exists 05:19:09 74885571ddc8: Pushed 05:19:09 b9fc6dd82998: Pushed 05:19:09 988b48aa52c3: Pushed 05:19:12 229e2f29cf87: Pushed 05:19:12 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:19:12 b9fc6dd82998: Preparing 05:19:13 74885571ddc8: Preparing 05:19:13 229e2f29cf87: Preparing 05:19:13 988b48aa52c3: Preparing 05:19:13 994393dc58e7: Preparing 05:19:13 74885571ddc8: Layer already exists 05:19:13 988b48aa52c3: Layer already exists 05:19:13 b9fc6dd82998: Layer already exists 05:19:13 229e2f29cf87: Layer already exists 05:19:13 994393dc58e7: Layer already exists 05:19:13 latest: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.10 05:19:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:19:13 b9fc6dd82998: Preparing 05:19:13 74885571ddc8: Preparing 05:19:13 229e2f29cf87: Preparing 05:19:13 988b48aa52c3: Preparing 05:19:13 994393dc58e7: Preparing 05:19:13 994393dc58e7: Layer already exists 05:19:13 74885571ddc8: Layer already exists 05:19:13 988b48aa52c3: Layer already exists 05:19:13 229e2f29cf87: Layer already exists 05:19:13 b9fc6dd82998: Layer already exists 05:19:13 2.3.0-dev.10: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:19:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:19:14 b9fc6dd82998: Preparing 05:19:14 74885571ddc8: Preparing 05:19:14 229e2f29cf87: Preparing 05:19:14 988b48aa52c3: Preparing 05:19:14 994393dc58e7: Preparing 05:19:14 988b48aa52c3: Layer already exists 05:19:14 229e2f29cf87: Layer already exists 05:19:14 994393dc58e7: Layer already exists 05:19:14 74885571ddc8: Layer already exists 05:19:14 b9fc6dd82998: Layer already exists 05:19:14 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:19:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:19:15 b9fc6dd82998: Preparing 05:19:15 74885571ddc8: Preparing 05:19:15 229e2f29cf87: Preparing 05:19:15 988b48aa52c3: Preparing 05:19:15 994393dc58e7: Preparing 05:19:15 229e2f29cf87: Layer already exists 05:19:15 988b48aa52c3: Layer already exists 05:19:15 74885571ddc8: Layer already exists 05:19:15 b9fc6dd82998: Layer already exists 05:19:15 994393dc58e7: Layer already exists 05:19:15 main: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:19:15 ===================================================== [Pipeline] echo 05:19:15 taggedImages: 05:19:15 - nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:19:15 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:19:15 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.10 05:19:15 - nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:19:15 - 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 05:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:15 05:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:15 latest: Pulling from edgex-lftools-log-publisher 05:19:15 5eb5b503b376: Pulling fs layer 05:19:15 5c69ac0246d0: Pulling fs layer 05:19:15 ec43610c2a17: Pulling fs layer 05:19:15 3a2ae6a8a46f: Pulling fs layer 05:19:15 33b1e0a273af: Pulling fs layer 05:19:15 5d3b04190fa2: Pulling fs layer 05:19:15 2f39f015ded8: Pulling fs layer 05:19:15 3a2ae6a8a46f: Waiting 05:19:15 33b1e0a273af: Waiting 05:19:15 5d3b04190fa2: Waiting 05:19:15 2f39f015ded8: Waiting 05:19:15 5c69ac0246d0: Verifying Checksum 05:19:15 5c69ac0246d0: Download complete 05:19:15 3a2ae6a8a46f: Verifying Checksum 05:19:15 3a2ae6a8a46f: Download complete 05:19:15 33b1e0a273af: Verifying Checksum 05:19:15 33b1e0a273af: Download complete 05:19:16 5d3b04190fa2: Verifying Checksum 05:19:16 5d3b04190fa2: Download complete 05:19:16 ec43610c2a17: Verifying Checksum 05:19:16 ec43610c2a17: Download complete 05:19:16 5eb5b503b376: Verifying Checksum 05:19:16 5eb5b503b376: Download complete 05:19:16 2f39f015ded8: Download complete 05:19:17 5eb5b503b376: Pull complete 05:19:17 5c69ac0246d0: Pull complete 05:19:18 ec43610c2a17: Pull complete 05:19:18 3a2ae6a8a46f: Pull complete 05:19:18 33b1e0a273af: Pull complete 05:19:18 5d3b04190fa2: Pull complete 05:19:23 2f39f015ded8: Pull complete 05:19:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:23 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:19:25 $ docker top 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:25 ---> job-cost.sh 05:19:25 lf-activate-venv: SKIPPING 05:19:25 INFO: No Stack... 05:19:26 INFO: Retrieving Pricing Info for: v3-standard-8 05:19:26 INFO: Archiving Costs [Pipeline] sh 05:19:26 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 05:19:26 + cut -d, -f6 [Pipeline] lock 05:19:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] 05:19:26 Resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] did not exist. Created. 05:19:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:27 + echo total: 0.2199999988079071 [Pipeline] stash 05:19:27 Stashed 1 file(s) [Pipeline] } 05:19:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:27 $ docker stop --time=1 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa 05:19:28 $ docker rm -f 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22780 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:20:32 Running in /w/workspace/device-snmp-go/41 [Pipeline] { [Pipeline] checkout 05:20:33 Selected Git installation does not exist. Using Default 05:20:33 The recommended git tool is: NONE 05:20:39 using credential edgex-jenkins-ssh 05:20:39 Cloning the remote Git repository 05:20:39 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:20:39 > git init /w/workspace/device-snmp-go/41 # timeout=10 05:20:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:20:39 > git --version # timeout=10 05:20:39 > git --version # 'git version 2.25.1' 05:20:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:40 Avoid second fetch 05:20:40 Checking out Revision bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 (main) 05:20:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:20:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:41 > git config core.sparsecheckout # timeout=10 05:20:41 > git checkout -f bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 05:20:45 Commit message: "Merge pull request #188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:20:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:20:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:46 Dload Upload Total Spent Left Speed 05:20:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 05:20:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:20:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:20:47 + sudo tee /etc/docker/daemon.new 05:20:47 { 05:20:47 "registry-mirrors": [ 05:20:47 "https://nexus3.edgexfoundry.org:10001" 05:20:47 ], 05:20:47 "bip": "10.250.0.254/24", 05:20:47 "hosts": [ 05:20:47 "tcp://0.0.0.0:5555", 05:20:47 "unix:///var/run/docker.sock" 05:20:47 ], 05:20:47 "mtu": 1458, 05:20:47 "selinux-enabled": true, 05:20:47 "seccomp-profile": "/etc/docker/seccomp.json" 05:20:47 } [Pipeline] sh 05:20:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:20:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:06 provisioning config files... 05:21:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/41@tmp/config8900554027948678401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:06 ---> docker-login.sh 05:21:06 nexus3.edgexfoundry.org:10001 05:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:07 Configure a credential helper to remove this warning. See 05:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:07 05:21:07 Login Succeeded 05:21:07 nexus3.edgexfoundry.org:10002 05:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:08 Configure a credential helper to remove this warning. See 05:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:08 05:21:08 Login Succeeded 05:21:08 nexus3.edgexfoundry.org:10003 05:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:08 Configure a credential helper to remove this warning. See 05:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:08 05:21:08 Login Succeeded 05:21:08 nexus3.edgexfoundry.org:10004 05:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:09 Configure a credential helper to remove this warning. See 05:21:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:09 05:21:09 Login Succeeded 05:21:09 docker.io 05:21:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:10 Configure a credential helper to remove this warning. See 05:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:10 05:21:10 Login Succeeded 05:21:10 ---> docker-login.sh ends [Pipeline] } 05:21:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:10 ========================================================= 05:21:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:21:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:11 + 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 . 05:21:11 Sending build context to Docker daemon 2.808MB 05:21:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:21:11 Step 2/12 : FROM ${BASE} AS builder 05:21:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:21:11 b3c136eddcbf: Pulling fs layer 05:21:11 c0a3192eca97: Pulling fs layer 05:21:11 a050256f5b6f: Pulling fs layer 05:21:11 656be50a0ddc: Pulling fs layer 05:21:11 2bbca73fdf42: Pulling fs layer 05:21:11 46d945488cbd: Pulling fs layer 05:21:11 8a5474983e97: Pulling fs layer 05:21:11 656be50a0ddc: Waiting 05:21:11 329c88fbcd65: Pulling fs layer 05:21:11 2bbca73fdf42: Waiting 05:21:11 46d945488cbd: Waiting 05:21:11 8a5474983e97: Waiting 05:21:11 329c88fbcd65: Waiting 05:21:11 a050256f5b6f: Download complete 05:21:11 c0a3192eca97: Verifying Checksum 05:21:11 c0a3192eca97: Download complete 05:21:11 2bbca73fdf42: Verifying Checksum 05:21:11 2bbca73fdf42: Download complete 05:21:11 46d945488cbd: Verifying Checksum 05:21:11 46d945488cbd: Download complete 05:21:11 b3c136eddcbf: Verifying Checksum 05:21:11 b3c136eddcbf: Download complete 05:21:12 b3c136eddcbf: Pull complete 05:21:12 329c88fbcd65: Verifying Checksum 05:21:12 329c88fbcd65: Download complete 05:21:13 c0a3192eca97: Pull complete 05:21:13 a050256f5b6f: Pull complete 05:21:14 8a5474983e97: Verifying Checksum 05:21:14 8a5474983e97: Download complete 05:21:15 656be50a0ddc: Verifying Checksum 05:21:15 656be50a0ddc: Download complete 05:21:27 656be50a0ddc: Pull complete 05:21:27 2bbca73fdf42: Pull complete 05:21:27 46d945488cbd: Pull complete 05:21:34 8a5474983e97: Pull complete 05:21:35 329c88fbcd65: Pull complete 05:21:35 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:21:35 ---> ff4287adb874 05:21:35 Step 3/12 : ARG MAKE='make build' 05:21:37 ---> Running in 270779adeeb7 05:21:37 Removing intermediate container 270779adeeb7 05:21:37 ---> 214343b0c246 05:21:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:21:37 ---> Running in a9d571159a41 05:21:38 Removing intermediate container a9d571159a41 05:21:38 ---> 5ce02598dc5e 05:21:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:21:38 ---> Running in 1035474c53bd 05:21:38 Removing intermediate container 1035474c53bd 05:21:38 ---> 761e752311c9 05:21:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:38 ---> Running in db7c1553e936 05:21:42 Removing intermediate container db7c1553e936 05:21:42 ---> 30d8e156b3fa 05:21:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:21:42 ---> Running in f402797ddfbd 05:21:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:21:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:21:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:21:45 (2/4) Installing libedit (20210910.3.1-r0) 05:21:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:21:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:21:45 Executing busybox-1.35.0-r13.trigger 05:21:45 OK: 226 MiB in 55 packages 05:21:46 Removing intermediate container f402797ddfbd 05:21:46 ---> 28b7f30ce3bf 05:21:46 Step 8/12 : WORKDIR /device-snmp-go 05:21:46 ---> Running in 89de8015ad9a 05:21:46 Removing intermediate container 89de8015ad9a 05:21:46 ---> c416af193d3c 05:21:46 Step 9/12 : COPY go.mod vendor* ./ 05:21:47 ---> 7241cb99dfb6 05:21:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:47 ---> Running in 6f94506ce412 05:22:44 Removing intermediate container 6f94506ce412 05:22:44 ---> e778e14a3e7f 05:22:44 Step 11/12 : COPY . . 05:22:44 ---> cab0f9fc4f4e 05:22:44 Step 12/12 : RUN ${MAKE} 05:22:44 ---> Running in 003d4be48f24 05:22:44 noop 05:22:44 Removing intermediate container 003d4be48f24 05:22:44 ---> 404d19030fa3 05:22:44 Successfully built 404d19030fa3 05:22:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:44 + docker inspect -f . ci-base-image-arm64 05:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:44 prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container 05:22:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/41 -v /w/workspace/device-snmp-go/41:/w/workspace/device-snmp-go/41:rw,z -v /w/workspace/device-snmp-go/41@tmp:/w/workspace/device-snmp-go/41@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 05:22:46 $ docker top a63a77aecc0d645860cb3af5ec4221a539e59c198a53a9da3312e5d0bcbbb313 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:47 + go version 05:22:47 go version go1.18.3 linux/arm64 [Pipeline] } 05:22:47 $ docker stop --time=1 a63a77aecc0d645860cb3af5ec4221a539e59c198a53a9da3312e5d0bcbbb313 05:22:48 $ docker rm -f a63a77aecc0d645860cb3af5ec4221a539e59c198a53a9da3312e5d0bcbbb313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:49 + docker inspect -f . ci-base-image-arm64 05:22:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:49 prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container 05:22:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/41 -v /w/workspace/device-snmp-go/41:/w/workspace/device-snmp-go/41:rw,z -v /w/workspace/device-snmp-go/41@tmp:/w/workspace/device-snmp-go/41@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 05:22:51 $ docker top 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:52 + git config --global --add safe.directory /w/workspace/device-snmp-go/41 [Pipeline] fileExists [Pipeline] sh 05:22:52 + make test 05:22:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:22:54 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:24:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:24:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements 05:24:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:24:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:24:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:24:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:24:34 ./bin/test-attribution-txt.sh 05:24:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:24:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:24:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:24:34 $ docker stop --time=1 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 05:24:36 $ docker rm -f 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 [Pipeline] // withDockerContainer [Pipeline] sh 05:24:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:24:37 Warning: overwriting stash ‘coverage-report’ 05:24:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:38 + ls -al . 05:24:38 total 168 05:24:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:22 . 05:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:20 .. 05:24:38 -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:20 .dockerignore 05:24:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:20 .git 05:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 .github 05:24:38 -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:20 .gitignore 05:24:38 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:20 .golangci.yml 05:24:38 -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:20 Attribution.txt 05:24:38 -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:20 CHANGELOG.md 05:24:38 -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:20 Dockerfile 05:24:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:20 GOVERNANCE.md 05:24:38 -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:20 Jenkinsfile 05:24:38 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:20 LICENSE 05:24:38 -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:20 Makefile 05:24:38 -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:20 OWNERS.md 05:24:38 -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:20 README.md 05:24:38 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:17 VERSION 05:24:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:20 bin 05:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 cmd 05:24:38 -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:24 coverage.out 05:24:38 -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:20 go.mod 05:24:38 -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:20 go.sum 05:24:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 internal 05:24:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:20 snap 05:24:38 -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:38 + 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=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 --label arch=arm64 --label version=2.3.0-dev.10 . 05:24:39 Sending build context to Docker daemon 2.816MB 05:24:39 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:24:39 Step 2/24 : FROM ${BASE} AS builder 05:24:39 ---> 404d19030fa3 05:24:39 Step 3/24 : ARG MAKE='make build' 05:24:39 ---> Running in 5693e316d125 05:24:39 Removing intermediate container 5693e316d125 05:24:39 ---> cbbea8b40ab2 05:24:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:24:40 ---> Running in 4e6c09c2e9ce 05:24:40 Removing intermediate container 4e6c09c2e9ce 05:24:40 ---> a6eee11bd0a1 05:24:40 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:24:40 ---> Running in dde70a0b569c 05:24:40 Removing intermediate container dde70a0b569c 05:24:40 ---> 43197df0302c 05:24:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:24:40 ---> Running in e53ed510b24e 05:24:42 Removing intermediate container e53ed510b24e 05:24:42 ---> 12a65ddd7be8 05:24:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:24:42 ---> Running in 5009dc5e67f4 05:24:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:24:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:24:45 OK: 226 MiB in 55 packages 05:24:46 Removing intermediate container 5009dc5e67f4 05:24:46 ---> f0851c009bdd 05:24:46 Step 8/24 : WORKDIR /device-snmp-go 05:24:46 ---> Running in 8bdea98bb17f 05:24:46 Removing intermediate container 8bdea98bb17f 05:24:46 ---> 988f34e10e41 05:24:46 Step 9/24 : COPY go.mod vendor* ./ 05:24:47 ---> 0a1146531c97 05:24:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:24:47 ---> Running in d25144a43592 05:24:49 Removing intermediate container d25144a43592 05:24:49 ---> cc137d0b3025 05:24:49 Step 11/24 : COPY . . 05:24:50 ---> b3f4520b741f 05:24:50 Step 12/24 : RUN ${MAKE} 05:24:50 ---> Running in 9fe22a531ae4 05:24:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:26:59 Removing intermediate container 9fe22a531ae4 05:26:59 ---> 0297436368fa 05:26:59 Step 13/24 : FROM alpine:3.16 05:26:59 3.16: Pulling from library/alpine 05:26:59 9b18e9b68314: Pulling fs layer 05:26:59 9b18e9b68314: Verifying Checksum 05:26:59 9b18e9b68314: Download complete 05:26:59 9b18e9b68314: Pull complete 05:26:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:26:59 Status: Downloaded newer image for alpine:3.16 05:26:59 ---> a6215f271958 05:26:59 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:26:59 ---> Running in bcdb25ecd348 05:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:27:00 (1/6) Installing dumb-init (1.2.5-r1) 05:27:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:27:00 (3/6) Installing libsodium (1.0.18-r0) 05:27:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:27:00 (5/6) Installing libzmq (4.3.4-r0) 05:27:00 (6/6) Installing zeromq (4.3.4-r0) 05:27:00 Executing busybox-1.35.0-r17.trigger 05:27:00 OK: 8 MiB in 20 packages 05:27:01 Removing intermediate container bcdb25ecd348 05:27:01 ---> 9b275f9bae06 05:27:01 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:27:02 ---> d080933afaec 05:27:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:27:03 ---> d5d2e9b9b24c 05:27:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:27:03 ---> 559cd81f7c2f 05:27:03 Step 18/24 : EXPOSE 59993 05:27:03 ---> Running in 3f5b7e124765 05:27:04 Removing intermediate container 3f5b7e124765 05:27:04 ---> 94c82120e3a3 05:27:04 Step 19/24 : EXPOSE 161 05:27:04 ---> Running in 8ba91e95e431 05:27:04 Removing intermediate container 8ba91e95e431 05:27:04 ---> 11f05adf3a6e 05:27:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:27:04 ---> Running in 5cabd3c09d4a 05:27:04 Removing intermediate container 5cabd3c09d4a 05:27:04 ---> 531ce5e624ed 05:27:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:27:05 ---> Running in 6bd7f75e2e82 05:27:05 Removing intermediate container 6bd7f75e2e82 05:27:05 ---> b19e8ffbfd45 05:27:05 Step 22/24 : LABEL arch=arm64 05:27:05 ---> Running in bc35637ba009 05:27:05 Removing intermediate container bc35637ba009 05:27:05 ---> 6aeedf02618a 05:27:05 Step 23/24 : LABEL git_sha=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:27:05 ---> Running in a67a6112d92f 05:27:05 Removing intermediate container a67a6112d92f 05:27:05 ---> 097062a85b8e 05:27:05 Step 24/24 : LABEL version=2.3.0-dev.10 05:27:06 ---> Running in 0e99b5584e0e 05:27:06 Removing intermediate container 0e99b5584e0e 05:27:06 ---> e3278c6b7089 05:27:06 [Warning] One or more build-args [ARCH] were not consumed 05:27:06 Successfully built e3278c6b7089 05:27:06 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 05:27:06 provisioning config files... 05:27:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/41@tmp/config8595483073515103672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:06 ---> docker-login.sh 05:27:06 nexus3.edgexfoundry.org:10001 05:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:07 Configure a credential helper to remove this warning. See 05:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:07 05:27:07 Login Succeeded 05:27:07 nexus3.edgexfoundry.org:10002 05:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:07 Configure a credential helper to remove this warning. See 05:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:07 05:27:07 Login Succeeded 05:27:07 nexus3.edgexfoundry.org:10003 05:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:08 Configure a credential helper to remove this warning. See 05:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:08 05:27:08 Login Succeeded 05:27:08 nexus3.edgexfoundry.org:10004 05:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:08 Configure a credential helper to remove this warning. See 05:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:08 05:27:08 Login Succeeded 05:27:08 docker.io 05:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:09 Configure a credential helper to remove this warning. See 05:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:09 05:27:09 Login Succeeded 05:27:09 ---> docker-login.sh ends [Pipeline] } 05:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:27:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:27:09 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 05:27:09 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:27:09 latest 05:27:09 2.3.0-dev.10 05:27:09 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:27:09 main 05:27:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:27:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:10 6de331b3ee41: Preparing 05:27:10 73a857598b35: Preparing 05:27:10 a9dd33f5c29d: Preparing 05:27:10 1a7f22180f73: Preparing 05:27:10 5d3e392a13a0: Preparing 05:27:10 5d3e392a13a0: Layer already exists 05:27:10 6de331b3ee41: Pushed 05:27:10 73a857598b35: Pushed 05:27:11 1a7f22180f73: Pushed 05:27:15 a9dd33f5c29d: Pushed 05:27:15 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:27:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:16 6de331b3ee41: Preparing 05:27:16 73a857598b35: Preparing 05:27:16 a9dd33f5c29d: Preparing 05:27:16 1a7f22180f73: Preparing 05:27:16 5d3e392a13a0: Preparing 05:27:16 5d3e392a13a0: Layer already exists 05:27:16 6de331b3ee41: Layer already exists 05:27:16 73a857598b35: Layer already exists 05:27:16 a9dd33f5c29d: Layer already exists 05:27:16 1a7f22180f73: Layer already exists 05:27:16 latest: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.10 05:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:17 6de331b3ee41: Preparing 05:27:17 73a857598b35: Preparing 05:27:17 a9dd33f5c29d: Preparing 05:27:17 1a7f22180f73: Preparing 05:27:17 5d3e392a13a0: Preparing 05:27:17 73a857598b35: Layer already exists 05:27:17 6de331b3ee41: Layer already exists 05:27:17 1a7f22180f73: Layer already exists 05:27:17 a9dd33f5c29d: Layer already exists 05:27:17 5d3e392a13a0: Layer already exists 05:27:17 2.3.0-dev.10: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:18 6de331b3ee41: Preparing 05:27:18 73a857598b35: Preparing 05:27:18 a9dd33f5c29d: Preparing 05:27:18 1a7f22180f73: Preparing 05:27:18 5d3e392a13a0: Preparing 05:27:18 6de331b3ee41: Layer already exists 05:27:18 1a7f22180f73: Layer already exists 05:27:18 a9dd33f5c29d: Layer already exists 05:27:18 73a857598b35: Layer already exists 05:27:18 5d3e392a13a0: Layer already exists 05:27:18 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 05:27:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:27:19 6de331b3ee41: Preparing 05:27:19 73a857598b35: Preparing 05:27:19 a9dd33f5c29d: Preparing 05:27:19 1a7f22180f73: Preparing 05:27:19 5d3e392a13a0: Preparing 05:27:19 a9dd33f5c29d: Layer already exists 05:27:19 1a7f22180f73: Layer already exists 05:27:19 5d3e392a13a0: Layer already exists 05:27:19 6de331b3ee41: Layer already exists 05:27:19 73a857598b35: Layer already exists 05:27:19 main: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:27:19 ===================================================== [Pipeline] echo 05:27:19 taggedImages: 05:27:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 05:27:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:27:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.10 05:27:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 05:27:19 - 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 05:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:20 05:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:20 arm64: Pulling from edgex-lftools-log-publisher 05:27:20 8998bd30e6a1: Pulling fs layer 05:27:20 04944245beec: Pulling fs layer 05:27:20 699f458cf7ca: Pulling fs layer 05:27:20 765212b225bb: Pulling fs layer 05:27:20 f23df028b6ca: Pulling fs layer 05:27:20 d65c8cfc05b1: Pulling fs layer 05:27:20 2437ff75d9bd: Pulling fs layer 05:27:20 2437ff75d9bd: Waiting 05:27:20 f23df028b6ca: Waiting 05:27:20 765212b225bb: Waiting 05:27:20 d65c8cfc05b1: Waiting 05:27:20 04944245beec: Verifying Checksum 05:27:20 04944245beec: Download complete 05:27:20 765212b225bb: Verifying Checksum 05:27:20 765212b225bb: Download complete 05:27:20 f23df028b6ca: Verifying Checksum 05:27:20 f23df028b6ca: Download complete 05:27:20 d65c8cfc05b1: Verifying Checksum 05:27:20 d65c8cfc05b1: Download complete 05:27:20 699f458cf7ca: Verifying Checksum 05:27:20 699f458cf7ca: Download complete 05:27:21 8998bd30e6a1: Verifying Checksum 05:27:21 8998bd30e6a1: Download complete 05:27:23 2437ff75d9bd: Verifying Checksum 05:27:23 2437ff75d9bd: Download complete 05:27:25 8998bd30e6a1: Pull complete 05:27:25 04944245beec: Pull complete 05:27:27 699f458cf7ca: Pull complete 05:27:27 765212b225bb: Pull complete 05:27:28 f23df028b6ca: Pull complete 05:27:28 d65c8cfc05b1: Pull complete 05:27:43 2437ff75d9bd: Pull complete 05:27:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:43 prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container 05:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/41 -v /w/workspace/device-snmp-go/41:/w/workspace/device-snmp-go/41:rw,z -v /w/workspace/device-snmp-go/41@tmp:/w/workspace/device-snmp-go/41@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 05:27:46 $ docker top 68e2da7b1e3baff2f408042d341b04cdf26ff886b2b1fc784ee39981c79cf761 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:47 ---> job-cost.sh 05:27:47 lf-activate-venv: SKIPPING 05:27:47 INFO: No Stack... 05:27:47 INFO: Retrieving Pricing Info for: v3-standard-4 05:27:48 INFO: Archiving Costs [Pipeline] sh 05:27:49 + cat /w/workspace/device-snmp-go/41/archives/cost.csv 05:27:49 + cut -d, -f6 [Pipeline] lock 05:27:49 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] 05:27:49 Resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] did not exist. Created. 05:27:49 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:27:50 /w/workspace/device-snmp-go/41@tmp/durable-a3a0d2b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:27:50 + echo total: 0.10999999940395355 [Pipeline] stash 05:27:50 Warning: overwriting stash ‘stack-cost’ 05:27:50 Stashed 1 file(s) [Pipeline] } 05:27:50 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 05:27:50 $ docker stop --time=1 68e2da7b1e3baff2f408042d341b04cdf26ff886b2b1fc784ee39981c79cf761 05:27:52 $ docker rm -f 68e2da7b1e3baff2f408042d341b04cdf26ff886b2b1fc784ee39981c79cf761 [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 05:27:52 provisioning config files... 05:27:52 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3936297674066614420tmp [Pipeline] { [Pipeline] sh 05:27:53 + set +x 05:27:53 + + curlbash -s -s https://codecov.io/bash -- 05:27:53 05:27:53 05:27:53 _____ _ 05:27:53 / ____| | | 05:27:53 | | ___ __| | ___ ___ _____ __ 05:27:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:27:53 | |___| (_) | (_| | __/ (_| (_) \ V / 05:27:53 \_____\___/ \__,_|\___|\___\___/ \_/ 05:27:53 Bash-1.0.6 05:27:53 05:27:53 05:27:53 ==> git version 2.25.1 found 05:27:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:27:53 Release-Date: 2020-01-08 05:27:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:27:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:27:53 ==> Jenkins CI detected. 05:27:53 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 05:27:53 project root: . 05:27:53 --> token set from env 05:27:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:27:53 ==> Running gcov in . (disable via -X gcov) 05:27:53 ==> Python coveragepy not found 05:27:53 ==> Searching for coverage reports in: 05:27:53 + . 05:27:53 -> Found 1 reports 05:27:53 ==> Detecting git/mercurial file structure 05:27:53 ==> Reading reports 05:27:53 + ./coverage.out bytes=7631 05:27:53 ==> Appending adjustments 05:27:53 https://docs.codecov.io/docs/fixing-reports 05:27:53 + Found adjustments 05:27:53 ==> Gzipping contents 05:27:53 4.0K /tmp/codecov.YD5ozr.gz 05:27:53 ==> Uploading reports 05:27:53 url: https://codecov.io 05:27:53 query: branch=main&commit=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:53 -> Pinging Codecov 05:27:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:53 -> Uploading to 05:27:53 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/6C56EA5C29638FB4528AC87E60AF5AE0/bc9e5fc4f6f386374dc08e9c841744ba7db9ed84/4e71a164-7acd-4850-832c-1245d31f4e5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T052753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=175f393633ebc38409031f8c7f92790c086118c4e988afe1855d9d3559751c67 05:27:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:53 Dload Upload Total Spent Left Speed 05:27:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6762 --:--:-- --:--:-- --:--:-- 6762 05:27:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } 05:27:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:27:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:27:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:54 05:27:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:27:54 df9b9388f04a: Pulling fs layer 05:27:54 52dc419b0ee2: Pulling fs layer 05:27:54 25bc292e5bac: Pulling fs layer 05:27:54 114826534d7a: Pulling fs layer 05:27:54 4657fd5d0bcf: Pulling fs layer 05:27:54 6ad1cebc031e: Pulling fs layer 05:27:54 8a3aa393b2d8: Pulling fs layer 05:27:54 114826534d7a: Waiting 05:27:54 4657fd5d0bcf: Waiting 05:27:54 6ad1cebc031e: Waiting 05:27:54 25bc292e5bac: Verifying Checksum 05:27:54 25bc292e5bac: Download complete 05:27:54 52dc419b0ee2: Download complete 05:27:54 4657fd5d0bcf: Download complete 05:27:54 df9b9388f04a: Verifying Checksum 05:27:54 6ad1cebc031e: Verifying Checksum 05:27:54 6ad1cebc031e: Download complete 05:27:54 df9b9388f04a: Pull complete 05:27:54 52dc419b0ee2: Pull complete 05:27:55 25bc292e5bac: Pull complete 05:27:55 114826534d7a: Verifying Checksum 05:27:55 114826534d7a: Download complete 05:27:55 8a3aa393b2d8: Verifying Checksum 05:27:55 8a3aa393b2d8: Download complete 05:28:00 114826534d7a: Pull complete 05:28:00 4657fd5d0bcf: Pull complete 05:28:00 6ad1cebc031e: Pull complete 05:28:03 8a3aa393b2d8: Pull complete 05:28:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:28:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:03 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:28:05 $ docker top 8fed9ee0b4bdb26e45d3c1734dd607087f322d856e0fedda8470c748c63a7d5f -eo pid,comm [Pipeline] { [Pipeline] echo 05:28:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 05:28:05 + set -o pipefail 05:28:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 05:28:15 05:28:15 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 05:28:15 05:28:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a2c605be-5927-47d9-95be-658cea8449e0 05:28:15 05:28:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:28:15 05:28:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:28:15 05:28:15 [Pipeline] } 05:28:15 $ docker stop --time=1 8fed9ee0b4bdb26e45d3c1734dd607087f322d856e0fedda8470c748c63a7d5f 05:28:17 $ docker rm -f 8fed9ee0b4bdb26e45d3c1734dd607087f322d856e0fedda8470c748c63a7d5f [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 05:28:18 + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] sh 05:28:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:19 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:19 $ docker top 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:20 [ssh-agent] Looking for ssh-agent implementation... 05:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:20 $ docker exec 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 ssh-agent 05:28:20 SSH_AUTH_SOCK=/tmp/ssh-b9zgKl8KWBOZ/agent.33 05:28:20 SSH_AGENT_PID=39 05:28:20 Running ssh-add (command line suppressed) 05:28:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3254949964665587551.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3254949964665587551.key) 05:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:20 + git semver tag 05:28:20 2022-08-15 05:28:20,918 [run_tag] DEBUG tag force:False 05:28:20 2022-08-15 05:28:20,918 [check_head_tag] DEBUG check head tag 05:28:20 2022-08-15 05:28:20,919 [execute] INFO git cat-file --batch-check 05:28:20 2022-08-15 05:28:20,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:28:20 2022-08-15 05:28:20,923 [execute] INFO git cat-file --batch 05:28:20 2022-08-15 05:28:20,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:28:20 2022-08-15 05:28:20,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:20 2022-08-15 05:28:20,934 [execute] INFO git tag -a v2.3.0-dev.10 -m v2.3.0-dev.10 05:28:20 2022-08-15 05:28:20,935 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.10', '-m', 'v2.3.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 05:28:20 2022-08-15 05:28:20,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:20 2.3.0-dev.10 [Pipeline] } 05:28:21 $ docker exec --env ******** --env ******** 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 ssh-agent -k 05:28:21 unset SSH_AUTH_SOCK; 05:28:21 unset SSH_AGENT_PID; 05:28:21 echo Agent pid 39 killed; 05:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:21 + git semver [Pipeline] } 05:28:21 $ docker stop --time=1 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 05:28:23 $ docker rm -f 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:23 05:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:23 0.23.1-centos7: Pulling from edgex-lftools 05:28:23 ab5ef0e58194: Pulling fs layer 05:28:23 9712f1f96733: Pulling fs layer 05:28:23 63f879dbbcfc: Pulling fs layer 05:28:23 0d9ebad4ef96: Pulling fs layer 05:28:23 e9a5061849ea: Pulling fs layer 05:28:23 d747dcd14b5f: Pulling fs layer 05:28:23 2de7ff778b66: Pulling fs layer 05:28:23 0d9ebad4ef96: Waiting 05:28:23 e9a5061849ea: Waiting 05:28:23 d747dcd14b5f: Waiting 05:28:23 2de7ff778b66: Waiting 05:28:23 9712f1f96733: Verifying Checksum 05:28:23 9712f1f96733: Download complete 05:28:23 63f879dbbcfc: Verifying Checksum 05:28:23 63f879dbbcfc: Download complete 05:28:24 e9a5061849ea: Verifying Checksum 05:28:24 e9a5061849ea: Download complete 05:28:24 d747dcd14b5f: Download complete 05:28:24 ab5ef0e58194: Download complete 05:28:24 0d9ebad4ef96: Verifying Checksum 05:28:24 0d9ebad4ef96: Download complete 05:28:24 2de7ff778b66: Verifying Checksum 05:28:24 2de7ff778b66: Download complete 05:28:27 ab5ef0e58194: Pull complete 05:28:27 9712f1f96733: Pull complete 05:28:28 63f879dbbcfc: Pull complete 05:28:32 0d9ebad4ef96: Pull complete 05:28:33 e9a5061849ea: Pull complete 05:28:33 d747dcd14b5f: Pull complete 05:28:34 2de7ff778b66: Pull complete 05:28:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:34 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:28:36 $ docker top d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:28:36 provisioning config files... 05:28:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7108233207306348863tmp 05:28:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2464551764886208069tmp 05:28:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9186311154557724756tmp [Pipeline] { [Pipeline] echo 05:28:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:28:37 ---> sigul-configuration.sh 05:28:37 gpg: directory `/root/.gnupg' created 05:28:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:28:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:28:37 gpg: keyring `/root/.gnupg/secring.gpg' created 05:28:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:28:37 gpg: CAST5 encrypted data 05:28:37 gpg: encrypted with 1 passphrase 05:28:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:28:37 + mkdir /home/jenkins 05:28:37 + mkdir /home/jenkins/sigul [Pipeline] sh 05:28:37 + 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 05:28:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:28:38 ---> sigul-install.sh 05:28:38 Sigul already installed; skipping installation. [Pipeline] sh 05:28:38 + git tag --list 05:28:38 1.0.0 05:28:38 v0.0.0 05:28:38 v1.1.0 05:28:38 v1.1.1 05:28:38 v1.2.2 05:28:38 v1.3.0 05:28:38 v1.3.1 05:28:38 v2.0.0 05:28:38 v2.1.0 05:28:38 v2.1.1 05:28:38 v2.1.1-dev.2 05:28:38 v2.1.1-dev.3 05:28:38 v2.2.0 05:28:38 v2.2.1-dev.1 05:28:38 v2.2.1-dev.2 05:28:38 v2.2.1-dev.3 05:28:38 v2.2.1-dev.4 05:28:38 v2.2.1-dev.5 05:28:38 v2.2.1-dev.6 05:28:38 v2.2.1-dev.7 05:28:38 v2.3.0-dev.10 05:28:38 v2.3.0-dev.7 05:28:38 v2.3.0-dev.8 05:28:38 v2.3.0-dev.9 [Pipeline] sh 05:28:38 + lftools sign git-tag v2.3.0-dev.10 05:28:39 Signing Git tag with Sigul... 05:28:39 Signing v2.3.0-dev.10 [Pipeline] echo 05:28:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:28:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:28:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:28:40 $ docker stop --time=1 d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da 05:28:41 $ docker rm -f d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:28:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:42 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:42 $ docker top 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:42 [ssh-agent] Looking for ssh-agent implementation... 05:28:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:42 $ docker exec 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 ssh-agent 05:28:43 SSH_AUTH_SOCK=/tmp/ssh-lAUkiLQoO7wA/agent.32 05:28:43 SSH_AGENT_PID=38 05:28:43 Running ssh-add (command line suppressed) 05:28:43 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3193149495172238866.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3193149495172238866.key) 05:28:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:43 + git semver bump pre 05:28:43 2022-08-15 05:28:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:43 2022-08-15 05:28:43,733 [bump_version] DEBUG bumping version:2.3.0-dev.10 on axis:pre with prefix:dev 05:28:43 2022-08-15 05:28:43,733 [bump_version] DEBUG bumped version:2.3.0-dev.11 05:28:43 2022-08-15 05:28:43,733 [write_version] DEBUG write version:2.3.0-dev.11 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 05:28:43 2022-08-15 05:28:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:43 2022-08-15 05:28:43,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:43 2022-08-15 05:28:43,735 [execute] INFO git cat-file --batch-check 05:28:43 2022-08-15 05:28:43,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:43 2022-08-15 05:28:43,741 [execute] INFO git cat-file --batch 05:28:43 2022-08-15 05:28:43,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:43 2022-08-15 05:28:43,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:43 2.3.0-dev.11 [Pipeline] } 05:28:43 $ docker exec --env ******** --env ******** 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 ssh-agent -k 05:28:43 unset SSH_AUTH_SOCK; 05:28:43 unset SSH_AGENT_PID; 05:28:43 echo Agent pid 38 killed; 05:28:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:44 + git semver [Pipeline] } 05:28:44 $ docker stop --time=1 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 05:28:45 $ docker rm -f 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 [Pipeline] // withDockerContainer [Pipeline] sh 05:28:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:46 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:47 $ docker top 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:47 [ssh-agent] Looking for ssh-agent implementation... 05:28:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:47 $ docker exec 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 ssh-agent 05:28:47 SSH_AUTH_SOCK=/tmp/ssh-1Acf9xRQvmJa/agent.34 05:28:47 SSH_AGENT_PID=41 05:28:47 Running ssh-add (command line suppressed) 05:28:47 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8108277673064315664.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8108277673064315664.key) 05:28:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:47 + git semver push 05:28:48 2022-08-15 05:28:48,107 [run_push] DEBUG push 05:28:48 2022-08-15 05:28:48,108 [execute] INFO git cat-file --batch-check 05:28:48 2022-08-15 05:28:48,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:48 2022-08-15 05:28:48,111 [execute] INFO git rev-list d3b4dcc8ae4853305cccfb2ec712d78045090c91 -- 05:28:48 2022-08-15 05:28:48,112 [execute] DEBUG Popen(['git', 'rev-list', 'd3b4dcc8ae4853305cccfb2ec712d78045090c91', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:48 2022-08-15 05:28:48,119 [execute] INFO git fetch -v origin 05:28:48 2022-08-15 05:28:48,120 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:28:48 2022-08-15 05:28:48,589 [run_push] DEBUG no remote changes detected 05:28:48 2022-08-15 05:28:48,589 [execute] INFO git push origin semver 05:28:48 2022-08-15 05:28:48,590 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:49 2022-08-15 05:28:49,326 [run_push] DEBUG push all version tags 05:28:49 2022-08-15 05:28:49,327 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:28:49 2022-08-15 05:28:49,328 [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) 05:28:50 2022-08-15 05:28:49,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:28:50 2.3.0-dev.11 [Pipeline] } 05:28:50 $ docker exec --env ******** --env ******** 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 ssh-agent -k 05:28:50 unset SSH_AUTH_SOCK; 05:28:50 unset SSH_AGENT_PID; 05:28:50 echo Agent pid 41 killed; 05:28:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:50 + git semver [Pipeline] } 05:28:51 $ docker stop --time=1 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 05:28:52 $ docker rm -f 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 [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 05:28:52 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 05:28:52 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:28:52 total 16 05:28:52 drwxr-xr-x 3 root root 4096 Aug 15 05:19 . 05:28:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:28 .. 05:28:52 drwxr-xr-x 2 root root 4096 Aug 15 05:19 cost 05:28:52 -rw-r--r-- 1 root root 85 Aug 15 05:19 cost.csv 05:28:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:28:52 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:28:52 total 16 05:28:52 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:19 . 05:28:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:28 .. 05:28:52 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:19 cost 05:28:52 -rw-r--r-- 1 jenkins jenkins 85 Aug 15 05:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:28:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:28:54 ---> package-listing.sh 05:28:54 ++ facter osfamily 05:28:54 ++ tr '[:upper:]' '[:lower:]' 05:28:54 + OS_FAMILY=debian 05:28:54 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 05:28:54 + START_PACKAGES=/tmp/packages_start.txt 05:28:54 + END_PACKAGES=/tmp/packages_end.txt 05:28:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:28:54 + PACKAGES=/tmp/packages_start.txt 05:28:54 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:28:54 + PACKAGES=/tmp/packages_end.txt 05:28:54 + case "${OS_FAMILY}" in 05:28:54 + dpkg -l 05:28:54 + grep '^ii' 05:28:54 + '[' -f /tmp/packages_start.txt ']' 05:28:54 + '[' -f /tmp/packages_end.txt ']' 05:28:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:28:54 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:28:54 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 05:28:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 05:28:54 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 05:28:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:28:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:55 prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container 05:28:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:28:55 $ docker top b8ce6e9baf0a3a452527dfbf9df51407e4693b10550c0dd27385d3887775d579 -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:55 + touch /tmp/pre-build-complete [Pipeline] sh 05:28:56 + mkdir -p /var/log/sysstat [Pipeline] sh 05:28:56 + ls /var/log/sa-host 05:28:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:56 provisioning config files... 05:28:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3085693727266504895tmp [Pipeline] { [Pipeline] echo 05:28:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> create-netrc.sh [Pipeline] } 05:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> python-tools-install.sh [Pipeline] echo 05:28:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> sudo-logs.sh 05:28:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:28:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> job-cost.sh 05:28:57 lf-activate-venv: SKIPPING 05:28:57 DEBUG: total: 0.2199999988079071 05:28:57 INFO: Retrieving Stack Cost... 05:28:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:28:58 INFO: Archiving Costs [Pipeline] echo 05:28:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:28:59 ---> logs-deploy.sh 05:28:59 lf-activate-venv: SKIPPING 05:28:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/41 05:28:59 INFO: archiving workspace using pattern(s): 05:29:00 Archives upload complete. 05:29:00 INFO: archiving logs to Nexus