Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d33e94f3f1180f7604676314315f9cce542fcb85 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-ssh16344688444740132824.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-ssh2740084472405528075.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-ssh12889967164784896414.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-ssh8501779209513276661.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-ssh5988911298641168820.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9323 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 d33e94f3f1180f7604676314315f9cce542fcb85 (main) Commit message: "Merge pull request #255 from lenny-intel/common-config" > 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 d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 > git rev-list --no-walk 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T02:42:11.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T02:42:11.387Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T02:42:11.404Z] ========================================================= [2023-03-09T02:42:11.404Z] EdgeX Global Pipelines Version Info [2023-03-09T02:42:11.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:42:12.116Z] ------------------- [2023-03-09T02:42:12.116Z] stable info: [2023-03-09T02:42:12.116Z] ------------------- [2023-03-09T02:42:12.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T02:42:12.116Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:42:12.116Z] Message: update stable to v1.0.244 [2023-03-09T02:42:12.686Z] ------------------- [2023-03-09T02:42:12.686Z] experimental info: [2023-03-09T02:42:12.686Z] ------------------- [2023-03-09T02:42:12.686Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T02:42:12.686Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:42:12.686Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T02:42:12.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-09T02:42:12.867Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-09T02:42:12.884Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T02:42:12.902Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T02:42:12.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T02:42:12.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T02:42:12.941Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T02:42:12.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T02:42:12.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T02:42:12.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T02:42:12.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T02:42:13.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-09T02:42:13.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T02:42:13.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T02:42:13.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:42:13.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:42:13.078Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:42:13.095Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:42:13.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T02:42:13.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T02:42:13.130Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T02:42:13.142Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T02:42:13.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T02:42:13.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T02:42:13.177Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T02:42:13.188Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T02:42:13.198Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T02:42:13.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-09T02:42:13.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-09T02:42:13.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-09T02:42:13.260Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo [2023-03-09T02:42:13.272Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d33e94f [Pipeline] echo [2023-03-09T02:42:13.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:42:13.323Z] provisioning config files... [2023-03-09T02:42:13.338Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15768428508260871426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:42:13.651Z] ---> docker-login.sh [2023-03-09T02:42:13.651Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:42:13.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:14.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:14.174Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:14.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:14.174Z] [2023-03-09T02:42:14.174Z] Login Succeeded [2023-03-09T02:42:14.174Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:42:14.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:14.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:14.174Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:14.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:14.174Z] [2023-03-09T02:42:14.174Z] Login Succeeded [2023-03-09T02:42:14.174Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:42:14.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:14.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:14.174Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:14.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:14.174Z] [2023-03-09T02:42:14.174Z] Login Succeeded [2023-03-09T02:42:14.174Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:42:14.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:14.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:14.434Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:14.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:14.434Z] [2023-03-09T02:42:14.434Z] Login Succeeded [2023-03-09T02:42:14.434Z] docker.io [2023-03-09T02:42:14.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:14.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:14.693Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:14.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:14.693Z] [2023-03-09T02:42:14.693Z] Login Succeeded [2023-03-09T02:42:14.693Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:42:14.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T02:42:15.066Z] + git rev-list -1 --merges d33e94f3f1180f7604676314315f9cce542fcb85~1..d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo [2023-03-09T02:42:15.117Z] -----------> git rev-list -1 --merges d33e94f3f1180f7604676314315f9cce542fcb85~1..d33e94f3f1180f7604676314315f9cce542fcb85 d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:42:15.117Z] d33e94f3f1180f7604676314315f9cce542fcb85 [false] [Pipeline] sh [2023-03-09T02:42:15.408Z] + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo [2023-03-09T02:42:15.426Z] ========================================================= [2023-03-09T02:42:15.426Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T02:42:15.426Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:42:15.744Z] + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] echo [2023-03-09T02:42:15.756Z] [semverPrep] GIT_COMMIT: d33e94f3f1180f7604676314315f9cce542fcb85, Commit Message: Merge pull request #255 from lenny-intel/common-config [Pipeline] echo [2023-03-09T02:42:15.765Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T02:42:16.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:42:16.130Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T02:42:16.130Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T02:42:16.130Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T02:42:16.130Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T02:42:16.130Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T02:42:16.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:42:16.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:42:16.491Z] [2023-03-09T02:42:16.491Z] 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-09T02:42:16.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:42:16.799Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T02:42:16.799Z] b85a868b505f: Pulling fs layer [2023-03-09T02:42:16.799Z] e2be974225ed: Pulling fs layer [2023-03-09T02:42:16.799Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T02:42:16.799Z] 988bab9f4d93: Pulling fs layer [2023-03-09T02:42:16.799Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T02:42:16.799Z] eaf3925da568: Pulling fs layer [2023-03-09T02:42:16.799Z] bab4dde63d76: Pulling fs layer [2023-03-09T02:42:16.799Z] bde34c3a00c8: Pulling fs layer [2023-03-09T02:42:16.799Z] b352a97aabf1: Pulling fs layer [2023-03-09T02:42:16.799Z] 4872d77fe225: Pulling fs layer [2023-03-09T02:42:16.799Z] 5851b861e8e6: Pulling fs layer [2023-03-09T02:42:16.799Z] bab4dde63d76: Waiting [2023-03-09T02:42:16.799Z] bde34c3a00c8: Waiting [2023-03-09T02:42:16.799Z] b352a97aabf1: Waiting [2023-03-09T02:42:16.799Z] 4872d77fe225: Waiting [2023-03-09T02:42:16.799Z] 5851b861e8e6: Waiting [2023-03-09T02:42:16.799Z] 988bab9f4d93: Waiting [2023-03-09T02:42:16.799Z] 1469e6f7b9e6: Waiting [2023-03-09T02:42:16.799Z] eaf3925da568: Waiting [2023-03-09T02:42:16.799Z] e2be974225ed: Verifying Checksum [2023-03-09T02:42:16.799Z] e2be974225ed: Download complete [2023-03-09T02:42:16.799Z] 988bab9f4d93: Download complete [2023-03-09T02:42:17.060Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T02:42:17.060Z] 1469e6f7b9e6: Download complete [2023-03-09T02:42:17.060Z] eaf3925da568: Verifying Checksum [2023-03-09T02:42:17.060Z] eaf3925da568: Download complete [2023-03-09T02:42:17.060Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T02:42:17.060Z] 339a4e72a1f5: Download complete [2023-03-09T02:42:17.060Z] bde34c3a00c8: Download complete [2023-03-09T02:42:17.060Z] b352a97aabf1: Verifying Checksum [2023-03-09T02:42:17.060Z] b352a97aabf1: Download complete [2023-03-09T02:42:17.060Z] 4872d77fe225: Verifying Checksum [2023-03-09T02:42:17.060Z] 4872d77fe225: Download complete [2023-03-09T02:42:17.060Z] 5851b861e8e6: Download complete [2023-03-09T02:42:17.321Z] b85a868b505f: Verifying Checksum [2023-03-09T02:42:17.321Z] b85a868b505f: Download complete [2023-03-09T02:42:17.581Z] bab4dde63d76: Verifying Checksum [2023-03-09T02:42:18.518Z] b85a868b505f: Pull complete [2023-03-09T02:42:18.777Z] e2be974225ed: Pull complete [2023-03-09T02:42:19.345Z] 339a4e72a1f5: Pull complete [2023-03-09T02:42:19.345Z] 988bab9f4d93: Pull complete [2023-03-09T02:42:19.915Z] 1469e6f7b9e6: Pull complete [2023-03-09T02:42:19.915Z] eaf3925da568: Pull complete [2023-03-09T02:42:21.826Z] bab4dde63d76: Pull complete [2023-03-09T02:42:22.087Z] bde34c3a00c8: Pull complete [2023-03-09T02:42:22.087Z] b352a97aabf1: Pull complete [2023-03-09T02:42:22.347Z] 4872d77fe225: Pull complete [2023-03-09T02:42:22.347Z] 5851b861e8e6: Pull complete [2023-03-09T02:42:22.347Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T02:42:22.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:42:22.347Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:42:22.442Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:42:22.480Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T02:42:24.577Z] $ docker top 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e -eo pid,comm [2023-03-09T02:42:24.632Z] 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-09T02:42:24.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:42:24.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:42:24.670Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:42:24.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:42:24.789Z] $ docker exec 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent [2023-03-09T02:42:24.894Z] SSH_AUTH_SOCK=/tmp/ssh-6lXO3LncbMtv/agent.32 [2023-03-09T02:42:24.894Z] SSH_AGENT_PID=38 [2023-03-09T02:42:24.901Z] Running ssh-add (command line suppressed) [2023-03-09T02:42:25.004Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7084291466607949172.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7084291466607949172.key) [2023-03-09T02:42:25.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:42:25.305Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T02:42:25.325Z] $ docker exec --env ******** --env ******** 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent -k [2023-03-09T02:42:25.431Z] unset SSH_AUTH_SOCK; [2023-03-09T02:42:25.432Z] unset SSH_AGENT_PID; [2023-03-09T02:42:25.432Z] echo Agent pid 38 killed; [2023-03-09T02:42:25.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T02:42:25.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:42:25.465Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:42:25.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:42:25.586Z] $ docker exec 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent [2023-03-09T02:42:25.695Z] SSH_AUTH_SOCK=/tmp/ssh-GJ65s14DQOyV/agent.70 [2023-03-09T02:42:25.695Z] SSH_AGENT_PID=76 [2023-03-09T02:42:25.700Z] Running ssh-add (command line suppressed) [2023-03-09T02:42:25.813Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15755414576223892826.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15755414576223892826.key) [2023-03-09T02:42:25.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:42:26.115Z] + git semver init [2023-03-09T02:42:26.373Z] 2023-03-09 02:42:26,343 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T02:42:26.374Z] 2023-03-09 02:42:26,344 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-09T02:42:26.374Z] 2023-03-09 02:42:26,345 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-03-09T02:42:26.374Z] 2023-03-09 02:42:26,345 [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-09T02:42:27.313Z] 2023-03-09 02:42:27,126 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-03-09T02:42:27.313Z] 2023-03-09 02:42:27,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-03-09T02:42:27.313Z] 2023-03-09 02:42:27,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:42:27.313Z] 2023-03-09 02:42:27,127 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:42:27.313Z] 3.0.0-dev.6 [Pipeline] } [2023-03-09T02:42:27.326Z] $ docker exec --env ******** --env ******** 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e ssh-agent -k [2023-03-09T02:42:27.433Z] unset SSH_AUTH_SOCK; [2023-03-09T02:42:27.433Z] unset SSH_AGENT_PID; [2023-03-09T02:42:27.433Z] echo Agent pid 76 killed; [2023-03-09T02:42:27.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:42:27.739Z] + git semver [Pipeline] } [2023-03-09T02:42:28.017Z] $ docker stop --time=1 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e [2023-03-09T02:42:29.365Z] $ docker rm -f --volumes 0fe99dddd2607ab077ff14f415366cc22ecb8620afe20485bc51bdee2bddf92e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:42:29.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T02:42:29.928Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T02:42:29.932Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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-09T02:42:30.063Z] provisioning config files... [2023-03-09T02:42:30.072Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3209131453348626188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:42:30.140Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9265 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-03-09T02:42:30.154Z] Running in /w/workspace/device-snmp-go/62 [Pipeline] { [Pipeline] checkout [2023-03-09T02:42:30.190Z] Selected Git installation does not exist. Using Default [2023-03-09T02:42:30.190Z] The recommended git tool is: NONE [2023-03-09T02:42:30.369Z] ---> docker-login.sh [2023-03-09T02:42:30.369Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:42:30.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:30.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:30.369Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:30.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:30.369Z] [2023-03-09T02:42:30.369Z] Login Succeeded [2023-03-09T02:42:30.369Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:42:30.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:30.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:30.369Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:30.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:30.369Z] [2023-03-09T02:42:30.369Z] Login Succeeded [2023-03-09T02:42:30.369Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:42:30.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:30.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:30.628Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:30.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:30.628Z] [2023-03-09T02:42:30.628Z] Login Succeeded [2023-03-09T02:42:30.628Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:42:30.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:30.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:30.628Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:30.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:30.628Z] [2023-03-09T02:42:30.628Z] Login Succeeded [2023-03-09T02:42:30.628Z] docker.io [2023-03-09T02:42:30.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:42:30.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:42:30.887Z] Configure a credential helper to remove this warning. See [2023-03-09T02:42:30.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:42:30.887Z] [2023-03-09T02:42:30.887Z] Login Succeeded [2023-03-09T02:42:30.887Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:42:30.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:42:30.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:42:30.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:42:30.983Z] ========================================================= [2023-03-09T02:42:30.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T02:42:30.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:42:31.288Z] + 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-09T02:42:31.288Z] Sending build context to Docker daemon 5.69MB [2023-03-09T02:42:31.288Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:42:31.288Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:42:31.288Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T02:42:31.288Z] 213ec9aee27d: Pulling fs layer [2023-03-09T02:42:31.288Z] 4583459ba037: Pulling fs layer [2023-03-09T02:42:31.288Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T02:42:31.288Z] 53926ce57604: Pulling fs layer [2023-03-09T02:42:31.288Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T02:42:31.288Z] 22ff95d597cd: Pulling fs layer [2023-03-09T02:42:31.288Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T02:42:31.288Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T02:42:31.288Z] a7acece74701: Pulling fs layer [2023-03-09T02:42:31.288Z] 22ff95d597cd: Waiting [2023-03-09T02:42:31.288Z] 12d6caf4c0d1: Waiting [2023-03-09T02:42:31.288Z] 96b7cbca73a9: Waiting [2023-03-09T02:42:31.288Z] a7acece74701: Waiting [2023-03-09T02:42:31.288Z] 53926ce57604: Waiting [2023-03-09T02:42:31.288Z] 21b2b0c7a3f4: Waiting [2023-03-09T02:42:31.288Z] 4583459ba037: Verifying Checksum [2023-03-09T02:42:31.288Z] 4583459ba037: Download complete [2023-03-09T02:42:31.288Z] 21b2b0c7a3f4: Download complete [2023-03-09T02:42:31.553Z] 22ff95d597cd: Verifying Checksum [2023-03-09T02:42:31.553Z] 22ff95d597cd: Download complete [2023-03-09T02:42:31.553Z] 213ec9aee27d: Verifying Checksum [2023-03-09T02:42:31.553Z] 213ec9aee27d: Download complete [2023-03-09T02:42:31.553Z] 12d6caf4c0d1: Download complete [2023-03-09T02:42:31.553Z] 213ec9aee27d: Pull complete [2023-03-09T02:42:31.814Z] 4583459ba037: Pull complete [2023-03-09T02:42:31.814Z] 93c1e223e6f2: Pull complete [2023-03-09T02:42:32.073Z] a7acece74701: Verifying Checksum [2023-03-09T02:42:32.073Z] a7acece74701: Download complete [2023-03-09T02:42:32.332Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T02:42:32.332Z] 96b7cbca73a9: Download complete [2023-03-09T02:42:32.332Z] 53926ce57604: Verifying Checksum [2023-03-09T02:42:32.332Z] 53926ce57604: Download complete [2023-03-09T02:42:35.809Z] using credential edgex-jenkins-ssh [2023-03-09T02:42:35.828Z] Cloning the remote Git repository [2023-03-09T02:42:35.890Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T02:42:35.964Z] > git init /w/workspace/device-snmp-go/62 # timeout=10 [2023-03-09T02:42:36.145Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-09T02:42:36.147Z] > git --version # timeout=10 [2023-03-09T02:42:36.173Z] > git --version # 'git version 2.25.1' [2023-03-09T02:42:36.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:42:36.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:42:36.515Z] 53926ce57604: Pull complete [2023-03-09T02:42:36.515Z] 21b2b0c7a3f4: Pull complete [2023-03-09T02:42:36.515Z] 22ff95d597cd: Pull complete [2023-03-09T02:42:36.515Z] 12d6caf4c0d1: Pull complete [2023-03-09T02:42:37.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-09T02:42:37.358Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:42:37.888Z] 96b7cbca73a9: Pull complete [2023-03-09T02:42:38.411Z] Avoid second fetch [2023-03-09T02:42:38.412Z] Checking out Revision d33e94f3f1180f7604676314315f9cce542fcb85 (main) [2023-03-09T02:42:38.819Z] a7acece74701: Pull complete [2023-03-09T02:42:38.819Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T02:42:38.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T02:42:38.819Z] ---> db6d94c90886 [2023-03-09T02:42:38.819Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:42:38.451Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:42:38.491Z] > git checkout -f d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 [2023-03-09T02:42:39.081Z] Commit message: "Merge pull request #255 from lenny-intel/common-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:42:39.928Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T02:42:39.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T02:42:39.928Z] Dload Upload Total Spent Left Speed [2023-03-09T02:42:39.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-03-09T02:42:40.584Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T02:42:40.933Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-03-09T02:42:40.933Z] /etc/docker/daemon.new [2023-03-09T02:42:40.933Z] { [2023-03-09T02:42:40.933Z] "registry-mirrors": [ [2023-03-09T02:42:40.933Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T02:42:40.933Z] ], [2023-03-09T02:42:40.933Z] "bip": "10.250.0.254/24", [2023-03-09T02:42:40.933Z] "hosts": [ [2023-03-09T02:42:40.933Z] "tcp://0.0.0.0:5555", [2023-03-09T02:42:40.933Z] "unix:///var/run/docker.sock" [2023-03-09T02:42:40.933Z] ], [2023-03-09T02:42:40.933Z] "mtu": 1458, [2023-03-09T02:42:40.933Z] "selinux-enabled": true, [2023-03-09T02:42:40.933Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T02:42:40.933Z] } [Pipeline] sh [2023-03-09T02:42:41.277Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T02:42:41.357Z] ---> Running in e370fd987f00 [2023-03-09T02:42:41.357Z] Removing intermediate container e370fd987f00 [2023-03-09T02:42:41.357Z] ---> 696a7fc76038 [2023-03-09T02:42:41.357Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:42:41.357Z] ---> Running in 3ba775cf5e47 [2023-03-09T02:42:41.357Z] Removing intermediate container 3ba775cf5e47 [2023-03-09T02:42:41.357Z] ---> 8599eaf21d6f [2023-03-09T02:42:41.357Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:42:41.621Z] ---> Running in fa127ae8452f [2023-03-09T02:42:41.621Z] Removing intermediate container fa127ae8452f [2023-03-09T02:42:41.621Z] ---> 2869bac04aa2 [2023-03-09T02:42:41.621Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:42:41.621Z] ---> Running in 0602b857f0fc [2023-03-09T02:42:41.623Z] + sudo service docker restart [2023-03-09T02:42:41.880Z] Removing intermediate container 0602b857f0fc [2023-03-09T02:42:41.880Z] ---> e40f363adfc1 [2023-03-09T02:42:41.880Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:42:41.880Z] ---> Running in ad9edf31021b [2023-03-09T02:42:42.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:42:42.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:42:42.705Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:42:42.705Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:42:42.705Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:42:42.705Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:42:42.705Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:42:42.705Z] OK: 216 MiB in 55 packages [2023-03-09T02:42:42.965Z] Removing intermediate container ad9edf31021b [2023-03-09T02:42:42.965Z] ---> b59e880c3748 [2023-03-09T02:42:42.965Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T02:42:42.965Z] ---> Running in 9bae594c5c34 [2023-03-09T02:42:43.224Z] Removing intermediate container 9bae594c5c34 [2023-03-09T02:42:43.224Z] ---> ff0687bd4833 [2023-03-09T02:42:43.224Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:42:43.224Z] ---> d5b3fb8a06d5 [2023-03-09T02:42:43.224Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:42:43.224Z] ---> Running in 931710c27d98 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:42:59.922Z] provisioning config files... [2023-03-09T02:42:59.955Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/62@tmp/config222249759588225689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:43:00.317Z] ---> docker-login.sh [2023-03-09T02:43:00.317Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:43:00.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:43:00.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:43:00.908Z] Configure a credential helper to remove this warning. See [2023-03-09T02:43:00.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:43:00.908Z] [2023-03-09T02:43:00.908Z] Login Succeeded [2023-03-09T02:43:00.908Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:43:01.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:43:01.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:43:01.454Z] Configure a credential helper to remove this warning. See [2023-03-09T02:43:01.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:43:01.454Z] [2023-03-09T02:43:01.454Z] Login Succeeded [2023-03-09T02:43:01.454Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:43:01.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:43:01.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:43:01.726Z] Configure a credential helper to remove this warning. See [2023-03-09T02:43:01.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:43:01.726Z] [2023-03-09T02:43:01.726Z] Login Succeeded [2023-03-09T02:43:01.726Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:43:01.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:43:02.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:43:02.275Z] Configure a credential helper to remove this warning. See [2023-03-09T02:43:02.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:43:02.275Z] [2023-03-09T02:43:02.275Z] Login Succeeded [2023-03-09T02:43:02.275Z] docker.io [2023-03-09T02:43:02.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:43:02.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:43:02.546Z] Configure a credential helper to remove this warning. See [2023-03-09T02:43:02.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:43:02.546Z] [2023-03-09T02:43:02.546Z] Login Succeeded [2023-03-09T02:43:02.546Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:43:02.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:43:02.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:43:02.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:43:02.819Z] ========================================================= [2023-03-09T02:43:02.819Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T02:43:02.819Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:43:03.173Z] + 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-09T02:43:03.440Z] Sending build context to Docker daemon 2.948MB [2023-03-09T02:43:03.440Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:43:03.440Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:43:03.712Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T02:43:03.712Z] 9b18e9b68314: Pulling fs layer [2023-03-09T02:43:03.712Z] 35d82f9e3411: Pulling fs layer [2023-03-09T02:43:03.712Z] e16973657156: Pulling fs layer [2023-03-09T02:43:03.712Z] fc693d55d65f: Pulling fs layer [2023-03-09T02:43:03.712Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T02:43:03.712Z] dda99020689f: Pulling fs layer [2023-03-09T02:43:03.712Z] db1c61fa0a46: Pulling fs layer [2023-03-09T02:43:03.712Z] 891c053d2c06: Pulling fs layer [2023-03-09T02:43:03.712Z] dda99020689f: Waiting [2023-03-09T02:43:03.712Z] fc693d55d65f: Waiting [2023-03-09T02:43:03.712Z] 7e9fc2657dce: Waiting [2023-03-09T02:43:03.712Z] db1c61fa0a46: Waiting [2023-03-09T02:43:03.712Z] 891c053d2c06: Waiting [2023-03-09T02:43:03.712Z] e16973657156: Verifying Checksum [2023-03-09T02:43:03.712Z] e16973657156: Download complete [2023-03-09T02:43:03.712Z] 35d82f9e3411: Download complete [2023-03-09T02:43:03.712Z] 7e9fc2657dce: Download complete [2023-03-09T02:43:03.712Z] dda99020689f: Verifying Checksum [2023-03-09T02:43:03.712Z] dda99020689f: Download complete [2023-03-09T02:43:03.712Z] 9b18e9b68314: Verifying Checksum [2023-03-09T02:43:03.712Z] 9b18e9b68314: Download complete [2023-03-09T02:43:04.685Z] 9b18e9b68314: Pull complete [2023-03-09T02:43:04.685Z] 891c053d2c06: Verifying Checksum [2023-03-09T02:43:04.960Z] 891c053d2c06: Download complete [2023-03-09T02:43:05.231Z] 35d82f9e3411: Pull complete [2023-03-09T02:43:05.503Z] e16973657156: Pull complete [2023-03-09T02:43:06.091Z] db1c61fa0a46: Verifying Checksum [2023-03-09T02:43:06.092Z] db1c61fa0a46: Download complete [2023-03-09T02:43:06.677Z] fc693d55d65f: Verifying Checksum [2023-03-09T02:43:06.677Z] fc693d55d65f: Download complete [2023-03-09T02:43:09.774Z] Removing intermediate container 931710c27d98 [2023-03-09T02:43:09.774Z] ---> 4473141359ca [2023-03-09T02:43:09.774Z] Step 11/12 : COPY . . [2023-03-09T02:43:09.774Z] ---> 477188647a23 [2023-03-09T02:43:09.774Z] Step 12/12 : RUN ${MAKE} [2023-03-09T02:43:09.774Z] ---> Running in 00d55b441290 [2023-03-09T02:43:09.774Z] noop [2023-03-09T02:43:10.032Z] Removing intermediate container 00d55b441290 [2023-03-09T02:43:10.032Z] ---> 96232506f052 [2023-03-09T02:43:10.032Z] Successfully built 96232506f052 [2023-03-09T02:43:10.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:43:10.336Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:43:10.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:43:10.404Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:43:10.438Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-09T02:43:10.820Z] $ docker top 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:43:11.166Z] + go version [2023-03-09T02:43:11.166Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T02:43:11.177Z] $ docker stop --time=1 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e [2023-03-09T02:43:12.522Z] $ docker rm -f --volumes 1d2aeb9949be6aedf6bf4a1b318d1aa42023a395fe31591b62354801526f118e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:43:12.936Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:43:12.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:43:13.013Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:43:13.051Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-09T02:43:13.398Z] $ docker top 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:43:13.746Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:43:14.049Z] + make test [2023-03-09T02:43:14.049Z] go test ./... -coverprofile=coverage.out [2023-03-09T02:43:14.616Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T02:43:19.023Z] fc693d55d65f: Pull complete [2023-03-09T02:43:19.023Z] 7e9fc2657dce: Pull complete [2023-03-09T02:43:19.023Z] dda99020689f: Pull complete [2023-03-09T02:43:22.723Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-09T02:43:22.723Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2023-03-09T02:43:25.681Z] db1c61fa0a46: Pull complete [2023-03-09T02:43:27.636Z] 891c053d2c06: Pull complete [2023-03-09T02:43:27.636Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T02:43:27.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T02:43:27.636Z] ---> f96f9c87975a [2023-03-09T02:43:27.636Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:43:29.279Z] 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-09T02:43:29.280Z] go vet ./... [2023-03-09T02:43:29.597Z] ---> Running in 6c0b3ffce352 [2023-03-09T02:43:29.597Z] Removing intermediate container 6c0b3ffce352 [2023-03-09T02:43:29.597Z] ---> 1becf5079464 [2023-03-09T02:43:29.597Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:43:29.597Z] ---> Running in 172cb86ef7d2 [2023-03-09T02:43:29.864Z] Removing intermediate container 172cb86ef7d2 [2023-03-09T02:43:29.864Z] ---> 4bf12737299b [2023-03-09T02:43:29.864Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:43:30.135Z] ---> Running in 5a7cfd74d97d [2023-03-09T02:43:30.402Z] Removing intermediate container 5a7cfd74d97d [2023-03-09T02:43:30.402Z] ---> 9452cc4dc67f [2023-03-09T02:43:30.402Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:43:30.402Z] ---> Running in dc00c2095f4a [2023-03-09T02:43:30.675Z] Removing intermediate container dc00c2095f4a [2023-03-09T02:43:30.675Z] ---> f1e804d3053f [2023-03-09T02:43:30.675Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:43:30.675Z] ---> Running in 610f2ea09e50 [2023-03-09T02:43:32.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:43:32.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:43:32.558Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T02:43:32.558Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T02:43:32.558Z] ./bin/test-attribution-txt.sh [2023-03-09T02:43:32.558Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-09T02:43:32.558Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-09T02:43:32.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T02:43:32.588Z] $ docker stop --time=1 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e [2023-03-09T02:43:33.330Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:43:33.330Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:43:33.330Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:43:33.330Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:43:33.330Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:43:33.330Z] OK: 226 MiB in 55 packages [2023-03-09T02:43:34.311Z] Removing intermediate container 610f2ea09e50 [2023-03-09T02:43:34.311Z] ---> 46a551127120 [2023-03-09T02:43:34.311Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-09T02:43:34.386Z] $ docker rm -f --volumes 0205f0d54911015e29fa5e7a5203655a0641227a73665af75f3cdce8f322b60e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:43:34.576Z] ---> Running in a3e0419dff81 [2023-03-09T02:43:34.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T02:43:34.842Z] Removing intermediate container a3e0419dff81 [2023-03-09T02:43:34.842Z] ---> 0597576cd685 [2023-03-09T02:43:34.842Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:43:34.854Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T02:43:35.111Z] ---> a6bdd1205c0a [2023-03-09T02:43:35.111Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:43:35.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T02:43:35.382Z] ---> Running in 2c3555fec89c [2023-03-09T02:43:35.550Z] + ls -al . [2023-03-09T02:43:35.550Z] total 172 [2023-03-09T02:43:35.550Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:43 . [2023-03-09T02:43:35.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 .. [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:42 .dockerignore [2023-03-09T02:43:35.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:43 .git [2023-03-09T02:43:35.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 .github [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:42 .gitignore [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:42 .golangci.yml [2023-03-09T02:43:35.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:42 .semver [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:42 Attribution.txt [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:42 CHANGELOG.md [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:42 Dockerfile [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:42 GOVERNANCE.md [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:42 Jenkinsfile [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:42 LICENSE [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:42 Makefile [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:42 OWNERS.md [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:42 README.md [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 02:42 VERSION [2023-03-09T02:43:35.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:42 bin [2023-03-09T02:43:35.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 cmd [2023-03-09T02:43:35.550Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:43 coverage.out [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:42 go.mod [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:42 go.sum [2023-03-09T02:43:35.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 internal [2023-03-09T02:43:35.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 snap [2023-03-09T02:43:35.550Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:43:35.852Z] + 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=d33e94f3f1180f7604676314315f9cce542fcb85 --label arch=amd64 --label version=3.0.0-dev.6 . [2023-03-09T02:43:35.852Z] Sending build context to Docker daemon 5.699MB [2023-03-09T02:43:35.852Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:43:35.852Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T02:43:35.852Z] ---> 96232506f052 [2023-03-09T02:43:35.852Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:43:35.852Z] ---> Running in cac79ec82d51 [2023-03-09T02:43:36.110Z] Removing intermediate container cac79ec82d51 [2023-03-09T02:43:36.110Z] ---> 58fa0f181ca2 [2023-03-09T02:43:36.110Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:43:36.110Z] ---> Running in e8fc58e203bf [2023-03-09T02:43:36.110Z] Removing intermediate container e8fc58e203bf [2023-03-09T02:43:36.110Z] ---> 07ec4491bf10 [2023-03-09T02:43:36.110Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:43:36.110Z] ---> Running in 9526b77566e8 [2023-03-09T02:43:36.368Z] Removing intermediate container 9526b77566e8 [2023-03-09T02:43:36.368Z] ---> 8580b5160f6f [2023-03-09T02:43:36.368Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:43:36.368Z] ---> Running in e24d809d5ece [2023-03-09T02:43:36.368Z] Removing intermediate container e24d809d5ece [2023-03-09T02:43:36.368Z] ---> 3ce5502425a9 [2023-03-09T02:43:36.368Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:43:36.626Z] ---> Running in f341723bd22c [2023-03-09T02:43:36.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:43:36.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:43:37.453Z] OK: 216 MiB in 55 packages [2023-03-09T02:43:37.712Z] Removing intermediate container f341723bd22c [2023-03-09T02:43:37.712Z] ---> cbd188810c4e [2023-03-09T02:43:37.712Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-09T02:43:37.712Z] ---> Running in 9a081abadf6d [2023-03-09T02:43:37.712Z] Removing intermediate container 9a081abadf6d [2023-03-09T02:43:37.712Z] ---> fcc02d61e102 [2023-03-09T02:43:37.712Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T02:43:37.971Z] ---> 666726f3001e [2023-03-09T02:43:37.971Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:43:37.971Z] ---> Running in 6760c59979b6 [2023-03-09T02:43:38.905Z] Removing intermediate container 6760c59979b6 [2023-03-09T02:43:38.905Z] ---> de5df376cf76 [2023-03-09T02:43:38.905Z] Step 11/24 : COPY . . [2023-03-09T02:43:39.472Z] ---> e19c6fa085cb [2023-03-09T02:43:39.472Z] Step 12/24 : RUN ${MAKE} [2023-03-09T02:43:39.472Z] ---> Running in 0f838216f8e9 [2023-03-09T02:43:39.731Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-09T02:43:57.823Z] Removing intermediate container 0f838216f8e9 [2023-03-09T02:43:57.823Z] ---> 7fd5f65df37b [2023-03-09T02:43:57.823Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T02:43:57.823Z] 3.16: Pulling from library/alpine [2023-03-09T02:43:57.823Z] ef5531b6e74e: Pulling fs layer [2023-03-09T02:43:58.121Z] ef5531b6e74e: Verifying Checksum [2023-03-09T02:43:58.121Z] ef5531b6e74e: Download complete [2023-03-09T02:43:58.121Z] ef5531b6e74e: Pull complete [2023-03-09T02:43:58.121Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T02:43:58.121Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T02:43:58.121Z] ---> dfd21b5a31f5 [2023-03-09T02:43:58.121Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T02:43:58.380Z] ---> Running in 925dc6c73ecd [2023-03-09T02:43:58.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:43:58.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:43:59.155Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T02:43:59.155Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:43:59.155Z] OK: 6 MiB in 15 packages [2023-03-09T02:43:59.412Z] Removing intermediate container 925dc6c73ecd [2023-03-09T02:43:59.412Z] ---> 71da46874d82 [2023-03-09T02:43:59.412Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-09T02:44:00.056Z] ---> 19a44eacf085 [2023-03-09T02:44:00.056Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-09T02:44:00.329Z] ---> 61f78ca1ed11 [2023-03-09T02:44:00.329Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-09T02:44:00.329Z] ---> 0961fcf4e73e [2023-03-09T02:44:00.329Z] Step 18/24 : EXPOSE 59993 [2023-03-09T02:44:00.329Z] ---> Running in a8ca2849190d [2023-03-09T02:44:00.598Z] Removing intermediate container a8ca2849190d [2023-03-09T02:44:00.598Z] ---> fc39c9f8ee63 [2023-03-09T02:44:00.598Z] Step 19/24 : EXPOSE 161 [2023-03-09T02:44:00.598Z] ---> Running in 4049391dd343 [2023-03-09T02:44:00.598Z] Removing intermediate container 4049391dd343 [2023-03-09T02:44:00.598Z] ---> b0541cc8ecef [2023-03-09T02:44:00.598Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-09T02:44:00.598Z] ---> Running in cf3c4102099f [2023-03-09T02:44:00.598Z] Removing intermediate container cf3c4102099f [2023-03-09T02:44:00.598Z] ---> b34f1b4aebc5 [2023-03-09T02:44:00.598Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T02:44:00.875Z] ---> Running in e3eb5a6d1f65 [2023-03-09T02:44:00.875Z] Removing intermediate container e3eb5a6d1f65 [2023-03-09T02:44:00.875Z] ---> f1399568cb91 [2023-03-09T02:44:00.875Z] Step 22/24 : LABEL arch=amd64 [2023-03-09T02:44:00.875Z] ---> Running in de0d3bae36ed [2023-03-09T02:44:00.875Z] Removing intermediate container de0d3bae36ed [2023-03-09T02:44:00.875Z] ---> 10cc2df568e7 [2023-03-09T02:44:00.875Z] Step 23/24 : LABEL git_sha=d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:44:01.156Z] ---> Running in 44f156432641 [2023-03-09T02:44:01.156Z] Removing intermediate container 44f156432641 [2023-03-09T02:44:01.156Z] ---> 79065189e091 [2023-03-09T02:44:01.156Z] Step 24/24 : LABEL version=3.0.0-dev.6 [2023-03-09T02:44:01.156Z] ---> Running in 0cc1384f9717 [2023-03-09T02:44:01.156Z] Removing intermediate container 0cc1384f9717 [2023-03-09T02:44:01.156Z] ---> 4febc79e5cdf [2023-03-09T02:44:01.156Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T02:44:01.156Z] Successfully built 4febc79e5cdf [2023-03-09T02:44:01.156Z] 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-09T02:44:01.248Z] provisioning config files... [2023-03-09T02:44:01.257Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18219635369897035002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:44:01.552Z] ---> docker-login.sh [2023-03-09T02:44:01.552Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:44:01.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:44:01.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:44:01.552Z] Configure a credential helper to remove this warning. See [2023-03-09T02:44:01.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:44:01.552Z] [2023-03-09T02:44:01.552Z] Login Succeeded [2023-03-09T02:44:01.552Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:44:01.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:44:01.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:44:01.552Z] Configure a credential helper to remove this warning. See [2023-03-09T02:44:01.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:44:01.552Z] [2023-03-09T02:44:01.552Z] Login Succeeded [2023-03-09T02:44:01.552Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:44:01.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:44:01.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:44:01.812Z] Configure a credential helper to remove this warning. See [2023-03-09T02:44:01.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:44:01.812Z] [2023-03-09T02:44:01.812Z] Login Succeeded [2023-03-09T02:44:01.812Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:44:01.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:44:01.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:44:01.812Z] Configure a credential helper to remove this warning. See [2023-03-09T02:44:01.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:44:01.812Z] [2023-03-09T02:44:01.812Z] Login Succeeded [2023-03-09T02:44:01.812Z] docker.io [2023-03-09T02:44:02.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:44:02.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:44:02.071Z] Configure a credential helper to remove this warning. See [2023-03-09T02:44:02.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:44:02.071Z] [2023-03-09T02:44:02.071Z] Login Succeeded [2023-03-09T02:44:02.071Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:44:02.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T02:44:02.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:44:02.134Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-03-09T02:44:02.135Z] d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:44:02.135Z] latest [2023-03-09T02:44:02.135Z] 3.0.0-dev.6 [2023-03-09T02:44:02.135Z] d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:44:02.135Z] main [2023-03-09T02:44:02.135Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:02.460Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:02.766Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:44:02.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T02:44:02.766Z] b2c18b3da092: Preparing [2023-03-09T02:44:02.766Z] 7b9c5b4e5c4b: Preparing [2023-03-09T02:44:02.766Z] 07befd7d69a2: Preparing [2023-03-09T02:44:02.766Z] 8cec00ccfb79: Preparing [2023-03-09T02:44:02.766Z] aa5968d388b8: Preparing [2023-03-09T02:44:02.766Z] aa5968d388b8: Layer already exists [2023-03-09T02:44:02.766Z] 7b9c5b4e5c4b: Pushed [2023-03-09T02:44:02.766Z] 8cec00ccfb79: Pushed [2023-03-09T02:44:02.766Z] b2c18b3da092: Pushed [2023-03-09T02:44:05.298Z] 07befd7d69a2: Pushed [2023-03-09T02:44:05.298Z] d33e94f3f1180f7604676314315f9cce542fcb85: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:05.617Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:05.926Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-09T02:44:05.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T02:44:05.926Z] b2c18b3da092: Preparing [2023-03-09T02:44:05.926Z] 7b9c5b4e5c4b: Preparing [2023-03-09T02:44:05.926Z] 07befd7d69a2: Preparing [2023-03-09T02:44:05.926Z] 8cec00ccfb79: Preparing [2023-03-09T02:44:05.926Z] aa5968d388b8: Preparing [2023-03-09T02:44:05.926Z] aa5968d388b8: Layer already exists [2023-03-09T02:44:05.926Z] 07befd7d69a2: Layer already exists [2023-03-09T02:44:05.926Z] 8cec00ccfb79: Layer already exists [2023-03-09T02:44:05.926Z] 7b9c5b4e5c4b: Layer already exists [2023-03-09T02:44:05.926Z] b2c18b3da092: Layer already exists [2023-03-09T02:44:05.926Z] latest: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:06.240Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:06.542Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 [2023-03-09T02:44:06.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T02:44:06.542Z] b2c18b3da092: Preparing [2023-03-09T02:44:06.542Z] 7b9c5b4e5c4b: Preparing [2023-03-09T02:44:06.542Z] 07befd7d69a2: Preparing [2023-03-09T02:44:06.542Z] 8cec00ccfb79: Preparing [2023-03-09T02:44:06.542Z] aa5968d388b8: Preparing [2023-03-09T02:44:06.542Z] aa5968d388b8: Layer already exists [2023-03-09T02:44:06.542Z] 7b9c5b4e5c4b: Layer already exists [2023-03-09T02:44:06.542Z] 8cec00ccfb79: Layer already exists [2023-03-09T02:44:06.542Z] 07befd7d69a2: Layer already exists [2023-03-09T02:44:06.542Z] b2c18b3da092: Layer already exists [2023-03-09T02:44:06.542Z] 3.0.0-dev.6: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:06.855Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:07.175Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:44:07.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T02:44:07.176Z] b2c18b3da092: Preparing [2023-03-09T02:44:07.176Z] 7b9c5b4e5c4b: Preparing [2023-03-09T02:44:07.176Z] 07befd7d69a2: Preparing [2023-03-09T02:44:07.176Z] 8cec00ccfb79: Preparing [2023-03-09T02:44:07.176Z] aa5968d388b8: Preparing [2023-03-09T02:44:07.176Z] aa5968d388b8: Layer already exists [2023-03-09T02:44:07.176Z] 7b9c5b4e5c4b: Layer already exists [2023-03-09T02:44:07.176Z] b2c18b3da092: Layer already exists [2023-03-09T02:44:07.176Z] 8cec00ccfb79: Layer already exists [2023-03-09T02:44:07.176Z] 07befd7d69a2: Layer already exists [2023-03-09T02:44:07.176Z] d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:07.488Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:07.793Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-03-09T02:44:07.793Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-03-09T02:44:07.793Z] b2c18b3da092: Preparing [2023-03-09T02:44:07.793Z] 7b9c5b4e5c4b: Preparing [2023-03-09T02:44:07.793Z] 07befd7d69a2: Preparing [2023-03-09T02:44:07.793Z] 8cec00ccfb79: Preparing [2023-03-09T02:44:07.793Z] aa5968d388b8: Preparing [2023-03-09T02:44:07.793Z] aa5968d388b8: Layer already exists [2023-03-09T02:44:07.793Z] 07befd7d69a2: Layer already exists [2023-03-09T02:44:07.793Z] 8cec00ccfb79: Layer already exists [2023-03-09T02:44:07.793Z] b2c18b3da092: Layer already exists [2023-03-09T02:44:07.793Z] 7b9c5b4e5c4b: Layer already exists [2023-03-09T02:44:07.793Z] main: digest: sha256:2c0c6eaa76369e4f38c79c0278b7fa591ad44502d1ed9e80d6ed5b87e0b7454a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T02:44:07.835Z] ===================================================== [Pipeline] echo [2023-03-09T02:44:07.842Z] taggedImages: [2023-03-09T02:44:07.842Z] - nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:44:07.842Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-03-09T02:44:07.842Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.6 [2023-03-09T02:44:07.842Z] - nexus3.edgexfoundry.org:10004/device-snmp:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:44:07.842Z] - 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-09T02:44:08.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:44:08.208Z] [2023-03-09T02:44:08.208Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:08.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:44:08.510Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T02:44:08.510Z] 5eb5b503b376: Pulling fs layer [2023-03-09T02:44:08.510Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T02:44:08.510Z] ec43610c2a17: Pulling fs layer [2023-03-09T02:44:08.510Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T02:44:08.510Z] 33b1e0a273af: Pulling fs layer [2023-03-09T02:44:08.510Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T02:44:08.510Z] 2f39f015ded8: Pulling fs layer [2023-03-09T02:44:08.510Z] 3a2ae6a8a46f: Waiting [2023-03-09T02:44:08.510Z] 33b1e0a273af: Waiting [2023-03-09T02:44:08.510Z] 5d3b04190fa2: Waiting [2023-03-09T02:44:08.510Z] 5c69ac0246d0: Download complete [2023-03-09T02:44:08.510Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T02:44:08.510Z] 3a2ae6a8a46f: Download complete [2023-03-09T02:44:08.770Z] 33b1e0a273af: Verifying Checksum [2023-03-09T02:44:08.770Z] 33b1e0a273af: Download complete [2023-03-09T02:44:08.770Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T02:44:08.770Z] 5d3b04190fa2: Download complete [2023-03-09T02:44:08.770Z] ec43610c2a17: Verifying Checksum [2023-03-09T02:44:08.770Z] ec43610c2a17: Download complete [2023-03-09T02:44:09.028Z] 5eb5b503b376: Verifying Checksum [2023-03-09T02:44:09.028Z] 5eb5b503b376: Download complete [2023-03-09T02:44:09.592Z] 2f39f015ded8: Download complete [2023-03-09T02:44:09.850Z] 5eb5b503b376: Pull complete [2023-03-09T02:44:10.107Z] 5c69ac0246d0: Pull complete [2023-03-09T02:44:10.364Z] ec43610c2a17: Pull complete [2023-03-09T02:44:10.621Z] 3a2ae6a8a46f: Pull complete [2023-03-09T02:44:10.621Z] 33b1e0a273af: Pull complete [2023-03-09T02:44:10.879Z] 5d3b04190fa2: Pull complete [2023-03-09T02:44:15.062Z] 2f39f015ded8: Pull complete [2023-03-09T02:44:15.062Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T02:44:15.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:44:15.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:44:15.141Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:44:15.174Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T02:44:17.255Z] $ docker top 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:44:17.626Z] ---> job-cost.sh [2023-03-09T02:44:17.626Z] lf-activate-venv: SKIPPING [2023-03-09T02:44:17.626Z] INFO: No Stack... [2023-03-09T02:44:17.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:44:18.149Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:44:18.437Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-03-09T02:44:18.437Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:44:18.453Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [2023-03-09T02:44:18.459Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] did not exist. Created. [2023-03-09T02:44:18.459Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:44:18.754Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T02:44:18.784Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:44:18.792Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:44:18.810Z] $ docker stop --time=1 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 [2023-03-09T02:44:20.002Z] $ docker rm -f --volumes 877c094ec89ce346c708de69bb689b760ffa2635f3c59d8f49c69626c3837ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:44:43.248Z] Removing intermediate container 2c3555fec89c [2023-03-09T02:44:43.248Z] ---> d25da6960db8 [2023-03-09T02:44:43.248Z] Step 11/12 : COPY . . [2023-03-09T02:44:43.248Z] ---> e03ee9614f0f [2023-03-09T02:44:43.248Z] Step 12/12 : RUN ${MAKE} [2023-03-09T02:44:43.248Z] ---> Running in 9e5948165261 [2023-03-09T02:44:43.248Z] noop [2023-03-09T02:44:43.248Z] Removing intermediate container 9e5948165261 [2023-03-09T02:44:43.248Z] ---> 4c24f5dd6717 [2023-03-09T02:44:43.248Z] Successfully built 4c24f5dd6717 [2023-03-09T02:44:43.248Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:43.593Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:44:43.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:44:43.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container [2023-03-09T02:44:43.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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 ******** ci-base-image-arm64 cat [2023-03-09T02:44:46.265Z] $ docker top 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:44:47.082Z] + go version [2023-03-09T02:44:47.082Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T02:44:47.104Z] $ docker stop --time=1 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 [2023-03-09T02:44:48.741Z] $ docker rm -f --volumes 91d7cf19839c82e932b11b869e5da532b8b2ddac80693812c21940e2f2e5ec48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:44:49.292Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:44:49.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:44:49.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container [2023-03-09T02:44:49.534Z] $ 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/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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 ******** ci-base-image-arm64 cat [2023-03-09T02:44:50.677Z] $ docker top e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:44:51.484Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/62 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:44:52.127Z] + make test [2023-03-09T02:44:52.127Z] go test ./... -coverprofile=coverage.out [2023-03-09T02:44:54.070Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-09T02:46:15.699Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-09T02:46:15.699Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.061s coverage: 0.0% of statements [2023-03-09T02:46:15.699Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T02:46:15.699Z] go vet ./... [2023-03-09T02:46:34.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T02:46:34.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T02:46:34.129Z] ./bin/test-attribution-txt.sh [2023-03-09T02:46:34.129Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-09T02:46:34.129Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-09T02:46:34.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T02:46:34.170Z] $ docker stop --time=1 e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 [2023-03-09T02:46:35.921Z] $ docker rm -f --volumes e3eaf687309896034a1105e9c47299ba4a8cfefdeb6294a2a1f10ff3c93710c3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:46:36.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T02:46:36.845Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T02:46:37.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:46:37.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T02:46:37.962Z] + ls -al . [2023-03-09T02:46:37.963Z] total 168 [2023-03-09T02:46:37.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:44 . [2023-03-09T02:46:37.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 .. [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:42 .dockerignore [2023-03-09T02:46:37.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:42 .git [2023-03-09T02:46:37.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 .github [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:42 .gitignore [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:42 .golangci.yml [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:42 Attribution.txt [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:42 CHANGELOG.md [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:42 Dockerfile [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:42 GOVERNANCE.md [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:42 Jenkinsfile [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:42 LICENSE [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:42 Makefile [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:42 OWNERS.md [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:42 README.md [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 9 02:42 VERSION [2023-03-09T02:46:37.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:42 bin [2023-03-09T02:46:37.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 cmd [2023-03-09T02:46:37.963Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:46 coverage.out [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:42 go.mod [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:42 go.sum [2023-03-09T02:46:37.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:42 internal [2023-03-09T02:46:37.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:42 snap [2023-03-09T02:46:37.963Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:46:38.295Z] + 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=d33e94f3f1180f7604676314315f9cce542fcb85 --label arch=arm64 --label version=3.0.0-dev.6 . [2023-03-09T02:46:38.564Z] Sending build context to Docker daemon 2.956MB [2023-03-09T02:46:38.564Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:46:38.564Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T02:46:38.564Z] ---> 4c24f5dd6717 [2023-03-09T02:46:38.564Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:46:38.831Z] ---> Running in aad50cc69024 [2023-03-09T02:46:39.097Z] Removing intermediate container aad50cc69024 [2023-03-09T02:46:39.097Z] ---> 81bdbcc4bada [2023-03-09T02:46:39.097Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:46:39.097Z] ---> Running in d7c4f30dc166 [2023-03-09T02:46:39.365Z] Removing intermediate container d7c4f30dc166 [2023-03-09T02:46:39.365Z] ---> ce9aca1535c7 [2023-03-09T02:46:39.365Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:46:39.365Z] ---> Running in 4c7673b7fc4a [2023-03-09T02:46:39.632Z] Removing intermediate container 4c7673b7fc4a [2023-03-09T02:46:39.632Z] ---> cb4642a85370 [2023-03-09T02:46:39.632Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:46:39.898Z] ---> Running in 17b146dac37d [2023-03-09T02:46:40.166Z] Removing intermediate container 17b146dac37d [2023-03-09T02:46:40.166Z] ---> 19350b00f90a [2023-03-09T02:46:40.166Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:46:40.166Z] ---> Running in 5991de2224da [2023-03-09T02:46:41.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:46:41.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:46:42.984Z] OK: 226 MiB in 55 packages [2023-03-09T02:46:43.571Z] Removing intermediate container 5991de2224da [2023-03-09T02:46:43.571Z] ---> cdf122ec9780 [2023-03-09T02:46:43.571Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-09T02:46:43.571Z] ---> Running in 1b97a3d20498 [2023-03-09T02:46:43.838Z] Removing intermediate container 1b97a3d20498 [2023-03-09T02:46:43.838Z] ---> ac9f5e772d3c [2023-03-09T02:46:43.838Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T02:46:44.431Z] ---> 4dfd2c33e78c [2023-03-09T02:46:44.431Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:46:44.716Z] ---> Running in d9f8e8219463 [2023-03-09T02:46:48.068Z] Removing intermediate container d9f8e8219463 [2023-03-09T02:46:48.068Z] ---> 0c02f4c8db24 [2023-03-09T02:46:48.068Z] Step 11/24 : COPY . . [2023-03-09T02:46:48.340Z] ---> bbcf456ab11c [2023-03-09T02:46:48.340Z] Step 12/24 : RUN ${MAKE} [2023-03-09T02:46:48.610Z] ---> Running in f05183aec4d4 [2023-03-09T02:46:49.573Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-03-09T02:48:56.256Z] Removing intermediate container f05183aec4d4 [2023-03-09T02:48:56.256Z] ---> 8d53efd2bc5a [2023-03-09T02:48:56.256Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T02:48:56.256Z] 3.16: Pulling from library/alpine [2023-03-09T02:48:56.256Z] 3760b48202b3: Pulling fs layer [2023-03-09T02:48:56.256Z] 3760b48202b3: Verifying Checksum [2023-03-09T02:48:56.256Z] 3760b48202b3: Download complete [2023-03-09T02:48:56.256Z] 3760b48202b3: Pull complete [2023-03-09T02:48:56.256Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T02:48:56.256Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T02:48:56.256Z] ---> 4c81e5bf8899 [2023-03-09T02:48:56.256Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T02:48:56.256Z] ---> Running in 725b4482402a [2023-03-09T02:48:56.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:48:56.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:48:56.256Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T02:48:56.256Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:48:56.256Z] OK: 5 MiB in 15 packages [2023-03-09T02:48:56.256Z] Removing intermediate container 725b4482402a [2023-03-09T02:48:56.256Z] ---> 536a951bc70e [2023-03-09T02:48:56.256Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-09T02:48:56.256Z] ---> 408800fe3132 [2023-03-09T02:48:56.256Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-09T02:48:56.256Z] ---> 0b5fbb2aa5d4 [2023-03-09T02:48:56.256Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-09T02:48:56.256Z] ---> 9c8e14f8e4b5 [2023-03-09T02:48:56.256Z] Step 18/24 : EXPOSE 59993 [2023-03-09T02:48:56.256Z] ---> Running in 63d902ade9bc [2023-03-09T02:48:56.256Z] Removing intermediate container 63d902ade9bc [2023-03-09T02:48:56.256Z] ---> c204a49b16d5 [2023-03-09T02:48:56.256Z] Step 19/24 : EXPOSE 161 [2023-03-09T02:48:56.256Z] ---> Running in 47a8448475e0 [2023-03-09T02:48:56.256Z] Removing intermediate container 47a8448475e0 [2023-03-09T02:48:56.256Z] ---> 76a62ccba88c [2023-03-09T02:48:56.256Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-09T02:48:56.534Z] ---> Running in f03c2c08f663 [2023-03-09T02:48:56.802Z] Removing intermediate container f03c2c08f663 [2023-03-09T02:48:56.802Z] ---> 7152bee27a6e [2023-03-09T02:48:56.802Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T02:48:56.802Z] ---> Running in 1680c7713c60 [2023-03-09T02:48:57.071Z] Removing intermediate container 1680c7713c60 [2023-03-09T02:48:57.071Z] ---> f157fd8767e9 [2023-03-09T02:48:57.071Z] Step 22/24 : LABEL arch=arm64 [2023-03-09T02:48:57.071Z] ---> Running in 7fe982e814db [2023-03-09T02:48:57.658Z] Removing intermediate container 7fe982e814db [2023-03-09T02:48:57.658Z] ---> 4126a166d7ef [2023-03-09T02:48:57.658Z] Step 23/24 : LABEL git_sha=d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:48:57.658Z] ---> Running in fad0d606babe [2023-03-09T02:48:57.929Z] Removing intermediate container fad0d606babe [2023-03-09T02:48:57.929Z] ---> abf390c005b0 [2023-03-09T02:48:57.929Z] Step 24/24 : LABEL version=3.0.0-dev.6 [2023-03-09T02:48:58.199Z] ---> Running in 4299ed34644e [2023-03-09T02:48:58.465Z] Removing intermediate container 4299ed34644e [2023-03-09T02:48:58.465Z] ---> 0fb5e6b5512a [2023-03-09T02:48:58.465Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T02:48:58.465Z] Successfully built 0fb5e6b5512a [2023-03-09T02:48:58.465Z] 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-09T02:48:58.570Z] provisioning config files... [2023-03-09T02:48:58.586Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/62@tmp/config2457298379329300484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:48:58.924Z] ---> docker-login.sh [2023-03-09T02:48:58.924Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:48:58.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:48:59.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:48:59.195Z] Configure a credential helper to remove this warning. See [2023-03-09T02:48:59.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:48:59.195Z] [2023-03-09T02:48:59.195Z] Login Succeeded [2023-03-09T02:48:59.195Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:48:59.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:48:59.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:48:59.462Z] Configure a credential helper to remove this warning. See [2023-03-09T02:48:59.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:48:59.462Z] [2023-03-09T02:48:59.462Z] Login Succeeded [2023-03-09T02:48:59.462Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:48:59.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:48:59.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:48:59.995Z] Configure a credential helper to remove this warning. See [2023-03-09T02:48:59.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:48:59.995Z] [2023-03-09T02:48:59.995Z] Login Succeeded [2023-03-09T02:48:59.995Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:49:00.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:00.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:00.263Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:00.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:00.263Z] [2023-03-09T02:49:00.263Z] Login Succeeded [2023-03-09T02:49:00.263Z] docker.io [2023-03-09T02:49:00.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:00.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:00.796Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:00.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:00.796Z] [2023-03-09T02:49:00.796Z] Login Succeeded [2023-03-09T02:49:00.796Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:49:00.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T02:49:00.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:49:00.861Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-03-09T02:49:00.861Z] d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:49:00.861Z] latest [2023-03-09T02:49:00.861Z] 3.0.0-dev.6 [2023-03-09T02:49:00.861Z] d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:49:00.861Z] main [2023-03-09T02:49:00.861Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:01.219Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:01.575Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:49:01.575Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T02:49:01.575Z] ab87e4810a56: Preparing [2023-03-09T02:49:01.575Z] b8d01e970e1e: Preparing [2023-03-09T02:49:01.575Z] 4bf0bce9955b: Preparing [2023-03-09T02:49:01.575Z] 501edb56e611: Preparing [2023-03-09T02:49:01.575Z] f70ee36035b9: Preparing [2023-03-09T02:49:01.846Z] ab87e4810a56: Pushed [2023-03-09T02:49:01.846Z] b8d01e970e1e: Pushed [2023-03-09T02:49:01.846Z] 501edb56e611: Pushed [2023-03-09T02:49:05.185Z] f70ee36035b9: Layer already exists [2023-03-09T02:49:07.122Z] 4bf0bce9955b: Pushed [2023-03-09T02:49:07.122Z] d33e94f3f1180f7604676314315f9cce542fcb85: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:07.462Z] + 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-09T02:49:07.809Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-09T02:49:07.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T02:49:07.809Z] ab87e4810a56: Preparing [2023-03-09T02:49:07.809Z] b8d01e970e1e: Preparing [2023-03-09T02:49:07.809Z] 4bf0bce9955b: Preparing [2023-03-09T02:49:07.809Z] 501edb56e611: Preparing [2023-03-09T02:49:07.809Z] f70ee36035b9: Preparing [2023-03-09T02:49:07.809Z] f70ee36035b9: Layer already exists [2023-03-09T02:49:07.809Z] 4bf0bce9955b: Layer already exists [2023-03-09T02:49:07.809Z] ab87e4810a56: Layer already exists [2023-03-09T02:49:07.809Z] 501edb56e611: Layer already exists [2023-03-09T02:49:07.809Z] b8d01e970e1e: Layer already exists [2023-03-09T02:49:08.074Z] latest: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:08.414Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:08.751Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 [2023-03-09T02:49:08.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T02:49:08.751Z] ab87e4810a56: Preparing [2023-03-09T02:49:08.751Z] b8d01e970e1e: Preparing [2023-03-09T02:49:08.751Z] 4bf0bce9955b: Preparing [2023-03-09T02:49:08.751Z] 501edb56e611: Preparing [2023-03-09T02:49:08.751Z] f70ee36035b9: Preparing [2023-03-09T02:49:08.751Z] b8d01e970e1e: Layer already exists [2023-03-09T02:49:08.751Z] 501edb56e611: Layer already exists [2023-03-09T02:49:08.751Z] ab87e4810a56: Layer already exists [2023-03-09T02:49:08.751Z] f70ee36035b9: Layer already exists [2023-03-09T02:49:08.751Z] 4bf0bce9955b: Layer already exists [2023-03-09T02:49:08.751Z] 3.0.0-dev.6: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:09.099Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:09.457Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:49:09.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T02:49:09.457Z] ab87e4810a56: Preparing [2023-03-09T02:49:09.457Z] b8d01e970e1e: Preparing [2023-03-09T02:49:09.457Z] 4bf0bce9955b: Preparing [2023-03-09T02:49:09.457Z] 501edb56e611: Preparing [2023-03-09T02:49:09.457Z] f70ee36035b9: Preparing [2023-03-09T02:49:09.457Z] f70ee36035b9: Layer already exists [2023-03-09T02:49:09.457Z] b8d01e970e1e: Layer already exists [2023-03-09T02:49:09.457Z] ab87e4810a56: Layer already exists [2023-03-09T02:49:09.457Z] 501edb56e611: Layer already exists [2023-03-09T02:49:09.457Z] 4bf0bce9955b: Layer already exists [2023-03-09T02:49:09.457Z] d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:10.077Z] + 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-09T02:49:10.421Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-03-09T02:49:10.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-03-09T02:49:10.421Z] ab87e4810a56: Preparing [2023-03-09T02:49:10.421Z] b8d01e970e1e: Preparing [2023-03-09T02:49:10.421Z] 4bf0bce9955b: Preparing [2023-03-09T02:49:10.421Z] 501edb56e611: Preparing [2023-03-09T02:49:10.421Z] f70ee36035b9: Preparing [2023-03-09T02:49:10.421Z] b8d01e970e1e: Layer already exists [2023-03-09T02:49:10.421Z] 4bf0bce9955b: Layer already exists [2023-03-09T02:49:10.421Z] 501edb56e611: Layer already exists [2023-03-09T02:49:10.421Z] ab87e4810a56: Layer already exists [2023-03-09T02:49:10.421Z] f70ee36035b9: Layer already exists [2023-03-09T02:49:10.421Z] main: digest: sha256:d79007f6ece1f01666a828ccbaa4628182d78f20f35e24abedc62d5aa6e8bb1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-09T02:49:10.484Z] ===================================================== [Pipeline] echo [2023-03-09T02:49:10.498Z] taggedImages: [2023-03-09T02:49:10.498Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85 [2023-03-09T02:49:10.498Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-03-09T02:49:10.498Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.6 [2023-03-09T02:49:10.498Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d33e94f3f1180f7604676314315f9cce542fcb85-3.0.0-dev.6 [2023-03-09T02:49:10.498Z] - 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-09T02:49:10.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:49:10.859Z] [2023-03-09T02:49:10.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:11.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:49:11.199Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T02:49:11.199Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T02:49:11.199Z] 04944245beec: Pulling fs layer [2023-03-09T02:49:11.199Z] 699f458cf7ca: Pulling fs layer [2023-03-09T02:49:11.199Z] 765212b225bb: Pulling fs layer [2023-03-09T02:49:11.199Z] f23df028b6ca: Pulling fs layer [2023-03-09T02:49:11.199Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T02:49:11.199Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T02:49:11.199Z] 765212b225bb: Waiting [2023-03-09T02:49:11.199Z] f23df028b6ca: Waiting [2023-03-09T02:49:11.199Z] d65c8cfc05b1: Waiting [2023-03-09T02:49:11.199Z] 2437ff75d9bd: Waiting [2023-03-09T02:49:11.466Z] 04944245beec: Verifying Checksum [2023-03-09T02:49:11.466Z] 04944245beec: Download complete [2023-03-09T02:49:11.466Z] 765212b225bb: Verifying Checksum [2023-03-09T02:49:11.466Z] 765212b225bb: Download complete [2023-03-09T02:49:11.466Z] f23df028b6ca: Verifying Checksum [2023-03-09T02:49:11.466Z] f23df028b6ca: Download complete [2023-03-09T02:49:11.466Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T02:49:11.466Z] d65c8cfc05b1: Download complete [2023-03-09T02:49:11.735Z] 699f458cf7ca: Verifying Checksum [2023-03-09T02:49:11.735Z] 699f458cf7ca: Download complete [2023-03-09T02:49:12.002Z] 8998bd30e6a1: Download complete [2023-03-09T02:49:13.942Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T02:49:13.942Z] 2437ff75d9bd: Download complete [2023-03-09T02:49:15.882Z] 8998bd30e6a1: Pull complete [2023-03-09T02:49:16.151Z] 04944245beec: Pull complete [2023-03-09T02:49:17.555Z] 699f458cf7ca: Pull complete [2023-03-09T02:49:17.555Z] 765212b225bb: Pull complete [2023-03-09T02:49:18.147Z] f23df028b6ca: Pull complete [2023-03-09T02:49:18.415Z] d65c8cfc05b1: Pull complete [2023-03-09T02:49:30.727Z] 2437ff75d9bd: Pull complete [2023-03-09T02:49:30.727Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T02:49:30.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:49:30.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:49:30.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container [2023-03-09T02:49:31.007Z] $ 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/62 -v /w/workspace/device-snmp-go/62:/w/workspace/device-snmp-go/62:rw,z -v /w/workspace/device-snmp-go/62@tmp:/w/workspace/device-snmp-go/62@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:arm64 cat [2023-03-09T02:49:33.838Z] $ docker top be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:49:34.706Z] ---> job-cost.sh [2023-03-09T02:49:34.706Z] lf-activate-venv: SKIPPING [2023-03-09T02:49:34.706Z] INFO: No Stack... [2023-03-09T02:49:35.296Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T02:49:35.881Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:49:36.795Z] + cat /w/workspace/device-snmp-go/62/archives/cost.csv [2023-03-09T02:49:36.796Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:49:36.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [2023-03-09T02:49:36.847Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] did not exist. Created. [2023-03-09T02:49:36.847Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:49:37.513Z] /w/workspace/device-snmp-go/62@tmp/durable-6ba60688/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T02:49:38.237Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T02:49:38.253Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T02:49:38.313Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:49:38.319Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:49:38.344Z] $ docker stop --time=1 be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 [2023-03-09T02:49:39.934Z] $ docker rm -f --volumes be620dede9d791927ca750898365b86400b3b12cbd81fd8711b09a7a58565663 [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-09T02:49:40.383Z] provisioning config files... [2023-03-09T02:49:40.391Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6157213970717084219tmp [Pipeline] { [Pipeline] sh [2023-03-09T02:49:40.682Z] + set +x [2023-03-09T02:49:40.683Z] + curl -s https://codecov.io/bash [2023-03-09T02:49:40.683Z] + bash -s -- [2023-03-09T02:49:40.683Z] [2023-03-09T02:49:40.683Z] _____ _ [2023-03-09T02:49:40.683Z] / ____| | | [2023-03-09T02:49:40.683Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T02:49:40.683Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T02:49:40.683Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T02:49:40.683Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T02:49:40.683Z] Bash-1.0.6 [2023-03-09T02:49:40.683Z] [2023-03-09T02:49:40.683Z] [2023-03-09T02:49:40.683Z] ==> git version 2.25.1 found [2023-03-09T02:49:40.683Z] ==> 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-09T02:49:40.683Z] Release-Date: 2020-01-08 [2023-03-09T02:49:40.683Z] 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-09T02:49:40.683Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T02:49:40.683Z] ==> Jenkins CI detected. [2023-03-09T02:49:40.683Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-03-09T02:49:40.683Z] project root: . [2023-03-09T02:49:40.683Z] --> token set from env [2023-03-09T02:49:40.683Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T02:49:40.683Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T02:49:40.683Z] ==> Python coveragepy not found [2023-03-09T02:49:40.683Z] ==> Searching for coverage reports in: [2023-03-09T02:49:40.683Z] + . [2023-03-09T02:49:40.683Z] -> Found 1 reports [2023-03-09T02:49:40.683Z] ==> Detecting git/mercurial file structure [2023-03-09T02:49:40.683Z] ==> Reading reports [2023-03-09T02:49:40.683Z] + ./coverage.out bytes=7631 [2023-03-09T02:49:40.683Z] ==> Appending adjustments [2023-03-09T02:49:40.683Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T02:49:40.941Z] + Found adjustments [2023-03-09T02:49:40.941Z] ==> Gzipping contents [2023-03-09T02:49:40.941Z] 4.0K /tmp/codecov.VTfzks.gz [2023-03-09T02:49:40.941Z] ==> Uploading reports [2023-03-09T02:49:40.941Z] url: https://codecov.io [2023-03-09T02:49:40.941Z] query: branch=main&commit=d33e94f3f1180f7604676314315f9cce542fcb85&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-09T02:49:40.941Z] -> Pinging Codecov [2023-03-09T02:49:40.941Z] 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=d33e94f3f1180f7604676314315f9cce542fcb85&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-09T02:49:40.941Z] -> Uploading to [2023-03-09T02:49:40.941Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/6C56EA5C29638FB4528AC87E60AF5AE0/d33e94f3f1180f7604676314315f9cce542fcb85/8745dc46-de59-4d95-974e-ca44a9bb4ea0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T024940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4122af83bc02984b3c3d716e290e09d3bfc43cb6db771c9e98fb1a17acf5012b [2023-03-09T02:49:40.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T02:49:40.941Z] Dload Upload Total Spent Left Speed [2023-03-09T02:49:41.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5359 --:--:-- --:--:-- --:--:-- 5340 100 1522 0 0 100 1522 0 5359 --:--:-- --:--:-- --:--:-- 5340 [2023-03-09T02:49:41.200Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] } [2023-03-09T02:49:41.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-09T02:49:41.330Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-09T02:49:41.341Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:41.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T02:49:41.644Z] [2023-03-09T02:49:41.644Z] 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-09T02:49:41.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T02:49:41.947Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-09T02:49:41.947Z] df9b9388f04a: Pulling fs layer [2023-03-09T02:49:41.947Z] 52dc419b0ee2: Pulling fs layer [2023-03-09T02:49:41.947Z] 25bc292e5bac: Pulling fs layer [2023-03-09T02:49:41.947Z] 114826534d7a: Pulling fs layer [2023-03-09T02:49:41.947Z] 4657fd5d0bcf: Pulling fs layer [2023-03-09T02:49:41.947Z] 6ad1cebc031e: Pulling fs layer [2023-03-09T02:49:41.947Z] 8a3aa393b2d8: Pulling fs layer [2023-03-09T02:49:41.947Z] 114826534d7a: Waiting [2023-03-09T02:49:41.947Z] 4657fd5d0bcf: Waiting [2023-03-09T02:49:41.947Z] 6ad1cebc031e: Waiting [2023-03-09T02:49:41.947Z] 8a3aa393b2d8: Waiting [2023-03-09T02:49:41.947Z] 25bc292e5bac: Verifying Checksum [2023-03-09T02:49:41.947Z] 25bc292e5bac: Download complete [2023-03-09T02:49:41.947Z] 52dc419b0ee2: Verifying Checksum [2023-03-09T02:49:41.947Z] 52dc419b0ee2: Download complete [2023-03-09T02:49:41.947Z] 4657fd5d0bcf: Verifying Checksum [2023-03-09T02:49:41.947Z] 4657fd5d0bcf: Download complete [2023-03-09T02:49:41.947Z] df9b9388f04a: Download complete [2023-03-09T02:49:42.205Z] df9b9388f04a: Pull complete [2023-03-09T02:49:42.205Z] 6ad1cebc031e: Verifying Checksum [2023-03-09T02:49:42.205Z] 6ad1cebc031e: Download complete [2023-03-09T02:49:42.205Z] 52dc419b0ee2: Pull complete [2023-03-09T02:49:42.467Z] 25bc292e5bac: Pull complete [2023-03-09T02:49:42.733Z] 114826534d7a: Verifying Checksum [2023-03-09T02:49:42.733Z] 114826534d7a: Download complete [2023-03-09T02:49:42.992Z] 8a3aa393b2d8: Verifying Checksum [2023-03-09T02:49:42.992Z] 8a3aa393b2d8: Download complete [2023-03-09T02:49:46.279Z] 114826534d7a: Pull complete [2023-03-09T02:49:46.279Z] 4657fd5d0bcf: Pull complete [2023-03-09T02:49:46.537Z] 6ad1cebc031e: Pull complete [2023-03-09T02:49:49.061Z] 8a3aa393b2d8: Pull complete [2023-03-09T02:49:49.061Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-09T02:49:49.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-09T02:49:49.061Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:49:49.142Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:49:49.172Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-09T02:49:52.122Z] $ docker top f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-09T02:49:52.179Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-03-09T02:49:52.457Z] + set -o pipefail [2023-03-09T02:49:52.457Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d5c3c605-9c98-460b-b8fa-b5b12249b06c [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] [2023-03-09T02:49:57.727Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-09T02:49:57.727Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-09T02:49:57.727Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-09T02:49:57.740Z] $ docker stop --time=1 f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 [2023-03-09T02:50:00.070Z] $ docker rm -f --volumes f9dea7e83b7f62866597160d4aedc7a18ce632e5a5b559a46aa5f39dc997c2b8 [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-09T02:50:00.814Z] + git log --format=format:%s -1 d33e94f3f1180f7604676314315f9cce542fcb85 [Pipeline] sh [2023-03-09T02:50:01.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:50:01.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:01.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:50:01.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:01.470Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:50:01.510Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T02:50:02.048Z] $ docker top 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 -eo pid,comm [2023-03-09T02:50:02.092Z] 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-09T02:50:02.092Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:50:02.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:50:02.128Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:50:02.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:50:02.242Z] $ docker exec 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 ssh-agent [2023-03-09T02:50:02.343Z] SSH_AUTH_SOCK=/tmp/ssh-qZybDmtXhYYC/agent.32 [2023-03-09T02:50:02.343Z] SSH_AGENT_PID=38 [2023-03-09T02:50:02.348Z] Running ssh-add (command line suppressed) [2023-03-09T02:50:02.459Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7100076564252097077.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7100076564252097077.key) [2023-03-09T02:50:02.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:50:02.752Z] + git semver tag [2023-03-09T02:50:03.010Z] 2023-03-09 02:50:02,943 [run_tag] DEBUG tag force:False [2023-03-09T02:50:03.010Z] 2023-03-09 02:50:02,943 [check_head_tag] DEBUG check head tag [2023-03-09T02:50:03.010Z] 2023-03-09 02:50:02,944 [execute] INFO git cat-file --batch-check [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,948 [execute] INFO git cat-file --batch [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,968 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,968 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-09T02:50:03.011Z] 2023-03-09 02:50:02,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:03.011Z] 3.0.0-dev.6 [Pipeline] } [2023-03-09T02:50:03.020Z] $ docker exec --env ******** --env ******** 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 ssh-agent -k [2023-03-09T02:50:03.110Z] unset SSH_AUTH_SOCK; [2023-03-09T02:50:03.111Z] unset SSH_AGENT_PID; [2023-03-09T02:50:03.111Z] echo Agent pid 38 killed; [2023-03-09T02:50:03.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:50:03.421Z] + git semver [Pipeline] } [2023-03-09T02:50:03.693Z] $ docker stop --time=1 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 [2023-03-09T02:50:05.027Z] $ docker rm -f --volumes 9d9829188134050982a39be9b40982823f04b663012d2658e2baabea25ded993 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:05.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T02:50:05.401Z] [2023-03-09T02:50:05.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:05.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T02:50:05.712Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-09T02:50:05.712Z] ab5ef0e58194: Pulling fs layer [2023-03-09T02:50:05.712Z] 9712f1f96733: Pulling fs layer [2023-03-09T02:50:05.712Z] 63f879dbbcfc: Pulling fs layer [2023-03-09T02:50:05.712Z] 0d9ebad4ef96: Pulling fs layer [2023-03-09T02:50:05.712Z] e9a5061849ea: Pulling fs layer [2023-03-09T02:50:05.712Z] d747dcd14b5f: Pulling fs layer [2023-03-09T02:50:05.712Z] 0d9ebad4ef96: Waiting [2023-03-09T02:50:05.712Z] e9a5061849ea: Waiting [2023-03-09T02:50:05.712Z] 2de7ff778b66: Pulling fs layer [2023-03-09T02:50:05.712Z] d747dcd14b5f: Waiting [2023-03-09T02:50:05.712Z] 2de7ff778b66: Waiting [2023-03-09T02:50:05.712Z] 9712f1f96733: Verifying Checksum [2023-03-09T02:50:05.712Z] 9712f1f96733: Download complete [2023-03-09T02:50:06.285Z] 0d9ebad4ef96: Verifying Checksum [2023-03-09T02:50:06.285Z] 0d9ebad4ef96: Download complete [2023-03-09T02:50:06.544Z] e9a5061849ea: Verifying Checksum [2023-03-09T02:50:06.544Z] e9a5061849ea: Download complete [2023-03-09T02:50:06.544Z] 63f879dbbcfc: Verifying Checksum [2023-03-09T02:50:06.544Z] 63f879dbbcfc: Download complete [2023-03-09T02:50:06.544Z] d747dcd14b5f: Download complete [2023-03-09T02:50:06.802Z] 2de7ff778b66: Verifying Checksum [2023-03-09T02:50:06.802Z] 2de7ff778b66: Download complete [2023-03-09T02:50:06.802Z] ab5ef0e58194: Verifying Checksum [2023-03-09T02:50:06.802Z] ab5ef0e58194: Download complete [2023-03-09T02:50:10.084Z] ab5ef0e58194: Pull complete [2023-03-09T02:50:10.084Z] 9712f1f96733: Pull complete [2023-03-09T02:50:10.649Z] 63f879dbbcfc: Pull complete [2023-03-09T02:50:13.933Z] 0d9ebad4ef96: Pull complete [2023-03-09T02:50:13.933Z] e9a5061849ea: Pull complete [2023-03-09T02:50:13.933Z] d747dcd14b5f: Pull complete [2023-03-09T02:50:14.866Z] 2de7ff778b66: Pull complete [2023-03-09T02:50:14.866Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-09T02:50:14.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-09T02:50:14.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:14.948Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:50:14.978Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-09T02:50:17.781Z] $ docker top 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:50:17.851Z] provisioning config files... [2023-03-09T02:50:17.859Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2165233841046535467tmp [2023-03-09T02:50:17.868Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11080712102894801903tmp [2023-03-09T02:50:17.876Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8391398546152920061tmp [Pipeline] { [Pipeline] echo [2023-03-09T02:50:17.892Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:18.176Z] ---> sigul-configuration.sh [2023-03-09T02:50:18.176Z] gpg: directory `/root/.gnupg' created [2023-03-09T02:50:18.176Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-09T02:50:18.176Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-09T02:50:18.176Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-09T02:50:18.176Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-09T02:50:18.176Z] gpg: CAST5 encrypted data [2023-03-09T02:50:18.176Z] gpg: encrypted with 1 passphrase [2023-03-09T02:50:18.176Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-09T02:50:18.461Z] + mkdir /home/jenkins [2023-03-09T02:50:18.461Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-09T02:50:18.748Z] + 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-09T02:50:18.758Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:19.048Z] ---> sigul-install.sh [2023-03-09T02:50:19.048Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-09T02:50:19.334Z] + git tag --list [2023-03-09T02:50:19.334Z] 1.0.0 [2023-03-09T02:50:19.334Z] v0.0.0 [2023-03-09T02:50:19.334Z] v1.1.0 [2023-03-09T02:50:19.334Z] v1.1.1 [2023-03-09T02:50:19.334Z] v1.2.2 [2023-03-09T02:50:19.334Z] v1.3.0 [2023-03-09T02:50:19.334Z] v1.3.1 [2023-03-09T02:50:19.334Z] v2.0.0 [2023-03-09T02:50:19.334Z] v2.1.0 [2023-03-09T02:50:19.334Z] v2.1.1 [2023-03-09T02:50:19.334Z] v2.1.1-dev.2 [2023-03-09T02:50:19.334Z] v2.1.1-dev.3 [2023-03-09T02:50:19.334Z] v2.2.0 [2023-03-09T02:50:19.334Z] v2.2.1-dev.1 [2023-03-09T02:50:19.334Z] v2.2.1-dev.2 [2023-03-09T02:50:19.334Z] v2.2.1-dev.3 [2023-03-09T02:50:19.334Z] v2.2.1-dev.4 [2023-03-09T02:50:19.334Z] v2.2.1-dev.5 [2023-03-09T02:50:19.334Z] v2.2.1-dev.6 [2023-03-09T02:50:19.334Z] v2.2.1-dev.7 [2023-03-09T02:50:19.334Z] v2.3.0 [2023-03-09T02:50:19.334Z] v2.3.0-dev.10 [2023-03-09T02:50:19.334Z] v2.3.0-dev.11 [2023-03-09T02:50:19.334Z] v2.3.0-dev.12 [2023-03-09T02:50:19.334Z] v2.3.0-dev.13 [2023-03-09T02:50:19.334Z] v2.3.0-dev.14 [2023-03-09T02:50:19.334Z] v2.3.0-dev.15 [2023-03-09T02:50:19.334Z] v2.3.0-dev.16 [2023-03-09T02:50:19.334Z] v2.3.0-dev.17 [2023-03-09T02:50:19.334Z] v2.3.0-dev.18 [2023-03-09T02:50:19.334Z] v2.3.0-dev.19 [2023-03-09T02:50:19.334Z] v2.3.0-dev.20 [2023-03-09T02:50:19.334Z] v2.3.0-dev.21 [2023-03-09T02:50:19.334Z] v2.3.0-dev.22 [2023-03-09T02:50:19.334Z] v2.3.0-dev.23 [2023-03-09T02:50:19.334Z] v2.3.0-dev.24 [2023-03-09T02:50:19.334Z] v2.3.0-dev.7 [2023-03-09T02:50:19.334Z] v2.3.0-dev.8 [2023-03-09T02:50:19.334Z] v2.3.0-dev.9 [2023-03-09T02:50:19.334Z] v3.0.0-dev.1 [2023-03-09T02:50:19.334Z] v3.0.0-dev.2 [2023-03-09T02:50:19.334Z] v3.0.0-dev.3 [2023-03-09T02:50:19.334Z] v3.0.0-dev.4 [2023-03-09T02:50:19.334Z] v3.0.0-dev.5 [2023-03-09T02:50:19.334Z] v3.0.0-dev.6 [Pipeline] sh [2023-03-09T02:50:19.624Z] + lftools sign git-tag v3.0.0-dev.6 [2023-03-09T02:50:20.193Z] Signing Git tag with Sigul... [2023-03-09T02:50:20.193Z] Signing v3.0.0-dev.6 [Pipeline] echo [2023-03-09T02:50:20.775Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:21.065Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-09T02:50:21.074Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-09T02:50:21.094Z] $ docker stop --time=1 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 [2023-03-09T02:50:22.440Z] $ docker rm -f --volumes 86d2caaf43903acea264eff8b94ec58ee63907224b99d66abe18a78f1414f013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-09T02:50:22.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:50:22.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:23.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:50:23.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:23.248Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:50:23.280Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T02:50:23.665Z] $ docker top e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 -eo pid,comm [2023-03-09T02:50:23.712Z] 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-09T02:50:23.712Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:50:23.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:50:23.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:50:23.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:50:23.867Z] $ docker exec e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 ssh-agent [2023-03-09T02:50:23.971Z] SSH_AUTH_SOCK=/tmp/ssh-LcFP4UdOIYDa/agent.32 [2023-03-09T02:50:23.971Z] SSH_AGENT_PID=38 [2023-03-09T02:50:23.974Z] Running ssh-add (command line suppressed) [2023-03-09T02:50:24.070Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11961139017021921550.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11961139017021921550.key) [2023-03-09T02:50:24.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:50:24.371Z] + git semver bump pre [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [bump_version] DEBUG bumped version:3.0.0-dev.7 [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,577 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,579 [execute] INFO git cat-file --batch-check [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,580 [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-09T02:50:24.631Z] 2023-03-09 02:50:24,586 [execute] INFO git cat-file --batch [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:50:24.631Z] 2023-03-09 02:50:24,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:24.631Z] 3.0.0-dev.7 [Pipeline] } [2023-03-09T02:50:24.641Z] $ docker exec --env ******** --env ******** e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 ssh-agent -k [2023-03-09T02:50:24.742Z] unset SSH_AUTH_SOCK; [2023-03-09T02:50:24.742Z] unset SSH_AGENT_PID; [2023-03-09T02:50:24.742Z] echo Agent pid 38 killed; [2023-03-09T02:50:24.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:50:25.049Z] + git semver [Pipeline] } [2023-03-09T02:50:25.322Z] $ docker stop --time=1 e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 [2023-03-09T02:50:26.698Z] $ docker rm -f --volumes e98e4c23ae1bd9dc76d02e7ab48a159f4582951cf8dcaeda73af594b62aa7652 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:50:27.045Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:50:27.045Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:27.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:50:27.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:27.428Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:50:27.459Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T02:50:27.806Z] $ docker top f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:50:27.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:50:27.897Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:50:28.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:50:28.008Z] $ docker exec f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 ssh-agent [2023-03-09T02:50:28.109Z] SSH_AUTH_SOCK=/tmp/ssh-F6SGIedeIDjX/agent.32 [2023-03-09T02:50:28.109Z] SSH_AGENT_PID=39 [2023-03-09T02:50:28.115Z] Running ssh-add (command line suppressed) [2023-03-09T02:50:28.217Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5950595246899643629.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5950595246899643629.key) [2023-03-09T02:50:28.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:50:28.514Z] + git semver push [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,751 [run_push] DEBUG push [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,752 [execute] INFO git cat-file --batch-check [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,752 [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-09T02:50:28.773Z] 2023-03-09 02:50:28,756 [execute] INFO git rev-list a2b5eef2f73ba6d1e112fe84dd39c22b3644167d -- [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,756 [execute] DEBUG Popen(['git', 'rev-list', 'a2b5eef2f73ba6d1e112fe84dd39c22b3644167d', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,761 [execute] INFO git fetch -v origin [2023-03-09T02:50:28.773Z] 2023-03-09 02:50:28,762 [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-09T02:50:29.340Z] 2023-03-09 02:50:29,279 [run_push] DEBUG no remote changes detected [2023-03-09T02:50:29.340Z] 2023-03-09 02:50:29,279 [execute] INFO git push origin semver [2023-03-09T02:50:29.340Z] 2023-03-09 02:50:29,280 [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-09T02:50:30.276Z] 2023-03-09 02:50:30,040 [run_push] DEBUG push all version tags [2023-03-09T02:50:30.276Z] 2023-03-09 02:50:30,041 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-09T02:50:30.276Z] 2023-03-09 02:50:30,041 [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-09T02:50:30.849Z] 2023-03-09 02:50:30,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-03-09T02:50:30.849Z] 3.0.0-dev.7 [Pipeline] } [2023-03-09T02:50:30.859Z] $ docker exec --env ******** --env ******** f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 ssh-agent -k [2023-03-09T02:50:30.965Z] unset SSH_AUTH_SOCK; [2023-03-09T02:50:30.965Z] unset SSH_AGENT_PID; [2023-03-09T02:50:30.966Z] echo Agent pid 39 killed; [2023-03-09T02:50:30.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:50:31.274Z] + git semver [Pipeline] } [2023-03-09T02:50:31.546Z] $ docker stop --time=1 f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 [2023-03-09T02:50:32.851Z] $ docker rm -f --volumes f096ed8c0a9dddfa79cb2d64510bfc588e514958ed9472d79954ac5579ac1bd4 [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-09T02:50:33.388Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-03-09T02:50:33.388Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T02:50:33.388Z] total 16 [2023-03-09T02:50:33.388Z] drwxr-xr-x 3 root root 4096 Mar 9 02:44 . [2023-03-09T02:50:33.388Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:50 .. [2023-03-09T02:50:33.388Z] drwxr-xr-x 2 root root 4096 Mar 9 02:44 cost [2023-03-09T02:50:33.388Z] -rw-r--r-- 1 root root 85 Mar 9 02:44 cost.csv [2023-03-09T02:50:33.388Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T02:50:33.388Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-03-09T02:50:33.388Z] total 16 [2023-03-09T02:50:33.388Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:44 . [2023-03-09T02:50:33.388Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:50 .. [2023-03-09T02:50:33.388Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:44 cost [2023-03-09T02:50:33.388Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 9 02:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:33.677Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:34.530Z] ---> package-listing.sh [2023-03-09T02:50:34.530Z] ++ facter osfamily [2023-03-09T02:50:34.530Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T02:50:34.788Z] + OS_FAMILY=debian [2023-03-09T02:50:34.788Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-03-09T02:50:34.788Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T02:50:34.789Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T02:50:34.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T02:50:34.789Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T02:50:34.789Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-09T02:50:34.789Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T02:50:34.789Z] + case "${OS_FAMILY}" in [2023-03-09T02:50:34.789Z] + dpkg -l [2023-03-09T02:50:34.789Z] + grep '^ii' [2023-03-09T02:50:34.789Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T02:50:34.789Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T02:50:34.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T02:50:34.789Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-03-09T02:50:34.789Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-03-09T02:50:34.789Z] + 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-09T02:50:34.798Z] 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-09T02:50:35.071Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:35.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:50:35.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:35.689Z] prd-ubuntu20.04-docker-8c-8g-9323 does not seem to be running inside a container [2023-03-09T02:50:35.714Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T02:50:35.952Z] $ docker top bfc8e2937d02534ec04e5ae342cd1bf5ef6fe0114826451eab062440f0ca325d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:50:36.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T02:50:36.654Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T02:50:36.963Z] + ls /var/log/sa-host [2023-03-09T02:50:36.963Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:50:37.042Z] provisioning config files... [2023-03-09T02:50:37.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17318851164027537670tmp [Pipeline] { [Pipeline] echo [2023-03-09T02:50:37.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:37.364Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T02:50:37.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:37.686Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T02:50:37.696Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:37.982Z] ---> sudo-logs.sh [2023-03-09T02:50:37.982Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T02:50:38.007Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:38.287Z] ---> job-cost.sh [2023-03-09T02:50:38.287Z] lf-activate-venv: SKIPPING [2023-03-09T02:50:38.287Z] DEBUG: total: 0.2199999988079071 [2023-03-09T02:50:38.287Z] INFO: Retrieving Stack Cost... [2023-03-09T02:50:38.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:50:39.115Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T02:50:39.129Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:50:39.412Z] ---> logs-deploy.sh [2023-03-09T02:50:39.412Z] lf-activate-venv: SKIPPING [2023-03-09T02:50:39.412Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/62 [2023-03-09T02:50:39.412Z] INFO: archiving workspace using pattern(s): [2023-03-09T02:50:40.348Z] Archives upload complete. [2023-03-09T02:50:40.348Z] INFO: archiving logs to Nexus