Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 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-ssh24229237099267281.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1152720943429290656.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1304457313976974866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14880673121960209733.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-ssh13861543042064710572.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.20 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-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8777’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8778 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 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286)" > 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 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 > git rev-list --no-walk 9857977cf1224abf0980974ddd92ec9b34aea725 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T20:17:49.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T20:17:49.447Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T20:17:49.462Z] ========================================================= [2023-04-17T20:17:49.462Z] EdgeX Global Pipelines Version Info [2023-04-17T20:17:49.462Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:50.159Z] ------------------- [2023-04-17T20:17:50.159Z] stable info: [2023-04-17T20:17:50.159Z] ------------------- [2023-04-17T20:17:50.159Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T20:17:50.159Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:17:50.159Z] Message: update stable to v1.0.248 [2023-04-17T20:17:50.727Z] ------------------- [2023-04-17T20:17:50.727Z] experimental info: [2023-04-17T20:17:50.727Z] ------------------- [2023-04-17T20:17:50.727Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T20:17:50.727Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:17:50.727Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T20:17:50.888Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-17T20:17:50.898Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-17T20:17:50.909Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T20:17:50.921Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T20:17:50.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T20:17:50.950Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T20:17:50.965Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T20:17:50.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T20:17:50.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T20:17:51.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T20:17:51.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T20:17:51.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-17T20:17:51.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T20:17:51.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T20:17:51.055Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:17:51.066Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:17:51.077Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:17:51.088Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:17:51.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T20:17:51.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T20:17:51.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T20:17:51.146Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T20:17:51.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T20:17:51.170Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T20:17:51.184Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T20:17:51.197Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T20:17:51.208Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T20:17:51.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-17T20:17:51.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-17T20:17:51.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-17T20:17:51.271Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo [2023-04-17T20:17:51.281Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66f4f92 [Pipeline] echo [2023-04-17T20:17:51.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:17:51.330Z] provisioning config files... [2023-04-17T20:17:51.351Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6578881372967204019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:51.663Z] ---> docker-login.sh [2023-04-17T20:17:51.664Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:17:51.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:51.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:51.925Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:51.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:51.925Z] [2023-04-17T20:17:51.925Z] Login Succeeded [2023-04-17T20:17:51.925Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:17:51.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:51.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:51.925Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:51.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:51.925Z] [2023-04-17T20:17:51.925Z] Login Succeeded [2023-04-17T20:17:51.925Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:17:52.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:52.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:52.185Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:52.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:52.185Z] [2023-04-17T20:17:52.185Z] Login Succeeded [2023-04-17T20:17:52.185Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:17:52.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:52.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:52.185Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:52.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:52.185Z] [2023-04-17T20:17:52.185Z] Login Succeeded [2023-04-17T20:17:52.185Z] docker.io [2023-04-17T20:17:52.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:52.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:52.445Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:52.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:52.445Z] [2023-04-17T20:17:52.445Z] Login Succeeded [2023-04-17T20:17:52.445Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:17:52.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T20:17:52.816Z] + git rev-list -1 --merges 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92~1..66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo [2023-04-17T20:17:52.869Z] -----------> git rev-list -1 --merges 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92~1..66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [false] [Pipeline] sh [2023-04-17T20:17:53.161Z] + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo [2023-04-17T20:17:53.175Z] ========================================================= [2023-04-17T20:17:53.175Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T20:17:53.175Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:17:53.498Z] + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] echo [2023-04-17T20:17:53.508Z] [semverPrep] GIT_COMMIT: 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286) [Pipeline] echo [2023-04-17T20:17:53.517Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T20:17:53.856Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:17:53.856Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T20:17:53.857Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T20:17:53.857Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T20:17:53.857Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T20:17:53.857Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T20:17:53.857Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:54.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:54.211Z] [2023-04-17T20:17:54.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:54.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:54.517Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T20:17:54.517Z] b85a868b505f: Pulling fs layer [2023-04-17T20:17:54.517Z] e2be974225ed: Pulling fs layer [2023-04-17T20:17:54.517Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T20:17:54.517Z] 988bab9f4d93: Pulling fs layer [2023-04-17T20:17:54.517Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T20:17:54.517Z] eaf3925da568: Pulling fs layer [2023-04-17T20:17:54.517Z] bab4dde63d76: Pulling fs layer [2023-04-17T20:17:54.517Z] bde34c3a00c8: Pulling fs layer [2023-04-17T20:17:54.517Z] b352a97aabf1: Pulling fs layer [2023-04-17T20:17:54.517Z] 4872d77fe225: Pulling fs layer [2023-04-17T20:17:54.517Z] 5851b861e8e6: Pulling fs layer [2023-04-17T20:17:54.517Z] bab4dde63d76: Waiting [2023-04-17T20:17:54.517Z] 1469e6f7b9e6: Waiting [2023-04-17T20:17:54.517Z] eaf3925da568: Waiting [2023-04-17T20:17:54.517Z] bde34c3a00c8: Waiting [2023-04-17T20:17:54.517Z] b352a97aabf1: Waiting [2023-04-17T20:17:54.517Z] 4872d77fe225: Waiting [2023-04-17T20:17:54.517Z] 988bab9f4d93: Waiting [2023-04-17T20:17:54.517Z] 5851b861e8e6: Waiting [2023-04-17T20:17:54.517Z] e2be974225ed: Verifying Checksum [2023-04-17T20:17:54.517Z] e2be974225ed: Download complete [2023-04-17T20:17:54.517Z] 988bab9f4d93: Verifying Checksum [2023-04-17T20:17:54.517Z] 988bab9f4d93: Download complete [2023-04-17T20:17:54.517Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T20:17:54.517Z] 1469e6f7b9e6: Download complete [2023-04-17T20:17:54.517Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T20:17:54.517Z] 339a4e72a1f5: Download complete [2023-04-17T20:17:54.517Z] eaf3925da568: Download complete [2023-04-17T20:17:54.517Z] bde34c3a00c8: Verifying Checksum [2023-04-17T20:17:54.517Z] bde34c3a00c8: Download complete [2023-04-17T20:17:54.785Z] b352a97aabf1: Download complete [2023-04-17T20:17:54.785Z] 4872d77fe225: Verifying Checksum [2023-04-17T20:17:54.785Z] 4872d77fe225: Download complete [2023-04-17T20:17:54.785Z] 5851b861e8e6: Download complete [2023-04-17T20:17:54.785Z] b85a868b505f: Verifying Checksum [2023-04-17T20:17:54.785Z] b85a868b505f: Download complete [2023-04-17T20:17:55.047Z] bab4dde63d76: Verifying Checksum [2023-04-17T20:17:55.047Z] bab4dde63d76: Download complete [2023-04-17T20:17:55.982Z] b85a868b505f: Pull complete [2023-04-17T20:17:55.982Z] e2be974225ed: Pull complete [2023-04-17T20:17:56.241Z] 339a4e72a1f5: Pull complete [2023-04-17T20:17:56.499Z] 988bab9f4d93: Pull complete [2023-04-17T20:17:56.757Z] 1469e6f7b9e6: Pull complete [2023-04-17T20:17:56.757Z] eaf3925da568: Pull complete [2023-04-17T20:17:58.561Z] bab4dde63d76: Pull complete [2023-04-17T20:17:58.561Z] bde34c3a00c8: Pull complete [2023-04-17T20:17:58.561Z] b352a97aabf1: Pull complete [2023-04-17T20:17:58.561Z] 4872d77fe225: Pull complete [2023-04-17T20:17:58.568Z] 5851b861e8e6: Pull complete [2023-04-17T20:17:58.568Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T20:17:58.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:58.568Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:17:58.667Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:17:58.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:17:59.824Z] $ docker top 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 -eo pid,comm [2023-04-17T20:17:59.871Z] 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-04-17T20:17:59.871Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:17:59.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:17:59.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:18:00.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:18:00.039Z] $ docker exec 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent [2023-04-17T20:18:00.126Z] SSH_AUTH_SOCK=/tmp/ssh-Syoku7Ca2DjR/agent.32 [2023-04-17T20:18:00.126Z] SSH_AGENT_PID=38 [2023-04-17T20:18:00.133Z] Running ssh-add (command line suppressed) [2023-04-17T20:18:00.247Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10108625188786771.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10108625188786771.key) [2023-04-17T20:18:00.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:18:00.539Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T20:18:00.562Z] $ docker exec --env ******** --env ******** 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent -k [2023-04-17T20:18:00.690Z] unset SSH_AUTH_SOCK; [2023-04-17T20:18:00.690Z] unset SSH_AGENT_PID; [2023-04-17T20:18:00.690Z] echo Agent pid 38 killed; [2023-04-17T20:18:00.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T20:18:00.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:18:00.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:18:00.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:18:00.845Z] $ docker exec 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent [2023-04-17T20:18:00.936Z] SSH_AUTH_SOCK=/tmp/ssh-6OFaWo7LOwuW/agent.70 [2023-04-17T20:18:00.936Z] SSH_AGENT_PID=76 [2023-04-17T20:18:00.941Z] Running ssh-add (command line suppressed) [2023-04-17T20:18:01.058Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10110404660327374725.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10110404660327374725.key) [2023-04-17T20:18:01.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:18:01.353Z] + git semver init [2023-04-17T20:18:01.612Z] 2023-04-17 20:18:01,574 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T20:18:01.612Z] 2023-04-17 20:18:01,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-17T20:18:01.612Z] 2023-04-17 20:18:01,576 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-17T20:18:01.612Z] 2023-04-17 20:18:01,576 [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-04-17T20:18:02.555Z] 2023-04-17 20:18:02,340 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-17T20:18:02.555Z] 2023-04-17 20:18:02,343 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-17T20:18:02.555Z] 2023-04-17 20:18:02,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:18:02.555Z] 2023-04-17 20:18:02,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:18:02.555Z] 3.0.0-dev.13 [Pipeline] } [2023-04-17T20:18:02.574Z] $ docker exec --env ******** --env ******** 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 ssh-agent -k [2023-04-17T20:18:02.695Z] unset SSH_AUTH_SOCK; [2023-04-17T20:18:02.696Z] unset SSH_AGENT_PID; [2023-04-17T20:18:02.696Z] echo Agent pid 76 killed; [2023-04-17T20:18:02.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:18:02.995Z] + git semver [Pipeline] } [2023-04-17T20:18:03.277Z] $ docker stop --time=1 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 [2023-04-17T20:18:04.586Z] $ docker rm -f --volumes 248fce39d54d705103a3abb6b617d0803673fe728e302fd5ac99e59d44709b65 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:18:04.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T20:18:05.105Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T20:18:05.109Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [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-04-17T20:18:05.205Z] provisioning config files... [2023-04-17T20:18:05.215Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config423799233598010464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:18:05.512Z] ---> docker-login.sh [2023-04-17T20:18:05.512Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:18:05.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:05.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:05.512Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:05.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:05.512Z] [2023-04-17T20:18:05.512Z] Login Succeeded [2023-04-17T20:18:05.512Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:18:05.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:05.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:05.512Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:05.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:05.512Z] [2023-04-17T20:18:05.512Z] Login Succeeded [2023-04-17T20:18:05.512Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:18:05.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:05.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:05.771Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:05.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:05.771Z] [2023-04-17T20:18:05.771Z] Login Succeeded [2023-04-17T20:18:05.771Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:18:05.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:05.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:05.771Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:05.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:05.771Z] [2023-04-17T20:18:05.771Z] Login Succeeded [2023-04-17T20:18:05.771Z] docker.io [2023-04-17T20:18:06.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:18:06.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:18:06.030Z] Configure a credential helper to remove this warning. See [2023-04-17T20:18:06.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:18:06.030Z] [2023-04-17T20:18:06.030Z] Login Succeeded [2023-04-17T20:18:06.030Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:18:06.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:18:06.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:18:06.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:18:06.114Z] ========================================================= [2023-04-17T20:18:06.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T20:18:06.114Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:06.426Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T20:18:06.426Z] Sending build context to Docker daemon 5.762MB [2023-04-17T20:18:06.426Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:18:06.426Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T20:18:06.426Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T20:18:06.426Z] 63b65145d645: Pulling fs layer [2023-04-17T20:18:06.426Z] a2d21d5440eb: Pulling fs layer [2023-04-17T20:18:06.426Z] 935e6c44a52c: Pulling fs layer [2023-04-17T20:18:06.426Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T20:18:06.426Z] 30dea6a524f1: Pulling fs layer [2023-04-17T20:18:06.426Z] 94cc34f8dd06: Waiting [2023-04-17T20:18:06.426Z] a2aff8979fd8: Pulling fs layer [2023-04-17T20:18:06.426Z] 30dea6a524f1: Waiting [2023-04-17T20:18:06.426Z] 6808be2612f2: Pulling fs layer [2023-04-17T20:18:06.426Z] f25807f1079a: Pulling fs layer [2023-04-17T20:18:06.426Z] f25807f1079a: Waiting [2023-04-17T20:18:06.426Z] a2d21d5440eb: Download complete [2023-04-17T20:18:06.426Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T20:18:06.426Z] 94cc34f8dd06: Download complete [2023-04-17T20:18:06.426Z] 30dea6a524f1: Download complete [2023-04-17T20:18:06.688Z] 63b65145d645: Verifying Checksum [2023-04-17T20:18:06.688Z] 63b65145d645: Download complete [2023-04-17T20:18:06.688Z] a2aff8979fd8: Verifying Checksum [2023-04-17T20:18:06.688Z] a2aff8979fd8: Download complete [2023-04-17T20:18:06.688Z] 63b65145d645: Pull complete [2023-04-17T20:18:06.951Z] a2d21d5440eb: Pull complete [2023-04-17T20:18:06.951Z] f25807f1079a: Verifying Checksum [2023-04-17T20:18:06.951Z] f25807f1079a: Download complete [2023-04-17T20:18:07.210Z] 935e6c44a52c: Verifying Checksum [2023-04-17T20:18:07.210Z] 935e6c44a52c: Download complete [2023-04-17T20:18:07.468Z] 6808be2612f2: Verifying Checksum [2023-04-17T20:18:07.468Z] 6808be2612f2: Download complete [2023-04-17T20:18:10.755Z] 935e6c44a52c: Pull complete [2023-04-17T20:18:10.755Z] 94cc34f8dd06: Pull complete [2023-04-17T20:18:10.755Z] 30dea6a524f1: Pull complete [2023-04-17T20:18:11.015Z] a2aff8979fd8: Pull complete [2023-04-17T20:18:13.564Z] 6808be2612f2: Pull complete [2023-04-17T20:18:14.129Z] f25807f1079a: Pull complete [2023-04-17T20:18:14.129Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T20:18:14.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T20:18:14.129Z] ---> 3b553350e43f [2023-04-17T20:18:14.129Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:18:15.512Z] ---> Running in 4b68997bfc65 [2023-04-17T20:18:15.512Z] Removing intermediate container 4b68997bfc65 [2023-04-17T20:18:15.512Z] ---> 4bb6ef0d4cea [2023-04-17T20:18:15.512Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:18:15.512Z] ---> Running in b6baffa6a69f [2023-04-17T20:18:15.512Z] Removing intermediate container b6baffa6a69f [2023-04-17T20:18:15.512Z] ---> 268a13c40df8 [2023-04-17T20:18:15.512Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:18:15.512Z] ---> Running in e69d8ad49986 [2023-04-17T20:18:15.771Z] Removing intermediate container e69d8ad49986 [2023-04-17T20:18:15.771Z] ---> f35cec174811 [2023-04-17T20:18:15.771Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:18:15.771Z] ---> Running in 6fe0e3af46a4 [2023-04-17T20:18:15.771Z] Removing intermediate container 6fe0e3af46a4 [2023-04-17T20:18:15.771Z] ---> 722305400777 [2023-04-17T20:18:15.771Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:18:15.771Z] ---> Running in 95ca0aad4089 [2023-04-17T20:18:16.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:16.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:16.547Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:18:16.547Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T20:18:16.547Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:18:16.547Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:18:16.547Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:18:16.547Z] OK: 269 MiB in 57 packages [2023-04-17T20:18:16.806Z] Removing intermediate container 95ca0aad4089 [2023-04-17T20:18:16.806Z] ---> 2b5b14f7cd27 [2023-04-17T20:18:16.806Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-17T20:18:17.065Z] ---> Running in 39387eab8a37 [2023-04-17T20:18:17.065Z] Removing intermediate container 39387eab8a37 [2023-04-17T20:18:17.065Z] ---> e9c8036154f6 [2023-04-17T20:18:17.065Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T20:18:17.065Z] ---> b6f51973030a [2023-04-17T20:18:17.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:18:17.065Z] ---> Running in 24a044d4c164 [2023-04-17T20:18:20.176Z] Still waiting to schedule task [2023-04-17T20:18:20.176Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T20:18:38.994Z] Removing intermediate container 24a044d4c164 [2023-04-17T20:18:38.994Z] ---> 8c5509de7613 [2023-04-17T20:18:38.994Z] Step 11/12 : COPY . . [2023-04-17T20:18:38.994Z] ---> 910833df1db9 [2023-04-17T20:18:38.994Z] Step 12/12 : RUN ${MAKE} [2023-04-17T20:18:38.994Z] ---> Running in dc87f2c68130 [2023-04-17T20:18:38.994Z] noop [2023-04-17T20:18:38.994Z] Removing intermediate container dc87f2c68130 [2023-04-17T20:18:38.994Z] ---> 039f7c89ea64 [2023-04-17T20:18:38.994Z] Successfully built 039f7c89ea64 [2023-04-17T20:18:38.994Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:39.312Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:18:39.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:18:39.392Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:18:39.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:18:39.765Z] $ docker top d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:18:40.111Z] + go version [2023-04-17T20:18:40.111Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T20:18:40.126Z] $ docker stop --time=1 d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb [2023-04-17T20:18:41.406Z] $ docker rm -f --volumes d9c1a451d911a68b481f05634f6041b50acf2855d12dd67b671087cdb69676fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:41.780Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:18:41.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:18:41.847Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:18:41.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:18:42.200Z] $ docker top 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:18:42.538Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:18:42.837Z] + make test [2023-04-17T20:18:42.837Z] go test ./... -coverprofile=coverage.out [2023-04-17T20:18:48.169Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-17T20:18:58.145Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-17T20:18:58.145Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-04-17T20:19:02.349Z] go vet ./... [2023-04-17T20:19:05.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:19:05.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:19:05.632Z] ./bin/test-attribution-txt.sh [2023-04-17T20:19:05.632Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:19:05.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:19:05.667Z] $ docker stop --time=1 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a [2023-04-17T20:19:07.473Z] $ docker rm -f --volumes 7b4e895b977aef78a0dfcdf53a9dda1e0c6192cf04f7575fd34b511eea00379a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:19:07.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:19:07.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T20:19:08.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:19:08.760Z] + ls -al . [2023-04-17T20:19:08.760Z] total 172 [2023-04-17T20:19:08.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 20:18 . [2023-04-17T20:19:08.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 .. [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 17 20:17 .dockerignore [2023-04-17T20:19:08.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:18 .git [2023-04-17T20:19:08.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 .github [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 17 20:17 .gitignore [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:17 .golangci.yml [2023-04-17T20:19:08.760Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:18 .semver [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 8926 Apr 17 20:17 Attribution.txt [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 17 20:17 CHANGELOG.md [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 17 20:17 Dockerfile [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:17 GOVERNANCE.md [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 17 20:17 Jenkinsfile [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:17 LICENSE [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 17 20:17 Makefile [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:17 OWNERS.md [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 17 20:17 README.md [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:18 VERSION [2023-04-17T20:19:08.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 bin [2023-04-17T20:19:08.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 cmd [2023-04-17T20:19:08.760Z] -rw-r--r-- 1 jenkins jenkins 8751 Apr 17 20:18 coverage.out [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 17 20:17 go.mod [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 17 20:17 go.sum [2023-04-17T20:19:08.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 internal [2023-04-17T20:19:08.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 snap [2023-04-17T20:19:08.760Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 17 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:09.066Z] + 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 --label arch=amd64 --label version=3.0.0-dev.13 . [2023-04-17T20:19:09.066Z] Sending build context to Docker daemon 5.772MB [2023-04-17T20:19:09.066Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:19:09.066Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T20:19:09.066Z] ---> 039f7c89ea64 [2023-04-17T20:19:09.066Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:19:09.066Z] ---> Running in c0e7ba692316 [2023-04-17T20:19:09.066Z] Removing intermediate container c0e7ba692316 [2023-04-17T20:19:09.066Z] ---> 2cdd1116fa7a [2023-04-17T20:19:09.066Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:19:09.325Z] ---> Running in efdbe7433e2e [2023-04-17T20:19:09.325Z] Removing intermediate container efdbe7433e2e [2023-04-17T20:19:09.325Z] ---> 7d4e9637d03b [2023-04-17T20:19:09.325Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:19:09.325Z] ---> Running in a0740d517f17 [2023-04-17T20:19:09.325Z] Removing intermediate container a0740d517f17 [2023-04-17T20:19:09.325Z] ---> 653e5bbd4666 [2023-04-17T20:19:09.325Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:19:09.325Z] ---> Running in d67df9159f19 [2023-04-17T20:19:09.325Z] Removing intermediate container d67df9159f19 [2023-04-17T20:19:09.325Z] ---> 9c6545880c91 [2023-04-17T20:19:09.325Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:19:09.584Z] ---> Running in ed6ee3514939 [2023-04-17T20:19:09.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:09.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:10.104Z] OK: 269 MiB in 57 packages [2023-04-17T20:19:10.364Z] Removing intermediate container ed6ee3514939 [2023-04-17T20:19:10.364Z] ---> 38a3f514573a [2023-04-17T20:19:10.364Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-17T20:19:10.364Z] ---> Running in fd75d4a3d521 [2023-04-17T20:19:10.364Z] Removing intermediate container fd75d4a3d521 [2023-04-17T20:19:10.364Z] ---> 7e0613ed3e4e [2023-04-17T20:19:10.364Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T20:19:10.624Z] ---> e88d7be226d7 [2023-04-17T20:19:10.624Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:19:10.624Z] ---> Running in 08538b8440f4 [2023-04-17T20:19:11.195Z] Removing intermediate container 08538b8440f4 [2023-04-17T20:19:11.195Z] ---> d8ebe1174dbf [2023-04-17T20:19:11.195Z] Step 11/24 : COPY . . [2023-04-17T20:19:11.454Z] ---> cca24886f73e [2023-04-17T20:19:11.454Z] Step 12/24 : RUN ${MAKE} [2023-04-17T20:19:11.454Z] ---> Running in 3a12652d69a5 [2023-04-17T20:19:11.718Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-17T20:19:29.962Z] Removing intermediate container 3a12652d69a5 [2023-04-17T20:19:29.962Z] ---> a6412d0f7c32 [2023-04-17T20:19:29.962Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T20:19:29.962Z] 3.17: Pulling from library/alpine [2023-04-17T20:19:29.962Z] f56be85fc22e: Pulling fs layer [2023-04-17T20:19:29.962Z] f56be85fc22e: Verifying Checksum [2023-04-17T20:19:29.962Z] f56be85fc22e: Download complete [2023-04-17T20:19:29.962Z] f56be85fc22e: Pull complete [2023-04-17T20:19:29.962Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:19:29.962Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:19:29.962Z] ---> 9ed4aefc74f6 [2023-04-17T20:19:29.962Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:19:29.962Z] ---> Running in c57f032610bb [2023-04-17T20:19:29.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:29.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:29.962Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:19:29.962Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:19:29.962Z] OK: 7 MiB in 16 packages [2023-04-17T20:19:29.962Z] Removing intermediate container c57f032610bb [2023-04-17T20:19:29.962Z] ---> 0e261ad2994d [2023-04-17T20:19:29.962Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-17T20:19:30.222Z] ---> 7b77640d2e05 [2023-04-17T20:19:30.222Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-17T20:19:30.482Z] ---> bca7ed341654 [2023-04-17T20:19:30.482Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-17T20:19:30.482Z] ---> 3ab46857851a [2023-04-17T20:19:30.482Z] Step 18/24 : EXPOSE 59993 [2023-04-17T20:19:30.482Z] ---> Running in bd635008b951 [2023-04-17T20:19:30.740Z] Removing intermediate container bd635008b951 [2023-04-17T20:19:30.740Z] ---> ba21b034578c [2023-04-17T20:19:30.740Z] Step 19/24 : EXPOSE 161 [2023-04-17T20:19:30.740Z] ---> Running in 0e5d56b65ef9 [2023-04-17T20:19:30.740Z] Removing intermediate container 0e5d56b65ef9 [2023-04-17T20:19:30.740Z] ---> 8c36bf3aa282 [2023-04-17T20:19:30.740Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-17T20:19:30.740Z] ---> Running in 5354c5295849 [2023-04-17T20:19:30.740Z] Removing intermediate container 5354c5295849 [2023-04-17T20:19:30.740Z] ---> de4795e30056 [2023-04-17T20:19:30.740Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T20:19:30.740Z] ---> Running in 3cf2c5ed5a41 [2023-04-17T20:19:30.999Z] Removing intermediate container 3cf2c5ed5a41 [2023-04-17T20:19:30.999Z] ---> 064510cdb843 [2023-04-17T20:19:30.999Z] Step 22/24 : LABEL arch=amd64 [2023-04-17T20:19:30.999Z] ---> Running in 00d0c88568fe [2023-04-17T20:19:30.999Z] Removing intermediate container 00d0c88568fe [2023-04-17T20:19:30.999Z] ---> ba6d4a88c57f [2023-04-17T20:19:30.999Z] Step 23/24 : LABEL git_sha=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:19:30.999Z] ---> Running in a1e760c361c7 [2023-04-17T20:19:30.999Z] Removing intermediate container a1e760c361c7 [2023-04-17T20:19:30.999Z] ---> 39891aade31d [2023-04-17T20:19:30.999Z] Step 24/24 : LABEL version=3.0.0-dev.13 [2023-04-17T20:19:30.999Z] ---> Running in e0c86853a3e0 [2023-04-17T20:19:31.257Z] Removing intermediate container e0c86853a3e0 [2023-04-17T20:19:31.257Z] ---> 1cafef46aa8c [2023-04-17T20:19:31.257Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:19:31.257Z] Successfully built 1cafef46aa8c [2023-04-17T20:19:31.257Z] 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-04-17T20:19:31.329Z] provisioning config files... [2023-04-17T20:19:31.338Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5237811605215399968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:19:31.632Z] ---> docker-login.sh [2023-04-17T20:19:31.632Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:19:31.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:31.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:31.632Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:31.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:31.632Z] [2023-04-17T20:19:31.632Z] Login Succeeded [2023-04-17T20:19:31.632Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:19:31.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:31.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:31.890Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:31.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:31.890Z] [2023-04-17T20:19:31.890Z] Login Succeeded [2023-04-17T20:19:31.890Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:19:31.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:31.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:31.890Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:31.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:31.890Z] [2023-04-17T20:19:31.890Z] Login Succeeded [2023-04-17T20:19:31.890Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:19:32.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:32.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:32.149Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:32.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:32.149Z] [2023-04-17T20:19:32.149Z] Login Succeeded [2023-04-17T20:19:32.149Z] docker.io [2023-04-17T20:19:32.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:32.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:32.407Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:32.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:32.407Z] [2023-04-17T20:19:32.407Z] Login Succeeded [2023-04-17T20:19:32.407Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:19:32.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:19:32.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:19:32.467Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-17T20:19:32.467Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:19:32.467Z] latest [2023-04-17T20:19:32.467Z] 3.0.0-dev.13 [2023-04-17T20:19:32.467Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:19:32.467Z] main [2023-04-17T20:19:32.467Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:32.795Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:33.105Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:19:33.105Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-17T20:19:33.105Z] 3f2b10603d88: Preparing [2023-04-17T20:19:33.105Z] c9a0dc1e11d0: Preparing [2023-04-17T20:19:33.105Z] aa33073dbe72: Preparing [2023-04-17T20:19:33.105Z] 7f28a90357ae: Preparing [2023-04-17T20:19:33.105Z] f1417ff83b31: Preparing [2023-04-17T20:19:33.105Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:33.105Z] c9a0dc1e11d0: Pushed [2023-04-17T20:19:33.105Z] 7f28a90357ae: Pushed [2023-04-17T20:19:33.105Z] 3f2b10603d88: Pushed [2023-04-17T20:19:35.638Z] aa33073dbe72: Pushed [2023-04-17T20:19:35.638Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:35.952Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:36.257Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-17T20:19:36.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-17T20:19:36.258Z] 3f2b10603d88: Preparing [2023-04-17T20:19:36.258Z] c9a0dc1e11d0: Preparing [2023-04-17T20:19:36.258Z] aa33073dbe72: Preparing [2023-04-17T20:19:36.258Z] 7f28a90357ae: Preparing [2023-04-17T20:19:36.258Z] f1417ff83b31: Preparing [2023-04-17T20:19:36.258Z] 7f28a90357ae: Layer already exists [2023-04-17T20:19:36.258Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:36.258Z] 3f2b10603d88: Layer already exists [2023-04-17T20:19:36.258Z] c9a0dc1e11d0: Layer already exists [2023-04-17T20:19:36.258Z] aa33073dbe72: Layer already exists [2023-04-17T20:19:36.258Z] latest: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:36.568Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:36.877Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 [2023-04-17T20:19:36.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-17T20:19:36.877Z] 3f2b10603d88: Preparing [2023-04-17T20:19:36.877Z] c9a0dc1e11d0: Preparing [2023-04-17T20:19:36.877Z] aa33073dbe72: Preparing [2023-04-17T20:19:36.877Z] 7f28a90357ae: Preparing [2023-04-17T20:19:36.877Z] f1417ff83b31: Preparing [2023-04-17T20:19:36.877Z] 3f2b10603d88: Layer already exists [2023-04-17T20:19:36.877Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:36.877Z] c9a0dc1e11d0: Layer already exists [2023-04-17T20:19:36.877Z] aa33073dbe72: Layer already exists [2023-04-17T20:19:36.877Z] 7f28a90357ae: Layer already exists [2023-04-17T20:19:36.877Z] 3.0.0-dev.13: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:37.188Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:37.485Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:19:37.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-17T20:19:37.485Z] 3f2b10603d88: Preparing [2023-04-17T20:19:37.485Z] c9a0dc1e11d0: Preparing [2023-04-17T20:19:37.485Z] aa33073dbe72: Preparing [2023-04-17T20:19:37.485Z] 7f28a90357ae: Preparing [2023-04-17T20:19:37.485Z] f1417ff83b31: Preparing [2023-04-17T20:19:37.485Z] 7f28a90357ae: Layer already exists [2023-04-17T20:19:37.485Z] c9a0dc1e11d0: Layer already exists [2023-04-17T20:19:37.485Z] aa33073dbe72: Layer already exists [2023-04-17T20:19:37.485Z] 3f2b10603d88: Layer already exists [2023-04-17T20:19:37.485Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:37.485Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:37.786Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:38.087Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-17T20:19:38.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-17T20:19:38.087Z] 3f2b10603d88: Preparing [2023-04-17T20:19:38.087Z] c9a0dc1e11d0: Preparing [2023-04-17T20:19:38.087Z] aa33073dbe72: Preparing [2023-04-17T20:19:38.087Z] 7f28a90357ae: Preparing [2023-04-17T20:19:38.087Z] f1417ff83b31: Preparing [2023-04-17T20:19:38.087Z] 7f28a90357ae: Layer already exists [2023-04-17T20:19:38.087Z] 3f2b10603d88: Layer already exists [2023-04-17T20:19:38.087Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:38.087Z] c9a0dc1e11d0: Layer already exists [2023-04-17T20:19:38.087Z] aa33073dbe72: Layer already exists [2023-04-17T20:19:38.087Z] main: digest: sha256:3ad4783829d04f386776907ae40d2bee068e5173c8592a2d9ddf9370f3953ba5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:19:38.124Z] ===================================================== [Pipeline] echo [2023-04-17T20:19:38.130Z] taggedImages: [2023-04-17T20:19:38.130Z] - nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:19:38.130Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-17T20:19:38.130Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.13 [2023-04-17T20:19:38.130Z] - nexus3.edgexfoundry.org:10004/device-snmp:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:19:38.130Z] - 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-04-17T20:19:38.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:38.489Z] [2023-04-17T20:19:38.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:38.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:38.783Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T20:19:38.783Z] 5eb5b503b376: Pulling fs layer [2023-04-17T20:19:38.783Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T20:19:38.783Z] ec43610c2a17: Pulling fs layer [2023-04-17T20:19:38.783Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T20:19:38.783Z] 33b1e0a273af: Pulling fs layer [2023-04-17T20:19:38.783Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T20:19:38.783Z] 2f39f015ded8: Pulling fs layer [2023-04-17T20:19:38.783Z] 3a2ae6a8a46f: Waiting [2023-04-17T20:19:38.783Z] 33b1e0a273af: Waiting [2023-04-17T20:19:38.783Z] 5d3b04190fa2: Waiting [2023-04-17T20:19:38.783Z] 2f39f015ded8: Waiting [2023-04-17T20:19:38.783Z] 5c69ac0246d0: Download complete [2023-04-17T20:19:38.783Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T20:19:38.783Z] 3a2ae6a8a46f: Download complete [2023-04-17T20:19:38.783Z] 33b1e0a273af: Verifying Checksum [2023-04-17T20:19:38.783Z] 33b1e0a273af: Download complete [2023-04-17T20:19:38.783Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T20:19:38.783Z] 5d3b04190fa2: Download complete [2023-04-17T20:19:38.783Z] ec43610c2a17: Verifying Checksum [2023-04-17T20:19:38.783Z] ec43610c2a17: Download complete [2023-04-17T20:19:39.041Z] 5eb5b503b376: Verifying Checksum [2023-04-17T20:19:39.041Z] 5eb5b503b376: Download complete [2023-04-17T20:19:39.607Z] 2f39f015ded8: Download complete [2023-04-17T20:19:40.171Z] 5eb5b503b376: Pull complete [2023-04-17T20:19:40.171Z] 5c69ac0246d0: Pull complete [2023-04-17T20:19:40.735Z] ec43610c2a17: Pull complete [2023-04-17T20:19:40.735Z] 3a2ae6a8a46f: Pull complete [2023-04-17T20:19:40.991Z] 33b1e0a273af: Pull complete [2023-04-17T20:19:40.991Z] 5d3b04190fa2: Pull complete [2023-04-17T20:19:45.170Z] 2f39f015ded8: Pull complete [2023-04-17T20:19:45.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T20:19:45.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:45.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:19:45.253Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:19:45.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T20:19:46.361Z] $ docker top 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:19:46.732Z] ---> job-cost.sh [2023-04-17T20:19:46.732Z] lf-activate-venv: SKIPPING [2023-04-17T20:19:46.732Z] INFO: No Stack... [2023-04-17T20:19:46.991Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:19:47.254Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:19:47.540Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-17T20:19:47.540Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T20:19:47.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [2023-04-17T20:19:47.561Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] did not exist. Created. [2023-04-17T20:19:47.561Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:19:47.854Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T20:19:47.882Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:19:47.889Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:19:47.910Z] $ docker stop --time=1 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 [2023-04-17T20:19:49.058Z] $ docker rm -f --volumes 75df6ad983943688dcaf1f693e418410f2f7f200b2510c6aed0ecc6eed2edab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T20:21:41.338Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8782 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-17T20:21:41.349Z] Running in /w/workspace/device-snmp-go/70 [Pipeline] { [Pipeline] checkout [2023-04-17T20:21:41.391Z] Selected Git installation does not exist. Using Default [2023-04-17T20:21:41.391Z] The recommended git tool is: NONE [2023-04-17T20:21:51.458Z] using credential edgex-jenkins-ssh [2023-04-17T20:21:51.479Z] Cloning the remote Git repository [2023-04-17T20:21:51.558Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-17T20:21:51.765Z] > git init /w/workspace/device-snmp-go/70 # timeout=10 [2023-04-17T20:21:52.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-17T20:21:52.284Z] > git --version # timeout=10 [2023-04-17T20:21:52.380Z] > git --version # 'git version 2.25.1' [2023-04-17T20:21:52.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:21:52.677Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:21:55.425Z] Avoid second fetch [2023-04-17T20:21:55.426Z] Checking out Revision 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 (main) [2023-04-17T20:21:53.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-17T20:21:54.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:21:56.553Z] Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#286)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:21:55.475Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T20:21:55.613Z] > git checkout -f 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 [2023-04-17T20:21:57.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T20:21:57.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:21:57.598Z] Dload Upload Total Spent Left Speed [2023-04-17T20:21:57.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2023-04-17T20:21:58.661Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T20:21:59.088Z] + sudo tee /etc/docker/daemon.new [2023-04-17T20:21:59.088Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T20:21:59.363Z] { [2023-04-17T20:21:59.363Z] "registry-mirrors": [ [2023-04-17T20:21:59.363Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T20:21:59.363Z] ], [2023-04-17T20:21:59.363Z] "bip": "10.250.0.254/24", [2023-04-17T20:21:59.363Z] "hosts": [ [2023-04-17T20:21:59.363Z] "tcp://0.0.0.0:5555", [2023-04-17T20:21:59.363Z] "unix:///var/run/docker.sock" [2023-04-17T20:21:59.363Z] ], [2023-04-17T20:21:59.363Z] "mtu": 1458, [2023-04-17T20:21:59.363Z] "selinux-enabled": true, [2023-04-17T20:21:59.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T20:21:59.363Z] } [Pipeline] sh [2023-04-17T20:21:59.770Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T20:22:00.160Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:22:18.495Z] provisioning config files... [2023-04-17T20:22:18.528Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/70@tmp/config15097539116162341782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:22:18.899Z] ---> docker-login.sh [2023-04-17T20:22:18.899Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:22:19.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:22:19.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:22:19.495Z] Configure a credential helper to remove this warning. See [2023-04-17T20:22:19.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:22:19.495Z] [2023-04-17T20:22:19.495Z] Login Succeeded [2023-04-17T20:22:19.495Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:22:20.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:22:20.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:22:20.091Z] Configure a credential helper to remove this warning. See [2023-04-17T20:22:20.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:22:20.091Z] [2023-04-17T20:22:20.091Z] Login Succeeded [2023-04-17T20:22:20.091Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:22:20.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:22:20.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:22:20.366Z] Configure a credential helper to remove this warning. See [2023-04-17T20:22:20.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:22:20.366Z] [2023-04-17T20:22:20.366Z] Login Succeeded [2023-04-17T20:22:20.366Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:22:20.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:22:20.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:22:20.914Z] Configure a credential helper to remove this warning. See [2023-04-17T20:22:20.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:22:20.914Z] [2023-04-17T20:22:20.914Z] Login Succeeded [2023-04-17T20:22:20.914Z] docker.io [2023-04-17T20:22:21.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:22:21.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:22:21.463Z] Configure a credential helper to remove this warning. See [2023-04-17T20:22:21.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:22:21.463Z] [2023-04-17T20:22:21.463Z] Login Succeeded [2023-04-17T20:22:21.463Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:22:21.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:22:21.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:22:21.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:22:21.832Z] ========================================================= [2023-04-17T20:22:21.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T20:22:21.832Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:22:22.195Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T20:22:22.466Z] Sending build context to Docker daemon 2.983MB [2023-04-17T20:22:22.466Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:22:22.466Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T20:22:22.739Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T20:22:22.739Z] af6eaf76a39c: Pulling fs layer [2023-04-17T20:22:22.739Z] 55522c791124: Pulling fs layer [2023-04-17T20:22:22.739Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T20:22:22.739Z] 169dfbe0d373: Pulling fs layer [2023-04-17T20:22:22.739Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T20:22:22.739Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T20:22:22.739Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T20:22:22.739Z] e1ff8fa3b103: Waiting [2023-04-17T20:22:22.739Z] 52ebb69f0ebf: Waiting [2023-04-17T20:22:22.739Z] 5abe8eddf0d5: Waiting [2023-04-17T20:22:22.739Z] 55522c791124: Verifying Checksum [2023-04-17T20:22:22.739Z] 55522c791124: Download complete [2023-04-17T20:22:22.739Z] 169dfbe0d373: Verifying Checksum [2023-04-17T20:22:22.739Z] 169dfbe0d373: Download complete [2023-04-17T20:22:22.739Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T20:22:22.739Z] e1ff8fa3b103: Download complete [2023-04-17T20:22:23.011Z] af6eaf76a39c: Verifying Checksum [2023-04-17T20:22:23.011Z] af6eaf76a39c: Download complete [2023-04-17T20:22:24.014Z] af6eaf76a39c: Pull complete [2023-04-17T20:22:24.014Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T20:22:24.014Z] 5abe8eddf0d5: Download complete [2023-04-17T20:22:24.612Z] 55522c791124: Pull complete [2023-04-17T20:22:25.588Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T20:22:25.588Z] 52ebb69f0ebf: Download complete [2023-04-17T20:22:25.588Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T20:22:25.588Z] ce5c4a1c91eb: Download complete [2023-04-17T20:22:37.952Z] ce5c4a1c91eb: Pull complete [2023-04-17T20:22:37.952Z] 169dfbe0d373: Pull complete [2023-04-17T20:22:37.952Z] e1ff8fa3b103: Pull complete [2023-04-17T20:22:43.354Z] 52ebb69f0ebf: Pull complete [2023-04-17T20:22:45.323Z] 5abe8eddf0d5: Pull complete [2023-04-17T20:22:45.323Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T20:22:45.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T20:22:45.323Z] ---> 6cb57ee374ae [2023-04-17T20:22:45.323Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:22:47.291Z] ---> Running in 130e3cfda1ee [2023-04-17T20:22:47.565Z] Removing intermediate container 130e3cfda1ee [2023-04-17T20:22:47.565Z] ---> 58aa0989cdb0 [2023-04-17T20:22:47.565Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:22:47.565Z] ---> Running in 7219bbb8de42 [2023-04-17T20:22:48.159Z] Removing intermediate container 7219bbb8de42 [2023-04-17T20:22:48.159Z] ---> 6331a4588819 [2023-04-17T20:22:48.159Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:22:48.159Z] ---> Running in 394368f88adc [2023-04-17T20:22:48.431Z] Removing intermediate container 394368f88adc [2023-04-17T20:22:48.431Z] ---> d56be0aaa426 [2023-04-17T20:22:48.431Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:22:48.703Z] ---> Running in 34a376b2149c [2023-04-17T20:22:48.977Z] Removing intermediate container 34a376b2149c [2023-04-17T20:22:48.977Z] ---> 59a994c07bf4 [2023-04-17T20:22:48.977Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:22:48.977Z] ---> Running in ee6092841cf6 [2023-04-17T20:22:50.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:22:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:22:52.870Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:22:52.870Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T20:22:52.870Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:22:52.870Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:22:52.870Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:22:52.870Z] OK: 268 MiB in 57 packages [2023-04-17T20:22:53.844Z] Removing intermediate container ee6092841cf6 [2023-04-17T20:22:53.844Z] ---> 37772ceda2cb [2023-04-17T20:22:53.844Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-17T20:22:54.115Z] ---> Running in 4a46bcaf16e6 [2023-04-17T20:22:54.385Z] Removing intermediate container 4a46bcaf16e6 [2023-04-17T20:22:54.385Z] ---> bc2504d174d7 [2023-04-17T20:22:54.385Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T20:22:54.975Z] ---> 89d37132b63b [2023-04-17T20:22:54.975Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:22:54.975Z] ---> Running in 57b66b7e37de [2023-04-17T20:24:16.686Z] Removing intermediate container 57b66b7e37de [2023-04-17T20:24:16.686Z] ---> d44060ea9ed2 [2023-04-17T20:24:16.686Z] Step 11/12 : COPY . . [2023-04-17T20:24:16.686Z] ---> f9a18faead0b [2023-04-17T20:24:16.686Z] Step 12/12 : RUN ${MAKE} [2023-04-17T20:24:16.686Z] ---> Running in add8474299e5 [2023-04-17T20:24:16.686Z] noop [2023-04-17T20:24:16.686Z] Removing intermediate container add8474299e5 [2023-04-17T20:24:16.686Z] ---> 19f39c0fce21 [2023-04-17T20:24:16.686Z] Successfully built 19f39c0fce21 [2023-04-17T20:24:16.686Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:24:17.060Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:24:17.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:24:17.306Z] prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container [2023-04-17T20:24:17.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@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-04-17T20:24:18.835Z] $ docker top b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:24:19.716Z] + go version [2023-04-17T20:24:19.716Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T20:24:19.742Z] $ docker stop --time=1 b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac [2023-04-17T20:24:21.464Z] $ docker rm -f --volumes b30311d9d474a1f98ae2ea1dbe81814928318e8369f7d9f5839f2af688cbceac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:24:22.046Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:24:22.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:24:22.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container [2023-04-17T20:24:22.356Z] $ 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/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@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-04-17T20:24:23.680Z] $ docker top 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:24:24.556Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/70 [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:24:25.222Z] + make test [2023-04-17T20:24:25.222Z] go test ./... -coverprofile=coverage.out [2023-04-17T20:25:12.163Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-17T20:27:18.907Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-17T20:27:18.907Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements [2023-04-17T20:27:18.907Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T20:27:18.907Z] go vet ./... [2023-04-17T20:27:51.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:27:51.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:27:51.200Z] ./bin/test-attribution-txt.sh [2023-04-17T20:27:51.200Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:27:51.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:27:51.246Z] $ docker stop --time=1 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 [2023-04-17T20:27:53.172Z] $ docker rm -f --volumes 1aa29a2fcdfdc7897605c8f428998f5e78f849bc45768f725eb20c57008ad272 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:27:54.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:27:54.492Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T20:27:55.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:27:55.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:27:55.855Z] + ls -al . [2023-04-17T20:27:55.855Z] total 168 [2023-04-17T20:27:55.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:24 . [2023-04-17T20:27:55.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 .. [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 17 20:21 .dockerignore [2023-04-17T20:27:55.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:21 .git [2023-04-17T20:27:55.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 .github [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 17 20:21 .gitignore [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:21 .golangci.yml [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 8926 Apr 17 20:21 Attribution.txt [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 17 20:21 CHANGELOG.md [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 17 20:21 Dockerfile [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:21 GOVERNANCE.md [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 17 20:21 Jenkinsfile [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:21 LICENSE [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 17 20:21 Makefile [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:21 OWNERS.md [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 17 20:21 README.md [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:18 VERSION [2023-04-17T20:27:55.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 bin [2023-04-17T20:27:55.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 cmd [2023-04-17T20:27:55.855Z] -rw-r--r-- 1 jenkins jenkins 8751 Apr 17 20:27 coverage.out [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 17 20:21 go.mod [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 17 20:21 go.sum [2023-04-17T20:27:55.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 internal [2023-04-17T20:27:55.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 snap [2023-04-17T20:27:55.855Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 17 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:27:56.209Z] + 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 --label arch=arm64 --label version=3.0.0-dev.13 . [2023-04-17T20:27:56.485Z] Sending build context to Docker daemon 2.993MB [2023-04-17T20:27:56.485Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:27:56.485Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T20:27:56.485Z] ---> 19f39c0fce21 [2023-04-17T20:27:56.485Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:27:56.757Z] ---> Running in e8d894b7faa9 [2023-04-17T20:27:57.029Z] Removing intermediate container e8d894b7faa9 [2023-04-17T20:27:57.029Z] ---> 8cfadd6f64b5 [2023-04-17T20:27:57.029Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:27:57.306Z] ---> Running in d2914fed5667 [2023-04-17T20:27:57.578Z] Removing intermediate container d2914fed5667 [2023-04-17T20:27:57.578Z] ---> 0fc03458d64b [2023-04-17T20:27:57.578Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:27:57.578Z] ---> Running in aad12ff95363 [2023-04-17T20:27:57.850Z] Removing intermediate container aad12ff95363 [2023-04-17T20:27:57.850Z] ---> cb78826ec084 [2023-04-17T20:27:57.850Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:27:58.122Z] ---> Running in 29e8418bad11 [2023-04-17T20:27:58.396Z] Removing intermediate container 29e8418bad11 [2023-04-17T20:27:58.396Z] ---> f6dec5d91438 [2023-04-17T20:27:58.396Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:27:58.396Z] ---> Running in e49973eccbeb [2023-04-17T20:27:59.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:28:00.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:28:01.517Z] OK: 268 MiB in 57 packages [2023-04-17T20:28:02.495Z] Removing intermediate container e49973eccbeb [2023-04-17T20:28:02.495Z] ---> fca07122750b [2023-04-17T20:28:02.496Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-17T20:28:02.496Z] ---> Running in 858f900eb966 [2023-04-17T20:28:03.090Z] Removing intermediate container 858f900eb966 [2023-04-17T20:28:03.090Z] ---> be758a45cd4f [2023-04-17T20:28:03.090Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T20:28:03.688Z] ---> f605da7bc0a9 [2023-04-17T20:28:03.688Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:28:03.688Z] ---> Running in 7867d002ad28 [2023-04-17T20:28:07.066Z] Removing intermediate container 7867d002ad28 [2023-04-17T20:28:07.066Z] ---> 2b167e80ab9e [2023-04-17T20:28:07.066Z] Step 11/24 : COPY . . [2023-04-17T20:28:07.337Z] ---> 0f5da8eb451f [2023-04-17T20:28:07.337Z] Step 12/24 : RUN ${MAKE} [2023-04-17T20:28:07.610Z] ---> Running in c933c504735e [2023-04-17T20:28:08.583Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-17T20:30:45.379Z] Removing intermediate container c933c504735e [2023-04-17T20:30:45.379Z] ---> ea5eca832d74 [2023-04-17T20:30:45.379Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T20:30:45.379Z] 3.17: Pulling from library/alpine [2023-04-17T20:30:45.379Z] c41833b44d91: Pulling fs layer [2023-04-17T20:30:45.379Z] c41833b44d91: Verifying Checksum [2023-04-17T20:30:45.379Z] c41833b44d91: Download complete [2023-04-17T20:30:45.379Z] c41833b44d91: Pull complete [2023-04-17T20:30:45.379Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:30:45.379Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:30:45.379Z] ---> 51e60588ff2c [2023-04-17T20:30:45.379Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:30:45.379Z] ---> Running in ccfa78021806 [2023-04-17T20:30:45.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:45.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:45.379Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:30:45.379Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:30:45.379Z] OK: 8 MiB in 16 packages [2023-04-17T20:30:47.970Z] Removing intermediate container ccfa78021806 [2023-04-17T20:30:47.970Z] ---> 47cb4348510e [2023-04-17T20:30:47.970Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-17T20:30:49.401Z] ---> b49734b5c9f9 [2023-04-17T20:30:49.401Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-17T20:30:49.671Z] ---> 8e25c980c613 [2023-04-17T20:30:49.671Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-17T20:30:50.265Z] ---> 2361c6ca0312 [2023-04-17T20:30:50.265Z] Step 18/24 : EXPOSE 59993 [2023-04-17T20:30:50.535Z] ---> Running in 9fe97678a81f [2023-04-17T20:30:50.803Z] Removing intermediate container 9fe97678a81f [2023-04-17T20:30:50.803Z] ---> 1225c3063f7d [2023-04-17T20:30:50.803Z] Step 19/24 : EXPOSE 161 [2023-04-17T20:30:50.803Z] ---> Running in a60b390b61b4 [2023-04-17T20:30:51.078Z] Removing intermediate container a60b390b61b4 [2023-04-17T20:30:51.078Z] ---> d15e79105ad3 [2023-04-17T20:30:51.078Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-17T20:30:51.351Z] ---> Running in a57821b493a5 [2023-04-17T20:30:51.621Z] Removing intermediate container a57821b493a5 [2023-04-17T20:30:51.621Z] ---> 5ecc1c2cd96e [2023-04-17T20:30:51.621Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T20:30:51.621Z] ---> Running in c8aa39614917 [2023-04-17T20:30:51.893Z] Removing intermediate container c8aa39614917 [2023-04-17T20:30:51.893Z] ---> ef374729704d [2023-04-17T20:30:51.893Z] Step 22/24 : LABEL arch=arm64 [2023-04-17T20:30:52.172Z] ---> Running in 0ff28d50ec81 [2023-04-17T20:30:52.442Z] Removing intermediate container 0ff28d50ec81 [2023-04-17T20:30:52.442Z] ---> e725f5ccf171 [2023-04-17T20:30:52.442Z] Step 23/24 : LABEL git_sha=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:30:52.442Z] ---> Running in 4353766bcb6a [2023-04-17T20:30:52.720Z] Removing intermediate container 4353766bcb6a [2023-04-17T20:30:52.720Z] ---> 9743887e845c [2023-04-17T20:30:52.720Z] Step 24/24 : LABEL version=3.0.0-dev.13 [2023-04-17T20:30:52.991Z] ---> Running in 5bf6ff76bbcc [2023-04-17T20:30:53.260Z] Removing intermediate container 5bf6ff76bbcc [2023-04-17T20:30:53.260Z] ---> e4fdb79d9ac5 [2023-04-17T20:30:53.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:30:53.260Z] Successfully built e4fdb79d9ac5 [2023-04-17T20:30:53.260Z] 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-04-17T20:30:53.379Z] provisioning config files... [2023-04-17T20:30:53.398Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/70@tmp/config127348280440934421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:30:53.749Z] ---> docker-login.sh [2023-04-17T20:30:53.749Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:30:54.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:54.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:54.020Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:54.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:54.020Z] [2023-04-17T20:30:54.020Z] Login Succeeded [2023-04-17T20:30:54.020Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:30:54.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:54.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:54.561Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:54.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:54.561Z] [2023-04-17T20:30:54.561Z] Login Succeeded [2023-04-17T20:30:54.561Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:30:54.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:54.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:54.833Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:54.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:54.833Z] [2023-04-17T20:30:54.833Z] Login Succeeded [2023-04-17T20:30:54.833Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:30:55.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:55.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:55.374Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:55.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:55.374Z] [2023-04-17T20:30:55.374Z] Login Succeeded [2023-04-17T20:30:55.374Z] docker.io [2023-04-17T20:30:55.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:55.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:55.917Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:55.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:55.917Z] [2023-04-17T20:30:55.917Z] Login Succeeded [2023-04-17T20:30:55.917Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:30:55.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:30:55.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:30:55.994Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-17T20:30:55.994Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:30:55.994Z] latest [2023-04-17T20:30:55.994Z] 3.0.0-dev.13 [2023-04-17T20:30:55.994Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:30:55.994Z] main [2023-04-17T20:30:55.994Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:56.369Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:56.845Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:30:56.845Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-17T20:30:56.845Z] edd6976a6372: Preparing [2023-04-17T20:30:56.845Z] 77f0222e6bf2: Preparing [2023-04-17T20:30:56.845Z] 481881604fb8: Preparing [2023-04-17T20:30:56.845Z] d3e8b9020979: Preparing [2023-04-17T20:30:56.845Z] 26cbea5cba74: Preparing [2023-04-17T20:30:56.845Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:57.126Z] 77f0222e6bf2: Pushed [2023-04-17T20:30:57.126Z] edd6976a6372: Pushed [2023-04-17T20:30:57.126Z] d3e8b9020979: Pushed [2023-04-17T20:31:03.850Z] 481881604fb8: Pushed [2023-04-17T20:31:03.850Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:04.209Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:04.554Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-17T20:31:04.554Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-17T20:31:04.554Z] edd6976a6372: Preparing [2023-04-17T20:31:04.554Z] 77f0222e6bf2: Preparing [2023-04-17T20:31:04.554Z] 481881604fb8: Preparing [2023-04-17T20:31:04.554Z] d3e8b9020979: Preparing [2023-04-17T20:31:04.554Z] 26cbea5cba74: Preparing [2023-04-17T20:31:04.554Z] 26cbea5cba74: Layer already exists [2023-04-17T20:31:04.554Z] 77f0222e6bf2: Layer already exists [2023-04-17T20:31:04.554Z] 481881604fb8: Layer already exists [2023-04-17T20:31:04.554Z] edd6976a6372: Layer already exists [2023-04-17T20:31:04.554Z] d3e8b9020979: Layer already exists [2023-04-17T20:31:04.821Z] latest: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:05.178Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:05.530Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 [2023-04-17T20:31:05.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-17T20:31:05.530Z] edd6976a6372: Preparing [2023-04-17T20:31:05.530Z] 77f0222e6bf2: Preparing [2023-04-17T20:31:05.530Z] 481881604fb8: Preparing [2023-04-17T20:31:05.530Z] d3e8b9020979: Preparing [2023-04-17T20:31:05.530Z] 26cbea5cba74: Preparing [2023-04-17T20:31:05.530Z] 26cbea5cba74: Layer already exists [2023-04-17T20:31:05.530Z] 481881604fb8: Layer already exists [2023-04-17T20:31:05.530Z] edd6976a6372: Layer already exists [2023-04-17T20:31:05.530Z] d3e8b9020979: Layer already exists [2023-04-17T20:31:05.530Z] 77f0222e6bf2: Layer already exists [2023-04-17T20:31:05.798Z] 3.0.0-dev.13: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:06.159Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:06.514Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:31:06.514Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-17T20:31:06.514Z] edd6976a6372: Preparing [2023-04-17T20:31:06.514Z] 77f0222e6bf2: Preparing [2023-04-17T20:31:06.514Z] 481881604fb8: Preparing [2023-04-17T20:31:06.514Z] d3e8b9020979: Preparing [2023-04-17T20:31:06.514Z] 26cbea5cba74: Preparing [2023-04-17T20:31:06.514Z] 77f0222e6bf2: Layer already exists [2023-04-17T20:31:06.514Z] 26cbea5cba74: Layer already exists [2023-04-17T20:31:06.514Z] edd6976a6372: Layer already exists [2023-04-17T20:31:06.514Z] d3e8b9020979: Layer already exists [2023-04-17T20:31:06.514Z] 481881604fb8: Layer already exists [2023-04-17T20:31:06.783Z] 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:07.136Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:07.492Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-17T20:31:07.492Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-17T20:31:07.492Z] edd6976a6372: Preparing [2023-04-17T20:31:07.492Z] 77f0222e6bf2: Preparing [2023-04-17T20:31:07.492Z] 481881604fb8: Preparing [2023-04-17T20:31:07.492Z] d3e8b9020979: Preparing [2023-04-17T20:31:07.492Z] 26cbea5cba74: Preparing [2023-04-17T20:31:07.492Z] 26cbea5cba74: Layer already exists [2023-04-17T20:31:07.492Z] 77f0222e6bf2: Layer already exists [2023-04-17T20:31:07.492Z] d3e8b9020979: Layer already exists [2023-04-17T20:31:07.492Z] edd6976a6372: Layer already exists [2023-04-17T20:31:07.492Z] 481881604fb8: Layer already exists [2023-04-17T20:31:07.761Z] main: digest: sha256:f6e45c3fa95c819d9245680372ff4d61813889a9ebe1438c9b18ecb72cb5bf0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:31:07.821Z] ===================================================== [Pipeline] echo [2023-04-17T20:31:07.831Z] taggedImages: [2023-04-17T20:31:07.831Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [2023-04-17T20:31:07.831Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-17T20:31:07.831Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.13 [2023-04-17T20:31:07.831Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92-3.0.0-dev.13 [2023-04-17T20:31:07.831Z] - 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-04-17T20:31:08.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:31:08.197Z] [2023-04-17T20:31:08.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:08.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:31:08.539Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T20:31:08.539Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T20:31:08.539Z] 04944245beec: Pulling fs layer [2023-04-17T20:31:08.539Z] 699f458cf7ca: Pulling fs layer [2023-04-17T20:31:08.539Z] 765212b225bb: Pulling fs layer [2023-04-17T20:31:08.539Z] f23df028b6ca: Pulling fs layer [2023-04-17T20:31:08.539Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T20:31:08.539Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T20:31:08.539Z] f23df028b6ca: Waiting [2023-04-17T20:31:08.539Z] d65c8cfc05b1: Waiting [2023-04-17T20:31:08.539Z] 2437ff75d9bd: Waiting [2023-04-17T20:31:08.539Z] 765212b225bb: Waiting [2023-04-17T20:31:08.809Z] 04944245beec: Verifying Checksum [2023-04-17T20:31:08.809Z] 04944245beec: Download complete [2023-04-17T20:31:08.809Z] 765212b225bb: Download complete [2023-04-17T20:31:08.809Z] f23df028b6ca: Verifying Checksum [2023-04-17T20:31:08.809Z] f23df028b6ca: Download complete [2023-04-17T20:31:08.809Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T20:31:08.809Z] d65c8cfc05b1: Download complete [2023-04-17T20:31:09.079Z] 699f458cf7ca: Verifying Checksum [2023-04-17T20:31:09.079Z] 699f458cf7ca: Download complete [2023-04-17T20:31:09.347Z] 8998bd30e6a1: Download complete [2023-04-17T20:31:11.956Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T20:31:11.956Z] 2437ff75d9bd: Download complete [2023-04-17T20:31:13.907Z] 8998bd30e6a1: Pull complete [2023-04-17T20:31:14.492Z] 04944245beec: Pull complete [2023-04-17T20:31:15.913Z] 699f458cf7ca: Pull complete [2023-04-17T20:31:15.913Z] 765212b225bb: Pull complete [2023-04-17T20:31:16.881Z] f23df028b6ca: Pull complete [2023-04-17T20:31:16.881Z] d65c8cfc05b1: Pull complete [2023-04-17T20:31:31.890Z] 2437ff75d9bd: Pull complete [2023-04-17T20:31:31.890Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T20:31:31.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:31:31.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:32.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-8782 does not seem to be running inside a container [2023-04-17T20:31:32.191Z] $ 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/70 -v /w/workspace/device-snmp-go/70:/w/workspace/device-snmp-go/70:rw,z -v /w/workspace/device-snmp-go/70@tmp:/w/workspace/device-snmp-go/70@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-04-17T20:31:34.935Z] $ docker top d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:35.801Z] ---> job-cost.sh [2023-04-17T20:31:35.801Z] lf-activate-venv: SKIPPING [2023-04-17T20:31:35.801Z] INFO: No Stack... [2023-04-17T20:31:36.388Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T20:31:36.974Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:31:37.619Z] + + cutcat -d, /w/workspace/device-snmp-go/70/archives/cost.csv -f6 [2023-04-17T20:31:37.619Z] [Pipeline] lock [2023-04-17T20:31:37.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [2023-04-17T20:31:37.706Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] did not exist. Created. [2023-04-17T20:31:37.706Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:31:38.370Z] /w/workspace/device-snmp-go/70@tmp/durable-94086045/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T20:31:39.034Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T20:31:39.059Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T20:31:39.127Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:31:39.144Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:31:39.171Z] $ docker stop --time=1 d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e [2023-04-17T20:31:40.728Z] $ docker rm -f --volumes d73855cae54d9bdc3f2210a0a4f1733480bb1981d9501368b4e4df8ec4f8260e [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-04-17T20:31:41.102Z] provisioning config files... [2023-04-17T20:31:41.108Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4068253606742219481tmp [Pipeline] { [Pipeline] sh [2023-04-17T20:31:41.393Z] + set +x [2023-04-17T20:31:41.393Z] + curl -s https://codecov.io/bash [2023-04-17T20:31:41.393Z] + bash -s -- [2023-04-17T20:31:41.393Z] [2023-04-17T20:31:41.393Z] _____ _ [2023-04-17T20:31:41.393Z] / ____| | | [2023-04-17T20:31:41.393Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T20:31:41.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T20:31:41.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T20:31:41.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T20:31:41.393Z] Bash-1.0.6 [2023-04-17T20:31:41.393Z] [2023-04-17T20:31:41.393Z] [2023-04-17T20:31:41.393Z] ==> git version 2.25.1 found [2023-04-17T20:31:41.393Z] ==> 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-04-17T20:31:41.393Z] Release-Date: 2020-01-08 [2023-04-17T20:31:41.393Z] 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-04-17T20:31:41.393Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T20:31:41.393Z] ==> Jenkins CI detected. [2023-04-17T20:31:41.393Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-17T20:31:41.393Z] project root: . [2023-04-17T20:31:41.393Z] --> token set from env [2023-04-17T20:31:41.393Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T20:31:41.393Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T20:31:41.393Z] ==> Python coveragepy not found [2023-04-17T20:31:41.393Z] ==> Searching for coverage reports in: [2023-04-17T20:31:41.393Z] + . [2023-04-17T20:31:41.393Z] -> Found 1 reports [2023-04-17T20:31:41.393Z] ==> Detecting git/mercurial file structure [2023-04-17T20:31:41.393Z] ==> Reading reports [2023-04-17T20:31:41.393Z] + ./coverage.out bytes=8751 [2023-04-17T20:31:41.393Z] ==> Appending adjustments [2023-04-17T20:31:41.393Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T20:31:41.652Z] + Found adjustments [2023-04-17T20:31:41.652Z] ==> Gzipping contents [2023-04-17T20:31:41.652Z] 4.0K /tmp/codecov.GsmTWB.gz [2023-04-17T20:31:41.652Z] ==> Uploading reports [2023-04-17T20:31:41.652Z] url: https://codecov.io [2023-04-17T20:31:41.652Z] query: branch=main&commit=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:41.652Z] -> Pinging Codecov [2023-04-17T20:31:41.652Z] 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=66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:41.652Z] -> Uploading to [2023-04-17T20:31:41.652Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/6C56EA5C29638FB4528AC87E60AF5AE0/66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92/1ea12e8c-cdee-4016-afcc-1b9129d79a3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T203141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b6c9990f32c7e5171012cd3007fec4c372b8ec130f012aee57b4ab0c1358f96 [2023-04-17T20:31:41.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:31:41.652Z] Dload Upload Total Spent Left Speed [2023-04-17T20:31:41.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1590 0 0 100 1590 0 7327 --:--:-- --:--:-- --:--:-- 7293 [2023-04-17T20:31:41.911Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] } [2023-04-17T20:31:41.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-17T20:31:42.016Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-17T20:31:42.030Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:42.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:42.325Z] [2023-04-17T20:31:42.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:42.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:42.630Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-17T20:31:42.630Z] df9b9388f04a: Pulling fs layer [2023-04-17T20:31:42.630Z] 52dc419b0ee2: Pulling fs layer [2023-04-17T20:31:42.630Z] 25bc292e5bac: Pulling fs layer [2023-04-17T20:31:42.630Z] 114826534d7a: Pulling fs layer [2023-04-17T20:31:42.630Z] 4657fd5d0bcf: Pulling fs layer [2023-04-17T20:31:42.630Z] 6ad1cebc031e: Pulling fs layer [2023-04-17T20:31:42.630Z] 8a3aa393b2d8: Pulling fs layer [2023-04-17T20:31:42.630Z] 114826534d7a: Waiting [2023-04-17T20:31:42.630Z] 4657fd5d0bcf: Waiting [2023-04-17T20:31:42.630Z] 6ad1cebc031e: Waiting [2023-04-17T20:31:42.630Z] 8a3aa393b2d8: Waiting [2023-04-17T20:31:42.630Z] 52dc419b0ee2: Verifying Checksum [2023-04-17T20:31:42.630Z] 52dc419b0ee2: Download complete [2023-04-17T20:31:42.630Z] 25bc292e5bac: Verifying Checksum [2023-04-17T20:31:42.630Z] 25bc292e5bac: Download complete [2023-04-17T20:31:42.630Z] 4657fd5d0bcf: Verifying Checksum [2023-04-17T20:31:42.630Z] 4657fd5d0bcf: Download complete [2023-04-17T20:31:42.630Z] df9b9388f04a: Verifying Checksum [2023-04-17T20:31:42.630Z] df9b9388f04a: Download complete [2023-04-17T20:31:42.630Z] df9b9388f04a: Pull complete [2023-04-17T20:31:42.889Z] 6ad1cebc031e: Verifying Checksum [2023-04-17T20:31:42.889Z] 6ad1cebc031e: Download complete [2023-04-17T20:31:42.889Z] 52dc419b0ee2: Pull complete [2023-04-17T20:31:42.889Z] 25bc292e5bac: Pull complete [2023-04-17T20:31:43.767Z] 114826534d7a: Verifying Checksum [2023-04-17T20:31:43.767Z] 114826534d7a: Download complete [2023-04-17T20:31:43.767Z] 8a3aa393b2d8: Verifying Checksum [2023-04-17T20:31:43.767Z] 8a3aa393b2d8: Download complete [2023-04-17T20:31:47.047Z] 114826534d7a: Pull complete [2023-04-17T20:31:47.047Z] 4657fd5d0bcf: Pull complete [2023-04-17T20:31:47.047Z] 6ad1cebc031e: Pull complete [2023-04-17T20:31:49.574Z] 8a3aa393b2d8: Pull complete [2023-04-17T20:31:49.574Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-17T20:31:49.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:49.574Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:49.650Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:31:49.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-17T20:31:51.207Z] $ docker top 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-17T20:31:51.270Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-17T20:31:51.548Z] + set -o pipefail [2023-04-17T20:31:51.548Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/da2e8deb-ef8f-4f55-8f24-e0d78326cde2 [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] [2023-04-17T20:31:56.818Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-17T20:31:56.818Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-17T20:31:56.818Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-17T20:31:56.830Z] $ docker stop --time=1 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 [2023-04-17T20:31:58.572Z] $ docker rm -f --volumes 5063f55dae931ebf33dae865c731a59c4bcb0ef7ccfbd01adf1fdea5d06be203 [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-04-17T20:31:59.232Z] + git log --format=format:%s -1 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 [Pipeline] sh [2023-04-17T20:31:59.522Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:59.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:59.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:59.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:59.899Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:31:59.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:32:00.264Z] $ docker top bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 -eo pid,comm [2023-04-17T20:32:00.313Z] 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-04-17T20:32:00.313Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:32:00.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:32:00.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:32:00.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:32:00.462Z] $ docker exec bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 ssh-agent [2023-04-17T20:32:00.574Z] SSH_AUTH_SOCK=/tmp/ssh-TWaGXXG4Zikr/agent.32 [2023-04-17T20:32:00.575Z] SSH_AGENT_PID=38 [2023-04-17T20:32:00.579Z] Running ssh-add (command line suppressed) [2023-04-17T20:32:00.683Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11727228136092799928.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11727228136092799928.key) [2023-04-17T20:32:00.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:32:00.982Z] + git semver tag [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,153 [run_tag] DEBUG tag force:False [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,153 [check_head_tag] DEBUG check head tag [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,154 [execute] INFO git cat-file --batch-check [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,158 [execute] INFO git cat-file --batch [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,174 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,174 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:32:01.241Z] 2023-04-17 20:32:01,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:01.241Z] 3.0.0-dev.13 [Pipeline] } [2023-04-17T20:32:01.249Z] $ docker exec --env ******** --env ******** bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 ssh-agent -k [2023-04-17T20:32:01.356Z] unset SSH_AUTH_SOCK; [2023-04-17T20:32:01.357Z] unset SSH_AGENT_PID; [2023-04-17T20:32:01.357Z] echo Agent pid 38 killed; [2023-04-17T20:32:01.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:32:01.670Z] + git semver [Pipeline] } [2023-04-17T20:32:01.940Z] $ docker stop --time=1 bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 [2023-04-17T20:32:03.188Z] $ docker rm -f --volumes bf916501c81832615b40299f68cd266a3d1eddcddb43a1cad82bb68fb5124df7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:03.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:32:03.566Z] [2023-04-17T20:32:03.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:03.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:32:03.862Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-17T20:32:03.862Z] ab5ef0e58194: Pulling fs layer [2023-04-17T20:32:03.862Z] 9712f1f96733: Pulling fs layer [2023-04-17T20:32:03.862Z] 63f879dbbcfc: Pulling fs layer [2023-04-17T20:32:03.862Z] 0d9ebad4ef96: Pulling fs layer [2023-04-17T20:32:03.862Z] e9a5061849ea: Pulling fs layer [2023-04-17T20:32:03.862Z] 0d9ebad4ef96: Waiting [2023-04-17T20:32:03.862Z] e9a5061849ea: Waiting [2023-04-17T20:32:03.862Z] d747dcd14b5f: Pulling fs layer [2023-04-17T20:32:03.862Z] 2de7ff778b66: Pulling fs layer [2023-04-17T20:32:03.862Z] 2de7ff778b66: Waiting [2023-04-17T20:32:03.862Z] d747dcd14b5f: Waiting [2023-04-17T20:32:03.862Z] 9712f1f96733: Download complete [2023-04-17T20:32:04.124Z] 63f879dbbcfc: Verifying Checksum [2023-04-17T20:32:04.124Z] 63f879dbbcfc: Download complete [2023-04-17T20:32:04.384Z] 0d9ebad4ef96: Verifying Checksum [2023-04-17T20:32:04.384Z] 0d9ebad4ef96: Download complete [2023-04-17T20:32:04.384Z] e9a5061849ea: Verifying Checksum [2023-04-17T20:32:04.384Z] e9a5061849ea: Download complete [2023-04-17T20:32:04.384Z] ab5ef0e58194: Verifying Checksum [2023-04-17T20:32:04.384Z] ab5ef0e58194: Download complete [2023-04-17T20:32:04.384Z] d747dcd14b5f: Verifying Checksum [2023-04-17T20:32:04.384Z] d747dcd14b5f: Download complete [2023-04-17T20:32:04.384Z] 2de7ff778b66: Verifying Checksum [2023-04-17T20:32:04.384Z] 2de7ff778b66: Download complete [2023-04-17T20:32:06.914Z] ab5ef0e58194: Pull complete [2023-04-17T20:32:06.914Z] 9712f1f96733: Pull complete [2023-04-17T20:32:07.478Z] 63f879dbbcfc: Pull complete [2023-04-17T20:32:10.761Z] 0d9ebad4ef96: Pull complete [2023-04-17T20:32:11.024Z] e9a5061849ea: Pull complete [2023-04-17T20:32:11.281Z] d747dcd14b5f: Pull complete [2023-04-17T20:32:12.216Z] 2de7ff778b66: Pull complete [2023-04-17T20:32:12.216Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-17T20:32:12.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:32:12.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:12.294Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:32:12.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-17T20:32:13.923Z] $ docker top 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:32:13.984Z] provisioning config files... [2023-04-17T20:32:13.993Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2015709118669532660tmp [2023-04-17T20:32:14.002Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15943970264502930736tmp [2023-04-17T20:32:14.011Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18184843286275473694tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:32:14.026Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:14.307Z] ---> sigul-configuration.sh [2023-04-17T20:32:14.307Z] gpg: directory `/root/.gnupg' created [2023-04-17T20:32:14.307Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-17T20:32:14.307Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-17T20:32:14.307Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-17T20:32:14.307Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-17T20:32:14.307Z] gpg: CAST5 encrypted data [2023-04-17T20:32:14.307Z] gpg: encrypted with 1 passphrase [2023-04-17T20:32:14.307Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-17T20:32:14.594Z] + mkdir /home/jenkins [2023-04-17T20:32:14.594Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-17T20:32:14.878Z] + 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-04-17T20:32:14.886Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:15.170Z] ---> sigul-install.sh [2023-04-17T20:32:15.170Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-17T20:32:15.460Z] + git tag --list [2023-04-17T20:32:15.460Z] 1.0.0 [2023-04-17T20:32:15.460Z] v0.0.0 [2023-04-17T20:32:15.460Z] v1.1.0 [2023-04-17T20:32:15.460Z] v1.1.1 [2023-04-17T20:32:15.460Z] v1.2.2 [2023-04-17T20:32:15.460Z] v1.3.0 [2023-04-17T20:32:15.460Z] v1.3.1 [2023-04-17T20:32:15.460Z] v2.0.0 [2023-04-17T20:32:15.460Z] v2.1.0 [2023-04-17T20:32:15.460Z] v2.1.1 [2023-04-17T20:32:15.460Z] v2.1.1-dev.2 [2023-04-17T20:32:15.460Z] v2.1.1-dev.3 [2023-04-17T20:32:15.460Z] v2.2.0 [2023-04-17T20:32:15.460Z] v2.2.1-dev.1 [2023-04-17T20:32:15.460Z] v2.2.1-dev.2 [2023-04-17T20:32:15.460Z] v2.2.1-dev.3 [2023-04-17T20:32:15.460Z] v2.2.1-dev.4 [2023-04-17T20:32:15.460Z] v2.2.1-dev.5 [2023-04-17T20:32:15.460Z] v2.2.1-dev.6 [2023-04-17T20:32:15.460Z] v2.2.1-dev.7 [2023-04-17T20:32:15.460Z] v2.3.0 [2023-04-17T20:32:15.460Z] v2.3.0-dev.10 [2023-04-17T20:32:15.460Z] v2.3.0-dev.11 [2023-04-17T20:32:15.460Z] v2.3.0-dev.12 [2023-04-17T20:32:15.460Z] v2.3.0-dev.13 [2023-04-17T20:32:15.460Z] v2.3.0-dev.14 [2023-04-17T20:32:15.460Z] v2.3.0-dev.15 [2023-04-17T20:32:15.460Z] v2.3.0-dev.16 [2023-04-17T20:32:15.460Z] v2.3.0-dev.17 [2023-04-17T20:32:15.460Z] v2.3.0-dev.18 [2023-04-17T20:32:15.460Z] v2.3.0-dev.19 [2023-04-17T20:32:15.460Z] v2.3.0-dev.20 [2023-04-17T20:32:15.460Z] v2.3.0-dev.21 [2023-04-17T20:32:15.460Z] v2.3.0-dev.22 [2023-04-17T20:32:15.460Z] v2.3.0-dev.23 [2023-04-17T20:32:15.460Z] v2.3.0-dev.24 [2023-04-17T20:32:15.460Z] v2.3.0-dev.7 [2023-04-17T20:32:15.460Z] v2.3.0-dev.8 [2023-04-17T20:32:15.460Z] v2.3.0-dev.9 [2023-04-17T20:32:15.460Z] v3.0.0-dev.1 [2023-04-17T20:32:15.460Z] v3.0.0-dev.10 [2023-04-17T20:32:15.460Z] v3.0.0-dev.11 [2023-04-17T20:32:15.460Z] v3.0.0-dev.12 [2023-04-17T20:32:15.460Z] v3.0.0-dev.13 [2023-04-17T20:32:15.460Z] v3.0.0-dev.2 [2023-04-17T20:32:15.460Z] v3.0.0-dev.3 [2023-04-17T20:32:15.460Z] v3.0.0-dev.4 [2023-04-17T20:32:15.460Z] v3.0.0-dev.5 [2023-04-17T20:32:15.460Z] v3.0.0-dev.6 [2023-04-17T20:32:15.460Z] v3.0.0-dev.7 [2023-04-17T20:32:15.460Z] v3.0.0-dev.8 [2023-04-17T20:32:15.460Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-17T20:32:15.751Z] + lftools sign git-tag v3.0.0-dev.13 [2023-04-17T20:32:16.320Z] Signing Git tag with Sigul... [2023-04-17T20:32:16.320Z] Signing v3.0.0-dev.13 [Pipeline] echo [2023-04-17T20:32:16.589Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:16.880Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-17T20:32:16.887Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-17T20:32:16.904Z] $ docker stop --time=1 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 [2023-04-17T20:32:18.163Z] $ docker rm -f --volumes 907ab33c29040544d91b17a50ae741077a104e0888b299d613f73bed4edb10c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-17T20:32:18.551Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:32:18.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:18.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:32:18.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:18.921Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:32:18.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:32:19.280Z] $ docker top 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:32:19.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:32:19.359Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:32:19.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:32:19.481Z] $ docker exec 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff ssh-agent [2023-04-17T20:32:19.589Z] SSH_AUTH_SOCK=/tmp/ssh-HXVtSGaNTKM9/agent.33 [2023-04-17T20:32:19.589Z] SSH_AGENT_PID=39 [2023-04-17T20:32:19.594Z] Running ssh-add (command line suppressed) [2023-04-17T20:32:19.690Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8383751481678503437.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8383751481678503437.key) [2023-04-17T20:32:19.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:32:19.989Z] + git semver bump pre [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [bump_version] DEBUG bumped version:3.0.0-dev.14 [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,173 [execute] INFO git cat-file --batch-check [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,179 [execute] INFO git cat-file --batch [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:32:20.248Z] 2023-04-17 20:32:20,184 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:20.248Z] 3.0.0-dev.14 [Pipeline] } [2023-04-17T20:32:20.256Z] $ docker exec --env ******** --env ******** 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff ssh-agent -k [2023-04-17T20:32:20.354Z] unset SSH_AUTH_SOCK; [2023-04-17T20:32:20.354Z] unset SSH_AGENT_PID; [2023-04-17T20:32:20.354Z] echo Agent pid 39 killed; [2023-04-17T20:32:20.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:32:20.665Z] + git semver [Pipeline] } [2023-04-17T20:32:21.339Z] $ docker stop --time=1 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff [2023-04-17T20:32:22.644Z] $ docker rm -f --volumes 7fd3212955f8200e67b186b872398619d74aee4552c14d75c596af39d3fdb5ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:32:22.989Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:32:22.989Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:23.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:32:23.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:23.351Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:32:23.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T20:32:23.698Z] $ docker top 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 -eo pid,comm [2023-04-17T20:32:23.752Z] 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-04-17T20:32:23.752Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:32:23.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:32:23.790Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:32:23.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:32:23.906Z] $ docker exec 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 ssh-agent [2023-04-17T20:32:24.021Z] SSH_AUTH_SOCK=/tmp/ssh-bG0YvAadBBox/agent.32 [2023-04-17T20:32:24.021Z] SSH_AGENT_PID=38 [2023-04-17T20:32:24.025Z] Running ssh-add (command line suppressed) [2023-04-17T20:32:24.132Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16374626543721777551.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16374626543721777551.key) [2023-04-17T20:32:24.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:32:24.429Z] + git semver push [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,607 [run_push] DEBUG push [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,608 [execute] INFO git cat-file --batch-check [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,611 [execute] INFO git rev-list 3060c0822c12e8b99d26d664b53866e075cc1ac5 -- [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,611 [execute] DEBUG Popen(['git', 'rev-list', '3060c0822c12e8b99d26d664b53866e075cc1ac5', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,618 [execute] INFO git fetch -v origin [2023-04-17T20:32:24.688Z] 2023-04-17 20:32:24,618 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-17T20:32:25.257Z] 2023-04-17 20:32:25,110 [run_push] DEBUG no remote changes detected [2023-04-17T20:32:25.257Z] 2023-04-17 20:32:25,110 [execute] INFO git push origin semver [2023-04-17T20:32:25.257Z] 2023-04-17 20:32:25,110 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:32:26.192Z] 2023-04-17 20:32:25,923 [run_push] DEBUG push all version tags [2023-04-17T20:32:26.192Z] 2023-04-17 20:32:25,923 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-17T20:32:26.192Z] 2023-04-17 20:32:25,924 [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-04-17T20:32:26.761Z] 2023-04-17 20:32:26,680 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-17T20:32:26.761Z] 3.0.0-dev.14 [Pipeline] } [2023-04-17T20:32:26.769Z] $ docker exec --env ******** --env ******** 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 ssh-agent -k [2023-04-17T20:32:26.876Z] unset SSH_AUTH_SOCK; [2023-04-17T20:32:26.878Z] unset SSH_AGENT_PID; [2023-04-17T20:32:26.878Z] echo Agent pid 38 killed; [2023-04-17T20:32:26.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:32:27.182Z] + git semver [Pipeline] } [2023-04-17T20:32:27.452Z] $ docker stop --time=1 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 [2023-04-17T20:32:28.712Z] $ docker rm -f --volumes 32e371ef3c011c59e3f3594c99d3c59bc9efb2a806a58717e5d6ee2c37d19bc9 [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-04-17T20:32:29.215Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-17T20:32:29.215Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-17T20:32:29.215Z] total 16 [2023-04-17T20:32:29.215Z] drwxr-xr-x 3 root root 4096 Apr 17 20:19 . [2023-04-17T20:32:29.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:32 .. [2023-04-17T20:32:29.215Z] drwxr-xr-x 2 root root 4096 Apr 17 20:19 cost [2023-04-17T20:32:29.215Z] -rw-r--r-- 1 root root 85 Apr 17 20:19 cost.csv [2023-04-17T20:32:29.215Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-17T20:32:29.215Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-17T20:32:29.215Z] total 16 [2023-04-17T20:32:29.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:19 . [2023-04-17T20:32:29.215Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:32 .. [2023-04-17T20:32:29.215Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:19 cost [2023-04-17T20:32:29.215Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 17 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:29.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:30.370Z] ---> package-listing.sh [2023-04-17T20:32:30.370Z] ++ facter osfamily [2023-04-17T20:32:30.370Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T20:32:30.636Z] + OS_FAMILY=debian [2023-04-17T20:32:30.636Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-17T20:32:30.636Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:30.636Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:30.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T20:32:30.636Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:30.636Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-17T20:32:30.636Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:30.636Z] + case "${OS_FAMILY}" in [2023-04-17T20:32:30.636Z] + dpkg -l [2023-04-17T20:32:30.636Z] + grep '^ii' [2023-04-17T20:32:30.636Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T20:32:30.636Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T20:32:30.636Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T20:32:30.636Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-17T20:32:30.636Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-17T20:32:30.636Z] + 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-04-17T20:32:30.647Z] 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-04-17T20:32:30.926Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:31.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:32:31.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:31.560Z] prd-ubuntu20.04-docker-8c-8g-8778 does not seem to be running inside a container [2023-04-17T20:32:31.587Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T20:32:31.768Z] $ docker top 7a27bc614c50f90a6c9093500faec6ea5e7015f47886f01edb54fe7d3af30f86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:32:32.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T20:32:32.400Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T20:32:32.684Z] + ls /var/log/sa-host [2023-04-17T20:32:32.684Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:32:32.744Z] provisioning config files... [2023-04-17T20:32:32.752Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4706514713882165738tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:32:32.766Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:33.045Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T20:32:33.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:33.461Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T20:32:33.472Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:33.785Z] ---> sudo-logs.sh [2023-04-17T20:32:33.785Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T20:32:33.812Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:34.092Z] ---> job-cost.sh [2023-04-17T20:32:34.092Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:34.092Z] DEBUG: total: 0.2199999988079071 [2023-04-17T20:32:34.092Z] INFO: Retrieving Stack Cost... [2023-04-17T20:32:34.351Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:32:34.920Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T20:32:34.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:35.213Z] ---> logs-deploy.sh [2023-04-17T20:32:35.213Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:35.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/70 [2023-04-17T20:32:35.213Z] INFO: archiving workspace using pattern(s): [2023-04-17T20:32:36.149Z] Archives upload complete. [2023-04-17T20:32:36.149Z] INFO: archiving logs to Nexus