Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 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-ssh16527404861429636351.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-ssh6876987454915159890.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-ssh3361172423528923985.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-ssh12485990136013091873.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-ssh10074959728721922176.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-29315 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 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (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 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190)" > git rev-list --no-walk fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-15T22:04:16.379Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-15T22:04:16.441Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-15T22:04:16.456Z] ========================================================= [2022-09-15T22:04:16.456Z] EdgeX Global Pipelines Version Info [2022-09-15T22:04:16.456Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:04:17.209Z] ------------------- [2022-09-15T22:04:17.209Z] stable info: [2022-09-15T22:04:17.209Z] ------------------- [2022-09-15T22:04:17.209Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-15T22:04:17.209Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T22:04:17.209Z] Message: update stable to v1.0.239 [2022-09-15T22:04:17.783Z] ------------------- [2022-09-15T22:04:17.783Z] experimental info: [2022-09-15T22:04:17.783Z] ------------------- [2022-09-15T22:04:17.783Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-15T22:04:17.783Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T22:04:17.783Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-15T22:04:18.020Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-15T22:04:18.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-15T22:04:18.039Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-15T22:04:18.049Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-15T22:04:18.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-15T22:04:18.078Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-15T22:04:18.089Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-15T22:04:18.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-15T22:04:18.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-15T22:04:18.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-15T22:04:18.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-15T22:04:18.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-15T22:04:18.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-15T22:04:18.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-15T22:04:18.201Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T22:04:18.212Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T22:04:18.223Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T22:04:18.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T22:04:18.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-15T22:04:18.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-15T22:04:18.274Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-15T22:04:18.291Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-15T22:04:18.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-15T22:04:18.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-15T22:04:18.331Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-15T22:04:18.345Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-15T22:04:18.360Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-15T22:04:18.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-15T22:04:18.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-15T22:04:18.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-15T22:04:18.420Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo [2022-09-15T22:04:18.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c0032f [Pipeline] echo [2022-09-15T22:04:18.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:04:18.485Z] provisioning config files... [2022-09-15T22:04:18.496Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8742686315730669847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:04:18.798Z] ---> docker-login.sh [2022-09-15T22:04:18.798Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:04:19.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:19.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:19.060Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:19.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:19.060Z] [2022-09-15T22:04:19.060Z] Login Succeeded [2022-09-15T22:04:19.060Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:04:19.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:19.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:19.322Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:19.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:19.322Z] [2022-09-15T22:04:19.322Z] Login Succeeded [2022-09-15T22:04:19.322Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:04:19.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:19.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:19.322Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:19.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:19.322Z] [2022-09-15T22:04:19.322Z] Login Succeeded [2022-09-15T22:04:19.322Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:04:19.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:19.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:19.583Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:19.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:19.583Z] [2022-09-15T22:04:19.583Z] Login Succeeded [2022-09-15T22:04:19.583Z] docker.io [2022-09-15T22:04:19.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:19.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:19.843Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:19.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:19.843Z] [2022-09-15T22:04:19.843Z] Login Succeeded [2022-09-15T22:04:19.843Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:04:19.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-15T22:04:20.228Z] + git rev-list -1 --merges 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17~1..1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo [2022-09-15T22:04:20.261Z] -----------> git rev-list -1 --merges 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17~1..1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [false] [Pipeline] sh [2022-09-15T22:04:20.560Z] + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo [2022-09-15T22:04:20.575Z] ========================================================= [2022-09-15T22:04:20.575Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-15T22:04:20.575Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:04:20.905Z] + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] echo [2022-09-15T22:04:20.917Z] [semverPrep] GIT_COMMIT: 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190) [Pipeline] echo [2022-09-15T22:04:20.928Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-15T22:04:21.275Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:04:21.275Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-15T22:04:21.275Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-15T22:04:21.275Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-15T22:04:21.275Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-15T22:04:21.275Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-15T22:04:21.275Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:04:21.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:04:21.628Z] [2022-09-15T22:04:21.628Z] 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-15T22:04:21.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:04:21.935Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-15T22:04:21.935Z] b85a868b505f: Pulling fs layer [2022-09-15T22:04:21.935Z] e2be974225ed: Pulling fs layer [2022-09-15T22:04:21.935Z] 339a4e72a1f5: Pulling fs layer [2022-09-15T22:04:21.935Z] 988bab9f4d93: Pulling fs layer [2022-09-15T22:04:21.935Z] 1469e6f7b9e6: Pulling fs layer [2022-09-15T22:04:21.935Z] eaf3925da568: Pulling fs layer [2022-09-15T22:04:21.935Z] bab4dde63d76: Pulling fs layer [2022-09-15T22:04:21.935Z] bde34c3a00c8: Pulling fs layer [2022-09-15T22:04:21.935Z] b352a97aabf1: Pulling fs layer [2022-09-15T22:04:21.935Z] 4872d77fe225: Pulling fs layer [2022-09-15T22:04:21.935Z] 5851b861e8e6: Pulling fs layer [2022-09-15T22:04:21.935Z] 1469e6f7b9e6: Waiting [2022-09-15T22:04:21.935Z] eaf3925da568: Waiting [2022-09-15T22:04:21.935Z] bab4dde63d76: Waiting [2022-09-15T22:04:21.935Z] bde34c3a00c8: Waiting [2022-09-15T22:04:21.935Z] b352a97aabf1: Waiting [2022-09-15T22:04:21.935Z] 988bab9f4d93: Waiting [2022-09-15T22:04:21.935Z] 4872d77fe225: Waiting [2022-09-15T22:04:21.935Z] e2be974225ed: Verifying Checksum [2022-09-15T22:04:21.935Z] e2be974225ed: Download complete [2022-09-15T22:04:21.935Z] 988bab9f4d93: Verifying Checksum [2022-09-15T22:04:21.935Z] 988bab9f4d93: Download complete [2022-09-15T22:04:22.204Z] 1469e6f7b9e6: Verifying Checksum [2022-09-15T22:04:22.204Z] 1469e6f7b9e6: Download complete [2022-09-15T22:04:22.204Z] eaf3925da568: Verifying Checksum [2022-09-15T22:04:22.204Z] eaf3925da568: Download complete [2022-09-15T22:04:22.204Z] 339a4e72a1f5: Verifying Checksum [2022-09-15T22:04:22.204Z] 339a4e72a1f5: Download complete [2022-09-15T22:04:22.204Z] bde34c3a00c8: Verifying Checksum [2022-09-15T22:04:22.204Z] bde34c3a00c8: Download complete [2022-09-15T22:04:22.204Z] b352a97aabf1: Download complete [2022-09-15T22:04:22.204Z] 4872d77fe225: Verifying Checksum [2022-09-15T22:04:22.204Z] 4872d77fe225: Download complete [2022-09-15T22:04:22.204Z] 5851b861e8e6: Verifying Checksum [2022-09-15T22:04:22.204Z] 5851b861e8e6: Download complete [2022-09-15T22:04:22.472Z] b85a868b505f: Download complete [2022-09-15T22:04:22.733Z] bab4dde63d76: Verifying Checksum [2022-09-15T22:04:22.733Z] bab4dde63d76: Download complete [2022-09-15T22:04:23.671Z] b85a868b505f: Pull complete [2022-09-15T22:04:23.671Z] e2be974225ed: Pull complete [2022-09-15T22:04:24.240Z] 339a4e72a1f5: Pull complete [2022-09-15T22:04:24.240Z] 988bab9f4d93: Pull complete [2022-09-15T22:04:24.498Z] 1469e6f7b9e6: Pull complete [2022-09-15T22:04:24.498Z] eaf3925da568: Pull complete [2022-09-15T22:04:26.408Z] bab4dde63d76: Pull complete [2022-09-15T22:04:26.408Z] bde34c3a00c8: Pull complete [2022-09-15T22:04:26.408Z] b352a97aabf1: Pull complete [2022-09-15T22:04:26.408Z] 4872d77fe225: Pull complete [2022-09-15T22:04:26.408Z] 5851b861e8e6: Pull complete [2022-09-15T22:04:26.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-15T22:04:26.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:04:26.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:04:26.766Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:04:26.783Z] $ 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-15T22:04:28.091Z] $ docker top 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 -eo pid,comm [2022-09-15T22:04:28.173Z] 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-15T22:04:28.173Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:04:28.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:04:28.213Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:04:28.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:04:28.332Z] $ docker exec 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent [2022-09-15T22:04:28.460Z] SSH_AUTH_SOCK=/tmp/ssh-wE2Q1CRU7UI2/agent.32 [2022-09-15T22:04:28.460Z] SSH_AGENT_PID=38 [2022-09-15T22:04:28.467Z] Running ssh-add (command line suppressed) [2022-09-15T22:04:28.562Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1014285068279990385.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1014285068279990385.key) [2022-09-15T22:04:28.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:04:28.881Z] + git tag --points-at HEAD [Pipeline] } [2022-09-15T22:04:28.876Z] $ docker exec --env ******** --env ******** 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent -k [2022-09-15T22:04:28.995Z] unset SSH_AUTH_SOCK; [2022-09-15T22:04:28.996Z] unset SSH_AGENT_PID; [2022-09-15T22:04:28.996Z] echo Agent pid 38 killed; [2022-09-15T22:04:29.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-15T22:04:29.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:04:29.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:04:29.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:04:29.162Z] $ docker exec 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent [2022-09-15T22:04:29.306Z] SSH_AUTH_SOCK=/tmp/ssh-eT9nLcIQQVI3/agent.71 [2022-09-15T22:04:29.306Z] SSH_AGENT_PID=78 [2022-09-15T22:04:29.312Z] Running ssh-add (command line suppressed) [2022-09-15T22:04:29.420Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8758457989422686040.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8758457989422686040.key) [2022-09-15T22:04:29.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:04:29.749Z] + git semver init [2022-09-15T22:04:30.009Z] 2022-09-15 22:04:29,897 [run_init] DEBUG init version:0.0.0 force:False [2022-09-15T22:04:30.009Z] 2022-09-15 22:04:29,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-09-15T22:04:30.009Z] 2022-09-15 22:04:29,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-09-15T22:04:30.009Z] 2022-09-15 22:04:29,898 [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-15T22:04:30.951Z] 2022-09-15 22:04:30,777 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-09-15T22:04:30.951Z] 2022-09-15 22:04:30,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-09-15T22:04:30.951Z] 2022-09-15 22:04:30,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:04:30.951Z] 2022-09-15 22:04:30,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:04:30.951Z] 2.3.0-dev.12 [Pipeline] } [2022-09-15T22:04:30.947Z] $ docker exec --env ******** --env ******** 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 ssh-agent -k [2022-09-15T22:04:31.054Z] unset SSH_AUTH_SOCK; [2022-09-15T22:04:31.055Z] unset SSH_AGENT_PID; [2022-09-15T22:04:31.055Z] echo Agent pid 78 killed; [2022-09-15T22:04:31.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:04:31.397Z] + git semver [Pipeline] } [2022-09-15T22:04:31.658Z] $ docker stop --time=1 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 [2022-09-15T22:04:32.986Z] $ docker rm -f 8922522986f166c4d5834d1bcc8d8339321c3528d1ec2430dead118673c580a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:04:33.353Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-15T22:04:33.605Z] Stashed 1 file(s) [Pipeline] echo [2022-09-15T22:04:33.607Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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-15T22:04:33.757Z] provisioning config files... [2022-09-15T22:04:33.767Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1754423752022691462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:04:34.069Z] ---> docker-login.sh [2022-09-15T22:04:34.069Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:04:34.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:34.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:34.069Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:34.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:34.069Z] [2022-09-15T22:04:34.069Z] Login Succeeded [2022-09-15T22:04:34.069Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:04:34.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:34.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:34.330Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:34.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:34.330Z] [2022-09-15T22:04:34.330Z] Login Succeeded [2022-09-15T22:04:34.330Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:04:34.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:34.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:34.330Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:34.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:34.330Z] [2022-09-15T22:04:34.330Z] Login Succeeded [2022-09-15T22:04:34.330Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:04:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:34.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:34.591Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:34.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:34.591Z] [2022-09-15T22:04:34.591Z] Login Succeeded [2022-09-15T22:04:34.591Z] docker.io [2022-09-15T22:04:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:04:35.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:04:35.162Z] Configure a credential helper to remove this warning. See [2022-09-15T22:04:35.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:04:35.162Z] [2022-09-15T22:04:35.162Z] Login Succeeded [2022-09-15T22:04:35.162Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:04:35.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T22:04:35.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:04:35.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:04:35.253Z] ========================================================= [2022-09-15T22:04:35.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-15T22:04:35.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:04:35.576Z] + 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-15T22:04:35.576Z] Sending build context to Docker daemon 5.457MB [2022-09-15T22:04:35.576Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:04:35.576Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-15T22:04:35.576Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-15T22:04:35.576Z] 2408cc74d12b: Pulling fs layer [2022-09-15T22:04:35.577Z] ea60b727a1ce: Pulling fs layer [2022-09-15T22:04:35.577Z] 30c4a7721957: Pulling fs layer [2022-09-15T22:04:35.577Z] 370296b7ddb6: Pulling fs layer [2022-09-15T22:04:35.577Z] 7c6cee850709: Pulling fs layer [2022-09-15T22:04:35.577Z] 39a5fcdaea64: Pulling fs layer [2022-09-15T22:04:35.577Z] d94ebbe4e438: Pulling fs layer [2022-09-15T22:04:35.577Z] bcfd1f05c69d: Pulling fs layer [2022-09-15T22:04:35.577Z] 59ccb84bbe0f: Pulling fs layer [2022-09-15T22:04:35.577Z] 39a5fcdaea64: Waiting [2022-09-15T22:04:35.577Z] d94ebbe4e438: Waiting [2022-09-15T22:04:35.577Z] bcfd1f05c69d: Waiting [2022-09-15T22:04:35.577Z] 370296b7ddb6: Waiting [2022-09-15T22:04:35.577Z] 59ccb84bbe0f: Waiting [2022-09-15T22:04:35.577Z] 7c6cee850709: Waiting [2022-09-15T22:04:35.577Z] 30c4a7721957: Verifying Checksum [2022-09-15T22:04:35.577Z] 30c4a7721957: Download complete [2022-09-15T22:04:35.577Z] ea60b727a1ce: Verifying Checksum [2022-09-15T22:04:35.577Z] ea60b727a1ce: Download complete [2022-09-15T22:04:35.577Z] 7c6cee850709: Verifying Checksum [2022-09-15T22:04:35.577Z] 7c6cee850709: Download complete [2022-09-15T22:04:35.577Z] 39a5fcdaea64: Verifying Checksum [2022-09-15T22:04:35.577Z] 39a5fcdaea64: Download complete [2022-09-15T22:04:35.839Z] 2408cc74d12b: Verifying Checksum [2022-09-15T22:04:35.839Z] 2408cc74d12b: Download complete [2022-09-15T22:04:35.839Z] 2408cc74d12b: Pull complete [2022-09-15T22:04:36.102Z] d94ebbe4e438: Download complete [2022-09-15T22:04:36.102Z] ea60b727a1ce: Pull complete [2022-09-15T22:04:36.102Z] 30c4a7721957: Pull complete [2022-09-15T22:04:36.363Z] bcfd1f05c69d: Verifying Checksum [2022-09-15T22:04:36.363Z] bcfd1f05c69d: Download complete [2022-09-15T22:04:36.629Z] 59ccb84bbe0f: Verifying Checksum [2022-09-15T22:04:36.629Z] 59ccb84bbe0f: Download complete [2022-09-15T22:04:36.889Z] 370296b7ddb6: Verifying Checksum [2022-09-15T22:04:36.889Z] 370296b7ddb6: Download complete [2022-09-15T22:04:41.079Z] 370296b7ddb6: Pull complete [2022-09-15T22:04:41.079Z] 7c6cee850709: Pull complete [2022-09-15T22:04:41.079Z] 39a5fcdaea64: Pull complete [2022-09-15T22:04:41.079Z] d94ebbe4e438: Pull complete [2022-09-15T22:04:42.984Z] bcfd1f05c69d: Pull complete [2022-09-15T22:04:43.550Z] 59ccb84bbe0f: Pull complete [2022-09-15T22:04:43.550Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-15T22:04:43.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T22:04:43.550Z] ---> a4fb48ad2a94 [2022-09-15T22:04:43.550Z] Step 3/12 : ARG MAKE='make build' [2022-09-15T22:04:44.937Z] ---> Running in 2e9ef67066f2 [2022-09-15T22:04:44.937Z] Removing intermediate container 2e9ef67066f2 [2022-09-15T22:04:44.937Z] ---> 200b19cb632e [2022-09-15T22:04:44.937Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T22:04:44.937Z] ---> Running in 986c85d3147c [2022-09-15T22:04:45.196Z] Removing intermediate container 986c85d3147c [2022-09-15T22:04:45.196Z] ---> dc0014730466 [2022-09-15T22:04:45.196Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T22:04:45.196Z] ---> Running in 1f7e8f995e40 [2022-09-15T22:04:45.196Z] Removing intermediate container 1f7e8f995e40 [2022-09-15T22:04:45.196Z] ---> 65b5745c81ce [2022-09-15T22:04:45.196Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:04:45.196Z] ---> Running in 095b407b3633 [2022-09-15T22:04:45.765Z] Removing intermediate container 095b407b3633 [2022-09-15T22:04:45.765Z] ---> 8ec5ded7aa0e [2022-09-15T22:04:45.765Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T22:04:46.026Z] ---> Running in e642ef6448d3 [2022-09-15T22:04:46.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:04:46.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:04:47.434Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-15T22:04:47.434Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-15T22:04:47.434Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-15T22:04:47.695Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-15T22:04:47.695Z] Executing busybox-1.35.0-r13.trigger [2022-09-15T22:04:47.695Z] OK: 216 MiB in 55 packages [2022-09-15T22:04:48.266Z] Removing intermediate container e642ef6448d3 [2022-09-15T22:04:48.266Z] ---> d704d0686a23 [2022-09-15T22:04:48.266Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-15T22:04:48.266Z] ---> Running in 768d1d317d58 [2022-09-15T22:04:48.266Z] Removing intermediate container 768d1d317d58 [2022-09-15T22:04:48.266Z] ---> 70d4950f7b82 [2022-09-15T22:04:48.266Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-15T22:04:48.525Z] ---> 5e6e38c11836 [2022-09-15T22:04:48.525Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:04:48.525Z] ---> Running in e89f272288c9 [2022-09-15T22:04:48.713Z] Still waiting to schedule task [2022-09-15T22:04:48.714Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-29313’ is offline [2022-09-15T22:05:03.448Z] Removing intermediate container e89f272288c9 [2022-09-15T22:05:03.448Z] ---> 1e59f5651d51 [2022-09-15T22:05:03.448Z] Step 11/12 : COPY . . [2022-09-15T22:05:03.709Z] ---> 6f80dd01404a [2022-09-15T22:05:03.709Z] Step 12/12 : RUN ${MAKE} [2022-09-15T22:05:03.709Z] ---> Running in 99fb80aa0310 [2022-09-15T22:05:03.968Z] noop [2022-09-15T22:05:04.228Z] Removing intermediate container 99fb80aa0310 [2022-09-15T22:05:04.228Z] ---> e7cbc7127f42 [2022-09-15T22:05:04.228Z] Successfully built e7cbc7127f42 [2022-09-15T22:05:04.228Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:05:04.640Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T22:05:04.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:05:04.753Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:05:04.797Z] $ 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-15T22:05:05.192Z] $ docker top 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:05:05.557Z] + go version [2022-09-15T22:05:05.557Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-15T22:05:05.571Z] $ docker stop --time=1 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 [2022-09-15T22:05:06.847Z] $ docker rm -f 551c957862cd1e51a2984536c67ff1962ac9a6bc41d2b856837c3199fbf7ded8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:05:07.283Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T22:05:07.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:05:07.365Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:05:07.405Z] $ 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-15T22:05:07.813Z] $ docker top 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:05:08.171Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-15T22:05:08.470Z] + make test [2022-09-15T22:05:08.470Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-15T22:05:09.039Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-15T22:05:19.017Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-15T22:05:19.017Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-09-15T22:05:24.305Z] 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-15T22:05:24.305Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T22:05:28.507Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T22:05:28.507Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T22:05:28.507Z] ./bin/test-attribution-txt.sh [2022-09-15T22:05:28.507Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-15T22:05:28.507Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-15T22:05:28.507Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-15T22:05:28.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T22:05:28.540Z] $ docker stop --time=1 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 [2022-09-15T22:05:30.291Z] $ docker rm -f 1dd045589f617d299ca34c980db0b8098e5ba50d0bc17a85d9295bdea7c8ca39 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:05:30.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T22:05:30.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-15T22:05:31.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T22:05:31.511Z] + ls -al . [2022-09-15T22:05:31.511Z] total 172 [2022-09-15T22:05:31.511Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:05 . [2022-09-15T22:05:31.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:04 .. [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 15 22:04 .dockerignore [2022-09-15T22:05:31.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:05 .git [2022-09-15T22:05:31.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 .github [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 15 22:04 .gitignore [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:04 .golangci.yml [2022-09-15T22:05:31.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:04 .semver [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 15 22:04 Attribution.txt [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 15 22:04 CHANGELOG.md [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 15 22:04 Dockerfile [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:04 GOVERNANCE.md [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 15 22:04 Jenkinsfile [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:04 LICENSE [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 15 22:04 Makefile [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:04 OWNERS.md [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 15 22:04 README.md [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:04 VERSION [2022-09-15T22:05:31.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:04 bin [2022-09-15T22:05:31.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 cmd [2022-09-15T22:05:31.511Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 15 22:05 coverage.out [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 15 22:04 go.mod [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 15 22:04 go.sum [2022-09-15T22:05:31.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:04 internal [2022-09-15T22:05:31.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:04 snap [2022-09-15T22:05:31.511Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 15 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:05:31.823Z] + 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 --label arch=amd64 --label version=2.3.0-dev.12 . [2022-09-15T22:05:31.824Z] Sending build context to Docker daemon 5.466MB [2022-09-15T22:05:31.824Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:05:31.824Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-15T22:05:31.824Z] ---> e7cbc7127f42 [2022-09-15T22:05:31.824Z] Step 3/24 : ARG MAKE='make build' [2022-09-15T22:05:31.824Z] ---> Running in 5d26425668d2 [2022-09-15T22:05:32.089Z] Removing intermediate container 5d26425668d2 [2022-09-15T22:05:32.089Z] ---> e201d41ac757 [2022-09-15T22:05:32.089Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T22:05:32.089Z] ---> Running in 68295e10d3d2 [2022-09-15T22:05:32.089Z] Removing intermediate container 68295e10d3d2 [2022-09-15T22:05:32.089Z] ---> 2646d04409a9 [2022-09-15T22:05:32.089Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T22:05:32.089Z] ---> Running in 3f1cb9c1a03b [2022-09-15T22:05:32.089Z] Removing intermediate container 3f1cb9c1a03b [2022-09-15T22:05:32.089Z] ---> 496cae623f19 [2022-09-15T22:05:32.089Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:05:32.349Z] ---> Running in 11db2f0feda8 [2022-09-15T22:05:32.923Z] Removing intermediate container 11db2f0feda8 [2022-09-15T22:05:32.923Z] ---> 67e0cef3206b [2022-09-15T22:05:32.923Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T22:05:32.923Z] ---> Running in 669f92acc49a [2022-09-15T22:05:33.182Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:05:34.122Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:05:34.122Z] OK: 216 MiB in 55 packages [2022-09-15T22:05:34.693Z] Removing intermediate container 669f92acc49a [2022-09-15T22:05:34.693Z] ---> 26b30a7cd6a2 [2022-09-15T22:05:34.693Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-15T22:05:34.693Z] ---> Running in a23cbc44c614 [2022-09-15T22:05:34.693Z] Removing intermediate container a23cbc44c614 [2022-09-15T22:05:34.693Z] ---> 4c5bcfec654f [2022-09-15T22:05:34.693Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-15T22:05:34.693Z] ---> 9958f3d7e2b7 [2022-09-15T22:05:34.693Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:05:34.951Z] ---> Running in dab8f38491a5 [2022-09-15T22:05:35.521Z] Removing intermediate container dab8f38491a5 [2022-09-15T22:05:35.521Z] ---> e86ec5882b0b [2022-09-15T22:05:35.521Z] Step 11/24 : COPY . . [2022-09-15T22:05:35.781Z] ---> 655b321e0167 [2022-09-15T22:05:35.781Z] Step 12/24 : RUN ${MAKE} [2022-09-15T22:05:35.781Z] ---> Running in 76dd536d05d2 [2022-09-15T22:05:36.041Z] 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.21 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-15T22:05:57.980Z] Removing intermediate container 76dd536d05d2 [2022-09-15T22:05:57.980Z] ---> deec94a0c849 [2022-09-15T22:05:57.980Z] Step 13/24 : FROM alpine:3.16 [2022-09-15T22:05:57.980Z] 3.16: Pulling from library/alpine [2022-09-15T22:05:57.980Z] 213ec9aee27d: Pulling fs layer [2022-09-15T22:05:57.980Z] 213ec9aee27d: Verifying Checksum [2022-09-15T22:05:57.980Z] 213ec9aee27d: Download complete [2022-09-15T22:05:57.980Z] 213ec9aee27d: Pull complete [2022-09-15T22:05:57.980Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-15T22:05:57.980Z] Status: Downloaded newer image for alpine:3.16 [2022-09-15T22:05:57.980Z] ---> 9c6f07244728 [2022-09-15T22:05:57.980Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T22:05:57.980Z] ---> Running in 9a66894c0d35 [2022-09-15T22:05:57.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:05:57.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:05:57.980Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T22:05:57.980Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-15T22:05:57.980Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T22:05:57.980Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-15T22:05:57.980Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T22:05:57.980Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T22:05:57.980Z] Executing busybox-1.35.0-r17.trigger [2022-09-15T22:05:57.980Z] OK: 8 MiB in 20 packages [2022-09-15T22:05:57.980Z] Removing intermediate container 9a66894c0d35 [2022-09-15T22:05:57.980Z] ---> 6f8f2e5d24fd [2022-09-15T22:05:57.980Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-15T22:05:58.553Z] ---> 2820f5b0b599 [2022-09-15T22:05:58.554Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-15T22:05:58.554Z] ---> f2b4a89d6ce1 [2022-09-15T22:05:58.554Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-15T22:05:58.814Z] ---> 2b910f5130c7 [2022-09-15T22:05:58.814Z] Step 18/24 : EXPOSE 59993 [2022-09-15T22:05:58.814Z] ---> Running in 6dec6b3942e0 [2022-09-15T22:05:58.814Z] Removing intermediate container 6dec6b3942e0 [2022-09-15T22:05:58.814Z] ---> 240156844cb8 [2022-09-15T22:05:58.814Z] Step 19/24 : EXPOSE 161 [2022-09-15T22:05:58.814Z] ---> Running in 6cb242f1b76f [2022-09-15T22:05:59.075Z] Removing intermediate container 6cb242f1b76f [2022-09-15T22:05:59.075Z] ---> e6ac49c27530 [2022-09-15T22:05:59.075Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-15T22:05:59.075Z] ---> Running in 6ffbfae188c5 [2022-09-15T22:05:59.075Z] Removing intermediate container 6ffbfae188c5 [2022-09-15T22:05:59.075Z] ---> 5c0debc03972 [2022-09-15T22:05:59.075Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-15T22:05:59.075Z] ---> Running in b0a888e65a42 [2022-09-15T22:05:59.336Z] Removing intermediate container b0a888e65a42 [2022-09-15T22:05:59.336Z] ---> 12dd079cdc88 [2022-09-15T22:05:59.336Z] Step 22/24 : LABEL arch=amd64 [2022-09-15T22:05:59.336Z] ---> Running in c98f8aa3595c [2022-09-15T22:05:59.336Z] Removing intermediate container c98f8aa3595c [2022-09-15T22:05:59.336Z] ---> 022bd6324c3f [2022-09-15T22:05:59.336Z] Step 23/24 : LABEL git_sha=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:05:59.336Z] ---> Running in 472fff422741 [2022-09-15T22:05:59.596Z] Removing intermediate container 472fff422741 [2022-09-15T22:05:59.596Z] ---> 069b8a2e127c [2022-09-15T22:05:59.596Z] Step 24/24 : LABEL version=2.3.0-dev.12 [2022-09-15T22:05:59.596Z] ---> Running in 8a6fc1ecb9e1 [2022-09-15T22:05:59.596Z] Removing intermediate container 8a6fc1ecb9e1 [2022-09-15T22:05:59.596Z] ---> dc8d6e3e34c6 [2022-09-15T22:05:59.596Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T22:05:59.596Z] Successfully built dc8d6e3e34c6 [2022-09-15T22:05:59.596Z] 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-15T22:05:59.697Z] provisioning config files... [2022-09-15T22:05:59.706Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7564388008426182212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:06:00.007Z] ---> docker-login.sh [2022-09-15T22:06:00.008Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:06:00.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:06:00.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:06:00.008Z] Configure a credential helper to remove this warning. See [2022-09-15T22:06:00.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:06:00.008Z] [2022-09-15T22:06:00.008Z] Login Succeeded [2022-09-15T22:06:00.008Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:06:00.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:06:00.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:06:00.268Z] Configure a credential helper to remove this warning. See [2022-09-15T22:06:00.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:06:00.268Z] [2022-09-15T22:06:00.268Z] Login Succeeded [2022-09-15T22:06:00.268Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:06:00.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:06:00.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:06:00.268Z] Configure a credential helper to remove this warning. See [2022-09-15T22:06:00.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:06:00.268Z] [2022-09-15T22:06:00.268Z] Login Succeeded [2022-09-15T22:06:00.268Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:06:00.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:06:00.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:06:00.529Z] Configure a credential helper to remove this warning. See [2022-09-15T22:06:00.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:06:00.529Z] [2022-09-15T22:06:00.529Z] Login Succeeded [2022-09-15T22:06:00.529Z] docker.io [2022-09-15T22:06:00.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:06:00.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:06:00.790Z] Configure a credential helper to remove this warning. See [2022-09-15T22:06:00.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:06:00.790Z] [2022-09-15T22:06:00.790Z] Login Succeeded [2022-09-15T22:06:00.790Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:06:00.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:06:00.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:06:00.855Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-09-15T22:06:00.855Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:06:00.855Z] latest [2022-09-15T22:06:00.855Z] 2.3.0-dev.12 [2022-09-15T22:06:00.855Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:06:00.855Z] main [2022-09-15T22:06:00.855Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:01.184Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:01.500Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:06:01.500Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-15T22:06:01.500Z] eb52dd962287: Preparing [2022-09-15T22:06:01.500Z] 244515274361: Preparing [2022-09-15T22:06:01.500Z] 2fe86c5f1b6f: Preparing [2022-09-15T22:06:01.500Z] c8e76c20e7ed: Preparing [2022-09-15T22:06:01.500Z] 994393dc58e7: Preparing [2022-09-15T22:06:01.500Z] 994393dc58e7: Layer already exists [2022-09-15T22:06:01.500Z] 244515274361: Pushed [2022-09-15T22:06:01.500Z] eb52dd962287: Pushed [2022-09-15T22:06:01.763Z] c8e76c20e7ed: Pushed [2022-09-15T22:06:04.310Z] 2fe86c5f1b6f: Pushed [2022-09-15T22:06:04.310Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:04.629Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:04.946Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-09-15T22:06:04.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-15T22:06:04.946Z] eb52dd962287: Preparing [2022-09-15T22:06:04.946Z] 244515274361: Preparing [2022-09-15T22:06:04.946Z] 2fe86c5f1b6f: Preparing [2022-09-15T22:06:04.946Z] c8e76c20e7ed: Preparing [2022-09-15T22:06:04.946Z] 994393dc58e7: Preparing [2022-09-15T22:06:04.946Z] 994393dc58e7: Layer already exists [2022-09-15T22:06:04.946Z] 2fe86c5f1b6f: Layer already exists [2022-09-15T22:06:04.946Z] 244515274361: Layer already exists [2022-09-15T22:06:04.946Z] c8e76c20e7ed: Layer already exists [2022-09-15T22:06:04.946Z] eb52dd962287: Layer already exists [2022-09-15T22:06:04.946Z] latest: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:05.258Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:05.567Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 [2022-09-15T22:06:05.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-15T22:06:05.567Z] eb52dd962287: Preparing [2022-09-15T22:06:05.567Z] 244515274361: Preparing [2022-09-15T22:06:05.567Z] 2fe86c5f1b6f: Preparing [2022-09-15T22:06:05.567Z] c8e76c20e7ed: Preparing [2022-09-15T22:06:05.567Z] 994393dc58e7: Preparing [2022-09-15T22:06:05.567Z] 244515274361: Layer already exists [2022-09-15T22:06:05.567Z] 2fe86c5f1b6f: Layer already exists [2022-09-15T22:06:05.567Z] c8e76c20e7ed: Layer already exists [2022-09-15T22:06:05.567Z] eb52dd962287: Layer already exists [2022-09-15T22:06:05.567Z] 994393dc58e7: Layer already exists [2022-09-15T22:06:05.567Z] 2.3.0-dev.12: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:05.880Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:06.200Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:06:06.200Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-15T22:06:06.200Z] eb52dd962287: Preparing [2022-09-15T22:06:06.200Z] 244515274361: Preparing [2022-09-15T22:06:06.200Z] 2fe86c5f1b6f: Preparing [2022-09-15T22:06:06.200Z] c8e76c20e7ed: Preparing [2022-09-15T22:06:06.200Z] 994393dc58e7: Preparing [2022-09-15T22:06:06.200Z] c8e76c20e7ed: Layer already exists [2022-09-15T22:06:06.200Z] 244515274361: Layer already exists [2022-09-15T22:06:06.200Z] 2fe86c5f1b6f: Layer already exists [2022-09-15T22:06:06.200Z] eb52dd962287: Layer already exists [2022-09-15T22:06:06.200Z] 994393dc58e7: Layer already exists [2022-09-15T22:06:06.200Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:06.635Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:06.977Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-09-15T22:06:06.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-09-15T22:06:06.977Z] eb52dd962287: Preparing [2022-09-15T22:06:06.977Z] 244515274361: Preparing [2022-09-15T22:06:06.977Z] 2fe86c5f1b6f: Preparing [2022-09-15T22:06:06.977Z] c8e76c20e7ed: Preparing [2022-09-15T22:06:06.977Z] 994393dc58e7: Preparing [2022-09-15T22:06:06.977Z] 994393dc58e7: Layer already exists [2022-09-15T22:06:06.977Z] eb52dd962287: Layer already exists [2022-09-15T22:06:06.977Z] c8e76c20e7ed: Layer already exists [2022-09-15T22:06:06.977Z] 2fe86c5f1b6f: Layer already exists [2022-09-15T22:06:06.977Z] 244515274361: Layer already exists [2022-09-15T22:06:06.977Z] main: digest: sha256:07dc5b8094bf62cfed33eb70904ebee2549124e2cd004465fcdcba5a625d7b09 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:06:07.028Z] ===================================================== [Pipeline] echo [2022-09-15T22:06:07.036Z] taggedImages: [2022-09-15T22:06:07.036Z] - nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:06:07.036Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-09-15T22:06:07.036Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.12 [2022-09-15T22:06:07.036Z] - nexus3.edgexfoundry.org:10004/device-snmp:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:06:07.036Z] - 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-15T22:06:07.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:06:07.414Z] [2022-09-15T22:06:07.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:06:07.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:06:07.719Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-15T22:06:07.719Z] 5eb5b503b376: Pulling fs layer [2022-09-15T22:06:07.719Z] 5c69ac0246d0: Pulling fs layer [2022-09-15T22:06:07.719Z] ec43610c2a17: Pulling fs layer [2022-09-15T22:06:07.719Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-15T22:06:07.719Z] 33b1e0a273af: Pulling fs layer [2022-09-15T22:06:07.719Z] 5d3b04190fa2: Pulling fs layer [2022-09-15T22:06:07.719Z] 2f39f015ded8: Pulling fs layer [2022-09-15T22:06:07.719Z] 3a2ae6a8a46f: Waiting [2022-09-15T22:06:07.719Z] 5d3b04190fa2: Waiting [2022-09-15T22:06:07.719Z] 33b1e0a273af: Waiting [2022-09-15T22:06:07.719Z] 5c69ac0246d0: Download complete [2022-09-15T22:06:07.719Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-15T22:06:07.719Z] 3a2ae6a8a46f: Download complete [2022-09-15T22:06:07.719Z] 33b1e0a273af: Verifying Checksum [2022-09-15T22:06:07.719Z] 33b1e0a273af: Download complete [2022-09-15T22:06:07.979Z] 5d3b04190fa2: Download complete [2022-09-15T22:06:07.979Z] ec43610c2a17: Verifying Checksum [2022-09-15T22:06:07.979Z] ec43610c2a17: Download complete [2022-09-15T22:06:07.979Z] 5eb5b503b376: Verifying Checksum [2022-09-15T22:06:07.979Z] 5eb5b503b376: Download complete [2022-09-15T22:06:08.556Z] 2f39f015ded8: Download complete [2022-09-15T22:06:09.122Z] 5eb5b503b376: Pull complete [2022-09-15T22:06:09.381Z] 5c69ac0246d0: Pull complete [2022-09-15T22:06:09.641Z] ec43610c2a17: Pull complete [2022-09-15T22:06:09.902Z] 3a2ae6a8a46f: Pull complete [2022-09-15T22:06:09.902Z] 33b1e0a273af: Pull complete [2022-09-15T22:06:10.161Z] 5d3b04190fa2: Pull complete [2022-09-15T22:06:14.352Z] 2f39f015ded8: Pull complete [2022-09-15T22:06:14.352Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-15T22:06:14.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:06:14.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:06:14.444Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:06:14.474Z] $ 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-15T22:06:16.183Z] $ docker top 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:06:16.577Z] ---> job-cost.sh [2022-09-15T22:06:16.577Z] lf-activate-venv: SKIPPING [2022-09-15T22:06:16.577Z] INFO: No Stack... [2022-09-15T22:06:16.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T22:06:17.412Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T22:06:17.706Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-09-15T22:06:17.706Z] + cut -d, -f6 [Pipeline] lock [2022-09-15T22:06:17.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [2022-09-15T22:06:17.726Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] did not exist. Created. [2022-09-15T22:06:17.726Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T22:06:18.027Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-15T22:06:18.059Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T22:06:18.066Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T22:06:18.086Z] $ docker stop --time=1 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd [2022-09-15T22:06:19.262Z] $ docker rm -f 61031ef6fd926152d71cafe67ad33b4715206f16842847b08efc0efc5838dccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-15T22:07:26.438Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29317 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-09-15T22:07:26.451Z] Running in /w/workspace/device-snmp-go/43 [Pipeline] { [Pipeline] checkout [2022-09-15T22:07:26.544Z] Selected Git installation does not exist. Using Default [2022-09-15T22:07:26.544Z] The recommended git tool is: NONE [2022-09-15T22:07:34.698Z] using credential edgex-jenkins-ssh [2022-09-15T22:07:34.717Z] Cloning the remote Git repository [2022-09-15T22:07:34.783Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-15T22:07:34.911Z] > git init /w/workspace/device-snmp-go/43 # timeout=10 [2022-09-15T22:07:35.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-15T22:07:35.165Z] > git --version # timeout=10 [2022-09-15T22:07:35.218Z] > git --version # 'git version 2.25.1' [2022-09-15T22:07:35.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T22:07:35.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T22:07:36.622Z] Avoid second fetch [2022-09-15T22:07:36.622Z] Checking out Revision 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (main) [2022-09-15T22:07:36.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-15T22:07:36.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T22:07:36.653Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T22:07:36.673Z] > git checkout -f 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 [2022-09-15T22:07:41.273Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#190)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:07:42.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-15T22:07:42.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T22:07:42.385Z] Dload Upload Total Spent Left Speed [2022-09-15T22:07:42.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-09-15T22:07:43.109Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-15T22:07:43.471Z] + sudo tee /etc/docker/daemon.new [2022-09-15T22:07:43.471Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-15T22:07:43.471Z] { [2022-09-15T22:07:43.471Z] "registry-mirrors": [ [2022-09-15T22:07:43.471Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-15T22:07:43.471Z] ], [2022-09-15T22:07:43.471Z] "bip": "10.250.0.254/24", [2022-09-15T22:07:43.471Z] "hosts": [ [2022-09-15T22:07:43.471Z] "tcp://0.0.0.0:5555", [2022-09-15T22:07:43.471Z] "unix:///var/run/docker.sock" [2022-09-15T22:07:43.471Z] ], [2022-09-15T22:07:43.471Z] "mtu": 1458, [2022-09-15T22:07:43.471Z] "selinux-enabled": true, [2022-09-15T22:07:43.471Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-15T22:07:43.471Z] } [Pipeline] sh [2022-09-15T22:07:43.857Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-15T22:07:44.206Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:08:02.615Z] provisioning config files... [2022-09-15T22:08:02.646Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/43@tmp/config8265050513736089233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:08:03.241Z] ---> docker-login.sh [2022-09-15T22:08:03.241Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:08:03.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:08:04.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:08:04.445Z] Configure a credential helper to remove this warning. See [2022-09-15T22:08:04.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:08:04.445Z] [2022-09-15T22:08:04.445Z] Login Succeeded [2022-09-15T22:08:04.445Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:08:04.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:08:04.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:08:04.725Z] Configure a credential helper to remove this warning. See [2022-09-15T22:08:04.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:08:04.725Z] [2022-09-15T22:08:04.725Z] Login Succeeded [2022-09-15T22:08:04.725Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:08:05.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:08:05.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:08:05.334Z] Configure a credential helper to remove this warning. See [2022-09-15T22:08:05.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:08:05.334Z] [2022-09-15T22:08:05.334Z] Login Succeeded [2022-09-15T22:08:05.334Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:08:05.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:08:05.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:08:05.885Z] Configure a credential helper to remove this warning. See [2022-09-15T22:08:05.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:08:05.885Z] [2022-09-15T22:08:05.885Z] Login Succeeded [2022-09-15T22:08:05.885Z] docker.io [2022-09-15T22:08:06.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:08:06.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:08:06.757Z] Configure a credential helper to remove this warning. See [2022-09-15T22:08:06.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:08:06.757Z] [2022-09-15T22:08:06.757Z] Login Succeeded [2022-09-15T22:08:06.757Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:08:06.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T22:08:07.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:08:07.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:08:07.135Z] ========================================================= [2022-09-15T22:08:07.135Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-15T22:08:07.135Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:08:07.604Z] + 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-15T22:08:07.878Z] Sending build context to Docker daemon 2.813MB [2022-09-15T22:08:07.878Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:08:07.878Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-15T22:08:08.157Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-15T22:08:08.157Z] b3c136eddcbf: Pulling fs layer [2022-09-15T22:08:08.157Z] c0a3192eca97: Pulling fs layer [2022-09-15T22:08:08.157Z] a050256f5b6f: Pulling fs layer [2022-09-15T22:08:08.157Z] 656be50a0ddc: Pulling fs layer [2022-09-15T22:08:08.157Z] 2bbca73fdf42: Pulling fs layer [2022-09-15T22:08:08.157Z] 46d945488cbd: Pulling fs layer [2022-09-15T22:08:08.157Z] 8a5474983e97: Pulling fs layer [2022-09-15T22:08:08.157Z] 329c88fbcd65: Pulling fs layer [2022-09-15T22:08:08.157Z] 329c88fbcd65: Waiting [2022-09-15T22:08:08.157Z] 46d945488cbd: Waiting [2022-09-15T22:08:08.157Z] 8a5474983e97: Waiting [2022-09-15T22:08:08.157Z] 2bbca73fdf42: Waiting [2022-09-15T22:08:08.157Z] 656be50a0ddc: Waiting [2022-09-15T22:08:08.157Z] a050256f5b6f: Verifying Checksum [2022-09-15T22:08:08.157Z] a050256f5b6f: Download complete [2022-09-15T22:08:08.157Z] c0a3192eca97: Verifying Checksum [2022-09-15T22:08:08.157Z] c0a3192eca97: Download complete [2022-09-15T22:08:08.157Z] 2bbca73fdf42: Verifying Checksum [2022-09-15T22:08:08.157Z] 2bbca73fdf42: Download complete [2022-09-15T22:08:08.157Z] 46d945488cbd: Verifying Checksum [2022-09-15T22:08:08.157Z] 46d945488cbd: Download complete [2022-09-15T22:08:08.157Z] b3c136eddcbf: Verifying Checksum [2022-09-15T22:08:08.157Z] b3c136eddcbf: Download complete [2022-09-15T22:08:09.168Z] b3c136eddcbf: Pull complete [2022-09-15T22:08:09.452Z] 329c88fbcd65: Verifying Checksum [2022-09-15T22:08:09.452Z] 329c88fbcd65: Download complete [2022-09-15T22:08:09.735Z] c0a3192eca97: Pull complete [2022-09-15T22:08:10.340Z] a050256f5b6f: Pull complete [2022-09-15T22:08:10.617Z] 8a5474983e97: Verifying Checksum [2022-09-15T22:08:10.617Z] 8a5474983e97: Download complete [2022-09-15T22:08:11.216Z] 656be50a0ddc: Download complete [2022-09-15T22:08:23.613Z] 656be50a0ddc: Pull complete [2022-09-15T22:08:23.613Z] 2bbca73fdf42: Pull complete [2022-09-15T22:08:23.890Z] 46d945488cbd: Pull complete [2022-09-15T22:08:30.612Z] 8a5474983e97: Pull complete [2022-09-15T22:08:32.052Z] 329c88fbcd65: Pull complete [2022-09-15T22:08:32.052Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-15T22:08:32.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T22:08:32.052Z] ---> ff4287adb874 [2022-09-15T22:08:32.052Z] Step 3/12 : ARG MAKE='make build' [2022-09-15T22:08:32.659Z] ---> Running in 55bc4cef35ee [2022-09-15T22:08:33.276Z] Removing intermediate container 55bc4cef35ee [2022-09-15T22:08:33.276Z] ---> 76ba3e309f4d [2022-09-15T22:08:33.276Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T22:08:33.276Z] ---> Running in 8711c4832ee9 [2022-09-15T22:08:35.281Z] Removing intermediate container 8711c4832ee9 [2022-09-15T22:08:35.281Z] ---> 4506b6eab1f7 [2022-09-15T22:08:35.281Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T22:08:35.281Z] ---> Running in b4480af60d88 [2022-09-15T22:08:35.281Z] Removing intermediate container b4480af60d88 [2022-09-15T22:08:35.281Z] ---> 9e147f0035d4 [2022-09-15T22:08:35.281Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:08:35.281Z] ---> Running in d965f66cdf92 [2022-09-15T22:08:37.290Z] Removing intermediate container d965f66cdf92 [2022-09-15T22:08:37.290Z] ---> 838ee6d36f5d [2022-09-15T22:08:37.290Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T22:08:37.290Z] ---> Running in fe5dc0b49e17 [2022-09-15T22:08:38.756Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:08:39.360Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:08:40.810Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-15T22:08:40.810Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-15T22:08:40.810Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-15T22:08:40.810Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-15T22:08:41.085Z] Executing busybox-1.35.0-r13.trigger [2022-09-15T22:08:41.085Z] OK: 226 MiB in 55 packages [2022-09-15T22:08:42.078Z] Removing intermediate container fe5dc0b49e17 [2022-09-15T22:08:42.078Z] ---> 99e50eafc969 [2022-09-15T22:08:42.078Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-15T22:08:42.364Z] ---> Running in 0b362290455a [2022-09-15T22:08:42.642Z] Removing intermediate container 0b362290455a [2022-09-15T22:08:42.642Z] ---> fe28ddbaf3c2 [2022-09-15T22:08:42.642Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-15T22:08:43.250Z] ---> 88f575ea210c [2022-09-15T22:08:43.250Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:08:43.250Z] ---> Running in d38cc20cebfa [2022-09-15T22:09:39.847Z] Removing intermediate container d38cc20cebfa [2022-09-15T22:09:39.847Z] ---> 8c6299fccb9a [2022-09-15T22:09:39.847Z] Step 11/12 : COPY . . [2022-09-15T22:09:39.847Z] ---> 4dcf78eb2f69 [2022-09-15T22:09:39.847Z] Step 12/12 : RUN ${MAKE} [2022-09-15T22:09:39.847Z] ---> Running in f5c40cfd0745 [2022-09-15T22:09:39.847Z] noop [2022-09-15T22:09:39.847Z] Removing intermediate container f5c40cfd0745 [2022-09-15T22:09:39.847Z] ---> 7b6f1e1413d9 [2022-09-15T22:09:39.847Z] Successfully built 7b6f1e1413d9 [2022-09-15T22:09:39.847Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:09:40.208Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T22:09:40.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:09:40.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container [2022-09-15T22:09:40.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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-15T22:09:41.900Z] $ docker top a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:09:42.812Z] + go version [2022-09-15T22:09:42.812Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-15T22:09:42.846Z] $ docker stop --time=1 a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 [2022-09-15T22:09:44.511Z] $ docker rm -f a8fe1714eb731308f999125ed4349ad5afd2079003a1cabeca058a4690dc0da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:09:45.154Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T22:09:45.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:09:45.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container [2022-09-15T22:09:45.544Z] $ 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/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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-15T22:09:46.952Z] $ docker top 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:09:47.931Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/43 [Pipeline] fileExists [Pipeline] sh [2022-09-15T22:09:48.611Z] + make test [2022-09-15T22:09:48.611Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-15T22:09:50.601Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-15T22:11:27.528Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-15T22:11:27.528Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2022-09-15T22:11:27.528Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-15T22:11:27.528Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T22:11:42.746Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T22:11:42.746Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T22:11:42.746Z] ./bin/test-attribution-txt.sh [2022-09-15T22:11:42.746Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-15T22:11:42.746Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-15T22:11:42.746Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-15T22:11:42.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T22:11:42.798Z] $ docker stop --time=1 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 [2022-09-15T22:11:44.545Z] $ docker rm -f 5d23c4496273f158f209c049ae62d6961d83d8c055298e7ed734b69074eb9b40 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:11:45.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T22:11:45.539Z] Warning: overwriting stash ‘coverage-report’ [2022-09-15T22:11:46.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:11:46.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T22:11:46.768Z] + ls -al . [2022-09-15T22:11:46.769Z] total 168 [2022-09-15T22:11:46.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:09 . [2022-09-15T22:11:46.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:07 .. [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 15 22:07 .dockerignore [2022-09-15T22:11:46.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:07 .git [2022-09-15T22:11:46.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 .github [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 15 22:07 .gitignore [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:07 .golangci.yml [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 15 22:07 Attribution.txt [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 15 22:07 CHANGELOG.md [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 15 22:07 Dockerfile [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:07 GOVERNANCE.md [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 15 22:07 Jenkinsfile [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:07 LICENSE [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 15 22:07 Makefile [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:07 OWNERS.md [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 15 22:07 README.md [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:04 VERSION [2022-09-15T22:11:46.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:07 bin [2022-09-15T22:11:46.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 cmd [2022-09-15T22:11:46.769Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 15 22:11 coverage.out [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 15 22:07 go.mod [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 15 22:07 go.sum [2022-09-15T22:11:46.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:07 internal [2022-09-15T22:11:46.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:07 snap [2022-09-15T22:11:46.769Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 15 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:11:47.127Z] + 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 --label arch=arm64 --label version=2.3.0-dev.12 . [2022-09-15T22:11:47.399Z] Sending build context to Docker daemon 2.822MB [2022-09-15T22:11:47.399Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:11:47.399Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-15T22:11:47.399Z] ---> 7b6f1e1413d9 [2022-09-15T22:11:47.399Z] Step 3/24 : ARG MAKE='make build' [2022-09-15T22:11:47.673Z] ---> Running in 619595fa0388 [2022-09-15T22:11:47.945Z] Removing intermediate container 619595fa0388 [2022-09-15T22:11:47.945Z] ---> 737a12aa5ad5 [2022-09-15T22:11:47.945Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-15T22:11:47.945Z] ---> Running in f45e13e0e8c5 [2022-09-15T22:11:48.218Z] Removing intermediate container f45e13e0e8c5 [2022-09-15T22:11:48.218Z] ---> 1d556130efaa [2022-09-15T22:11:48.218Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-15T22:11:48.490Z] ---> Running in a94bbe516618 [2022-09-15T22:11:48.767Z] Removing intermediate container a94bbe516618 [2022-09-15T22:11:48.767Z] ---> c2a1f1b51efb [2022-09-15T22:11:48.767Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:11:48.767Z] ---> Running in 66fc61c57eab [2022-09-15T22:11:50.203Z] Removing intermediate container 66fc61c57eab [2022-09-15T22:11:50.203Z] ---> 1958ef1da5ed [2022-09-15T22:11:50.203Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-15T22:11:50.481Z] ---> Running in 384eaa21bd78 [2022-09-15T22:11:51.456Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:11:52.435Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:11:53.412Z] OK: 226 MiB in 55 packages [2022-09-15T22:11:54.006Z] Removing intermediate container 384eaa21bd78 [2022-09-15T22:11:54.006Z] ---> 865c12a6f3c8 [2022-09-15T22:11:54.006Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-15T22:11:54.006Z] ---> Running in ccd21e6eacf1 [2022-09-15T22:11:54.603Z] Removing intermediate container ccd21e6eacf1 [2022-09-15T22:11:54.603Z] ---> 94e5cdfa93a7 [2022-09-15T22:11:54.603Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-15T22:11:54.880Z] ---> cb98cd781da0 [2022-09-15T22:11:54.880Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:11:55.154Z] ---> Running in 1873dae83d33 [2022-09-15T22:11:57.130Z] Removing intermediate container 1873dae83d33 [2022-09-15T22:11:57.130Z] ---> 8cf956fb66b7 [2022-09-15T22:11:57.130Z] Step 11/24 : COPY . . [2022-09-15T22:11:57.725Z] ---> 8b6cabf8434e [2022-09-15T22:11:57.725Z] Step 12/24 : RUN ${MAKE} [2022-09-15T22:11:57.725Z] ---> Running in 0e8f719680e8 [2022-09-15T22:11:58.711Z] 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.21 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-15T22:14:20.603Z] Removing intermediate container 0e8f719680e8 [2022-09-15T22:14:20.603Z] ---> 5ecaa993b008 [2022-09-15T22:14:20.603Z] Step 13/24 : FROM alpine:3.16 [2022-09-15T22:14:20.603Z] 3.16: Pulling from library/alpine [2022-09-15T22:14:20.603Z] 9b18e9b68314: Pulling fs layer [2022-09-15T22:14:20.603Z] 9b18e9b68314: Verifying Checksum [2022-09-15T22:14:20.603Z] 9b18e9b68314: Download complete [2022-09-15T22:14:20.603Z] 9b18e9b68314: Pull complete [2022-09-15T22:14:20.603Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-15T22:14:20.603Z] Status: Downloaded newer image for alpine:3.16 [2022-09-15T22:14:20.603Z] ---> a6215f271958 [2022-09-15T22:14:20.603Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T22:14:20.603Z] ---> Running in 2fa365dc642e [2022-09-15T22:14:20.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:14:20.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:14:20.603Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T22:14:20.603Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-15T22:14:20.603Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T22:14:20.603Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-15T22:14:20.603Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T22:14:20.603Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T22:14:20.603Z] Executing busybox-1.35.0-r17.trigger [2022-09-15T22:14:20.603Z] OK: 8 MiB in 20 packages [2022-09-15T22:14:20.603Z] Removing intermediate container 2fa365dc642e [2022-09-15T22:14:20.603Z] ---> 52fca2413656 [2022-09-15T22:14:20.603Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-15T22:14:20.603Z] ---> 24a26a0656ba [2022-09-15T22:14:20.603Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-15T22:14:20.603Z] ---> 3b42490c4560 [2022-09-15T22:14:20.603Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-15T22:14:20.603Z] ---> 7953c91a01ce [2022-09-15T22:14:20.603Z] Step 18/24 : EXPOSE 59993 [2022-09-15T22:14:20.603Z] ---> Running in e14a6420a4f6 [2022-09-15T22:14:20.603Z] Removing intermediate container e14a6420a4f6 [2022-09-15T22:14:20.603Z] ---> 0ea89aabb052 [2022-09-15T22:14:20.603Z] Step 19/24 : EXPOSE 161 [2022-09-15T22:14:20.603Z] ---> Running in bd26be4f3737 [2022-09-15T22:14:20.603Z] Removing intermediate container bd26be4f3737 [2022-09-15T22:14:20.603Z] ---> 8d7a7cf3cd5b [2022-09-15T22:14:20.603Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-15T22:14:20.603Z] ---> Running in 801fccb7aa1c [2022-09-15T22:14:20.603Z] Removing intermediate container 801fccb7aa1c [2022-09-15T22:14:20.603Z] ---> 627eeb5386fc [2022-09-15T22:14:20.603Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-15T22:14:20.603Z] ---> Running in a390cfd90b52 [2022-09-15T22:14:20.603Z] Removing intermediate container a390cfd90b52 [2022-09-15T22:14:20.603Z] ---> bef78ed6a510 [2022-09-15T22:14:20.603Z] Step 22/24 : LABEL arch=arm64 [2022-09-15T22:14:20.603Z] ---> Running in c2c27bc07690 [2022-09-15T22:14:20.603Z] Removing intermediate container c2c27bc07690 [2022-09-15T22:14:20.603Z] ---> 54868be83aa6 [2022-09-15T22:14:20.603Z] Step 23/24 : LABEL git_sha=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:14:20.603Z] ---> Running in 01203f2025c2 [2022-09-15T22:14:20.603Z] Removing intermediate container 01203f2025c2 [2022-09-15T22:14:20.603Z] ---> d5ce2d7a2f85 [2022-09-15T22:14:20.603Z] Step 24/24 : LABEL version=2.3.0-dev.12 [2022-09-15T22:14:20.603Z] ---> Running in 1926e523444b [2022-09-15T22:14:20.603Z] Removing intermediate container 1926e523444b [2022-09-15T22:14:20.603Z] ---> 164daf18c868 [2022-09-15T22:14:20.603Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T22:14:20.603Z] Successfully built 164daf18c868 [2022-09-15T22:14:20.603Z] 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-15T22:14:20.715Z] provisioning config files... [2022-09-15T22:14:20.733Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/43@tmp/config3150906723013077329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:14:21.079Z] ---> docker-login.sh [2022-09-15T22:14:21.079Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:14:21.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:14:21.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:14:21.351Z] Configure a credential helper to remove this warning. See [2022-09-15T22:14:21.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:14:21.351Z] [2022-09-15T22:14:21.351Z] Login Succeeded [2022-09-15T22:14:21.351Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:14:21.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:14:21.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:14:21.897Z] Configure a credential helper to remove this warning. See [2022-09-15T22:14:21.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:14:21.897Z] [2022-09-15T22:14:21.897Z] Login Succeeded [2022-09-15T22:14:21.897Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:14:22.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:14:22.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:14:22.170Z] Configure a credential helper to remove this warning. See [2022-09-15T22:14:22.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:14:22.170Z] [2022-09-15T22:14:22.170Z] Login Succeeded [2022-09-15T22:14:22.170Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:14:22.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:14:22.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:14:22.765Z] Configure a credential helper to remove this warning. See [2022-09-15T22:14:22.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:14:22.765Z] [2022-09-15T22:14:22.765Z] Login Succeeded [2022-09-15T22:14:22.765Z] docker.io [2022-09-15T22:14:23.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:14:23.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:14:23.630Z] Configure a credential helper to remove this warning. See [2022-09-15T22:14:23.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:14:23.630Z] [2022-09-15T22:14:23.630Z] Login Succeeded [2022-09-15T22:14:23.630Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:14:23.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:14:23.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:14:23.711Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-09-15T22:14:23.711Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:14:23.711Z] latest [2022-09-15T22:14:23.711Z] 2.3.0-dev.12 [2022-09-15T22:14:23.711Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:14:23.711Z] main [2022-09-15T22:14:23.711Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:24.055Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:24.417Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:14:24.417Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-15T22:14:24.417Z] 1746dd5e5bf4: Preparing [2022-09-15T22:14:24.417Z] 1c6b784432b9: Preparing [2022-09-15T22:14:24.417Z] f27fb80065e3: Preparing [2022-09-15T22:14:24.417Z] 4293cde2c36f: Preparing [2022-09-15T22:14:24.417Z] 5d3e392a13a0: Preparing [2022-09-15T22:14:24.417Z] 5d3e392a13a0: Layer already exists [2022-09-15T22:14:24.694Z] 1746dd5e5bf4: Pushed [2022-09-15T22:14:24.694Z] 1c6b784432b9: Pushed [2022-09-15T22:14:25.289Z] 4293cde2c36f: Pushed [2022-09-15T22:14:29.577Z] f27fb80065e3: Pushed [2022-09-15T22:14:29.848Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:30.213Z] + 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-15T22:14:30.572Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-09-15T22:14:30.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-15T22:14:30.573Z] 1746dd5e5bf4: Preparing [2022-09-15T22:14:30.573Z] 1c6b784432b9: Preparing [2022-09-15T22:14:30.573Z] f27fb80065e3: Preparing [2022-09-15T22:14:30.573Z] 4293cde2c36f: Preparing [2022-09-15T22:14:30.573Z] 5d3e392a13a0: Preparing [2022-09-15T22:14:30.573Z] 1c6b784432b9: Layer already exists [2022-09-15T22:14:30.573Z] 1746dd5e5bf4: Layer already exists [2022-09-15T22:14:30.573Z] f27fb80065e3: Layer already exists [2022-09-15T22:14:30.573Z] 4293cde2c36f: Layer already exists [2022-09-15T22:14:30.573Z] 5d3e392a13a0: Layer already exists [2022-09-15T22:14:30.843Z] latest: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:31.203Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:31.560Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 [2022-09-15T22:14:31.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-15T22:14:31.560Z] 1746dd5e5bf4: Preparing [2022-09-15T22:14:31.560Z] 1c6b784432b9: Preparing [2022-09-15T22:14:31.560Z] f27fb80065e3: Preparing [2022-09-15T22:14:31.560Z] 4293cde2c36f: Preparing [2022-09-15T22:14:31.560Z] 5d3e392a13a0: Preparing [2022-09-15T22:14:31.560Z] 5d3e392a13a0: Layer already exists [2022-09-15T22:14:31.560Z] 1746dd5e5bf4: Layer already exists [2022-09-15T22:14:31.560Z] 4293cde2c36f: Layer already exists [2022-09-15T22:14:31.560Z] 1c6b784432b9: Layer already exists [2022-09-15T22:14:31.560Z] f27fb80065e3: Layer already exists [2022-09-15T22:14:31.833Z] 2.3.0-dev.12: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:32.200Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:32.557Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:14:32.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-15T22:14:32.557Z] 1746dd5e5bf4: Preparing [2022-09-15T22:14:32.557Z] 1c6b784432b9: Preparing [2022-09-15T22:14:32.557Z] f27fb80065e3: Preparing [2022-09-15T22:14:32.557Z] 4293cde2c36f: Preparing [2022-09-15T22:14:32.557Z] 5d3e392a13a0: Preparing [2022-09-15T22:14:32.557Z] 5d3e392a13a0: Layer already exists [2022-09-15T22:14:32.557Z] 1c6b784432b9: Layer already exists [2022-09-15T22:14:32.557Z] 1746dd5e5bf4: Layer already exists [2022-09-15T22:14:32.557Z] 4293cde2c36f: Layer already exists [2022-09-15T22:14:32.557Z] f27fb80065e3: Layer already exists [2022-09-15T22:14:32.829Z] 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:33.196Z] + 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-15T22:14:33.555Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-09-15T22:14:33.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-09-15T22:14:33.555Z] 1746dd5e5bf4: Preparing [2022-09-15T22:14:33.555Z] 1c6b784432b9: Preparing [2022-09-15T22:14:33.555Z] f27fb80065e3: Preparing [2022-09-15T22:14:33.555Z] 4293cde2c36f: Preparing [2022-09-15T22:14:33.555Z] 5d3e392a13a0: Preparing [2022-09-15T22:14:33.555Z] 4293cde2c36f: Layer already exists [2022-09-15T22:14:33.555Z] 1c6b784432b9: Layer already exists [2022-09-15T22:14:33.555Z] f27fb80065e3: Layer already exists [2022-09-15T22:14:33.555Z] 5d3e392a13a0: Layer already exists [2022-09-15T22:14:33.555Z] 1746dd5e5bf4: Layer already exists [2022-09-15T22:14:33.825Z] main: digest: sha256:bcef83bd97564da5ac9456c357ec604fb72e69e5ae1147930ef1308ab9c3037a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:14:33.886Z] ===================================================== [Pipeline] echo [2022-09-15T22:14:33.896Z] taggedImages: [2022-09-15T22:14:33.896Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [2022-09-15T22:14:33.896Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-09-15T22:14:33.896Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.12 [2022-09-15T22:14:33.896Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17-2.3.0-dev.12 [2022-09-15T22:14:33.896Z] - 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-15T22:14:34.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:14:34.264Z] [2022-09-15T22:14:34.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:34.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:14:34.893Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-15T22:14:34.893Z] 8998bd30e6a1: Pulling fs layer [2022-09-15T22:14:34.893Z] 04944245beec: Pulling fs layer [2022-09-15T22:14:34.893Z] 699f458cf7ca: Pulling fs layer [2022-09-15T22:14:34.893Z] 765212b225bb: Pulling fs layer [2022-09-15T22:14:34.893Z] f23df028b6ca: Pulling fs layer [2022-09-15T22:14:34.893Z] d65c8cfc05b1: Pulling fs layer [2022-09-15T22:14:34.893Z] 2437ff75d9bd: Pulling fs layer [2022-09-15T22:14:34.893Z] 765212b225bb: Waiting [2022-09-15T22:14:34.893Z] f23df028b6ca: Waiting [2022-09-15T22:14:34.893Z] d65c8cfc05b1: Waiting [2022-09-15T22:14:34.893Z] 2437ff75d9bd: Waiting [2022-09-15T22:14:34.893Z] 04944245beec: Verifying Checksum [2022-09-15T22:14:34.893Z] 04944245beec: Download complete [2022-09-15T22:14:34.893Z] 765212b225bb: Verifying Checksum [2022-09-15T22:14:34.893Z] 765212b225bb: Download complete [2022-09-15T22:14:34.893Z] f23df028b6ca: Verifying Checksum [2022-09-15T22:14:34.893Z] f23df028b6ca: Download complete [2022-09-15T22:14:34.893Z] d65c8cfc05b1: Verifying Checksum [2022-09-15T22:14:34.893Z] d65c8cfc05b1: Download complete [2022-09-15T22:14:35.169Z] 699f458cf7ca: Verifying Checksum [2022-09-15T22:14:35.169Z] 699f458cf7ca: Download complete [2022-09-15T22:14:35.442Z] 8998bd30e6a1: Download complete [2022-09-15T22:14:38.079Z] 2437ff75d9bd: Verifying Checksum [2022-09-15T22:14:38.079Z] 2437ff75d9bd: Download complete [2022-09-15T22:14:40.068Z] 8998bd30e6a1: Pull complete [2022-09-15T22:14:40.343Z] 04944245beec: Pull complete [2022-09-15T22:14:41.787Z] 699f458cf7ca: Pull complete [2022-09-15T22:14:42.060Z] 765212b225bb: Pull complete [2022-09-15T22:14:43.044Z] f23df028b6ca: Pull complete [2022-09-15T22:14:43.319Z] d65c8cfc05b1: Pull complete [2022-09-15T22:14:58.410Z] 2437ff75d9bd: Pull complete [2022-09-15T22:14:58.410Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-15T22:14:58.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:14:58.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:14:58.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-29317 does not seem to be running inside a container [2022-09-15T22:14:58.772Z] $ 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/43 -v /w/workspace/device-snmp-go/43:/w/workspace/device-snmp-go/43:rw,z -v /w/workspace/device-snmp-go/43@tmp:/w/workspace/device-snmp-go/43@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-15T22:15:01.620Z] $ docker top 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:02.542Z] ---> job-cost.sh [2022-09-15T22:15:02.542Z] lf-activate-venv: SKIPPING [2022-09-15T22:15:02.542Z] INFO: No Stack... [2022-09-15T22:15:02.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-15T22:15:03.794Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T22:15:04.458Z] + cat /w/workspace/device-snmp-go/43/archives/cost.csv [2022-09-15T22:15:04.458Z] + cut -d, -f6 [Pipeline] lock [2022-09-15T22:15:04.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [2022-09-15T22:15:04.534Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] did not exist. Created. [2022-09-15T22:15:04.535Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T22:15:05.228Z] /w/workspace/device-snmp-go/43@tmp/durable-6db993c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-15T22:15:05.913Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-15T22:15:05.942Z] Warning: overwriting stash ‘stack-cost’ [2022-09-15T22:15:05.986Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T22:15:05.993Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T22:15:06.030Z] $ docker stop --time=1 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe [2022-09-15T22:15:07.590Z] $ docker rm -f 28e1fbedbd3896cdb4365b84f0cec83f193eed23dc03bbbb36e6e11310d357fe [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-15T22:15:08.095Z] provisioning config files... [2022-09-15T22:15:08.104Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15761432202875138tmp [Pipeline] { [Pipeline] sh [2022-09-15T22:15:08.396Z] + set +x [2022-09-15T22:15:08.396Z] + curl -s https://codecov.io/bash [2022-09-15T22:15:08.396Z] + bash -s -- [2022-09-15T22:15:08.396Z] [2022-09-15T22:15:08.396Z] _____ _ [2022-09-15T22:15:08.396Z] / ____| | | [2022-09-15T22:15:08.396Z] | | ___ __| | ___ ___ _____ __ [2022-09-15T22:15:08.396Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-15T22:15:08.396Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-15T22:15:08.396Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-15T22:15:08.396Z] Bash-1.0.6 [2022-09-15T22:15:08.397Z] [2022-09-15T22:15:08.397Z] [2022-09-15T22:15:08.397Z] ==> git version 2.25.1 found [2022-09-15T22:15:08.397Z] ==> 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-15T22:15:08.397Z] Release-Date: 2020-01-08 [2022-09-15T22:15:08.397Z] 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-15T22:15:08.397Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-15T22:15:08.397Z] ==> Jenkins CI detected. [2022-09-15T22:15:08.397Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-09-15T22:15:08.397Z] project root: . [2022-09-15T22:15:08.397Z] --> token set from env [2022-09-15T22:15:08.397Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-15T22:15:08.397Z] ==> Running gcov in . (disable via -X gcov) [2022-09-15T22:15:08.397Z] ==> Python coveragepy not found [2022-09-15T22:15:08.397Z] ==> Searching for coverage reports in: [2022-09-15T22:15:08.397Z] + . [2022-09-15T22:15:08.397Z] -> Found 1 reports [2022-09-15T22:15:08.397Z] ==> Detecting git/mercurial file structure [2022-09-15T22:15:08.397Z] ==> Reading reports [2022-09-15T22:15:08.397Z] + ./coverage.out bytes=7631 [2022-09-15T22:15:08.397Z] ==> Appending adjustments [2022-09-15T22:15:08.397Z] https://docs.codecov.io/docs/fixing-reports [2022-09-15T22:15:08.657Z] + Found adjustments [2022-09-15T22:15:08.657Z] ==> Gzipping contents [2022-09-15T22:15:08.657Z] 4.0K /tmp/codecov.Y4yWBq.gz [2022-09-15T22:15:08.657Z] ==> Uploading reports [2022-09-15T22:15:08.657Z] url: https://codecov.io [2022-09-15T22:15:08.657Z] query: branch=main&commit=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-15T22:15:08.657Z] -> Pinging Codecov [2022-09-15T22:15:08.657Z] 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=1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-15T22:15:08.917Z] -> Uploading to [2022-09-15T22:15:08.917Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-15/6C56EA5C29638FB4528AC87E60AF5AE0/1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17/1e084439-a420-4481-a4d8-0a0b861478f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T221508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac3a75be13c392df6c9dcd7f0ebd77a8296fbb01376ea39b1372281901c441e4 [2022-09-15T22:15:08.917Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T22:15:08.917Z] Dload Upload Total Spent Left Speed [2022-09-15T22:15:09.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6559 --:--:-- --:--:-- --:--:-- 6559 [2022-09-15T22:15:09.177Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] } [2022-09-15T22:15:09.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-15T22:15:09.316Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-15T22:15:09.336Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:09.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:15:09.645Z] [2022-09-15T22:15:09.645Z] 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-15T22:15:09.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:15:09.950Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-15T22:15:09.950Z] df9b9388f04a: Pulling fs layer [2022-09-15T22:15:09.950Z] 52dc419b0ee2: Pulling fs layer [2022-09-15T22:15:09.950Z] 25bc292e5bac: Pulling fs layer [2022-09-15T22:15:09.950Z] 114826534d7a: Pulling fs layer [2022-09-15T22:15:09.950Z] 4657fd5d0bcf: Pulling fs layer [2022-09-15T22:15:09.950Z] 6ad1cebc031e: Pulling fs layer [2022-09-15T22:15:09.950Z] 8a3aa393b2d8: Pulling fs layer [2022-09-15T22:15:09.950Z] 114826534d7a: Waiting [2022-09-15T22:15:09.950Z] 4657fd5d0bcf: Waiting [2022-09-15T22:15:09.950Z] 6ad1cebc031e: Waiting [2022-09-15T22:15:09.950Z] 8a3aa393b2d8: Waiting [2022-09-15T22:15:09.950Z] 25bc292e5bac: Verifying Checksum [2022-09-15T22:15:09.950Z] 25bc292e5bac: Download complete [2022-09-15T22:15:09.950Z] 52dc419b0ee2: Verifying Checksum [2022-09-15T22:15:09.950Z] 52dc419b0ee2: Download complete [2022-09-15T22:15:09.950Z] 4657fd5d0bcf: Verifying Checksum [2022-09-15T22:15:09.950Z] 4657fd5d0bcf: Download complete [2022-09-15T22:15:09.950Z] df9b9388f04a: Verifying Checksum [2022-09-15T22:15:09.950Z] df9b9388f04a: Download complete [2022-09-15T22:15:10.213Z] df9b9388f04a: Pull complete [2022-09-15T22:15:10.213Z] 52dc419b0ee2: Pull complete [2022-09-15T22:15:10.213Z] 6ad1cebc031e: Verifying Checksum [2022-09-15T22:15:10.213Z] 6ad1cebc031e: Download complete [2022-09-15T22:15:10.213Z] 25bc292e5bac: Pull complete [2022-09-15T22:15:11.172Z] 114826534d7a: Verifying Checksum [2022-09-15T22:15:11.172Z] 114826534d7a: Download complete [2022-09-15T22:15:11.172Z] 8a3aa393b2d8: Verifying Checksum [2022-09-15T22:15:14.453Z] 114826534d7a: Pull complete [2022-09-15T22:15:14.453Z] 4657fd5d0bcf: Pull complete [2022-09-15T22:15:14.712Z] 6ad1cebc031e: Pull complete [2022-09-15T22:15:17.239Z] 8a3aa393b2d8: Pull complete [2022-09-15T22:15:17.239Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-15T22:15:17.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:15:17.239Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:17.332Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:15:17.376Z] $ 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-15T22:15:18.904Z] $ docker top e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-15T22:15:18.971Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-09-15T22:15:19.252Z] + set -o pipefail [2022-09-15T22:15:19.252Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-09-15T22:15:24.539Z] [2022-09-15T22:15:24.539Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-09-15T22:15:24.539Z] [2022-09-15T22:15:24.539Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/0b3c79a9-8a80-4a73-81ce-69c002d87263 [2022-09-15T22:15:24.539Z] [2022-09-15T22:15:24.539Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-09-15T22:15:24.539Z] [2022-09-15T22:15:24.539Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-15T22:15:24.539Z] [2022-09-15T22:15:24.539Z] [Pipeline] } [2022-09-15T22:15:24.565Z] $ docker stop --time=1 e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f [2022-09-15T22:15:26.609Z] $ docker rm -f e306d77268798c44d300595906c38f40f7135aa1ede4832457de76ff20b8761f [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-15T22:15:27.321Z] + git log --format=format:%s -1 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 [Pipeline] sh [2022-09-15T22:15:27.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:15:27.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:27.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:15:27.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:28.020Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:15:28.154Z] $ 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-15T22:15:28.552Z] $ docker top 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:15:28.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:15:28.640Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:15:28.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:15:28.780Z] $ docker exec 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 ssh-agent [2022-09-15T22:15:28.891Z] SSH_AUTH_SOCK=/tmp/ssh-Hv6Idql1xptd/agent.32 [2022-09-15T22:15:28.891Z] SSH_AGENT_PID=38 [2022-09-15T22:15:28.896Z] Running ssh-add (command line suppressed) [2022-09-15T22:15:29.018Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4310571610839332281.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4310571610839332281.key) [2022-09-15T22:15:29.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:15:29.306Z] + git semver tag [2022-09-15T22:15:29.565Z] 2022-09-15 22:15:29,493 [run_tag] DEBUG tag force:False [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,493 [check_head_tag] DEBUG check head tag [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,493 [execute] INFO git cat-file --batch-check [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,497 [execute] INFO git cat-file --batch [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,510 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,510 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:15:29.566Z] 2022-09-15 22:15:29,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:29.566Z] 2.3.0-dev.12 [Pipeline] } [2022-09-15T22:15:29.586Z] $ docker exec --env ******** --env ******** 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 ssh-agent -k [2022-09-15T22:15:29.705Z] unset SSH_AUTH_SOCK; [2022-09-15T22:15:29.705Z] unset SSH_AGENT_PID; [2022-09-15T22:15:29.706Z] echo Agent pid 38 killed; [2022-09-15T22:15:29.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:15:30.017Z] + git semver [Pipeline] } [2022-09-15T22:15:30.302Z] $ docker stop --time=1 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 [2022-09-15T22:15:31.573Z] $ docker rm -f 04e71762f99df1f63af25a7a6ba33daa375a43606e140c3dd818b62efbf4e293 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:31.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:15:31.961Z] [2022-09-15T22:15:31.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:32.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:15:32.259Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-15T22:15:32.259Z] ab5ef0e58194: Pulling fs layer [2022-09-15T22:15:32.259Z] 9712f1f96733: Pulling fs layer [2022-09-15T22:15:32.259Z] 63f879dbbcfc: Pulling fs layer [2022-09-15T22:15:32.259Z] 0d9ebad4ef96: Pulling fs layer [2022-09-15T22:15:32.259Z] e9a5061849ea: Pulling fs layer [2022-09-15T22:15:32.259Z] d747dcd14b5f: Pulling fs layer [2022-09-15T22:15:32.259Z] 2de7ff778b66: Pulling fs layer [2022-09-15T22:15:32.259Z] e9a5061849ea: Waiting [2022-09-15T22:15:32.259Z] 0d9ebad4ef96: Waiting [2022-09-15T22:15:32.259Z] d747dcd14b5f: Waiting [2022-09-15T22:15:32.259Z] 2de7ff778b66: Waiting [2022-09-15T22:15:32.259Z] 9712f1f96733: Verifying Checksum [2022-09-15T22:15:32.259Z] 9712f1f96733: Download complete [2022-09-15T22:15:32.852Z] 0d9ebad4ef96: Verifying Checksum [2022-09-15T22:15:32.852Z] 0d9ebad4ef96: Download complete [2022-09-15T22:15:32.852Z] 63f879dbbcfc: Verifying Checksum [2022-09-15T22:15:32.852Z] 63f879dbbcfc: Download complete [2022-09-15T22:15:32.852Z] d747dcd14b5f: Verifying Checksum [2022-09-15T22:15:32.852Z] d747dcd14b5f: Download complete [2022-09-15T22:15:33.117Z] e9a5061849ea: Verifying Checksum [2022-09-15T22:15:33.117Z] e9a5061849ea: Download complete [2022-09-15T22:15:33.375Z] ab5ef0e58194: Download complete [2022-09-15T22:15:33.375Z] 2de7ff778b66: Verifying Checksum [2022-09-15T22:15:33.375Z] 2de7ff778b66: Download complete [2022-09-15T22:15:35.903Z] ab5ef0e58194: Pull complete [2022-09-15T22:15:35.903Z] 9712f1f96733: Pull complete [2022-09-15T22:15:36.836Z] 63f879dbbcfc: Pull complete [2022-09-15T22:15:41.026Z] 0d9ebad4ef96: Pull complete [2022-09-15T22:15:41.027Z] e9a5061849ea: Pull complete [2022-09-15T22:15:41.027Z] d747dcd14b5f: Pull complete [2022-09-15T22:15:41.962Z] 2de7ff778b66: Pull complete [2022-09-15T22:15:41.962Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-15T22:15:41.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:15:41.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:42.047Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:15:42.091Z] $ 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-15T22:15:44.069Z] $ docker top cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:15:44.133Z] provisioning config files... [2022-09-15T22:15:44.142Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config830845736769023806tmp [2022-09-15T22:15:44.152Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1094453396949161284tmp [2022-09-15T22:15:44.162Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7717125686324351447tmp [Pipeline] { [Pipeline] echo [2022-09-15T22:15:44.177Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:44.458Z] ---> sigul-configuration.sh [2022-09-15T22:15:44.458Z] gpg: directory `/root/.gnupg' created [2022-09-15T22:15:44.458Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-15T22:15:44.458Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-15T22:15:44.458Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-15T22:15:44.458Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-15T22:15:44.458Z] gpg: CAST5 encrypted data [2022-09-15T22:15:44.458Z] gpg: encrypted with 1 passphrase [2022-09-15T22:15:44.458Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-15T22:15:44.742Z] + mkdir /home/jenkins [2022-09-15T22:15:44.742Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-15T22:15:45.028Z] + 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-15T22:15:45.037Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:45.324Z] ---> sigul-install.sh [2022-09-15T22:15:45.324Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-15T22:15:45.614Z] + git tag --list [2022-09-15T22:15:45.614Z] 1.0.0 [2022-09-15T22:15:45.614Z] v0.0.0 [2022-09-15T22:15:45.614Z] v1.1.0 [2022-09-15T22:15:45.614Z] v1.1.1 [2022-09-15T22:15:45.614Z] v1.2.2 [2022-09-15T22:15:45.614Z] v1.3.0 [2022-09-15T22:15:45.614Z] v1.3.1 [2022-09-15T22:15:45.614Z] v2.0.0 [2022-09-15T22:15:45.614Z] v2.1.0 [2022-09-15T22:15:45.614Z] v2.1.1 [2022-09-15T22:15:45.614Z] v2.1.1-dev.2 [2022-09-15T22:15:45.614Z] v2.1.1-dev.3 [2022-09-15T22:15:45.614Z] v2.2.0 [2022-09-15T22:15:45.614Z] v2.2.1-dev.1 [2022-09-15T22:15:45.614Z] v2.2.1-dev.2 [2022-09-15T22:15:45.614Z] v2.2.1-dev.3 [2022-09-15T22:15:45.614Z] v2.2.1-dev.4 [2022-09-15T22:15:45.614Z] v2.2.1-dev.5 [2022-09-15T22:15:45.614Z] v2.2.1-dev.6 [2022-09-15T22:15:45.614Z] v2.2.1-dev.7 [2022-09-15T22:15:45.614Z] v2.3.0-dev.10 [2022-09-15T22:15:45.614Z] v2.3.0-dev.11 [2022-09-15T22:15:45.614Z] v2.3.0-dev.12 [2022-09-15T22:15:45.614Z] v2.3.0-dev.7 [2022-09-15T22:15:45.614Z] v2.3.0-dev.8 [2022-09-15T22:15:45.614Z] v2.3.0-dev.9 [Pipeline] sh [2022-09-15T22:15:45.903Z] + lftools sign git-tag v2.3.0-dev.12 [2022-09-15T22:15:46.471Z] Signing Git tag with Sigul... [2022-09-15T22:15:46.471Z] Signing v2.3.0-dev.12 [Pipeline] echo [2022-09-15T22:15:46.739Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:47.022Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-15T22:15:47.029Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-15T22:15:47.063Z] $ docker stop --time=1 cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 [2022-09-15T22:15:48.366Z] $ docker rm -f cbe565eeeffaa93fc353f2cf5bb77769b58080075d14f1b9251666ef664e0e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-15T22:15:48.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:15:48.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:49.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:15:49.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:49.148Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:15:49.190Z] $ 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-15T22:15:49.567Z] $ docker top 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:15:49.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:15:49.647Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:15:49.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:15:49.799Z] $ docker exec 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e ssh-agent [2022-09-15T22:15:49.909Z] SSH_AUTH_SOCK=/tmp/ssh-82UyRs2ifZXl/agent.35 [2022-09-15T22:15:49.909Z] SSH_AGENT_PID=42 [2022-09-15T22:15:49.915Z] Running ssh-add (command line suppressed) [2022-09-15T22:15:50.039Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3600628842698747471.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3600628842698747471.key) [2022-09-15T22:15:50.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:15:50.337Z] + git semver bump pre [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [bump_version] DEBUG bumped version:2.3.0-dev.13 [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,538 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,541 [execute] INFO git cat-file --batch-check [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,541 [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-15T22:15:50.596Z] 2022-09-15 22:15:50,547 [execute] INFO git cat-file --batch [2022-09-15T22:15:50.596Z] 2022-09-15 22:15:50,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T22:15:50.597Z] 2022-09-15 22:15:50,552 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:50.597Z] 2.3.0-dev.13 [Pipeline] } [2022-09-15T22:15:50.617Z] $ docker exec --env ******** --env ******** 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e ssh-agent -k [2022-09-15T22:15:50.718Z] unset SSH_AUTH_SOCK; [2022-09-15T22:15:50.718Z] unset SSH_AGENT_PID; [2022-09-15T22:15:50.718Z] echo Agent pid 42 killed; [2022-09-15T22:15:50.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:15:51.022Z] + git semver [Pipeline] } [2022-09-15T22:15:51.319Z] $ docker stop --time=1 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e [2022-09-15T22:15:52.656Z] $ docker rm -f 7a08f99de79d673057656e5b157ffff55606d9456b71529b49bfbf8d46f1569e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:15:53.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:15:53.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:53.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:15:53.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:53.426Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:15:53.486Z] $ 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-15T22:15:53.885Z] $ docker top 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:15:53.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:15:53.975Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:15:54.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:15:54.117Z] $ docker exec 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 ssh-agent [2022-09-15T22:15:54.241Z] SSH_AUTH_SOCK=/tmp/ssh-9oiCyMjV190e/agent.32 [2022-09-15T22:15:54.241Z] SSH_AGENT_PID=38 [2022-09-15T22:15:54.245Z] Running ssh-add (command line suppressed) [2022-09-15T22:15:54.379Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5841854787921986022.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5841854787921986022.key) [2022-09-15T22:15:54.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:15:54.678Z] + git semver push [2022-09-15T22:15:54.936Z] 2022-09-15 22:15:54,875 [run_push] DEBUG push [2022-09-15T22:15:54.936Z] 2022-09-15 22:15:54,875 [execute] INFO git cat-file --batch-check [2022-09-15T22:15:54.936Z] 2022-09-15 22:15:54,876 [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-15T22:15:54.937Z] 2022-09-15 22:15:54,879 [execute] INFO git rev-list 056e91bc6fca0917f5bce0bef772af86c31f5d81 -- [2022-09-15T22:15:54.937Z] 2022-09-15 22:15:54,879 [execute] DEBUG Popen(['git', 'rev-list', '056e91bc6fca0917f5bce0bef772af86c31f5d81', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:15:54.937Z] 2022-09-15 22:15:54,886 [execute] INFO git fetch -v origin [2022-09-15T22:15:54.937Z] 2022-09-15 22:15:54,886 [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-15T22:15:55.506Z] 2022-09-15 22:15:55,440 [run_push] DEBUG no remote changes detected [2022-09-15T22:15:55.506Z] 2022-09-15 22:15:55,441 [execute] INFO git push origin semver [2022-09-15T22:15:55.506Z] 2022-09-15 22:15:55,441 [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-15T22:15:56.446Z] 2022-09-15 22:15:56,198 [run_push] DEBUG push all version tags [2022-09-15T22:15:56.446Z] 2022-09-15 22:15:56,198 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-15T22:15:56.447Z] 2022-09-15 22:15:56,199 [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-15T22:15:57.017Z] 2022-09-15 22:15:56,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-09-15T22:15:57.017Z] 2.3.0-dev.13 [Pipeline] } [2022-09-15T22:15:57.039Z] $ docker exec --env ******** --env ******** 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 ssh-agent -k [2022-09-15T22:15:57.154Z] unset SSH_AUTH_SOCK; [2022-09-15T22:15:57.154Z] unset SSH_AGENT_PID; [2022-09-15T22:15:57.154Z] echo Agent pid 38 killed; [2022-09-15T22:15:57.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:15:57.465Z] + git semver [Pipeline] } [2022-09-15T22:15:57.750Z] $ docker stop --time=1 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 [2022-09-15T22:15:59.034Z] $ docker rm -f 7af43bd8b7c4eca4d8beb5a63a18a17c5fcd91f87e0c02465d95fcc65fb872b8 [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-15T22:15:59.584Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-09-15T22:15:59.584Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-15T22:15:59.584Z] total 16 [2022-09-15T22:15:59.584Z] drwxr-xr-x 3 root root 4096 Sep 15 22:06 . [2022-09-15T22:15:59.584Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:15 .. [2022-09-15T22:15:59.584Z] drwxr-xr-x 2 root root 4096 Sep 15 22:06 cost [2022-09-15T22:15:59.584Z] -rw-r--r-- 1 root root 85 Sep 15 22:06 cost.csv [2022-09-15T22:15:59.584Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-15T22:15:59.584Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-09-15T22:15:59.584Z] total 16 [2022-09-15T22:15:59.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:06 . [2022-09-15T22:15:59.584Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:15 .. [2022-09-15T22:15:59.584Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:06 cost [2022-09-15T22:15:59.584Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 15 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:59.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:00.741Z] ---> package-listing.sh [2022-09-15T22:16:00.741Z] ++ facter osfamily [2022-09-15T22:16:00.741Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-15T22:16:01.000Z] + OS_FAMILY=debian [2022-09-15T22:16:01.000Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-09-15T22:16:01.000Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-15T22:16:01.000Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-15T22:16:01.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-15T22:16:01.000Z] + PACKAGES=/tmp/packages_start.txt [2022-09-15T22:16:01.000Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-09-15T22:16:01.000Z] + PACKAGES=/tmp/packages_end.txt [2022-09-15T22:16:01.000Z] + case "${OS_FAMILY}" in [2022-09-15T22:16:01.000Z] + dpkg -l [2022-09-15T22:16:01.000Z] + grep '^ii' [2022-09-15T22:16:01.000Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-15T22:16:01.000Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-15T22:16:01.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-15T22:16:01.000Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-09-15T22:16:01.000Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-09-15T22:16:01.000Z] + 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-15T22:16:01.012Z] 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-15T22:16:01.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:16:01.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:16:01.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:16:01.931Z] prd-ubuntu20.04-docker-8c-8g-29315 does not seem to be running inside a container [2022-09-15T22:16:01.973Z] $ 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-15T22:16:02.211Z] $ docker top 8cc9a8162fb53147683e371050a085b9a734e09dd184509b8bf1be46a6aa299d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:16:02.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-15T22:16:02.839Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-15T22:16:03.126Z] + ls /var/log/sa-host [2022-09-15T22:16:03.126Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:16:03.198Z] provisioning config files... [2022-09-15T22:16:03.208Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5715715284499674782tmp [Pipeline] { [Pipeline] echo [2022-09-15T22:16:03.220Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:03.506Z] ---> create-netrc.sh [Pipeline] } [2022-09-15T22:16:03.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:03.838Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-15T22:16:03.846Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:04.132Z] ---> sudo-logs.sh [2022-09-15T22:16:04.132Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-15T22:16:04.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:04.443Z] ---> job-cost.sh [2022-09-15T22:16:04.443Z] lf-activate-venv: SKIPPING [2022-09-15T22:16:04.443Z] DEBUG: total: 0.2199999988079071 [2022-09-15T22:16:04.443Z] INFO: Retrieving Stack Cost... [2022-09-15T22:16:05.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T22:16:05.583Z] INFO: Archiving Costs [Pipeline] echo [2022-09-15T22:16:05.596Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:16:05.886Z] ---> logs-deploy.sh [2022-09-15T22:16:05.886Z] lf-activate-venv: SKIPPING [2022-09-15T22:16:05.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/43 [2022-09-15T22:16:05.886Z] INFO: archiving workspace using pattern(s): [2022-09-15T22:16:06.828Z] Archives upload complete. [2022-09-15T22:16:06.828Z] INFO: archiving logs to Nexus