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 [2022-08-15T05:17:18.675Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T05:17:18.729Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T05:17:18.746Z] ========================================================= [2022-08-15T05:17:18.747Z] EdgeX Global Pipelines Version Info [2022-08-15T05:17:18.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:17:19.527Z] ------------------- [2022-08-15T05:17:19.527Z] stable info: [2022-08-15T05:17:19.527Z] ------------------- [2022-08-15T05:17:19.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:17:19.527Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:17:19.527Z] Message: update stable to v1.0.238 [2022-08-15T05:17:20.100Z] ------------------- [2022-08-15T05:17:20.100Z] experimental info: [2022-08-15T05:17:20.100Z] ------------------- [2022-08-15T05:17:20.100Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:17:20.100Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:17:20.100Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T05:17:20.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-08-15T05:17:20.359Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-08-15T05:17:20.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T05:17:20.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T05:17:20.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T05:17:20.420Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T05:17:20.429Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T05:17:20.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T05:17:20.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T05:17:20.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T05:17:20.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T05:17:20.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-08-15T05:17:20.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T05:17:20.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T05:17:20.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:17:20.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:17:20.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:17:20.567Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:17:20.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T05:17:20.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T05:17:20.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T05:17:20.613Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T05:17:20.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T05:17:20.635Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T05:17:20.647Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T05:17:20.658Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T05:17:20.672Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T05:17:20.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-15T05:17:20.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-15T05:17:20.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-15T05:17:20.717Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo [2022-08-15T05:17:20.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc9e5fc [Pipeline] echo [2022-08-15T05:17:20.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:17:20.784Z] provisioning config files... [2022-08-15T05:17:20.798Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8335460263790628678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:17:21.114Z] ---> docker-login.sh [2022-08-15T05:17:21.114Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:17:21.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:21.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:21.377Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:21.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:21.377Z] [2022-08-15T05:17:21.377Z] Login Succeeded [2022-08-15T05:17:21.378Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:17:21.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:21.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:21.646Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:21.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:21.646Z] [2022-08-15T05:17:21.646Z] Login Succeeded [2022-08-15T05:17:21.646Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:17:21.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:21.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:21.646Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:21.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:21.646Z] [2022-08-15T05:17:21.646Z] Login Succeeded [2022-08-15T05:17:21.646Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:17:21.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:21.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:21.907Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:21.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:21.907Z] [2022-08-15T05:17:21.907Z] Login Succeeded [2022-08-15T05:17:21.907Z] docker.io [2022-08-15T05:17:21.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:22.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:22.169Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:22.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:22.169Z] [2022-08-15T05:17:22.169Z] Login Succeeded [2022-08-15T05:17:22.169Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:17:22.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T05:17:22.559Z] + git rev-list -1 --merges bc9e5fc4f6f386374dc08e9c841744ba7db9ed84~1..bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo [2022-08-15T05:17:22.590Z] -----------> git rev-list -1 --merges bc9e5fc4f6f386374dc08e9c841744ba7db9ed84~1..bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:17:22.590Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [false] [Pipeline] sh [2022-08-15T05:17:22.883Z] + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo [2022-08-15T05:17:22.900Z] ========================================================= [2022-08-15T05:17:22.900Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T05:17:22.900Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:17:23.236Z] + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] echo [2022-08-15T05:17:23.249Z] [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 [2022-08-15T05:17:23.260Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T05:17:23.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:17:23.609Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T05:17:23.609Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T05:17:23.609Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T05:17:23.609Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T05:17:23.609Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T05:17:23.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:23.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:17:23.958Z] [2022-08-15T05:17:23.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:24.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:17:24.260Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T05:17:24.260Z] b85a868b505f: Pulling fs layer [2022-08-15T05:17:24.260Z] e2be974225ed: Pulling fs layer [2022-08-15T05:17:24.260Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T05:17:24.260Z] 988bab9f4d93: Pulling fs layer [2022-08-15T05:17:24.260Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T05:17:24.260Z] eaf3925da568: Pulling fs layer [2022-08-15T05:17:24.260Z] bab4dde63d76: Pulling fs layer [2022-08-15T05:17:24.260Z] bde34c3a00c8: Pulling fs layer [2022-08-15T05:17:24.260Z] b352a97aabf1: Pulling fs layer [2022-08-15T05:17:24.260Z] 4872d77fe225: Pulling fs layer [2022-08-15T05:17:24.260Z] 988bab9f4d93: Waiting [2022-08-15T05:17:24.260Z] bab4dde63d76: Waiting [2022-08-15T05:17:24.260Z] 5851b861e8e6: Pulling fs layer [2022-08-15T05:17:24.260Z] 4872d77fe225: Waiting [2022-08-15T05:17:24.260Z] 5851b861e8e6: Waiting [2022-08-15T05:17:24.260Z] b352a97aabf1: Waiting [2022-08-15T05:17:24.260Z] bde34c3a00c8: Waiting [2022-08-15T05:17:24.260Z] 1469e6f7b9e6: Waiting [2022-08-15T05:17:24.260Z] e2be974225ed: Verifying Checksum [2022-08-15T05:17:24.260Z] e2be974225ed: Download complete [2022-08-15T05:17:24.260Z] 988bab9f4d93: Verifying Checksum [2022-08-15T05:17:24.260Z] 988bab9f4d93: Download complete [2022-08-15T05:17:24.520Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T05:17:24.520Z] 1469e6f7b9e6: Download complete [2022-08-15T05:17:24.520Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T05:17:24.520Z] 339a4e72a1f5: Download complete [2022-08-15T05:17:24.520Z] eaf3925da568: Verifying Checksum [2022-08-15T05:17:24.520Z] eaf3925da568: Download complete [2022-08-15T05:17:24.520Z] bde34c3a00c8: Verifying Checksum [2022-08-15T05:17:24.520Z] bde34c3a00c8: Download complete [2022-08-15T05:17:24.520Z] b352a97aabf1: Download complete [2022-08-15T05:17:24.520Z] 4872d77fe225: Verifying Checksum [2022-08-15T05:17:24.520Z] 4872d77fe225: Download complete [2022-08-15T05:17:24.520Z] 5851b861e8e6: Verifying Checksum [2022-08-15T05:17:24.520Z] 5851b861e8e6: Download complete [2022-08-15T05:17:24.520Z] b85a868b505f: Verifying Checksum [2022-08-15T05:17:24.520Z] b85a868b505f: Download complete [2022-08-15T05:17:24.779Z] bab4dde63d76: Verifying Checksum [2022-08-15T05:17:24.779Z] bab4dde63d76: Download complete [2022-08-15T05:17:26.165Z] b85a868b505f: Pull complete [2022-08-15T05:17:26.165Z] e2be974225ed: Pull complete [2022-08-15T05:17:26.738Z] 339a4e72a1f5: Pull complete [2022-08-15T05:17:26.738Z] 988bab9f4d93: Pull complete [2022-08-15T05:17:27.000Z] 1469e6f7b9e6: Pull complete [2022-08-15T05:17:27.000Z] eaf3925da568: Pull complete [2022-08-15T05:17:29.560Z] bab4dde63d76: Pull complete [2022-08-15T05:17:29.560Z] bde34c3a00c8: Pull complete [2022-08-15T05:17:29.560Z] b352a97aabf1: Pull complete [2022-08-15T05:17:29.560Z] 4872d77fe225: Pull complete [2022-08-15T05:17:29.560Z] 5851b861e8e6: Pull complete [2022-08-15T05:17:29.560Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T05:17:29.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:17:29.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:17:29.673Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:17:29.720Z] $ 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 [2022-08-15T05:17:31.223Z] $ docker top d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 -eo pid,comm [2022-08-15T05:17:31.292Z] 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). [2022-08-15T05:17:31.292Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:17:31.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:17:31.328Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:17:31.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:17:31.480Z] $ docker exec d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent [2022-08-15T05:17:31.617Z] SSH_AUTH_SOCK=/tmp/ssh-M963gu95BXvv/agent.32 [2022-08-15T05:17:31.617Z] SSH_AGENT_PID=38 [2022-08-15T05:17:31.624Z] Running ssh-add (command line suppressed) [2022-08-15T05:17:31.764Z] 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) [2022-08-15T05:17:31.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:17:32.070Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T05:17:32.097Z] $ docker exec --env ******** --env ******** d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent -k [2022-08-15T05:17:32.216Z] unset SSH_AUTH_SOCK; [2022-08-15T05:17:32.216Z] unset SSH_AGENT_PID; [2022-08-15T05:17:32.216Z] echo Agent pid 38 killed; [2022-08-15T05:17:32.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T05:17:32.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:17:32.256Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:17:32.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:17:32.392Z] $ docker exec d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent [2022-08-15T05:17:32.532Z] SSH_AUTH_SOCK=/tmp/ssh-YcyVFsQleqoB/agent.70 [2022-08-15T05:17:32.532Z] SSH_AGENT_PID=77 [2022-08-15T05:17:32.538Z] Running ssh-add (command line suppressed) [2022-08-15T05:17:32.678Z] 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) [2022-08-15T05:17:32.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:17:32.989Z] + git semver init [2022-08-15T05:17:33.252Z] 2022-08-15 05:17:33,203 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T05:17:33.252Z] 2022-08-15 05:17:33,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-08-15T05:17:33.252Z] 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 [2022-08-15T05:17:33.252Z] 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) [2022-08-15T05:17:34.202Z] 2022-08-15 05:17:33,934 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-08-15T05:17:34.202Z] 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 [2022-08-15T05:17:34.202Z] 2022-08-15 05:17:33,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:17:34.202Z] 2022-08-15 05:17:33,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:17:34.202Z] 2.3.0-dev.10 [Pipeline] } [2022-08-15T05:17:34.219Z] $ docker exec --env ******** --env ******** d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 ssh-agent -k [2022-08-15T05:17:34.335Z] unset SSH_AUTH_SOCK; [2022-08-15T05:17:34.335Z] unset SSH_AGENT_PID; [2022-08-15T05:17:34.335Z] echo Agent pid 77 killed; [2022-08-15T05:17:34.345Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:17:34.657Z] + git semver [Pipeline] } [2022-08-15T05:17:34.938Z] $ docker stop --time=1 d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 [2022-08-15T05:17:36.269Z] $ docker rm -f d38e87304fee45a839bc77e337740b1132ea1e65262e94d60b0d88adc122e019 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:17:36.621Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T05:17:36.872Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T05:17:36.874Z] [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 [2022-08-15T05:17:37.006Z] provisioning config files... [2022-08-15T05:17:37.017Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7840343262058568139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:17:37.320Z] ---> docker-login.sh [2022-08-15T05:17:37.320Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:17:37.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:37.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:37.320Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:37.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:37.320Z] [2022-08-15T05:17:37.320Z] Login Succeeded [2022-08-15T05:17:37.320Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:17:37.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:37.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:37.583Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:37.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:37.583Z] [2022-08-15T05:17:37.583Z] Login Succeeded [2022-08-15T05:17:37.583Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:17:37.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:37.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:37.583Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:37.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:37.583Z] [2022-08-15T05:17:37.583Z] Login Succeeded [2022-08-15T05:17:37.583Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:17:37.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:37.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:37.845Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:37.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:37.845Z] [2022-08-15T05:17:37.845Z] Login Succeeded [2022-08-15T05:17:37.845Z] docker.io [2022-08-15T05:17:37.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:17:38.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:17:38.107Z] Configure a credential helper to remove this warning. See [2022-08-15T05:17:38.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:17:38.107Z] [2022-08-15T05:17:38.107Z] Login Succeeded [2022-08-15T05:17:38.107Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:17:38.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:17:38.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:17:38.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:17:38.201Z] ========================================================= [2022-08-15T05:17:38.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T05:17:38.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:17:38.516Z] + 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 . [2022-08-15T05:17:38.516Z] Sending build context to Docker daemon 5.448MB [2022-08-15T05:17:38.516Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:17:38.516Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T05:17:38.516Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T05:17:38.516Z] 2408cc74d12b: Pulling fs layer [2022-08-15T05:17:38.516Z] ea60b727a1ce: Pulling fs layer [2022-08-15T05:17:38.516Z] 30c4a7721957: Pulling fs layer [2022-08-15T05:17:38.516Z] 370296b7ddb6: Pulling fs layer [2022-08-15T05:17:38.516Z] 7c6cee850709: Pulling fs layer [2022-08-15T05:17:38.516Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T05:17:38.516Z] d94ebbe4e438: Pulling fs layer [2022-08-15T05:17:38.516Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T05:17:38.516Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T05:17:38.516Z] 370296b7ddb6: Waiting [2022-08-15T05:17:38.516Z] 7c6cee850709: Waiting [2022-08-15T05:17:38.516Z] 39a5fcdaea64: Waiting [2022-08-15T05:17:38.516Z] 59ccb84bbe0f: Waiting [2022-08-15T05:17:38.516Z] d94ebbe4e438: Waiting [2022-08-15T05:17:38.516Z] bcfd1f05c69d: Waiting [2022-08-15T05:17:38.516Z] 30c4a7721957: Download complete [2022-08-15T05:17:38.781Z] ea60b727a1ce: Verifying Checksum [2022-08-15T05:17:38.781Z] ea60b727a1ce: Download complete [2022-08-15T05:17:38.781Z] 7c6cee850709: Verifying Checksum [2022-08-15T05:17:38.781Z] 7c6cee850709: Download complete [2022-08-15T05:17:38.781Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T05:17:38.781Z] 39a5fcdaea64: Download complete [2022-08-15T05:17:38.781Z] 2408cc74d12b: Verifying Checksum [2022-08-15T05:17:38.781Z] 2408cc74d12b: Download complete [2022-08-15T05:17:38.781Z] d94ebbe4e438: Download complete [2022-08-15T05:17:38.781Z] 2408cc74d12b: Pull complete [2022-08-15T05:17:39.045Z] ea60b727a1ce: Pull complete [2022-08-15T05:17:39.045Z] 30c4a7721957: Pull complete [2022-08-15T05:17:39.045Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T05:17:39.045Z] 59ccb84bbe0f: Download complete [2022-08-15T05:17:39.618Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T05:17:39.618Z] bcfd1f05c69d: Download complete [2022-08-15T05:17:39.618Z] 370296b7ddb6: Verifying Checksum [2022-08-15T05:17:39.618Z] 370296b7ddb6: Download complete [2022-08-15T05:17:44.899Z] 370296b7ddb6: Pull complete [2022-08-15T05:17:44.899Z] 7c6cee850709: Pull complete [2022-08-15T05:17:44.899Z] 39a5fcdaea64: Pull complete [2022-08-15T05:17:44.899Z] d94ebbe4e438: Pull complete [2022-08-15T05:17:46.811Z] bcfd1f05c69d: Pull complete [2022-08-15T05:17:47.381Z] 59ccb84bbe0f: Pull complete [2022-08-15T05:17:47.382Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T05:17:47.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T05:17:47.382Z] ---> a4fb48ad2a94 [2022-08-15T05:17:47.382Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T05:17:49.315Z] ---> Running in 46cae7348a02 [2022-08-15T05:17:49.315Z] Removing intermediate container 46cae7348a02 [2022-08-15T05:17:49.315Z] ---> 327f45376b02 [2022-08-15T05:17:49.315Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:17:49.315Z] ---> Running in eac5dbf1e172 [2022-08-15T05:17:49.315Z] Removing intermediate container eac5dbf1e172 [2022-08-15T05:17:49.315Z] ---> 9546aef006af [2022-08-15T05:17:49.315Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:17:49.315Z] ---> Running in ddcb6f96f68e [2022-08-15T05:17:49.315Z] Removing intermediate container ddcb6f96f68e [2022-08-15T05:17:49.315Z] ---> f9a8bc95a0e4 [2022-08-15T05:17:49.315Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:17:49.315Z] ---> Running in a33fdcfa6b25 [2022-08-15T05:17:49.894Z] Removing intermediate container a33fdcfa6b25 [2022-08-15T05:17:49.894Z] ---> 65a2568213f6 [2022-08-15T05:17:49.894Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:17:49.894Z] ---> Running in 2671f9ce7235 [2022-08-15T05:17:50.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:51.090Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:17:51.662Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:17:51.662Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T05:17:51.662Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:17:51.923Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:17:51.923Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:17:51.923Z] OK: 216 MiB in 55 packages [2022-08-15T05:17:51.968Z] Still waiting to schedule task [2022-08-15T05:17:51.968Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T05:17:52.492Z] Removing intermediate container 2671f9ce7235 [2022-08-15T05:17:52.492Z] ---> 14ce42572b70 [2022-08-15T05:17:52.492Z] Step 8/12 : WORKDIR /device-snmp-go [2022-08-15T05:17:52.492Z] ---> Running in 2854d5195b24 [2022-08-15T05:17:52.492Z] Removing intermediate container 2854d5195b24 [2022-08-15T05:17:52.492Z] ---> 3d0c675cb011 [2022-08-15T05:17:52.492Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T05:17:52.754Z] ---> b71ade2b9da8 [2022-08-15T05:17:52.754Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:17:52.754Z] ---> Running in 81d57384be43 [2022-08-15T05:18:07.674Z] Removing intermediate container 81d57384be43 [2022-08-15T05:18:07.674Z] ---> 3c0b4a2800a2 [2022-08-15T05:18:07.674Z] Step 11/12 : COPY . . [2022-08-15T05:18:07.934Z] ---> b7faf86fe10c [2022-08-15T05:18:07.934Z] Step 12/12 : RUN ${MAKE} [2022-08-15T05:18:07.934Z] ---> Running in e61e0ca63f52 [2022-08-15T05:18:08.508Z] noop [2022-08-15T05:18:08.767Z] Removing intermediate container e61e0ca63f52 [2022-08-15T05:18:08.767Z] ---> b6fb7e15ef3c [2022-08-15T05:18:08.767Z] Successfully built b6fb7e15ef3c [2022-08-15T05:18:08.767Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:09.089Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:18:09.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:18:09.185Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:18:09.221Z] $ 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 [2022-08-15T05:18:09.644Z] $ docker top 0610fbbf92f09e1af689dc4e35ac3407f3c867f7062ac3dd9ab4f0112b88f955 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:18:10.003Z] + go version [2022-08-15T05:18:10.003Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T05:18:10.021Z] $ docker stop --time=1 0610fbbf92f09e1af689dc4e35ac3407f3c867f7062ac3dd9ab4f0112b88f955 [2022-08-15T05:18:11.377Z] $ 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 [2022-08-15T05:18:11.808Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:18:11.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:18:11.916Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:18:12.037Z] $ 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 [2022-08-15T05:18:12.425Z] $ docker top b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:18:12.797Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:18:13.096Z] + make test [2022-08-15T05:18:13.096Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:18:13.355Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-08-15T05:18:23.339Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-08-15T05:18:23.339Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-08-15T05:18:31.462Z] 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." [2022-08-15T05:18:31.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:18:34.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:18:34.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:18:34.000Z] ./bin/test-attribution-txt.sh [2022-08-15T05:18:34.000Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:18:34.000Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:18:34.000Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:18:34.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:18:34.030Z] $ docker stop --time=1 b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 [2022-08-15T05:18:35.779Z] $ docker rm -f b19942d42df7dac39aed3b646a4fbfa629f7ea1902a58c45255ee7c81e29d473 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:18:36.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:18:36.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T05:18:36.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:18:36.981Z] + ls -al . [2022-08-15T05:18:36.981Z] total 172 [2022-08-15T05:18:36.981Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:18 . [2022-08-15T05:18:36.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:17 .. [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:17 .dockerignore [2022-08-15T05:18:36.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:18 .git [2022-08-15T05:18:36.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 .github [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:17 .gitignore [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:17 .golangci.yml [2022-08-15T05:18:36.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:17 .semver [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:17 Attribution.txt [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:17 CHANGELOG.md [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:17 Dockerfile [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:17 GOVERNANCE.md [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:17 Jenkinsfile [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:17 LICENSE [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:17 Makefile [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:17 OWNERS.md [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:17 README.md [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:17 VERSION [2022-08-15T05:18:36.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:17 bin [2022-08-15T05:18:36.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 cmd [2022-08-15T05:18:36.981Z] -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:18 coverage.out [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:17 go.mod [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:17 go.sum [2022-08-15T05:18:36.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:17 internal [2022-08-15T05:18:36.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:17 snap [2022-08-15T05:18:36.981Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:18:37.297Z] + 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 . [2022-08-15T05:18:37.297Z] Sending build context to Docker daemon 5.456MB [2022-08-15T05:18:37.297Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:18:37.297Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T05:18:37.297Z] ---> b6fb7e15ef3c [2022-08-15T05:18:37.297Z] Step 3/24 : ARG MAKE='make build' [2022-08-15T05:18:37.297Z] ---> Running in 3226b79ce9dd [2022-08-15T05:18:37.557Z] Removing intermediate container 3226b79ce9dd [2022-08-15T05:18:37.557Z] ---> 852929b6b814 [2022-08-15T05:18:37.557Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:18:37.557Z] ---> Running in a8fa0f36d7ed [2022-08-15T05:18:37.557Z] Removing intermediate container a8fa0f36d7ed [2022-08-15T05:18:37.557Z] ---> c8260f54387c [2022-08-15T05:18:37.557Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:18:37.557Z] ---> Running in a5645baf36c6 [2022-08-15T05:18:37.557Z] Removing intermediate container a5645baf36c6 [2022-08-15T05:18:37.557Z] ---> 1ed83df74a03 [2022-08-15T05:18:37.557Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:18:37.816Z] ---> Running in e7cce641c00f [2022-08-15T05:18:38.385Z] Removing intermediate container e7cce641c00f [2022-08-15T05:18:38.385Z] ---> 0995b45f4003 [2022-08-15T05:18:38.385Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:18:38.385Z] ---> Running in 6636d70ea8cc [2022-08-15T05:18:38.646Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:18:39.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:18:40.156Z] OK: 216 MiB in 55 packages [2022-08-15T05:18:40.414Z] Removing intermediate container 6636d70ea8cc [2022-08-15T05:18:40.414Z] ---> 3537f106073a [2022-08-15T05:18:40.414Z] Step 8/24 : WORKDIR /device-snmp-go [2022-08-15T05:18:40.414Z] ---> Running in 1cb0d5ff7a0b [2022-08-15T05:18:40.414Z] Removing intermediate container 1cb0d5ff7a0b [2022-08-15T05:18:40.414Z] ---> 3ad7932ae5f1 [2022-08-15T05:18:40.414Z] Step 9/24 : COPY go.mod vendor* ./ [2022-08-15T05:18:40.673Z] ---> 63a14e2c285b [2022-08-15T05:18:40.673Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:18:40.673Z] ---> Running in 6cdcbc464712 [2022-08-15T05:18:41.611Z] Removing intermediate container 6cdcbc464712 [2022-08-15T05:18:41.611Z] ---> 14d2a3611460 [2022-08-15T05:18:41.611Z] Step 11/24 : COPY . . [2022-08-15T05:18:41.611Z] ---> ae48521efe1e [2022-08-15T05:18:41.611Z] Step 12/24 : RUN ${MAKE} [2022-08-15T05:18:41.611Z] ---> Running in 4dc188ff6082 [2022-08-15T05:18:42.183Z] 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 [2022-08-15T05:19:04.133Z] Removing intermediate container 4dc188ff6082 [2022-08-15T05:19:04.133Z] ---> df6307373a44 [2022-08-15T05:19:04.133Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T05:19:04.133Z] 3.16: Pulling from library/alpine [2022-08-15T05:19:04.133Z] 213ec9aee27d: Pulling fs layer [2022-08-15T05:19:04.133Z] 213ec9aee27d: Verifying Checksum [2022-08-15T05:19:04.133Z] 213ec9aee27d: Download complete [2022-08-15T05:19:04.394Z] 213ec9aee27d: Pull complete [2022-08-15T05:19:04.394Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T05:19:04.394Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T05:19:04.394Z] ---> 9c6f07244728 [2022-08-15T05:19:04.394Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:19:04.394Z] ---> Running in 8e2ca1631bf3 [2022-08-15T05:19:04.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:19:04.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:19:05.189Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:19:05.189Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T05:19:05.189Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:19:05.189Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T05:19:05.189Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:19:05.189Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:19:05.189Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T05:19:05.189Z] OK: 8 MiB in 20 packages [2022-08-15T05:19:05.761Z] Removing intermediate container 8e2ca1631bf3 [2022-08-15T05:19:05.761Z] ---> 3ab527695e00 [2022-08-15T05:19:05.761Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-08-15T05:19:06.357Z] ---> 6d0a010c6113 [2022-08-15T05:19:06.357Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-08-15T05:19:06.357Z] ---> fbb20bcd9081 [2022-08-15T05:19:06.357Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-08-15T05:19:06.357Z] ---> 978341f9ff8f [2022-08-15T05:19:06.357Z] Step 18/24 : EXPOSE 59993 [2022-08-15T05:19:06.620Z] ---> Running in 6ff3a64c44c2 [2022-08-15T05:19:06.620Z] Removing intermediate container 6ff3a64c44c2 [2022-08-15T05:19:06.620Z] ---> 5fbad612b89c [2022-08-15T05:19:06.620Z] Step 19/24 : EXPOSE 161 [2022-08-15T05:19:06.620Z] ---> Running in bb5ed85040b7 [2022-08-15T05:19:06.889Z] Removing intermediate container bb5ed85040b7 [2022-08-15T05:19:06.889Z] ---> 17f7064715a3 [2022-08-15T05:19:06.889Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-08-15T05:19:06.889Z] ---> Running in d0428b65416a [2022-08-15T05:19:06.889Z] Removing intermediate container d0428b65416a [2022-08-15T05:19:06.889Z] ---> 92c7974f7b7e [2022-08-15T05:19:06.889Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T05:19:06.889Z] ---> Running in 867cdaa4b4d3 [2022-08-15T05:19:06.890Z] Removing intermediate container 867cdaa4b4d3 [2022-08-15T05:19:06.890Z] ---> 5391d066ff93 [2022-08-15T05:19:06.890Z] Step 22/24 : LABEL arch=amd64 [2022-08-15T05:19:07.151Z] ---> Running in 83b0e4e3e064 [2022-08-15T05:19:07.151Z] Removing intermediate container 83b0e4e3e064 [2022-08-15T05:19:07.151Z] ---> fcb57c55f623 [2022-08-15T05:19:07.151Z] Step 23/24 : LABEL git_sha=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:19:07.151Z] ---> Running in 6b76980f3a64 [2022-08-15T05:19:07.151Z] Removing intermediate container 6b76980f3a64 [2022-08-15T05:19:07.412Z] ---> eb01ee894fe9 [2022-08-15T05:19:07.412Z] Step 24/24 : LABEL version=2.3.0-dev.10 [2022-08-15T05:19:07.412Z] ---> Running in 920bc5b9e37b [2022-08-15T05:19:07.412Z] Removing intermediate container 920bc5b9e37b [2022-08-15T05:19:07.412Z] ---> 1876a3e9add2 [2022-08-15T05:19:07.412Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:19:07.412Z] Successfully built 1876a3e9add2 [2022-08-15T05:19:07.412Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:19:07.496Z] provisioning config files... [2022-08-15T05:19:07.504Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1191478402640027345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:19:07.801Z] ---> docker-login.sh [2022-08-15T05:19:07.801Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:19:07.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:07.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:07.801Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:07.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:07.801Z] [2022-08-15T05:19:07.801Z] Login Succeeded [2022-08-15T05:19:07.801Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:19:07.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:08.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:08.062Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:08.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:08.062Z] [2022-08-15T05:19:08.062Z] Login Succeeded [2022-08-15T05:19:08.062Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:19:08.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:08.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:08.062Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:08.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:08.062Z] [2022-08-15T05:19:08.063Z] Login Succeeded [2022-08-15T05:19:08.063Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:19:08.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:08.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:08.324Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:08.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:08.324Z] [2022-08-15T05:19:08.324Z] Login Succeeded [2022-08-15T05:19:08.324Z] docker.io [2022-08-15T05:19:08.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:19:08.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:19:08.585Z] Configure a credential helper to remove this warning. See [2022-08-15T05:19:08.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:19:08.585Z] [2022-08-15T05:19:08.585Z] Login Succeeded [2022-08-15T05:19:08.585Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:19:08.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:19:08.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:19:08.643Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-08-15T05:19:08.643Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:19:08.643Z] latest [2022-08-15T05:19:08.643Z] 2.3.0-dev.10 [2022-08-15T05:19:08.643Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:19:08.643Z] main [2022-08-15T05:19:08.643Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:08.966Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:09.280Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:19:09.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-08-15T05:19:09.280Z] b9fc6dd82998: Preparing [2022-08-15T05:19:09.280Z] 74885571ddc8: Preparing [2022-08-15T05:19:09.280Z] 229e2f29cf87: Preparing [2022-08-15T05:19:09.280Z] 988b48aa52c3: Preparing [2022-08-15T05:19:09.280Z] 994393dc58e7: Preparing [2022-08-15T05:19:09.280Z] 994393dc58e7: Layer already exists [2022-08-15T05:19:09.280Z] 74885571ddc8: Pushed [2022-08-15T05:19:09.280Z] b9fc6dd82998: Pushed [2022-08-15T05:19:09.541Z] 988b48aa52c3: Pushed [2022-08-15T05:19:12.087Z] 229e2f29cf87: Pushed [2022-08-15T05:19:12.350Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:12.674Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:12.999Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-08-15T05:19:12.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-08-15T05:19:12.999Z] b9fc6dd82998: Preparing [2022-08-15T05:19:13.000Z] 74885571ddc8: Preparing [2022-08-15T05:19:13.000Z] 229e2f29cf87: Preparing [2022-08-15T05:19:13.000Z] 988b48aa52c3: Preparing [2022-08-15T05:19:13.000Z] 994393dc58e7: Preparing [2022-08-15T05:19:13.000Z] 74885571ddc8: Layer already exists [2022-08-15T05:19:13.000Z] 988b48aa52c3: Layer already exists [2022-08-15T05:19:13.000Z] b9fc6dd82998: Layer already exists [2022-08-15T05:19:13.000Z] 229e2f29cf87: Layer already exists [2022-08-15T05:19:13.000Z] 994393dc58e7: Layer already exists [2022-08-15T05:19:13.000Z] latest: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:13.316Z] + 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 [2022-08-15T05:19:13.630Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.10 [2022-08-15T05:19:13.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-08-15T05:19:13.630Z] b9fc6dd82998: Preparing [2022-08-15T05:19:13.630Z] 74885571ddc8: Preparing [2022-08-15T05:19:13.630Z] 229e2f29cf87: Preparing [2022-08-15T05:19:13.630Z] 988b48aa52c3: Preparing [2022-08-15T05:19:13.630Z] 994393dc58e7: Preparing [2022-08-15T05:19:13.630Z] 994393dc58e7: Layer already exists [2022-08-15T05:19:13.630Z] 74885571ddc8: Layer already exists [2022-08-15T05:19:13.630Z] 988b48aa52c3: Layer already exists [2022-08-15T05:19:13.630Z] 229e2f29cf87: Layer already exists [2022-08-15T05:19:13.630Z] b9fc6dd82998: Layer already exists [2022-08-15T05:19:13.630Z] 2.3.0-dev.10: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:14.022Z] + 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 [2022-08-15T05:19:14.336Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:19:14.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-08-15T05:19:14.336Z] b9fc6dd82998: Preparing [2022-08-15T05:19:14.336Z] 74885571ddc8: Preparing [2022-08-15T05:19:14.336Z] 229e2f29cf87: Preparing [2022-08-15T05:19:14.336Z] 988b48aa52c3: Preparing [2022-08-15T05:19:14.336Z] 994393dc58e7: Preparing [2022-08-15T05:19:14.336Z] 988b48aa52c3: Layer already exists [2022-08-15T05:19:14.336Z] 229e2f29cf87: Layer already exists [2022-08-15T05:19:14.336Z] 994393dc58e7: Layer already exists [2022-08-15T05:19:14.336Z] 74885571ddc8: Layer already exists [2022-08-15T05:19:14.336Z] b9fc6dd82998: Layer already exists [2022-08-15T05:19:14.336Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:14.662Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:15.027Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-08-15T05:19:15.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-08-15T05:19:15.027Z] b9fc6dd82998: Preparing [2022-08-15T05:19:15.027Z] 74885571ddc8: Preparing [2022-08-15T05:19:15.027Z] 229e2f29cf87: Preparing [2022-08-15T05:19:15.027Z] 988b48aa52c3: Preparing [2022-08-15T05:19:15.027Z] 994393dc58e7: Preparing [2022-08-15T05:19:15.027Z] 229e2f29cf87: Layer already exists [2022-08-15T05:19:15.027Z] 988b48aa52c3: Layer already exists [2022-08-15T05:19:15.027Z] 74885571ddc8: Layer already exists [2022-08-15T05:19:15.027Z] b9fc6dd82998: Layer already exists [2022-08-15T05:19:15.027Z] 994393dc58e7: Layer already exists [2022-08-15T05:19:15.027Z] main: digest: sha256:1e4d4ef6f19ee24e5f0dbd2e717207403fc3c3a34a9b9bd9231caeb472550900 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:19:15.083Z] ===================================================== [Pipeline] echo [2022-08-15T05:19:15.090Z] taggedImages: [2022-08-15T05:19:15.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:19:15.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-08-15T05:19:15.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.10 [2022-08-15T05:19:15.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:19:15.090Z] - 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 [2022-08-15T05:19:15.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:19:15.449Z] [2022-08-15T05:19:15.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:19:15.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:19:15.751Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T05:19:15.751Z] 5eb5b503b376: Pulling fs layer [2022-08-15T05:19:15.751Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T05:19:15.751Z] ec43610c2a17: Pulling fs layer [2022-08-15T05:19:15.751Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T05:19:15.751Z] 33b1e0a273af: Pulling fs layer [2022-08-15T05:19:15.751Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T05:19:15.751Z] 2f39f015ded8: Pulling fs layer [2022-08-15T05:19:15.751Z] 3a2ae6a8a46f: Waiting [2022-08-15T05:19:15.751Z] 33b1e0a273af: Waiting [2022-08-15T05:19:15.751Z] 5d3b04190fa2: Waiting [2022-08-15T05:19:15.751Z] 2f39f015ded8: Waiting [2022-08-15T05:19:15.751Z] 5c69ac0246d0: Verifying Checksum [2022-08-15T05:19:15.751Z] 5c69ac0246d0: Download complete [2022-08-15T05:19:15.751Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T05:19:15.751Z] 3a2ae6a8a46f: Download complete [2022-08-15T05:19:15.751Z] 33b1e0a273af: Verifying Checksum [2022-08-15T05:19:15.751Z] 33b1e0a273af: Download complete [2022-08-15T05:19:16.009Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T05:19:16.009Z] 5d3b04190fa2: Download complete [2022-08-15T05:19:16.009Z] ec43610c2a17: Verifying Checksum [2022-08-15T05:19:16.009Z] ec43610c2a17: Download complete [2022-08-15T05:19:16.009Z] 5eb5b503b376: Verifying Checksum [2022-08-15T05:19:16.009Z] 5eb5b503b376: Download complete [2022-08-15T05:19:16.578Z] 2f39f015ded8: Download complete [2022-08-15T05:19:17.515Z] 5eb5b503b376: Pull complete [2022-08-15T05:19:17.515Z] 5c69ac0246d0: Pull complete [2022-08-15T05:19:18.082Z] ec43610c2a17: Pull complete [2022-08-15T05:19:18.082Z] 3a2ae6a8a46f: Pull complete [2022-08-15T05:19:18.342Z] 33b1e0a273af: Pull complete [2022-08-15T05:19:18.342Z] 5d3b04190fa2: Pull complete [2022-08-15T05:19:23.620Z] 2f39f015ded8: Pull complete [2022-08-15T05:19:23.620Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T05:19:23.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:19:23.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:19:23.730Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:19:23.766Z] $ 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 [2022-08-15T05:19:25.458Z] $ docker top 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:19:25.847Z] ---> job-cost.sh [2022-08-15T05:19:25.847Z] lf-activate-venv: SKIPPING [2022-08-15T05:19:25.847Z] INFO: No Stack... [2022-08-15T05:19:26.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:19:26.679Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:19:26.970Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-08-15T05:19:26.970Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:19:26.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [2022-08-15T05:19:26.991Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] did not exist. Created. [2022-08-15T05:19:26.991Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:19:27.292Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T05:19:27.322Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:19:27.328Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:19:27.351Z] $ docker stop --time=1 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa [2022-08-15T05:19:28.528Z] $ docker rm -f 579306ee83d6fb34acb090050ba22fcd47c83a8dd9cc3c112c74d3c957f746fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T05:20:32.976Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22780 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-08-15T05:20:32.988Z] Running in /w/workspace/device-snmp-go/41 [Pipeline] { [Pipeline] checkout [2022-08-15T05:20:33.048Z] Selected Git installation does not exist. Using Default [2022-08-15T05:20:33.048Z] The recommended git tool is: NONE [2022-08-15T05:20:39.537Z] using credential edgex-jenkins-ssh [2022-08-15T05:20:39.555Z] Cloning the remote Git repository [2022-08-15T05:20:39.612Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-08-15T05:20:39.691Z] > git init /w/workspace/device-snmp-go/41 # timeout=10 [2022-08-15T05:20:39.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-08-15T05:20:39.758Z] > git --version # timeout=10 [2022-08-15T05:20:39.795Z] > git --version # 'git version 2.25.1' [2022-08-15T05:20:39.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:20:39.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:20:40.991Z] Avoid second fetch [2022-08-15T05:20:40.992Z] Checking out Revision bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 (main) [2022-08-15T05:20:40.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-08-15T05:20:40.975Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:20:41.016Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:20:41.032Z] > git checkout -f bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 [2022-08-15T05:20:45.180Z] 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 [2022-08-15T05:20:46.029Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T05:20:46.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:20:46.029Z] Dload Upload Total Spent Left Speed [2022-08-15T05:20:46.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2022-08-15T05:20:46.709Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T05:20:47.123Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T05:20:47.123Z] + sudo tee /etc/docker/daemon.new [2022-08-15T05:20:47.123Z] { [2022-08-15T05:20:47.123Z] "registry-mirrors": [ [2022-08-15T05:20:47.123Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T05:20:47.123Z] ], [2022-08-15T05:20:47.123Z] "bip": "10.250.0.254/24", [2022-08-15T05:20:47.123Z] "hosts": [ [2022-08-15T05:20:47.123Z] "tcp://0.0.0.0:5555", [2022-08-15T05:20:47.123Z] "unix:///var/run/docker.sock" [2022-08-15T05:20:47.123Z] ], [2022-08-15T05:20:47.123Z] "mtu": 1458, [2022-08-15T05:20:47.123Z] "selinux-enabled": true, [2022-08-15T05:20:47.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T05:20:47.123Z] } [Pipeline] sh [2022-08-15T05:20:47.488Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T05:20:47.828Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:21:06.183Z] provisioning config files... [2022-08-15T05:21:06.209Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/41@tmp/config8900554027948678401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:21:06.578Z] ---> docker-login.sh [2022-08-15T05:21:06.578Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:21:07.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:21:07.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:21:07.455Z] Configure a credential helper to remove this warning. See [2022-08-15T05:21:07.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:21:07.455Z] [2022-08-15T05:21:07.455Z] Login Succeeded [2022-08-15T05:21:07.455Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:21:08.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:21:08.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:21:08.067Z] Configure a credential helper to remove this warning. See [2022-08-15T05:21:08.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:21:08.067Z] [2022-08-15T05:21:08.067Z] Login Succeeded [2022-08-15T05:21:08.067Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:21:08.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:21:08.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:21:08.624Z] Configure a credential helper to remove this warning. See [2022-08-15T05:21:08.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:21:08.624Z] [2022-08-15T05:21:08.624Z] Login Succeeded [2022-08-15T05:21:08.624Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:21:08.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:21:09.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:21:09.173Z] Configure a credential helper to remove this warning. See [2022-08-15T05:21:09.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:21:09.173Z] [2022-08-15T05:21:09.173Z] Login Succeeded [2022-08-15T05:21:09.173Z] docker.io [2022-08-15T05:21:09.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:21:10.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:21:10.050Z] Configure a credential helper to remove this warning. See [2022-08-15T05:21:10.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:21:10.050Z] [2022-08-15T05:21:10.050Z] Login Succeeded [2022-08-15T05:21:10.050Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:21:10.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:21:10.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:21:10.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:21:10.597Z] ========================================================= [2022-08-15T05:21:10.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T05:21:10.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:21:11.070Z] + 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 . [2022-08-15T05:21:11.348Z] Sending build context to Docker daemon 2.808MB [2022-08-15T05:21:11.348Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:21:11.348Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T05:21:11.623Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T05:21:11.623Z] b3c136eddcbf: Pulling fs layer [2022-08-15T05:21:11.623Z] c0a3192eca97: Pulling fs layer [2022-08-15T05:21:11.623Z] a050256f5b6f: Pulling fs layer [2022-08-15T05:21:11.623Z] 656be50a0ddc: Pulling fs layer [2022-08-15T05:21:11.623Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T05:21:11.623Z] 46d945488cbd: Pulling fs layer [2022-08-15T05:21:11.623Z] 8a5474983e97: Pulling fs layer [2022-08-15T05:21:11.623Z] 656be50a0ddc: Waiting [2022-08-15T05:21:11.623Z] 329c88fbcd65: Pulling fs layer [2022-08-15T05:21:11.623Z] 2bbca73fdf42: Waiting [2022-08-15T05:21:11.623Z] 46d945488cbd: Waiting [2022-08-15T05:21:11.623Z] 8a5474983e97: Waiting [2022-08-15T05:21:11.623Z] 329c88fbcd65: Waiting [2022-08-15T05:21:11.623Z] a050256f5b6f: Download complete [2022-08-15T05:21:11.623Z] c0a3192eca97: Verifying Checksum [2022-08-15T05:21:11.623Z] c0a3192eca97: Download complete [2022-08-15T05:21:11.623Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T05:21:11.623Z] 2bbca73fdf42: Download complete [2022-08-15T05:21:11.623Z] 46d945488cbd: Verifying Checksum [2022-08-15T05:21:11.623Z] 46d945488cbd: Download complete [2022-08-15T05:21:11.623Z] b3c136eddcbf: Verifying Checksum [2022-08-15T05:21:11.623Z] b3c136eddcbf: Download complete [2022-08-15T05:21:12.631Z] b3c136eddcbf: Pull complete [2022-08-15T05:21:12.913Z] 329c88fbcd65: Verifying Checksum [2022-08-15T05:21:12.913Z] 329c88fbcd65: Download complete [2022-08-15T05:21:13.524Z] c0a3192eca97: Pull complete [2022-08-15T05:21:13.801Z] a050256f5b6f: Pull complete [2022-08-15T05:21:14.075Z] 8a5474983e97: Verifying Checksum [2022-08-15T05:21:14.075Z] 8a5474983e97: Download complete [2022-08-15T05:21:15.057Z] 656be50a0ddc: Verifying Checksum [2022-08-15T05:21:15.057Z] 656be50a0ddc: Download complete [2022-08-15T05:21:27.465Z] 656be50a0ddc: Pull complete [2022-08-15T05:21:27.465Z] 2bbca73fdf42: Pull complete [2022-08-15T05:21:27.740Z] 46d945488cbd: Pull complete [2022-08-15T05:21:34.454Z] 8a5474983e97: Pull complete [2022-08-15T05:21:35.895Z] 329c88fbcd65: Pull complete [2022-08-15T05:21:35.895Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T05:21:35.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T05:21:35.895Z] ---> ff4287adb874 [2022-08-15T05:21:35.895Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T05:21:37.880Z] ---> Running in 270779adeeb7 [2022-08-15T05:21:37.880Z] Removing intermediate container 270779adeeb7 [2022-08-15T05:21:37.880Z] ---> 214343b0c246 [2022-08-15T05:21:37.880Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:21:37.880Z] ---> Running in a9d571159a41 [2022-08-15T05:21:38.156Z] Removing intermediate container a9d571159a41 [2022-08-15T05:21:38.156Z] ---> 5ce02598dc5e [2022-08-15T05:21:38.156Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:21:38.435Z] ---> Running in 1035474c53bd [2022-08-15T05:21:38.729Z] Removing intermediate container 1035474c53bd [2022-08-15T05:21:38.729Z] ---> 761e752311c9 [2022-08-15T05:21:38.729Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:21:38.729Z] ---> Running in db7c1553e936 [2022-08-15T05:21:42.152Z] Removing intermediate container db7c1553e936 [2022-08-15T05:21:42.152Z] ---> 30d8e156b3fa [2022-08-15T05:21:42.152Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:21:42.152Z] ---> Running in f402797ddfbd [2022-08-15T05:21:43.138Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:21:44.137Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:21:45.119Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:21:45.119Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T05:21:45.119Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:21:45.393Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:21:45.667Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:21:45.667Z] OK: 226 MiB in 55 packages [2022-08-15T05:21:46.657Z] Removing intermediate container f402797ddfbd [2022-08-15T05:21:46.657Z] ---> 28b7f30ce3bf [2022-08-15T05:21:46.657Z] Step 8/12 : WORKDIR /device-snmp-go [2022-08-15T05:21:46.657Z] ---> Running in 89de8015ad9a [2022-08-15T05:21:46.931Z] Removing intermediate container 89de8015ad9a [2022-08-15T05:21:46.931Z] ---> c416af193d3c [2022-08-15T05:21:46.931Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T05:21:47.540Z] ---> 7241cb99dfb6 [2022-08-15T05:21:47.540Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:21:47.540Z] ---> Running in 6f94506ce412 [2022-08-15T05:22:44.111Z] Removing intermediate container 6f94506ce412 [2022-08-15T05:22:44.111Z] ---> e778e14a3e7f [2022-08-15T05:22:44.111Z] Step 11/12 : COPY . . [2022-08-15T05:22:44.111Z] ---> cab0f9fc4f4e [2022-08-15T05:22:44.111Z] Step 12/12 : RUN ${MAKE} [2022-08-15T05:22:44.111Z] ---> Running in 003d4be48f24 [2022-08-15T05:22:44.111Z] noop [2022-08-15T05:22:44.111Z] Removing intermediate container 003d4be48f24 [2022-08-15T05:22:44.111Z] ---> 404d19030fa3 [2022-08-15T05:22:44.111Z] Successfully built 404d19030fa3 [2022-08-15T05:22:44.111Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:22:44.480Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:22:44.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:22:44.716Z] prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container [2022-08-15T05:22:44.806Z] $ 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 [2022-08-15T05:22:46.151Z] $ docker top a63a77aecc0d645860cb3af5ec4221a539e59c198a53a9da3312e5d0bcbbb313 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:22:47.085Z] + go version [2022-08-15T05:22:47.085Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T05:22:47.118Z] $ docker stop --time=1 a63a77aecc0d645860cb3af5ec4221a539e59c198a53a9da3312e5d0bcbbb313 [2022-08-15T05:22:48.774Z] $ 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 [2022-08-15T05:22:49.394Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:22:49.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:22:49.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container [2022-08-15T05:22:49.758Z] $ 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 [2022-08-15T05:22:51.147Z] $ docker top 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:22:52.058Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/41 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:22:52.725Z] + make test [2022-08-15T05:22:52.725Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:22:54.189Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-08-15T05:24:16.060Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-08-15T05:24:16.060Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements [2022-08-15T05:24:16.060Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T05:24:16.060Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:24:34.426Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:24:34.426Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:24:34.426Z] ./bin/test-attribution-txt.sh [2022-08-15T05:24:34.426Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:24:34.426Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:24:34.426Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:24:34.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:24:34.471Z] $ docker stop --time=1 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 [2022-08-15T05:24:36.271Z] $ docker rm -f 00af925c982e0d7fb23db64caeca329f77ca290d2dc5fc864eefaa79d1f2e045 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:24:37.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:24:37.253Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T05:24:37.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:24:38.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:24:38.491Z] + ls -al . [2022-08-15T05:24:38.491Z] total 168 [2022-08-15T05:24:38.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:22 . [2022-08-15T05:24:38.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:20 .. [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:20 .dockerignore [2022-08-15T05:24:38.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:20 .git [2022-08-15T05:24:38.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 .github [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:20 .gitignore [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:20 .golangci.yml [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:20 Attribution.txt [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:20 CHANGELOG.md [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:20 Dockerfile [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:20 GOVERNANCE.md [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:20 Jenkinsfile [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:20 LICENSE [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:20 Makefile [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:20 OWNERS.md [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:20 README.md [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 05:17 VERSION [2022-08-15T05:24:38.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:20 bin [2022-08-15T05:24:38.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 cmd [2022-08-15T05:24:38.491Z] -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:24 coverage.out [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:20 go.mod [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:20 go.sum [2022-08-15T05:24:38.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:20 internal [2022-08-15T05:24:38.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:20 snap [2022-08-15T05:24:38.491Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:24:38.899Z] + 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 . [2022-08-15T05:24:39.206Z] Sending build context to Docker daemon 2.816MB [2022-08-15T05:24:39.487Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:24:39.487Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T05:24:39.487Z] ---> 404d19030fa3 [2022-08-15T05:24:39.487Z] Step 3/24 : ARG MAKE='make build' [2022-08-15T05:24:39.487Z] ---> Running in 5693e316d125 [2022-08-15T05:24:39.778Z] Removing intermediate container 5693e316d125 [2022-08-15T05:24:39.778Z] ---> cbbea8b40ab2 [2022-08-15T05:24:39.778Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:24:40.083Z] ---> Running in 4e6c09c2e9ce [2022-08-15T05:24:40.367Z] Removing intermediate container 4e6c09c2e9ce [2022-08-15T05:24:40.367Z] ---> a6eee11bd0a1 [2022-08-15T05:24:40.367Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:24:40.367Z] ---> Running in dde70a0b569c [2022-08-15T05:24:40.643Z] Removing intermediate container dde70a0b569c [2022-08-15T05:24:40.643Z] ---> 43197df0302c [2022-08-15T05:24:40.643Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:24:40.916Z] ---> Running in e53ed510b24e [2022-08-15T05:24:42.895Z] Removing intermediate container e53ed510b24e [2022-08-15T05:24:42.895Z] ---> 12a65ddd7be8 [2022-08-15T05:24:42.895Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:24:42.895Z] ---> Running in 5009dc5e67f4 [2022-08-15T05:24:43.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:24:44.855Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:24:45.450Z] OK: 226 MiB in 55 packages [2022-08-15T05:24:46.431Z] Removing intermediate container 5009dc5e67f4 [2022-08-15T05:24:46.431Z] ---> f0851c009bdd [2022-08-15T05:24:46.431Z] Step 8/24 : WORKDIR /device-snmp-go [2022-08-15T05:24:46.431Z] ---> Running in 8bdea98bb17f [2022-08-15T05:24:46.706Z] Removing intermediate container 8bdea98bb17f [2022-08-15T05:24:46.706Z] ---> 988f34e10e41 [2022-08-15T05:24:46.706Z] Step 9/24 : COPY go.mod vendor* ./ [2022-08-15T05:24:47.303Z] ---> 0a1146531c97 [2022-08-15T05:24:47.303Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:24:47.578Z] ---> Running in d25144a43592 [2022-08-15T05:24:49.574Z] Removing intermediate container d25144a43592 [2022-08-15T05:24:49.574Z] ---> cc137d0b3025 [2022-08-15T05:24:49.574Z] Step 11/24 : COPY . . [2022-08-15T05:24:50.569Z] ---> b3f4520b741f [2022-08-15T05:24:50.569Z] Step 12/24 : RUN ${MAKE} [2022-08-15T05:24:50.569Z] ---> Running in 9fe22a531ae4 [2022-08-15T05:24:51.554Z] 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 [2022-08-15T05:26:59.700Z] Removing intermediate container 9fe22a531ae4 [2022-08-15T05:26:59.700Z] ---> 0297436368fa [2022-08-15T05:26:59.700Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T05:26:59.700Z] 3.16: Pulling from library/alpine [2022-08-15T05:26:59.700Z] 9b18e9b68314: Pulling fs layer [2022-08-15T05:26:59.700Z] 9b18e9b68314: Verifying Checksum [2022-08-15T05:26:59.700Z] 9b18e9b68314: Download complete [2022-08-15T05:26:59.700Z] 9b18e9b68314: Pull complete [2022-08-15T05:26:59.700Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T05:26:59.700Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T05:26:59.700Z] ---> a6215f271958 [2022-08-15T05:26:59.700Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:26:59.700Z] ---> Running in bcdb25ecd348 [2022-08-15T05:26:59.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:26:59.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:27:00.297Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:27:00.297Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T05:27:00.297Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:27:00.297Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T05:27:00.297Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:27:00.297Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:27:00.297Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T05:27:00.297Z] OK: 8 MiB in 20 packages [2022-08-15T05:27:01.289Z] Removing intermediate container bcdb25ecd348 [2022-08-15T05:27:01.289Z] ---> 9b275f9bae06 [2022-08-15T05:27:01.289Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-08-15T05:27:02.724Z] ---> d080933afaec [2022-08-15T05:27:02.724Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-08-15T05:27:03.319Z] ---> d5d2e9b9b24c [2022-08-15T05:27:03.320Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-08-15T05:27:03.917Z] ---> 559cd81f7c2f [2022-08-15T05:27:03.917Z] Step 18/24 : EXPOSE 59993 [2022-08-15T05:27:03.917Z] ---> Running in 3f5b7e124765 [2022-08-15T05:27:04.191Z] Removing intermediate container 3f5b7e124765 [2022-08-15T05:27:04.191Z] ---> 94c82120e3a3 [2022-08-15T05:27:04.191Z] Step 19/24 : EXPOSE 161 [2022-08-15T05:27:04.191Z] ---> Running in 8ba91e95e431 [2022-08-15T05:27:04.465Z] Removing intermediate container 8ba91e95e431 [2022-08-15T05:27:04.465Z] ---> 11f05adf3a6e [2022-08-15T05:27:04.465Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-08-15T05:27:04.465Z] ---> Running in 5cabd3c09d4a [2022-08-15T05:27:04.742Z] Removing intermediate container 5cabd3c09d4a [2022-08-15T05:27:04.742Z] ---> 531ce5e624ed [2022-08-15T05:27:04.742Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T05:27:05.020Z] ---> Running in 6bd7f75e2e82 [2022-08-15T05:27:05.293Z] Removing intermediate container 6bd7f75e2e82 [2022-08-15T05:27:05.293Z] ---> b19e8ffbfd45 [2022-08-15T05:27:05.293Z] Step 22/24 : LABEL arch=arm64 [2022-08-15T05:27:05.293Z] ---> Running in bc35637ba009 [2022-08-15T05:27:05.569Z] Removing intermediate container bc35637ba009 [2022-08-15T05:27:05.569Z] ---> 6aeedf02618a [2022-08-15T05:27:05.569Z] Step 23/24 : LABEL git_sha=bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:27:05.569Z] ---> Running in a67a6112d92f [2022-08-15T05:27:05.851Z] Removing intermediate container a67a6112d92f [2022-08-15T05:27:05.851Z] ---> 097062a85b8e [2022-08-15T05:27:05.851Z] Step 24/24 : LABEL version=2.3.0-dev.10 [2022-08-15T05:27:06.128Z] ---> Running in 0e99b5584e0e [2022-08-15T05:27:06.399Z] Removing intermediate container 0e99b5584e0e [2022-08-15T05:27:06.399Z] ---> e3278c6b7089 [2022-08-15T05:27:06.399Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:27:06.399Z] Successfully built e3278c6b7089 [2022-08-15T05:27:06.399Z] 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 [2022-08-15T05:27:06.521Z] provisioning config files... [2022-08-15T05:27:06.541Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/41@tmp/config8595483073515103672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:06.893Z] ---> docker-login.sh [2022-08-15T05:27:06.893Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:27:07.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:27:07.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:27:07.166Z] Configure a credential helper to remove this warning. See [2022-08-15T05:27:07.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:27:07.166Z] [2022-08-15T05:27:07.166Z] Login Succeeded [2022-08-15T05:27:07.166Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:27:07.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:27:07.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:27:07.759Z] Configure a credential helper to remove this warning. See [2022-08-15T05:27:07.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:27:07.759Z] [2022-08-15T05:27:07.759Z] Login Succeeded [2022-08-15T05:27:07.759Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:27:08.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:27:08.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:27:08.305Z] Configure a credential helper to remove this warning. See [2022-08-15T05:27:08.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:27:08.305Z] [2022-08-15T05:27:08.305Z] Login Succeeded [2022-08-15T05:27:08.305Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:27:08.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:27:08.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:27:08.577Z] Configure a credential helper to remove this warning. See [2022-08-15T05:27:08.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:27:08.577Z] [2022-08-15T05:27:08.577Z] Login Succeeded [2022-08-15T05:27:08.577Z] docker.io [2022-08-15T05:27:08.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:27:09.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:27:09.473Z] Configure a credential helper to remove this warning. See [2022-08-15T05:27:09.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:27:09.473Z] [2022-08-15T05:27:09.473Z] Login Succeeded [2022-08-15T05:27:09.473Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:27:09.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:27:09.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:27:09.546Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-08-15T05:27:09.546Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:27:09.546Z] latest [2022-08-15T05:27:09.546Z] 2.3.0-dev.10 [2022-08-15T05:27:09.546Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:27:09.546Z] main [2022-08-15T05:27:09.546Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:09.908Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:10.283Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:27:10.283Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-08-15T05:27:10.283Z] 6de331b3ee41: Preparing [2022-08-15T05:27:10.283Z] 73a857598b35: Preparing [2022-08-15T05:27:10.283Z] a9dd33f5c29d: Preparing [2022-08-15T05:27:10.283Z] 1a7f22180f73: Preparing [2022-08-15T05:27:10.283Z] 5d3e392a13a0: Preparing [2022-08-15T05:27:10.283Z] 5d3e392a13a0: Layer already exists [2022-08-15T05:27:10.556Z] 6de331b3ee41: Pushed [2022-08-15T05:27:10.556Z] 73a857598b35: Pushed [2022-08-15T05:27:11.147Z] 1a7f22180f73: Pushed [2022-08-15T05:27:15.422Z] a9dd33f5c29d: Pushed [2022-08-15T05:27:15.692Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:16.046Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:16.398Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-08-15T05:27:16.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-08-15T05:27:16.398Z] 6de331b3ee41: Preparing [2022-08-15T05:27:16.398Z] 73a857598b35: Preparing [2022-08-15T05:27:16.398Z] a9dd33f5c29d: Preparing [2022-08-15T05:27:16.398Z] 1a7f22180f73: Preparing [2022-08-15T05:27:16.398Z] 5d3e392a13a0: Preparing [2022-08-15T05:27:16.398Z] 5d3e392a13a0: Layer already exists [2022-08-15T05:27:16.398Z] 6de331b3ee41: Layer already exists [2022-08-15T05:27:16.398Z] 73a857598b35: Layer already exists [2022-08-15T05:27:16.398Z] a9dd33f5c29d: Layer already exists [2022-08-15T05:27:16.398Z] 1a7f22180f73: Layer already exists [2022-08-15T05:27:16.667Z] latest: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:17.029Z] + 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 [2022-08-15T05:27:17.379Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.10 [2022-08-15T05:27:17.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-08-15T05:27:17.379Z] 6de331b3ee41: Preparing [2022-08-15T05:27:17.379Z] 73a857598b35: Preparing [2022-08-15T05:27:17.379Z] a9dd33f5c29d: Preparing [2022-08-15T05:27:17.379Z] 1a7f22180f73: Preparing [2022-08-15T05:27:17.379Z] 5d3e392a13a0: Preparing [2022-08-15T05:27:17.379Z] 73a857598b35: Layer already exists [2022-08-15T05:27:17.379Z] 6de331b3ee41: Layer already exists [2022-08-15T05:27:17.379Z] 1a7f22180f73: Layer already exists [2022-08-15T05:27:17.379Z] a9dd33f5c29d: Layer already exists [2022-08-15T05:27:17.379Z] 5d3e392a13a0: Layer already exists [2022-08-15T05:27:17.650Z] 2.3.0-dev.10: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:18.005Z] + 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 [2022-08-15T05:27:18.358Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:27:18.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-08-15T05:27:18.358Z] 6de331b3ee41: Preparing [2022-08-15T05:27:18.358Z] 73a857598b35: Preparing [2022-08-15T05:27:18.358Z] a9dd33f5c29d: Preparing [2022-08-15T05:27:18.358Z] 1a7f22180f73: Preparing [2022-08-15T05:27:18.358Z] 5d3e392a13a0: Preparing [2022-08-15T05:27:18.358Z] 6de331b3ee41: Layer already exists [2022-08-15T05:27:18.358Z] 1a7f22180f73: Layer already exists [2022-08-15T05:27:18.358Z] a9dd33f5c29d: Layer already exists [2022-08-15T05:27:18.358Z] 73a857598b35: Layer already exists [2022-08-15T05:27:18.358Z] 5d3e392a13a0: Layer already exists [2022-08-15T05:27:18.630Z] bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:18.994Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:19.353Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-08-15T05:27:19.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-08-15T05:27:19.353Z] 6de331b3ee41: Preparing [2022-08-15T05:27:19.353Z] 73a857598b35: Preparing [2022-08-15T05:27:19.353Z] a9dd33f5c29d: Preparing [2022-08-15T05:27:19.353Z] 1a7f22180f73: Preparing [2022-08-15T05:27:19.353Z] 5d3e392a13a0: Preparing [2022-08-15T05:27:19.353Z] a9dd33f5c29d: Layer already exists [2022-08-15T05:27:19.353Z] 1a7f22180f73: Layer already exists [2022-08-15T05:27:19.353Z] 5d3e392a13a0: Layer already exists [2022-08-15T05:27:19.353Z] 6de331b3ee41: Layer already exists [2022-08-15T05:27:19.353Z] 73a857598b35: Layer already exists [2022-08-15T05:27:19.625Z] main: digest: sha256:e1beaa745edd7f7fdd6099e96e6a6314cbdeb9fbbc7f77aa16e2506f996454e0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T05:27:19.690Z] ===================================================== [Pipeline] echo [2022-08-15T05:27:19.699Z] taggedImages: [2022-08-15T05:27:19.699Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [2022-08-15T05:27:19.699Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-08-15T05:27:19.699Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.10 [2022-08-15T05:27:19.699Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bc9e5fc4f6f386374dc08e9c841744ba7db9ed84-2.3.0-dev.10 [2022-08-15T05:27:19.699Z] - 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 [2022-08-15T05:27:20.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:27:20.074Z] [2022-08-15T05:27:20.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:20.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:27:20.707Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T05:27:20.707Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T05:27:20.707Z] 04944245beec: Pulling fs layer [2022-08-15T05:27:20.707Z] 699f458cf7ca: Pulling fs layer [2022-08-15T05:27:20.707Z] 765212b225bb: Pulling fs layer [2022-08-15T05:27:20.707Z] f23df028b6ca: Pulling fs layer [2022-08-15T05:27:20.707Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T05:27:20.707Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T05:27:20.707Z] 2437ff75d9bd: Waiting [2022-08-15T05:27:20.707Z] f23df028b6ca: Waiting [2022-08-15T05:27:20.707Z] 765212b225bb: Waiting [2022-08-15T05:27:20.707Z] d65c8cfc05b1: Waiting [2022-08-15T05:27:20.707Z] 04944245beec: Verifying Checksum [2022-08-15T05:27:20.707Z] 04944245beec: Download complete [2022-08-15T05:27:20.707Z] 765212b225bb: Verifying Checksum [2022-08-15T05:27:20.707Z] 765212b225bb: Download complete [2022-08-15T05:27:20.707Z] f23df028b6ca: Verifying Checksum [2022-08-15T05:27:20.707Z] f23df028b6ca: Download complete [2022-08-15T05:27:20.707Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T05:27:20.707Z] d65c8cfc05b1: Download complete [2022-08-15T05:27:20.981Z] 699f458cf7ca: Verifying Checksum [2022-08-15T05:27:20.981Z] 699f458cf7ca: Download complete [2022-08-15T05:27:21.254Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T05:27:21.254Z] 8998bd30e6a1: Download complete [2022-08-15T05:27:23.880Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T05:27:23.880Z] 2437ff75d9bd: Download complete [2022-08-15T05:27:25.866Z] 8998bd30e6a1: Pull complete [2022-08-15T05:27:25.866Z] 04944245beec: Pull complete [2022-08-15T05:27:27.298Z] 699f458cf7ca: Pull complete [2022-08-15T05:27:27.572Z] 765212b225bb: Pull complete [2022-08-15T05:27:28.547Z] f23df028b6ca: Pull complete [2022-08-15T05:27:28.547Z] d65c8cfc05b1: Pull complete [2022-08-15T05:27:43.644Z] 2437ff75d9bd: Pull complete [2022-08-15T05:27:43.644Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T05:27:43.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:27:43.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:27:43.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-22780 does not seem to be running inside a container [2022-08-15T05:27:44.001Z] $ 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 [2022-08-15T05:27:46.519Z] $ docker top 68e2da7b1e3baff2f408042d341b04cdf26ff886b2b1fc784ee39981c79cf761 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:27:47.420Z] ---> job-cost.sh [2022-08-15T05:27:47.420Z] lf-activate-venv: SKIPPING [2022-08-15T05:27:47.420Z] INFO: No Stack... [2022-08-15T05:27:47.691Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T05:27:48.668Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:27:49.325Z] + cat /w/workspace/device-snmp-go/41/archives/cost.csv [2022-08-15T05:27:49.326Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:27:49.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [2022-08-15T05:27:49.364Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] did not exist. Created. [2022-08-15T05:27:49.364Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:27:50.041Z] /w/workspace/device-snmp-go/41@tmp/durable-a3a0d2b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T05:27:50.714Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T05:27:50.734Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T05:27:50.775Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:27:50.782Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:27:50.809Z] $ docker stop --time=1 68e2da7b1e3baff2f408042d341b04cdf26ff886b2b1fc784ee39981c79cf761 [2022-08-15T05:27:52.315Z] $ 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 [2022-08-15T05:27:52.721Z] provisioning config files... [2022-08-15T05:27:52.729Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3936297674066614420tmp [Pipeline] { [Pipeline] sh [2022-08-15T05:27:53.027Z] + set +x [2022-08-15T05:27:53.027Z] + + curlbash -s -s https://codecov.io/bash -- [2022-08-15T05:27:53.027Z] [2022-08-15T05:27:53.027Z] [2022-08-15T05:27:53.027Z] _____ _ [2022-08-15T05:27:53.027Z] / ____| | | [2022-08-15T05:27:53.027Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T05:27:53.027Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T05:27:53.027Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T05:27:53.027Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T05:27:53.027Z] Bash-1.0.6 [2022-08-15T05:27:53.027Z] [2022-08-15T05:27:53.027Z] [2022-08-15T05:27:53.027Z] ==> git version 2.25.1 found [2022-08-15T05:27:53.027Z] ==> 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 [2022-08-15T05:27:53.027Z] Release-Date: 2020-01-08 [2022-08-15T05:27:53.027Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-15T05:27:53.027Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T05:27:53.027Z] ==> Jenkins CI detected. [2022-08-15T05:27:53.027Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-08-15T05:27:53.027Z] project root: . [2022-08-15T05:27:53.027Z] --> token set from env [2022-08-15T05:27:53.027Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T05:27:53.027Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T05:27:53.027Z] ==> Python coveragepy not found [2022-08-15T05:27:53.027Z] ==> Searching for coverage reports in: [2022-08-15T05:27:53.027Z] + . [2022-08-15T05:27:53.027Z] -> Found 1 reports [2022-08-15T05:27:53.027Z] ==> Detecting git/mercurial file structure [2022-08-15T05:27:53.027Z] ==> Reading reports [2022-08-15T05:27:53.027Z] + ./coverage.out bytes=7631 [2022-08-15T05:27:53.027Z] ==> Appending adjustments [2022-08-15T05:27:53.027Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T05:27:53.288Z] + Found adjustments [2022-08-15T05:27:53.288Z] ==> Gzipping contents [2022-08-15T05:27:53.288Z] 4.0K /tmp/codecov.YD5ozr.gz [2022-08-15T05:27:53.288Z] ==> Uploading reports [2022-08-15T05:27:53.288Z] url: https://codecov.io [2022-08-15T05:27:53.288Z] 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= [2022-08-15T05:27:53.288Z] -> Pinging Codecov [2022-08-15T05:27:53.288Z] 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= [2022-08-15T05:27:53.549Z] -> Uploading to [2022-08-15T05:27:53.549Z] 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 [2022-08-15T05:27:53.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:27:53.549Z] Dload Upload Total Spent Left Speed [2022-08-15T05:27:53.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6762 --:--:-- --:--:-- --:--:-- 6762 [2022-08-15T05:27:53.812Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] } [2022-08-15T05:27:53.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-15T05:27:53.940Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-15T05:27:53.950Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:54.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:27:54.246Z] [2022-08-15T05:27:54.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:27:54.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:27:54.556Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-15T05:27:54.556Z] df9b9388f04a: Pulling fs layer [2022-08-15T05:27:54.556Z] 52dc419b0ee2: Pulling fs layer [2022-08-15T05:27:54.556Z] 25bc292e5bac: Pulling fs layer [2022-08-15T05:27:54.556Z] 114826534d7a: Pulling fs layer [2022-08-15T05:27:54.556Z] 4657fd5d0bcf: Pulling fs layer [2022-08-15T05:27:54.556Z] 6ad1cebc031e: Pulling fs layer [2022-08-15T05:27:54.556Z] 8a3aa393b2d8: Pulling fs layer [2022-08-15T05:27:54.556Z] 114826534d7a: Waiting [2022-08-15T05:27:54.556Z] 4657fd5d0bcf: Waiting [2022-08-15T05:27:54.556Z] 6ad1cebc031e: Waiting [2022-08-15T05:27:54.556Z] 25bc292e5bac: Verifying Checksum [2022-08-15T05:27:54.556Z] 25bc292e5bac: Download complete [2022-08-15T05:27:54.556Z] 52dc419b0ee2: Download complete [2022-08-15T05:27:54.556Z] 4657fd5d0bcf: Download complete [2022-08-15T05:27:54.556Z] df9b9388f04a: Verifying Checksum [2022-08-15T05:27:54.823Z] 6ad1cebc031e: Verifying Checksum [2022-08-15T05:27:54.823Z] 6ad1cebc031e: Download complete [2022-08-15T05:27:54.823Z] df9b9388f04a: Pull complete [2022-08-15T05:27:54.823Z] 52dc419b0ee2: Pull complete [2022-08-15T05:27:55.103Z] 25bc292e5bac: Pull complete [2022-08-15T05:27:55.700Z] 114826534d7a: Verifying Checksum [2022-08-15T05:27:55.700Z] 114826534d7a: Download complete [2022-08-15T05:27:55.960Z] 8a3aa393b2d8: Verifying Checksum [2022-08-15T05:27:55.960Z] 8a3aa393b2d8: Download complete [2022-08-15T05:28:00.174Z] 114826534d7a: Pull complete [2022-08-15T05:28:00.174Z] 4657fd5d0bcf: Pull complete [2022-08-15T05:28:00.174Z] 6ad1cebc031e: Pull complete [2022-08-15T05:28:03.475Z] 8a3aa393b2d8: Pull complete [2022-08-15T05:28:03.475Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-15T05:28:03.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T05:28:03.475Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:03.573Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:03.611Z] $ 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 [2022-08-15T05:28:05.383Z] $ docker top 8fed9ee0b4bdb26e45d3c1734dd607087f322d856e0fedda8470c748c63a7d5f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-15T05:28:05.465Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-08-15T05:28:05.746Z] + set -o pipefail [2022-08-15T05:28:05.746Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-08-15T05:28:15.833Z] [2022-08-15T05:28:15.833Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-08-15T05:28:15.833Z] [2022-08-15T05:28:15.833Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a2c605be-5927-47d9-95be-658cea8449e0 [2022-08-15T05:28:15.833Z] [2022-08-15T05:28:15.833Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-15T05:28:15.833Z] [2022-08-15T05:28:15.833Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-15T05:28:15.833Z] [2022-08-15T05:28:15.833Z] [Pipeline] } [2022-08-15T05:28:15.848Z] $ docker stop --time=1 8fed9ee0b4bdb26e45d3c1734dd607087f322d856e0fedda8470c748c63a7d5f [2022-08-15T05:28:17.988Z] $ 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 [2022-08-15T05:28:18.750Z] + git log --format=format:%s -1 bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 [Pipeline] sh [2022-08-15T05:28:19.047Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:28:19.047Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:19.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:28:19.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:19.443Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:19.482Z] $ 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 [2022-08-15T05:28:19.931Z] $ docker top 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:28:20.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:28:20.033Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:28:20.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:28:20.175Z] $ docker exec 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 ssh-agent [2022-08-15T05:28:20.301Z] SSH_AUTH_SOCK=/tmp/ssh-b9zgKl8KWBOZ/agent.33 [2022-08-15T05:28:20.301Z] SSH_AGENT_PID=39 [2022-08-15T05:28:20.306Z] Running ssh-add (command line suppressed) [2022-08-15T05:28:20.433Z] 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) [2022-08-15T05:28:20.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:28:20.735Z] + git semver tag [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,918 [run_tag] DEBUG tag force:False [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,918 [check_head_tag] DEBUG check head tag [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,919 [execute] INFO git cat-file --batch-check [2022-08-15T05:28:20.996Z] 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=) [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,923 [execute] INFO git cat-file --batch [2022-08-15T05:28:20.996Z] 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=) [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,934 [execute] INFO git tag -a v2.3.0-dev.10 -m v2.3.0-dev.10 [2022-08-15T05:28:20.996Z] 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) [2022-08-15T05:28:20.996Z] 2022-08-15 05:28:20,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:20.996Z] 2.3.0-dev.10 [Pipeline] } [2022-08-15T05:28:21.008Z] $ docker exec --env ******** --env ******** 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 ssh-agent -k [2022-08-15T05:28:21.129Z] unset SSH_AUTH_SOCK; [2022-08-15T05:28:21.130Z] unset SSH_AGENT_PID; [2022-08-15T05:28:21.130Z] echo Agent pid 39 killed; [2022-08-15T05:28:21.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:28:21.450Z] + git semver [Pipeline] } [2022-08-15T05:28:21.725Z] $ docker stop --time=1 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 [2022-08-15T05:28:23.028Z] $ docker rm -f 5e05ce07e73da7deca4a69394ed26d549bec26d69f8e62a87066272671086949 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:23.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:28:23.427Z] [2022-08-15T05:28:23.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:23.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:28:23.732Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-15T05:28:23.732Z] ab5ef0e58194: Pulling fs layer [2022-08-15T05:28:23.732Z] 9712f1f96733: Pulling fs layer [2022-08-15T05:28:23.732Z] 63f879dbbcfc: Pulling fs layer [2022-08-15T05:28:23.732Z] 0d9ebad4ef96: Pulling fs layer [2022-08-15T05:28:23.732Z] e9a5061849ea: Pulling fs layer [2022-08-15T05:28:23.732Z] d747dcd14b5f: Pulling fs layer [2022-08-15T05:28:23.732Z] 2de7ff778b66: Pulling fs layer [2022-08-15T05:28:23.732Z] 0d9ebad4ef96: Waiting [2022-08-15T05:28:23.732Z] e9a5061849ea: Waiting [2022-08-15T05:28:23.732Z] d747dcd14b5f: Waiting [2022-08-15T05:28:23.732Z] 2de7ff778b66: Waiting [2022-08-15T05:28:23.732Z] 9712f1f96733: Verifying Checksum [2022-08-15T05:28:23.732Z] 9712f1f96733: Download complete [2022-08-15T05:28:23.997Z] 63f879dbbcfc: Verifying Checksum [2022-08-15T05:28:23.997Z] 63f879dbbcfc: Download complete [2022-08-15T05:28:24.259Z] e9a5061849ea: Verifying Checksum [2022-08-15T05:28:24.259Z] e9a5061849ea: Download complete [2022-08-15T05:28:24.259Z] d747dcd14b5f: Download complete [2022-08-15T05:28:24.259Z] ab5ef0e58194: Download complete [2022-08-15T05:28:24.518Z] 0d9ebad4ef96: Verifying Checksum [2022-08-15T05:28:24.518Z] 0d9ebad4ef96: Download complete [2022-08-15T05:28:24.518Z] 2de7ff778b66: Verifying Checksum [2022-08-15T05:28:24.518Z] 2de7ff778b66: Download complete [2022-08-15T05:28:27.811Z] ab5ef0e58194: Pull complete [2022-08-15T05:28:27.811Z] 9712f1f96733: Pull complete [2022-08-15T05:28:28.378Z] 63f879dbbcfc: Pull complete [2022-08-15T05:28:32.578Z] 0d9ebad4ef96: Pull complete [2022-08-15T05:28:33.148Z] e9a5061849ea: Pull complete [2022-08-15T05:28:33.148Z] d747dcd14b5f: Pull complete [2022-08-15T05:28:34.531Z] 2de7ff778b66: Pull complete [2022-08-15T05:28:34.531Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-15T05:28:34.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T05:28:34.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:34.635Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:34.671Z] $ 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 [2022-08-15T05:28:36.737Z] $ docker top d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:28:36.828Z] provisioning config files... [2022-08-15T05:28:36.837Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7108233207306348863tmp [2022-08-15T05:28:36.848Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2464551764886208069tmp [2022-08-15T05:28:36.861Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9186311154557724756tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:28:36.877Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:37.161Z] ---> sigul-configuration.sh [2022-08-15T05:28:37.161Z] gpg: directory `/root/.gnupg' created [2022-08-15T05:28:37.161Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-15T05:28:37.161Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-15T05:28:37.161Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-15T05:28:37.161Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-15T05:28:37.161Z] gpg: CAST5 encrypted data [2022-08-15T05:28:37.161Z] gpg: encrypted with 1 passphrase [2022-08-15T05:28:37.161Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-15T05:28:37.451Z] + mkdir /home/jenkins [2022-08-15T05:28:37.451Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-15T05:28:37.741Z] + 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 [2022-08-15T05:28:37.751Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:38.043Z] ---> sigul-install.sh [2022-08-15T05:28:38.043Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-15T05:28:38.337Z] + git tag --list [2022-08-15T05:28:38.337Z] 1.0.0 [2022-08-15T05:28:38.337Z] v0.0.0 [2022-08-15T05:28:38.337Z] v1.1.0 [2022-08-15T05:28:38.337Z] v1.1.1 [2022-08-15T05:28:38.337Z] v1.2.2 [2022-08-15T05:28:38.337Z] v1.3.0 [2022-08-15T05:28:38.337Z] v1.3.1 [2022-08-15T05:28:38.337Z] v2.0.0 [2022-08-15T05:28:38.337Z] v2.1.0 [2022-08-15T05:28:38.337Z] v2.1.1 [2022-08-15T05:28:38.337Z] v2.1.1-dev.2 [2022-08-15T05:28:38.337Z] v2.1.1-dev.3 [2022-08-15T05:28:38.337Z] v2.2.0 [2022-08-15T05:28:38.337Z] v2.2.1-dev.1 [2022-08-15T05:28:38.337Z] v2.2.1-dev.2 [2022-08-15T05:28:38.337Z] v2.2.1-dev.3 [2022-08-15T05:28:38.337Z] v2.2.1-dev.4 [2022-08-15T05:28:38.337Z] v2.2.1-dev.5 [2022-08-15T05:28:38.337Z] v2.2.1-dev.6 [2022-08-15T05:28:38.337Z] v2.2.1-dev.7 [2022-08-15T05:28:38.337Z] v2.3.0-dev.10 [2022-08-15T05:28:38.337Z] v2.3.0-dev.7 [2022-08-15T05:28:38.337Z] v2.3.0-dev.8 [2022-08-15T05:28:38.337Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-15T05:28:38.631Z] + lftools sign git-tag v2.3.0-dev.10 [2022-08-15T05:28:39.201Z] Signing Git tag with Sigul... [2022-08-15T05:28:39.201Z] Signing v2.3.0-dev.10 [Pipeline] echo [2022-08-15T05:28:39.784Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:40.077Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-15T05:28:40.086Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-15T05:28:40.109Z] $ docker stop --time=1 d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da [2022-08-15T05:28:41.428Z] $ docker rm -f d0601dc54e27b881e5dd7428b5a2d9aa083941e51535fd95e50ecdfa09e4e3da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-15T05:28:41.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:28:41.873Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:42.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:28:42.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:42.261Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:42.299Z] $ 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 [2022-08-15T05:28:42.727Z] $ docker top 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:28:42.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:28:42.829Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:28:42.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:28:42.976Z] $ docker exec 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 ssh-agent [2022-08-15T05:28:43.109Z] SSH_AUTH_SOCK=/tmp/ssh-lAUkiLQoO7wA/agent.32 [2022-08-15T05:28:43.109Z] SSH_AGENT_PID=38 [2022-08-15T05:28:43.115Z] Running ssh-add (command line suppressed) [2022-08-15T05:28:43.239Z] 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) [2022-08-15T05:28:43.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:28:43.542Z] + git semver bump pre [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,733 [bump_version] DEBUG bumping version:2.3.0-dev.10 on axis:pre with prefix:dev [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,733 [bump_version] DEBUG bumped version:2.3.0-dev.11 [2022-08-15T05:28:43.802Z] 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 [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,735 [execute] INFO git cat-file --batch-check [2022-08-15T05:28:43.802Z] 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=) [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,741 [execute] INFO git cat-file --batch [2022-08-15T05:28:43.802Z] 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=) [2022-08-15T05:28:43.802Z] 2022-08-15 05:28:43,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:43.802Z] 2.3.0-dev.11 [Pipeline] } [2022-08-15T05:28:43.815Z] $ docker exec --env ******** --env ******** 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 ssh-agent -k [2022-08-15T05:28:43.941Z] unset SSH_AUTH_SOCK; [2022-08-15T05:28:43.941Z] unset SSH_AGENT_PID; [2022-08-15T05:28:43.942Z] echo Agent pid 38 killed; [2022-08-15T05:28:43.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:28:44.303Z] + git semver [Pipeline] } [2022-08-15T05:28:44.623Z] $ docker stop --time=1 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 [2022-08-15T05:28:45.938Z] $ docker rm -f 01d7616c54454a722c0ff08da8ba3759fa50d51dd632b2c380cb0ff592a91e36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:28:46.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:28:46.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:46.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:28:46.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:46.701Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:46.733Z] $ 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 [2022-08-15T05:28:47.133Z] $ docker top 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:28:47.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:28:47.225Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:28:47.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:28:47.348Z] $ docker exec 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 ssh-agent [2022-08-15T05:28:47.479Z] SSH_AUTH_SOCK=/tmp/ssh-1Acf9xRQvmJa/agent.34 [2022-08-15T05:28:47.479Z] SSH_AGENT_PID=41 [2022-08-15T05:28:47.486Z] Running ssh-add (command line suppressed) [2022-08-15T05:28:47.606Z] 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) [2022-08-15T05:28:47.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:28:47.918Z] + git semver push [2022-08-15T05:28:48.179Z] 2022-08-15 05:28:48,107 [run_push] DEBUG push [2022-08-15T05:28:48.179Z] 2022-08-15 05:28:48,108 [execute] INFO git cat-file --batch-check [2022-08-15T05:28:48.179Z] 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=) [2022-08-15T05:28:48.179Z] 2022-08-15 05:28:48,111 [execute] INFO git rev-list d3b4dcc8ae4853305cccfb2ec712d78045090c91 -- [2022-08-15T05:28:48.179Z] 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) [2022-08-15T05:28:48.179Z] 2022-08-15 05:28:48,119 [execute] INFO git fetch -v origin [2022-08-15T05:28:48.179Z] 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) [2022-08-15T05:28:48.752Z] 2022-08-15 05:28:48,589 [run_push] DEBUG no remote changes detected [2022-08-15T05:28:48.752Z] 2022-08-15 05:28:48,589 [execute] INFO git push origin semver [2022-08-15T05:28:48.752Z] 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) [2022-08-15T05:28:49.697Z] 2022-08-15 05:28:49,326 [run_push] DEBUG push all version tags [2022-08-15T05:28:49.697Z] 2022-08-15 05:28:49,327 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-15T05:28:49.697Z] 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) [2022-08-15T05:28:50.270Z] 2022-08-15 05:28:49,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-08-15T05:28:50.270Z] 2.3.0-dev.11 [Pipeline] } [2022-08-15T05:28:50.287Z] $ docker exec --env ******** --env ******** 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 ssh-agent -k [2022-08-15T05:28:50.407Z] unset SSH_AUTH_SOCK; [2022-08-15T05:28:50.407Z] unset SSH_AGENT_PID; [2022-08-15T05:28:50.407Z] echo Agent pid 41 killed; [2022-08-15T05:28:50.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:28:50.729Z] + git semver [Pipeline] } [2022-08-15T05:28:51.006Z] $ docker stop --time=1 1eee534a6e0a2b9f44fd00fe442f3c2082b3dd99b83a44fca66c5e7b186cd361 [2022-08-15T05:28:52.332Z] $ 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 [2022-08-15T05:28:52.912Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-08-15T05:28:52.912Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-08-15T05:28:52.912Z] total 16 [2022-08-15T05:28:52.912Z] drwxr-xr-x 3 root root 4096 Aug 15 05:19 . [2022-08-15T05:28:52.912Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:28 .. [2022-08-15T05:28:52.912Z] drwxr-xr-x 2 root root 4096 Aug 15 05:19 cost [2022-08-15T05:28:52.912Z] -rw-r--r-- 1 root root 85 Aug 15 05:19 cost.csv [2022-08-15T05:28:52.912Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-08-15T05:28:52.912Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-08-15T05:28:52.912Z] total 16 [2022-08-15T05:28:52.912Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:19 . [2022-08-15T05:28:52.912Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:28 .. [2022-08-15T05:28:52.912Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:19 cost [2022-08-15T05:28:52.912Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 15 05:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:53.210Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:54.078Z] ---> package-listing.sh [2022-08-15T05:28:54.078Z] ++ facter osfamily [2022-08-15T05:28:54.078Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T05:28:54.338Z] + OS_FAMILY=debian [2022-08-15T05:28:54.338Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-08-15T05:28:54.338Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T05:28:54.338Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T05:28:54.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T05:28:54.338Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T05:28:54.338Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-08-15T05:28:54.338Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T05:28:54.338Z] + case "${OS_FAMILY}" in [2022-08-15T05:28:54.338Z] + dpkg -l [2022-08-15T05:28:54.338Z] + grep '^ii' [2022-08-15T05:28:54.338Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T05:28:54.338Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T05:28:54.339Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T05:28:54.339Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-08-15T05:28:54.339Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-08-15T05:28:54.339Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2022-08-15T05:28:54.350Z] 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 [2022-08-15T05:28:54.632Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:28:55.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:28:55.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:28:55.293Z] prd-ubuntu20.04-docker-8c-8g-22778 does not seem to be running inside a container [2022-08-15T05:28:55.334Z] $ 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 [2022-08-15T05:28:55.620Z] $ docker top b8ce6e9baf0a3a452527dfbf9df51407e4693b10550c0dd27385d3887775d579 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:28:55.988Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T05:28:56.278Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T05:28:56.573Z] + ls /var/log/sa-host [2022-08-15T05:28:56.573Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:28:56.705Z] provisioning config files... [2022-08-15T05:28:56.715Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3085693727266504895tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:28:56.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:57.013Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T05:28:57.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:57.352Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T05:28:57.362Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:57.651Z] ---> sudo-logs.sh [2022-08-15T05:28:57.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T05:28:57.683Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:57.971Z] ---> job-cost.sh [2022-08-15T05:28:57.971Z] lf-activate-venv: SKIPPING [2022-08-15T05:28:57.971Z] DEBUG: total: 0.2199999988079071 [2022-08-15T05:28:57.971Z] INFO: Retrieving Stack Cost... [2022-08-15T05:28:58.541Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:28:58.800Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T05:28:58.809Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:28:59.092Z] ---> logs-deploy.sh [2022-08-15T05:28:59.092Z] lf-activate-venv: SKIPPING [2022-08-15T05:28:59.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/41 [2022-08-15T05:28:59.092Z] INFO: archiving workspace using pattern(s): [2022-08-15T05:29:00.033Z] Archives upload complete. [2022-08-15T05:29:00.292Z] INFO: archiving logs to Nexus