Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82433e1744898ef8ca7a6a52854ffd2316e26b0f 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-ssh11301273829352149968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13399795552080723018.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12416364535647800706.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6486044196491235869.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-ssh14411436067620470490.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-9377 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 82433e1744898ef8ca7a6a52854ffd2316e26b0f (main) Commit message: "Merge pull request #256 from lenny-intel/topic-constants" > 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 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 > git rev-list --no-walk d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T03:24:14.707Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T03:24:14.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T03:24:14.769Z] ========================================================= [2023-03-09T03:24:14.769Z] EdgeX Global Pipelines Version Info [2023-03-09T03:24:14.769Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:24:15.491Z] ------------------- [2023-03-09T03:24:15.491Z] stable info: [2023-03-09T03:24:15.491Z] ------------------- [2023-03-09T03:24:15.491Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T03:24:15.491Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T03:24:15.491Z] Message: update stable to v1.0.244 [2023-03-09T03:24:16.062Z] ------------------- [2023-03-09T03:24:16.062Z] experimental info: [2023-03-09T03:24:16.062Z] ------------------- [2023-03-09T03:24:16.062Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T03:24:16.062Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T03:24:16.062Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T03:24:16.204Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-09T03:24:16.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-09T03:24:16.222Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T03:24:16.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T03:24:16.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T03:24:16.249Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T03:24:16.258Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T03:24:16.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T03:24:16.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T03:24:16.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T03:24:16.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T03:24:16.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-09T03:24:16.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T03:24:16.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T03:24:16.336Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T03:24:16.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T03:24:16.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T03:24:16.372Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T03:24:16.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T03:24:16.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T03:24:16.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T03:24:16.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T03:24:16.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T03:24:16.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T03:24:16.453Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T03:24:16.467Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T03:24:16.478Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T03:24:16.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-09T03:24:16.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-09T03:24:16.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-09T03:24:16.527Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] echo [2023-03-09T03:24:16.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82433e1 [Pipeline] echo [2023-03-09T03:24:16.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:24:16.595Z] provisioning config files... [2023-03-09T03:24:16.607Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4475378100388182059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:24:16.912Z] ---> docker-login.sh [2023-03-09T03:24:16.912Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:24:17.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:17.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:17.172Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:17.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:17.172Z] [2023-03-09T03:24:17.172Z] Login Succeeded [2023-03-09T03:24:17.172Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:24:17.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:17.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:17.431Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:17.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:17.431Z] [2023-03-09T03:24:17.431Z] Login Succeeded [2023-03-09T03:24:17.431Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:24:17.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:17.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:17.431Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:17.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:17.431Z] [2023-03-09T03:24:17.431Z] Login Succeeded [2023-03-09T03:24:17.431Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:24:17.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:17.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:17.692Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:17.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:17.692Z] [2023-03-09T03:24:17.692Z] Login Succeeded [2023-03-09T03:24:17.692Z] docker.io [2023-03-09T03:24:17.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:17.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:17.954Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:17.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:17.954Z] [2023-03-09T03:24:17.954Z] Login Succeeded [2023-03-09T03:24:17.954Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:24:17.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T03:24:18.319Z] + git rev-list -1 --merges 82433e1744898ef8ca7a6a52854ffd2316e26b0f~1..82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] echo [2023-03-09T03:24:18.363Z] -----------> git rev-list -1 --merges 82433e1744898ef8ca7a6a52854ffd2316e26b0f~1..82433e1744898ef8ca7a6a52854ffd2316e26b0f 82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:24:18.363Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f [false] [Pipeline] sh [2023-03-09T03:24:18.650Z] + git log --format=format:%s -1 82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] echo [2023-03-09T03:24:18.665Z] ========================================================= [2023-03-09T03:24:18.665Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T03:24:18.665Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:24:19.005Z] + git log --format=format:%s -1 82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] echo [2023-03-09T03:24:19.032Z] [semverPrep] GIT_COMMIT: 82433e1744898ef8ca7a6a52854ffd2316e26b0f, Commit Message: Merge pull request #256 from lenny-intel/topic-constants [Pipeline] echo [2023-03-09T03:24:19.040Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T03:24:19.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T03:24:19.400Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T03:24:19.400Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T03:24:19.400Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T03:24:19.400Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T03:24:19.400Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T03:24:19.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:24:19.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:24:19.795Z] [2023-03-09T03:24:19.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:24:20.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:24:20.092Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T03:24:20.092Z] b85a868b505f: Pulling fs layer [2023-03-09T03:24:20.092Z] e2be974225ed: Pulling fs layer [2023-03-09T03:24:20.092Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T03:24:20.092Z] 988bab9f4d93: Pulling fs layer [2023-03-09T03:24:20.092Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T03:24:20.092Z] eaf3925da568: Pulling fs layer [2023-03-09T03:24:20.092Z] bab4dde63d76: Pulling fs layer [2023-03-09T03:24:20.092Z] bde34c3a00c8: Pulling fs layer [2023-03-09T03:24:20.092Z] b352a97aabf1: Pulling fs layer [2023-03-09T03:24:20.092Z] 4872d77fe225: Pulling fs layer [2023-03-09T03:24:20.092Z] 5851b861e8e6: Pulling fs layer [2023-03-09T03:24:20.092Z] 988bab9f4d93: Waiting [2023-03-09T03:24:20.092Z] eaf3925da568: Waiting [2023-03-09T03:24:20.092Z] 1469e6f7b9e6: Waiting [2023-03-09T03:24:20.092Z] 4872d77fe225: Waiting [2023-03-09T03:24:20.092Z] bab4dde63d76: Waiting [2023-03-09T03:24:20.092Z] bde34c3a00c8: Waiting [2023-03-09T03:24:20.092Z] b352a97aabf1: Waiting [2023-03-09T03:24:20.092Z] e2be974225ed: Download complete [2023-03-09T03:24:20.092Z] 988bab9f4d93: Verifying Checksum [2023-03-09T03:24:20.092Z] 988bab9f4d93: Download complete [2023-03-09T03:24:20.352Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T03:24:20.352Z] 1469e6f7b9e6: Download complete [2023-03-09T03:24:20.352Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T03:24:20.352Z] 339a4e72a1f5: Download complete [2023-03-09T03:24:20.352Z] eaf3925da568: Download complete [2023-03-09T03:24:20.352Z] bde34c3a00c8: Verifying Checksum [2023-03-09T03:24:20.352Z] bde34c3a00c8: Download complete [2023-03-09T03:24:20.352Z] b352a97aabf1: Verifying Checksum [2023-03-09T03:24:20.352Z] b352a97aabf1: Download complete [2023-03-09T03:24:20.352Z] 4872d77fe225: Download complete [2023-03-09T03:24:20.352Z] 5851b861e8e6: Download complete [2023-03-09T03:24:20.352Z] b85a868b505f: Verifying Checksum [2023-03-09T03:24:20.352Z] b85a868b505f: Download complete [2023-03-09T03:24:20.611Z] bab4dde63d76: Verifying Checksum [2023-03-09T03:24:20.611Z] bab4dde63d76: Download complete [2023-03-09T03:24:21.551Z] b85a868b505f: Pull complete [2023-03-09T03:24:22.120Z] e2be974225ed: Pull complete [2023-03-09T03:24:22.379Z] 339a4e72a1f5: Pull complete [2023-03-09T03:24:22.638Z] 988bab9f4d93: Pull complete [2023-03-09T03:24:22.896Z] 1469e6f7b9e6: Pull complete [2023-03-09T03:24:22.896Z] eaf3925da568: Pull complete [2023-03-09T03:24:24.795Z] bab4dde63d76: Pull complete [2023-03-09T03:24:24.795Z] bde34c3a00c8: Pull complete [2023-03-09T03:24:24.795Z] b352a97aabf1: Pull complete [2023-03-09T03:24:25.054Z] 4872d77fe225: Pull complete [2023-03-09T03:24:25.054Z] 5851b861e8e6: Pull complete [2023-03-09T03:24:25.054Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T03:24:25.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:24:25.054Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:24:25.146Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:24:25.184Z] $ 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 [2023-03-09T03:24:26.701Z] $ docker top 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff -eo pid,comm [2023-03-09T03:24:26.756Z] 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). [2023-03-09T03:24:26.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T03:24:26.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:24:26.790Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:24:26.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:24:26.907Z] $ docker exec 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff ssh-agent [2023-03-09T03:24:27.012Z] SSH_AUTH_SOCK=/tmp/ssh-NlnRWGSQenr4/agent.32 [2023-03-09T03:24:27.012Z] SSH_AGENT_PID=38 [2023-03-09T03:24:27.018Z] Running ssh-add (command line suppressed) [2023-03-09T03:24:27.120Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12824397551922569374.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12824397551922569374.key) [2023-03-09T03:24:27.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:24:27.416Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T03:24:27.436Z] $ docker exec --env ******** --env ******** 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff ssh-agent -k [2023-03-09T03:24:27.539Z] unset SSH_AUTH_SOCK; [2023-03-09T03:24:27.541Z] unset SSH_AGENT_PID; [2023-03-09T03:24:27.541Z] echo Agent pid 38 killed; [2023-03-09T03:24:27.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T03:24:27.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:24:27.564Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:24:27.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:24:27.679Z] $ docker exec 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff ssh-agent [2023-03-09T03:24:27.782Z] SSH_AUTH_SOCK=/tmp/ssh-U0D3mLLoZQU8/agent.70 [2023-03-09T03:24:27.782Z] SSH_AGENT_PID=76 [2023-03-09T03:24:27.787Z] Running ssh-add (command line suppressed) [2023-03-09T03:24:27.897Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13894015299257843372.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13894015299257843372.key) [2023-03-09T03:24:27.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:24:28.194Z] + git semver init [2023-03-09T03:24:28.455Z] 2023-03-09 03:24:28,375 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T03:24:28.455Z] 2023-03-09 03:24:28,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-09T03:24:28.455Z] 2023-03-09 03:24:28,376 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-09T03:24:28.455Z] 2023-03-09 03:24:28,376 [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) [2023-03-09T03:24:29.393Z] 2023-03-09 03:24:29,164 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-03-09T03:24:29.393Z] 2023-03-09 03:24:29,165 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-03-09T03:24:29.393Z] 2023-03-09 03:24:29,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:24:29.393Z] 2023-03-09 03:24:29,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:24:29.393Z] 3.0.0-dev.7 [Pipeline] } [2023-03-09T03:24:29.409Z] $ docker exec --env ******** --env ******** 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff ssh-agent -k [2023-03-09T03:24:29.521Z] unset SSH_AUTH_SOCK; [2023-03-09T03:24:29.522Z] unset SSH_AGENT_PID; [2023-03-09T03:24:29.522Z] echo Agent pid 76 killed; [2023-03-09T03:24:29.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T03:24:29.839Z] + git semver [Pipeline] } [2023-03-09T03:24:30.116Z] $ docker stop --time=1 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff [2023-03-09T03:24:31.487Z] $ docker rm -f --volumes 268e1c35c8dcc5d122960d3033561b024cd91f07153972da4e5a10dba41aa2ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:24:31.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T03:24:32.051Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T03:24:32.054Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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 [2023-03-09T03:24:32.159Z] provisioning config files... [2023-03-09T03:24:32.171Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5331100333779039799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:24:32.467Z] ---> docker-login.sh [2023-03-09T03:24:32.467Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:24:32.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:32.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:32.467Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:32.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:32.467Z] [2023-03-09T03:24:32.467Z] Login Succeeded [2023-03-09T03:24:32.467Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:24:32.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:32.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:32.467Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:32.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:32.467Z] [2023-03-09T03:24:32.467Z] Login Succeeded [2023-03-09T03:24:32.467Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:24:32.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:32.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:32.726Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:32.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:32.726Z] [2023-03-09T03:24:32.726Z] Login Succeeded [2023-03-09T03:24:32.726Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:24:32.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:32.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:32.726Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:32.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:32.726Z] [2023-03-09T03:24:32.726Z] Login Succeeded [2023-03-09T03:24:32.726Z] docker.io [2023-03-09T03:24:32.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:24:32.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:24:32.986Z] Configure a credential helper to remove this warning. See [2023-03-09T03:24:32.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:24:32.986Z] [2023-03-09T03:24:32.986Z] Login Succeeded [2023-03-09T03:24:32.986Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:24:32.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T03:24:33.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:24:33.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:24:33.069Z] ========================================================= [2023-03-09T03:24:33.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T03:24:33.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:24:33.386Z] + 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 . [2023-03-09T03:24:33.386Z] Sending build context to Docker daemon 5.701MB [2023-03-09T03:24:33.386Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:24:33.386Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T03:24:33.386Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T03:24:33.386Z] 213ec9aee27d: Pulling fs layer [2023-03-09T03:24:33.386Z] 4583459ba037: Pulling fs layer [2023-03-09T03:24:33.386Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T03:24:33.386Z] 53926ce57604: Pulling fs layer [2023-03-09T03:24:33.386Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T03:24:33.386Z] 22ff95d597cd: Pulling fs layer [2023-03-09T03:24:33.386Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T03:24:33.386Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T03:24:33.386Z] a7acece74701: Pulling fs layer [2023-03-09T03:24:33.386Z] 21b2b0c7a3f4: Waiting [2023-03-09T03:24:33.386Z] 22ff95d597cd: Waiting [2023-03-09T03:24:33.386Z] 12d6caf4c0d1: Waiting [2023-03-09T03:24:33.386Z] 96b7cbca73a9: Waiting [2023-03-09T03:24:33.386Z] a7acece74701: Waiting [2023-03-09T03:24:33.386Z] 53926ce57604: Waiting [2023-03-09T03:24:33.386Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T03:24:33.386Z] 93c1e223e6f2: Download complete [2023-03-09T03:24:33.386Z] 4583459ba037: Verifying Checksum [2023-03-09T03:24:33.386Z] 4583459ba037: Download complete [2023-03-09T03:24:33.652Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T03:24:33.652Z] 21b2b0c7a3f4: Download complete [2023-03-09T03:24:33.652Z] 22ff95d597cd: Verifying Checksum [2023-03-09T03:24:33.652Z] 22ff95d597cd: Download complete [2023-03-09T03:24:33.652Z] 213ec9aee27d: Verifying Checksum [2023-03-09T03:24:33.652Z] 213ec9aee27d: Download complete [2023-03-09T03:24:33.652Z] 12d6caf4c0d1: Download complete [2023-03-09T03:24:33.652Z] 213ec9aee27d: Pull complete [2023-03-09T03:24:33.914Z] 4583459ba037: Pull complete [2023-03-09T03:24:33.914Z] 93c1e223e6f2: Pull complete [2023-03-09T03:24:34.175Z] a7acece74701: Verifying Checksum [2023-03-09T03:24:34.175Z] a7acece74701: Download complete [2023-03-09T03:24:34.433Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T03:24:34.433Z] 96b7cbca73a9: Download complete [2023-03-09T03:24:34.433Z] 53926ce57604: Verifying Checksum [2023-03-09T03:24:34.433Z] 53926ce57604: Download complete [2023-03-09T03:24:38.621Z] 53926ce57604: Pull complete [2023-03-09T03:24:38.621Z] 21b2b0c7a3f4: Pull complete [2023-03-09T03:24:38.621Z] 22ff95d597cd: Pull complete [2023-03-09T03:24:38.621Z] 12d6caf4c0d1: Pull complete [2023-03-09T03:24:40.523Z] 96b7cbca73a9: Pull complete [2023-03-09T03:24:41.457Z] a7acece74701: Pull complete [2023-03-09T03:24:41.457Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T03:24:41.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T03:24:41.457Z] ---> db6d94c90886 [2023-03-09T03:24:41.457Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T03:24:43.992Z] ---> Running in 91c58adae407 [2023-03-09T03:24:43.992Z] Removing intermediate container 91c58adae407 [2023-03-09T03:24:43.992Z] ---> 14d4364b4455 [2023-03-09T03:24:43.992Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T03:24:43.992Z] ---> Running in 8c94fa9e8476 [2023-03-09T03:24:43.992Z] Removing intermediate container 8c94fa9e8476 [2023-03-09T03:24:43.992Z] ---> 7e6b6da22e59 [2023-03-09T03:24:43.992Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T03:24:43.992Z] ---> Running in 09a97fd62239 [2023-03-09T03:24:43.992Z] Removing intermediate container 09a97fd62239 [2023-03-09T03:24:43.992Z] ---> 71497a8b88f4 [2023-03-09T03:24:43.992Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T03:24:43.992Z] ---> Running in f6f68fe84fd6 [2023-03-09T03:24:43.992Z] Removing intermediate container f6f68fe84fd6 [2023-03-09T03:24:43.992Z] ---> 7809d5fafe09 [2023-03-09T03:24:43.992Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T03:24:43.992Z] ---> Running in 84a82ff12eba [2023-03-09T03:24:44.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:24:44.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:24:44.816Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T03:24:44.816Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T03:24:44.816Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T03:24:44.816Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T03:24:44.816Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T03:24:44.816Z] OK: 216 MiB in 55 packages [2023-03-09T03:24:45.383Z] Removing intermediate container 84a82ff12eba [2023-03-09T03:24:45.383Z] ---> fd0fce76399f [2023-03-09T03:24:45.383Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T03:24:45.383Z] ---> Running in 78713144f295 [2023-03-09T03:24:45.383Z] Removing intermediate container 78713144f295 [2023-03-09T03:24:45.383Z] ---> 54705a04245e [2023-03-09T03:24:45.383Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T03:24:45.640Z] ---> 743adb661796 [2023-03-09T03:24:45.640Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:24:45.640Z] ---> Running in f4dfbd29fc1c [2023-03-09T03:24:47.130Z] Still waiting to schedule task [2023-03-09T03:24:47.130Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T03:25:12.192Z] Removing intermediate container f4dfbd29fc1c [2023-03-09T03:25:12.192Z] ---> 0b92d0a6bf20 [2023-03-09T03:25:12.192Z] Step 11/12 : COPY . . [2023-03-09T03:25:12.192Z] ---> 9ec57e28aabb [2023-03-09T03:25:12.192Z] Step 12/12 : RUN ${MAKE} [2023-03-09T03:25:12.192Z] ---> Running in 2d155eca7491 [2023-03-09T03:25:12.192Z] noop [2023-03-09T03:25:12.192Z] Removing intermediate container 2d155eca7491 [2023-03-09T03:25:12.192Z] ---> ccf60884a78c [2023-03-09T03:25:12.192Z] Successfully built ccf60884a78c [2023-03-09T03:25:12.192Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:25:12.494Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T03:25:12.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:25:12.553Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:25:12.582Z] $ 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 [2023-03-09T03:25:12.928Z] $ docker top 1eeefec54d0329e6f74bc105a75c7d09c73bb4dd7fd7ae660426374644cb38cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:25:13.260Z] + go version [2023-03-09T03:25:13.260Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T03:25:13.274Z] $ docker stop --time=1 1eeefec54d0329e6f74bc105a75c7d09c73bb4dd7fd7ae660426374644cb38cb [2023-03-09T03:25:14.582Z] $ docker rm -f --volumes 1eeefec54d0329e6f74bc105a75c7d09c73bb4dd7fd7ae660426374644cb38cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:25:15.014Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T03:25:15.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:25:15.080Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:25:15.109Z] $ 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 [2023-03-09T03:25:15.439Z] $ docker top 0ebcbe827f33f87693ad26028b24d1f59e82140d526011bd3490cd0f531351cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:25:15.781Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-09T03:25:16.078Z] + make test [2023-03-09T03:25:16.078Z] go test ./... -coverprofile=coverage.out [2023-03-09T03:25:16.336Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T03:25:26.299Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-09T03:25:26.300Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-03-09T03:25:32.847Z] 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." [2023-03-09T03:25:32.847Z] go vet ./... [2023-03-09T03:25:35.374Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T03:25:35.374Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T03:25:35.374Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T03:25:35.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T03:25:35.404Z] $ docker stop --time=1 0ebcbe827f33f87693ad26028b24d1f59e82140d526011bd3490cd0f531351cf [2023-03-09T03:25:37.215Z] $ docker rm -f --volumes 0ebcbe827f33f87693ad26028b24d1f59e82140d526011bd3490cd0f531351cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:25:37.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T03:25:37.717Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T03:25:38.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T03:25:38.620Z] + ls -al . [2023-03-09T03:25:38.620Z] total 172 [2023-03-09T03:25:38.620Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 03:25 . [2023-03-09T03:25:38.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:24 .. [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 03:24 .dockerignore [2023-03-09T03:25:38.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:25 .git [2023-03-09T03:25:38.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:24 .github [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 03:24 .gitignore [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 03:24 .golangci.yml [2023-03-09T03:25:38.620Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:24 .semver [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 9 03:24 Attribution.txt [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 03:24 CHANGELOG.md [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 03:24 Dockerfile [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:24 GOVERNANCE.md [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 03:24 Jenkinsfile [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 03:24 LICENSE [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 03:24 Makefile [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 03:24 OWNERS.md [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 03:24 README.md [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 03:24 VERSION [2023-03-09T03:25:38.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:24 bin [2023-03-09T03:25:38.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:24 cmd [2023-03-09T03:25:38.620Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 03:25 coverage.out [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 03:24 go.mod [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 03:24 go.sum [2023-03-09T03:25:38.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:24 internal [2023-03-09T03:25:38.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:24 snap [2023-03-09T03:25:38.620Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:25:38.922Z] + 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=82433e1744898ef8ca7a6a52854ffd2316e26b0f --label arch=amd64 --label version=3.0.0-dev.7 . [2023-03-09T03:25:38.922Z] Sending build context to Docker daemon 5.709MB [2023-03-09T03:25:38.922Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:25:38.922Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T03:25:38.922Z] ---> ccf60884a78c [2023-03-09T03:25:38.922Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T03:25:39.185Z] ---> Running in 5a96ca851f9a [2023-03-09T03:25:39.185Z] Removing intermediate container 5a96ca851f9a [2023-03-09T03:25:39.185Z] ---> 253d2ad5cbd4 [2023-03-09T03:25:39.185Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T03:25:39.455Z] ---> Running in b9d9f281ea4d [2023-03-09T03:25:39.455Z] Removing intermediate container b9d9f281ea4d [2023-03-09T03:25:39.455Z] ---> 2235ebb1078a [2023-03-09T03:25:39.455Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T03:25:39.713Z] ---> Running in 5279370bd5af [2023-03-09T03:25:39.713Z] Removing intermediate container 5279370bd5af [2023-03-09T03:25:39.713Z] ---> d353f41af6b0 [2023-03-09T03:25:39.713Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T03:25:39.713Z] ---> Running in f91411a6c8f9 [2023-03-09T03:25:39.971Z] Removing intermediate container f91411a6c8f9 [2023-03-09T03:25:39.971Z] ---> 73913edc4587 [2023-03-09T03:25:39.971Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T03:25:39.971Z] ---> Running in 434dc3544a21 [2023-03-09T03:25:40.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:25:40.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:25:40.754Z] OK: 216 MiB in 55 packages [2023-03-09T03:25:41.012Z] Removing intermediate container 434dc3544a21 [2023-03-09T03:25:41.012Z] ---> dbee4f99da54 [2023-03-09T03:25:41.012Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-09T03:25:41.012Z] ---> Running in 12251a76ec26 [2023-03-09T03:25:41.012Z] Removing intermediate container 12251a76ec26 [2023-03-09T03:25:41.012Z] ---> cd36c6853ff1 [2023-03-09T03:25:41.012Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T03:25:41.270Z] ---> a05d61112932 [2023-03-09T03:25:41.270Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:25:41.270Z] ---> Running in 66528ede76dd [2023-03-09T03:25:42.204Z] Removing intermediate container 66528ede76dd [2023-03-09T03:25:42.204Z] ---> fd9e3d60c0af [2023-03-09T03:25:42.204Z] Step 11/24 : COPY . . [2023-03-09T03:25:42.463Z] ---> 60bfdd47a622 [2023-03-09T03:25:42.463Z] Step 12/24 : RUN ${MAKE} [2023-03-09T03:25:42.463Z] ---> Running in de70f1453acd [2023-03-09T03:25:42.721Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-09T03:26:04.659Z] Removing intermediate container de70f1453acd [2023-03-09T03:26:04.659Z] ---> 13f26050603a [2023-03-09T03:26:04.659Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T03:26:04.659Z] 3.16: Pulling from library/alpine [2023-03-09T03:26:04.659Z] ef5531b6e74e: Pulling fs layer [2023-03-09T03:26:04.659Z] ef5531b6e74e: Download complete [2023-03-09T03:26:04.659Z] ef5531b6e74e: Pull complete [2023-03-09T03:26:04.659Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T03:26:04.659Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T03:26:04.659Z] ---> dfd21b5a31f5 [2023-03-09T03:26:04.659Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T03:26:04.659Z] ---> Running in 7b4c1dcd2ebd [2023-03-09T03:26:04.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:26:04.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:26:04.659Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T03:26:04.659Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T03:26:04.659Z] OK: 6 MiB in 15 packages [2023-03-09T03:26:04.659Z] Removing intermediate container 7b4c1dcd2ebd [2023-03-09T03:26:04.659Z] ---> ebb27a712ac3 [2023-03-09T03:26:04.659Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-09T03:26:04.659Z] ---> b0a73e06ee91 [2023-03-09T03:26:04.659Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-09T03:26:04.659Z] ---> b642d500c4df [2023-03-09T03:26:04.659Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-09T03:26:04.659Z] ---> 248a07a87912 [2023-03-09T03:26:04.659Z] Step 18/24 : EXPOSE 59993 [2023-03-09T03:26:04.659Z] ---> Running in 4bb9ffb8ff84 [2023-03-09T03:26:04.659Z] Removing intermediate container 4bb9ffb8ff84 [2023-03-09T03:26:04.659Z] ---> 6da2acf8e241 [2023-03-09T03:26:04.659Z] Step 19/24 : EXPOSE 161 [2023-03-09T03:26:04.659Z] ---> Running in 504374a0f505 [2023-03-09T03:26:04.659Z] Removing intermediate container 504374a0f505 [2023-03-09T03:26:04.659Z] ---> 2fde90bbfa84 [2023-03-09T03:26:04.659Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-09T03:26:04.659Z] ---> Running in 366b679d7047 [2023-03-09T03:26:04.659Z] Removing intermediate container 366b679d7047 [2023-03-09T03:26:04.659Z] ---> 8a37310eb5b8 [2023-03-09T03:26:04.659Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T03:26:04.918Z] ---> Running in 91fd4ac4e845 [2023-03-09T03:26:04.918Z] Removing intermediate container 91fd4ac4e845 [2023-03-09T03:26:04.918Z] ---> 992aaf6f8beb [2023-03-09T03:26:04.918Z] Step 22/24 : LABEL arch=amd64 [2023-03-09T03:26:04.918Z] ---> Running in c51fef4908aa [2023-03-09T03:26:04.918Z] Removing intermediate container c51fef4908aa [2023-03-09T03:26:04.918Z] ---> 9053096420a1 [2023-03-09T03:26:04.918Z] Step 23/24 : LABEL git_sha=82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:26:05.178Z] ---> Running in 2ffc094ec08e [2023-03-09T03:26:05.178Z] Removing intermediate container 2ffc094ec08e [2023-03-09T03:26:05.178Z] ---> 42f041963676 [2023-03-09T03:26:05.178Z] Step 24/24 : LABEL version=3.0.0-dev.7 [2023-03-09T03:26:05.178Z] ---> Running in d4d98b3f8a19 [2023-03-09T03:26:05.437Z] Removing intermediate container d4d98b3f8a19 [2023-03-09T03:26:05.437Z] ---> 12d4e88984a3 [2023-03-09T03:26:05.437Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T03:26:05.437Z] Successfully built 12d4e88984a3 [2023-03-09T03:26:05.437Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:26:05.521Z] provisioning config files... [2023-03-09T03:26:05.533Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15986085615042480153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:26:05.962Z] ---> docker-login.sh [2023-03-09T03:26:05.963Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:26:05.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:26:05.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:26:05.963Z] Configure a credential helper to remove this warning. See [2023-03-09T03:26:05.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:26:05.963Z] [2023-03-09T03:26:05.963Z] Login Succeeded [2023-03-09T03:26:05.963Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:26:05.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:26:05.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:26:05.963Z] Configure a credential helper to remove this warning. See [2023-03-09T03:26:05.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:26:05.963Z] [2023-03-09T03:26:05.963Z] Login Succeeded [2023-03-09T03:26:05.963Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:26:06.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:26:06.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:26:06.241Z] Configure a credential helper to remove this warning. See [2023-03-09T03:26:06.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:26:06.241Z] [2023-03-09T03:26:06.241Z] Login Succeeded [2023-03-09T03:26:06.241Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:26:06.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:26:06.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:26:06.241Z] Configure a credential helper to remove this warning. See [2023-03-09T03:26:06.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:26:06.241Z] [2023-03-09T03:26:06.241Z] Login Succeeded [2023-03-09T03:26:06.241Z] docker.io [2023-03-09T03:26:06.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:26:06.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:26:06.523Z] Configure a credential helper to remove this warning. See [2023-03-09T03:26:06.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:26:06.523Z] [2023-03-09T03:26:06.523Z] Login Succeeded [2023-03-09T03:26:06.523Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:26:06.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T03:26:06.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:26:06.589Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-03-09T03:26:06.589Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:26:06.589Z] latest [2023-03-09T03:26:06.589Z] 3.0.0-dev.7 [2023-03-09T03:26:06.589Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:26:06.589Z] main [2023-03-09T03:26:06.589Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:06.917Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:07.222Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:26:07.222Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T03:26:07.222Z] be4465cd6803: Preparing [2023-03-09T03:26:07.222Z] 5b7a8c7fd748: Preparing [2023-03-09T03:26:07.222Z] d17819cca47c: Preparing [2023-03-09T03:26:07.222Z] b916f4daa961: Preparing [2023-03-09T03:26:07.222Z] aa5968d388b8: Preparing [2023-03-09T03:26:07.222Z] aa5968d388b8: Layer already exists [2023-03-09T03:26:07.222Z] b916f4daa961: Pushed [2023-03-09T03:26:07.222Z] 5b7a8c7fd748: Pushed [2023-03-09T03:26:07.222Z] be4465cd6803: Pushed [2023-03-09T03:26:09.759Z] d17819cca47c: Pushed [2023-03-09T03:26:10.018Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f: digest: sha256:f95ef7245b764adc99267dd2e64edda4942c0accaf5ed57a9b096686a5b157f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:10.337Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:10.645Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-09T03:26:10.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T03:26:10.645Z] be4465cd6803: Preparing [2023-03-09T03:26:10.645Z] 5b7a8c7fd748: Preparing [2023-03-09T03:26:10.645Z] d17819cca47c: Preparing [2023-03-09T03:26:10.645Z] b916f4daa961: Preparing [2023-03-09T03:26:10.645Z] aa5968d388b8: Preparing [2023-03-09T03:26:10.645Z] d17819cca47c: Layer already exists [2023-03-09T03:26:10.645Z] b916f4daa961: Layer already exists [2023-03-09T03:26:10.645Z] aa5968d388b8: Layer already exists [2023-03-09T03:26:10.645Z] be4465cd6803: Layer already exists [2023-03-09T03:26:10.645Z] 5b7a8c7fd748: Layer already exists [2023-03-09T03:26:10.645Z] latest: digest: sha256:f95ef7245b764adc99267dd2e64edda4942c0accaf5ed57a9b096686a5b157f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:10.950Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:11.263Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.7 [2023-03-09T03:26:11.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T03:26:11.263Z] be4465cd6803: Preparing [2023-03-09T03:26:11.263Z] 5b7a8c7fd748: Preparing [2023-03-09T03:26:11.263Z] d17819cca47c: Preparing [2023-03-09T03:26:11.263Z] b916f4daa961: Preparing [2023-03-09T03:26:11.263Z] aa5968d388b8: Preparing [2023-03-09T03:26:11.263Z] d17819cca47c: Layer already exists [2023-03-09T03:26:11.263Z] b916f4daa961: Layer already exists [2023-03-09T03:26:11.263Z] 5b7a8c7fd748: Layer already exists [2023-03-09T03:26:11.263Z] aa5968d388b8: Layer already exists [2023-03-09T03:26:11.263Z] be4465cd6803: Layer already exists [2023-03-09T03:26:11.263Z] 3.0.0-dev.7: digest: sha256:f95ef7245b764adc99267dd2e64edda4942c0accaf5ed57a9b096686a5b157f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:11.580Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:11.892Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:26:11.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T03:26:11.892Z] be4465cd6803: Preparing [2023-03-09T03:26:11.892Z] 5b7a8c7fd748: Preparing [2023-03-09T03:26:11.892Z] d17819cca47c: Preparing [2023-03-09T03:26:11.892Z] b916f4daa961: Preparing [2023-03-09T03:26:11.892Z] aa5968d388b8: Preparing [2023-03-09T03:26:11.892Z] b916f4daa961: Layer already exists [2023-03-09T03:26:11.892Z] aa5968d388b8: Layer already exists [2023-03-09T03:26:11.892Z] be4465cd6803: Layer already exists [2023-03-09T03:26:11.892Z] 5b7a8c7fd748: Layer already exists [2023-03-09T03:26:11.892Z] d17819cca47c: Layer already exists [2023-03-09T03:26:11.892Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7: digest: sha256:f95ef7245b764adc99267dd2e64edda4942c0accaf5ed57a9b096686a5b157f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:12.201Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:12.503Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-03-09T03:26:12.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T03:26:12.503Z] be4465cd6803: Preparing [2023-03-09T03:26:12.503Z] 5b7a8c7fd748: Preparing [2023-03-09T03:26:12.503Z] d17819cca47c: Preparing [2023-03-09T03:26:12.503Z] b916f4daa961: Preparing [2023-03-09T03:26:12.503Z] aa5968d388b8: Preparing [2023-03-09T03:26:12.503Z] be4465cd6803: Layer already exists [2023-03-09T03:26:12.503Z] d17819cca47c: Layer already exists [2023-03-09T03:26:12.503Z] b916f4daa961: Layer already exists [2023-03-09T03:26:12.503Z] 5b7a8c7fd748: Layer already exists [2023-03-09T03:26:12.503Z] aa5968d388b8: Layer already exists [2023-03-09T03:26:12.503Z] main: digest: sha256:f95ef7245b764adc99267dd2e64edda4942c0accaf5ed57a9b096686a5b157f1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T03:26:12.540Z] ===================================================== [Pipeline] echo [2023-03-09T03:26:12.554Z] taggedImages: [2023-03-09T03:26:12.554Z] - nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:26:12.554Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-09T03:26:12.554Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.7 [2023-03-09T03:26:12.554Z] - nexus3.edgexfoundry.org:10004/device-snmp:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:26:12.554Z] - 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 [2023-03-09T03:26:12.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:26:12.918Z] [2023-03-09T03:26:12.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:26:13.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:26:13.222Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T03:26:13.222Z] 5eb5b503b376: Pulling fs layer [2023-03-09T03:26:13.222Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T03:26:13.222Z] ec43610c2a17: Pulling fs layer [2023-03-09T03:26:13.222Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T03:26:13.222Z] 33b1e0a273af: Pulling fs layer [2023-03-09T03:26:13.222Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T03:26:13.222Z] 2f39f015ded8: Pulling fs layer [2023-03-09T03:26:13.222Z] 33b1e0a273af: Waiting [2023-03-09T03:26:13.222Z] 5d3b04190fa2: Waiting [2023-03-09T03:26:13.222Z] 2f39f015ded8: Waiting [2023-03-09T03:26:13.222Z] 3a2ae6a8a46f: Waiting [2023-03-09T03:26:13.222Z] 5c69ac0246d0: Download complete [2023-03-09T03:26:13.222Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T03:26:13.222Z] 3a2ae6a8a46f: Download complete [2023-03-09T03:26:13.481Z] 33b1e0a273af: Verifying Checksum [2023-03-09T03:26:13.481Z] 33b1e0a273af: Download complete [2023-03-09T03:26:13.481Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T03:26:13.481Z] 5d3b04190fa2: Download complete [2023-03-09T03:26:13.481Z] ec43610c2a17: Verifying Checksum [2023-03-09T03:26:13.481Z] ec43610c2a17: Download complete [2023-03-09T03:26:13.481Z] 5eb5b503b376: Verifying Checksum [2023-03-09T03:26:13.481Z] 5eb5b503b376: Download complete [2023-03-09T03:26:14.050Z] 2f39f015ded8: Download complete [2023-03-09T03:26:14.985Z] 5eb5b503b376: Pull complete [2023-03-09T03:26:14.985Z] 5c69ac0246d0: Pull complete [2023-03-09T03:26:15.553Z] ec43610c2a17: Pull complete [2023-03-09T03:26:15.553Z] 3a2ae6a8a46f: Pull complete [2023-03-09T03:26:15.553Z] 33b1e0a273af: Pull complete [2023-03-09T03:26:15.813Z] 5d3b04190fa2: Pull complete [2023-03-09T03:26:20.008Z] 2f39f015ded8: Pull complete [2023-03-09T03:26:20.008Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T03:26:20.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:26:20.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:26:20.102Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:26:20.138Z] $ 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 [2023-03-09T03:26:22.058Z] $ docker top 0d3e35cdfc35b1fba0d781935d305700b4bb1e8eacbd15b8977c8c7cb4e9bd1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:26:22.434Z] ---> job-cost.sh [2023-03-09T03:26:22.434Z] lf-activate-venv: SKIPPING [2023-03-09T03:26:22.434Z] INFO: No Stack... [2023-03-09T03:26:23.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T03:26:23.259Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T03:26:23.545Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-03-09T03:26:23.545Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T03:26:23.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [2023-03-09T03:26:23.568Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] did not exist. Created. [2023-03-09T03:26:23.568Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T03:26:23.870Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T03:26:23.903Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T03:26:23.909Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T03:26:23.925Z] $ docker stop --time=1 0d3e35cdfc35b1fba0d781935d305700b4bb1e8eacbd15b8977c8c7cb4e9bd1c [2023-03-09T03:26:25.112Z] $ docker rm -f --volumes 0d3e35cdfc35b1fba0d781935d305700b4bb1e8eacbd15b8977c8c7cb4e9bd1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T03:27:18.718Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9382 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-03-09T03:27:18.733Z] Running in /w/workspace/device-snmp-go/63 [Pipeline] { [Pipeline] checkout [2023-03-09T03:27:18.775Z] Selected Git installation does not exist. Using Default [2023-03-09T03:27:18.775Z] The recommended git tool is: NONE [2023-03-09T03:27:24.576Z] using credential edgex-jenkins-ssh [2023-03-09T03:27:24.597Z] Cloning the remote Git repository [2023-03-09T03:27:24.653Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T03:27:24.737Z] > git init /w/workspace/device-snmp-go/63 # timeout=10 [2023-03-09T03:27:24.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T03:27:24.880Z] > git --version # timeout=10 [2023-03-09T03:27:24.898Z] > git --version # 'git version 2.25.1' [2023-03-09T03:27:24.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T03:27:24.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T03:27:25.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-09T03:27:26.005Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T03:27:26.981Z] Avoid second fetch [2023-03-09T03:27:26.981Z] Checking out Revision 82433e1744898ef8ca7a6a52854ffd2316e26b0f (main) [2023-03-09T03:27:27.559Z] Commit message: "Merge pull request #256 from lenny-intel/topic-constants" [2023-03-09T03:27:27.004Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T03:27:27.022Z] > git checkout -f 82433e1744898ef8ca7a6a52854ffd2316e26b0f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:27:28.455Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T03:27:28.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T03:27:28.455Z] Dload Upload Total Spent Left Speed [2023-03-09T03:27:28.455Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-03-09T03:27:29.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T03:27:29.525Z] + sudo tee /etc/docker/daemon.new [2023-03-09T03:27:29.525Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T03:27:29.525Z] { [2023-03-09T03:27:29.525Z] "registry-mirrors": [ [2023-03-09T03:27:29.525Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T03:27:29.525Z] ], [2023-03-09T03:27:29.525Z] "bip": "10.250.0.254/24", [2023-03-09T03:27:29.525Z] "hosts": [ [2023-03-09T03:27:29.525Z] "tcp://0.0.0.0:5555", [2023-03-09T03:27:29.525Z] "unix:///var/run/docker.sock" [2023-03-09T03:27:29.525Z] ], [2023-03-09T03:27:29.525Z] "mtu": 1458, [2023-03-09T03:27:29.525Z] "selinux-enabled": true, [2023-03-09T03:27:29.526Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T03:27:29.526Z] } [Pipeline] sh [2023-03-09T03:27:29.881Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T03:27:30.237Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:27:48.544Z] provisioning config files... [2023-03-09T03:27:48.575Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/63@tmp/config10043257049032687423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:27:48.945Z] ---> docker-login.sh [2023-03-09T03:27:48.945Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:27:49.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:27:49.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:27:49.535Z] Configure a credential helper to remove this warning. See [2023-03-09T03:27:49.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:27:49.535Z] [2023-03-09T03:27:49.535Z] Login Succeeded [2023-03-09T03:27:49.535Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:27:49.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:27:50.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:27:50.079Z] Configure a credential helper to remove this warning. See [2023-03-09T03:27:50.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:27:50.079Z] [2023-03-09T03:27:50.079Z] Login Succeeded [2023-03-09T03:27:50.079Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:27:50.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:27:50.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:27:50.350Z] Configure a credential helper to remove this warning. See [2023-03-09T03:27:50.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:27:50.350Z] [2023-03-09T03:27:50.350Z] Login Succeeded [2023-03-09T03:27:50.350Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:27:50.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:27:50.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:27:50.893Z] Configure a credential helper to remove this warning. See [2023-03-09T03:27:50.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:27:50.893Z] [2023-03-09T03:27:50.893Z] Login Succeeded [2023-03-09T03:27:50.893Z] docker.io [2023-03-09T03:27:51.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:27:51.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:27:51.431Z] Configure a credential helper to remove this warning. See [2023-03-09T03:27:51.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:27:51.431Z] [2023-03-09T03:27:51.431Z] Login Succeeded [2023-03-09T03:27:51.431Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:27:51.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T03:27:51.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:27:51.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:27:51.764Z] ========================================================= [2023-03-09T03:27:51.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T03:27:51.764Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:27:52.129Z] + 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 . [2023-03-09T03:27:52.403Z] Sending build context to Docker daemon 2.951MB [2023-03-09T03:27:52.403Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:27:52.403Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T03:27:52.691Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T03:27:52.691Z] 9b18e9b68314: Pulling fs layer [2023-03-09T03:27:52.691Z] 35d82f9e3411: Pulling fs layer [2023-03-09T03:27:52.691Z] e16973657156: Pulling fs layer [2023-03-09T03:27:52.691Z] fc693d55d65f: Pulling fs layer [2023-03-09T03:27:52.691Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T03:27:52.691Z] dda99020689f: Pulling fs layer [2023-03-09T03:27:52.691Z] db1c61fa0a46: Pulling fs layer [2023-03-09T03:27:52.691Z] 891c053d2c06: Pulling fs layer [2023-03-09T03:27:52.691Z] dda99020689f: Waiting [2023-03-09T03:27:52.691Z] db1c61fa0a46: Waiting [2023-03-09T03:27:52.691Z] 891c053d2c06: Waiting [2023-03-09T03:27:52.691Z] fc693d55d65f: Waiting [2023-03-09T03:27:52.691Z] 7e9fc2657dce: Waiting [2023-03-09T03:27:52.691Z] e16973657156: Verifying Checksum [2023-03-09T03:27:52.691Z] e16973657156: Download complete [2023-03-09T03:27:52.691Z] 35d82f9e3411: Verifying Checksum [2023-03-09T03:27:52.691Z] 35d82f9e3411: Download complete [2023-03-09T03:27:52.691Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T03:27:52.691Z] 7e9fc2657dce: Download complete [2023-03-09T03:27:52.691Z] dda99020689f: Verifying Checksum [2023-03-09T03:27:52.691Z] dda99020689f: Download complete [2023-03-09T03:27:52.691Z] 9b18e9b68314: Verifying Checksum [2023-03-09T03:27:52.691Z] 9b18e9b68314: Download complete [2023-03-09T03:27:53.673Z] 9b18e9b68314: Pull complete [2023-03-09T03:27:53.953Z] 891c053d2c06: Verifying Checksum [2023-03-09T03:27:53.953Z] 891c053d2c06: Download complete [2023-03-09T03:27:54.225Z] 35d82f9e3411: Pull complete [2023-03-09T03:27:54.504Z] e16973657156: Pull complete [2023-03-09T03:27:55.098Z] db1c61fa0a46: Download complete [2023-03-09T03:27:55.686Z] fc693d55d65f: Verifying Checksum [2023-03-09T03:27:55.686Z] fc693d55d65f: Download complete [2023-03-09T03:28:08.041Z] fc693d55d65f: Pull complete [2023-03-09T03:28:08.041Z] 7e9fc2657dce: Pull complete [2023-03-09T03:28:08.041Z] dda99020689f: Pull complete [2023-03-09T03:28:12.310Z] db1c61fa0a46: Pull complete [2023-03-09T03:28:14.310Z] 891c053d2c06: Pull complete [2023-03-09T03:28:14.310Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T03:28:14.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T03:28:14.310Z] ---> f96f9c87975a [2023-03-09T03:28:14.310Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T03:28:16.269Z] ---> Running in 804484c93475 [2023-03-09T03:28:16.540Z] Removing intermediate container 804484c93475 [2023-03-09T03:28:16.540Z] ---> 8cc3e30b623c [2023-03-09T03:28:16.540Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T03:28:16.809Z] ---> Running in 65938497a0b5 [2023-03-09T03:28:17.075Z] Removing intermediate container 65938497a0b5 [2023-03-09T03:28:17.075Z] ---> 48d114159659 [2023-03-09T03:28:17.075Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T03:28:17.075Z] ---> Running in 5e718b0f9e9a [2023-03-09T03:28:17.343Z] Removing intermediate container 5e718b0f9e9a [2023-03-09T03:28:17.343Z] ---> b4a846c75e15 [2023-03-09T03:28:17.343Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T03:28:17.612Z] ---> Running in 9e8495460053 [2023-03-09T03:28:17.880Z] Removing intermediate container 9e8495460053 [2023-03-09T03:28:17.880Z] ---> b1b545885c25 [2023-03-09T03:28:17.880Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T03:28:17.880Z] ---> Running in 0550e08ec7e3 [2023-03-09T03:28:19.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:28:19.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:28:20.719Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T03:28:20.719Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T03:28:20.719Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T03:28:20.719Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T03:28:20.719Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T03:28:20.990Z] OK: 226 MiB in 55 packages [2023-03-09T03:28:21.962Z] Removing intermediate container 0550e08ec7e3 [2023-03-09T03:28:21.962Z] ---> b6e9bf5150a6 [2023-03-09T03:28:21.962Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T03:28:22.233Z] ---> Running in e5cfbdfe7cdd [2023-03-09T03:28:22.506Z] Removing intermediate container e5cfbdfe7cdd [2023-03-09T03:28:22.506Z] ---> f5bab0d57a89 [2023-03-09T03:28:22.506Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T03:28:23.163Z] ---> ea6db2cd8ba6 [2023-03-09T03:28:23.163Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:28:23.163Z] ---> Running in a813ac874fd0 [2023-03-09T03:29:31.103Z] Removing intermediate container a813ac874fd0 [2023-03-09T03:29:31.103Z] ---> aa0017b8b3ec [2023-03-09T03:29:31.103Z] Step 11/12 : COPY . . [2023-03-09T03:29:31.103Z] ---> 0e46d3fdf8af [2023-03-09T03:29:31.103Z] Step 12/12 : RUN ${MAKE} [2023-03-09T03:29:31.103Z] ---> Running in a1741465d421 [2023-03-09T03:29:31.103Z] noop [2023-03-09T03:29:31.373Z] Removing intermediate container a1741465d421 [2023-03-09T03:29:31.373Z] ---> 3dffb847aaac [2023-03-09T03:29:31.373Z] Successfully built 3dffb847aaac [2023-03-09T03:29:31.642Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:29:31.994Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T03:29:31.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:29:32.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-9382 does not seem to be running inside a container [2023-03-09T03:29:32.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/63 -v /w/workspace/device-snmp-go/63:/w/workspace/device-snmp-go/63:rw,z -v /w/workspace/device-snmp-go/63@tmp:/w/workspace/device-snmp-go/63@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 [2023-03-09T03:29:33.530Z] $ docker top b1f6820e8d6003a7e454dfa9cc5134062879c2ac7c71072bfbbd0b07dd42da5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:29:34.367Z] + go version [2023-03-09T03:29:34.367Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T03:29:34.392Z] $ docker stop --time=1 b1f6820e8d6003a7e454dfa9cc5134062879c2ac7c71072bfbbd0b07dd42da5f [2023-03-09T03:29:36.017Z] $ docker rm -f --volumes b1f6820e8d6003a7e454dfa9cc5134062879c2ac7c71072bfbbd0b07dd42da5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:29:36.580Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T03:29:36.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:29:36.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-9382 does not seem to be running inside a container [2023-03-09T03:29:36.831Z] $ 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/63 -v /w/workspace/device-snmp-go/63:/w/workspace/device-snmp-go/63:rw,z -v /w/workspace/device-snmp-go/63@tmp:/w/workspace/device-snmp-go/63@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 [2023-03-09T03:29:38.035Z] $ docker top 9a37aac74a195e32b1c85875f3028f6a8648e3a4f89d760ad4898627be6272c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:29:38.870Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/63 [Pipeline] fileExists [Pipeline] sh [2023-03-09T03:29:39.526Z] + make test [2023-03-09T03:29:39.526Z] go test ./... -coverprofile=coverage.out [2023-03-09T03:29:40.938Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T03:31:17.607Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-09T03:31:17.607Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2023-03-09T03:31:17.607Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T03:31:17.607Z] go vet ./... [2023-03-09T03:31:35.873Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T03:31:35.873Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T03:31:35.873Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T03:31:35.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T03:31:35.913Z] $ docker stop --time=1 9a37aac74a195e32b1c85875f3028f6a8648e3a4f89d760ad4898627be6272c9 [2023-03-09T03:31:37.932Z] $ docker rm -f --volumes 9a37aac74a195e32b1c85875f3028f6a8648e3a4f89d760ad4898627be6272c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:31:39.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T03:31:39.034Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T03:31:39.644Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:31:40.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T03:31:40.396Z] + ls -al . [2023-03-09T03:31:40.396Z] total 168 [2023-03-09T03:31:40.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:29 . [2023-03-09T03:31:40.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:27 .. [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 03:27 .dockerignore [2023-03-09T03:31:40.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:27 .git [2023-03-09T03:31:40.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:27 .github [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 03:27 .gitignore [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 03:27 .golangci.yml [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 9 03:27 Attribution.txt [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 03:27 CHANGELOG.md [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 03:27 Dockerfile [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:27 GOVERNANCE.md [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 03:27 Jenkinsfile [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 03:27 LICENSE [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 03:27 Makefile [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 03:27 OWNERS.md [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 03:27 README.md [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 03:24 VERSION [2023-03-09T03:31:40.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:27 bin [2023-03-09T03:31:40.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:27 cmd [2023-03-09T03:31:40.396Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 03:31 coverage.out [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 03:27 go.mod [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 03:27 go.sum [2023-03-09T03:31:40.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:27 internal [2023-03-09T03:31:40.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:27 snap [2023-03-09T03:31:40.396Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:31:40.754Z] + 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=82433e1744898ef8ca7a6a52854ffd2316e26b0f --label arch=arm64 --label version=3.0.0-dev.7 . [2023-03-09T03:31:41.028Z] Sending build context to Docker daemon 2.959MB [2023-03-09T03:31:41.028Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:31:41.028Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T03:31:41.028Z] ---> 3dffb847aaac [2023-03-09T03:31:41.028Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T03:31:41.302Z] ---> Running in 74ba2b54e765 [2023-03-09T03:31:41.571Z] Removing intermediate container 74ba2b54e765 [2023-03-09T03:31:41.571Z] ---> f8f25d64e8bc [2023-03-09T03:31:41.571Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T03:31:41.843Z] ---> Running in 7963521edcbb [2023-03-09T03:31:42.113Z] Removing intermediate container 7963521edcbb [2023-03-09T03:31:42.113Z] ---> 855bb0ca6a03 [2023-03-09T03:31:42.113Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T03:31:42.113Z] ---> Running in ca9f37f90978 [2023-03-09T03:31:42.702Z] Removing intermediate container ca9f37f90978 [2023-03-09T03:31:42.702Z] ---> 736e2459fa31 [2023-03-09T03:31:42.702Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T03:31:42.702Z] ---> Running in 2a3a3599b026 [2023-03-09T03:31:43.294Z] Removing intermediate container 2a3a3599b026 [2023-03-09T03:31:43.294Z] ---> 52e70a03f449 [2023-03-09T03:31:43.294Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T03:31:43.294Z] ---> Running in 58e32cd6a0c1 [2023-03-09T03:31:44.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:31:44.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:31:46.140Z] OK: 226 MiB in 55 packages [2023-03-09T03:31:47.111Z] Removing intermediate container 58e32cd6a0c1 [2023-03-09T03:31:47.111Z] ---> d754e9d4cc2c [2023-03-09T03:31:47.111Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-09T03:31:47.111Z] ---> Running in ba85776302a2 [2023-03-09T03:31:47.381Z] Removing intermediate container ba85776302a2 [2023-03-09T03:31:47.381Z] ---> dc860fa9c2a7 [2023-03-09T03:31:47.381Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T03:31:47.974Z] ---> eeb8fa5794ea [2023-03-09T03:31:47.974Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:31:48.244Z] ---> Running in 3825dfec3a15 [2023-03-09T03:31:51.628Z] Removing intermediate container 3825dfec3a15 [2023-03-09T03:31:51.628Z] ---> 0dc5aca10c83 [2023-03-09T03:31:51.628Z] Step 11/24 : COPY . . [2023-03-09T03:31:53.046Z] ---> ec8c30d4f557 [2023-03-09T03:31:53.046Z] Step 12/24 : RUN ${MAKE} [2023-03-09T03:31:53.046Z] ---> Running in c658caf4c3ca [2023-03-09T03:31:54.460Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-09T03:34:31.251Z] Removing intermediate container c658caf4c3ca [2023-03-09T03:34:31.252Z] ---> b96a51a579f0 [2023-03-09T03:34:31.252Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T03:34:31.252Z] 3.16: Pulling from library/alpine [2023-03-09T03:34:31.252Z] 3760b48202b3: Pulling fs layer [2023-03-09T03:34:31.252Z] 3760b48202b3: Verifying Checksum [2023-03-09T03:34:31.252Z] 3760b48202b3: Download complete [2023-03-09T03:34:31.252Z] 3760b48202b3: Pull complete [2023-03-09T03:34:31.252Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T03:34:31.252Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T03:34:31.252Z] ---> 4c81e5bf8899 [2023-03-09T03:34:31.252Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T03:34:31.252Z] ---> Running in 4029a0d853fc [2023-03-09T03:34:31.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:34:31.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:34:31.252Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T03:34:31.252Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T03:34:31.252Z] OK: 5 MiB in 15 packages [2023-03-09T03:34:31.252Z] Removing intermediate container 4029a0d853fc [2023-03-09T03:34:31.252Z] ---> 12b8eee551c3 [2023-03-09T03:34:31.252Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-09T03:34:35.501Z] ---> 0e96ef54c134 [2023-03-09T03:34:35.501Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-09T03:34:35.501Z] ---> 65d5d818322b [2023-03-09T03:34:35.501Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-09T03:34:36.085Z] ---> 094e4fa18e6f [2023-03-09T03:34:36.085Z] Step 18/24 : EXPOSE 59993 [2023-03-09T03:34:36.085Z] ---> Running in 0994d9dac9be [2023-03-09T03:34:36.366Z] Removing intermediate container 0994d9dac9be [2023-03-09T03:34:36.366Z] ---> c8aadeac9e8c [2023-03-09T03:34:36.366Z] Step 19/24 : EXPOSE 161 [2023-03-09T03:34:36.636Z] ---> Running in 9aa0e631f07c [2023-03-09T03:34:36.902Z] Removing intermediate container 9aa0e631f07c [2023-03-09T03:34:36.902Z] ---> 6b4401bb3eb7 [2023-03-09T03:34:36.902Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-09T03:34:36.902Z] ---> Running in 32de9258aab9 [2023-03-09T03:34:37.171Z] Removing intermediate container 32de9258aab9 [2023-03-09T03:34:37.171Z] ---> 55990b47247f [2023-03-09T03:34:37.171Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T03:34:37.171Z] ---> Running in 11b51a5e27c4 [2023-03-09T03:34:37.450Z] Removing intermediate container 11b51a5e27c4 [2023-03-09T03:34:37.450Z] ---> ac7497043c50 [2023-03-09T03:34:37.450Z] Step 22/24 : LABEL arch=arm64 [2023-03-09T03:34:37.450Z] ---> Running in 1b2da4cf0c87 [2023-03-09T03:34:37.718Z] Removing intermediate container 1b2da4cf0c87 [2023-03-09T03:34:37.718Z] ---> 5384cac948ee [2023-03-09T03:34:37.718Z] Step 23/24 : LABEL git_sha=82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:34:37.987Z] ---> Running in f0ed7c48e9f1 [2023-03-09T03:34:38.254Z] Removing intermediate container f0ed7c48e9f1 [2023-03-09T03:34:38.254Z] ---> 4811203cdb0d [2023-03-09T03:34:38.254Z] Step 24/24 : LABEL version=3.0.0-dev.7 [2023-03-09T03:34:38.254Z] ---> Running in 7011b7211155 [2023-03-09T03:34:38.520Z] Removing intermediate container 7011b7211155 [2023-03-09T03:34:38.520Z] ---> dac14d2eead1 [2023-03-09T03:34:38.520Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T03:34:38.520Z] Successfully built dac14d2eead1 [2023-03-09T03:34:38.520Z] 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 [2023-03-09T03:34:38.634Z] provisioning config files... [2023-03-09T03:34:38.649Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/63@tmp/config9112143138967310067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:34:38.983Z] ---> docker-login.sh [2023-03-09T03:34:38.983Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:34:38.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:34:39.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:34:39.256Z] Configure a credential helper to remove this warning. See [2023-03-09T03:34:39.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:34:39.256Z] [2023-03-09T03:34:39.256Z] Login Succeeded [2023-03-09T03:34:39.256Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:34:39.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:34:39.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:34:39.527Z] Configure a credential helper to remove this warning. See [2023-03-09T03:34:39.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:34:39.527Z] [2023-03-09T03:34:39.527Z] Login Succeeded [2023-03-09T03:34:39.527Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:34:39.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:34:40.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:34:40.062Z] Configure a credential helper to remove this warning. See [2023-03-09T03:34:40.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:34:40.062Z] [2023-03-09T03:34:40.062Z] Login Succeeded [2023-03-09T03:34:40.062Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:34:40.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:34:40.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:34:40.332Z] Configure a credential helper to remove this warning. See [2023-03-09T03:34:40.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:34:40.332Z] [2023-03-09T03:34:40.332Z] Login Succeeded [2023-03-09T03:34:40.332Z] docker.io [2023-03-09T03:34:40.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:34:40.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:34:40.870Z] Configure a credential helper to remove this warning. See [2023-03-09T03:34:40.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:34:40.870Z] [2023-03-09T03:34:40.870Z] Login Succeeded [2023-03-09T03:34:40.870Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:34:40.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T03:34:40.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:34:40.926Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-03-09T03:34:40.926Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:34:40.926Z] latest [2023-03-09T03:34:40.926Z] 3.0.0-dev.7 [2023-03-09T03:34:40.926Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:34:40.926Z] main [2023-03-09T03:34:40.926Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:41.282Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:41.638Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:34:41.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T03:34:41.638Z] c74f6b58193a: Preparing [2023-03-09T03:34:41.638Z] 324f7affa38c: Preparing [2023-03-09T03:34:41.638Z] 83f10db629f4: Preparing [2023-03-09T03:34:41.638Z] bf079b39fbaa: Preparing [2023-03-09T03:34:41.638Z] f70ee36035b9: Preparing [2023-03-09T03:34:41.638Z] f70ee36035b9: Layer already exists [2023-03-09T03:34:41.906Z] 324f7affa38c: Pushed [2023-03-09T03:34:41.906Z] c74f6b58193a: Pushed [2023-03-09T03:34:41.906Z] bf079b39fbaa: Pushed [2023-03-09T03:34:47.253Z] 83f10db629f4: Pushed [2023-03-09T03:34:47.253Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f: digest: sha256:3d6256271b6bfb7b62f323386f054c1612e995305c24bcc6ddaf682a2f6a1e66 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:47.714Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:48.156Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-09T03:34:48.156Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T03:34:48.156Z] c74f6b58193a: Preparing [2023-03-09T03:34:48.156Z] 324f7affa38c: Preparing [2023-03-09T03:34:48.156Z] 83f10db629f4: Preparing [2023-03-09T03:34:48.156Z] bf079b39fbaa: Preparing [2023-03-09T03:34:48.156Z] f70ee36035b9: Preparing [2023-03-09T03:34:48.156Z] c74f6b58193a: Layer already exists [2023-03-09T03:34:48.156Z] f70ee36035b9: Layer already exists [2023-03-09T03:34:48.156Z] 324f7affa38c: Layer already exists [2023-03-09T03:34:48.156Z] bf079b39fbaa: Layer already exists [2023-03-09T03:34:48.156Z] 83f10db629f4: Layer already exists [2023-03-09T03:34:48.156Z] latest: digest: sha256:3d6256271b6bfb7b62f323386f054c1612e995305c24bcc6ddaf682a2f6a1e66 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:48.508Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:48.884Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.7 [2023-03-09T03:34:48.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T03:34:48.884Z] c74f6b58193a: Preparing [2023-03-09T03:34:48.884Z] 324f7affa38c: Preparing [2023-03-09T03:34:48.884Z] 83f10db629f4: Preparing [2023-03-09T03:34:48.884Z] bf079b39fbaa: Preparing [2023-03-09T03:34:48.884Z] f70ee36035b9: Preparing [2023-03-09T03:34:48.884Z] 83f10db629f4: Layer already exists [2023-03-09T03:34:48.884Z] f70ee36035b9: Layer already exists [2023-03-09T03:34:48.884Z] bf079b39fbaa: Layer already exists [2023-03-09T03:34:48.884Z] 324f7affa38c: Layer already exists [2023-03-09T03:34:48.884Z] c74f6b58193a: Layer already exists [2023-03-09T03:34:48.884Z] 3.0.0-dev.7: digest: sha256:3d6256271b6bfb7b62f323386f054c1612e995305c24bcc6ddaf682a2f6a1e66 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:49.243Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:49.600Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:34:49.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T03:34:49.600Z] c74f6b58193a: Preparing [2023-03-09T03:34:49.600Z] 324f7affa38c: Preparing [2023-03-09T03:34:49.600Z] 83f10db629f4: Preparing [2023-03-09T03:34:49.600Z] bf079b39fbaa: Preparing [2023-03-09T03:34:49.600Z] f70ee36035b9: Preparing [2023-03-09T03:34:49.600Z] 83f10db629f4: Layer already exists [2023-03-09T03:34:49.600Z] c74f6b58193a: Layer already exists [2023-03-09T03:34:49.600Z] f70ee36035b9: Layer already exists [2023-03-09T03:34:49.600Z] 324f7affa38c: Layer already exists [2023-03-09T03:34:49.600Z] bf079b39fbaa: Layer already exists [2023-03-09T03:34:49.600Z] 82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7: digest: sha256:3d6256271b6bfb7b62f323386f054c1612e995305c24bcc6ddaf682a2f6a1e66 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:49.969Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:50.314Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-03-09T03:34:50.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T03:34:50.314Z] c74f6b58193a: Preparing [2023-03-09T03:34:50.314Z] 324f7affa38c: Preparing [2023-03-09T03:34:50.314Z] 83f10db629f4: Preparing [2023-03-09T03:34:50.314Z] bf079b39fbaa: Preparing [2023-03-09T03:34:50.314Z] f70ee36035b9: Preparing [2023-03-09T03:34:50.314Z] 324f7affa38c: Layer already exists [2023-03-09T03:34:50.314Z] 83f10db629f4: Layer already exists [2023-03-09T03:34:50.314Z] f70ee36035b9: Layer already exists [2023-03-09T03:34:50.314Z] c74f6b58193a: Layer already exists [2023-03-09T03:34:50.314Z] bf079b39fbaa: Layer already exists [2023-03-09T03:34:50.314Z] main: digest: sha256:3d6256271b6bfb7b62f323386f054c1612e995305c24bcc6ddaf682a2f6a1e66 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T03:34:50.642Z] ===================================================== [Pipeline] echo [2023-03-09T03:34:50.651Z] taggedImages: [2023-03-09T03:34:50.651Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f [2023-03-09T03:34:50.651Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-09T03:34:50.651Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.7 [2023-03-09T03:34:50.651Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:82433e1744898ef8ca7a6a52854ffd2316e26b0f-3.0.0-dev.7 [2023-03-09T03:34:50.651Z] - 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 [2023-03-09T03:34:51.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:34:51.030Z] [2023-03-09T03:34:51.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:34:51.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:34:51.365Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T03:34:51.365Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T03:34:51.365Z] 04944245beec: Pulling fs layer [2023-03-09T03:34:51.365Z] 699f458cf7ca: Pulling fs layer [2023-03-09T03:34:51.365Z] 765212b225bb: Pulling fs layer [2023-03-09T03:34:51.365Z] f23df028b6ca: Pulling fs layer [2023-03-09T03:34:51.365Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T03:34:51.365Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T03:34:51.365Z] f23df028b6ca: Waiting [2023-03-09T03:34:51.365Z] 765212b225bb: Waiting [2023-03-09T03:34:51.365Z] d65c8cfc05b1: Waiting [2023-03-09T03:34:51.365Z] 2437ff75d9bd: Waiting [2023-03-09T03:34:51.635Z] 04944245beec: Verifying Checksum [2023-03-09T03:34:51.635Z] 04944245beec: Download complete [2023-03-09T03:34:51.635Z] 765212b225bb: Verifying Checksum [2023-03-09T03:34:51.635Z] 765212b225bb: Download complete [2023-03-09T03:34:51.635Z] f23df028b6ca: Download complete [2023-03-09T03:34:51.635Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T03:34:51.635Z] d65c8cfc05b1: Download complete [2023-03-09T03:34:51.907Z] 699f458cf7ca: Verifying Checksum [2023-03-09T03:34:51.907Z] 699f458cf7ca: Download complete [2023-03-09T03:34:52.175Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T03:34:52.175Z] 8998bd30e6a1: Download complete [2023-03-09T03:34:54.784Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T03:34:54.784Z] 2437ff75d9bd: Download complete [2023-03-09T03:34:56.195Z] 8998bd30e6a1: Pull complete [2023-03-09T03:34:56.779Z] 04944245beec: Pull complete [2023-03-09T03:34:57.743Z] 699f458cf7ca: Pull complete [2023-03-09T03:34:58.010Z] 765212b225bb: Pull complete [2023-03-09T03:34:59.952Z] f23df028b6ca: Pull complete [2023-03-09T03:35:00.219Z] d65c8cfc05b1: Pull complete [2023-03-09T03:35:12.528Z] 2437ff75d9bd: Pull complete [2023-03-09T03:35:12.796Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T03:35:12.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:35:12.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:35:12.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-9382 does not seem to be running inside a container [2023-03-09T03:35:13.060Z] $ 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/63 -v /w/workspace/device-snmp-go/63:/w/workspace/device-snmp-go/63:rw,z -v /w/workspace/device-snmp-go/63@tmp:/w/workspace/device-snmp-go/63@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 [2023-03-09T03:35:15.794Z] $ docker top e6eaa2fcdef9706cf951f5d2f992419d57533c1f2725dd3dea2960fbbcb2e431 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:35:16.639Z] ---> job-cost.sh [2023-03-09T03:35:16.639Z] lf-activate-venv: SKIPPING [2023-03-09T03:35:16.639Z] INFO: No Stack... [2023-03-09T03:35:17.226Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T03:35:17.811Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T03:35:18.460Z] + cat /w/workspace/device-snmp-go/63/archives/cost.csv [2023-03-09T03:35:18.461Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T03:35:18.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [2023-03-09T03:35:18.540Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] did not exist. Created. [2023-03-09T03:35:18.540Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T03:35:19.204Z] /w/workspace/device-snmp-go/63@tmp/durable-c5d58ac4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T03:35:19.858Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T03:35:19.880Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T03:35:19.930Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T03:35:19.937Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T03:35:19.960Z] $ docker stop --time=1 e6eaa2fcdef9706cf951f5d2f992419d57533c1f2725dd3dea2960fbbcb2e431 [2023-03-09T03:35:21.466Z] $ docker rm -f --volumes e6eaa2fcdef9706cf951f5d2f992419d57533c1f2725dd3dea2960fbbcb2e431 [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 [2023-03-09T03:35:21.835Z] provisioning config files... [2023-03-09T03:35:21.842Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17362007522368183019tmp [Pipeline] { [Pipeline] sh [2023-03-09T03:35:22.138Z] + set +x [2023-03-09T03:35:22.139Z] + curl -s https://codecov.io/bash [2023-03-09T03:35:22.139Z] + bash -s -- [2023-03-09T03:35:22.139Z] [2023-03-09T03:35:22.139Z] _____ _ [2023-03-09T03:35:22.139Z] / ____| | | [2023-03-09T03:35:22.139Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T03:35:22.139Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T03:35:22.139Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T03:35:22.139Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T03:35:22.139Z] Bash-1.0.6 [2023-03-09T03:35:22.139Z] [2023-03-09T03:35:22.139Z] [2023-03-09T03:35:22.139Z] ==> git version 2.25.1 found [2023-03-09T03:35:22.139Z] ==> 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 [2023-03-09T03:35:22.139Z] Release-Date: 2020-01-08 [2023-03-09T03:35:22.139Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-09T03:35:22.139Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T03:35:22.139Z] ==> Jenkins CI detected. [2023-03-09T03:35:22.139Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-03-09T03:35:22.139Z] project root: . [2023-03-09T03:35:22.139Z] --> token set from env [2023-03-09T03:35:22.139Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T03:35:22.139Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T03:35:22.399Z] ==> Python coveragepy not found [2023-03-09T03:35:22.399Z] ==> Searching for coverage reports in: [2023-03-09T03:35:22.399Z] + . [2023-03-09T03:35:22.399Z] -> Found 1 reports [2023-03-09T03:35:22.399Z] ==> Detecting git/mercurial file structure [2023-03-09T03:35:22.399Z] ==> Reading reports [2023-03-09T03:35:22.399Z] + ./coverage.out bytes=7631 [2023-03-09T03:35:22.399Z] ==> Appending adjustments [2023-03-09T03:35:22.399Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T03:35:22.399Z] + Found adjustments [2023-03-09T03:35:22.399Z] ==> Gzipping contents [2023-03-09T03:35:22.399Z] 4.0K /tmp/codecov.u4ohAO.gz [2023-03-09T03:35:22.399Z] ==> Uploading reports [2023-03-09T03:35:22.399Z] url: https://codecov.io [2023-03-09T03:35:22.399Z] query: branch=main&commit=82433e1744898ef8ca7a6a52854ffd2316e26b0f&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-09T03:35:22.399Z] -> Pinging Codecov [2023-03-09T03:35:22.399Z] 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=82433e1744898ef8ca7a6a52854ffd2316e26b0f&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-09T03:35:22.399Z] -> Uploading to [2023-03-09T03:35:22.399Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/6C56EA5C29638FB4528AC87E60AF5AE0/82433e1744898ef8ca7a6a52854ffd2316e26b0f/ce92e862-6269-421a-9468-1fff2104bc0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T033522Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e49f2d5b517d0e0eee5e1947f9dfa3f2525e2f90404922c136b11ac7da12b30 [2023-03-09T03:35:22.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T03:35:22.658Z] Dload Upload Total Spent Left Speed [2023-03-09T03:35:22.918Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 6675 --:--:-- --:--:-- --:--:-- 6646 100 1522 0 0 100 1522 0 5006 --:--:-- --:--:-- --:--:-- 5006 [2023-03-09T03:35:22.918Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] } [2023-03-09T03:35:22.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-09T03:35:23.131Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-09T03:35:23.146Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:35:23.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T03:35:23.456Z] [2023-03-09T03:35:23.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:35:23.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T03:35:23.757Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-09T03:35:23.757Z] df9b9388f04a: Pulling fs layer [2023-03-09T03:35:23.757Z] 52dc419b0ee2: Pulling fs layer [2023-03-09T03:35:23.757Z] 25bc292e5bac: Pulling fs layer [2023-03-09T03:35:23.757Z] 114826534d7a: Pulling fs layer [2023-03-09T03:35:23.757Z] 4657fd5d0bcf: Pulling fs layer [2023-03-09T03:35:23.757Z] 6ad1cebc031e: Pulling fs layer [2023-03-09T03:35:23.757Z] 8a3aa393b2d8: Pulling fs layer [2023-03-09T03:35:23.757Z] 4657fd5d0bcf: Waiting [2023-03-09T03:35:23.757Z] 6ad1cebc031e: Waiting [2023-03-09T03:35:23.757Z] 8a3aa393b2d8: Waiting [2023-03-09T03:35:23.757Z] 114826534d7a: Waiting [2023-03-09T03:35:23.757Z] 25bc292e5bac: Verifying Checksum [2023-03-09T03:35:23.757Z] 25bc292e5bac: Download complete [2023-03-09T03:35:23.757Z] 52dc419b0ee2: Verifying Checksum [2023-03-09T03:35:23.757Z] 52dc419b0ee2: Download complete [2023-03-09T03:35:23.757Z] 4657fd5d0bcf: Verifying Checksum [2023-03-09T03:35:23.757Z] 4657fd5d0bcf: Download complete [2023-03-09T03:35:23.757Z] df9b9388f04a: Verifying Checksum [2023-03-09T03:35:23.757Z] df9b9388f04a: Download complete [2023-03-09T03:35:24.019Z] df9b9388f04a: Pull complete [2023-03-09T03:35:24.019Z] 6ad1cebc031e: Verifying Checksum [2023-03-09T03:35:24.019Z] 6ad1cebc031e: Download complete [2023-03-09T03:35:24.279Z] 52dc419b0ee2: Pull complete [2023-03-09T03:35:24.279Z] 25bc292e5bac: Pull complete [2023-03-09T03:35:24.538Z] 114826534d7a: Verifying Checksum [2023-03-09T03:35:24.539Z] 114826534d7a: Download complete [2023-03-09T03:35:24.798Z] 8a3aa393b2d8: Verifying Checksum [2023-03-09T03:35:24.798Z] 8a3aa393b2d8: Download complete [2023-03-09T03:35:28.983Z] 114826534d7a: Pull complete [2023-03-09T03:35:28.983Z] 4657fd5d0bcf: Pull complete [2023-03-09T03:35:28.983Z] 6ad1cebc031e: Pull complete [2023-03-09T03:35:31.511Z] 8a3aa393b2d8: Pull complete [2023-03-09T03:35:31.511Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-09T03:35:31.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T03:35:31.511Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:35:31.599Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:35:31.627Z] $ 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 [2023-03-09T03:35:33.776Z] $ docker top 3921ba8b595526b988b22aaab7fc55f355b84667d97619ccbf3cd6ba27d9cca6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-09T03:35:33.846Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-03-09T03:35:34.125Z] + set -o pipefail [2023-03-09T03:35:34.125Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a50df6fd-00a7-4085-aa01-b65c88603970 [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] [2023-03-09T03:35:42.240Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-09T03:35:42.240Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-09T03:35:42.240Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-09T03:35:42.254Z] $ docker stop --time=1 3921ba8b595526b988b22aaab7fc55f355b84667d97619ccbf3cd6ba27d9cca6 [2023-03-09T03:35:44.414Z] $ docker rm -f --volumes 3921ba8b595526b988b22aaab7fc55f355b84667d97619ccbf3cd6ba27d9cca6 [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 [2023-03-09T03:35:45.079Z] + git log --format=format:%s -1 82433e1744898ef8ca7a6a52854ffd2316e26b0f [Pipeline] sh [2023-03-09T03:35:45.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T03:35:45.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:35:45.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:35:45.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:35:45.734Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:35:45.762Z] $ 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 [2023-03-09T03:35:46.169Z] $ docker top 53c828c85c43be099f1344c3bc2c5a30f91af2241afbc0d09b95f9ac087ee388 -eo pid,comm [2023-03-09T03:35:46.217Z] 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). [2023-03-09T03:35:46.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T03:35:46.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:35:46.261Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:35:46.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:35:46.382Z] $ docker exec 53c828c85c43be099f1344c3bc2c5a30f91af2241afbc0d09b95f9ac087ee388 ssh-agent [2023-03-09T03:35:46.488Z] SSH_AUTH_SOCK=/tmp/ssh-WZPTl8sqPnN9/agent.31 [2023-03-09T03:35:46.488Z] SSH_AGENT_PID=38 [2023-03-09T03:35:46.492Z] Running ssh-add (command line suppressed) [2023-03-09T03:35:46.587Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5938318525268168348.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5938318525268168348.key) [2023-03-09T03:35:46.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:35:46.886Z] + git semver tag [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,078 [run_tag] DEBUG tag force:False [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,078 [check_head_tag] DEBUG check head tag [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,079 [execute] INFO git cat-file --batch-check [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,081 [execute] INFO git cat-file --batch [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,097 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,097 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,098 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-09T03:35:47.145Z] 2023-03-09 03:35:47,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:35:47.145Z] 3.0.0-dev.7 [Pipeline] } [2023-03-09T03:35:47.158Z] $ docker exec --env ******** --env ******** 53c828c85c43be099f1344c3bc2c5a30f91af2241afbc0d09b95f9ac087ee388 ssh-agent -k [2023-03-09T03:35:47.249Z] unset SSH_AUTH_SOCK; [2023-03-09T03:35:47.250Z] unset SSH_AGENT_PID; [2023-03-09T03:35:47.250Z] echo Agent pid 38 killed; [2023-03-09T03:35:47.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T03:35:47.563Z] + git semver [Pipeline] } [2023-03-09T03:35:47.840Z] $ docker stop --time=1 53c828c85c43be099f1344c3bc2c5a30f91af2241afbc0d09b95f9ac087ee388 [2023-03-09T03:35:49.133Z] $ docker rm -f --volumes 53c828c85c43be099f1344c3bc2c5a30f91af2241afbc0d09b95f9ac087ee388 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:35:49.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T03:35:49.533Z] [2023-03-09T03:35:49.533Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:35:49.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T03:35:49.848Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-09T03:35:49.848Z] ab5ef0e58194: Pulling fs layer [2023-03-09T03:35:49.848Z] 9712f1f96733: Pulling fs layer [2023-03-09T03:35:49.848Z] 63f879dbbcfc: Pulling fs layer [2023-03-09T03:35:49.848Z] 0d9ebad4ef96: Pulling fs layer [2023-03-09T03:35:49.848Z] e9a5061849ea: Pulling fs layer [2023-03-09T03:35:49.848Z] d747dcd14b5f: Pulling fs layer [2023-03-09T03:35:49.848Z] 2de7ff778b66: Pulling fs layer [2023-03-09T03:35:49.848Z] e9a5061849ea: Waiting [2023-03-09T03:35:49.848Z] d747dcd14b5f: Waiting [2023-03-09T03:35:49.848Z] 2de7ff778b66: Waiting [2023-03-09T03:35:49.848Z] 0d9ebad4ef96: Waiting [2023-03-09T03:35:49.848Z] 9712f1f96733: Verifying Checksum [2023-03-09T03:35:49.848Z] 9712f1f96733: Download complete [2023-03-09T03:35:50.430Z] 63f879dbbcfc: Verifying Checksum [2023-03-09T03:35:50.430Z] 63f879dbbcfc: Download complete [2023-03-09T03:35:50.430Z] e9a5061849ea: Verifying Checksum [2023-03-09T03:35:50.430Z] e9a5061849ea: Download complete [2023-03-09T03:35:50.430Z] 0d9ebad4ef96: Verifying Checksum [2023-03-09T03:35:50.430Z] 0d9ebad4ef96: Download complete [2023-03-09T03:35:50.688Z] d747dcd14b5f: Download complete [2023-03-09T03:35:50.688Z] ab5ef0e58194: Verifying Checksum [2023-03-09T03:35:50.688Z] ab5ef0e58194: Download complete [2023-03-09T03:35:50.688Z] 2de7ff778b66: Verifying Checksum [2023-03-09T03:35:50.688Z] 2de7ff778b66: Download complete [2023-03-09T03:35:53.221Z] ab5ef0e58194: Pull complete [2023-03-09T03:35:53.221Z] 9712f1f96733: Pull complete [2023-03-09T03:35:53.785Z] 63f879dbbcfc: Pull complete [2023-03-09T03:35:57.065Z] 0d9ebad4ef96: Pull complete [2023-03-09T03:35:57.065Z] e9a5061849ea: Pull complete [2023-03-09T03:35:57.322Z] d747dcd14b5f: Pull complete [2023-03-09T03:35:58.259Z] 2de7ff778b66: Pull complete [2023-03-09T03:35:58.259Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-09T03:35:58.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T03:35:58.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:35:58.335Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:35:58.368Z] $ 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 [2023-03-09T03:36:00.587Z] $ docker top 790b60e49c9927c71f84437ab735650e9ccdaa658edbb1f69d827ea5c5d01108 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:36:00.661Z] provisioning config files... [2023-03-09T03:36:00.666Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12999437485508975048tmp [2023-03-09T03:36:00.673Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9189305459420234735tmp [2023-03-09T03:36:00.681Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2215182593898128213tmp [Pipeline] { [Pipeline] echo [2023-03-09T03:36:00.695Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:00.976Z] ---> sigul-configuration.sh [2023-03-09T03:36:00.976Z] gpg: directory `/root/.gnupg' created [2023-03-09T03:36:00.976Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-09T03:36:00.976Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-09T03:36:00.976Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-09T03:36:00.976Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-09T03:36:00.976Z] gpg: CAST5 encrypted data [2023-03-09T03:36:00.976Z] gpg: encrypted with 1 passphrase [2023-03-09T03:36:00.976Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-09T03:36:01.263Z] + mkdir /home/jenkins [2023-03-09T03:36:01.263Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-09T03:36:01.547Z] + 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 [2023-03-09T03:36:01.556Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:01.844Z] ---> sigul-install.sh [2023-03-09T03:36:01.844Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-09T03:36:02.135Z] + git tag --list [2023-03-09T03:36:02.135Z] 1.0.0 [2023-03-09T03:36:02.135Z] v0.0.0 [2023-03-09T03:36:02.135Z] v1.1.0 [2023-03-09T03:36:02.135Z] v1.1.1 [2023-03-09T03:36:02.135Z] v1.2.2 [2023-03-09T03:36:02.135Z] v1.3.0 [2023-03-09T03:36:02.135Z] v1.3.1 [2023-03-09T03:36:02.135Z] v2.0.0 [2023-03-09T03:36:02.135Z] v2.1.0 [2023-03-09T03:36:02.135Z] v2.1.1 [2023-03-09T03:36:02.135Z] v2.1.1-dev.2 [2023-03-09T03:36:02.135Z] v2.1.1-dev.3 [2023-03-09T03:36:02.135Z] v2.2.0 [2023-03-09T03:36:02.135Z] v2.2.1-dev.1 [2023-03-09T03:36:02.135Z] v2.2.1-dev.2 [2023-03-09T03:36:02.135Z] v2.2.1-dev.3 [2023-03-09T03:36:02.135Z] v2.2.1-dev.4 [2023-03-09T03:36:02.135Z] v2.2.1-dev.5 [2023-03-09T03:36:02.135Z] v2.2.1-dev.6 [2023-03-09T03:36:02.135Z] v2.2.1-dev.7 [2023-03-09T03:36:02.135Z] v2.3.0 [2023-03-09T03:36:02.135Z] v2.3.0-dev.10 [2023-03-09T03:36:02.135Z] v2.3.0-dev.11 [2023-03-09T03:36:02.135Z] v2.3.0-dev.12 [2023-03-09T03:36:02.135Z] v2.3.0-dev.13 [2023-03-09T03:36:02.135Z] v2.3.0-dev.14 [2023-03-09T03:36:02.135Z] v2.3.0-dev.15 [2023-03-09T03:36:02.135Z] v2.3.0-dev.16 [2023-03-09T03:36:02.135Z] v2.3.0-dev.17 [2023-03-09T03:36:02.135Z] v2.3.0-dev.18 [2023-03-09T03:36:02.135Z] v2.3.0-dev.19 [2023-03-09T03:36:02.135Z] v2.3.0-dev.20 [2023-03-09T03:36:02.135Z] v2.3.0-dev.21 [2023-03-09T03:36:02.135Z] v2.3.0-dev.22 [2023-03-09T03:36:02.135Z] v2.3.0-dev.23 [2023-03-09T03:36:02.135Z] v2.3.0-dev.24 [2023-03-09T03:36:02.135Z] v2.3.0-dev.7 [2023-03-09T03:36:02.135Z] v2.3.0-dev.8 [2023-03-09T03:36:02.135Z] v2.3.0-dev.9 [2023-03-09T03:36:02.135Z] v3.0.0-dev.1 [2023-03-09T03:36:02.135Z] v3.0.0-dev.2 [2023-03-09T03:36:02.135Z] v3.0.0-dev.3 [2023-03-09T03:36:02.135Z] v3.0.0-dev.4 [2023-03-09T03:36:02.135Z] v3.0.0-dev.5 [2023-03-09T03:36:02.135Z] v3.0.0-dev.6 [2023-03-09T03:36:02.135Z] v3.0.0-dev.7 [Pipeline] sh [2023-03-09T03:36:02.421Z] + lftools sign git-tag v3.0.0-dev.7 [2023-03-09T03:36:02.987Z] Signing Git tag with Sigul... [2023-03-09T03:36:02.987Z] Signing v3.0.0-dev.7 [Pipeline] echo [2023-03-09T03:36:03.563Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:03.849Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-09T03:36:03.856Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-09T03:36:03.879Z] $ docker stop --time=1 790b60e49c9927c71f84437ab735650e9ccdaa658edbb1f69d827ea5c5d01108 [2023-03-09T03:36:05.218Z] $ docker rm -f --volumes 790b60e49c9927c71f84437ab735650e9ccdaa658edbb1f69d827ea5c5d01108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-09T03:36:05.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T03:36:05.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:36:05.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:36:05.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:36:05.976Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:36:06.007Z] $ 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 [2023-03-09T03:36:06.358Z] $ docker top ef0784998d1285d66eca0cfd6e90fb079715b8e9ea3066386764d026dc5a0151 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T03:36:06.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:36:06.441Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:36:06.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:36:06.555Z] $ docker exec ef0784998d1285d66eca0cfd6e90fb079715b8e9ea3066386764d026dc5a0151 ssh-agent [2023-03-09T03:36:06.649Z] SSH_AUTH_SOCK=/tmp/ssh-1rrWSdE2OqIU/agent.32 [2023-03-09T03:36:06.649Z] SSH_AGENT_PID=38 [2023-03-09T03:36:06.654Z] Running ssh-add (command line suppressed) [2023-03-09T03:36:06.754Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14652941419832920983.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14652941419832920983.key) [2023-03-09T03:36:06.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:36:07.048Z] + git semver bump pre [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [bump_version] DEBUG bumped version:3.0.0-dev.8 [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,218 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,220 [execute] INFO git cat-file --batch-check [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,227 [execute] INFO git cat-file --batch [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T03:36:07.307Z] 2023-03-09 03:36:07,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:36:07.307Z] 3.0.0-dev.8 [Pipeline] } [2023-03-09T03:36:07.320Z] $ docker exec --env ******** --env ******** ef0784998d1285d66eca0cfd6e90fb079715b8e9ea3066386764d026dc5a0151 ssh-agent -k [2023-03-09T03:36:07.421Z] unset SSH_AUTH_SOCK; [2023-03-09T03:36:07.421Z] unset SSH_AGENT_PID; [2023-03-09T03:36:07.421Z] echo Agent pid 38 killed; [2023-03-09T03:36:07.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T03:36:07.732Z] + git semver [Pipeline] } [2023-03-09T03:36:08.007Z] $ docker stop --time=1 ef0784998d1285d66eca0cfd6e90fb079715b8e9ea3066386764d026dc5a0151 [2023-03-09T03:36:09.309Z] $ docker rm -f --volumes ef0784998d1285d66eca0cfd6e90fb079715b8e9ea3066386764d026dc5a0151 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:36:09.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T03:36:09.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:36:09.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:36:09.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:36:09.991Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:36:10.022Z] $ 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 [2023-03-09T03:36:10.380Z] $ docker top 06eacb9fa69bd0f9a1be84cce2899629f48084be7f509b31d1a7be9df02d2ca0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T03:36:10.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:36:10.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:36:10.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:36:10.583Z] $ docker exec 06eacb9fa69bd0f9a1be84cce2899629f48084be7f509b31d1a7be9df02d2ca0 ssh-agent [2023-03-09T03:36:10.683Z] SSH_AUTH_SOCK=/tmp/ssh-czuUlllJswoz/agent.32 [2023-03-09T03:36:10.683Z] SSH_AGENT_PID=38 [2023-03-09T03:36:10.688Z] Running ssh-add (command line suppressed) [2023-03-09T03:36:10.787Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16221169540366059315.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16221169540366059315.key) [2023-03-09T03:36:10.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:36:11.085Z] + git semver push [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,252 [run_push] DEBUG push [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,253 [execute] INFO git cat-file --batch-check [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,257 [execute] INFO git rev-list 88892aa3c9545f0a696001f224952be4d6438f1c -- [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,257 [execute] DEBUG Popen(['git', 'rev-list', '88892aa3c9545f0a696001f224952be4d6438f1c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,265 [execute] INFO git fetch -v origin [2023-03-09T03:36:11.345Z] 2023-03-09 03:36:11,265 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-09T03:36:11.915Z] 2023-03-09 03:36:11,774 [run_push] DEBUG no remote changes detected [2023-03-09T03:36:11.915Z] 2023-03-09 03:36:11,775 [execute] INFO git push origin semver [2023-03-09T03:36:11.915Z] 2023-03-09 03:36:11,775 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-09T03:36:12.851Z] 2023-03-09 03:36:12,543 [run_push] DEBUG push all version tags [2023-03-09T03:36:12.851Z] 2023-03-09 03:36:12,544 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-09T03:36:12.851Z] 2023-03-09 03:36:12,544 [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) [2023-03-09T03:36:13.419Z] 2023-03-09 03:36:13,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T03:36:13.419Z] 3.0.0-dev.8 [Pipeline] } [2023-03-09T03:36:13.432Z] $ docker exec --env ******** --env ******** 06eacb9fa69bd0f9a1be84cce2899629f48084be7f509b31d1a7be9df02d2ca0 ssh-agent -k [2023-03-09T03:36:13.525Z] unset SSH_AUTH_SOCK; [2023-03-09T03:36:13.526Z] unset SSH_AGENT_PID; [2023-03-09T03:36:13.526Z] echo Agent pid 38 killed; [2023-03-09T03:36:13.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T03:36:13.832Z] + git semver [Pipeline] } [2023-03-09T03:36:14.106Z] $ docker stop --time=1 06eacb9fa69bd0f9a1be84cce2899629f48084be7f509b31d1a7be9df02d2ca0 [2023-03-09T03:36:15.461Z] $ docker rm -f --volumes 06eacb9fa69bd0f9a1be84cce2899629f48084be7f509b31d1a7be9df02d2ca0 [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 [2023-03-09T03:36:15.998Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-03-09T03:36:15.998Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T03:36:15.998Z] total 16 [2023-03-09T03:36:15.998Z] drwxr-xr-x 3 root root 4096 Mar 9 03:26 . [2023-03-09T03:36:15.998Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:36 .. [2023-03-09T03:36:15.998Z] drwxr-xr-x 2 root root 4096 Mar 9 03:26 cost [2023-03-09T03:36:15.998Z] -rw-r--r-- 1 root root 85 Mar 9 03:26 cost.csv [2023-03-09T03:36:15.998Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T03:36:15.998Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T03:36:15.998Z] total 16 [2023-03-09T03:36:15.998Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:26 . [2023-03-09T03:36:15.998Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:36 .. [2023-03-09T03:36:15.998Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 03:26 cost [2023-03-09T03:36:15.998Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 9 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:16.288Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:17.147Z] ---> package-listing.sh [2023-03-09T03:36:17.147Z] ++ facter osfamily [2023-03-09T03:36:17.147Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T03:36:17.405Z] + OS_FAMILY=debian [2023-03-09T03:36:17.405Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-03-09T03:36:17.405Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T03:36:17.405Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T03:36:17.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T03:36:17.405Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T03:36:17.405Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-09T03:36:17.405Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T03:36:17.405Z] + case "${OS_FAMILY}" in [2023-03-09T03:36:17.405Z] + dpkg -l [2023-03-09T03:36:17.405Z] + grep '^ii' [2023-03-09T03:36:17.405Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T03:36:17.405Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T03:36:17.405Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T03:36:17.405Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-09T03:36:17.405Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-03-09T03:36:17.405Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-03-09T03:36:17.416Z] 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 [2023-03-09T03:36:17.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:36:18.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:36:18.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:36:18.329Z] prd-ubuntu20.04-docker-8c-8g-9377 does not seem to be running inside a container [2023-03-09T03:36:18.364Z] $ 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 [2023-03-09T03:36:18.598Z] $ docker top b07c4a0f4b55f7efab6498966aad4ff87a4ad0812f64b0aaa972db36b47eceab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:36:18.939Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T03:36:19.223Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T03:36:19.505Z] + ls /var/log/sa-host [2023-03-09T03:36:19.505Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:36:19.625Z] provisioning config files... [2023-03-09T03:36:19.654Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5133439126057147729tmp [Pipeline] { [Pipeline] echo [2023-03-09T03:36:19.672Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:20.030Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T03:36:20.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:20.368Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T03:36:20.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:20.661Z] ---> sudo-logs.sh [2023-03-09T03:36:20.662Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T03:36:20.682Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:20.963Z] ---> job-cost.sh [2023-03-09T03:36:20.963Z] lf-activate-venv: SKIPPING [2023-03-09T03:36:20.963Z] DEBUG: total: 0.2199999988079071 [2023-03-09T03:36:20.963Z] INFO: Retrieving Stack Cost... [2023-03-09T03:36:21.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T03:36:21.790Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T03:36:21.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:36:22.092Z] ---> logs-deploy.sh [2023-03-09T03:36:22.092Z] lf-activate-venv: SKIPPING [2023-03-09T03:36:22.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/63 [2023-03-09T03:36:22.092Z] INFO: archiving workspace using pattern(s): [2023-03-09T03:36:23.029Z] Archives upload complete. [2023-03-09T03:36:23.029Z] INFO: archiving logs to Nexus