Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe7a4eb43542f16c84660f884d46e7cb5999737b 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-ssh4695995069989420616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7549168925918447935.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1903849939910374791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7057514516219860525.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2788030306579674852.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25305 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision fe7a4eb43542f16c84660f884d46e7cb5999737b (main) > 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 fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189)" > git rev-list --no-walk bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-06T21:23:19.242Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-06T21:23:19.303Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-06T21:23:19.315Z] ========================================================= [2022-09-06T21:23:19.315Z] EdgeX Global Pipelines Version Info [2022-09-06T21:23:19.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-06T21:23:20.074Z] ------------------- [2022-09-06T21:23:20.074Z] stable info: [2022-09-06T21:23:20.074Z] ------------------- [2022-09-06T21:23:20.074Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-06T21:23:20.074Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T21:23:20.074Z] Message: update stable to v1.0.239 [2022-09-06T21:23:20.646Z] ------------------- [2022-09-06T21:23:20.646Z] experimental info: [2022-09-06T21:23:20.646Z] ------------------- [2022-09-06T21:23:20.646Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-06T21:23:20.646Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T21:23:20.646Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-06T21:23:20.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-06T21:23:20.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-06T21:23:20.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-06T21:23:20.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-06T21:23:20.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-06T21:23:20.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-06T21:23:20.981Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-06T21:23:20.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-06T21:23:20.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-06T21:23:21.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-06T21:23:21.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-06T21:23:21.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-06T21:23:21.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-06T21:23:21.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-06T21:23:21.079Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T21:23:21.090Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T21:23:21.101Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T21:23:21.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T21:23:21.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-06T21:23:21.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-06T21:23:21.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-06T21:23:21.171Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-06T21:23:21.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-06T21:23:21.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-06T21:23:21.213Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-06T21:23:21.226Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-06T21:23:21.239Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-06T21:23:21.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-06T21:23:21.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-06T21:23:21.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-06T21:23:21.287Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo [2022-09-06T21:23:21.298Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe7a4eb [Pipeline] echo [2022-09-06T21:23:21.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T21:23:21.352Z] provisioning config files... [2022-09-06T21:23:21.365Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4785827278389620660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T21:23:21.671Z] ---> docker-login.sh [2022-09-06T21:23:21.671Z] nexus3.edgexfoundry.org:10001 [2022-09-06T21:23:21.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:21.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:21.933Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:21.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:21.933Z] [2022-09-06T21:23:21.933Z] Login Succeeded [2022-09-06T21:23:21.933Z] nexus3.edgexfoundry.org:10002 [2022-09-06T21:23:21.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:22.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:22.197Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:22.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:22.197Z] [2022-09-06T21:23:22.197Z] Login Succeeded [2022-09-06T21:23:22.197Z] nexus3.edgexfoundry.org:10003 [2022-09-06T21:23:22.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:22.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:22.197Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:22.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:22.197Z] [2022-09-06T21:23:22.197Z] Login Succeeded [2022-09-06T21:23:22.197Z] nexus3.edgexfoundry.org:10004 [2022-09-06T21:23:22.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:22.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:22.459Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:22.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:22.459Z] [2022-09-06T21:23:22.459Z] Login Succeeded [2022-09-06T21:23:22.459Z] docker.io [2022-09-06T21:23:22.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:22.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:22.718Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:22.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:22.718Z] [2022-09-06T21:23:22.718Z] Login Succeeded [2022-09-06T21:23:22.718Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T21:23:22.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-06T21:23:23.116Z] + git rev-list -1 --merges fe7a4eb43542f16c84660f884d46e7cb5999737b~1..fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo [2022-09-06T21:23:23.145Z] -----------> git rev-list -1 --merges fe7a4eb43542f16c84660f884d46e7cb5999737b~1..fe7a4eb43542f16c84660f884d46e7cb5999737b fe7a4eb43542f16c84660f884d46e7cb5999737b [false] [Pipeline] sh [2022-09-06T21:23:23.438Z] + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo [2022-09-06T21:23:23.453Z] ========================================================= [2022-09-06T21:23:23.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-06T21:23:23.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T21:23:23.837Z] + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] echo [2022-09-06T21:23:23.848Z] [semverPrep] GIT_COMMIT: fe7a4eb43542f16c84660f884d46e7cb5999737b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189) [Pipeline] echo [2022-09-06T21:23:23.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-06T21:23:24.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T21:23:24.296Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-06T21:23:24.296Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-06T21:23:24.296Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-06T21:23:24.296Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-06T21:23:24.296Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-06T21:23:24.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:23:24.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T21:23:24.711Z] [2022-09-06T21:23:24.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:23:25.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T21:23:25.021Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-06T21:23:25.021Z] b85a868b505f: Pulling fs layer [2022-09-06T21:23:25.021Z] e2be974225ed: Pulling fs layer [2022-09-06T21:23:25.021Z] 339a4e72a1f5: Pulling fs layer [2022-09-06T21:23:25.021Z] 988bab9f4d93: Pulling fs layer [2022-09-06T21:23:25.021Z] 1469e6f7b9e6: Pulling fs layer [2022-09-06T21:23:25.021Z] eaf3925da568: Pulling fs layer [2022-09-06T21:23:25.021Z] bab4dde63d76: Pulling fs layer [2022-09-06T21:23:25.021Z] bde34c3a00c8: Pulling fs layer [2022-09-06T21:23:25.021Z] b352a97aabf1: Pulling fs layer [2022-09-06T21:23:25.021Z] 4872d77fe225: Pulling fs layer [2022-09-06T21:23:25.021Z] 5851b861e8e6: Pulling fs layer [2022-09-06T21:23:25.021Z] bab4dde63d76: Waiting [2022-09-06T21:23:25.021Z] bde34c3a00c8: Waiting [2022-09-06T21:23:25.021Z] b352a97aabf1: Waiting [2022-09-06T21:23:25.021Z] 4872d77fe225: Waiting [2022-09-06T21:23:25.021Z] 5851b861e8e6: Waiting [2022-09-06T21:23:25.021Z] 988bab9f4d93: Waiting [2022-09-06T21:23:25.021Z] 1469e6f7b9e6: Waiting [2022-09-06T21:23:25.021Z] eaf3925da568: Waiting [2022-09-06T21:23:25.021Z] e2be974225ed: Verifying Checksum [2022-09-06T21:23:25.021Z] e2be974225ed: Download complete [2022-09-06T21:23:25.021Z] 988bab9f4d93: Verifying Checksum [2022-09-06T21:23:25.021Z] 988bab9f4d93: Download complete [2022-09-06T21:23:25.284Z] 1469e6f7b9e6: Verifying Checksum [2022-09-06T21:23:25.284Z] 1469e6f7b9e6: Download complete [2022-09-06T21:23:25.284Z] 339a4e72a1f5: Verifying Checksum [2022-09-06T21:23:25.284Z] 339a4e72a1f5: Download complete [2022-09-06T21:23:25.284Z] eaf3925da568: Download complete [2022-09-06T21:23:25.284Z] bde34c3a00c8: Download complete [2022-09-06T21:23:25.284Z] b352a97aabf1: Verifying Checksum [2022-09-06T21:23:25.284Z] b352a97aabf1: Download complete [2022-09-06T21:23:25.284Z] 4872d77fe225: Verifying Checksum [2022-09-06T21:23:25.284Z] 4872d77fe225: Download complete [2022-09-06T21:23:25.284Z] 5851b861e8e6: Verifying Checksum [2022-09-06T21:23:25.284Z] 5851b861e8e6: Download complete [2022-09-06T21:23:25.284Z] b85a868b505f: Verifying Checksum [2022-09-06T21:23:25.284Z] b85a868b505f: Download complete [2022-09-06T21:23:25.544Z] bab4dde63d76: Verifying Checksum [2022-09-06T21:23:25.544Z] bab4dde63d76: Download complete [2022-09-06T21:23:26.484Z] b85a868b505f: Pull complete [2022-09-06T21:23:26.744Z] e2be974225ed: Pull complete [2022-09-06T21:23:27.005Z] 339a4e72a1f5: Pull complete [2022-09-06T21:23:27.005Z] 988bab9f4d93: Pull complete [2022-09-06T21:23:27.585Z] 1469e6f7b9e6: Pull complete [2022-09-06T21:23:27.585Z] eaf3925da568: Pull complete [2022-09-06T21:23:29.508Z] bab4dde63d76: Pull complete [2022-09-06T21:23:29.508Z] bde34c3a00c8: Pull complete [2022-09-06T21:23:29.508Z] b352a97aabf1: Pull complete [2022-09-06T21:23:29.508Z] 4872d77fe225: Pull complete [2022-09-06T21:23:29.508Z] 5851b861e8e6: Pull complete [2022-09-06T21:23:29.508Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-06T21:23:29.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T21:23:29.508Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T21:23:29.599Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T21:23:29.631Z] $ 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-09-06T21:23:32.102Z] $ docker top 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 -eo pid,comm [2022-09-06T21:23:32.165Z] 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-09-06T21:23:32.165Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T21:23:32.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T21:23:32.195Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T21:23:32.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T21:23:32.324Z] $ docker exec 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent [2022-09-06T21:23:32.442Z] SSH_AUTH_SOCK=/tmp/ssh-d1aLVM65tjWF/agent.35 [2022-09-06T21:23:32.442Z] SSH_AGENT_PID=41 [2022-09-06T21:23:32.448Z] Running ssh-add (command line suppressed) [2022-09-06T21:23:32.559Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865096365286317096.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865096365286317096.key) [2022-09-06T21:23:32.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T21:23:32.855Z] + git tag --points-at HEAD [Pipeline] } [2022-09-06T21:23:32.865Z] $ docker exec --env ******** --env ******** 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent -k [2022-09-06T21:23:32.977Z] unset SSH_AUTH_SOCK; [2022-09-06T21:23:32.978Z] unset SSH_AGENT_PID; [2022-09-06T21:23:32.978Z] echo Agent pid 41 killed; [2022-09-06T21:23:32.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-06T21:23:33.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T21:23:33.008Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T21:23:33.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T21:23:33.126Z] $ docker exec 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent [2022-09-06T21:23:33.260Z] SSH_AUTH_SOCK=/tmp/ssh-4ZjtCf3eErSi/agent.74 [2022-09-06T21:23:33.260Z] SSH_AGENT_PID=80 [2022-09-06T21:23:33.265Z] Running ssh-add (command line suppressed) [2022-09-06T21:23:33.371Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1545809512902081598.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1545809512902081598.key) [2022-09-06T21:23:33.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T21:23:33.667Z] + git semver init [2022-09-06T21:23:33.926Z] 2022-09-06 21:23:33,859 [run_init] DEBUG init version:0.0.0 force:False [2022-09-06T21:23:33.926Z] 2022-09-06 21:23:33,859 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-09-06T21:23:33.926Z] 2022-09-06 21:23:33,860 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-09-06T21:23:33.926Z] 2022-09-06 21:23:33,860 [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-09-06T21:23:34.868Z] 2022-09-06 21:23:34,760 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-09-06T21:23:34.868Z] 2022-09-06 21:23:34,761 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-09-06T21:23:34.868Z] 2022-09-06 21:23:34,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T21:23:34.868Z] 2022-09-06 21:23:34,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T21:23:34.868Z] 2.3.0-dev.11 [Pipeline] } [2022-09-06T21:23:34.880Z] $ docker exec --env ******** --env ******** 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 ssh-agent -k [2022-09-06T21:23:35.001Z] unset SSH_AUTH_SOCK; [2022-09-06T21:23:35.002Z] unset SSH_AGENT_PID; [2022-09-06T21:23:35.002Z] echo Agent pid 80 killed; [2022-09-06T21:23:35.023Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T21:23:35.354Z] + git semver [Pipeline] } [2022-09-06T21:23:35.627Z] $ docker stop --time=1 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 [2022-09-06T21:23:36.907Z] $ docker rm -f 56c14795951cc1b42deb19ead4eb699fad85c0230a47f29e234ac086ba966fd9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T21:23:37.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-06T21:23:37.503Z] Stashed 1 file(s) [Pipeline] echo [2022-09-06T21:23:37.506Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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-09-06T21:23:37.661Z] provisioning config files... [2022-09-06T21:23:37.673Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config233334957619470163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T21:23:37.974Z] ---> docker-login.sh [2022-09-06T21:23:37.974Z] nexus3.edgexfoundry.org:10001 [2022-09-06T21:23:37.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:37.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:37.974Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:37.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:37.974Z] [2022-09-06T21:23:37.974Z] Login Succeeded [2022-09-06T21:23:37.974Z] nexus3.edgexfoundry.org:10002 [2022-09-06T21:23:37.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:37.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:37.974Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:37.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:37.974Z] [2022-09-06T21:23:38.234Z] Login Succeeded [2022-09-06T21:23:38.234Z] nexus3.edgexfoundry.org:10003 [2022-09-06T21:23:38.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:38.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:38.234Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:38.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:38.234Z] [2022-09-06T21:23:38.234Z] Login Succeeded [2022-09-06T21:23:38.234Z] nexus3.edgexfoundry.org:10004 [2022-09-06T21:23:38.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:38.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:38.234Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:38.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:38.234Z] [2022-09-06T21:23:38.234Z] Login Succeeded [2022-09-06T21:23:38.495Z] docker.io [2022-09-06T21:23:38.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:23:38.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:23:38.755Z] Configure a credential helper to remove this warning. See [2022-09-06T21:23:38.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:23:38.755Z] [2022-09-06T21:23:38.755Z] Login Succeeded [2022-09-06T21:23:38.756Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T21:23:38.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T21:23:38.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T21:23:38.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T21:23:38.842Z] ========================================================= [2022-09-06T21:23:38.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-06T21:23:38.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:23:39.152Z] + 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-09-06T21:23:39.153Z] Sending build context to Docker daemon 5.453MB [2022-09-06T21:23:39.153Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T21:23:39.153Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-06T21:23:39.153Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-06T21:23:39.153Z] 2408cc74d12b: Pulling fs layer [2022-09-06T21:23:39.153Z] ea60b727a1ce: Pulling fs layer [2022-09-06T21:23:39.153Z] 30c4a7721957: Pulling fs layer [2022-09-06T21:23:39.153Z] 370296b7ddb6: Pulling fs layer [2022-09-06T21:23:39.153Z] 7c6cee850709: Pulling fs layer [2022-09-06T21:23:39.153Z] 39a5fcdaea64: Pulling fs layer [2022-09-06T21:23:39.153Z] d94ebbe4e438: Pulling fs layer [2022-09-06T21:23:39.153Z] bcfd1f05c69d: Pulling fs layer [2022-09-06T21:23:39.153Z] 7c6cee850709: Waiting [2022-09-06T21:23:39.153Z] 370296b7ddb6: Waiting [2022-09-06T21:23:39.153Z] 39a5fcdaea64: Waiting [2022-09-06T21:23:39.153Z] 59ccb84bbe0f: Pulling fs layer [2022-09-06T21:23:39.153Z] bcfd1f05c69d: Waiting [2022-09-06T21:23:39.153Z] 59ccb84bbe0f: Waiting [2022-09-06T21:23:39.153Z] d94ebbe4e438: Waiting [2022-09-06T21:23:39.153Z] 30c4a7721957: Download complete [2022-09-06T21:23:39.153Z] ea60b727a1ce: Verifying Checksum [2022-09-06T21:23:39.153Z] ea60b727a1ce: Download complete [2022-09-06T21:23:39.153Z] 7c6cee850709: Verifying Checksum [2022-09-06T21:23:39.153Z] 7c6cee850709: Download complete [2022-09-06T21:23:39.417Z] 39a5fcdaea64: Download complete [2022-09-06T21:23:39.417Z] 2408cc74d12b: Verifying Checksum [2022-09-06T21:23:39.417Z] 2408cc74d12b: Download complete [2022-09-06T21:23:39.417Z] d94ebbe4e438: Verifying Checksum [2022-09-06T21:23:39.417Z] d94ebbe4e438: Download complete [2022-09-06T21:23:39.417Z] 2408cc74d12b: Pull complete [2022-09-06T21:23:39.689Z] ea60b727a1ce: Pull complete [2022-09-06T21:23:39.689Z] 30c4a7721957: Pull complete [2022-09-06T21:23:39.962Z] 59ccb84bbe0f: Verifying Checksum [2022-09-06T21:23:39.962Z] 59ccb84bbe0f: Download complete [2022-09-06T21:23:40.552Z] 370296b7ddb6: Verifying Checksum [2022-09-06T21:23:40.552Z] 370296b7ddb6: Download complete [2022-09-06T21:23:40.552Z] bcfd1f05c69d: Verifying Checksum [2022-09-06T21:23:40.552Z] bcfd1f05c69d: Download complete [2022-09-06T21:23:43.838Z] 370296b7ddb6: Pull complete [2022-09-06T21:23:44.096Z] 7c6cee850709: Pull complete [2022-09-06T21:23:44.096Z] 39a5fcdaea64: Pull complete [2022-09-06T21:23:44.096Z] d94ebbe4e438: Pull complete [2022-09-06T21:23:46.006Z] bcfd1f05c69d: Pull complete [2022-09-06T21:23:46.945Z] 59ccb84bbe0f: Pull complete [2022-09-06T21:23:46.945Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-06T21:23:46.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-06T21:23:46.945Z] ---> a4fb48ad2a94 [2022-09-06T21:23:46.945Z] Step 3/12 : ARG MAKE='make build' [2022-09-06T21:23:52.233Z] ---> Running in be9a9fe6044f [2022-09-06T21:23:52.233Z] Removing intermediate container be9a9fe6044f [2022-09-06T21:23:52.233Z] ---> 4a3b2dc35e29 [2022-09-06T21:23:52.233Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T21:23:52.233Z] ---> Running in 52ac117249b9 [2022-09-06T21:23:52.233Z] Removing intermediate container 52ac117249b9 [2022-09-06T21:23:52.233Z] ---> f54494a64f4a [2022-09-06T21:23:52.233Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T21:23:52.233Z] ---> Running in 2852de0feeec [2022-09-06T21:23:52.233Z] Removing intermediate container 2852de0feeec [2022-09-06T21:23:52.233Z] ---> ec0f05228a88 [2022-09-06T21:23:52.233Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T21:23:52.233Z] ---> Running in 357281eb09b8 [2022-09-06T21:23:52.233Z] Removing intermediate container 357281eb09b8 [2022-09-06T21:23:52.233Z] ---> a087624df611 [2022-09-06T21:23:52.233Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T21:23:52.233Z] ---> Running in 91fa8585f6ba [2022-09-06T21:23:52.493Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T21:23:52.615Z] Still waiting to schedule task [2022-09-06T21:23:52.615Z] ‘prd-centos7-blackbox-4c-2g-24474’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-06T21:23:52.615Z] ‘prd-centos7-blackbox-4c-2g-24475’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-06T21:23:52.615Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24772’ is offline [2022-09-06T21:23:52.615Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25333’ is offline [2022-09-06T21:23:53.435Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T21:23:53.695Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-06T21:23:53.695Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-06T21:23:53.958Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-06T21:23:53.958Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-06T21:23:54.218Z] Executing busybox-1.35.0-r13.trigger [2022-09-06T21:23:54.218Z] OK: 216 MiB in 55 packages [2022-09-06T21:23:54.477Z] Removing intermediate container 91fa8585f6ba [2022-09-06T21:23:54.477Z] ---> 57c776236629 [2022-09-06T21:23:54.477Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-06T21:23:54.477Z] ---> Running in d879f1c97e7e [2022-09-06T21:23:54.477Z] Removing intermediate container d879f1c97e7e [2022-09-06T21:23:54.477Z] ---> c9895ecbbb66 [2022-09-06T21:23:54.477Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-06T21:23:54.736Z] ---> 3cffa61de82f [2022-09-06T21:23:54.736Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T21:23:54.736Z] ---> Running in f63a7b6f2a54 [2022-09-06T21:24:16.684Z] Removing intermediate container f63a7b6f2a54 [2022-09-06T21:24:16.684Z] ---> 818f77e60ca5 [2022-09-06T21:24:16.684Z] Step 11/12 : COPY . . [2022-09-06T21:24:16.684Z] ---> 447052ca1b21 [2022-09-06T21:24:16.684Z] Step 12/12 : RUN ${MAKE} [2022-09-06T21:24:16.684Z] ---> Running in 8255c772860d [2022-09-06T21:24:16.684Z] noop [2022-09-06T21:24:16.684Z] Removing intermediate container 8255c772860d [2022-09-06T21:24:16.684Z] ---> 4f6d83723a8b [2022-09-06T21:24:16.684Z] Successfully built 4f6d83723a8b [2022-09-06T21:24:16.684Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:24:17.017Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T21:24:17.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T21:24:17.102Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T21:24:17.135Z] $ 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-09-06T21:24:17.486Z] $ docker top cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T21:24:17.853Z] + go version [2022-09-06T21:24:17.853Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-06T21:24:17.868Z] $ docker stop --time=1 cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 [2022-09-06T21:24:19.174Z] $ docker rm -f cb104cd091b0d99378103877ab91fa4d833d996a78c44d53e6e3aaf2e97a22c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:24:19.630Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T21:24:19.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T21:24:19.702Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T21:24:19.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-06T21:24:20.064Z] $ docker top d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T21:24:20.424Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-06T21:24:20.719Z] + make test [2022-09-06T21:24:20.719Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-06T21:24:20.992Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-06T21:24:29.098Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-06T21:24:29.099Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2022-09-06T21:24:35.665Z] 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-09-06T21:24:35.665Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-06T21:24:37.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T21:24:37.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T21:24:37.569Z] ./bin/test-attribution-txt.sh [2022-09-06T21:24:37.569Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-06T21:24:37.569Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-06T21:24:37.569Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-06T21:24:37.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T21:24:37.592Z] $ docker stop --time=1 d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d [2022-09-06T21:24:39.552Z] $ docker rm -f d68b539893baf916ab5fc6e961799b44866f9b716170ca682f537b1d44523b3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T21:24:39.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T21:24:40.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-06T21:24:40.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T21:24:40.848Z] + ls -al . [2022-09-06T21:24:40.848Z] total 172 [2022-09-06T21:24:40.848Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 21:24 . [2022-09-06T21:24:40.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 .. [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 6 21:23 .dockerignore [2022-09-06T21:24:40.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:24 .git [2022-09-06T21:24:40.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 .github [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 6 21:23 .gitignore [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:23 .golangci.yml [2022-09-06T21:24:40.848Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:23 .semver [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 6 21:23 Attribution.txt [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 6 21:23 CHANGELOG.md [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 6 21:23 Dockerfile [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:23 GOVERNANCE.md [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 6 21:23 Jenkinsfile [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 21:23 LICENSE [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 6 21:23 Makefile [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 21:23 OWNERS.md [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 6 21:23 README.md [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION [2022-09-06T21:24:40.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:23 bin [2022-09-06T21:24:40.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 cmd [2022-09-06T21:24:40.848Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 6 21:24 coverage.out [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 6 21:23 go.mod [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 6 21:23 go.sum [2022-09-06T21:24:40.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 internal [2022-09-06T21:24:40.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 snap [2022-09-06T21:24:40.848Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 6 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:24:41.145Z] + 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=fe7a4eb43542f16c84660f884d46e7cb5999737b --label arch=amd64 --label version=2.3.0-dev.11 . [2022-09-06T21:24:41.145Z] Sending build context to Docker daemon 5.462MB [2022-09-06T21:24:41.145Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T21:24:41.145Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-06T21:24:41.145Z] ---> 4f6d83723a8b [2022-09-06T21:24:41.145Z] Step 3/24 : ARG MAKE='make build' [2022-09-06T21:24:41.145Z] ---> Running in bcf61a5f5d9e [2022-09-06T21:24:41.404Z] Removing intermediate container bcf61a5f5d9e [2022-09-06T21:24:41.404Z] ---> eb5bbdebd439 [2022-09-06T21:24:41.404Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T21:24:41.404Z] ---> Running in 25f3fdd83b1a [2022-09-06T21:24:41.404Z] Removing intermediate container 25f3fdd83b1a [2022-09-06T21:24:41.404Z] ---> 18db2c1dd56f [2022-09-06T21:24:41.404Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T21:24:41.404Z] ---> Running in 4c1a1a5ee672 [2022-09-06T21:24:41.404Z] Removing intermediate container 4c1a1a5ee672 [2022-09-06T21:24:41.404Z] ---> 2492a19b4159 [2022-09-06T21:24:41.404Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T21:24:41.664Z] ---> Running in cb6029f13d9a [2022-09-06T21:24:42.231Z] Removing intermediate container cb6029f13d9a [2022-09-06T21:24:42.231Z] ---> 195f75484b58 [2022-09-06T21:24:42.231Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T21:24:42.231Z] ---> Running in 8df8b6b5dfe1 [2022-09-06T21:24:42.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T21:24:43.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T21:24:43.431Z] OK: 216 MiB in 55 packages [2022-09-06T21:24:43.690Z] Removing intermediate container 8df8b6b5dfe1 [2022-09-06T21:24:43.690Z] ---> da1191b87ac5 [2022-09-06T21:24:43.690Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-06T21:24:43.690Z] ---> Running in 7985c934db24 [2022-09-06T21:24:43.950Z] Removing intermediate container 7985c934db24 [2022-09-06T21:24:43.950Z] ---> adc3ab25577a [2022-09-06T21:24:43.950Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-06T21:24:43.950Z] ---> 87f8dd0c3122 [2022-09-06T21:24:43.950Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T21:24:43.950Z] ---> Running in 0b7aef02ce3a [2022-09-06T21:24:44.519Z] Removing intermediate container 0b7aef02ce3a [2022-09-06T21:24:44.519Z] ---> 8327ab298816 [2022-09-06T21:24:44.519Z] Step 11/24 : COPY . . [2022-09-06T21:24:44.779Z] ---> dfb8ecab8ae8 [2022-09-06T21:24:44.779Z] Step 12/24 : RUN ${MAKE} [2022-09-06T21:24:44.779Z] ---> Running in 8d161275dbe7 [2022-09-06T21:24:45.040Z] 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-06T21:25:06.987Z] Removing intermediate container 8d161275dbe7 [2022-09-06T21:25:06.987Z] ---> 763d7ddf2696 [2022-09-06T21:25:06.987Z] Step 13/24 : FROM alpine:3.16 [2022-09-06T21:25:06.987Z] 3.16: Pulling from library/alpine [2022-09-06T21:25:06.987Z] 213ec9aee27d: Pulling fs layer [2022-09-06T21:25:06.987Z] 213ec9aee27d: Verifying Checksum [2022-09-06T21:25:06.987Z] 213ec9aee27d: Download complete [2022-09-06T21:25:06.987Z] 213ec9aee27d: Pull complete [2022-09-06T21:25:06.987Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T21:25:06.987Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T21:25:06.987Z] ---> 9c6f07244728 [2022-09-06T21:25:06.987Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-06T21:25:06.987Z] ---> Running in 0ea2419e578e [2022-09-06T21:25:06.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T21:25:06.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T21:25:06.987Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-06T21:25:06.987Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T21:25:06.987Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-06T21:25:06.987Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T21:25:06.987Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-06T21:25:06.987Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-06T21:25:06.987Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T21:25:06.987Z] OK: 8 MiB in 20 packages [2022-09-06T21:25:06.987Z] Removing intermediate container 0ea2419e578e [2022-09-06T21:25:06.987Z] ---> f4f25d0a4cc8 [2022-09-06T21:25:06.987Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-06T21:25:06.987Z] ---> b3af8df21167 [2022-09-06T21:25:06.987Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-06T21:25:06.987Z] ---> 9c76ee5b4e40 [2022-09-06T21:25:06.987Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-06T21:25:06.987Z] ---> e636e43af66e [2022-09-06T21:25:06.987Z] Step 18/24 : EXPOSE 59993 [2022-09-06T21:25:06.987Z] ---> Running in 1968abe4714e [2022-09-06T21:25:06.987Z] Removing intermediate container 1968abe4714e [2022-09-06T21:25:06.987Z] ---> bd1c7feda0b2 [2022-09-06T21:25:06.987Z] Step 19/24 : EXPOSE 161 [2022-09-06T21:25:06.987Z] ---> Running in 32aac1f06e0c [2022-09-06T21:25:06.987Z] Removing intermediate container 32aac1f06e0c [2022-09-06T21:25:06.987Z] ---> 78117acd689e [2022-09-06T21:25:06.987Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-06T21:25:06.987Z] ---> Running in fe876db106f8 [2022-09-06T21:25:06.987Z] Removing intermediate container fe876db106f8 [2022-09-06T21:25:06.987Z] ---> b05bfe7c6af7 [2022-09-06T21:25:06.987Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-06T21:25:06.987Z] ---> Running in d189c9b66fbc [2022-09-06T21:25:06.987Z] Removing intermediate container d189c9b66fbc [2022-09-06T21:25:06.987Z] ---> 270b574bc332 [2022-09-06T21:25:06.987Z] Step 22/24 : LABEL arch=amd64 [2022-09-06T21:25:06.987Z] ---> Running in 16fd0059faa1 [2022-09-06T21:25:06.987Z] Removing intermediate container 16fd0059faa1 [2022-09-06T21:25:06.987Z] ---> 46a9a3d7387d [2022-09-06T21:25:06.987Z] Step 23/24 : LABEL git_sha=fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T21:25:06.987Z] ---> Running in f494dc66880e [2022-09-06T21:25:07.247Z] Removing intermediate container f494dc66880e [2022-09-06T21:25:07.247Z] ---> bd827e8ca07c [2022-09-06T21:25:07.247Z] Step 24/24 : LABEL version=2.3.0-dev.11 [2022-09-06T21:25:07.247Z] ---> Running in fafdefb3bd57 [2022-09-06T21:25:07.247Z] Removing intermediate container fafdefb3bd57 [2022-09-06T21:25:07.247Z] ---> ea20979f4664 [2022-09-06T21:25:07.247Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T21:25:07.247Z] Successfully built ea20979f4664 [2022-09-06T21:25:07.247Z] 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-09-06T21:25:07.366Z] provisioning config files... [2022-09-06T21:25:07.376Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4829211872254451103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T21:25:07.672Z] ---> docker-login.sh [2022-09-06T21:25:07.672Z] nexus3.edgexfoundry.org:10001 [2022-09-06T21:25:07.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:25:07.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:25:07.672Z] Configure a credential helper to remove this warning. See [2022-09-06T21:25:07.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:25:07.672Z] [2022-09-06T21:25:07.672Z] Login Succeeded [2022-09-06T21:25:07.672Z] nexus3.edgexfoundry.org:10002 [2022-09-06T21:25:07.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:25:07.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:25:07.932Z] Configure a credential helper to remove this warning. See [2022-09-06T21:25:07.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:25:07.932Z] [2022-09-06T21:25:07.932Z] Login Succeeded [2022-09-06T21:25:07.932Z] nexus3.edgexfoundry.org:10003 [2022-09-06T21:25:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:25:07.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:25:07.932Z] Configure a credential helper to remove this warning. See [2022-09-06T21:25:07.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:25:07.932Z] [2022-09-06T21:25:07.932Z] Login Succeeded [2022-09-06T21:25:07.932Z] nexus3.edgexfoundry.org:10004 [2022-09-06T21:25:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:25:08.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:25:08.191Z] Configure a credential helper to remove this warning. See [2022-09-06T21:25:08.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:25:08.192Z] [2022-09-06T21:25:08.192Z] Login Succeeded [2022-09-06T21:25:08.192Z] docker.io [2022-09-06T21:25:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T21:25:08.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T21:25:08.451Z] Configure a credential helper to remove this warning. See [2022-09-06T21:25:08.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T21:25:08.451Z] [2022-09-06T21:25:08.451Z] Login Succeeded [2022-09-06T21:25:08.451Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T21:25:08.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-06T21:25:08.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T21:25:08.511Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-09-06T21:25:08.511Z] fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T21:25:08.511Z] latest [2022-09-06T21:25:08.511Z] 2.3.0-dev.11 [2022-09-06T21:25:08.511Z] fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T21:25:08.511Z] main [2022-09-06T21:25:08.511Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:08.830Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:09.138Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T21:25:09.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-06T21:25:09.138Z] 61a86f9522f4: Preparing [2022-09-06T21:25:09.138Z] 7d3bdd004608: Preparing [2022-09-06T21:25:09.138Z] 21de878c927f: Preparing [2022-09-06T21:25:09.138Z] 751785b56f0c: Preparing [2022-09-06T21:25:09.138Z] 994393dc58e7: Preparing [2022-09-06T21:25:09.138Z] 994393dc58e7: Layer already exists [2022-09-06T21:25:09.138Z] 7d3bdd004608: Pushed [2022-09-06T21:25:09.138Z] 61a86f9522f4: Pushed [2022-09-06T21:25:09.398Z] 751785b56f0c: Pushed [2022-09-06T21:25:11.943Z] 21de878c927f: Pushed [2022-09-06T21:25:11.943Z] fe7a4eb43542f16c84660f884d46e7cb5999737b: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:12.254Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:12.562Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-09-06T21:25:12.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-06T21:25:12.562Z] 61a86f9522f4: Preparing [2022-09-06T21:25:12.562Z] 7d3bdd004608: Preparing [2022-09-06T21:25:12.562Z] 21de878c927f: Preparing [2022-09-06T21:25:12.562Z] 751785b56f0c: Preparing [2022-09-06T21:25:12.562Z] 994393dc58e7: Preparing [2022-09-06T21:25:12.562Z] 7d3bdd004608: Layer already exists [2022-09-06T21:25:12.562Z] 21de878c927f: Layer already exists [2022-09-06T21:25:12.562Z] 994393dc58e7: Layer already exists [2022-09-06T21:25:12.562Z] 61a86f9522f4: Layer already exists [2022-09-06T21:25:12.562Z] 751785b56f0c: Layer already exists [2022-09-06T21:25:12.562Z] latest: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:12.881Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:13.192Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 [2022-09-06T21:25:13.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-06T21:25:13.192Z] 61a86f9522f4: Preparing [2022-09-06T21:25:13.192Z] 7d3bdd004608: Preparing [2022-09-06T21:25:13.192Z] 21de878c927f: Preparing [2022-09-06T21:25:13.192Z] 751785b56f0c: Preparing [2022-09-06T21:25:13.192Z] 994393dc58e7: Preparing [2022-09-06T21:25:13.192Z] 21de878c927f: Layer already exists [2022-09-06T21:25:13.192Z] 61a86f9522f4: Layer already exists [2022-09-06T21:25:13.192Z] 994393dc58e7: Layer already exists [2022-09-06T21:25:13.192Z] 7d3bdd004608: Layer already exists [2022-09-06T21:25:13.192Z] 751785b56f0c: Layer already exists [2022-09-06T21:25:13.192Z] 2.3.0-dev.11: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:13.510Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:13.822Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T21:25:13.822Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-06T21:25:13.822Z] 61a86f9522f4: Preparing [2022-09-06T21:25:13.822Z] 7d3bdd004608: Preparing [2022-09-06T21:25:13.822Z] 21de878c927f: Preparing [2022-09-06T21:25:13.822Z] 751785b56f0c: Preparing [2022-09-06T21:25:13.822Z] 994393dc58e7: Preparing [2022-09-06T21:25:13.822Z] 21de878c927f: Layer already exists [2022-09-06T21:25:13.822Z] 7d3bdd004608: Layer already exists [2022-09-06T21:25:13.822Z] 751785b56f0c: Layer already exists [2022-09-06T21:25:13.822Z] 61a86f9522f4: Layer already exists [2022-09-06T21:25:13.822Z] 994393dc58e7: Layer already exists [2022-09-06T21:25:13.822Z] fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:14.140Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:14.455Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-09-06T21:25:14.455Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-06T21:25:14.455Z] 61a86f9522f4: Preparing [2022-09-06T21:25:14.455Z] 7d3bdd004608: Preparing [2022-09-06T21:25:14.455Z] 21de878c927f: Preparing [2022-09-06T21:25:14.455Z] 751785b56f0c: Preparing [2022-09-06T21:25:14.455Z] 994393dc58e7: Preparing [2022-09-06T21:25:14.455Z] 61a86f9522f4: Layer already exists [2022-09-06T21:25:14.455Z] 994393dc58e7: Layer already exists [2022-09-06T21:25:14.455Z] 21de878c927f: Layer already exists [2022-09-06T21:25:14.455Z] 7d3bdd004608: Layer already exists [2022-09-06T21:25:14.455Z] 751785b56f0c: Layer already exists [2022-09-06T21:25:14.455Z] main: digest: sha256:26d7dda596f24133cea07a512e0683c9e65e2ba39a9d9680ef0e4405f576ab1f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-06T21:25:14.507Z] ===================================================== [Pipeline] echo [2022-09-06T21:25:14.517Z] taggedImages: [2022-09-06T21:25:14.517Z] - nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T21:25:14.517Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-09-06T21:25:14.517Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.11 [2022-09-06T21:25:14.517Z] - nexus3.edgexfoundry.org:10004/device-snmp:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T21:25:14.517Z] - 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-09-06T21:25:14.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T21:25:14.886Z] [2022-09-06T21:25:14.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T21:25:15.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T21:25:15.187Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-06T21:25:15.187Z] 5eb5b503b376: Pulling fs layer [2022-09-06T21:25:15.187Z] 5c69ac0246d0: Pulling fs layer [2022-09-06T21:25:15.187Z] ec43610c2a17: Pulling fs layer [2022-09-06T21:25:15.187Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-06T21:25:15.187Z] 33b1e0a273af: Pulling fs layer [2022-09-06T21:25:15.187Z] 5d3b04190fa2: Pulling fs layer [2022-09-06T21:25:15.187Z] 2f39f015ded8: Pulling fs layer [2022-09-06T21:25:15.187Z] 3a2ae6a8a46f: Waiting [2022-09-06T21:25:15.187Z] 33b1e0a273af: Waiting [2022-09-06T21:25:15.187Z] 5d3b04190fa2: Waiting [2022-09-06T21:25:15.187Z] 2f39f015ded8: Waiting [2022-09-06T21:25:15.187Z] 5c69ac0246d0: Download complete [2022-09-06T21:25:15.187Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-06T21:25:15.187Z] 3a2ae6a8a46f: Download complete [2022-09-06T21:25:15.187Z] 33b1e0a273af: Verifying Checksum [2022-09-06T21:25:15.187Z] 33b1e0a273af: Download complete [2022-09-06T21:25:15.448Z] ec43610c2a17: Verifying Checksum [2022-09-06T21:25:15.448Z] ec43610c2a17: Download complete [2022-09-06T21:25:15.448Z] 5d3b04190fa2: Download complete [2022-09-06T21:25:15.448Z] 5eb5b503b376: Download complete [2022-09-06T21:25:16.018Z] 2f39f015ded8: Download complete [2022-09-06T21:25:16.589Z] 5eb5b503b376: Pull complete [2022-09-06T21:25:16.847Z] 5c69ac0246d0: Pull complete [2022-09-06T21:25:17.105Z] ec43610c2a17: Pull complete [2022-09-06T21:25:17.105Z] 3a2ae6a8a46f: Pull complete [2022-09-06T21:25:17.403Z] 33b1e0a273af: Pull complete [2022-09-06T21:25:17.665Z] 5d3b04190fa2: Pull complete [2022-09-06T21:25:21.874Z] 2f39f015ded8: Pull complete [2022-09-06T21:25:21.874Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-06T21:25:21.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T21:25:21.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T21:25:21.971Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T21:25:22.005Z] $ 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-09-06T21:25:24.675Z] $ docker top a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T21:25:25.085Z] ---> job-cost.sh [2022-09-06T21:25:25.085Z] lf-activate-venv: SKIPPING [2022-09-06T21:25:25.085Z] INFO: No Stack... [2022-09-06T21:25:25.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T21:25:25.917Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T21:25:26.211Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-09-06T21:25:26.211Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T21:25:26.223Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [2022-09-06T21:25:26.230Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] did not exist. Created. [2022-09-06T21:25:26.230Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T21:25:26.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-06T21:25:26.565Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T21:25:26.572Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T21:25:26.590Z] $ docker stop --time=1 a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 [2022-09-06T21:25:27.729Z] $ docker rm -f a0e5acd0d4889e22de19e2465381a1247debdaeb7521c4d295397c28ad9c0059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-06T22:04:56.217Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27533 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-09-06T22:04:56.229Z] Running in /w/workspace/device-snmp-go/42 [Pipeline] { [Pipeline] checkout [2022-09-06T22:04:56.323Z] Selected Git installation does not exist. Using Default [2022-09-06T22:04:56.324Z] The recommended git tool is: NONE [2022-09-06T22:05:03.598Z] using credential edgex-jenkins-ssh [2022-09-06T22:05:03.619Z] Cloning the remote Git repository [2022-09-06T22:05:03.681Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-06T22:05:03.774Z] > git init /w/workspace/device-snmp-go/42 # timeout=10 [2022-09-06T22:05:03.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-06T22:05:03.889Z] > git --version # timeout=10 [2022-09-06T22:05:03.919Z] > git --version # 'git version 2.25.1' [2022-09-06T22:05:03.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T22:05:04.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T22:05:05.227Z] Avoid second fetch [2022-09-06T22:05:05.227Z] Checking out Revision fe7a4eb43542f16c84660f884d46e7cb5999737b (main) [2022-09-06T22:05:05.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-06T22:05:05.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T22:05:05.316Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T22:05:05.349Z] > git checkout -f fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 [2022-09-06T22:05:09.962Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#189)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T22:05:10.871Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-06T22:05:10.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T22:05:10.871Z] Dload Upload Total Spent Left Speed [2022-09-06T22:05:10.871Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 12602 65 8259 0 0 51618 0 --:--:-- --:--:-- --:--:-- 51298 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77312 [Pipeline] sh [2022-09-06T22:05:11.578Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-06T22:05:11.920Z] + sudo jq+ sudo tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-06T22:05:11.920Z] /etc/docker/daemon.new [2022-09-06T22:05:11.920Z] { [2022-09-06T22:05:11.920Z] "registry-mirrors": [ [2022-09-06T22:05:11.920Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-06T22:05:11.920Z] ], [2022-09-06T22:05:11.920Z] "bip": "10.250.0.254/24", [2022-09-06T22:05:11.920Z] "hosts": [ [2022-09-06T22:05:11.920Z] "tcp://0.0.0.0:5555", [2022-09-06T22:05:11.920Z] "unix:///var/run/docker.sock" [2022-09-06T22:05:11.920Z] ], [2022-09-06T22:05:11.920Z] "mtu": 1458, [2022-09-06T22:05:11.920Z] "selinux-enabled": true, [2022-09-06T22:05:11.920Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-06T22:05:11.920Z] } [Pipeline] sh [2022-09-06T22:05:12.271Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-06T22:05:12.612Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:05:31.009Z] provisioning config files... [2022-09-06T22:05:31.039Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/42@tmp/config1785285120163001546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:05:31.421Z] ---> docker-login.sh [2022-09-06T22:05:31.421Z] nexus3.edgexfoundry.org:10001 [2022-09-06T22:05:32.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:05:32.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:05:32.631Z] Configure a credential helper to remove this warning. See [2022-09-06T22:05:32.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:05:32.631Z] [2022-09-06T22:05:32.631Z] Login Succeeded [2022-09-06T22:05:32.631Z] nexus3.edgexfoundry.org:10002 [2022-09-06T22:05:32.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:05:32.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:05:32.907Z] Configure a credential helper to remove this warning. See [2022-09-06T22:05:32.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:05:32.907Z] [2022-09-06T22:05:32.907Z] Login Succeeded [2022-09-06T22:05:32.907Z] nexus3.edgexfoundry.org:10003 [2022-09-06T22:05:33.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:05:33.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:05:33.529Z] Configure a credential helper to remove this warning. See [2022-09-06T22:05:33.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:05:33.529Z] [2022-09-06T22:05:33.529Z] Login Succeeded [2022-09-06T22:05:33.529Z] nexus3.edgexfoundry.org:10004 [2022-09-06T22:05:34.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:05:34.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:05:34.132Z] Configure a credential helper to remove this warning. See [2022-09-06T22:05:34.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:05:34.132Z] [2022-09-06T22:05:34.132Z] Login Succeeded [2022-09-06T22:05:34.132Z] docker.io [2022-09-06T22:05:34.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:05:35.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:05:35.005Z] Configure a credential helper to remove this warning. See [2022-09-06T22:05:35.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:05:35.005Z] [2022-09-06T22:05:35.005Z] Login Succeeded [2022-09-06T22:05:35.005Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T22:05:35.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T22:05:35.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:05:35.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:05:35.607Z] ========================================================= [2022-09-06T22:05:35.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-06T22:05:35.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:05:35.996Z] + 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-09-06T22:05:36.271Z] Sending build context to Docker daemon 2.811MB [2022-09-06T22:05:36.556Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:05:36.556Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-06T22:05:36.556Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-06T22:05:36.556Z] b3c136eddcbf: Pulling fs layer [2022-09-06T22:05:36.556Z] c0a3192eca97: Pulling fs layer [2022-09-06T22:05:36.556Z] a050256f5b6f: Pulling fs layer [2022-09-06T22:05:36.556Z] 656be50a0ddc: Pulling fs layer [2022-09-06T22:05:36.556Z] 2bbca73fdf42: Pulling fs layer [2022-09-06T22:05:36.556Z] 46d945488cbd: Pulling fs layer [2022-09-06T22:05:36.556Z] 8a5474983e97: Pulling fs layer [2022-09-06T22:05:36.556Z] 329c88fbcd65: Pulling fs layer [2022-09-06T22:05:36.556Z] 46d945488cbd: Waiting [2022-09-06T22:05:36.556Z] 8a5474983e97: Waiting [2022-09-06T22:05:36.556Z] 656be50a0ddc: Waiting [2022-09-06T22:05:36.556Z] 2bbca73fdf42: Waiting [2022-09-06T22:05:36.556Z] 329c88fbcd65: Waiting [2022-09-06T22:05:36.556Z] a050256f5b6f: Verifying Checksum [2022-09-06T22:05:36.556Z] a050256f5b6f: Download complete [2022-09-06T22:05:36.837Z] c0a3192eca97: Verifying Checksum [2022-09-06T22:05:36.837Z] c0a3192eca97: Download complete [2022-09-06T22:05:36.837Z] 2bbca73fdf42: Verifying Checksum [2022-09-06T22:05:36.837Z] 2bbca73fdf42: Download complete [2022-09-06T22:05:36.837Z] 46d945488cbd: Verifying Checksum [2022-09-06T22:05:36.837Z] 46d945488cbd: Download complete [2022-09-06T22:05:36.837Z] b3c136eddcbf: Verifying Checksum [2022-09-06T22:05:36.837Z] b3c136eddcbf: Download complete [2022-09-06T22:05:37.838Z] b3c136eddcbf: Pull complete [2022-09-06T22:05:38.120Z] 329c88fbcd65: Verifying Checksum [2022-09-06T22:05:38.120Z] 329c88fbcd65: Download complete [2022-09-06T22:05:38.408Z] c0a3192eca97: Pull complete [2022-09-06T22:05:39.012Z] a050256f5b6f: Pull complete [2022-09-06T22:05:39.286Z] 8a5474983e97: Verifying Checksum [2022-09-06T22:05:39.286Z] 8a5474983e97: Download complete [2022-09-06T22:05:39.884Z] 656be50a0ddc: Verifying Checksum [2022-09-06T22:05:39.884Z] 656be50a0ddc: Download complete [2022-09-06T22:05:52.297Z] 656be50a0ddc: Pull complete [2022-09-06T22:05:52.575Z] 2bbca73fdf42: Pull complete [2022-09-06T22:05:52.850Z] 46d945488cbd: Pull complete [2022-09-06T22:05:59.607Z] 8a5474983e97: Pull complete [2022-09-06T22:06:02.247Z] 329c88fbcd65: Pull complete [2022-09-06T22:06:02.247Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-06T22:06:02.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-06T22:06:02.247Z] ---> ff4287adb874 [2022-09-06T22:06:02.247Z] Step 3/12 : ARG MAKE='make build' [2022-09-06T22:06:04.249Z] ---> Running in 89f1282043e4 [2022-09-06T22:06:04.852Z] Removing intermediate container 89f1282043e4 [2022-09-06T22:06:04.852Z] ---> 4681143c9db2 [2022-09-06T22:06:04.852Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T22:06:04.852Z] ---> Running in 4bc2622c5c26 [2022-09-06T22:06:05.134Z] Removing intermediate container 4bc2622c5c26 [2022-09-06T22:06:05.134Z] ---> 2c5c98d999be [2022-09-06T22:06:05.134Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T22:06:05.134Z] ---> Running in 8070b272acba [2022-09-06T22:06:05.742Z] Removing intermediate container 8070b272acba [2022-09-06T22:06:05.742Z] ---> 13ec9262c95e [2022-09-06T22:06:05.742Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:06:05.742Z] ---> Running in d02232ee272a [2022-09-06T22:06:07.741Z] Removing intermediate container d02232ee272a [2022-09-06T22:06:07.741Z] ---> a0329b3ffb01 [2022-09-06T22:06:07.741Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T22:06:07.741Z] ---> Running in f27fd5db1932 [2022-09-06T22:06:08.724Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:06:09.712Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:06:11.155Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-06T22:06:11.155Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-06T22:06:11.155Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-06T22:06:11.433Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-06T22:06:11.714Z] Executing busybox-1.35.0-r13.trigger [2022-09-06T22:06:11.714Z] OK: 226 MiB in 55 packages [2022-09-06T22:06:12.705Z] Removing intermediate container f27fd5db1932 [2022-09-06T22:06:12.705Z] ---> 014428757c98 [2022-09-06T22:06:12.705Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-06T22:06:12.705Z] ---> Running in 920264a7ac9a [2022-09-06T22:06:12.981Z] Removing intermediate container 920264a7ac9a [2022-09-06T22:06:12.981Z] ---> 9871dd327b82 [2022-09-06T22:06:12.981Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-06T22:06:13.582Z] ---> 4cc30a225907 [2022-09-06T22:06:13.582Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:06:13.861Z] ---> Running in 0e6d49f2c923 [2022-09-06T22:07:10.456Z] Removing intermediate container 0e6d49f2c923 [2022-09-06T22:07:10.456Z] ---> b19f5795d9b8 [2022-09-06T22:07:10.456Z] Step 11/12 : COPY . . [2022-09-06T22:07:10.456Z] ---> d088dfa3cf12 [2022-09-06T22:07:10.456Z] Step 12/12 : RUN ${MAKE} [2022-09-06T22:07:10.456Z] ---> Running in de239da7b3ad [2022-09-06T22:07:10.456Z] noop [2022-09-06T22:07:10.456Z] Removing intermediate container de239da7b3ad [2022-09-06T22:07:10.456Z] ---> 456b5c45e577 [2022-09-06T22:07:10.456Z] Successfully built 456b5c45e577 [2022-09-06T22:07:10.456Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:07:10.829Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T22:07:10.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:07:11.080Z] prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container [2022-09-06T22:07:11.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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-09-06T22:07:12.545Z] $ docker top c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:07:13.459Z] + go version [2022-09-06T22:07:13.459Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-06T22:07:13.487Z] $ docker stop --time=1 c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab [2022-09-06T22:07:15.156Z] $ docker rm -f c6cccb6513155eaa97b4562adbd11307170c927b90d0bfe4b2cb6a80d18aa9ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:07:15.780Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T22:07:15.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:07:16.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container [2022-09-06T22:07:16.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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-09-06T22:07:17.519Z] $ docker top 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:07:18.506Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/42 [Pipeline] fileExists [Pipeline] sh [2022-09-06T22:07:19.180Z] + make test [2022-09-06T22:07:19.180Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-06T22:07:21.817Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-06T22:08:58.833Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-06T22:08:58.833Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2022-09-06T22:08:58.833Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-06T22:08:58.833Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-06T22:09:21.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T22:09:21.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T22:09:21.108Z] ./bin/test-attribution-txt.sh [2022-09-06T22:09:21.108Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-06T22:09:21.108Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-06T22:09:21.108Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-06T22:09:21.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T22:09:21.149Z] $ docker stop --time=1 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 [2022-09-06T22:09:23.043Z] $ docker rm -f 2f532b429d709f66e696aa207927263d9bb0d63917caf148b1d113daeb6cd6e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T22:09:24.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T22:09:24.130Z] Warning: overwriting stash ‘coverage-report’ [2022-09-06T22:09:24.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T22:09:25.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T22:09:25.588Z] + ls -al . [2022-09-06T22:09:25.588Z] total 168 [2022-09-06T22:09:25.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:07 . [2022-09-06T22:09:25.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:05 .. [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 6 22:05 .dockerignore [2022-09-06T22:09:25.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:05 .git [2022-09-06T22:09:25.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 .github [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 6 22:05 .gitignore [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 22:05 .golangci.yml [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 6 22:05 Attribution.txt [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 6 22:05 CHANGELOG.md [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 6 22:05 Dockerfile [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:05 GOVERNANCE.md [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 6 22:05 Jenkinsfile [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 22:05 LICENSE [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 6 22:05 Makefile [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 22:05 OWNERS.md [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 6 22:05 README.md [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION [2022-09-06T22:09:25.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:05 bin [2022-09-06T22:09:25.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 cmd [2022-09-06T22:09:25.588Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 6 22:08 coverage.out [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 6 22:05 go.mod [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 6 22:05 go.sum [2022-09-06T22:09:25.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:05 internal [2022-09-06T22:09:25.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:05 snap [2022-09-06T22:09:25.588Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 6 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:09:26.130Z] + 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=fe7a4eb43542f16c84660f884d46e7cb5999737b --label arch=arm64 --label version=2.3.0-dev.11 . [2022-09-06T22:09:26.757Z] Sending build context to Docker daemon 2.819MB [2022-09-06T22:09:26.757Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:09:26.757Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-06T22:09:26.757Z] ---> 456b5c45e577 [2022-09-06T22:09:26.757Z] Step 3/24 : ARG MAKE='make build' [2022-09-06T22:09:26.757Z] ---> Running in c85ecb6f9d9c [2022-09-06T22:09:27.034Z] Removing intermediate container c85ecb6f9d9c [2022-09-06T22:09:27.034Z] ---> 427b892f317e [2022-09-06T22:09:27.034Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-06T22:09:27.317Z] ---> Running in f28fc8e32894 [2022-09-06T22:09:27.592Z] Removing intermediate container f28fc8e32894 [2022-09-06T22:09:27.592Z] ---> ebc7cd358d9e [2022-09-06T22:09:27.592Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-06T22:09:27.592Z] ---> Running in fc0e8f3f3126 [2022-09-06T22:09:27.868Z] Removing intermediate container fc0e8f3f3126 [2022-09-06T22:09:27.868Z] ---> 3880ce99d713 [2022-09-06T22:09:27.868Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:09:28.142Z] ---> Running in 6cff0b9c626a [2022-09-06T22:09:30.117Z] Removing intermediate container 6cff0b9c626a [2022-09-06T22:09:30.117Z] ---> c943c692f649 [2022-09-06T22:09:30.117Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-06T22:09:30.117Z] ---> Running in 8de71f2d9d7c [2022-09-06T22:09:31.095Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:09:32.075Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:09:33.052Z] OK: 226 MiB in 55 packages [2022-09-06T22:09:34.046Z] Removing intermediate container 8de71f2d9d7c [2022-09-06T22:09:34.046Z] ---> e2139809dedc [2022-09-06T22:09:34.046Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-06T22:09:34.046Z] ---> Running in 7d6c579835b8 [2022-09-06T22:09:34.319Z] Removing intermediate container 7d6c579835b8 [2022-09-06T22:09:34.319Z] ---> 5f63106ec5f3 [2022-09-06T22:09:34.319Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-06T22:09:34.918Z] ---> 86eee20963ee [2022-09-06T22:09:34.918Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:09:34.918Z] ---> Running in 73978cab2123 [2022-09-06T22:09:36.900Z] Removing intermediate container 73978cab2123 [2022-09-06T22:09:36.900Z] ---> 7606583a9b48 [2022-09-06T22:09:36.900Z] Step 11/24 : COPY . . [2022-09-06T22:09:37.879Z] ---> 88e105d05f9b [2022-09-06T22:09:37.879Z] Step 12/24 : RUN ${MAKE} [2022-09-06T22:09:38.151Z] ---> Running in 047f3a59c29c [2022-09-06T22:09:39.142Z] 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-06T22:12:16.105Z] Removing intermediate container 047f3a59c29c [2022-09-06T22:12:16.105Z] ---> 3fb2754679c5 [2022-09-06T22:12:16.105Z] Step 13/24 : FROM alpine:3.16 [2022-09-06T22:12:16.105Z] 3.16: Pulling from library/alpine [2022-09-06T22:12:16.105Z] 9b18e9b68314: Pulling fs layer [2022-09-06T22:12:16.105Z] 9b18e9b68314: Verifying Checksum [2022-09-06T22:12:16.105Z] 9b18e9b68314: Download complete [2022-09-06T22:12:16.105Z] 9b18e9b68314: Pull complete [2022-09-06T22:12:16.105Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T22:12:16.105Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T22:12:16.105Z] ---> a6215f271958 [2022-09-06T22:12:16.105Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-06T22:12:16.105Z] ---> Running in e8aa03826c81 [2022-09-06T22:12:16.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:12:16.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:12:16.105Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-06T22:12:16.105Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T22:12:16.105Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-06T22:12:16.105Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T22:12:16.105Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-06T22:12:16.105Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-06T22:12:16.105Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T22:12:16.105Z] OK: 8 MiB in 20 packages [2022-09-06T22:12:16.105Z] Removing intermediate container e8aa03826c81 [2022-09-06T22:12:16.105Z] ---> 99d5838556d9 [2022-09-06T22:12:16.105Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-06T22:12:16.105Z] ---> b12fe5a7316c [2022-09-06T22:12:16.105Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-06T22:12:16.105Z] ---> e973dcdfab70 [2022-09-06T22:12:16.105Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-06T22:12:16.105Z] ---> a1aa4eb79eb6 [2022-09-06T22:12:16.105Z] Step 18/24 : EXPOSE 59993 [2022-09-06T22:12:16.105Z] ---> Running in 6cd1474009c2 [2022-09-06T22:12:16.105Z] Removing intermediate container 6cd1474009c2 [2022-09-06T22:12:16.105Z] ---> 771bc37b33cf [2022-09-06T22:12:16.105Z] Step 19/24 : EXPOSE 161 [2022-09-06T22:12:16.105Z] ---> Running in 51f1a51acbf3 [2022-09-06T22:12:16.105Z] Removing intermediate container 51f1a51acbf3 [2022-09-06T22:12:16.105Z] ---> 0193382375e2 [2022-09-06T22:12:16.105Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-06T22:12:16.105Z] ---> Running in ead3ac199233 [2022-09-06T22:12:16.709Z] Removing intermediate container ead3ac199233 [2022-09-06T22:12:16.709Z] ---> bb59fde12919 [2022-09-06T22:12:16.709Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-06T22:12:16.709Z] ---> Running in f41760b4b3b8 [2022-09-06T22:12:16.988Z] Removing intermediate container f41760b4b3b8 [2022-09-06T22:12:16.988Z] ---> 5e1531010088 [2022-09-06T22:12:16.988Z] Step 22/24 : LABEL arch=arm64 [2022-09-06T22:12:16.988Z] ---> Running in 53995b38433d [2022-09-06T22:12:17.590Z] Removing intermediate container 53995b38433d [2022-09-06T22:12:17.590Z] ---> 3d5554fd5b36 [2022-09-06T22:12:17.590Z] Step 23/24 : LABEL git_sha=fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T22:12:17.590Z] ---> Running in e318e460f7ca [2022-09-06T22:12:17.882Z] Removing intermediate container e318e460f7ca [2022-09-06T22:12:17.882Z] ---> 7df3f37bde69 [2022-09-06T22:12:17.882Z] Step 24/24 : LABEL version=2.3.0-dev.11 [2022-09-06T22:12:17.882Z] ---> Running in 3544597993c0 [2022-09-06T22:12:18.482Z] Removing intermediate container 3544597993c0 [2022-09-06T22:12:18.482Z] ---> 603cb112fb91 [2022-09-06T22:12:18.482Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T22:12:18.482Z] Successfully built 603cb112fb91 [2022-09-06T22:12:18.482Z] 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-09-06T22:12:18.597Z] provisioning config files... [2022-09-06T22:12:18.620Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/42@tmp/config4946299874814024170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:12:18.985Z] ---> docker-login.sh [2022-09-06T22:12:18.985Z] nexus3.edgexfoundry.org:10001 [2022-09-06T22:12:19.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:12:19.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:12:19.261Z] Configure a credential helper to remove this warning. See [2022-09-06T22:12:19.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:12:19.261Z] [2022-09-06T22:12:19.261Z] Login Succeeded [2022-09-06T22:12:19.261Z] nexus3.edgexfoundry.org:10002 [2022-09-06T22:12:19.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:12:19.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:12:19.856Z] Configure a credential helper to remove this warning. See [2022-09-06T22:12:19.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:12:19.856Z] [2022-09-06T22:12:19.856Z] Login Succeeded [2022-09-06T22:12:19.856Z] nexus3.edgexfoundry.org:10003 [2022-09-06T22:12:20.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:12:20.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:12:20.453Z] Configure a credential helper to remove this warning. See [2022-09-06T22:12:20.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:12:20.453Z] [2022-09-06T22:12:20.453Z] Login Succeeded [2022-09-06T22:12:20.453Z] nexus3.edgexfoundry.org:10004 [2022-09-06T22:12:21.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:12:21.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:12:21.053Z] Configure a credential helper to remove this warning. See [2022-09-06T22:12:21.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:12:21.053Z] [2022-09-06T22:12:21.053Z] Login Succeeded [2022-09-06T22:12:21.053Z] docker.io [2022-09-06T22:12:21.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:12:21.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:12:21.932Z] Configure a credential helper to remove this warning. See [2022-09-06T22:12:21.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:12:21.932Z] [2022-09-06T22:12:21.932Z] Login Succeeded [2022-09-06T22:12:21.932Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T22:12:21.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-06T22:12:21.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:12:22.007Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-09-06T22:12:22.007Z] fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T22:12:22.007Z] latest [2022-09-06T22:12:22.007Z] 2.3.0-dev.11 [2022-09-06T22:12:22.007Z] fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T22:12:22.007Z] main [2022-09-06T22:12:22.007Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:22.369Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:22.746Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T22:12:22.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-06T22:12:22.746Z] 50aa2b27a4b8: Preparing [2022-09-06T22:12:22.746Z] 5cd5e42a0c27: Preparing [2022-09-06T22:12:22.746Z] 0d62b1af4db9: Preparing [2022-09-06T22:12:22.746Z] 8485da9a4467: Preparing [2022-09-06T22:12:22.746Z] 5d3e392a13a0: Preparing [2022-09-06T22:12:23.040Z] 5d3e392a13a0: Layer already exists [2022-09-06T22:12:23.040Z] 50aa2b27a4b8: Pushed [2022-09-06T22:12:23.040Z] 5cd5e42a0c27: Pushed [2022-09-06T22:12:24.026Z] 8485da9a4467: Pushed [2022-09-06T22:12:29.435Z] 0d62b1af4db9: Pushed [2022-09-06T22:12:29.435Z] fe7a4eb43542f16c84660f884d46e7cb5999737b: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:29.812Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:30.170Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-09-06T22:12:30.171Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-06T22:12:30.171Z] 50aa2b27a4b8: Preparing [2022-09-06T22:12:30.171Z] 5cd5e42a0c27: Preparing [2022-09-06T22:12:30.171Z] 0d62b1af4db9: Preparing [2022-09-06T22:12:30.171Z] 8485da9a4467: Preparing [2022-09-06T22:12:30.171Z] 5d3e392a13a0: Preparing [2022-09-06T22:12:30.171Z] 5cd5e42a0c27: Layer already exists [2022-09-06T22:12:30.171Z] 5d3e392a13a0: Layer already exists [2022-09-06T22:12:30.171Z] 8485da9a4467: Layer already exists [2022-09-06T22:12:30.171Z] 0d62b1af4db9: Layer already exists [2022-09-06T22:12:30.171Z] 50aa2b27a4b8: Layer already exists [2022-09-06T22:12:30.444Z] latest: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:30.813Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:31.169Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 [2022-09-06T22:12:31.169Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-06T22:12:31.169Z] 50aa2b27a4b8: Preparing [2022-09-06T22:12:31.169Z] 5cd5e42a0c27: Preparing [2022-09-06T22:12:31.169Z] 0d62b1af4db9: Preparing [2022-09-06T22:12:31.169Z] 8485da9a4467: Preparing [2022-09-06T22:12:31.169Z] 5d3e392a13a0: Preparing [2022-09-06T22:12:31.169Z] 5d3e392a13a0: Layer already exists [2022-09-06T22:12:31.169Z] 50aa2b27a4b8: Layer already exists [2022-09-06T22:12:31.169Z] 8485da9a4467: Layer already exists [2022-09-06T22:12:31.169Z] 5cd5e42a0c27: Layer already exists [2022-09-06T22:12:31.169Z] 0d62b1af4db9: Layer already exists [2022-09-06T22:12:31.440Z] 2.3.0-dev.11: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:31.817Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:32.176Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T22:12:32.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-06T22:12:32.176Z] 50aa2b27a4b8: Preparing [2022-09-06T22:12:32.176Z] 5cd5e42a0c27: Preparing [2022-09-06T22:12:32.176Z] 0d62b1af4db9: Preparing [2022-09-06T22:12:32.176Z] 8485da9a4467: Preparing [2022-09-06T22:12:32.176Z] 5d3e392a13a0: Preparing [2022-09-06T22:12:32.176Z] 50aa2b27a4b8: Layer already exists [2022-09-06T22:12:32.176Z] 0d62b1af4db9: Layer already exists [2022-09-06T22:12:32.176Z] 5d3e392a13a0: Layer already exists [2022-09-06T22:12:32.176Z] 5cd5e42a0c27: Layer already exists [2022-09-06T22:12:32.176Z] 8485da9a4467: Layer already exists [2022-09-06T22:12:32.447Z] fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:32.814Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:33.174Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-09-06T22:12:33.174Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-06T22:12:33.174Z] 50aa2b27a4b8: Preparing [2022-09-06T22:12:33.174Z] 5cd5e42a0c27: Preparing [2022-09-06T22:12:33.174Z] 0d62b1af4db9: Preparing [2022-09-06T22:12:33.174Z] 8485da9a4467: Preparing [2022-09-06T22:12:33.174Z] 5d3e392a13a0: Preparing [2022-09-06T22:12:33.174Z] 5d3e392a13a0: Layer already exists [2022-09-06T22:12:33.174Z] 8485da9a4467: Layer already exists [2022-09-06T22:12:33.174Z] 5cd5e42a0c27: Layer already exists [2022-09-06T22:12:33.174Z] 50aa2b27a4b8: Layer already exists [2022-09-06T22:12:33.174Z] 0d62b1af4db9: Layer already exists [2022-09-06T22:12:33.444Z] main: digest: sha256:65c9c34f3514f92e4eea7a752bf060ee7ed6eab07800a158b92391cf67957041 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-06T22:12:33.505Z] ===================================================== [Pipeline] echo [2022-09-06T22:12:33.514Z] taggedImages: [2022-09-06T22:12:33.514Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b [2022-09-06T22:12:33.514Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-09-06T22:12:33.514Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.11 [2022-09-06T22:12:33.514Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:fe7a4eb43542f16c84660f884d46e7cb5999737b-2.3.0-dev.11 [2022-09-06T22:12:33.514Z] - 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-09-06T22:12:33.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:12:33.887Z] [2022-09-06T22:12:33.887Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:12:34.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:12:34.515Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-06T22:12:34.515Z] 8998bd30e6a1: Pulling fs layer [2022-09-06T22:12:34.515Z] 04944245beec: Pulling fs layer [2022-09-06T22:12:34.515Z] 699f458cf7ca: Pulling fs layer [2022-09-06T22:12:34.515Z] 765212b225bb: Pulling fs layer [2022-09-06T22:12:34.515Z] f23df028b6ca: Pulling fs layer [2022-09-06T22:12:34.515Z] d65c8cfc05b1: Pulling fs layer [2022-09-06T22:12:34.515Z] 2437ff75d9bd: Pulling fs layer [2022-09-06T22:12:34.515Z] 765212b225bb: Waiting [2022-09-06T22:12:34.515Z] f23df028b6ca: Waiting [2022-09-06T22:12:34.515Z] 2437ff75d9bd: Waiting [2022-09-06T22:12:34.515Z] d65c8cfc05b1: Waiting [2022-09-06T22:12:34.515Z] 04944245beec: Verifying Checksum [2022-09-06T22:12:34.515Z] 04944245beec: Download complete [2022-09-06T22:12:34.515Z] 765212b225bb: Verifying Checksum [2022-09-06T22:12:34.515Z] 765212b225bb: Download complete [2022-09-06T22:12:34.515Z] f23df028b6ca: Download complete [2022-09-06T22:12:34.515Z] d65c8cfc05b1: Verifying Checksum [2022-09-06T22:12:34.515Z] d65c8cfc05b1: Download complete [2022-09-06T22:12:34.793Z] 699f458cf7ca: Verifying Checksum [2022-09-06T22:12:34.793Z] 699f458cf7ca: Download complete [2022-09-06T22:12:35.070Z] 8998bd30e6a1: Verifying Checksum [2022-09-06T22:12:35.070Z] 8998bd30e6a1: Download complete [2022-09-06T22:12:37.850Z] 2437ff75d9bd: Verifying Checksum [2022-09-06T22:12:37.850Z] 2437ff75d9bd: Download complete [2022-09-06T22:12:40.478Z] 8998bd30e6a1: Pull complete [2022-09-06T22:12:40.751Z] 04944245beec: Pull complete [2022-09-06T22:12:42.189Z] 699f458cf7ca: Pull complete [2022-09-06T22:12:42.462Z] 765212b225bb: Pull complete [2022-09-06T22:12:43.056Z] f23df028b6ca: Pull complete [2022-09-06T22:12:43.329Z] d65c8cfc05b1: Pull complete [2022-09-06T22:12:58.420Z] 2437ff75d9bd: Pull complete [2022-09-06T22:12:58.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-06T22:12:58.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:12:58.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:12:58.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-27533 does not seem to be running inside a container [2022-09-06T22:12:58.798Z] $ 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/42 -v /w/workspace/device-snmp-go/42:/w/workspace/device-snmp-go/42:rw,z -v /w/workspace/device-snmp-go/42@tmp:/w/workspace/device-snmp-go/42@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-09-06T22:13:01.965Z] $ docker top 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:13:02.907Z] ---> job-cost.sh [2022-09-06T22:13:02.907Z] lf-activate-venv: SKIPPING [2022-09-06T22:13:02.907Z] INFO: No Stack... [2022-09-06T22:13:03.506Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-06T22:13:04.489Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T22:13:05.197Z] + cat /w/workspace/device-snmp-go/42/archives/cost.csv [2022-09-06T22:13:05.197Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T22:13:05.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [2022-09-06T22:13:05.266Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] did not exist. Created. [2022-09-06T22:13:05.266Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T22:13:06.054Z] /w/workspace/device-snmp-go/42@tmp/durable-4cd80585/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-06T22:13:06.750Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-06T22:13:06.776Z] Warning: overwriting stash ‘stack-cost’ [2022-09-06T22:13:06.831Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T22:13:06.837Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T22:13:06.861Z] $ docker stop --time=1 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba [2022-09-06T22:13:08.483Z] $ docker rm -f 8aeb5df52c6d79b4618a9abc683baf6d8de3c17596edc9398b3cbcf2687e62ba [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-09-06T22:13:08.969Z] provisioning config files... [2022-09-06T22:13:08.976Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config671604832327852189tmp [Pipeline] { [Pipeline] sh [2022-09-06T22:13:09.265Z] + set +x [2022-09-06T22:13:09.265Z] + curl -s https://codecov.io/bash [2022-09-06T22:13:09.265Z] + bash -s -- [2022-09-06T22:13:09.265Z] [2022-09-06T22:13:09.265Z] _____ _ [2022-09-06T22:13:09.265Z] / ____| | | [2022-09-06T22:13:09.265Z] | | ___ __| | ___ ___ _____ __ [2022-09-06T22:13:09.265Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-06T22:13:09.265Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-06T22:13:09.265Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-06T22:13:09.265Z] Bash-1.0.6 [2022-09-06T22:13:09.265Z] [2022-09-06T22:13:09.265Z] [2022-09-06T22:13:09.265Z] ==> git version 2.25.1 found [2022-09-06T22:13:09.265Z] ==> 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-09-06T22:13:09.265Z] Release-Date: 2020-01-08 [2022-09-06T22:13:09.265Z] 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-09-06T22:13:09.265Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-06T22:13:09.265Z] ==> Jenkins CI detected. [2022-09-06T22:13:09.265Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-09-06T22:13:09.265Z] project root: . [2022-09-06T22:13:09.265Z] --> token set from env [2022-09-06T22:13:09.265Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-06T22:13:09.265Z] ==> Running gcov in . (disable via -X gcov) [2022-09-06T22:13:09.265Z] ==> Python coveragepy not found [2022-09-06T22:13:09.265Z] ==> Searching for coverage reports in: [2022-09-06T22:13:09.265Z] + . [2022-09-06T22:13:09.265Z] -> Found 1 reports [2022-09-06T22:13:09.265Z] ==> Detecting git/mercurial file structure [2022-09-06T22:13:09.265Z] ==> Reading reports [2022-09-06T22:13:09.265Z] + ./coverage.out bytes=7631 [2022-09-06T22:13:09.265Z] ==> Appending adjustments [2022-09-06T22:13:09.265Z] https://docs.codecov.io/docs/fixing-reports [2022-09-06T22:13:09.525Z] + Found adjustments [2022-09-06T22:13:09.525Z] ==> Gzipping contents [2022-09-06T22:13:09.525Z] 4.0K /tmp/codecov.noSANG.gz [2022-09-06T22:13:09.525Z] ==> Uploading reports [2022-09-06T22:13:09.525Z] url: https://codecov.io [2022-09-06T22:13:09.525Z] query: branch=main&commit=fe7a4eb43542f16c84660f884d46e7cb5999737b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-06T22:13:09.525Z] -> Pinging Codecov [2022-09-06T22:13:09.525Z] 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=fe7a4eb43542f16c84660f884d46e7cb5999737b&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-06T22:13:09.785Z] -> Uploading to [2022-09-06T22:13:09.785Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-06/6C56EA5C29638FB4528AC87E60AF5AE0/fe7a4eb43542f16c84660f884d46e7cb5999737b/07601849-2391-4026-8203-7e5b48357199.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T221309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c885ffbf6ef5dbc6dd2e0fc112354ad06a89630dfd5509fe8a5830a3f06e71ca [2022-09-06T22:13:09.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T22:13:09.785Z] Dload Upload Total Spent Left Speed [2022-09-06T22:13:10.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6587 --:--:-- --:--:-- --:--:-- 6587 [2022-09-06T22:13:10.050Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] } [2022-09-06T22:13:10.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-06T22:13:10.183Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-06T22:13:10.191Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:10.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-06T22:13:10.497Z] [2022-09-06T22:13:10.497Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:10.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-06T22:13:10.798Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-06T22:13:10.798Z] df9b9388f04a: Pulling fs layer [2022-09-06T22:13:10.798Z] 52dc419b0ee2: Pulling fs layer [2022-09-06T22:13:10.798Z] 25bc292e5bac: Pulling fs layer [2022-09-06T22:13:10.798Z] 114826534d7a: Pulling fs layer [2022-09-06T22:13:10.798Z] 4657fd5d0bcf: Pulling fs layer [2022-09-06T22:13:10.798Z] 6ad1cebc031e: Pulling fs layer [2022-09-06T22:13:10.798Z] 8a3aa393b2d8: Pulling fs layer [2022-09-06T22:13:10.798Z] 114826534d7a: Waiting [2022-09-06T22:13:10.798Z] 4657fd5d0bcf: Waiting [2022-09-06T22:13:10.798Z] 8a3aa393b2d8: Waiting [2022-09-06T22:13:10.798Z] 6ad1cebc031e: Waiting [2022-09-06T22:13:10.798Z] 25bc292e5bac: Download complete [2022-09-06T22:13:10.798Z] 52dc419b0ee2: Verifying Checksum [2022-09-06T22:13:10.798Z] 52dc419b0ee2: Download complete [2022-09-06T22:13:10.798Z] 4657fd5d0bcf: Verifying Checksum [2022-09-06T22:13:10.798Z] 4657fd5d0bcf: Download complete [2022-09-06T22:13:10.798Z] df9b9388f04a: Download complete [2022-09-06T22:13:11.057Z] df9b9388f04a: Pull complete [2022-09-06T22:13:11.057Z] 6ad1cebc031e: Verifying Checksum [2022-09-06T22:13:11.057Z] 6ad1cebc031e: Download complete [2022-09-06T22:13:11.057Z] 52dc419b0ee2: Pull complete [2022-09-06T22:13:11.320Z] 25bc292e5bac: Pull complete [2022-09-06T22:13:11.580Z] 114826534d7a: Download complete [2022-09-06T22:13:11.838Z] 8a3aa393b2d8: Download complete [2022-09-06T22:13:15.122Z] 114826534d7a: Pull complete [2022-09-06T22:13:15.122Z] 4657fd5d0bcf: Pull complete [2022-09-06T22:13:15.381Z] 6ad1cebc031e: Pull complete [2022-09-06T22:13:18.677Z] 8a3aa393b2d8: Pull complete [2022-09-06T22:13:18.677Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-06T22:13:18.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-06T22:13:18.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:13:18.769Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:13:18.767Z] $ 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-09-06T22:13:21.398Z] $ docker top 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-06T22:13:21.501Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-09-06T22:13:21.779Z] + set -o pipefail [2022-09-06T22:13:21.779Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-09-06T22:13:28.356Z] [2022-09-06T22:13:28.356Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-09-06T22:13:28.356Z] [2022-09-06T22:13:28.356Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/58276d9a-c3f7-4fa1-9d85-fc349732e1dc [2022-09-06T22:13:28.356Z] [2022-09-06T22:13:28.356Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-09-06T22:13:28.356Z] [2022-09-06T22:13:28.356Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-06T22:13:28.356Z] [2022-09-06T22:13:28.356Z] [Pipeline] } [2022-09-06T22:13:28.336Z] $ docker stop --time=1 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 [2022-09-06T22:13:31.146Z] $ docker rm -f 09e7248d89bfd40dbf4e87175e09e83a639a364679745fbffa97366ef234b4e1 [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-09-06T22:13:31.900Z] + git log --format=format:%s -1 fe7a4eb43542f16c84660f884d46e7cb5999737b [Pipeline] sh [2022-09-06T22:13:32.192Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T22:13:32.192Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:32.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:13:32.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:13:32.567Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:13:32.571Z] $ 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-09-06T22:13:32.994Z] $ docker top c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T22:13:33.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T22:13:33.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T22:13:33.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T22:13:33.205Z] $ docker exec c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 ssh-agent [2022-09-06T22:13:33.354Z] SSH_AUTH_SOCK=/tmp/ssh-stcsZeG4p8SA/agent.32 [2022-09-06T22:13:33.355Z] SSH_AGENT_PID=39 [2022-09-06T22:13:33.360Z] Running ssh-add (command line suppressed) [2022-09-06T22:13:33.429Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1808696675692650744.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1808696675692650744.key) [2022-09-06T22:13:33.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T22:13:33.762Z] + git semver tag [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,923 [run_tag] DEBUG tag force:False [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,923 [check_head_tag] DEBUG check head tag [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,924 [execute] INFO git cat-file --batch-check [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,928 [execute] INFO git cat-file --batch [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,939 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,939 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-06T22:13:34.023Z] 2022-09-06 22:13:33,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:34.023Z] 2.3.0-dev.11 [Pipeline] } [2022-09-06T22:13:34.001Z] $ docker exec --env ******** --env ******** c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 ssh-agent -k [2022-09-06T22:13:34.119Z] unset SSH_AUTH_SOCK; [2022-09-06T22:13:34.119Z] unset SSH_AGENT_PID; [2022-09-06T22:13:34.119Z] echo Agent pid 39 killed; [2022-09-06T22:13:34.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T22:13:34.467Z] + git semver [Pipeline] } [2022-09-06T22:13:34.707Z] $ docker stop --time=1 c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 [2022-09-06T22:13:36.238Z] $ docker rm -f c1a7ae01bedcc149b8ca33288c56c4a2c64bb4097fb2ecb702d471824383e1c9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:36.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-06T22:13:36.708Z] [2022-09-06T22:13:36.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:37.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-06T22:13:37.008Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-06T22:13:37.008Z] ab5ef0e58194: Pulling fs layer [2022-09-06T22:13:37.008Z] 9712f1f96733: Pulling fs layer [2022-09-06T22:13:37.008Z] 63f879dbbcfc: Pulling fs layer [2022-09-06T22:13:37.008Z] 0d9ebad4ef96: Pulling fs layer [2022-09-06T22:13:37.008Z] e9a5061849ea: Pulling fs layer [2022-09-06T22:13:37.008Z] d747dcd14b5f: Pulling fs layer [2022-09-06T22:13:37.008Z] 2de7ff778b66: Pulling fs layer [2022-09-06T22:13:37.008Z] 0d9ebad4ef96: Waiting [2022-09-06T22:13:37.008Z] e9a5061849ea: Waiting [2022-09-06T22:13:37.008Z] d747dcd14b5f: Waiting [2022-09-06T22:13:37.008Z] 2de7ff778b66: Waiting [2022-09-06T22:13:37.008Z] 9712f1f96733: Verifying Checksum [2022-09-06T22:13:37.008Z] 9712f1f96733: Download complete [2022-09-06T22:13:37.587Z] 63f879dbbcfc: Verifying Checksum [2022-09-06T22:13:37.587Z] 63f879dbbcfc: Download complete [2022-09-06T22:13:37.587Z] 0d9ebad4ef96: Verifying Checksum [2022-09-06T22:13:37.587Z] 0d9ebad4ef96: Download complete [2022-09-06T22:13:37.587Z] ab5ef0e58194: Verifying Checksum [2022-09-06T22:13:37.587Z] ab5ef0e58194: Download complete [2022-09-06T22:13:37.587Z] d747dcd14b5f: Verifying Checksum [2022-09-06T22:13:37.587Z] d747dcd14b5f: Download complete [2022-09-06T22:13:37.587Z] e9a5061849ea: Verifying Checksum [2022-09-06T22:13:37.587Z] e9a5061849ea: Download complete [2022-09-06T22:13:37.846Z] 2de7ff778b66: Verifying Checksum [2022-09-06T22:13:37.846Z] 2de7ff778b66: Download complete [2022-09-06T22:13:40.377Z] ab5ef0e58194: Pull complete [2022-09-06T22:13:40.377Z] 9712f1f96733: Pull complete [2022-09-06T22:13:40.944Z] 63f879dbbcfc: Pull complete [2022-09-06T22:13:45.139Z] 0d9ebad4ef96: Pull complete [2022-09-06T22:13:45.139Z] e9a5061849ea: Pull complete [2022-09-06T22:13:45.139Z] d747dcd14b5f: Pull complete [2022-09-06T22:13:46.076Z] 2de7ff778b66: Pull complete [2022-09-06T22:13:46.076Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-06T22:13:46.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-06T22:13:46.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:13:46.167Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:13:46.162Z] $ 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-09-06T22:13:49.342Z] $ docker top fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:13:49.454Z] provisioning config files... [2022-09-06T22:13:49.461Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4781296303558422704tmp [2022-09-06T22:13:49.471Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9074367768498884935tmp [2022-09-06T22:13:49.480Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3203619697011147652tmp [Pipeline] { [Pipeline] echo [2022-09-06T22:13:49.494Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:13:49.776Z] ---> sigul-configuration.sh [2022-09-06T22:13:49.776Z] gpg: directory `/root/.gnupg' created [2022-09-06T22:13:49.776Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-06T22:13:49.776Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-06T22:13:49.776Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-06T22:13:49.776Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-06T22:13:49.776Z] gpg: CAST5 encrypted data [2022-09-06T22:13:49.776Z] gpg: encrypted with 1 passphrase [2022-09-06T22:13:49.776Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-06T22:13:50.064Z] + mkdir /home/jenkins [2022-09-06T22:13:50.064Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-06T22:13:50.350Z] + 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-09-06T22:13:50.360Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:13:50.646Z] ---> sigul-install.sh [2022-09-06T22:13:50.646Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-06T22:13:50.936Z] + git tag --list [2022-09-06T22:13:50.936Z] 1.0.0 [2022-09-06T22:13:50.936Z] v0.0.0 [2022-09-06T22:13:50.936Z] v1.1.0 [2022-09-06T22:13:50.936Z] v1.1.1 [2022-09-06T22:13:50.936Z] v1.2.2 [2022-09-06T22:13:50.936Z] v1.3.0 [2022-09-06T22:13:50.936Z] v1.3.1 [2022-09-06T22:13:50.936Z] v2.0.0 [2022-09-06T22:13:50.936Z] v2.1.0 [2022-09-06T22:13:50.936Z] v2.1.1 [2022-09-06T22:13:50.936Z] v2.1.1-dev.2 [2022-09-06T22:13:50.936Z] v2.1.1-dev.3 [2022-09-06T22:13:50.936Z] v2.2.0 [2022-09-06T22:13:50.936Z] v2.2.1-dev.1 [2022-09-06T22:13:50.936Z] v2.2.1-dev.2 [2022-09-06T22:13:50.936Z] v2.2.1-dev.3 [2022-09-06T22:13:50.936Z] v2.2.1-dev.4 [2022-09-06T22:13:50.936Z] v2.2.1-dev.5 [2022-09-06T22:13:50.936Z] v2.2.1-dev.6 [2022-09-06T22:13:50.936Z] v2.2.1-dev.7 [2022-09-06T22:13:50.936Z] v2.3.0-dev.10 [2022-09-06T22:13:50.936Z] v2.3.0-dev.11 [2022-09-06T22:13:50.936Z] v2.3.0-dev.7 [2022-09-06T22:13:50.936Z] v2.3.0-dev.8 [2022-09-06T22:13:50.936Z] v2.3.0-dev.9 [Pipeline] sh [2022-09-06T22:13:51.219Z] + lftools sign git-tag v2.3.0-dev.11 [2022-09-06T22:13:51.788Z] Signing Git tag with Sigul... [2022-09-06T22:13:51.788Z] Signing v2.3.0-dev.11 [Pipeline] echo [2022-09-06T22:13:52.056Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:13:52.341Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-06T22:13:52.348Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-06T22:13:52.333Z] $ docker stop --time=1 fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 [2022-09-06T22:13:53.601Z] $ docker rm -f fc3babc8ce8e352c0fe5c80cb17a8c05ea503c28a5dc556b24fcd5ed7aa6bc87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-06T22:13:54.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T22:13:54.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:54.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:13:54.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:13:54.424Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:13:54.425Z] $ 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-09-06T22:13:54.746Z] $ docker top b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T22:13:54.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T22:13:54.871Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T22:13:54.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T22:13:54.954Z] $ docker exec b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f ssh-agent [2022-09-06T22:13:55.099Z] SSH_AUTH_SOCK=/tmp/ssh-zCV6HlsA4BIs/agent.33 [2022-09-06T22:13:55.099Z] SSH_AGENT_PID=40 [2022-09-06T22:13:55.104Z] Running ssh-add (command line suppressed) [2022-09-06T22:13:55.189Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7536870778383681840.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7536870778383681840.key) [2022-09-06T22:13:55.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T22:13:55.600Z] + git semver bump pre [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [bump_version] DEBUG bumped version:2.3.0-dev.12 [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,758 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,760 [execute] INFO git cat-file --batch-check [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,765 [execute] INFO git cat-file --batch [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T22:13:55.894Z] 2022-09-06 22:13:55,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:13:55.894Z] 2.3.0-dev.12 [Pipeline] } [2022-09-06T22:13:55.881Z] $ docker exec --env ******** --env ******** b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f ssh-agent -k [2022-09-06T22:13:55.992Z] unset SSH_AUTH_SOCK; [2022-09-06T22:13:55.992Z] unset SSH_AGENT_PID; [2022-09-06T22:13:55.992Z] echo Agent pid 40 killed; [2022-09-06T22:13:56.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T22:13:56.330Z] + git semver [Pipeline] } [2022-09-06T22:13:56.570Z] $ docker stop --time=1 b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f [2022-09-06T22:13:57.825Z] $ docker rm -f b858a6c9859e2912f4eaa9dfbdb2e05a561feacd1d976fe9d05cde703ce8185f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T22:13:58.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T22:13:58.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:13:58.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:13:58.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:13:58.564Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:13:58.561Z] $ 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-09-06T22:13:58.882Z] $ docker top a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T22:13:59.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T22:13:59.007Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T22:13:59.118Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T22:13:59.087Z] $ docker exec a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 ssh-agent [2022-09-06T22:13:59.236Z] SSH_AUTH_SOCK=/tmp/ssh-SjYFiCp8z36O/agent.36 [2022-09-06T22:13:59.236Z] SSH_AGENT_PID=42 [2022-09-06T22:13:59.240Z] Running ssh-add (command line suppressed) [2022-09-06T22:13:59.324Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3881650414838401809.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3881650414838401809.key) [2022-09-06T22:13:59.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T22:13:59.656Z] + git semver push [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,810 [run_push] DEBUG push [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,811 [execute] INFO git cat-file --batch-check [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,814 [execute] INFO git rev-list b674510bd32f605395ffda7991b1dbe6c9e0981d -- [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,815 [execute] DEBUG Popen(['git', 'rev-list', 'b674510bd32f605395ffda7991b1dbe6c9e0981d', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,820 [execute] INFO git fetch -v origin [2022-09-06T22:13:59.917Z] 2022-09-06 22:13:59,821 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-06T22:14:00.486Z] 2022-09-06 22:14:00,360 [run_push] DEBUG no remote changes detected [2022-09-06T22:14:00.486Z] 2022-09-06 22:14:00,361 [execute] INFO git push origin semver [2022-09-06T22:14:00.486Z] 2022-09-06 22:14:00,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-06T22:14:01.426Z] 2022-09-06 22:14:01,155 [run_push] DEBUG push all version tags [2022-09-06T22:14:01.426Z] 2022-09-06 22:14:01,155 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-06T22:14:01.426Z] 2022-09-06 22:14:01,156 [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-09-06T22:14:01.997Z] 2022-09-06 22:14:01,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-06T22:14:01.997Z] 2.3.0-dev.12 [Pipeline] } [2022-09-06T22:14:02.237Z] $ docker exec --env ******** --env ******** a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 ssh-agent -k [2022-09-06T22:14:02.345Z] unset SSH_AUTH_SOCK; [2022-09-06T22:14:02.345Z] unset SSH_AGENT_PID; [2022-09-06T22:14:02.345Z] echo Agent pid 42 killed; [2022-09-06T22:14:02.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T22:14:02.685Z] + git semver [Pipeline] } [2022-09-06T22:14:02.929Z] $ docker stop --time=1 a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 [2022-09-06T22:14:04.182Z] $ docker rm -f a16897aba2d444d0577a3564b15c4a9cbc24071e1cd5330a359ffcd8c35d72b8 [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-09-06T22:14:04.813Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-09-06T22:14:04.813Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-06T22:14:04.813Z] total 16 [2022-09-06T22:14:04.813Z] drwxr-xr-x 3 root root 4096 Sep 6 21:25 . [2022-09-06T22:14:04.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:13 .. [2022-09-06T22:14:04.813Z] drwxr-xr-x 2 root root 4096 Sep 6 21:25 cost [2022-09-06T22:14:04.813Z] -rw-r--r-- 1 root root 85 Sep 6 21:25 cost.csv [2022-09-06T22:14:04.813Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-06T22:14:04.813Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-06T22:14:04.813Z] total 16 [2022-09-06T22:14:04.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:25 . [2022-09-06T22:14:04.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:13 .. [2022-09-06T22:14:04.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 21:25 cost [2022-09-06T22:14:04.813Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 6 21:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:05.105Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:05.964Z] ---> package-listing.sh [2022-09-06T22:14:05.964Z] ++ facter osfamily [2022-09-06T22:14:05.964Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-06T22:14:05.964Z] + OS_FAMILY=debian [2022-09-06T22:14:05.964Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-09-06T22:14:05.964Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-06T22:14:05.964Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-06T22:14:05.964Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-06T22:14:05.964Z] + PACKAGES=/tmp/packages_start.txt [2022-09-06T22:14:05.964Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-09-06T22:14:05.964Z] + PACKAGES=/tmp/packages_end.txt [2022-09-06T22:14:05.964Z] + case "${OS_FAMILY}" in [2022-09-06T22:14:05.964Z] + dpkg -l [2022-09-06T22:14:05.964Z] + grep '^ii' [2022-09-06T22:14:06.224Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-06T22:14:06.224Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-06T22:14:06.224Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-06T22:14:06.224Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-09-06T22:14:06.224Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-09-06T22:14:06.224Z] + 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-09-06T22:14:06.233Z] 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-09-06T22:14:06.510Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:14:07.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T22:14:07.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:14:07.148Z] prd-ubuntu20.04-docker-8c-8g-25305 does not seem to be running inside a container [2022-09-06T22:14:07.148Z] $ 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-09-06T22:14:07.378Z] $ docker top db5698f6afc10625c99d6dbf8595ee83b55d3faaec20d73b7a85605b41041e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:14:07.760Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-06T22:14:08.048Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-06T22:14:08.330Z] + ls /var/log/sa-host [2022-09-06T22:14:08.330Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:14:08.473Z] provisioning config files... [2022-09-06T22:14:08.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5157303434312591854tmp [Pipeline] { [Pipeline] echo [2022-09-06T22:14:08.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:08.778Z] ---> create-netrc.sh [Pipeline] } [2022-09-06T22:14:08.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:09.121Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-06T22:14:09.130Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:09.412Z] ---> sudo-logs.sh [2022-09-06T22:14:09.412Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-06T22:14:09.436Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:09.717Z] ---> job-cost.sh [2022-09-06T22:14:09.717Z] lf-activate-venv: SKIPPING [2022-09-06T22:14:09.717Z] DEBUG: total: 0.2199999988079071 [2022-09-06T22:14:09.717Z] INFO: Retrieving Stack Cost... [2022-09-06T22:14:09.976Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T22:14:10.544Z] INFO: Archiving Costs [Pipeline] echo [2022-09-06T22:14:10.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:14:10.836Z] ---> logs-deploy.sh [2022-09-06T22:14:10.836Z] lf-activate-venv: SKIPPING [2022-09-06T22:14:10.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/42 [2022-09-06T22:14:10.836Z] INFO: archiving workspace using pattern(s): [2022-09-06T22:14:11.773Z] Archives upload complete. [2022-09-06T22:14:12.032Z] INFO: archiving logs to Nexus