Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bd6e5dae59222faf073cfb9822f90f2048c0bba 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-ssh13239753335693914888.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-ssh12088425453213772405.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-ssh9846123845979392303.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-ssh2794114526949504452.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-ssh10636898376148367009.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 ‘prd-ubuntu20.04-docker-8c-8g-2742’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2744 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#213)" > 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-list --no-walk 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T17:28:36.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T17:28:36.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T17:28:36.785Z] ========================================================= [2023-01-17T17:28:36.785Z] EdgeX Global Pipelines Version Info [2023-01-17T17:28:36.785Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:28:37.502Z] ------------------- [2023-01-17T17:28:37.502Z] stable info: [2023-01-17T17:28:37.502Z] ------------------- [2023-01-17T17:28:37.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T17:28:37.502Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:28:37.502Z] Message: update stable to v1.0.244 [2023-01-17T17:28:38.072Z] ------------------- [2023-01-17T17:28:38.072Z] experimental info: [2023-01-17T17:28:38.072Z] ------------------- [2023-01-17T17:28:38.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T17:28:38.072Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:28:38.072Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T17:28:38.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-17T17:28:38.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-17T17:28:38.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T17:28:38.306Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T17:28:38.317Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T17:28:38.329Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T17:28:38.340Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T17:28:38.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-17T17:28:38.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T17:28:38.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T17:28:38.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T17:28:38.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-17T17:28:38.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T17:28:38.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T17:28:38.437Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:28:38.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:28:38.461Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:28:38.472Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:28:38.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T17:28:38.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T17:28:38.508Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-17T17:28:38.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-17T17:28:38.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T17:28:38.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T17:28:38.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T17:28:38.568Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T17:28:38.584Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T17:28:38.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T17:28:38.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T17:28:38.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T17:28:38.619Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo [2023-01-17T17:28:38.628Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bd6e5d [Pipeline] echo [2023-01-17T17:28:38.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:28:38.674Z] provisioning config files... [2023-01-17T17:28:38.689Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8425584217720540243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:28:39.017Z] ---> docker-login.sh [2023-01-17T17:28:39.017Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:28:39.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:28:39.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:28:39.278Z] Configure a credential helper to remove this warning. See [2023-01-17T17:28:39.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:28:39.278Z] [2023-01-17T17:28:39.278Z] Login Succeeded [2023-01-17T17:28:39.278Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:28:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:28:39.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:28:39.537Z] Configure a credential helper to remove this warning. See [2023-01-17T17:28:39.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:28:39.537Z] [2023-01-17T17:28:39.537Z] Login Succeeded [2023-01-17T17:28:39.537Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:28:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:28:39.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:28:39.537Z] Configure a credential helper to remove this warning. See [2023-01-17T17:28:39.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:28:39.537Z] [2023-01-17T17:28:39.537Z] Login Succeeded [2023-01-17T17:28:39.537Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:28:39.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:28:39.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:28:39.796Z] Configure a credential helper to remove this warning. See [2023-01-17T17:28:39.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:28:39.796Z] [2023-01-17T17:28:39.796Z] Login Succeeded [2023-01-17T17:28:39.796Z] docker.io [2023-01-17T17:28:39.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:28:40.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:28:40.055Z] Configure a credential helper to remove this warning. See [2023-01-17T17:28:40.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:28:40.055Z] [2023-01-17T17:28:40.055Z] Login Succeeded [2023-01-17T17:28:40.055Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:28:40.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T17:28:40.422Z] + git rev-list -1 --merges 2bd6e5dae59222faf073cfb9822f90f2048c0bba~1..2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo [2023-01-17T17:28:40.474Z] -----------> git rev-list -1 --merges 2bd6e5dae59222faf073cfb9822f90f2048c0bba~1..2bd6e5dae59222faf073cfb9822f90f2048c0bba 2bd6e5dae59222faf073cfb9822f90f2048c0bba [false] [Pipeline] sh [2023-01-17T17:28:40.759Z] + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo [2023-01-17T17:28:40.776Z] ========================================================= [2023-01-17T17:28:40.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T17:28:40.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:28:41.110Z] + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] echo [2023-01-17T17:28:41.122Z] [semverPrep] GIT_COMMIT: 2bd6e5dae59222faf073cfb9822f90f2048c0bba, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#213) [Pipeline] echo [2023-01-17T17:28:41.134Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T17:28:41.511Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:28:41.511Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T17:28:41.511Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T17:28:41.511Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T17:28:41.511Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T17:28:41.511Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T17:28:41.511Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:28:41.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:28:41.937Z] [2023-01-17T17:28:41.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:28:42.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:28:42.268Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T17:28:42.268Z] b85a868b505f: Pulling fs layer [2023-01-17T17:28:42.268Z] e2be974225ed: Pulling fs layer [2023-01-17T17:28:42.268Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T17:28:42.268Z] 988bab9f4d93: Pulling fs layer [2023-01-17T17:28:42.268Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T17:28:42.268Z] eaf3925da568: Pulling fs layer [2023-01-17T17:28:42.268Z] bab4dde63d76: Pulling fs layer [2023-01-17T17:28:42.268Z] bde34c3a00c8: Pulling fs layer [2023-01-17T17:28:42.268Z] b352a97aabf1: Pulling fs layer [2023-01-17T17:28:42.268Z] 4872d77fe225: Pulling fs layer [2023-01-17T17:28:42.268Z] 5851b861e8e6: Pulling fs layer [2023-01-17T17:28:42.268Z] 988bab9f4d93: Waiting [2023-01-17T17:28:42.268Z] 1469e6f7b9e6: Waiting [2023-01-17T17:28:42.268Z] eaf3925da568: Waiting [2023-01-17T17:28:42.268Z] bab4dde63d76: Waiting [2023-01-17T17:28:42.268Z] bde34c3a00c8: Waiting [2023-01-17T17:28:42.268Z] b352a97aabf1: Waiting [2023-01-17T17:28:42.268Z] 4872d77fe225: Waiting [2023-01-17T17:28:42.268Z] 5851b861e8e6: Waiting [2023-01-17T17:28:42.268Z] e2be974225ed: Verifying Checksum [2023-01-17T17:28:42.268Z] e2be974225ed: Download complete [2023-01-17T17:28:42.268Z] 988bab9f4d93: Verifying Checksum [2023-01-17T17:28:42.268Z] 988bab9f4d93: Download complete [2023-01-17T17:28:42.546Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T17:28:42.546Z] 1469e6f7b9e6: Download complete [2023-01-17T17:28:42.812Z] eaf3925da568: Verifying Checksum [2023-01-17T17:28:42.812Z] eaf3925da568: Download complete [2023-01-17T17:28:42.812Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T17:28:42.812Z] 339a4e72a1f5: Download complete [2023-01-17T17:28:42.812Z] bde34c3a00c8: Verifying Checksum [2023-01-17T17:28:42.812Z] bde34c3a00c8: Download complete [2023-01-17T17:28:42.812Z] b352a97aabf1: Verifying Checksum [2023-01-17T17:28:42.812Z] b352a97aabf1: Download complete [2023-01-17T17:28:42.812Z] 4872d77fe225: Download complete [2023-01-17T17:28:42.812Z] 5851b861e8e6: Download complete [2023-01-17T17:28:42.812Z] b85a868b505f: Download complete [2023-01-17T17:28:43.381Z] bab4dde63d76: Verifying Checksum [2023-01-17T17:28:43.381Z] bab4dde63d76: Download complete [2023-01-17T17:28:44.317Z] b85a868b505f: Pull complete [2023-01-17T17:28:44.317Z] e2be974225ed: Pull complete [2023-01-17T17:28:44.884Z] 339a4e72a1f5: Pull complete [2023-01-17T17:28:44.884Z] 988bab9f4d93: Pull complete [2023-01-17T17:28:45.147Z] 1469e6f7b9e6: Pull complete [2023-01-17T17:28:45.147Z] eaf3925da568: Pull complete [2023-01-17T17:28:47.051Z] bab4dde63d76: Pull complete [2023-01-17T17:28:47.051Z] bde34c3a00c8: Pull complete [2023-01-17T17:28:47.309Z] b352a97aabf1: Pull complete [2023-01-17T17:28:47.309Z] 4872d77fe225: Pull complete [2023-01-17T17:28:47.309Z] 5851b861e8e6: Pull complete [2023-01-17T17:28:47.309Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T17:28:47.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:28:47.309Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:28:47.405Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:28:47.436Z] $ 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-01-17T17:28:48.771Z] $ docker top 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 -eo pid,comm [2023-01-17T17:28:48.826Z] 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-01-17T17:28:48.826Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:29:17.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:29:17.909Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:29:18.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:29:18.025Z] $ docker exec 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent [2023-01-17T17:29:18.141Z] SSH_AUTH_SOCK=/tmp/ssh-zoUx4Vq8kPko/agent.32 [2023-01-17T17:29:18.141Z] SSH_AGENT_PID=38 [2023-01-17T17:29:18.147Z] Running ssh-add (command line suppressed) [2023-01-17T17:29:18.244Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11363969543542009739.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11363969543542009739.key) [2023-01-17T17:29:18.256Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:29:18.539Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T17:29:18.555Z] $ docker exec --env ******** --env ******** 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent -k [2023-01-17T17:29:18.660Z] unset SSH_AUTH_SOCK; [2023-01-17T17:29:18.662Z] unset SSH_AGENT_PID; [2023-01-17T17:29:18.662Z] echo Agent pid 38 killed; [2023-01-17T17:29:18.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T17:29:18.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:29:18.695Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:29:18.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:29:18.819Z] $ docker exec 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent [2023-01-17T17:29:18.931Z] SSH_AUTH_SOCK=/tmp/ssh-ARZCYyc2Wfjm/agent.71 [2023-01-17T17:29:18.931Z] SSH_AGENT_PID=77 [2023-01-17T17:29:18.936Z] Running ssh-add (command line suppressed) [2023-01-17T17:29:19.074Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5929221406398174560.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5929221406398174560.key) [2023-01-17T17:29:19.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:29:19.370Z] + git semver init [2023-01-17T17:29:19.628Z] 2023-01-17 17:29:19,556 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T17:29:19.628Z] 2023-01-17 17:29:19,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-17T17:29:19.628Z] 2023-01-17 17:29:19,557 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-17T17:29:19.628Z] 2023-01-17 17:29:19,557 [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-01-17T17:29:20.566Z] 2023-01-17 17:29:20,345 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-01-17T17:29:20.566Z] 2023-01-17 17:29:20,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-01-17T17:29:20.566Z] 2023-01-17 17:29:20,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:29:20.566Z] 2023-01-17 17:29:20,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:29:20.566Z] 3.0.0-dev.5 [Pipeline] } [2023-01-17T17:29:20.580Z] $ docker exec --env ******** --env ******** 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 ssh-agent -k [2023-01-17T17:29:20.690Z] unset SSH_AUTH_SOCK; [2023-01-17T17:29:20.691Z] unset SSH_AGENT_PID; [2023-01-17T17:29:20.691Z] echo Agent pid 77 killed; [2023-01-17T17:29:20.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:29:21.007Z] + git semver [Pipeline] } [2023-01-17T17:29:21.285Z] $ docker stop --time=1 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 [2023-01-17T17:29:22.619Z] $ docker rm -f --volumes 7d9aa5c7245e08e7787f43bc2b350a09514d7fb9a8790594fb85390e81bf2c45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:29:22.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T17:29:23.175Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T17:29:23.179Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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-01-17T17:29:23.298Z] provisioning config files... [2023-01-17T17:29:23.307Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9572209963830474860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:29:23.604Z] ---> docker-login.sh [2023-01-17T17:29:23.604Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:29:23.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:29:23.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:29:23.604Z] Configure a credential helper to remove this warning. See [2023-01-17T17:29:23.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:29:23.604Z] [2023-01-17T17:29:23.604Z] Login Succeeded [2023-01-17T17:29:23.604Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:29:23.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:29:23.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:29:23.604Z] Configure a credential helper to remove this warning. See [2023-01-17T17:29:23.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:29:23.604Z] [2023-01-17T17:29:23.604Z] Login Succeeded [2023-01-17T17:29:23.604Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:29:23.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:29:23.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:29:23.863Z] Configure a credential helper to remove this warning. See [2023-01-17T17:29:23.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:29:23.863Z] [2023-01-17T17:29:23.863Z] Login Succeeded [2023-01-17T17:29:23.863Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:29:23.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:29:23.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:29:23.863Z] Configure a credential helper to remove this warning. See [2023-01-17T17:29:23.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:29:23.863Z] [2023-01-17T17:29:23.863Z] Login Succeeded [2023-01-17T17:29:23.863Z] docker.io [2023-01-17T17:29:24.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:29:24.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:29:24.326Z] Configure a credential helper to remove this warning. See [2023-01-17T17:29:24.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:29:24.326Z] [2023-01-17T17:29:24.326Z] Login Succeeded [2023-01-17T17:29:24.326Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:29:24.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:29:24.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:29:24.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:29:24.413Z] ========================================================= [2023-01-17T17:29:24.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T17:29:24.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:29:24.714Z] + 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-01-17T17:29:24.714Z] Sending build context to Docker daemon 5.663MB [2023-01-17T17:29:24.714Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:29:24.714Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:29:24.714Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T17:29:24.714Z] 213ec9aee27d: Pulling fs layer [2023-01-17T17:29:24.714Z] 4583459ba037: Pulling fs layer [2023-01-17T17:29:24.714Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T17:29:24.714Z] 53926ce57604: Pulling fs layer [2023-01-17T17:29:24.714Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T17:29:24.714Z] 22ff95d597cd: Pulling fs layer [2023-01-17T17:29:24.714Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T17:29:24.714Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T17:29:24.714Z] a7acece74701: Pulling fs layer [2023-01-17T17:29:24.714Z] 22ff95d597cd: Waiting [2023-01-17T17:29:24.714Z] 12d6caf4c0d1: Waiting [2023-01-17T17:29:24.714Z] 96b7cbca73a9: Waiting [2023-01-17T17:29:24.714Z] a7acece74701: Waiting [2023-01-17T17:29:24.714Z] 53926ce57604: Waiting [2023-01-17T17:29:24.714Z] 21b2b0c7a3f4: Waiting [2023-01-17T17:29:24.715Z] 93c1e223e6f2: Verifying Checksum [2023-01-17T17:29:24.715Z] 93c1e223e6f2: Download complete [2023-01-17T17:29:24.715Z] 4583459ba037: Verifying Checksum [2023-01-17T17:29:24.715Z] 4583459ba037: Download complete [2023-01-17T17:29:24.981Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T17:29:24.981Z] 21b2b0c7a3f4: Download complete [2023-01-17T17:29:24.981Z] 22ff95d597cd: Verifying Checksum [2023-01-17T17:29:24.981Z] 22ff95d597cd: Download complete [2023-01-17T17:29:24.981Z] 213ec9aee27d: Verifying Checksum [2023-01-17T17:29:24.981Z] 213ec9aee27d: Download complete [2023-01-17T17:29:24.981Z] 12d6caf4c0d1: Download complete [2023-01-17T17:29:24.981Z] 213ec9aee27d: Pull complete [2023-01-17T17:29:25.252Z] 4583459ba037: Pull complete [2023-01-17T17:29:25.252Z] 93c1e223e6f2: Pull complete [2023-01-17T17:29:25.860Z] a7acece74701: Verifying Checksum [2023-01-17T17:29:25.860Z] a7acece74701: Download complete [2023-01-17T17:29:26.134Z] 53926ce57604: Verifying Checksum [2023-01-17T17:29:26.134Z] 53926ce57604: Download complete [2023-01-17T17:29:26.134Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T17:29:26.134Z] 96b7cbca73a9: Download complete [2023-01-17T17:29:30.319Z] 53926ce57604: Pull complete [2023-01-17T17:29:30.319Z] 21b2b0c7a3f4: Pull complete [2023-01-17T17:29:30.319Z] 22ff95d597cd: Pull complete [2023-01-17T17:29:30.319Z] 12d6caf4c0d1: Pull complete [2023-01-17T17:29:32.220Z] 96b7cbca73a9: Pull complete [2023-01-17T17:29:32.789Z] a7acece74701: Pull complete [2023-01-17T17:29:32.789Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T17:29:32.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T17:29:32.789Z] ---> db6d94c90886 [2023-01-17T17:29:32.789Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:29:34.959Z] ---> Running in cd2e3698926e [2023-01-17T17:29:34.959Z] Removing intermediate container cd2e3698926e [2023-01-17T17:29:34.959Z] ---> 2bcdc2a13b84 [2023-01-17T17:29:34.959Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:29:34.959Z] ---> Running in 9a15734c7a64 [2023-01-17T17:29:34.959Z] Removing intermediate container 9a15734c7a64 [2023-01-17T17:29:34.959Z] ---> 1c1136912a0c [2023-01-17T17:29:34.959Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:29:34.959Z] ---> Running in 0199d6bab1e1 [2023-01-17T17:29:34.959Z] Removing intermediate container 0199d6bab1e1 [2023-01-17T17:29:34.959Z] ---> 3fb3f1be8b68 [2023-01-17T17:29:34.959Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:29:34.959Z] ---> Running in e5f44eaa2b7b [2023-01-17T17:29:34.959Z] Removing intermediate container e5f44eaa2b7b [2023-01-17T17:29:34.959Z] ---> 6fb2e9240478 [2023-01-17T17:29:34.959Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:29:34.959Z] ---> Running in 8ef1e239475c [2023-01-17T17:29:35.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:29:35.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:29:35.742Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:29:35.742Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:29:35.742Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:29:35.742Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:29:35.742Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:29:35.742Z] OK: 216 MiB in 55 packages [2023-01-17T17:29:36.308Z] Removing intermediate container 8ef1e239475c [2023-01-17T17:29:36.308Z] ---> 5217547c2dd7 [2023-01-17T17:29:36.308Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-17T17:29:36.308Z] ---> Running in 33a3e14da007 [2023-01-17T17:29:36.308Z] Removing intermediate container 33a3e14da007 [2023-01-17T17:29:36.308Z] ---> 84080a7b6f05 [2023-01-17T17:29:36.308Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:29:36.566Z] ---> b927ee6cfb17 [2023-01-17T17:29:36.566Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:29:36.566Z] ---> Running in 1d485657e714 [2023-01-17T17:29:38.264Z] Still waiting to schedule task [2023-01-17T17:29:38.264Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2743’ is offline [2023-01-17T17:29:58.520Z] Removing intermediate container 1d485657e714 [2023-01-17T17:29:58.520Z] ---> 7159942ad460 [2023-01-17T17:29:58.520Z] Step 11/12 : COPY . . [2023-01-17T17:29:58.520Z] ---> b5db7bb95ecb [2023-01-17T17:29:58.520Z] Step 12/12 : RUN ${MAKE} [2023-01-17T17:29:58.520Z] ---> Running in 442f7632b9cb [2023-01-17T17:29:58.520Z] noop [2023-01-17T17:29:58.520Z] Removing intermediate container 442f7632b9cb [2023-01-17T17:29:58.520Z] ---> afd31281833c [2023-01-17T17:29:58.520Z] Successfully built afd31281833c [2023-01-17T17:29:58.520Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:29:58.840Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:29:58.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:29:58.910Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:29:58.942Z] $ 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-01-17T17:29:59.303Z] $ docker top abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:29:59.645Z] + go version [2023-01-17T17:29:59.645Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T17:29:59.661Z] $ docker stop --time=1 abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 [2023-01-17T17:30:00.950Z] $ docker rm -f --volumes abc4285658c7f5e0cd0e0a798981fc3a1333a783731b5f7fc990d347ac6aa650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:01.367Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:30:01.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:30:01.439Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:30:01.471Z] $ 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-01-17T17:30:01.841Z] $ docker top b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:30:02.178Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:30:02.486Z] + make test [2023-01-17T17:30:02.486Z] go test ./... -coverprofile=coverage.out [2023-01-17T17:30:02.744Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-17T17:30:10.857Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-17T17:30:10.857Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.019s coverage: 0.0% of statements [2023-01-17T17:30:17.416Z] 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-01-17T17:30:17.416Z] go vet ./... [2023-01-17T17:30:19.943Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:30:19.943Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:30:19.943Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:30:19.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:30:19.972Z] $ docker stop --time=1 b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee [2023-01-17T17:30:21.825Z] $ docker rm -f --volumes b5a8826775ca2b97663ec0806de3015a499efcb4adaf48596ea26fd2120572ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:30:22.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:30:22.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-17T17:30:22.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:30:23.075Z] + ls -al . [2023-01-17T17:30:23.076Z] total 180 [2023-01-17T17:30:23.076Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:30 . [2023-01-17T17:30:23.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:28 .. [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 17:28 .dockerignore [2023-01-17T17:30:23.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:30 .git [2023-01-17T17:30:23.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 .github [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 17:28 .gitignore [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:28 .golangci.yml [2023-01-17T17:30:23.076Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:29 .semver [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 17:28 Attribution.txt [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 17:28 CHANGELOG.md [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 17:28 Dockerfile [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:28 GOVERNANCE.md [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 17:28 Jenkinsfile [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:28 LICENSE [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 17:28 Makefile [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:28 OWNERS.md [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 17:28 README.md [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:29 VERSION [2023-01-17T17:30:23.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:28 bin [2023-01-17T17:30:23.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 cmd [2023-01-17T17:30:23.076Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 17:30 coverage.out [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 17:28 go.mod [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 17:28 go.sum [2023-01-17T17:30:23.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:28 internal [2023-01-17T17:30:23.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:28 snap [2023-01-17T17:30:23.076Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:23.378Z] + 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba --label arch=amd64 --label version=3.0.0-dev.5 . [2023-01-17T17:30:23.378Z] Sending build context to Docker daemon 5.671MB [2023-01-17T17:30:23.378Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:30:23.378Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-17T17:30:23.378Z] ---> afd31281833c [2023-01-17T17:30:23.378Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:30:23.378Z] ---> Running in 6a00e5e1611b [2023-01-17T17:30:23.642Z] Removing intermediate container 6a00e5e1611b [2023-01-17T17:30:23.642Z] ---> 8472a53f2c8e [2023-01-17T17:30:23.642Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:30:23.642Z] ---> Running in 43ebfe8a2a0d [2023-01-17T17:30:23.642Z] Removing intermediate container 43ebfe8a2a0d [2023-01-17T17:30:23.642Z] ---> 5aa783d95a86 [2023-01-17T17:30:23.642Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:30:23.642Z] ---> Running in 7f18fc5fc6ad [2023-01-17T17:30:23.642Z] Removing intermediate container 7f18fc5fc6ad [2023-01-17T17:30:23.642Z] ---> c766fe8fe600 [2023-01-17T17:30:23.642Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:30:23.902Z] ---> Running in 8e5375bd4c84 [2023-01-17T17:30:23.902Z] Removing intermediate container 8e5375bd4c84 [2023-01-17T17:30:23.902Z] ---> 8eaf93956121 [2023-01-17T17:30:23.902Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:30:23.902Z] ---> Running in 9d025bece71a [2023-01-17T17:30:24.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:30:24.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:30:24.679Z] OK: 216 MiB in 55 packages [2023-01-17T17:30:24.938Z] Removing intermediate container 9d025bece71a [2023-01-17T17:30:24.938Z] ---> 75ad486287b8 [2023-01-17T17:30:24.938Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-17T17:30:24.938Z] ---> Running in d358243e7343 [2023-01-17T17:30:25.197Z] Removing intermediate container d358243e7343 [2023-01-17T17:30:25.197Z] ---> 2c3b9c970c33 [2023-01-17T17:30:25.197Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-17T17:30:25.197Z] ---> 048f030ab92e [2023-01-17T17:30:25.197Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:30:25.197Z] ---> Running in a6389e3df2c3 [2023-01-17T17:30:26.166Z] Removing intermediate container a6389e3df2c3 [2023-01-17T17:30:26.166Z] ---> aeb4afb545a6 [2023-01-17T17:30:26.166Z] Step 11/24 : COPY . . [2023-01-17T17:30:26.425Z] ---> 9638ae95129b [2023-01-17T17:30:26.425Z] Step 12/24 : RUN ${MAKE} [2023-01-17T17:30:26.425Z] ---> Running in 8575a2ec7647 [2023-01-17T17:30:26.684Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-17T17:30:44.773Z] Removing intermediate container 8575a2ec7647 [2023-01-17T17:30:44.773Z] ---> 22acedecf163 [2023-01-17T17:30:44.773Z] Step 13/24 : FROM alpine:3.16 [2023-01-17T17:30:44.773Z] 3.16: Pulling from library/alpine [2023-01-17T17:30:44.773Z] ca7dd9ec2225: Pulling fs layer [2023-01-17T17:30:45.044Z] ca7dd9ec2225: Verifying Checksum [2023-01-17T17:30:45.044Z] ca7dd9ec2225: Download complete [2023-01-17T17:30:45.303Z] ca7dd9ec2225: Pull complete [2023-01-17T17:30:45.303Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:30:45.303Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:30:45.303Z] ---> bfe296a52501 [2023-01-17T17:30:45.303Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:30:45.303Z] ---> Running in 6370fb0a12dd [2023-01-17T17:30:45.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:30:45.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:30:46.081Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:30:46.081Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:30:46.081Z] OK: 6 MiB in 15 packages [2023-01-17T17:30:46.341Z] Removing intermediate container 6370fb0a12dd [2023-01-17T17:30:46.341Z] ---> df782603c858 [2023-01-17T17:30:46.341Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-17T17:30:46.914Z] ---> 3459ef48266a [2023-01-17T17:30:46.914Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-17T17:30:47.193Z] ---> fa0065379c43 [2023-01-17T17:30:47.193Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-17T17:30:47.193Z] ---> 2f42013ec14c [2023-01-17T17:30:47.193Z] Step 18/24 : EXPOSE 59993 [2023-01-17T17:30:47.452Z] ---> Running in 3914f8793f94 [2023-01-17T17:30:47.452Z] Removing intermediate container 3914f8793f94 [2023-01-17T17:30:47.452Z] ---> c0059c3deab7 [2023-01-17T17:30:47.452Z] Step 19/24 : EXPOSE 161 [2023-01-17T17:30:47.452Z] ---> Running in 60b7e0424d56 [2023-01-17T17:30:47.452Z] Removing intermediate container 60b7e0424d56 [2023-01-17T17:30:47.452Z] ---> 528217cad3ef [2023-01-17T17:30:47.452Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-17T17:30:47.711Z] ---> Running in 43d6bf97ed84 [2023-01-17T17:30:47.711Z] Removing intermediate container 43d6bf97ed84 [2023-01-17T17:30:47.711Z] ---> 76841d8a0257 [2023-01-17T17:30:47.711Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:30:47.711Z] ---> Running in f0aebafb9073 [2023-01-17T17:30:47.711Z] Removing intermediate container f0aebafb9073 [2023-01-17T17:30:47.711Z] ---> 96bd35e2606c [2023-01-17T17:30:47.711Z] Step 22/24 : LABEL arch=amd64 [2023-01-17T17:30:47.968Z] ---> Running in e8509a27afdd [2023-01-17T17:30:47.968Z] Removing intermediate container e8509a27afdd [2023-01-17T17:30:47.968Z] ---> 2997a9ef307d [2023-01-17T17:30:47.969Z] Step 23/24 : LABEL git_sha=2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:30:47.969Z] ---> Running in f4be0ce13a25 [2023-01-17T17:30:48.228Z] Removing intermediate container f4be0ce13a25 [2023-01-17T17:30:48.228Z] ---> 5feb6b609990 [2023-01-17T17:30:48.228Z] Step 24/24 : LABEL version=3.0.0-dev.5 [2023-01-17T17:30:48.228Z] ---> Running in 008d6c0477d1 [2023-01-17T17:30:48.228Z] Removing intermediate container 008d6c0477d1 [2023-01-17T17:30:48.228Z] ---> 7951dbedb813 [2023-01-17T17:30:48.228Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:30:48.228Z] Successfully built 7951dbedb813 [2023-01-17T17:30:48.228Z] 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-01-17T17:30:48.308Z] provisioning config files... [2023-01-17T17:30:48.317Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17092112285189728650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:30:48.613Z] ---> docker-login.sh [2023-01-17T17:30:48.613Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:30:48.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:30:48.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:30:48.613Z] Configure a credential helper to remove this warning. See [2023-01-17T17:30:48.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:30:48.613Z] [2023-01-17T17:30:48.613Z] Login Succeeded [2023-01-17T17:30:48.613Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:30:48.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:30:48.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:30:48.614Z] Configure a credential helper to remove this warning. See [2023-01-17T17:30:48.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:30:48.614Z] [2023-01-17T17:30:48.614Z] Login Succeeded [2023-01-17T17:30:48.614Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:30:48.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:30:48.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:30:48.872Z] Configure a credential helper to remove this warning. See [2023-01-17T17:30:48.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:30:48.872Z] [2023-01-17T17:30:48.872Z] Login Succeeded [2023-01-17T17:30:48.872Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:30:48.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:30:48.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:30:48.872Z] Configure a credential helper to remove this warning. See [2023-01-17T17:30:48.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:30:48.872Z] [2023-01-17T17:30:48.872Z] Login Succeeded [2023-01-17T17:30:48.872Z] docker.io [2023-01-17T17:30:49.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:30:49.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:30:49.131Z] Configure a credential helper to remove this warning. See [2023-01-17T17:30:49.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:30:49.131Z] [2023-01-17T17:30:49.131Z] Login Succeeded [2023-01-17T17:30:49.131Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:30:49.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:30:49.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:30:49.179Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-01-17T17:30:49.179Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:30:49.179Z] latest [2023-01-17T17:30:49.179Z] 3.0.0-dev.5 [2023-01-17T17:30:49.179Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:30:49.179Z] main [2023-01-17T17:30:49.179Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:49.489Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:49.792Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:30:49.792Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-17T17:30:49.792Z] aec4bf3d57ac: Preparing [2023-01-17T17:30:49.792Z] 5b5b02b6730a: Preparing [2023-01-17T17:30:49.792Z] a75ea3a88623: Preparing [2023-01-17T17:30:49.792Z] dab22a138762: Preparing [2023-01-17T17:30:49.792Z] e5e13b0c77cb: Preparing [2023-01-17T17:30:49.792Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:30:49.792Z] aec4bf3d57ac: Pushed [2023-01-17T17:30:49.792Z] 5b5b02b6730a: Pushed [2023-01-17T17:30:49.792Z] dab22a138762: Pushed [2023-01-17T17:30:52.408Z] a75ea3a88623: Pushed [2023-01-17T17:30:52.408Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:52.747Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:53.071Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-17T17:30:53.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-17T17:30:53.071Z] aec4bf3d57ac: Preparing [2023-01-17T17:30:53.071Z] 5b5b02b6730a: Preparing [2023-01-17T17:30:53.071Z] a75ea3a88623: Preparing [2023-01-17T17:30:53.071Z] dab22a138762: Preparing [2023-01-17T17:30:53.071Z] e5e13b0c77cb: Preparing [2023-01-17T17:30:53.071Z] aec4bf3d57ac: Layer already exists [2023-01-17T17:30:53.071Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:30:53.071Z] dab22a138762: Layer already exists [2023-01-17T17:30:53.071Z] 5b5b02b6730a: Layer already exists [2023-01-17T17:30:53.071Z] a75ea3a88623: Layer already exists [2023-01-17T17:30:53.071Z] latest: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:53.387Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:53.696Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 [2023-01-17T17:30:53.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-17T17:30:53.696Z] aec4bf3d57ac: Preparing [2023-01-17T17:30:53.696Z] 5b5b02b6730a: Preparing [2023-01-17T17:30:53.696Z] a75ea3a88623: Preparing [2023-01-17T17:30:53.696Z] dab22a138762: Preparing [2023-01-17T17:30:53.696Z] e5e13b0c77cb: Preparing [2023-01-17T17:30:53.696Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:30:53.696Z] dab22a138762: Layer already exists [2023-01-17T17:30:53.696Z] a75ea3a88623: Layer already exists [2023-01-17T17:30:53.696Z] aec4bf3d57ac: Layer already exists [2023-01-17T17:30:53.696Z] 5b5b02b6730a: Layer already exists [2023-01-17T17:30:53.696Z] 3.0.0-dev.5: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:54.000Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:54.313Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:30:54.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-17T17:30:54.314Z] aec4bf3d57ac: Preparing [2023-01-17T17:30:54.314Z] 5b5b02b6730a: Preparing [2023-01-17T17:30:54.314Z] a75ea3a88623: Preparing [2023-01-17T17:30:54.314Z] dab22a138762: Preparing [2023-01-17T17:30:54.314Z] e5e13b0c77cb: Preparing [2023-01-17T17:30:54.314Z] dab22a138762: Layer already exists [2023-01-17T17:30:54.314Z] a75ea3a88623: Layer already exists [2023-01-17T17:30:54.314Z] aec4bf3d57ac: Layer already exists [2023-01-17T17:30:54.314Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:30:54.314Z] 5b5b02b6730a: Layer already exists [2023-01-17T17:30:54.314Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:54.639Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:54.940Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-01-17T17:30:54.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-17T17:30:54.940Z] aec4bf3d57ac: Preparing [2023-01-17T17:30:54.940Z] 5b5b02b6730a: Preparing [2023-01-17T17:30:54.940Z] a75ea3a88623: Preparing [2023-01-17T17:30:54.940Z] dab22a138762: Preparing [2023-01-17T17:30:54.940Z] e5e13b0c77cb: Preparing [2023-01-17T17:30:54.940Z] aec4bf3d57ac: Layer already exists [2023-01-17T17:30:54.940Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:30:54.940Z] a75ea3a88623: Layer already exists [2023-01-17T17:30:54.940Z] 5b5b02b6730a: Layer already exists [2023-01-17T17:30:54.940Z] dab22a138762: Layer already exists [2023-01-17T17:30:54.940Z] main: digest: sha256:010a85cb00be791e82979ef8cd7f394b10eefa60fa2ff1d500a1e14fdd8f98c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:30:54.976Z] ===================================================== [Pipeline] echo [2023-01-17T17:30:54.981Z] taggedImages: [2023-01-17T17:30:54.981Z] - nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:30:54.981Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-17T17:30:54.981Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.5 [2023-01-17T17:30:54.981Z] - nexus3.edgexfoundry.org:10004/device-snmp:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:30:54.981Z] - 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-01-17T17:30:55.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:30:55.345Z] [2023-01-17T17:30:55.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:30:55.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:30:55.646Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T17:30:55.646Z] 5eb5b503b376: Pulling fs layer [2023-01-17T17:30:55.646Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T17:30:55.646Z] ec43610c2a17: Pulling fs layer [2023-01-17T17:30:55.646Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T17:30:55.646Z] 33b1e0a273af: Pulling fs layer [2023-01-17T17:30:55.646Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T17:30:55.646Z] 2f39f015ded8: Pulling fs layer [2023-01-17T17:30:55.646Z] 3a2ae6a8a46f: Waiting [2023-01-17T17:30:55.646Z] 33b1e0a273af: Waiting [2023-01-17T17:30:55.646Z] 2f39f015ded8: Waiting [2023-01-17T17:30:55.646Z] 5d3b04190fa2: Waiting [2023-01-17T17:30:55.646Z] 5c69ac0246d0: Verifying Checksum [2023-01-17T17:30:55.646Z] 5c69ac0246d0: Download complete [2023-01-17T17:30:55.646Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T17:30:55.646Z] 3a2ae6a8a46f: Download complete [2023-01-17T17:30:55.908Z] 33b1e0a273af: Verifying Checksum [2023-01-17T17:30:55.908Z] 33b1e0a273af: Download complete [2023-01-17T17:30:55.908Z] ec43610c2a17: Verifying Checksum [2023-01-17T17:30:55.908Z] ec43610c2a17: Download complete [2023-01-17T17:30:55.908Z] 5d3b04190fa2: Verifying Checksum [2023-01-17T17:30:55.908Z] 5d3b04190fa2: Download complete [2023-01-17T17:30:55.908Z] 5eb5b503b376: Verifying Checksum [2023-01-17T17:30:55.908Z] 5eb5b503b376: Download complete [2023-01-17T17:30:56.843Z] 2f39f015ded8: Download complete [2023-01-17T17:30:57.101Z] 5eb5b503b376: Pull complete [2023-01-17T17:30:57.360Z] 5c69ac0246d0: Pull complete [2023-01-17T17:30:57.619Z] ec43610c2a17: Pull complete [2023-01-17T17:30:57.878Z] 3a2ae6a8a46f: Pull complete [2023-01-17T17:30:58.136Z] 33b1e0a273af: Pull complete [2023-01-17T17:30:58.136Z] 5d3b04190fa2: Pull complete [2023-01-17T17:31:02.325Z] 2f39f015ded8: Pull complete [2023-01-17T17:31:02.325Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T17:31:02.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:31:02.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:31:02.400Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:31:02.431Z] $ 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-01-17T17:31:04.247Z] $ docker top 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:31:04.644Z] ---> job-cost.sh [2023-01-17T17:31:04.644Z] lf-activate-venv: SKIPPING [2023-01-17T17:31:04.644Z] INFO: No Stack... [2023-01-17T17:31:04.902Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:31:05.162Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:31:05.459Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-01-17T17:31:05.459Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:31:05.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [2023-01-17T17:31:05.480Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] did not exist. Created. [2023-01-17T17:31:05.480Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:31:05.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T17:31:05.800Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:31:05.807Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:31:05.829Z] $ docker stop --time=1 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b [2023-01-17T17:31:07.007Z] $ docker rm -f --volumes 38c676c547df4efe1ba7b5113caf703c2e681e913357fd42e9684a16ad305c5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T17:31:18.827Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2745 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-01-17T17:31:18.840Z] Running in /w/workspace/device-snmp-go/61 [Pipeline] { [Pipeline] checkout [2023-01-17T17:31:18.875Z] Selected Git installation does not exist. Using Default [2023-01-17T17:31:18.875Z] The recommended git tool is: NONE [2023-01-17T17:31:24.330Z] using credential edgex-jenkins-ssh [2023-01-17T17:31:24.347Z] Cloning the remote Git repository [2023-01-17T17:31:24.386Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-17T17:31:24.461Z] > git init /w/workspace/device-snmp-go/61 # timeout=10 [2023-01-17T17:31:24.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-17T17:31:24.607Z] > git --version # timeout=10 [2023-01-17T17:31:24.639Z] > git --version # 'git version 2.25.1' [2023-01-17T17:31:24.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T17:31:24.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:31:25.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-17T17:31:25.708Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:31:26.569Z] Avoid second fetch [2023-01-17T17:31:26.569Z] Checking out Revision 2bd6e5dae59222faf073cfb9822f90f2048c0bba (main) [2023-01-17T17:31:27.078Z] Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#213)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:31:26.581Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T17:31:26.602Z] > git checkout -f 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-01-17T17:31:27.909Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T17:31:27.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:31:27.909Z] Dload Upload Total Spent Left Speed [2023-01-17T17:31:27.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh [2023-01-17T17:31:28.477Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T17:31:28.857Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T17:31:28.857Z] + sudo tee /etc/docker/daemon.new [2023-01-17T17:31:28.857Z] { [2023-01-17T17:31:28.857Z] "registry-mirrors": [ [2023-01-17T17:31:28.857Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T17:31:28.857Z] ], [2023-01-17T17:31:28.857Z] "bip": "10.250.0.254/24", [2023-01-17T17:31:28.857Z] "hosts": [ [2023-01-17T17:31:28.857Z] "tcp://0.0.0.0:5555", [2023-01-17T17:31:28.857Z] "unix:///var/run/docker.sock" [2023-01-17T17:31:28.857Z] ], [2023-01-17T17:31:28.857Z] "mtu": 1458, [2023-01-17T17:31:28.857Z] "selinux-enabled": true, [2023-01-17T17:31:28.857Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T17:31:28.857Z] } [Pipeline] sh [2023-01-17T17:31:29.190Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T17:31:29.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:31:47.808Z] provisioning config files... [2023-01-17T17:31:47.835Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/61@tmp/config4845010158353618097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:31:48.195Z] ---> docker-login.sh [2023-01-17T17:31:48.195Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:31:48.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:48.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:48.735Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:48.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:48.735Z] [2023-01-17T17:31:48.735Z] Login Succeeded [2023-01-17T17:31:48.735Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:31:49.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:49.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:49.006Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:49.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:49.006Z] [2023-01-17T17:31:49.006Z] Login Succeeded [2023-01-17T17:31:49.006Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:31:49.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:49.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:49.546Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:49.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:49.546Z] [2023-01-17T17:31:49.546Z] Login Succeeded [2023-01-17T17:31:49.546Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:31:49.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:49.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:49.816Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:49.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:49.816Z] [2023-01-17T17:31:49.816Z] Login Succeeded [2023-01-17T17:31:49.816Z] docker.io [2023-01-17T17:31:50.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:31:50.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:31:50.356Z] Configure a credential helper to remove this warning. See [2023-01-17T17:31:50.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:31:50.356Z] [2023-01-17T17:31:50.356Z] Login Succeeded [2023-01-17T17:31:50.356Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:31:50.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:31:50.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:31:50.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:31:50.672Z] ========================================================= [2023-01-17T17:31:50.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T17:31:50.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:31:51.026Z] + 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-01-17T17:31:51.295Z] Sending build context to Docker daemon 2.934MB [2023-01-17T17:31:51.295Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:31:51.295Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:31:51.568Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T17:31:51.568Z] 9b18e9b68314: Pulling fs layer [2023-01-17T17:31:51.568Z] 35d82f9e3411: Pulling fs layer [2023-01-17T17:31:51.568Z] e16973657156: Pulling fs layer [2023-01-17T17:31:51.568Z] fc693d55d65f: Pulling fs layer [2023-01-17T17:31:51.568Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T17:31:51.568Z] dda99020689f: Pulling fs layer [2023-01-17T17:31:51.568Z] db1c61fa0a46: Pulling fs layer [2023-01-17T17:31:51.568Z] 891c053d2c06: Pulling fs layer [2023-01-17T17:31:51.568Z] fc693d55d65f: Waiting [2023-01-17T17:31:51.568Z] 7e9fc2657dce: Waiting [2023-01-17T17:31:51.568Z] db1c61fa0a46: Waiting [2023-01-17T17:31:51.568Z] 891c053d2c06: Waiting [2023-01-17T17:31:51.568Z] dda99020689f: Waiting [2023-01-17T17:31:51.568Z] e16973657156: Verifying Checksum [2023-01-17T17:31:51.568Z] e16973657156: Download complete [2023-01-17T17:31:51.568Z] 35d82f9e3411: Verifying Checksum [2023-01-17T17:31:51.568Z] 35d82f9e3411: Download complete [2023-01-17T17:31:51.568Z] 7e9fc2657dce: Download complete [2023-01-17T17:31:51.568Z] dda99020689f: Verifying Checksum [2023-01-17T17:31:51.568Z] dda99020689f: Download complete [2023-01-17T17:31:51.568Z] 9b18e9b68314: Verifying Checksum [2023-01-17T17:31:52.538Z] 9b18e9b68314: Pull complete [2023-01-17T17:31:52.538Z] 891c053d2c06: Verifying Checksum [2023-01-17T17:31:52.538Z] 891c053d2c06: Download complete [2023-01-17T17:31:53.138Z] 35d82f9e3411: Pull complete [2023-01-17T17:31:53.418Z] e16973657156: Pull complete [2023-01-17T17:31:54.012Z] db1c61fa0a46: Verifying Checksum [2023-01-17T17:31:54.012Z] db1c61fa0a46: Download complete [2023-01-17T17:31:54.284Z] fc693d55d65f: Verifying Checksum [2023-01-17T17:31:54.284Z] fc693d55d65f: Download complete [2023-01-17T17:32:06.629Z] fc693d55d65f: Pull complete [2023-01-17T17:32:06.629Z] 7e9fc2657dce: Pull complete [2023-01-17T17:32:06.629Z] dda99020689f: Pull complete [2023-01-17T17:32:13.304Z] db1c61fa0a46: Pull complete [2023-01-17T17:32:14.737Z] 891c053d2c06: Pull complete [2023-01-17T17:32:14.737Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T17:32:14.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T17:32:14.737Z] ---> f96f9c87975a [2023-01-17T17:32:14.737Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:32:16.701Z] ---> Running in ac8e59271975 [2023-01-17T17:32:16.969Z] Removing intermediate container ac8e59271975 [2023-01-17T17:32:16.969Z] ---> 8b68e4fb3c81 [2023-01-17T17:32:16.969Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:32:16.969Z] ---> Running in 672394c5f332 [2023-01-17T17:32:17.237Z] Removing intermediate container 672394c5f332 [2023-01-17T17:32:17.238Z] ---> f19e7d283d68 [2023-01-17T17:32:17.238Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:32:17.507Z] ---> Running in b3c235eaa089 [2023-01-17T17:32:17.781Z] Removing intermediate container b3c235eaa089 [2023-01-17T17:32:17.781Z] ---> 2ad8839d9b04 [2023-01-17T17:32:17.781Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:32:17.781Z] ---> Running in 267cef615f0c [2023-01-17T17:32:18.060Z] Removing intermediate container 267cef615f0c [2023-01-17T17:32:18.060Z] ---> 7b6d79f8bac8 [2023-01-17T17:32:18.060Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:32:18.060Z] ---> Running in 77c03a6806f5 [2023-01-17T17:32:19.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:32:19.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:32:20.514Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:32:20.514Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:32:20.514Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:32:20.514Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:32:20.514Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:32:20.789Z] OK: 226 MiB in 55 packages [2023-01-17T17:32:21.776Z] Removing intermediate container 77c03a6806f5 [2023-01-17T17:32:21.776Z] ---> a961911e8648 [2023-01-17T17:32:21.776Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-17T17:32:21.776Z] ---> Running in 8e59d5e4efc9 [2023-01-17T17:32:22.045Z] Removing intermediate container 8e59d5e4efc9 [2023-01-17T17:32:22.045Z] ---> 96b754a6faf4 [2023-01-17T17:32:22.045Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:32:22.630Z] ---> 8af76617a888 [2023-01-17T17:32:22.630Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:32:22.630Z] ---> Running in f3b7a31063d9 [2023-01-17T17:33:19.066Z] Removing intermediate container f3b7a31063d9 [2023-01-17T17:33:19.066Z] ---> 79cb824dc34a [2023-01-17T17:33:19.066Z] Step 11/12 : COPY . . [2023-01-17T17:33:19.335Z] ---> d4028c888ac0 [2023-01-17T17:33:19.335Z] Step 12/12 : RUN ${MAKE} [2023-01-17T17:33:19.335Z] ---> Running in 881e14074342 [2023-01-17T17:33:20.301Z] noop [2023-01-17T17:33:21.267Z] Removing intermediate container 881e14074342 [2023-01-17T17:33:21.267Z] ---> f194bcf2b01c [2023-01-17T17:33:21.267Z] Successfully built f194bcf2b01c [2023-01-17T17:33:21.267Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:21.620Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:33:21.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:21.810Z] prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container [2023-01-17T17:33:21.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:33:23.106Z] $ docker top 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:23.940Z] + go version [2023-01-17T17:33:23.940Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T17:33:23.961Z] $ docker stop --time=1 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 [2023-01-17T17:33:25.599Z] $ docker rm -f --volumes 57236cee46b14f7eabee2f03350b104b5d5180f3e36866d4c6cbd6686bc4ccf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:26.174Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:33:26.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:26.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container [2023-01-17T17:33:26.437Z] $ 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/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:33:27.720Z] $ docker top 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:28.599Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/61 [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:33:29.263Z] + make test [2023-01-17T17:33:29.263Z] go test ./... -coverprofile=coverage.out [2023-01-17T17:33:31.865Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-17T17:34:53.563Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-17T17:34:53.563Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements [2023-01-17T17:34:53.563Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-17T17:34:53.563Z] go vet ./... [2023-01-17T17:35:20.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:35:20.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:35:20.330Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:35:20.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:35:20.369Z] $ docker stop --time=1 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 [2023-01-17T17:35:22.221Z] $ docker rm -f --volumes 11af8c9756235f387813652dfac316c0d38afbc33339a6e43494048779742623 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:35:23.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:35:23.297Z] Warning: overwriting stash ‘coverage-report’ [2023-01-17T17:35:23.877Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:35:24.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:35:24.615Z] + ls -al . [2023-01-17T17:35:24.615Z] total 176 [2023-01-17T17:35:24.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 . [2023-01-17T17:35:24.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 .. [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 17:31 .dockerignore [2023-01-17T17:35:24.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:31 .git [2023-01-17T17:35:24.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 .github [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 17 17:31 .gitignore [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:31 .golangci.yml [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 17 17:31 Attribution.txt [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 17 17:31 CHANGELOG.md [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 17 17:31 Dockerfile [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:31 GOVERNANCE.md [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 17:31 Jenkinsfile [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:31 LICENSE [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 17 17:31 Makefile [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 17:31 OWNERS.md [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 17 17:31 README.md [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:29 VERSION [2023-01-17T17:35:24.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 bin [2023-01-17T17:35:24.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 cmd [2023-01-17T17:35:24.615Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 17:34 coverage.out [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 17 17:31 go.mod [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 17 17:31 go.sum [2023-01-17T17:35:24.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 internal [2023-01-17T17:35:24.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 snap [2023-01-17T17:35:24.615Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 17 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:35:24.978Z] + 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba --label arch=arm64 --label version=3.0.0-dev.5 . [2023-01-17T17:35:25.245Z] Sending build context to Docker daemon 2.942MB [2023-01-17T17:35:25.245Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:35:25.245Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-17T17:35:25.245Z] ---> f194bcf2b01c [2023-01-17T17:35:25.245Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:35:25.511Z] ---> Running in cdc7216fa8c2 [2023-01-17T17:35:25.779Z] Removing intermediate container cdc7216fa8c2 [2023-01-17T17:35:25.779Z] ---> fabfac173a13 [2023-01-17T17:35:25.779Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:35:25.779Z] ---> Running in 39f93fd3f66a [2023-01-17T17:35:26.363Z] Removing intermediate container 39f93fd3f66a [2023-01-17T17:35:26.363Z] ---> 0ff509929084 [2023-01-17T17:35:26.363Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-17T17:35:26.363Z] ---> Running in ee2838aff844 [2023-01-17T17:35:26.631Z] Removing intermediate container ee2838aff844 [2023-01-17T17:35:26.631Z] ---> 0ed13f431820 [2023-01-17T17:35:26.631Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:35:26.631Z] ---> Running in 3fc5dd7501df [2023-01-17T17:35:26.910Z] Removing intermediate container 3fc5dd7501df [2023-01-17T17:35:26.910Z] ---> 6b2f5fe8f16a [2023-01-17T17:35:26.910Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:35:27.206Z] ---> Running in fe0e062ba6c0 [2023-01-17T17:35:28.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:35:28.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:35:29.732Z] OK: 226 MiB in 55 packages [2023-01-17T17:35:30.705Z] Removing intermediate container fe0e062ba6c0 [2023-01-17T17:35:30.705Z] ---> 18bd45606572 [2023-01-17T17:35:30.705Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-17T17:35:30.979Z] ---> Running in b292dd44009d [2023-01-17T17:35:31.248Z] Removing intermediate container b292dd44009d [2023-01-17T17:35:31.248Z] ---> e793a9c09469 [2023-01-17T17:35:31.248Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-17T17:35:31.837Z] ---> 7960b00542ec [2023-01-17T17:35:31.837Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:35:31.837Z] ---> Running in f01b5c4e0e59 [2023-01-17T17:35:34.443Z] Removing intermediate container f01b5c4e0e59 [2023-01-17T17:35:34.443Z] ---> 576ebed17536 [2023-01-17T17:35:34.443Z] Step 11/24 : COPY . . [2023-01-17T17:35:35.410Z] ---> 57f9faaa0ec9 [2023-01-17T17:35:35.410Z] Step 12/24 : RUN ${MAKE} [2023-01-17T17:35:35.410Z] ---> Running in 4476c8f45e91 [2023-01-17T17:35:36.371Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-17T17:38:28.184Z] Removing intermediate container 4476c8f45e91 [2023-01-17T17:38:28.184Z] ---> e870ae497ae8 [2023-01-17T17:38:28.184Z] Step 13/24 : FROM alpine:3.16 [2023-01-17T17:38:28.184Z] 3.16: Pulling from library/alpine [2023-01-17T17:38:28.184Z] 6875df1f5354: Pulling fs layer [2023-01-17T17:38:28.184Z] 6875df1f5354: Verifying Checksum [2023-01-17T17:38:28.184Z] 6875df1f5354: Download complete [2023-01-17T17:38:28.184Z] 6875df1f5354: Pull complete [2023-01-17T17:38:28.184Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:38:28.184Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:38:28.184Z] ---> 2b4661558fb8 [2023-01-17T17:38:28.184Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-17T17:38:28.184Z] ---> Running in 6299cb16bf75 [2023-01-17T17:38:28.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:38:28.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:38:30.152Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-17T17:38:30.152Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:38:30.152Z] OK: 5 MiB in 15 packages [2023-01-17T17:38:31.126Z] Removing intermediate container 6299cb16bf75 [2023-01-17T17:38:31.126Z] ---> 5cc1f9e23cbf [2023-01-17T17:38:31.126Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-17T17:38:32.548Z] ---> 866e34c71014 [2023-01-17T17:38:32.548Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-17T17:38:33.139Z] ---> e2ed00fa8748 [2023-01-17T17:38:33.139Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-17T17:38:33.726Z] ---> 3cd86b6fa958 [2023-01-17T17:38:33.726Z] Step 18/24 : EXPOSE 59993 [2023-01-17T17:38:33.991Z] ---> Running in 729935b1d80c [2023-01-17T17:38:34.261Z] Removing intermediate container 729935b1d80c [2023-01-17T17:38:34.261Z] ---> 0c92e435de31 [2023-01-17T17:38:34.261Z] Step 19/24 : EXPOSE 161 [2023-01-17T17:38:34.261Z] ---> Running in 5b762169fd8b [2023-01-17T17:38:34.530Z] Removing intermediate container 5b762169fd8b [2023-01-17T17:38:34.530Z] ---> 463e32b5b45b [2023-01-17T17:38:34.530Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-17T17:38:34.797Z] ---> Running in 64585335f3ab [2023-01-17T17:38:35.065Z] Removing intermediate container 64585335f3ab [2023-01-17T17:38:35.065Z] ---> 4eb43c883f3d [2023-01-17T17:38:35.065Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:38:35.065Z] ---> Running in 9e1085798c7a [2023-01-17T17:38:35.334Z] Removing intermediate container 9e1085798c7a [2023-01-17T17:38:35.334Z] ---> 1b21f15f5e83 [2023-01-17T17:38:35.334Z] Step 22/24 : LABEL arch=arm64 [2023-01-17T17:38:35.604Z] ---> Running in b8141e74ded6 [2023-01-17T17:38:35.872Z] Removing intermediate container b8141e74ded6 [2023-01-17T17:38:35.872Z] ---> 6cc79202cfb3 [2023-01-17T17:38:35.872Z] Step 23/24 : LABEL git_sha=2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:38:35.872Z] ---> Running in 9113b078bcce [2023-01-17T17:38:36.142Z] Removing intermediate container 9113b078bcce [2023-01-17T17:38:36.142Z] ---> 85dc63cf83cc [2023-01-17T17:38:36.142Z] Step 24/24 : LABEL version=3.0.0-dev.5 [2023-01-17T17:38:36.412Z] ---> Running in a4e4a988709d [2023-01-17T17:38:36.681Z] Removing intermediate container a4e4a988709d [2023-01-17T17:38:36.681Z] ---> 48244edbf336 [2023-01-17T17:38:36.681Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:38:36.681Z] Successfully built 48244edbf336 [2023-01-17T17:38:36.681Z] 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-01-17T17:38:36.798Z] provisioning config files... [2023-01-17T17:38:36.817Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/61@tmp/config11904858286085444068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:38:37.165Z] ---> docker-login.sh [2023-01-17T17:38:37.166Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:38:37.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:37.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:37.435Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:37.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:37.435Z] [2023-01-17T17:38:37.435Z] Login Succeeded [2023-01-17T17:38:37.436Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:38:37.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:37.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:37.974Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:37.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:37.974Z] [2023-01-17T17:38:37.974Z] Login Succeeded [2023-01-17T17:38:37.974Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:38:38.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:38.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:38.242Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:38.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:38.242Z] [2023-01-17T17:38:38.242Z] Login Succeeded [2023-01-17T17:38:38.242Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:38:38.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:38.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:38.783Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:38.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:38.783Z] [2023-01-17T17:38:38.783Z] Login Succeeded [2023-01-17T17:38:38.783Z] docker.io [2023-01-17T17:38:39.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:38:39.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:38:39.321Z] Configure a credential helper to remove this warning. See [2023-01-17T17:38:39.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:38:39.321Z] [2023-01-17T17:38:39.321Z] Login Succeeded [2023-01-17T17:38:39.321Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:38:39.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:38:39.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:38:39.384Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-01-17T17:38:39.384Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:38:39.384Z] latest [2023-01-17T17:38:39.384Z] 3.0.0-dev.5 [2023-01-17T17:38:39.384Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:38:39.384Z] main [2023-01-17T17:38:39.384Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:39.744Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:40.094Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:38:40.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-17T17:38:40.095Z] d0882780e4f7: Preparing [2023-01-17T17:38:40.095Z] fc3b1e89ceb8: Preparing [2023-01-17T17:38:40.095Z] 5d650e68b012: Preparing [2023-01-17T17:38:40.095Z] 479fd2e7c101: Preparing [2023-01-17T17:38:40.095Z] 17bec77d7fdc: Preparing [2023-01-17T17:38:40.095Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:38:40.363Z] fc3b1e89ceb8: Pushed [2023-01-17T17:38:40.363Z] d0882780e4f7: Pushed [2023-01-17T17:38:40.363Z] 479fd2e7c101: Pushed [2023-01-17T17:38:45.713Z] 5d650e68b012: Pushed [2023-01-17T17:38:45.713Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:46.115Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:46.479Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-17T17:38:46.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-17T17:38:46.479Z] d0882780e4f7: Preparing [2023-01-17T17:38:46.479Z] fc3b1e89ceb8: Preparing [2023-01-17T17:38:46.479Z] 5d650e68b012: Preparing [2023-01-17T17:38:46.479Z] 479fd2e7c101: Preparing [2023-01-17T17:38:46.479Z] 17bec77d7fdc: Preparing [2023-01-17T17:38:46.479Z] d0882780e4f7: Layer already exists [2023-01-17T17:38:46.479Z] 5d650e68b012: Layer already exists [2023-01-17T17:38:46.479Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:38:46.479Z] 479fd2e7c101: Layer already exists [2023-01-17T17:38:46.479Z] fc3b1e89ceb8: Layer already exists [2023-01-17T17:38:46.752Z] latest: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:47.132Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:47.508Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 [2023-01-17T17:38:47.508Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-17T17:38:47.508Z] d0882780e4f7: Preparing [2023-01-17T17:38:47.508Z] fc3b1e89ceb8: Preparing [2023-01-17T17:38:47.508Z] 5d650e68b012: Preparing [2023-01-17T17:38:47.508Z] 479fd2e7c101: Preparing [2023-01-17T17:38:47.508Z] 17bec77d7fdc: Preparing [2023-01-17T17:38:47.508Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:38:47.508Z] d0882780e4f7: Layer already exists [2023-01-17T17:38:47.508Z] fc3b1e89ceb8: Layer already exists [2023-01-17T17:38:47.508Z] 5d650e68b012: Layer already exists [2023-01-17T17:38:47.508Z] 479fd2e7c101: Layer already exists [2023-01-17T17:38:47.784Z] 3.0.0-dev.5: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:48.144Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:48.496Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:38:48.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-17T17:38:48.497Z] d0882780e4f7: Preparing [2023-01-17T17:38:48.497Z] fc3b1e89ceb8: Preparing [2023-01-17T17:38:48.497Z] 5d650e68b012: Preparing [2023-01-17T17:38:48.497Z] 479fd2e7c101: Preparing [2023-01-17T17:38:48.497Z] 17bec77d7fdc: Preparing [2023-01-17T17:38:48.497Z] 5d650e68b012: Layer already exists [2023-01-17T17:38:48.497Z] 479fd2e7c101: Layer already exists [2023-01-17T17:38:48.497Z] fc3b1e89ceb8: Layer already exists [2023-01-17T17:38:48.497Z] d0882780e4f7: Layer already exists [2023-01-17T17:38:48.497Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:38:48.763Z] 2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:49.116Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:49.462Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-01-17T17:38:49.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-17T17:38:49.462Z] d0882780e4f7: Preparing [2023-01-17T17:38:49.462Z] fc3b1e89ceb8: Preparing [2023-01-17T17:38:49.462Z] 5d650e68b012: Preparing [2023-01-17T17:38:49.462Z] 479fd2e7c101: Preparing [2023-01-17T17:38:49.462Z] 17bec77d7fdc: Preparing [2023-01-17T17:38:49.462Z] 479fd2e7c101: Layer already exists [2023-01-17T17:38:49.462Z] d0882780e4f7: Layer already exists [2023-01-17T17:38:49.462Z] 5d650e68b012: Layer already exists [2023-01-17T17:38:49.462Z] fc3b1e89ceb8: Layer already exists [2023-01-17T17:38:49.462Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:38:49.733Z] main: digest: sha256:91b6a202a4cb925465b4395cf3c58ba460d29f398442d6331d323f00338d21b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:38:49.801Z] ===================================================== [Pipeline] echo [2023-01-17T17:38:49.813Z] taggedImages: [2023-01-17T17:38:49.814Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba [2023-01-17T17:38:49.814Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-17T17:38:49.814Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.5 [2023-01-17T17:38:49.814Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2bd6e5dae59222faf073cfb9822f90f2048c0bba-3.0.0-dev.5 [2023-01-17T17:38:49.814Z] - 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-01-17T17:38:50.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:38:50.171Z] [2023-01-17T17:38:50.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:50.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:38:51.011Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T17:38:51.011Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T17:38:51.011Z] 04944245beec: Pulling fs layer [2023-01-17T17:38:51.011Z] 699f458cf7ca: Pulling fs layer [2023-01-17T17:38:51.011Z] 765212b225bb: Pulling fs layer [2023-01-17T17:38:51.011Z] f23df028b6ca: Pulling fs layer [2023-01-17T17:38:51.011Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T17:38:51.011Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T17:38:51.011Z] f23df028b6ca: Waiting [2023-01-17T17:38:51.011Z] d65c8cfc05b1: Waiting [2023-01-17T17:38:51.011Z] 2437ff75d9bd: Waiting [2023-01-17T17:38:51.011Z] 765212b225bb: Waiting [2023-01-17T17:38:51.011Z] 04944245beec: Verifying Checksum [2023-01-17T17:38:51.011Z] 04944245beec: Download complete [2023-01-17T17:38:51.011Z] 765212b225bb: Verifying Checksum [2023-01-17T17:38:51.011Z] 765212b225bb: Download complete [2023-01-17T17:38:51.011Z] f23df028b6ca: Verifying Checksum [2023-01-17T17:38:51.011Z] f23df028b6ca: Download complete [2023-01-17T17:38:51.284Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T17:38:51.284Z] d65c8cfc05b1: Download complete [2023-01-17T17:38:51.284Z] 699f458cf7ca: Verifying Checksum [2023-01-17T17:38:51.284Z] 699f458cf7ca: Download complete [2023-01-17T17:38:51.878Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T17:38:51.878Z] 8998bd30e6a1: Download complete [2023-01-17T17:38:54.494Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T17:38:54.494Z] 2437ff75d9bd: Download complete [2023-01-17T17:38:55.929Z] 8998bd30e6a1: Pull complete [2023-01-17T17:38:56.514Z] 04944245beec: Pull complete [2023-01-17T17:38:57.924Z] 699f458cf7ca: Pull complete [2023-01-17T17:38:57.924Z] 765212b225bb: Pull complete [2023-01-17T17:38:58.883Z] f23df028b6ca: Pull complete [2023-01-17T17:38:58.883Z] d65c8cfc05b1: Pull complete [2023-01-17T17:39:13.881Z] 2437ff75d9bd: Pull complete [2023-01-17T17:39:13.881Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T17:39:13.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:39:13.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:39:14.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-2745 does not seem to be running inside a container [2023-01-17T17:39:14.171Z] $ 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/61 -v /w/workspace/device-snmp-go/61:/w/workspace/device-snmp-go/61:rw,z -v /w/workspace/device-snmp-go/61@tmp:/w/workspace/device-snmp-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-17T17:39:17.319Z] $ docker top 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:39:18.195Z] ---> job-cost.sh [2023-01-17T17:39:18.195Z] lf-activate-venv: SKIPPING [2023-01-17T17:39:18.195Z] INFO: No Stack... [2023-01-17T17:39:18.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T17:39:19.738Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:39:20.383Z] + cut -d, -f6 [2023-01-17T17:39:20.384Z] + cat /w/workspace/device-snmp-go/61/archives/cost.csv [Pipeline] lock [2023-01-17T17:39:20.468Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [2023-01-17T17:39:20.479Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] did not exist. Created. [2023-01-17T17:39:20.479Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:39:21.145Z] /w/workspace/device-snmp-go/61@tmp/durable-2156fd3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T17:39:21.813Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T17:39:21.832Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T17:39:21.887Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:39:21.897Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:39:21.918Z] $ docker stop --time=1 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 [2023-01-17T17:39:23.470Z] $ docker rm -f --volumes 62aa3b07e8e955c0f93fef2d063c1291dbf6a1ea4d9cbb5d573a7306bbb9f817 [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-01-17T17:39:23.860Z] provisioning config files... [2023-01-17T17:39:23.865Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5807130947295961044tmp [Pipeline] { [Pipeline] sh [2023-01-17T17:39:24.152Z] + set +x [2023-01-17T17:39:24.152Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-01-17T17:39:24.152Z] [2023-01-17T17:39:24.152Z] [2023-01-17T17:39:24.152Z] _____ _ [2023-01-17T17:39:24.152Z] / ____| | | [2023-01-17T17:39:24.152Z] | | ___ __| | ___ ___ _____ __ [2023-01-17T17:39:24.152Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-17T17:39:24.152Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-17T17:39:24.152Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-17T17:39:24.152Z] Bash-1.0.6 [2023-01-17T17:39:24.152Z] [2023-01-17T17:39:24.152Z] [2023-01-17T17:39:24.152Z] ==> git version 2.25.1 found [2023-01-17T17:39:24.153Z] ==> 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-01-17T17:39:24.153Z] Release-Date: 2020-01-08 [2023-01-17T17:39:24.153Z] 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-01-17T17:39:24.153Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-17T17:39:24.153Z] ==> Jenkins CI detected. [2023-01-17T17:39:24.153Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-01-17T17:39:24.153Z] project root: . [2023-01-17T17:39:24.153Z] --> token set from env [2023-01-17T17:39:24.153Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-17T17:39:24.153Z] ==> Running gcov in . (disable via -X gcov) [2023-01-17T17:39:24.153Z] ==> Python coveragepy not found [2023-01-17T17:39:24.153Z] ==> Searching for coverage reports in: [2023-01-17T17:39:24.153Z] + . [2023-01-17T17:39:24.153Z] -> Found 1 reports [2023-01-17T17:39:24.153Z] ==> Detecting git/mercurial file structure [2023-01-17T17:39:24.153Z] ==> Reading reports [2023-01-17T17:39:24.411Z] + ./coverage.out bytes=7631 [2023-01-17T17:39:24.411Z] ==> Appending adjustments [2023-01-17T17:39:24.411Z] https://docs.codecov.io/docs/fixing-reports [2023-01-17T17:39:24.411Z] + Found adjustments [2023-01-17T17:39:24.411Z] ==> Gzipping contents [2023-01-17T17:39:24.411Z] 4.0K /tmp/codecov.19CFrc.gz [2023-01-17T17:39:24.411Z] ==> Uploading reports [2023-01-17T17:39:24.411Z] url: https://codecov.io [2023-01-17T17:39:24.411Z] query: branch=main&commit=2bd6e5dae59222faf073cfb9822f90f2048c0bba&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:39:24.411Z] -> Pinging Codecov [2023-01-17T17:39:24.411Z] 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=2bd6e5dae59222faf073cfb9822f90f2048c0bba&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:39:26.318Z] -> Uploading to [2023-01-17T17:39:26.318Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/2bd6e5dae59222faf073cfb9822f90f2048c0bba/545f4057-b37c-42cf-a4e5-3dd1d501948e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T173925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b35aa87f69035915dc73d1be64047355c5b79013b497d596879fcfa9e18b7b01 [2023-01-17T17:39:26.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:39:26.318Z] Dload Upload Total Spent Left Speed [2023-01-17T17:39:26.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1517 0 0 100 1517 0 7472 --:--:-- --:--:-- --:--:-- 7436 100 1517 0 0 100 1517 0 5107 --:--:-- --:--:-- --:--:-- 5107 [2023-01-17T17:39:26.318Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] } [2023-01-17T17:39:26.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-17T17:39:26.539Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-17T17:39:26.554Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:26.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:39:26.856Z] [2023-01-17T17:39:26.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:27.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:39:27.155Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-17T17:39:27.155Z] df9b9388f04a: Pulling fs layer [2023-01-17T17:39:27.155Z] 52dc419b0ee2: Pulling fs layer [2023-01-17T17:39:27.155Z] 25bc292e5bac: Pulling fs layer [2023-01-17T17:39:27.155Z] 114826534d7a: Pulling fs layer [2023-01-17T17:39:27.155Z] 4657fd5d0bcf: Pulling fs layer [2023-01-17T17:39:27.155Z] 6ad1cebc031e: Pulling fs layer [2023-01-17T17:39:27.155Z] 8a3aa393b2d8: Pulling fs layer [2023-01-17T17:39:27.155Z] 114826534d7a: Waiting [2023-01-17T17:39:27.155Z] 4657fd5d0bcf: Waiting [2023-01-17T17:39:27.155Z] 6ad1cebc031e: Waiting [2023-01-17T17:39:27.155Z] 8a3aa393b2d8: Waiting [2023-01-17T17:39:27.155Z] 25bc292e5bac: Verifying Checksum [2023-01-17T17:39:27.156Z] 25bc292e5bac: Download complete [2023-01-17T17:39:27.156Z] 52dc419b0ee2: Download complete [2023-01-17T17:39:27.156Z] df9b9388f04a: Download complete [2023-01-17T17:39:27.425Z] df9b9388f04a: Pull complete [2023-01-17T17:39:27.425Z] 52dc419b0ee2: Pull complete [2023-01-17T17:39:27.703Z] 6ad1cebc031e: Verifying Checksum [2023-01-17T17:39:27.703Z] 6ad1cebc031e: Download complete [2023-01-17T17:39:27.703Z] 25bc292e5bac: Pull complete [2023-01-17T17:39:28.704Z] 114826534d7a: Verifying Checksum [2023-01-17T17:39:28.704Z] 114826534d7a: Download complete [2023-01-17T17:39:28.963Z] 8a3aa393b2d8: Verifying Checksum [2023-01-17T17:39:28.963Z] 8a3aa393b2d8: Download complete [2023-01-17T17:39:32.241Z] 114826534d7a: Pull complete [2023-01-17T17:39:32.241Z] 4657fd5d0bcf: Pull complete [2023-01-17T17:39:32.241Z] 6ad1cebc031e: Pull complete [2023-01-17T17:39:34.770Z] 8a3aa393b2d8: Pull complete [2023-01-17T17:39:34.770Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-17T17:39:34.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:39:34.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:39:34.849Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:39:34.879Z] $ 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-01-17T17:39:36.957Z] $ docker top 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T17:39:37.021Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-01-17T17:39:37.295Z] + set -o pipefail [2023-01-17T17:39:37.295Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/7493bb27-76c2-4df2-8c0e-7786e0bca666 [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] [2023-01-17T17:39:43.865Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-17T17:39:43.865Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-17T17:39:43.865Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-17T17:39:43.879Z] $ docker stop --time=1 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 [2023-01-17T17:39:46.044Z] $ docker rm -f --volumes 660f29cd9c90eb2cb89eaaba29870111736560f3eeab0a67069a41322b54eb59 [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-01-17T17:39:46.773Z] + git log --format=format:%s -1 2bd6e5dae59222faf073cfb9822f90f2048c0bba [Pipeline] sh [2023-01-17T17:39:47.073Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:39:47.073Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:47.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:39:47.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:39:47.459Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:39:47.493Z] $ 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-01-17T17:39:47.934Z] $ docker top 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 -eo pid,comm [2023-01-17T17:39:47.977Z] 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-01-17T17:39:47.977Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:39:48.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:39:48.019Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:39:48.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:39:48.131Z] $ docker exec 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 ssh-agent [2023-01-17T17:39:48.240Z] SSH_AUTH_SOCK=/tmp/ssh-DcL1dA6YSq2p/agent.32 [2023-01-17T17:39:48.240Z] SSH_AGENT_PID=38 [2023-01-17T17:39:48.244Z] Running ssh-add (command line suppressed) [2023-01-17T17:39:48.343Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9518997790079840356.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9518997790079840356.key) [2023-01-17T17:39:48.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:39:48.647Z] + git semver tag [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,819 [run_tag] DEBUG tag force:False [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,819 [check_head_tag] DEBUG check head tag [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,820 [execute] INFO git cat-file --batch-check [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,824 [execute] INFO git cat-file --batch [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,843 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,844 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:39:48.907Z] 2023-01-17 17:39:48,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:39:48.907Z] 3.0.0-dev.5 [Pipeline] } [2023-01-17T17:39:48.919Z] $ docker exec --env ******** --env ******** 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 ssh-agent -k [2023-01-17T17:39:49.019Z] unset SSH_AUTH_SOCK; [2023-01-17T17:39:49.020Z] unset SSH_AGENT_PID; [2023-01-17T17:39:49.020Z] echo Agent pid 38 killed; [2023-01-17T17:39:49.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:39:49.336Z] + git semver [Pipeline] } [2023-01-17T17:39:49.612Z] $ docker stop --time=1 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 [2023-01-17T17:39:50.925Z] $ docker rm -f --volumes 21150e07a587a52c0a3b8e6c11ac8eaf694638730f67cef54674c2b7460d9f35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:51.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:39:51.305Z] [2023-01-17T17:39:51.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:39:51.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:39:51.614Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T17:39:51.614Z] ab5ef0e58194: Pulling fs layer [2023-01-17T17:39:51.614Z] 9712f1f96733: Pulling fs layer [2023-01-17T17:39:51.614Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T17:39:51.614Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T17:39:51.614Z] e9a5061849ea: Pulling fs layer [2023-01-17T17:39:51.614Z] d747dcd14b5f: Pulling fs layer [2023-01-17T17:39:51.614Z] 2de7ff778b66: Pulling fs layer [2023-01-17T17:39:51.614Z] 0d9ebad4ef96: Waiting [2023-01-17T17:39:51.614Z] e9a5061849ea: Waiting [2023-01-17T17:39:51.614Z] d747dcd14b5f: Waiting [2023-01-17T17:39:51.614Z] 2de7ff778b66: Waiting [2023-01-17T17:39:51.614Z] 9712f1f96733: Verifying Checksum [2023-01-17T17:39:51.614Z] 9712f1f96733: Download complete [2023-01-17T17:39:52.202Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T17:39:52.202Z] 63f879dbbcfc: Download complete [2023-01-17T17:39:52.801Z] 0d9ebad4ef96: Verifying Checksum [2023-01-17T17:39:52.801Z] 0d9ebad4ef96: Download complete [2023-01-17T17:39:52.801Z] ab5ef0e58194: Verifying Checksum [2023-01-17T17:39:52.801Z] ab5ef0e58194: Download complete [2023-01-17T17:39:52.801Z] d747dcd14b5f: Verifying Checksum [2023-01-17T17:39:52.801Z] d747dcd14b5f: Download complete [2023-01-17T17:39:52.801Z] e9a5061849ea: Verifying Checksum [2023-01-17T17:39:52.801Z] e9a5061849ea: Download complete [2023-01-17T17:39:52.801Z] 2de7ff778b66: Verifying Checksum [2023-01-17T17:39:52.801Z] 2de7ff778b66: Download complete [2023-01-17T17:39:55.327Z] ab5ef0e58194: Pull complete [2023-01-17T17:39:55.327Z] 9712f1f96733: Pull complete [2023-01-17T17:39:55.893Z] 63f879dbbcfc: Pull complete [2023-01-17T17:39:59.173Z] 0d9ebad4ef96: Pull complete [2023-01-17T17:39:59.173Z] e9a5061849ea: Pull complete [2023-01-17T17:39:59.173Z] d747dcd14b5f: Pull complete [2023-01-17T17:40:00.105Z] 2de7ff778b66: Pull complete [2023-01-17T17:40:00.105Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T17:40:00.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:40:00.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:40:00.175Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:40:00.206Z] $ 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-01-17T17:40:02.576Z] $ docker top 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:40:02.640Z] provisioning config files... [2023-01-17T17:40:02.646Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config941630950323586471tmp [2023-01-17T17:40:02.655Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5131004068807563484tmp [2023-01-17T17:40:02.662Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17604607084966886531tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:40:02.675Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:02.963Z] ---> sigul-configuration.sh [2023-01-17T17:40:02.964Z] gpg: directory `/root/.gnupg' created [2023-01-17T17:40:02.964Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T17:40:02.964Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T17:40:02.964Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T17:40:02.964Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T17:40:02.964Z] gpg: CAST5 encrypted data [2023-01-17T17:40:02.964Z] gpg: encrypted with 1 passphrase [2023-01-17T17:40:02.964Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T17:40:03.253Z] + mkdir /home/jenkins [2023-01-17T17:40:03.253Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T17:40:03.540Z] + 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-01-17T17:40:03.552Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:03.833Z] ---> sigul-install.sh [2023-01-17T17:40:03.833Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T17:40:04.117Z] + git tag --list [2023-01-17T17:40:04.117Z] 1.0.0 [2023-01-17T17:40:04.117Z] v0.0.0 [2023-01-17T17:40:04.117Z] v1.1.0 [2023-01-17T17:40:04.117Z] v1.1.1 [2023-01-17T17:40:04.117Z] v1.2.2 [2023-01-17T17:40:04.117Z] v1.3.0 [2023-01-17T17:40:04.117Z] v1.3.1 [2023-01-17T17:40:04.117Z] v2.0.0 [2023-01-17T17:40:04.117Z] v2.1.0 [2023-01-17T17:40:04.117Z] v2.1.1 [2023-01-17T17:40:04.117Z] v2.1.1-dev.2 [2023-01-17T17:40:04.117Z] v2.1.1-dev.3 [2023-01-17T17:40:04.117Z] v2.2.0 [2023-01-17T17:40:04.117Z] v2.2.1-dev.1 [2023-01-17T17:40:04.117Z] v2.2.1-dev.2 [2023-01-17T17:40:04.117Z] v2.2.1-dev.3 [2023-01-17T17:40:04.117Z] v2.2.1-dev.4 [2023-01-17T17:40:04.117Z] v2.2.1-dev.5 [2023-01-17T17:40:04.117Z] v2.2.1-dev.6 [2023-01-17T17:40:04.117Z] v2.2.1-dev.7 [2023-01-17T17:40:04.117Z] v2.3.0 [2023-01-17T17:40:04.117Z] v2.3.0-dev.10 [2023-01-17T17:40:04.117Z] v2.3.0-dev.11 [2023-01-17T17:40:04.117Z] v2.3.0-dev.12 [2023-01-17T17:40:04.117Z] v2.3.0-dev.13 [2023-01-17T17:40:04.117Z] v2.3.0-dev.14 [2023-01-17T17:40:04.117Z] v2.3.0-dev.15 [2023-01-17T17:40:04.117Z] v2.3.0-dev.16 [2023-01-17T17:40:04.117Z] v2.3.0-dev.17 [2023-01-17T17:40:04.117Z] v2.3.0-dev.18 [2023-01-17T17:40:04.117Z] v2.3.0-dev.19 [2023-01-17T17:40:04.117Z] v2.3.0-dev.20 [2023-01-17T17:40:04.117Z] v2.3.0-dev.21 [2023-01-17T17:40:04.117Z] v2.3.0-dev.22 [2023-01-17T17:40:04.117Z] v2.3.0-dev.23 [2023-01-17T17:40:04.117Z] v2.3.0-dev.24 [2023-01-17T17:40:04.117Z] v2.3.0-dev.7 [2023-01-17T17:40:04.117Z] v2.3.0-dev.8 [2023-01-17T17:40:04.117Z] v2.3.0-dev.9 [2023-01-17T17:40:04.117Z] v3.0.0-dev.1 [2023-01-17T17:40:04.117Z] v3.0.0-dev.2 [2023-01-17T17:40:04.117Z] v3.0.0-dev.3 [2023-01-17T17:40:04.117Z] v3.0.0-dev.4 [2023-01-17T17:40:04.117Z] v3.0.0-dev.5 [Pipeline] sh [2023-01-17T17:40:04.404Z] + lftools sign git-tag v3.0.0-dev.5 [2023-01-17T17:40:04.973Z] Signing Git tag with Sigul... [2023-01-17T17:40:04.973Z] Signing v3.0.0-dev.5 [Pipeline] echo [2023-01-17T17:40:05.551Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:05.836Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T17:40:05.843Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T17:40:05.863Z] $ docker stop --time=1 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 [2023-01-17T17:40:07.236Z] $ docker rm -f --volumes 8c1ae615bc07cfab9a5652d7c58ac6a5e4aaf7e0da3e1c3d2c2228d5ff55a757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T17:40:07.662Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:40:07.662Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:40:07.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:40:07.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:40:08.025Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:40:08.057Z] $ 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-01-17T17:40:08.492Z] $ docker top 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 -eo pid,comm [2023-01-17T17:40:08.537Z] 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-01-17T17:40:08.537Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:40:08.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:40:08.572Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:40:08.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:40:08.699Z] $ docker exec 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 ssh-agent [2023-01-17T17:40:08.808Z] SSH_AUTH_SOCK=/tmp/ssh-fI52gnwejvYB/agent.32 [2023-01-17T17:40:08.808Z] SSH_AGENT_PID=38 [2023-01-17T17:40:08.812Z] Running ssh-add (command line suppressed) [2023-01-17T17:40:08.920Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10391595421348664301.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10391595421348664301.key) [2023-01-17T17:40:08.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:40:09.219Z] + git semver bump pre [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,409 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,409 [bump_version] DEBUG bumped version:3.0.0-dev.6 [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,409 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,409 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,411 [execute] INFO git cat-file --batch-check [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,417 [execute] INFO git cat-file --batch [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:40:09.477Z] 2023-01-17 17:40:09,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:40:09.477Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:40:09.488Z] $ docker exec --env ******** --env ******** 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 ssh-agent -k [2023-01-17T17:40:09.590Z] unset SSH_AUTH_SOCK; [2023-01-17T17:40:09.590Z] unset SSH_AGENT_PID; [2023-01-17T17:40:09.591Z] echo Agent pid 38 killed; [2023-01-17T17:40:09.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:40:09.893Z] + git semver [Pipeline] } [2023-01-17T17:40:10.166Z] $ docker stop --time=1 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 [2023-01-17T17:40:11.477Z] $ docker rm -f --volumes 8d97579c17bde30de18f40e7a4ff938bb65dff9885bfaa107f1d050b32196895 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:40:11.823Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:40:11.823Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:40:12.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:40:12.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:40:12.183Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:40:12.216Z] $ 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-01-17T17:40:12.565Z] $ docker top d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 -eo pid,comm [2023-01-17T17:40:12.606Z] 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-01-17T17:40:12.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:40:12.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:40:12.646Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:40:12.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:40:12.765Z] $ docker exec d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 ssh-agent [2023-01-17T17:40:12.877Z] SSH_AUTH_SOCK=/tmp/ssh-Qr24QAgFTW1n/agent.32 [2023-01-17T17:40:12.877Z] SSH_AGENT_PID=38 [2023-01-17T17:40:12.882Z] Running ssh-add (command line suppressed) [2023-01-17T17:40:12.980Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15754499266670001333.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15754499266670001333.key) [2023-01-17T17:40:12.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:40:13.276Z] + git semver push [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,434 [run_push] DEBUG push [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,435 [execute] INFO git cat-file --batch-check [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,439 [execute] INFO git rev-list 6f4cc65c29d68df36fcb00e269ed84cc9a507b18 -- [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,439 [execute] DEBUG Popen(['git', 'rev-list', '6f4cc65c29d68df36fcb00e269ed84cc9a507b18', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,447 [execute] INFO git fetch -v origin [2023-01-17T17:40:13.535Z] 2023-01-17 17:40:13,447 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T17:40:14.102Z] 2023-01-17 17:40:13,982 [run_push] DEBUG no remote changes detected [2023-01-17T17:40:14.102Z] 2023-01-17 17:40:13,982 [execute] INFO git push origin semver [2023-01-17T17:40:14.102Z] 2023-01-17 17:40:13,983 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:40:15.040Z] 2023-01-17 17:40:14,821 [run_push] DEBUG push all version tags [2023-01-17T17:40:15.040Z] 2023-01-17 17:40:14,822 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T17:40:15.040Z] 2023-01-17 17:40:14,822 [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-01-17T17:40:15.608Z] 2023-01-17 17:40:15,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-17T17:40:15.608Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:40:15.619Z] $ docker exec --env ******** --env ******** d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 ssh-agent -k [2023-01-17T17:40:15.709Z] unset SSH_AUTH_SOCK; [2023-01-17T17:40:15.710Z] unset SSH_AGENT_PID; [2023-01-17T17:40:15.710Z] echo Agent pid 38 killed; [2023-01-17T17:40:15.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:40:16.030Z] + git semver [Pipeline] } [2023-01-17T17:40:16.304Z] $ docker stop --time=1 d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 [2023-01-17T17:40:17.612Z] $ docker rm -f --volumes d0e630c245dfae07c8876987fe640e839da3c55fc010be50a3523f236d09aed7 [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-01-17T17:40:18.190Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-01-17T17:40:18.190Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-17T17:40:18.190Z] total 16 [2023-01-17T17:40:18.190Z] drwxr-xr-x 3 root root 4096 Jan 17 17:31 . [2023-01-17T17:40:18.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:40 .. [2023-01-17T17:40:18.190Z] drwxr-xr-x 2 root root 4096 Jan 17 17:31 cost [2023-01-17T17:40:18.190Z] -rw-r--r-- 1 root root 85 Jan 17 17:31 cost.csv [2023-01-17T17:40:18.190Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-17T17:40:18.190Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-17T17:40:18.190Z] total 16 [2023-01-17T17:40:18.190Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:31 . [2023-01-17T17:40:18.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:40 .. [2023-01-17T17:40:18.190Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:31 cost [2023-01-17T17:40:18.190Z] -rw-r--r-- 1 jenkins jenkins 85 Jan 17 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:18.484Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:19.336Z] ---> package-listing.sh [2023-01-17T17:40:19.336Z] ++ facter osfamily [2023-01-17T17:40:19.336Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T17:40:19.594Z] + OS_FAMILY=debian [2023-01-17T17:40:19.594Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-01-17T17:40:19.594Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T17:40:19.594Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T17:40:19.594Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T17:40:19.594Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T17:40:19.594Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-17T17:40:19.594Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T17:40:19.594Z] + case "${OS_FAMILY}" in [2023-01-17T17:40:19.594Z] + dpkg -l [2023-01-17T17:40:19.594Z] + grep '^ii' [2023-01-17T17:40:19.594Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T17:40:19.594Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T17:40:19.594Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T17:40:19.594Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-17T17:40:19.594Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-01-17T17:40:19.594Z] + 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-01-17T17:40:19.607Z] 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-01-17T17:40:19.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:40:20.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:40:20.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:40:20.505Z] prd-ubuntu20.04-docker-8c-8g-2744 does not seem to be running inside a container [2023-01-17T17:40:20.532Z] $ 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-01-17T17:40:20.803Z] $ docker top 4be6a35817f804b72fa6dc19569dc01dcd707c063f40abbec53ebe51e4932bba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:40:21.207Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T17:40:21.504Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T17:40:21.788Z] + ls /var/log/sa-host [2023-01-17T17:40:21.788Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:40:21.928Z] provisioning config files... [2023-01-17T17:40:21.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11775815760732502734tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:40:21.950Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:22.231Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T17:40:22.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:22.572Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T17:40:22.581Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:22.863Z] ---> sudo-logs.sh [2023-01-17T17:40:22.863Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T17:40:22.892Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:23.175Z] ---> job-cost.sh [2023-01-17T17:40:23.175Z] lf-activate-venv: SKIPPING [2023-01-17T17:40:23.175Z] DEBUG: total: 0.2199999988079071 [2023-01-17T17:40:23.175Z] INFO: Retrieving Stack Cost... [2023-01-17T17:40:23.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:40:24.002Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T17:40:24.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:40:24.297Z] ---> logs-deploy.sh [2023-01-17T17:40:24.297Z] lf-activate-venv: SKIPPING [2023-01-17T17:40:24.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/61 [2023-01-17T17:40:24.297Z] INFO: archiving workspace using pattern(s): [2023-01-17T17:40:25.236Z] Archives upload complete. [2023-01-17T17:40:25.236Z] INFO: archiving logs to Nexus