Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b749e223b2711b185c15c0ba4cea8b5d0d469184 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-ssh17430898784149501835.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-ssh1181400531672521749.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-ssh13147610490719476233.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-ssh16452942095590025686.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-ssh16499680560672240011.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9069 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 b749e223b2711b185c15c0ba4cea8b5d0d469184 (main) Commit message: "Merge pull request #289 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71" > 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 b749e223b2711b185c15c0ba4cea8b5d0d469184 # timeout=10 > git rev-list --no-walk 9516c9f86bfab3f780b93b970f8360439339a3f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T06:57:34.137Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T06:57:34.185Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T06:57:34.200Z] ========================================================= [2023-04-19T06:57:34.200Z] EdgeX Global Pipelines Version Info [2023-04-19T06:57:34.200Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T06:57:34.982Z] ------------------- [2023-04-19T06:57:34.982Z] stable info: [2023-04-19T06:57:34.982Z] ------------------- [2023-04-19T06:57:34.982Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T06:57:34.982Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T06:57:34.982Z] Message: update stable to v1.0.248 [2023-04-19T06:57:35.551Z] ------------------- [2023-04-19T06:57:35.551Z] experimental info: [2023-04-19T06:57:35.551Z] ------------------- [2023-04-19T06:57:35.551Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T06:57:35.551Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T06:57:35.551Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T06:57:35.746Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-19T06:57:35.761Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-19T06:57:35.777Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T06:57:35.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T06:57:35.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T06:57:35.830Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T06:57:35.845Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T06:57:35.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T06:57:35.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T06:57:35.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T06:57:35.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T06:57:35.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-19T06:57:35.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T06:57:35.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T06:57:35.961Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T06:57:35.976Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T06:57:35.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T06:57:36.007Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T06:57:36.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T06:57:36.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T06:57:36.054Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-19T06:57:36.069Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-19T06:57:36.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T06:57:36.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T06:57:36.116Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T06:57:36.130Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T06:57:36.144Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T06:57:36.158Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-19T06:57:36.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-19T06:57:36.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-19T06:57:36.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] echo [2023-04-19T06:57:36.227Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b749e22 [Pipeline] echo [2023-04-19T06:57:36.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T06:57:36.292Z] provisioning config files... [2023-04-19T06:57:36.304Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1527293107395161058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T06:57:36.599Z] ---> docker-login.sh [2023-04-19T06:57:36.599Z] nexus3.edgexfoundry.org:10001 [2023-04-19T06:57:36.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:36.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:36.858Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:36.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:36.858Z] [2023-04-19T06:57:36.858Z] Login Succeeded [2023-04-19T06:57:37.117Z] nexus3.edgexfoundry.org:10002 [2023-04-19T06:57:37.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:37.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:37.117Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:37.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:37.117Z] [2023-04-19T06:57:37.117Z] Login Succeeded [2023-04-19T06:57:37.117Z] nexus3.edgexfoundry.org:10003 [2023-04-19T06:57:37.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:37.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:37.117Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:37.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:37.117Z] [2023-04-19T06:57:37.117Z] Login Succeeded [2023-04-19T06:57:37.117Z] nexus3.edgexfoundry.org:10004 [2023-04-19T06:57:37.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:37.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:37.376Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:37.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:37.376Z] [2023-04-19T06:57:37.376Z] Login Succeeded [2023-04-19T06:57:37.376Z] docker.io [2023-04-19T06:57:37.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:37.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:37.635Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:37.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:37.635Z] [2023-04-19T06:57:37.635Z] Login Succeeded [2023-04-19T06:57:37.635Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T06:57:37.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T06:57:38.032Z] + git rev-list -1 --merges b749e223b2711b185c15c0ba4cea8b5d0d469184~1..b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] echo [2023-04-19T06:57:38.075Z] -----------> git rev-list -1 --merges b749e223b2711b185c15c0ba4cea8b5d0d469184~1..b749e223b2711b185c15c0ba4cea8b5d0d469184 b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T06:57:38.075Z] b749e223b2711b185c15c0ba4cea8b5d0d469184 [false] [Pipeline] sh [2023-04-19T06:57:38.388Z] + git log --format=format:%s -1 b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] echo [2023-04-19T06:57:38.420Z] ========================================================= [2023-04-19T06:57:38.420Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T06:57:38.420Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T06:57:38.739Z] + git log --format=format:%s -1 b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] echo [2023-04-19T06:57:38.749Z] [semverPrep] GIT_COMMIT: b749e223b2711b185c15c0ba4cea8b5d0d469184, Commit Message: Merge pull request #289 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71 [Pipeline] echo [2023-04-19T06:57:38.757Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T06:57:39.138Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T06:57:39.139Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T06:57:39.139Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T06:57:39.139Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T06:57:39.139Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T06:57:39.139Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T06:57:39.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:57:39.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T06:57:39.606Z] [2023-04-19T06:57:39.607Z] 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-19T06:57:39.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T06:57:39.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T06:57:39.906Z] b85a868b505f: Pulling fs layer [2023-04-19T06:57:39.906Z] e2be974225ed: Pulling fs layer [2023-04-19T06:57:39.906Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T06:57:39.906Z] 988bab9f4d93: Pulling fs layer [2023-04-19T06:57:39.906Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T06:57:39.906Z] eaf3925da568: Pulling fs layer [2023-04-19T06:57:39.906Z] bab4dde63d76: Pulling fs layer [2023-04-19T06:57:39.906Z] bde34c3a00c8: Pulling fs layer [2023-04-19T06:57:39.906Z] b352a97aabf1: Pulling fs layer [2023-04-19T06:57:39.906Z] 4872d77fe225: Pulling fs layer [2023-04-19T06:57:39.906Z] 5851b861e8e6: Pulling fs layer [2023-04-19T06:57:39.906Z] 988bab9f4d93: Waiting [2023-04-19T06:57:39.906Z] bab4dde63d76: Waiting [2023-04-19T06:57:39.906Z] bde34c3a00c8: Waiting [2023-04-19T06:57:39.906Z] 4872d77fe225: Waiting [2023-04-19T06:57:39.906Z] b352a97aabf1: Waiting [2023-04-19T06:57:39.906Z] 1469e6f7b9e6: Waiting [2023-04-19T06:57:39.906Z] 5851b861e8e6: Waiting [2023-04-19T06:57:39.906Z] eaf3925da568: Waiting [2023-04-19T06:57:39.906Z] e2be974225ed: Download complete [2023-04-19T06:57:39.906Z] 988bab9f4d93: Download complete [2023-04-19T06:57:39.906Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T06:57:39.906Z] 339a4e72a1f5: Download complete [2023-04-19T06:57:39.906Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T06:57:39.906Z] 1469e6f7b9e6: Download complete [2023-04-19T06:57:40.165Z] eaf3925da568: Download complete [2023-04-19T06:57:40.165Z] bde34c3a00c8: Verifying Checksum [2023-04-19T06:57:40.165Z] bde34c3a00c8: Download complete [2023-04-19T06:57:40.165Z] b352a97aabf1: Download complete [2023-04-19T06:57:40.165Z] 4872d77fe225: Verifying Checksum [2023-04-19T06:57:40.165Z] 4872d77fe225: Download complete [2023-04-19T06:57:40.165Z] 5851b861e8e6: Download complete [2023-04-19T06:57:40.165Z] b85a868b505f: Verifying Checksum [2023-04-19T06:57:40.165Z] b85a868b505f: Download complete [2023-04-19T06:57:40.425Z] bab4dde63d76: Verifying Checksum [2023-04-19T06:57:40.425Z] bab4dde63d76: Download complete [2023-04-19T06:57:41.363Z] b85a868b505f: Pull complete [2023-04-19T06:57:41.363Z] e2be974225ed: Pull complete [2023-04-19T06:57:41.933Z] 339a4e72a1f5: Pull complete [2023-04-19T06:57:41.933Z] 988bab9f4d93: Pull complete [2023-04-19T06:57:42.199Z] 1469e6f7b9e6: Pull complete [2023-04-19T06:57:42.461Z] eaf3925da568: Pull complete [2023-04-19T06:57:44.369Z] bab4dde63d76: Pull complete [2023-04-19T06:57:44.369Z] bde34c3a00c8: Pull complete [2023-04-19T06:57:44.369Z] b352a97aabf1: Pull complete [2023-04-19T06:57:44.369Z] 4872d77fe225: Pull complete [2023-04-19T06:57:44.628Z] 5851b861e8e6: Pull complete [2023-04-19T06:57:44.628Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T06:57:44.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T06:57:44.628Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T06:57:44.728Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T06:57:44.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-19T06:57:47.040Z] $ docker top 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 -eo pid,comm [2023-04-19T06:57:47.094Z] 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-19T06:57:47.094Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T06:57:47.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T06:57:47.149Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T06:57:47.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T06:57:47.266Z] $ docker exec 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 ssh-agent [2023-04-19T06:57:47.359Z] SSH_AUTH_SOCK=/tmp/ssh-751rRByecMT8/agent.32 [2023-04-19T06:57:47.359Z] SSH_AGENT_PID=38 [2023-04-19T06:57:47.366Z] Running ssh-add (command line suppressed) [2023-04-19T06:57:47.466Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10986223790296311631.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10986223790296311631.key) [2023-04-19T06:57:47.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T06:57:47.768Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T06:57:47.791Z] $ docker exec --env ******** --env ******** 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 ssh-agent -k [2023-04-19T06:57:47.894Z] unset SSH_AUTH_SOCK; [2023-04-19T06:57:47.894Z] unset SSH_AGENT_PID; [2023-04-19T06:57:47.894Z] echo Agent pid 38 killed; [2023-04-19T06:57:47.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T06:57:47.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T06:57:47.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T06:57:48.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T06:57:48.060Z] $ docker exec 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 ssh-agent [2023-04-19T06:57:48.161Z] SSH_AUTH_SOCK=/tmp/ssh-Bv97WXSs42Mc/agent.70 [2023-04-19T06:57:48.161Z] SSH_AGENT_PID=76 [2023-04-19T06:57:48.166Z] Running ssh-add (command line suppressed) [2023-04-19T06:57:48.282Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12928466442252631563.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12928466442252631563.key) [2023-04-19T06:57:48.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T06:57:48.588Z] + git semver init [2023-04-19T06:57:48.848Z] 2023-04-19 06:57:48,805 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T06:57:48.848Z] 2023-04-19 06:57:48,806 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-19T06:57:48.848Z] 2023-04-19 06:57:48,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-19T06:57:48.848Z] 2023-04-19 06:57:48,807 [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-19T06:57:49.786Z] 2023-04-19 06:57:49,560 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-19T06:57:49.786Z] 2023-04-19 06:57:49,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-19T06:57:49.786Z] 2023-04-19 06:57:49,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T06:57:49.786Z] 2023-04-19 06:57:49,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T06:57:49.786Z] 3.0.0-dev.15 [Pipeline] } [2023-04-19T06:57:49.800Z] $ docker exec --env ******** --env ******** 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 ssh-agent -k [2023-04-19T06:57:49.901Z] unset SSH_AUTH_SOCK; [2023-04-19T06:57:49.902Z] unset SSH_AGENT_PID; [2023-04-19T06:57:49.902Z] echo Agent pid 76 killed; [2023-04-19T06:57:49.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T06:57:50.210Z] + git semver [Pipeline] } [2023-04-19T06:57:50.488Z] $ docker stop --time=1 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 [2023-04-19T06:57:51.792Z] $ docker rm -f --volumes 6f0810ccc252caff80f25bd6b899f7d7bda1e89208af988f3d3913ce17bf1b51 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T06:57:52.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T06:57:52.335Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T06:57:52.338Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.15 [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-19T06:57:52.450Z] provisioning config files... [2023-04-19T06:57:52.460Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3515657470388716417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T06:57:52.757Z] ---> docker-login.sh [2023-04-19T06:57:52.757Z] nexus3.edgexfoundry.org:10001 [2023-04-19T06:57:52.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:52.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:52.757Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:52.757Z] [2023-04-19T06:57:52.757Z] Login Succeeded [2023-04-19T06:57:52.757Z] nexus3.edgexfoundry.org:10002 [2023-04-19T06:57:52.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:52.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:52.757Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:52.757Z] [2023-04-19T06:57:52.757Z] Login Succeeded [2023-04-19T06:57:52.757Z] nexus3.edgexfoundry.org:10003 [2023-04-19T06:57:53.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:53.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:53.015Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:53.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:53.015Z] [2023-04-19T06:57:53.015Z] Login Succeeded [2023-04-19T06:57:53.015Z] nexus3.edgexfoundry.org:10004 [2023-04-19T06:57:53.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:53.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:53.015Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:53.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:53.015Z] [2023-04-19T06:57:53.015Z] Login Succeeded [2023-04-19T06:57:53.015Z] docker.io [2023-04-19T06:57:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:57:53.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:57:53.273Z] Configure a credential helper to remove this warning. See [2023-04-19T06:57:53.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:57:53.273Z] [2023-04-19T06:57:53.273Z] Login Succeeded [2023-04-19T06:57:53.273Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T06:57:53.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T06:57:53.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T06:57:53.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T06:57:53.363Z] ========================================================= [2023-04-19T06:57:53.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T06:57:53.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:57:53.682Z] + 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-19T06:57:53.682Z] Sending build context to Docker daemon 5.779MB [2023-04-19T06:57:53.682Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T06:57:53.682Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T06:57:53.682Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T06:57:53.682Z] 63b65145d645: Pulling fs layer [2023-04-19T06:57:53.682Z] a2d21d5440eb: Pulling fs layer [2023-04-19T06:57:53.682Z] 935e6c44a52c: Pulling fs layer [2023-04-19T06:57:53.682Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T06:57:53.682Z] 30dea6a524f1: Pulling fs layer [2023-04-19T06:57:53.682Z] a2aff8979fd8: Pulling fs layer [2023-04-19T06:57:53.682Z] 6808be2612f2: Pulling fs layer [2023-04-19T06:57:53.682Z] f25807f1079a: Pulling fs layer [2023-04-19T06:57:53.682Z] 94cc34f8dd06: Waiting [2023-04-19T06:57:53.682Z] 6808be2612f2: Waiting [2023-04-19T06:57:53.682Z] f25807f1079a: Waiting [2023-04-19T06:57:53.682Z] 30dea6a524f1: Waiting [2023-04-19T06:57:53.682Z] a2aff8979fd8: Waiting [2023-04-19T06:57:53.682Z] a2d21d5440eb: Download complete [2023-04-19T06:57:53.682Z] 94cc34f8dd06: Download complete [2023-04-19T06:57:53.940Z] 30dea6a524f1: Verifying Checksum [2023-04-19T06:57:53.940Z] 30dea6a524f1: Download complete [2023-04-19T06:57:53.940Z] 63b65145d645: Download complete [2023-04-19T06:57:53.940Z] a2aff8979fd8: Verifying Checksum [2023-04-19T06:57:53.940Z] a2aff8979fd8: Download complete [2023-04-19T06:57:53.940Z] 63b65145d645: Pull complete [2023-04-19T06:57:54.199Z] a2d21d5440eb: Pull complete [2023-04-19T06:57:54.199Z] f25807f1079a: Verifying Checksum [2023-04-19T06:57:54.199Z] f25807f1079a: Download complete [2023-04-19T06:57:54.459Z] 935e6c44a52c: Verifying Checksum [2023-04-19T06:57:54.459Z] 935e6c44a52c: Download complete [2023-04-19T06:57:54.717Z] 6808be2612f2: Verifying Checksum [2023-04-19T06:57:54.717Z] 6808be2612f2: Download complete [2023-04-19T06:57:58.002Z] 935e6c44a52c: Pull complete [2023-04-19T06:57:58.003Z] 94cc34f8dd06: Pull complete [2023-04-19T06:57:58.003Z] 30dea6a524f1: Pull complete [2023-04-19T06:57:58.262Z] a2aff8979fd8: Pull complete [2023-04-19T06:58:00.794Z] 6808be2612f2: Pull complete [2023-04-19T06:58:01.360Z] f25807f1079a: Pull complete [2023-04-19T06:58:01.360Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T06:58:01.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T06:58:01.360Z] ---> 3b553350e43f [2023-04-19T06:58:01.360Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T06:58:05.561Z] ---> Running in 047b78a3df89 [2023-04-19T06:58:05.561Z] Removing intermediate container 047b78a3df89 [2023-04-19T06:58:05.561Z] ---> 9efe4d0f80d3 [2023-04-19T06:58:05.561Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T06:58:05.561Z] ---> Running in 61d79b6427f2 [2023-04-19T06:58:05.818Z] Removing intermediate container 61d79b6427f2 [2023-04-19T06:58:05.818Z] ---> 578eb2fa521a [2023-04-19T06:58:05.818Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T06:58:05.818Z] ---> Running in 36dd9c1ead83 [2023-04-19T06:58:05.818Z] Removing intermediate container 36dd9c1ead83 [2023-04-19T06:58:05.818Z] ---> 7f605445652c [2023-04-19T06:58:05.818Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T06:58:06.076Z] ---> Running in 79710600c140 [2023-04-19T06:58:06.076Z] Removing intermediate container 79710600c140 [2023-04-19T06:58:06.076Z] ---> fa10212d62c6 [2023-04-19T06:58:06.076Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T06:58:06.076Z] ---> Running in 0984c6587388 [2023-04-19T06:58:06.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T06:58:06.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T06:58:06.591Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T06:58:06.849Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T06:58:06.849Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T06:58:06.849Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T06:58:06.849Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T06:58:06.849Z] OK: 269 MiB in 57 packages [2023-04-19T06:58:07.416Z] Still waiting to schedule task [2023-04-19T06:58:07.416Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-19T06:58:07.785Z] Removing intermediate container 0984c6587388 [2023-04-19T06:58:07.785Z] ---> 4a28fdb3aae2 [2023-04-19T06:58:07.785Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-19T06:58:07.785Z] ---> Running in e23be0ebcf31 [2023-04-19T06:58:07.785Z] Removing intermediate container e23be0ebcf31 [2023-04-19T06:58:07.785Z] ---> 249e7fd1e1ca [2023-04-19T06:58:07.785Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T06:58:07.785Z] ---> 465cb49fdfc1 [2023-04-19T06:58:07.786Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T06:58:08.043Z] ---> Running in 49ffe3f6ac6e [2023-04-19T06:58:54.894Z] Removing intermediate container 49ffe3f6ac6e [2023-04-19T06:58:54.894Z] ---> ff5500b8ab90 [2023-04-19T06:58:54.894Z] Step 11/12 : COPY . . [2023-04-19T06:58:54.894Z] ---> 48815c2581f9 [2023-04-19T06:58:54.894Z] Step 12/12 : RUN ${MAKE} [2023-04-19T06:58:54.894Z] ---> Running in 30b0330f5d4b [2023-04-19T06:58:54.894Z] noop [2023-04-19T06:58:54.894Z] Removing intermediate container 30b0330f5d4b [2023-04-19T06:58:54.894Z] ---> 6a689b03099e [2023-04-19T06:58:54.894Z] Successfully built 6a689b03099e [2023-04-19T06:58:54.895Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:58:55.211Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T06:58:55.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T06:58:55.320Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T06:58:55.360Z] $ 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-19T06:58:55.720Z] $ docker top 645f002c1e5b418424dfb19e7717f80c1534808cc283bb524f2c53862822b737 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T06:58:56.064Z] + go version [2023-04-19T06:58:56.064Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T06:58:56.080Z] $ docker stop --time=1 645f002c1e5b418424dfb19e7717f80c1534808cc283bb524f2c53862822b737 [2023-04-19T06:58:57.357Z] $ docker rm -f --volumes 645f002c1e5b418424dfb19e7717f80c1534808cc283bb524f2c53862822b737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:58:57.799Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T06:58:57.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T06:58:57.874Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T06:58:57.916Z] $ 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-19T06:58:58.228Z] $ docker top bedf82bb56db223e33d547efdf434c775e2a9ef3507bf48137e719e14e1bfab7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T06:58:58.580Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-19T06:58:58.886Z] + make test [2023-04-19T06:58:58.886Z] go test ./... -coverprofile=coverage.out [2023-04-19T06:59:04.158Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-19T06:59:14.131Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-19T06:59:14.131Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2023-04-19T06:59:19.428Z] go vet ./... [2023-04-19T06:59:22.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T06:59:22.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T06:59:22.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T06:59:22.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T06:59:22.773Z] $ docker stop --time=1 bedf82bb56db223e33d547efdf434c775e2a9ef3507bf48137e719e14e1bfab7 [2023-04-19T06:59:25.849Z] $ docker rm -f --volumes bedf82bb56db223e33d547efdf434c775e2a9ef3507bf48137e719e14e1bfab7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T06:59:26.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T06:59:26.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-19T06:59:26.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T06:59:27.282Z] + ls -al . [2023-04-19T06:59:27.282Z] total 172 [2023-04-19T06:59:27.282Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 06:58 . [2023-04-19T06:59:27.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:57 .. [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 06:57 .dockerignore [2023-04-19T06:59:27.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 06:57 .git [2023-04-19T06:59:27.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:57 .github [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 19 06:57 .gitignore [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 06:57 .golangci.yml [2023-04-19T06:59:27.282Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 06:57 .semver [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 19 06:57 Attribution.txt [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 19 06:57 CHANGELOG.md [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 19 06:57 Dockerfile [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 06:57 GOVERNANCE.md [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 06:57 Jenkinsfile [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 06:57 LICENSE [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 19 06:57 Makefile [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 06:57 OWNERS.md [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 19 06:57 README.md [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 19 06:57 VERSION [2023-04-19T06:59:27.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 06:57 bin [2023-04-19T06:59:27.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:57 cmd [2023-04-19T06:59:27.282Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 06:59 coverage.out [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 19 06:57 go.mod [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 19 06:57 go.sum [2023-04-19T06:59:27.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:57 internal [2023-04-19T06:59:27.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:57 snap [2023-04-19T06:59:27.282Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 06:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:27.592Z] + 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=b749e223b2711b185c15c0ba4cea8b5d0d469184 --label arch=amd64 --label version=3.0.0-dev.15 . [2023-04-19T06:59:27.592Z] Sending build context to Docker daemon 5.789MB [2023-04-19T06:59:27.592Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T06:59:27.592Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T06:59:27.592Z] ---> 6a689b03099e [2023-04-19T06:59:27.592Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T06:59:27.854Z] ---> Running in 2dae7b17845a [2023-04-19T06:59:27.854Z] Removing intermediate container 2dae7b17845a [2023-04-19T06:59:27.854Z] ---> cc66ae57ee3e [2023-04-19T06:59:27.854Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T06:59:27.854Z] ---> Running in 197db7f77061 [2023-04-19T06:59:27.854Z] Removing intermediate container 197db7f77061 [2023-04-19T06:59:27.854Z] ---> 9f1cbe53ab00 [2023-04-19T06:59:27.854Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T06:59:27.854Z] ---> Running in 420004ead64d [2023-04-19T06:59:28.111Z] Removing intermediate container 420004ead64d [2023-04-19T06:59:28.111Z] ---> 061c6268d1cd [2023-04-19T06:59:28.111Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T06:59:28.111Z] ---> Running in 7ef397fb383b [2023-04-19T06:59:28.111Z] Removing intermediate container 7ef397fb383b [2023-04-19T06:59:28.111Z] ---> 74a9989aeb2c [2023-04-19T06:59:28.111Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T06:59:28.111Z] ---> Running in 64bf10ee1efa [2023-04-19T06:59:28.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T06:59:28.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T06:59:28.632Z] OK: 269 MiB in 57 packages [2023-04-19T06:59:28.890Z] Removing intermediate container 64bf10ee1efa [2023-04-19T06:59:28.890Z] ---> 2389b35978c6 [2023-04-19T06:59:28.890Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-19T06:59:29.150Z] ---> Running in 5b96e3ff46b8 [2023-04-19T06:59:29.150Z] Removing intermediate container 5b96e3ff46b8 [2023-04-19T06:59:29.150Z] ---> 9a3802606189 [2023-04-19T06:59:29.150Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T06:59:29.150Z] ---> 2298e04b756f [2023-04-19T06:59:29.150Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T06:59:29.150Z] ---> Running in 726131647fc9 [2023-04-19T06:59:30.086Z] Removing intermediate container 726131647fc9 [2023-04-19T06:59:30.086Z] ---> a0e524c3e9c9 [2023-04-19T06:59:30.086Z] Step 11/24 : COPY . . [2023-04-19T06:59:30.345Z] ---> 6cfe12fa8378 [2023-04-19T06:59:30.345Z] Step 12/24 : RUN ${MAKE} [2023-04-19T06:59:30.345Z] ---> Running in 19b71b9f32e5 [2023-04-19T06:59:30.604Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-19T06:59:46.326Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9070 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-19T06:59:46.345Z] Running in /w/workspace/device-snmp-go/72 [Pipeline] { [Pipeline] checkout [2023-04-19T06:59:46.389Z] Selected Git installation does not exist. Using Default [2023-04-19T06:59:46.389Z] The recommended git tool is: NONE [2023-04-19T06:59:52.569Z] Removing intermediate container 19b71b9f32e5 [2023-04-19T06:59:52.569Z] ---> fef5f5b1beaa [2023-04-19T06:59:52.569Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T06:59:52.569Z] 3.17: Pulling from library/alpine [2023-04-19T06:59:52.569Z] f56be85fc22e: Pulling fs layer [2023-04-19T06:59:52.569Z] f56be85fc22e: Verifying Checksum [2023-04-19T06:59:52.569Z] f56be85fc22e: Download complete [2023-04-19T06:59:52.569Z] f56be85fc22e: Pull complete [2023-04-19T06:59:52.569Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T06:59:52.569Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T06:59:52.569Z] ---> 9ed4aefc74f6 [2023-04-19T06:59:52.569Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T06:59:52.569Z] ---> Running in c243201172f3 [2023-04-19T06:59:52.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T06:59:52.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T06:59:52.569Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T06:59:52.569Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T06:59:52.569Z] OK: 7 MiB in 16 packages [2023-04-19T06:59:52.569Z] Removing intermediate container c243201172f3 [2023-04-19T06:59:52.569Z] ---> d982f90dcd58 [2023-04-19T06:59:52.569Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-19T06:59:52.569Z] ---> bc642a788aa2 [2023-04-19T06:59:52.569Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-19T06:59:52.569Z] ---> d31d134cfb95 [2023-04-19T06:59:52.569Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-19T06:59:52.569Z] ---> 1c7ab3c20860 [2023-04-19T06:59:52.569Z] Step 18/24 : EXPOSE 59993 [2023-04-19T06:59:52.569Z] ---> Running in 6dd6d38d1215 [2023-04-19T06:59:52.569Z] Removing intermediate container 6dd6d38d1215 [2023-04-19T06:59:52.569Z] ---> 891c705b6a55 [2023-04-19T06:59:52.569Z] Step 19/24 : EXPOSE 161 [2023-04-19T06:59:52.569Z] ---> Running in c1dc9466cd67 [2023-04-19T06:59:52.569Z] Removing intermediate container c1dc9466cd67 [2023-04-19T06:59:52.569Z] ---> ba948b4e0f8a [2023-04-19T06:59:52.569Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-19T06:59:52.569Z] ---> Running in e8da0a6d682b [2023-04-19T06:59:52.569Z] Removing intermediate container e8da0a6d682b [2023-04-19T06:59:52.569Z] ---> 1299b576b7a6 [2023-04-19T06:59:52.569Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-19T06:59:52.569Z] ---> Running in 34265335e0e9 [2023-04-19T06:59:52.569Z] Removing intermediate container 34265335e0e9 [2023-04-19T06:59:52.569Z] ---> 2df4c64a6d74 [2023-04-19T06:59:52.569Z] Step 22/24 : LABEL arch=amd64 [2023-04-19T06:59:52.569Z] ---> Running in 29ce65b91b19 [2023-04-19T06:59:52.569Z] Removing intermediate container 29ce65b91b19 [2023-04-19T06:59:52.569Z] ---> cdef90fd39f8 [2023-04-19T06:59:52.569Z] Step 23/24 : LABEL git_sha=b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T06:59:52.569Z] ---> Running in 281b4cdff970 [2023-04-19T06:59:52.569Z] Removing intermediate container 281b4cdff970 [2023-04-19T06:59:52.569Z] ---> 065b574503b1 [2023-04-19T06:59:52.569Z] Step 24/24 : LABEL version=3.0.0-dev.15 [2023-04-19T06:59:52.569Z] ---> Running in d9c2961507ed [2023-04-19T06:59:52.569Z] Removing intermediate container d9c2961507ed [2023-04-19T06:59:52.569Z] ---> 865d09fde3bb [2023-04-19T06:59:52.569Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T06:59:52.569Z] Successfully built 865d09fde3bb [2023-04-19T06:59:52.569Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-04-19T06:59:52.713Z] using credential edgex-jenkins-ssh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T06:59:52.789Z] provisioning config files... [2023-04-19T06:59:52.826Z] Cloning the remote Git repository [2023-04-19T06:59:52.856Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7733079623043828445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T06:59:53.269Z] ---> docker-login.sh [2023-04-19T06:59:53.269Z] nexus3.edgexfoundry.org:10001 [2023-04-19T06:59:53.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:59:53.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:59:53.270Z] Configure a credential helper to remove this warning. See [2023-04-19T06:59:53.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:59:53.270Z] [2023-04-19T06:59:53.270Z] Login Succeeded [2023-04-19T06:59:53.270Z] nexus3.edgexfoundry.org:10002 [2023-04-19T06:59:53.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:59:53.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:59:53.270Z] Configure a credential helper to remove this warning. See [2023-04-19T06:59:53.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:59:53.270Z] [2023-04-19T06:59:53.270Z] Login Succeeded [2023-04-19T06:59:53.270Z] nexus3.edgexfoundry.org:10003 [2023-04-19T06:59:53.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:59:53.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:59:53.530Z] Configure a credential helper to remove this warning. See [2023-04-19T06:59:53.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:59:53.530Z] [2023-04-19T06:59:53.530Z] Login Succeeded [2023-04-19T06:59:53.530Z] nexus3.edgexfoundry.org:10004 [2023-04-19T06:59:53.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:59:53.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:59:53.530Z] Configure a credential helper to remove this warning. See [2023-04-19T06:59:53.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:59:53.530Z] [2023-04-19T06:59:53.530Z] Login Succeeded [2023-04-19T06:59:53.530Z] docker.io [2023-04-19T06:59:53.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T06:59:53.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T06:59:53.789Z] Configure a credential helper to remove this warning. See [2023-04-19T06:59:53.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T06:59:53.789Z] [2023-04-19T06:59:53.789Z] Login Succeeded [2023-04-19T06:59:53.789Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T06:59:53.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-19T06:59:53.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T06:59:53.909Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-19T06:59:53.909Z] b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T06:59:53.909Z] latest [2023-04-19T06:59:53.909Z] 3.0.0-dev.15 [2023-04-19T06:59:53.909Z] b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T06:59:53.909Z] main [2023-04-19T06:59:53.909Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [2023-04-19T06:59:52.880Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-19T06:59:53.019Z] > git init /w/workspace/device-snmp-go/72 # timeout=10 [2023-04-19T06:59:53.160Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-19T06:59:53.161Z] > git --version # timeout=10 [2023-04-19T06:59:53.181Z] > git --version # 'git version 2.25.1' [2023-04-19T06:59:53.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T06:59:53.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:54.325Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:54.643Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T06:59:54.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-19T06:59:54.643Z] f07f411c4a6a: Preparing [2023-04-19T06:59:54.643Z] 7939b1dba106: Preparing [2023-04-19T06:59:54.643Z] 748285123723: Preparing [2023-04-19T06:59:54.643Z] 6494c495c44a: Preparing [2023-04-19T06:59:54.643Z] f1417ff83b31: Preparing [2023-04-19T06:59:54.643Z] f1417ff83b31: Layer already exists [2023-04-19T06:59:54.643Z] 7939b1dba106: Pushed [2023-04-19T06:59:54.643Z] 6494c495c44a: Pushed [2023-04-19T06:59:54.643Z] f07f411c4a6a: Pushed [2023-04-19T06:59:55.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-19T06:59:56.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T06:59:56.987Z] Avoid second fetch [2023-04-19T06:59:56.988Z] Checking out Revision b749e223b2711b185c15c0ba4cea8b5d0d469184 (main) [2023-04-19T06:59:57.176Z] 748285123723: Pushed [2023-04-19T06:59:57.435Z] b749e223b2711b185c15c0ba4cea8b5d0d469184: digest: sha256:9a7c853609acd4a49d2cdfa3e9b381246706ae94469ca2f7fac8fdd8a9af36be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:57.606Z] Commit message: "Merge pull request #289 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71" [2023-04-19T06:59:57.763Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:58.132Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-19T06:59:58.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-19T06:59:58.132Z] f07f411c4a6a: Preparing [2023-04-19T06:59:58.132Z] 7939b1dba106: Preparing [2023-04-19T06:59:58.132Z] 748285123723: Preparing [2023-04-19T06:59:58.132Z] 6494c495c44a: Preparing [2023-04-19T06:59:58.132Z] f1417ff83b31: Preparing [2023-04-19T06:59:58.132Z] 7939b1dba106: Layer already exists [2023-04-19T06:59:58.132Z] 6494c495c44a: Layer already exists [2023-04-19T06:59:58.132Z] 748285123723: Layer already exists [2023-04-19T06:59:58.132Z] f07f411c4a6a: Layer already exists [2023-04-19T06:59:58.132Z] f1417ff83b31: Layer already exists [2023-04-19T06:59:58.132Z] latest: digest: sha256:9a7c853609acd4a49d2cdfa3e9b381246706ae94469ca2f7fac8fdd8a9af36be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:57.008Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T06:59:57.078Z] > git checkout -f b749e223b2711b185c15c0ba4cea8b5d0d469184 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T06:59:58.465Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:58.758Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T06:59:58.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T06:59:58.758Z] Dload Upload Total Spent Left Speed [2023-04-19T06:59:58.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [2023-04-19T06:59:58.854Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.15 [2023-04-19T06:59:58.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-19T06:59:58.854Z] f07f411c4a6a: Preparing [2023-04-19T06:59:58.854Z] 7939b1dba106: Preparing [2023-04-19T06:59:58.854Z] 748285123723: Preparing [2023-04-19T06:59:58.854Z] 6494c495c44a: Preparing [2023-04-19T06:59:58.854Z] f1417ff83b31: Preparing [2023-04-19T06:59:58.854Z] f1417ff83b31: Layer already exists [2023-04-19T06:59:58.854Z] 748285123723: Layer already exists [2023-04-19T06:59:58.854Z] 7939b1dba106: Layer already exists [2023-04-19T06:59:58.854Z] 6494c495c44a: Layer already exists [2023-04-19T06:59:58.854Z] f07f411c4a6a: Layer already exists [2023-04-19T06:59:58.854Z] 3.0.0-dev.15: digest: sha256:9a7c853609acd4a49d2cdfa3e9b381246706ae94469ca2f7fac8fdd8a9af36be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-04-19T06:59:59.226Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:59.393Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T06:59:59.578Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T06:59:59.578Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-19T06:59:59.578Z] f07f411c4a6a: Preparing [2023-04-19T06:59:59.578Z] 7939b1dba106: Preparing [2023-04-19T06:59:59.578Z] 748285123723: Preparing [2023-04-19T06:59:59.578Z] 6494c495c44a: Preparing [2023-04-19T06:59:59.578Z] f1417ff83b31: Preparing [2023-04-19T06:59:59.578Z] 7939b1dba106: Layer already exists [2023-04-19T06:59:59.578Z] 748285123723: Layer already exists [2023-04-19T06:59:59.578Z] f07f411c4a6a: Layer already exists [2023-04-19T06:59:59.578Z] 6494c495c44a: Layer already exists [2023-04-19T06:59:59.578Z] f1417ff83b31: Layer already exists [2023-04-19T06:59:59.578Z] b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15: digest: sha256:9a7c853609acd4a49d2cdfa3e9b381246706ae94469ca2f7fac8fdd8a9af36be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T06:59:59.738Z] + sudo tee /etc/docker/daemon.new [2023-04-19T06:59:59.738Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T06:59:59.738Z] { [2023-04-19T06:59:59.738Z] "registry-mirrors": [ [2023-04-19T06:59:59.738Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T06:59:59.738Z] ], [2023-04-19T06:59:59.738Z] "bip": "10.250.0.254/24", [2023-04-19T06:59:59.738Z] "hosts": [ [2023-04-19T06:59:59.738Z] "tcp://0.0.0.0:5555", [2023-04-19T06:59:59.738Z] "unix:///var/run/docker.sock" [2023-04-19T06:59:59.738Z] ], [2023-04-19T06:59:59.738Z] "mtu": 1458, [2023-04-19T06:59:59.738Z] "selinux-enabled": true, [2023-04-19T06:59:59.738Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T06:59:59.738Z] } [Pipeline] sh [2023-04-19T06:59:59.922Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:00:00.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T07:00:00.280Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-19T07:00:00.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-19T07:00:00.280Z] f07f411c4a6a: Preparing [2023-04-19T07:00:00.280Z] 7939b1dba106: Preparing [2023-04-19T07:00:00.280Z] 748285123723: Preparing [2023-04-19T07:00:00.280Z] 6494c495c44a: Preparing [2023-04-19T07:00:00.280Z] f1417ff83b31: Preparing [2023-04-19T07:00:00.280Z] 748285123723: Layer already exists [2023-04-19T07:00:00.280Z] f1417ff83b31: Layer already exists [2023-04-19T07:00:00.280Z] 6494c495c44a: Layer already exists [2023-04-19T07:00:00.280Z] 7939b1dba106: Layer already exists [2023-04-19T07:00:00.280Z] f07f411c4a6a: Layer already exists [2023-04-19T07:00:00.280Z] main: digest: sha256:9a7c853609acd4a49d2cdfa3e9b381246706ae94469ca2f7fac8fdd8a9af36be size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-19T07:00:00.370Z] ===================================================== [Pipeline] echo [2023-04-19T07:00:00.400Z] taggedImages: [2023-04-19T07:00:00.400Z] - nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T07:00:00.400Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-19T07:00:00.400Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.15 [2023-04-19T07:00:00.400Z] - nexus3.edgexfoundry.org:10004/device-snmp:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T07:00:00.401Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [2023-04-19T07:00:00.452Z] + sudo service docker restart [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-19T07:00:00.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T07:00:00.860Z] [2023-04-19T07:00:00.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:00:01.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T07:00:01.172Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T07:00:01.172Z] 5eb5b503b376: Pulling fs layer [2023-04-19T07:00:01.172Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T07:00:01.172Z] ec43610c2a17: Pulling fs layer [2023-04-19T07:00:01.172Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T07:00:01.172Z] 33b1e0a273af: Pulling fs layer [2023-04-19T07:00:01.172Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T07:00:01.172Z] 2f39f015ded8: Pulling fs layer [2023-04-19T07:00:01.172Z] 33b1e0a273af: Waiting [2023-04-19T07:00:01.172Z] 5d3b04190fa2: Waiting [2023-04-19T07:00:01.172Z] 2f39f015ded8: Waiting [2023-04-19T07:00:01.172Z] 3a2ae6a8a46f: Waiting [2023-04-19T07:00:01.172Z] 5c69ac0246d0: Verifying Checksum [2023-04-19T07:00:01.172Z] 5c69ac0246d0: Download complete [2023-04-19T07:00:01.172Z] 3a2ae6a8a46f: Download complete [2023-04-19T07:00:01.430Z] 33b1e0a273af: Verifying Checksum [2023-04-19T07:00:01.430Z] 33b1e0a273af: Download complete [2023-04-19T07:00:01.430Z] 5d3b04190fa2: Verifying Checksum [2023-04-19T07:00:01.430Z] 5d3b04190fa2: Download complete [2023-04-19T07:00:01.430Z] ec43610c2a17: Verifying Checksum [2023-04-19T07:00:01.430Z] ec43610c2a17: Download complete [2023-04-19T07:00:02.031Z] 5eb5b503b376: Verifying Checksum [2023-04-19T07:00:02.031Z] 5eb5b503b376: Download complete [2023-04-19T07:00:02.598Z] 2f39f015ded8: Download complete [2023-04-19T07:00:03.180Z] 5eb5b503b376: Pull complete [2023-04-19T07:00:03.180Z] 5c69ac0246d0: Pull complete [2023-04-19T07:00:03.765Z] ec43610c2a17: Pull complete [2023-04-19T07:00:03.765Z] 3a2ae6a8a46f: Pull complete [2023-04-19T07:00:03.765Z] 33b1e0a273af: Pull complete [2023-04-19T07:00:04.034Z] 5d3b04190fa2: Pull complete [2023-04-19T07:00:08.233Z] 2f39f015ded8: Pull complete [2023-04-19T07:00:08.233Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T07:00:08.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T07:00:08.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:00:08.353Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:00:08.397Z] $ 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-19T07:00:12.972Z] $ docker top 486f6b912839355494721897a7d29fc91696da76dbbfc50268538bd5206d139b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:00:13.427Z] ---> job-cost.sh [2023-04-19T07:00:13.427Z] lf-activate-venv: SKIPPING [2023-04-19T07:00:13.427Z] INFO: No Stack... [2023-04-19T07:00:13.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T07:00:13.946Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T07:00:14.240Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-19T07:00:14.240Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T07:00:14.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [2023-04-19T07:00:14.262Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] did not exist. Created. [2023-04-19T07:00:14.263Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T07:00:14.605Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T07:00:14.636Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T07:00:14.643Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T07:00:14.667Z] $ docker stop --time=1 486f6b912839355494721897a7d29fc91696da76dbbfc50268538bd5206d139b [2023-04-19T07:00:15.810Z] $ docker rm -f --volumes 486f6b912839355494721897a7d29fc91696da76dbbfc50268538bd5206d139b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T07:00:18.891Z] provisioning config files... [2023-04-19T07:00:18.917Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/72@tmp/config17822598978019989531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:00:19.273Z] ---> docker-login.sh [2023-04-19T07:00:19.273Z] nexus3.edgexfoundry.org:10001 [2023-04-19T07:00:19.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:00:19.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:00:19.826Z] Configure a credential helper to remove this warning. See [2023-04-19T07:00:19.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:00:19.826Z] [2023-04-19T07:00:19.826Z] Login Succeeded [2023-04-19T07:00:19.826Z] nexus3.edgexfoundry.org:10002 [2023-04-19T07:00:20.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:00:20.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:00:20.102Z] Configure a credential helper to remove this warning. See [2023-04-19T07:00:20.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:00:20.102Z] [2023-04-19T07:00:20.102Z] Login Succeeded [2023-04-19T07:00:20.102Z] nexus3.edgexfoundry.org:10003 [2023-04-19T07:00:20.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:00:20.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:00:20.650Z] Configure a credential helper to remove this warning. See [2023-04-19T07:00:20.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:00:20.650Z] [2023-04-19T07:00:20.650Z] Login Succeeded [2023-04-19T07:00:20.650Z] nexus3.edgexfoundry.org:10004 [2023-04-19T07:00:20.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:00:20.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:00:20.922Z] Configure a credential helper to remove this warning. See [2023-04-19T07:00:20.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:00:20.922Z] [2023-04-19T07:00:20.922Z] Login Succeeded [2023-04-19T07:00:20.923Z] docker.io [2023-04-19T07:00:21.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:00:21.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:00:21.464Z] Configure a credential helper to remove this warning. See [2023-04-19T07:00:21.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:00:21.464Z] [2023-04-19T07:00:21.464Z] Login Succeeded [2023-04-19T07:00:21.464Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T07:00:21.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T07:00:21.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T07:00:21.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T07:00:21.826Z] ========================================================= [2023-04-19T07:00:21.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T07:00:21.826Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:00:22.210Z] + 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-19T07:00:22.480Z] Sending build context to Docker daemon 2.991MB [2023-04-19T07:00:22.480Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T07:00:22.480Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T07:00:23.066Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T07:00:23.066Z] af6eaf76a39c: Pulling fs layer [2023-04-19T07:00:23.066Z] 55522c791124: Pulling fs layer [2023-04-19T07:00:23.066Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T07:00:23.066Z] 169dfbe0d373: Pulling fs layer [2023-04-19T07:00:23.066Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T07:00:23.066Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T07:00:23.066Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T07:00:23.066Z] 169dfbe0d373: Waiting [2023-04-19T07:00:23.066Z] e1ff8fa3b103: Waiting [2023-04-19T07:00:23.066Z] 52ebb69f0ebf: Waiting [2023-04-19T07:00:23.066Z] 5abe8eddf0d5: Waiting [2023-04-19T07:00:23.066Z] 55522c791124: Verifying Checksum [2023-04-19T07:00:23.066Z] 55522c791124: Download complete [2023-04-19T07:00:23.066Z] 169dfbe0d373: Verifying Checksum [2023-04-19T07:00:23.066Z] 169dfbe0d373: Download complete [2023-04-19T07:00:23.066Z] e1ff8fa3b103: Verifying Checksum [2023-04-19T07:00:23.066Z] e1ff8fa3b103: Download complete [2023-04-19T07:00:23.066Z] af6eaf76a39c: Download complete [2023-04-19T07:00:24.041Z] af6eaf76a39c: Pull complete [2023-04-19T07:00:24.041Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T07:00:24.041Z] 5abe8eddf0d5: Download complete [2023-04-19T07:00:24.641Z] 55522c791124: Pull complete [2023-04-19T07:00:25.609Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T07:00:25.609Z] ce5c4a1c91eb: Download complete [2023-04-19T07:00:25.609Z] 52ebb69f0ebf: Verifying Checksum [2023-04-19T07:00:25.609Z] 52ebb69f0ebf: Download complete [2023-04-19T07:00:35.734Z] ce5c4a1c91eb: Pull complete [2023-04-19T07:00:36.015Z] 169dfbe0d373: Pull complete [2023-04-19T07:00:36.297Z] e1ff8fa3b103: Pull complete [2023-04-19T07:00:42.992Z] 52ebb69f0ebf: Pull complete [2023-04-19T07:00:44.427Z] 5abe8eddf0d5: Pull complete [2023-04-19T07:00:44.427Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T07:00:44.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T07:00:44.695Z] ---> 6cb57ee374ae [2023-04-19T07:00:44.695Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T07:00:46.678Z] ---> Running in b8ee9646266a [2023-04-19T07:00:46.678Z] Removing intermediate container b8ee9646266a [2023-04-19T07:00:46.678Z] ---> 80d750602aaa [2023-04-19T07:00:46.679Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T07:00:46.679Z] ---> Running in bfe25617dc23 [2023-04-19T07:00:46.948Z] Removing intermediate container bfe25617dc23 [2023-04-19T07:00:46.948Z] ---> 7d325a3e26d0 [2023-04-19T07:00:46.948Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T07:00:47.223Z] ---> Running in 6edc9b8f9269 [2023-04-19T07:00:47.495Z] Removing intermediate container 6edc9b8f9269 [2023-04-19T07:00:47.495Z] ---> 7fbe0f446a79 [2023-04-19T07:00:47.495Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T07:00:47.495Z] ---> Running in 2fb2890b89e9 [2023-04-19T07:00:47.766Z] Removing intermediate container 2fb2890b89e9 [2023-04-19T07:00:47.766Z] ---> 0e9b24718153 [2023-04-19T07:00:47.766Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T07:00:48.037Z] ---> Running in 297aa092d4b3 [2023-04-19T07:00:49.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T07:00:49.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T07:00:50.693Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T07:00:50.693Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T07:00:50.693Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T07:00:50.962Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T07:00:50.962Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T07:00:50.962Z] OK: 268 MiB in 57 packages [2023-04-19T07:00:51.951Z] Removing intermediate container 297aa092d4b3 [2023-04-19T07:00:51.951Z] ---> 9d7dea62da55 [2023-04-19T07:00:51.951Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-19T07:00:51.951Z] ---> Running in ec3750e0da7b [2023-04-19T07:00:52.218Z] Removing intermediate container ec3750e0da7b [2023-04-19T07:00:52.218Z] ---> e269555a66ea [2023-04-19T07:00:52.218Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T07:00:52.813Z] ---> b68fd1b22631 [2023-04-19T07:00:52.813Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T07:00:52.813Z] ---> Running in c7f446a4c540 [2023-04-19T07:02:00.745Z] Removing intermediate container c7f446a4c540 [2023-04-19T07:02:00.745Z] ---> 196e8a9843a0 [2023-04-19T07:02:00.745Z] Step 11/12 : COPY . . [2023-04-19T07:02:00.745Z] ---> 016cfd3903f2 [2023-04-19T07:02:00.745Z] Step 12/12 : RUN ${MAKE} [2023-04-19T07:02:00.745Z] ---> Running in 6f922556d69f [2023-04-19T07:02:00.745Z] noop [2023-04-19T07:02:00.745Z] Removing intermediate container 6f922556d69f [2023-04-19T07:02:00.745Z] ---> f8d98706b9c2 [2023-04-19T07:02:00.745Z] Successfully built f8d98706b9c2 [2023-04-19T07:02:00.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:02:01.119Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T07:02:01.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:02:01.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2023-04-19T07:02:01.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/72 -v /w/workspace/device-snmp-go/72:/w/workspace/device-snmp-go/72:rw,z -v /w/workspace/device-snmp-go/72@tmp:/w/workspace/device-snmp-go/72@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-19T07:02:02.757Z] $ docker top 4e20ab6000c3f73e13ca4b425df8e63e5f6a425b19381edadea839c84039c838 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T07:02:03.634Z] + go version [2023-04-19T07:02:03.634Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T07:02:03.663Z] $ docker stop --time=1 4e20ab6000c3f73e13ca4b425df8e63e5f6a425b19381edadea839c84039c838 [2023-04-19T07:02:06.948Z] $ docker rm -f --volumes 4e20ab6000c3f73e13ca4b425df8e63e5f6a425b19381edadea839c84039c838 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:02:07.529Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T07:02:07.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:02:07.726Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2023-04-19T07:02:07.833Z] $ 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/72 -v /w/workspace/device-snmp-go/72:/w/workspace/device-snmp-go/72:rw,z -v /w/workspace/device-snmp-go/72@tmp:/w/workspace/device-snmp-go/72@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-19T07:02:08.976Z] $ docker top 83f579a16e5227d4de3bf51616c3250c3014b9b03c86824828f50534e70f8395 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T07:02:09.813Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/72 [Pipeline] fileExists [Pipeline] sh [2023-04-19T07:02:10.468Z] + make test [2023-04-19T07:02:10.468Z] go test ./... -coverprofile=coverage.out [2023-04-19T07:02:42.742Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-19T07:04:34.426Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-19T07:04:34.426Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2023-04-19T07:04:34.426Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-19T07:04:34.426Z] go vet ./... [2023-04-19T07:05:01.102Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T07:05:01.102Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T07:05:01.102Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T07:05:01.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T07:05:01.142Z] $ docker stop --time=1 83f579a16e5227d4de3bf51616c3250c3014b9b03c86824828f50534e70f8395 [2023-04-19T07:05:02.960Z] $ docker rm -f --volumes 83f579a16e5227d4de3bf51616c3250c3014b9b03c86824828f50534e70f8395 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T07:05:04.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T07:05:04.041Z] Warning: overwriting stash ‘coverage-report’ [2023-04-19T07:05:04.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T07:05:04.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T07:05:05.197Z] + ls -al . [2023-04-19T07:05:05.197Z] total 168 [2023-04-19T07:05:05.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 07:02 . [2023-04-19T07:05:05.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:59 .. [2023-04-19T07:05:05.197Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 19 06:59 .dockerignore [2023-04-19T07:05:05.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 06:59 .git [2023-04-19T07:05:05.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:59 .github [2023-04-19T07:05:05.197Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 19 06:59 .gitignore [2023-04-19T07:05:05.197Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 06:59 .golangci.yml [2023-04-19T07:05:05.197Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 19 06:59 Attribution.txt [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 19 06:59 CHANGELOG.md [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 19 06:59 Dockerfile [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 06:59 GOVERNANCE.md [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 19 06:59 Jenkinsfile [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 06:59 LICENSE [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 19 06:59 Makefile [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 06:59 OWNERS.md [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 19 06:59 README.md [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 19 06:57 VERSION [2023-04-19T07:05:05.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 06:59 bin [2023-04-19T07:05:05.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:59 cmd [2023-04-19T07:05:05.198Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 19 07:04 coverage.out [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 19 06:59 go.mod [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 19 06:59 go.sum [2023-04-19T07:05:05.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 06:59 internal [2023-04-19T07:05:05.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 06:59 snap [2023-04-19T07:05:05.198Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 19 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:05:05.543Z] + 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=b749e223b2711b185c15c0ba4cea8b5d0d469184 --label arch=arm64 --label version=3.0.0-dev.15 . [2023-04-19T07:05:05.812Z] Sending build context to Docker daemon 3.001MB [2023-04-19T07:05:05.812Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T07:05:05.812Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T07:05:05.812Z] ---> f8d98706b9c2 [2023-04-19T07:05:05.812Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T07:05:06.081Z] ---> Running in affb8306360b [2023-04-19T07:05:06.351Z] Removing intermediate container affb8306360b [2023-04-19T07:05:06.351Z] ---> 6c7b38030c81 [2023-04-19T07:05:06.351Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T07:05:06.351Z] ---> Running in 7aca678935eb [2023-04-19T07:05:06.620Z] Removing intermediate container 7aca678935eb [2023-04-19T07:05:06.620Z] ---> 7e662c2c5c24 [2023-04-19T07:05:06.620Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T07:05:06.620Z] ---> Running in ac15e6a03cdc [2023-04-19T07:05:06.888Z] Removing intermediate container ac15e6a03cdc [2023-04-19T07:05:06.888Z] ---> 1cf6e266bb3a [2023-04-19T07:05:06.888Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T07:05:07.158Z] ---> Running in efc12a8c01b6 [2023-04-19T07:05:07.427Z] Removing intermediate container efc12a8c01b6 [2023-04-19T07:05:07.427Z] ---> e916d7989bdd [2023-04-19T07:05:07.427Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T07:05:07.427Z] ---> Running in 79a3606eb69d [2023-04-19T07:05:08.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T07:05:08.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T07:05:09.941Z] OK: 268 MiB in 57 packages [2023-04-19T07:05:10.927Z] Removing intermediate container 79a3606eb69d [2023-04-19T07:05:10.927Z] ---> 52689c358afe [2023-04-19T07:05:10.927Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-19T07:05:10.927Z] ---> Running in fc02ba35973f [2023-04-19T07:05:11.196Z] Removing intermediate container fc02ba35973f [2023-04-19T07:05:11.196Z] ---> 28b7f07a1ccd [2023-04-19T07:05:11.196Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T07:05:11.785Z] ---> f8bb43fab268 [2023-04-19T07:05:11.785Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T07:05:11.785Z] ---> Running in 211d21dc7cb5 [2023-04-19T07:05:14.376Z] Removing intermediate container 211d21dc7cb5 [2023-04-19T07:05:14.376Z] ---> 3de2d2e08ee9 [2023-04-19T07:05:14.376Z] Step 11/24 : COPY . . [2023-04-19T07:05:14.644Z] ---> 02b8e451ba9d [2023-04-19T07:05:14.644Z] Step 12/24 : RUN ${MAKE} [2023-04-19T07:05:14.910Z] ---> Running in 46b2fba9363f [2023-04-19T07:05:15.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-19T07:07:22.554Z] Removing intermediate container 46b2fba9363f [2023-04-19T07:07:22.554Z] ---> 89f1fe30ca87 [2023-04-19T07:07:22.554Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T07:07:22.554Z] 3.17: Pulling from library/alpine [2023-04-19T07:07:22.554Z] c41833b44d91: Pulling fs layer [2023-04-19T07:07:22.554Z] c41833b44d91: Download complete [2023-04-19T07:07:22.554Z] c41833b44d91: Pull complete [2023-04-19T07:07:22.554Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T07:07:22.554Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T07:07:22.554Z] ---> 51e60588ff2c [2023-04-19T07:07:22.554Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T07:07:22.554Z] ---> Running in c22fe042fef8 [2023-04-19T07:07:22.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T07:07:22.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T07:07:22.554Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T07:07:22.554Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T07:07:22.554Z] OK: 8 MiB in 16 packages [2023-04-19T07:07:22.554Z] Removing intermediate container c22fe042fef8 [2023-04-19T07:07:22.554Z] ---> 5e82b822dc8a [2023-04-19T07:07:22.554Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-19T07:07:24.493Z] ---> 68b6e0830cb9 [2023-04-19T07:07:24.493Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-19T07:07:24.767Z] ---> 4e70cc815fb4 [2023-04-19T07:07:24.767Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-19T07:07:25.350Z] ---> 1f728a6f5d3a [2023-04-19T07:07:25.350Z] Step 18/24 : EXPOSE 59993 [2023-04-19T07:07:25.350Z] ---> Running in 47240d3bcc42 [2023-04-19T07:07:25.620Z] Removing intermediate container 47240d3bcc42 [2023-04-19T07:07:25.620Z] ---> 4c79f1b89fb0 [2023-04-19T07:07:25.620Z] Step 19/24 : EXPOSE 161 [2023-04-19T07:07:25.620Z] ---> Running in 68e36753442b [2023-04-19T07:07:25.888Z] Removing intermediate container 68e36753442b [2023-04-19T07:07:25.888Z] ---> f76b06a2d800 [2023-04-19T07:07:25.888Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-19T07:07:26.159Z] ---> Running in e89e9b42d499 [2023-04-19T07:07:26.159Z] Removing intermediate container e89e9b42d499 [2023-04-19T07:07:26.159Z] ---> dd9ba812b9b9 [2023-04-19T07:07:26.159Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-19T07:07:26.428Z] ---> Running in 42685cd2cb2c [2023-04-19T07:07:26.694Z] Removing intermediate container 42685cd2cb2c [2023-04-19T07:07:26.694Z] ---> 857deec5ec7a [2023-04-19T07:07:26.694Z] Step 22/24 : LABEL arch=arm64 [2023-04-19T07:07:26.694Z] ---> Running in 8d4041696734 [2023-04-19T07:07:26.960Z] Removing intermediate container 8d4041696734 [2023-04-19T07:07:26.960Z] ---> 2a27611478d6 [2023-04-19T07:07:26.960Z] Step 23/24 : LABEL git_sha=b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T07:07:26.960Z] ---> Running in 9864f9e19bb4 [2023-04-19T07:07:27.227Z] Removing intermediate container 9864f9e19bb4 [2023-04-19T07:07:27.227Z] ---> ee9a9345ca49 [2023-04-19T07:07:27.227Z] Step 24/24 : LABEL version=3.0.0-dev.15 [2023-04-19T07:07:27.493Z] ---> Running in a043516880ac [2023-04-19T07:07:27.493Z] Removing intermediate container a043516880ac [2023-04-19T07:07:27.493Z] ---> ef2855a236e8 [2023-04-19T07:07:27.493Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T07:07:27.759Z] Successfully built ef2855a236e8 [2023-04-19T07:07:27.759Z] 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-19T07:07:27.879Z] provisioning config files... [2023-04-19T07:07:27.894Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/72@tmp/config13095603008237177478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:07:28.224Z] ---> docker-login.sh [2023-04-19T07:07:28.224Z] nexus3.edgexfoundry.org:10001 [2023-04-19T07:07:28.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:07:28.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:07:28.490Z] Configure a credential helper to remove this warning. See [2023-04-19T07:07:28.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:07:28.490Z] [2023-04-19T07:07:28.490Z] Login Succeeded [2023-04-19T07:07:28.490Z] nexus3.edgexfoundry.org:10002 [2023-04-19T07:07:28.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:07:28.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:07:28.757Z] Configure a credential helper to remove this warning. See [2023-04-19T07:07:28.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:07:28.757Z] [2023-04-19T07:07:28.757Z] Login Succeeded [2023-04-19T07:07:28.757Z] nexus3.edgexfoundry.org:10003 [2023-04-19T07:07:29.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:07:29.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:07:29.023Z] Configure a credential helper to remove this warning. See [2023-04-19T07:07:29.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:07:29.023Z] [2023-04-19T07:07:29.023Z] Login Succeeded [2023-04-19T07:07:29.290Z] nexus3.edgexfoundry.org:10004 [2023-04-19T07:07:29.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:07:29.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:07:29.558Z] Configure a credential helper to remove this warning. See [2023-04-19T07:07:29.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:07:29.558Z] [2023-04-19T07:07:29.558Z] Login Succeeded [2023-04-19T07:07:29.558Z] docker.io [2023-04-19T07:07:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T07:07:30.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T07:07:30.088Z] Configure a credential helper to remove this warning. See [2023-04-19T07:07:30.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T07:07:30.088Z] [2023-04-19T07:07:30.088Z] Login Succeeded [2023-04-19T07:07:30.088Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T07:07:30.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-19T07:07:30.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T07:07:30.157Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-19T07:07:30.157Z] b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T07:07:30.157Z] latest [2023-04-19T07:07:30.157Z] 3.0.0-dev.15 [2023-04-19T07:07:30.157Z] b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T07:07:30.157Z] main [2023-04-19T07:07:30.157Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:30.505Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:30.849Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T07:07:30.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-19T07:07:30.849Z] f1e1a9886e3b: Preparing [2023-04-19T07:07:30.849Z] d0ad10e48241: Preparing [2023-04-19T07:07:30.849Z] d20952f2ab00: Preparing [2023-04-19T07:07:30.849Z] c26c10ffb919: Preparing [2023-04-19T07:07:30.849Z] 26cbea5cba74: Preparing [2023-04-19T07:07:30.849Z] 26cbea5cba74: Layer already exists [2023-04-19T07:07:31.116Z] d0ad10e48241: Pushed [2023-04-19T07:07:31.116Z] f1e1a9886e3b: Pushed [2023-04-19T07:07:31.116Z] c26c10ffb919: Pushed [2023-04-19T07:07:36.446Z] d20952f2ab00: Pushed [2023-04-19T07:07:36.446Z] b749e223b2711b185c15c0ba4cea8b5d0d469184: digest: sha256:1c56545c179a18ae80ca14397c6a76f04c460923c7647bd6e0351a9bf42e5214 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:36.827Z] + 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-19T07:07:37.212Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-19T07:07:37.212Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-19T07:07:37.212Z] f1e1a9886e3b: Preparing [2023-04-19T07:07:37.212Z] d0ad10e48241: Preparing [2023-04-19T07:07:37.212Z] d20952f2ab00: Preparing [2023-04-19T07:07:37.212Z] c26c10ffb919: Preparing [2023-04-19T07:07:37.212Z] 26cbea5cba74: Preparing [2023-04-19T07:07:37.212Z] 26cbea5cba74: Layer already exists [2023-04-19T07:07:37.212Z] f1e1a9886e3b: Layer already exists [2023-04-19T07:07:37.212Z] d0ad10e48241: Layer already exists [2023-04-19T07:07:37.212Z] c26c10ffb919: Layer already exists [2023-04-19T07:07:37.212Z] d20952f2ab00: Layer already exists [2023-04-19T07:07:37.212Z] latest: digest: sha256:1c56545c179a18ae80ca14397c6a76f04c460923c7647bd6e0351a9bf42e5214 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:37.566Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:37.926Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.15 [2023-04-19T07:07:37.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-19T07:07:37.926Z] f1e1a9886e3b: Preparing [2023-04-19T07:07:37.926Z] d0ad10e48241: Preparing [2023-04-19T07:07:37.926Z] d20952f2ab00: Preparing [2023-04-19T07:07:37.926Z] c26c10ffb919: Preparing [2023-04-19T07:07:37.926Z] 26cbea5cba74: Preparing [2023-04-19T07:07:37.926Z] d20952f2ab00: Layer already exists [2023-04-19T07:07:37.926Z] 26cbea5cba74: Layer already exists [2023-04-19T07:07:37.926Z] c26c10ffb919: Layer already exists [2023-04-19T07:07:37.926Z] d0ad10e48241: Layer already exists [2023-04-19T07:07:37.926Z] f1e1a9886e3b: Layer already exists [2023-04-19T07:07:37.926Z] 3.0.0-dev.15: digest: sha256:1c56545c179a18ae80ca14397c6a76f04c460923c7647bd6e0351a9bf42e5214 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:38.288Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:38.626Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T07:07:38.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-19T07:07:38.626Z] f1e1a9886e3b: Preparing [2023-04-19T07:07:38.626Z] d0ad10e48241: Preparing [2023-04-19T07:07:38.626Z] d20952f2ab00: Preparing [2023-04-19T07:07:38.626Z] c26c10ffb919: Preparing [2023-04-19T07:07:38.626Z] 26cbea5cba74: Preparing [2023-04-19T07:07:38.626Z] d20952f2ab00: Layer already exists [2023-04-19T07:07:38.626Z] 26cbea5cba74: Layer already exists [2023-04-19T07:07:38.626Z] d0ad10e48241: Layer already exists [2023-04-19T07:07:38.626Z] f1e1a9886e3b: Layer already exists [2023-04-19T07:07:38.626Z] c26c10ffb919: Layer already exists [2023-04-19T07:07:38.626Z] b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15: digest: sha256:1c56545c179a18ae80ca14397c6a76f04c460923c7647bd6e0351a9bf42e5214 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:38.967Z] + 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-19T07:07:39.304Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-19T07:07:39.304Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-19T07:07:39.304Z] f1e1a9886e3b: Preparing [2023-04-19T07:07:39.304Z] d0ad10e48241: Preparing [2023-04-19T07:07:39.304Z] d20952f2ab00: Preparing [2023-04-19T07:07:39.304Z] c26c10ffb919: Preparing [2023-04-19T07:07:39.304Z] 26cbea5cba74: Preparing [2023-04-19T07:07:39.304Z] d0ad10e48241: Layer already exists [2023-04-19T07:07:39.304Z] 26cbea5cba74: Layer already exists [2023-04-19T07:07:39.304Z] f1e1a9886e3b: Layer already exists [2023-04-19T07:07:39.304Z] c26c10ffb919: Layer already exists [2023-04-19T07:07:39.304Z] d20952f2ab00: Layer already exists [2023-04-19T07:07:39.304Z] main: digest: sha256:1c56545c179a18ae80ca14397c6a76f04c460923c7647bd6e0351a9bf42e5214 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-19T07:07:39.349Z] ===================================================== [Pipeline] echo [2023-04-19T07:07:39.358Z] taggedImages: [2023-04-19T07:07:39.358Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184 [2023-04-19T07:07:39.358Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-19T07:07:39.358Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.15 [2023-04-19T07:07:39.358Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:b749e223b2711b185c15c0ba4cea8b5d0d469184-3.0.0-dev.15 [2023-04-19T07:07:39.358Z] - 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-19T07:07:39.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T07:07:39.704Z] [2023-04-19T07:07:39.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:07:40.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T07:07:40.026Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T07:07:40.026Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T07:07:40.026Z] 04944245beec: Pulling fs layer [2023-04-19T07:07:40.026Z] 699f458cf7ca: Pulling fs layer [2023-04-19T07:07:40.026Z] 765212b225bb: Pulling fs layer [2023-04-19T07:07:40.026Z] f23df028b6ca: Pulling fs layer [2023-04-19T07:07:40.026Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T07:07:40.026Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T07:07:40.026Z] f23df028b6ca: Waiting [2023-04-19T07:07:40.026Z] d65c8cfc05b1: Waiting [2023-04-19T07:07:40.026Z] 2437ff75d9bd: Waiting [2023-04-19T07:07:40.026Z] 765212b225bb: Waiting [2023-04-19T07:07:40.026Z] 04944245beec: Verifying Checksum [2023-04-19T07:07:40.026Z] 04944245beec: Download complete [2023-04-19T07:07:40.292Z] 765212b225bb: Verifying Checksum [2023-04-19T07:07:40.292Z] 765212b225bb: Download complete [2023-04-19T07:07:40.292Z] f23df028b6ca: Verifying Checksum [2023-04-19T07:07:40.292Z] f23df028b6ca: Download complete [2023-04-19T07:07:40.292Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T07:07:40.292Z] d65c8cfc05b1: Download complete [2023-04-19T07:07:40.292Z] 699f458cf7ca: Verifying Checksum [2023-04-19T07:07:40.292Z] 699f458cf7ca: Download complete [2023-04-19T07:07:40.877Z] 8998bd30e6a1: Download complete [2023-04-19T07:07:42.812Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T07:07:42.812Z] 2437ff75d9bd: Download complete [2023-04-19T07:07:44.214Z] 8998bd30e6a1: Pull complete [2023-04-19T07:07:44.479Z] 04944245beec: Pull complete [2023-04-19T07:07:45.881Z] 699f458cf7ca: Pull complete [2023-04-19T07:07:45.882Z] 765212b225bb: Pull complete [2023-04-19T07:07:46.461Z] f23df028b6ca: Pull complete [2023-04-19T07:07:46.727Z] d65c8cfc05b1: Pull complete [2023-04-19T07:07:59.014Z] 2437ff75d9bd: Pull complete [2023-04-19T07:07:59.014Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T07:07:59.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T07:07:59.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:07:59.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2023-04-19T07:07:59.249Z] $ 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/72 -v /w/workspace/device-snmp-go/72:/w/workspace/device-snmp-go/72:rw,z -v /w/workspace/device-snmp-go/72@tmp:/w/workspace/device-snmp-go/72@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-19T07:08:03.904Z] $ docker top 8d215a100a9194f8620c76890fc858b9da4bd711bd375249516f4032d13dbd1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:08:04.714Z] ---> job-cost.sh [2023-04-19T07:08:04.714Z] lf-activate-venv: SKIPPING [2023-04-19T07:08:04.714Z] INFO: No Stack... [2023-04-19T07:08:04.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T07:08:05.931Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T07:08:06.241Z] + cat /w/workspace/device-snmp-go/72/archives/cost.csv [2023-04-19T07:08:06.241Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T07:08:06.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [2023-04-19T07:08:06.303Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] did not exist. Created. [2023-04-19T07:08:06.303Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T07:08:06.633Z] /w/workspace/device-snmp-go/72@tmp/durable-51289c1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T07:08:06.963Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T07:08:06.978Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T07:08:07.020Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T07:08:07.026Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T07:08:07.051Z] $ docker stop --time=1 8d215a100a9194f8620c76890fc858b9da4bd711bd375249516f4032d13dbd1e [2023-04-19T07:08:08.535Z] $ docker rm -f --volumes 8d215a100a9194f8620c76890fc858b9da4bd711bd375249516f4032d13dbd1e [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-19T07:08:08.943Z] provisioning config files... [2023-04-19T07:08:08.949Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13555557794803683633tmp [Pipeline] { [Pipeline] sh [2023-04-19T07:08:09.239Z] + set +x [2023-04-19T07:08:09.239Z] + curl -s https://codecov.io/bash [2023-04-19T07:08:09.239Z] + bash -s -- [2023-04-19T07:08:09.239Z] [2023-04-19T07:08:09.239Z] _____ _ [2023-04-19T07:08:09.239Z] / ____| | | [2023-04-19T07:08:09.239Z] | | ___ __| | ___ ___ _____ __ [2023-04-19T07:08:09.239Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-19T07:08:09.239Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-19T07:08:09.239Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-19T07:08:09.239Z] Bash-1.0.6 [2023-04-19T07:08:09.239Z] [2023-04-19T07:08:09.239Z] [2023-04-19T07:08:09.239Z] ==> git version 2.25.1 found [2023-04-19T07:08:09.239Z] ==> 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-19T07:08:09.239Z] Release-Date: 2020-01-08 [2023-04-19T07:08:09.239Z] 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-19T07:08:09.239Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-19T07:08:09.239Z] ==> Jenkins CI detected. [2023-04-19T07:08:09.239Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-19T07:08:09.239Z] project root: . [2023-04-19T07:08:09.239Z] --> token set from env [2023-04-19T07:08:09.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-19T07:08:09.239Z] ==> Running gcov in . (disable via -X gcov) [2023-04-19T07:08:09.239Z] ==> Python coveragepy not found [2023-04-19T07:08:09.239Z] ==> Searching for coverage reports in: [2023-04-19T07:08:09.239Z] + . [2023-04-19T07:08:09.239Z] -> Found 1 reports [2023-04-19T07:08:09.239Z] ==> Detecting git/mercurial file structure [2023-04-19T07:08:09.239Z] ==> Reading reports [2023-04-19T07:08:09.497Z] + ./coverage.out bytes=8837 [2023-04-19T07:08:09.497Z] ==> Appending adjustments [2023-04-19T07:08:09.497Z] https://docs.codecov.io/docs/fixing-reports [2023-04-19T07:08:09.497Z] + Found adjustments [2023-04-19T07:08:09.497Z] ==> Gzipping contents [2023-04-19T07:08:09.497Z] 4.0K /tmp/codecov.vsycz2.gz [2023-04-19T07:08:09.497Z] ==> Uploading reports [2023-04-19T07:08:09.497Z] url: https://codecov.io [2023-04-19T07:08:09.497Z] query: branch=main&commit=b749e223b2711b185c15c0ba4cea8b5d0d469184&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-19T07:08:09.497Z] -> Pinging Codecov [2023-04-19T07:08:09.497Z] 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=b749e223b2711b185c15c0ba4cea8b5d0d469184&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-19T07:08:09.497Z] -> Uploading to [2023-04-19T07:08:09.497Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-19/6C56EA5C29638FB4528AC87E60AF5AE0/b749e223b2711b185c15c0ba4cea8b5d0d469184/b899a043-9f78-4369-b10c-6457911dcf7d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T070809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64785f5f06d648af37217bb3a21620558908d856866dd952b4ea980d3e6e3790 [2023-04-19T07:08:09.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T07:08:09.497Z] Dload Upload Total Spent Left Speed [2023-04-19T07:08:09.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 6683 --:--:-- --:--:-- --:--:-- 6683 [2023-04-19T07:08:09.756Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] } [2023-04-19T07:08:09.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-19T07:08:10.004Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-19T07:08:10.019Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:08:10.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-19T07:08:10.316Z] [2023-04-19T07:08:10.316Z] 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-19T07:08:10.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-19T07:08:10.612Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-19T07:08:10.612Z] df9b9388f04a: Pulling fs layer [2023-04-19T07:08:10.612Z] 52dc419b0ee2: Pulling fs layer [2023-04-19T07:08:10.612Z] 25bc292e5bac: Pulling fs layer [2023-04-19T07:08:10.612Z] 114826534d7a: Pulling fs layer [2023-04-19T07:08:10.612Z] 4657fd5d0bcf: Pulling fs layer [2023-04-19T07:08:10.612Z] 6ad1cebc031e: Pulling fs layer [2023-04-19T07:08:10.612Z] 8a3aa393b2d8: Pulling fs layer [2023-04-19T07:08:10.612Z] 6ad1cebc031e: Waiting [2023-04-19T07:08:10.612Z] 4657fd5d0bcf: Waiting [2023-04-19T07:08:10.612Z] 114826534d7a: Waiting [2023-04-19T07:08:10.612Z] 25bc292e5bac: Verifying Checksum [2023-04-19T07:08:10.612Z] 25bc292e5bac: Download complete [2023-04-19T07:08:10.612Z] 52dc419b0ee2: Verifying Checksum [2023-04-19T07:08:10.612Z] 52dc419b0ee2: Download complete [2023-04-19T07:08:10.612Z] 4657fd5d0bcf: Verifying Checksum [2023-04-19T07:08:10.612Z] 4657fd5d0bcf: Download complete [2023-04-19T07:08:10.612Z] df9b9388f04a: Download complete [2023-04-19T07:08:10.870Z] 6ad1cebc031e: Verifying Checksum [2023-04-19T07:08:10.870Z] 6ad1cebc031e: Download complete [2023-04-19T07:08:10.870Z] df9b9388f04a: Pull complete [2023-04-19T07:08:10.870Z] 52dc419b0ee2: Pull complete [2023-04-19T07:08:10.870Z] 25bc292e5bac: Pull complete [2023-04-19T07:08:11.439Z] 114826534d7a: Verifying Checksum [2023-04-19T07:08:11.439Z] 114826534d7a: Download complete [2023-04-19T07:08:11.439Z] 8a3aa393b2d8: Verifying Checksum [2023-04-19T07:08:11.439Z] 8a3aa393b2d8: Download complete [2023-04-19T07:08:14.716Z] 114826534d7a: Pull complete [2023-04-19T07:08:14.716Z] 4657fd5d0bcf: Pull complete [2023-04-19T07:08:14.973Z] 6ad1cebc031e: Pull complete [2023-04-19T07:08:17.497Z] 8a3aa393b2d8: Pull complete [2023-04-19T07:08:17.497Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-19T07:08:17.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-19T07:08:17.497Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:08:17.572Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:08:17.605Z] $ 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-19T07:08:23.483Z] $ docker top 10bd87b249f817b38032f9dad40eaa5a65b157d1a1a80dd76545b14fd1d42dec -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-19T07:08:23.538Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-19T07:08:23.815Z] + set -o pipefail [2023-04-19T07:08:23.815Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a98f61d2-d07f-4417-9bfb-d88dbb5111a0 [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] [2023-04-19T07:08:30.384Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-19T07:08:30.384Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-19T07:08:30.384Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-19T07:08:30.398Z] $ docker stop --time=1 10bd87b249f817b38032f9dad40eaa5a65b157d1a1a80dd76545b14fd1d42dec [2023-04-19T07:08:33.833Z] $ docker rm -f --volumes 10bd87b249f817b38032f9dad40eaa5a65b157d1a1a80dd76545b14fd1d42dec [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-19T07:08:34.529Z] + git log --format=format:%s -1 b749e223b2711b185c15c0ba4cea8b5d0d469184 [Pipeline] sh [2023-04-19T07:08:34.825Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T07:08:34.825Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:08:35.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T07:08:35.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:08:35.191Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:08:35.223Z] $ 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-19T07:08:35.589Z] $ docker top 7b570aa78cc9705cd62a578031c060d3c6f1469c303068e25878f614aad0f224 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T07:08:35.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T07:08:35.665Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T07:08:35.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T07:08:35.774Z] $ docker exec 7b570aa78cc9705cd62a578031c060d3c6f1469c303068e25878f614aad0f224 ssh-agent [2023-04-19T07:08:35.883Z] SSH_AUTH_SOCK=/tmp/ssh-RCxhd9FKk35M/agent.31 [2023-04-19T07:08:35.883Z] SSH_AGENT_PID=37 [2023-04-19T07:08:35.888Z] Running ssh-add (command line suppressed) [2023-04-19T07:08:35.995Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18318245602679797882.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18318245602679797882.key) [2023-04-19T07:08:36.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T07:08:36.289Z] + git semver tag [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,459 [run_tag] DEBUG tag force:False [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,459 [check_head_tag] DEBUG check head tag [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,460 [execute] INFO git cat-file --batch-check [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,464 [execute] INFO git cat-file --batch [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,482 [execute] INFO git tag -a v3.0.0-dev.15 -m v3.0.0-dev.15 [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,482 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.15', '-m', 'v3.0.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-19T07:08:36.548Z] 2023-04-19 07:08:36,486 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:08:36.548Z] 3.0.0-dev.15 [Pipeline] } [2023-04-19T07:08:36.562Z] $ docker exec --env ******** --env ******** 7b570aa78cc9705cd62a578031c060d3c6f1469c303068e25878f614aad0f224 ssh-agent -k [2023-04-19T07:08:36.658Z] unset SSH_AUTH_SOCK; [2023-04-19T07:08:36.658Z] unset SSH_AGENT_PID; [2023-04-19T07:08:36.659Z] echo Agent pid 37 killed; [2023-04-19T07:08:36.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T07:08:36.964Z] + git semver [Pipeline] } [2023-04-19T07:08:37.237Z] $ docker stop --time=1 7b570aa78cc9705cd62a578031c060d3c6f1469c303068e25878f614aad0f224 [2023-04-19T07:08:38.541Z] $ docker rm -f --volumes 7b570aa78cc9705cd62a578031c060d3c6f1469c303068e25878f614aad0f224 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:08:38.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-19T07:08:38.907Z] [2023-04-19T07:08:38.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:08:39.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-19T07:08:39.203Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-19T07:08:39.203Z] ab5ef0e58194: Pulling fs layer [2023-04-19T07:08:39.203Z] 9712f1f96733: Pulling fs layer [2023-04-19T07:08:39.203Z] 63f879dbbcfc: Pulling fs layer [2023-04-19T07:08:39.203Z] 0d9ebad4ef96: Pulling fs layer [2023-04-19T07:08:39.203Z] e9a5061849ea: Pulling fs layer [2023-04-19T07:08:39.203Z] d747dcd14b5f: Pulling fs layer [2023-04-19T07:08:39.203Z] 2de7ff778b66: Pulling fs layer [2023-04-19T07:08:39.203Z] e9a5061849ea: Waiting [2023-04-19T07:08:39.203Z] d747dcd14b5f: Waiting [2023-04-19T07:08:39.203Z] 2de7ff778b66: Waiting [2023-04-19T07:08:39.203Z] 0d9ebad4ef96: Waiting [2023-04-19T07:08:39.203Z] 9712f1f96733: Verifying Checksum [2023-04-19T07:08:39.203Z] 9712f1f96733: Download complete [2023-04-19T07:08:39.463Z] 63f879dbbcfc: Verifying Checksum [2023-04-19T07:08:39.463Z] 63f879dbbcfc: Download complete [2023-04-19T07:08:39.721Z] e9a5061849ea: Verifying Checksum [2023-04-19T07:08:39.721Z] e9a5061849ea: Download complete [2023-04-19T07:08:39.721Z] d747dcd14b5f: Download complete [2023-04-19T07:08:39.721Z] 0d9ebad4ef96: Verifying Checksum [2023-04-19T07:08:39.721Z] 0d9ebad4ef96: Download complete [2023-04-19T07:08:39.721Z] ab5ef0e58194: Verifying Checksum [2023-04-19T07:08:39.721Z] ab5ef0e58194: Download complete [2023-04-19T07:08:39.721Z] 2de7ff778b66: Verifying Checksum [2023-04-19T07:08:39.721Z] 2de7ff778b66: Download complete [2023-04-19T07:08:42.250Z] ab5ef0e58194: Pull complete [2023-04-19T07:08:42.250Z] 9712f1f96733: Pull complete [2023-04-19T07:08:43.186Z] 63f879dbbcfc: Pull complete [2023-04-19T07:08:46.467Z] 0d9ebad4ef96: Pull complete [2023-04-19T07:08:46.467Z] e9a5061849ea: Pull complete [2023-04-19T07:08:46.467Z] d747dcd14b5f: Pull complete [2023-04-19T07:08:47.400Z] 2de7ff778b66: Pull complete [2023-04-19T07:08:47.400Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-19T07:08:47.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-19T07:08:47.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:08:47.498Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:08:47.528Z] $ 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-19T07:08:55.144Z] $ docker top 3efffde143ece4d53236178d1af39e1a08f923d589b3164b3cd2cfa636356281 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-19T07:08:55.253Z] provisioning config files... [2023-04-19T07:08:55.260Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11070215001339806880tmp [2023-04-19T07:08:55.267Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9122458121628597997tmp [2023-04-19T07:08:55.276Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9678324340773844552tmp [Pipeline] { [Pipeline] echo [2023-04-19T07:08:55.291Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:08:55.576Z] ---> sigul-configuration.sh [2023-04-19T07:08:55.576Z] gpg: directory `/root/.gnupg' created [2023-04-19T07:08:55.576Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-19T07:08:55.576Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-19T07:08:55.576Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-19T07:08:55.576Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-19T07:08:55.576Z] gpg: CAST5 encrypted data [2023-04-19T07:08:55.576Z] gpg: encrypted with 1 passphrase [2023-04-19T07:08:55.576Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-19T07:08:56.116Z] + mkdir /home/jenkins [2023-04-19T07:08:56.116Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-19T07:08:56.405Z] + 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-19T07:08:56.413Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:08:56.694Z] ---> sigul-install.sh [2023-04-19T07:08:56.694Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-19T07:08:56.977Z] + git tag --list [2023-04-19T07:08:56.977Z] 1.0.0 [2023-04-19T07:08:56.977Z] v0.0.0 [2023-04-19T07:08:56.977Z] v1.1.0 [2023-04-19T07:08:56.977Z] v1.1.1 [2023-04-19T07:08:56.977Z] v1.2.2 [2023-04-19T07:08:56.977Z] v1.3.0 [2023-04-19T07:08:56.977Z] v1.3.1 [2023-04-19T07:08:56.977Z] v2.0.0 [2023-04-19T07:08:56.977Z] v2.1.0 [2023-04-19T07:08:56.977Z] v2.1.1 [2023-04-19T07:08:56.977Z] v2.1.1-dev.2 [2023-04-19T07:08:56.977Z] v2.1.1-dev.3 [2023-04-19T07:08:56.977Z] v2.2.0 [2023-04-19T07:08:56.977Z] v2.2.1-dev.1 [2023-04-19T07:08:56.977Z] v2.2.1-dev.2 [2023-04-19T07:08:56.977Z] v2.2.1-dev.3 [2023-04-19T07:08:56.977Z] v2.2.1-dev.4 [2023-04-19T07:08:56.977Z] v2.2.1-dev.5 [2023-04-19T07:08:56.977Z] v2.2.1-dev.6 [2023-04-19T07:08:56.977Z] v2.2.1-dev.7 [2023-04-19T07:08:56.977Z] v2.3.0 [2023-04-19T07:08:56.977Z] v2.3.0-dev.10 [2023-04-19T07:08:56.977Z] v2.3.0-dev.11 [2023-04-19T07:08:56.977Z] v2.3.0-dev.12 [2023-04-19T07:08:56.977Z] v2.3.0-dev.13 [2023-04-19T07:08:56.977Z] v2.3.0-dev.14 [2023-04-19T07:08:56.977Z] v2.3.0-dev.15 [2023-04-19T07:08:56.977Z] v2.3.0-dev.16 [2023-04-19T07:08:56.977Z] v2.3.0-dev.17 [2023-04-19T07:08:56.977Z] v2.3.0-dev.18 [2023-04-19T07:08:56.977Z] v2.3.0-dev.19 [2023-04-19T07:08:56.977Z] v2.3.0-dev.20 [2023-04-19T07:08:56.977Z] v2.3.0-dev.21 [2023-04-19T07:08:56.977Z] v2.3.0-dev.22 [2023-04-19T07:08:56.977Z] v2.3.0-dev.23 [2023-04-19T07:08:56.977Z] v2.3.0-dev.24 [2023-04-19T07:08:56.977Z] v2.3.0-dev.7 [2023-04-19T07:08:56.977Z] v2.3.0-dev.8 [2023-04-19T07:08:56.977Z] v2.3.0-dev.9 [2023-04-19T07:08:56.977Z] v3.0.0-dev.1 [2023-04-19T07:08:56.977Z] v3.0.0-dev.10 [2023-04-19T07:08:56.977Z] v3.0.0-dev.11 [2023-04-19T07:08:56.977Z] v3.0.0-dev.12 [2023-04-19T07:08:56.977Z] v3.0.0-dev.13 [2023-04-19T07:08:56.977Z] v3.0.0-dev.14 [2023-04-19T07:08:56.977Z] v3.0.0-dev.15 [2023-04-19T07:08:56.977Z] v3.0.0-dev.2 [2023-04-19T07:08:56.977Z] v3.0.0-dev.3 [2023-04-19T07:08:56.977Z] v3.0.0-dev.4 [2023-04-19T07:08:56.977Z] v3.0.0-dev.5 [2023-04-19T07:08:56.977Z] v3.0.0-dev.6 [2023-04-19T07:08:56.977Z] v3.0.0-dev.7 [2023-04-19T07:08:56.977Z] v3.0.0-dev.8 [2023-04-19T07:08:56.977Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-19T07:08:57.259Z] + lftools sign git-tag v3.0.0-dev.15 [2023-04-19T07:08:57.827Z] Signing Git tag with Sigul... [2023-04-19T07:08:57.827Z] Signing v3.0.0-dev.15 [Pipeline] echo [2023-04-19T07:08:58.094Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:08:58.374Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-19T07:08:58.382Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-19T07:08:58.403Z] $ docker stop --time=1 3efffde143ece4d53236178d1af39e1a08f923d589b3164b3cd2cfa636356281 [2023-04-19T07:09:00.281Z] $ docker rm -f --volumes 3efffde143ece4d53236178d1af39e1a08f923d589b3164b3cd2cfa636356281 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-19T07:09:00.685Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T07:09:00.685Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:09:00.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T07:09:00.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:09:01.047Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:09:01.079Z] $ 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-19T07:09:01.574Z] $ docker top 71bdbd415a700d4d8f7a0023a7f882ca31dd0dd2fba4179c5c00ce85c4fa79b4 -eo pid,comm [2023-04-19T07:09:01.617Z] 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-19T07:09:01.617Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T07:09:01.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T07:09:01.647Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T07:09:01.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T07:09:01.822Z] $ docker exec 71bdbd415a700d4d8f7a0023a7f882ca31dd0dd2fba4179c5c00ce85c4fa79b4 ssh-agent [2023-04-19T07:09:01.921Z] SSH_AUTH_SOCK=/tmp/ssh-PqIW4eHQlrD9/agent.32 [2023-04-19T07:09:01.921Z] SSH_AGENT_PID=38 [2023-04-19T07:09:01.926Z] Running ssh-add (command line suppressed) [2023-04-19T07:09:02.032Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14199100414685538444.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14199100414685538444.key) [2023-04-19T07:09:02.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T07:09:02.330Z] + git semver bump pre [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [bump_version] DEBUG bumping version:3.0.0-dev.15 on axis:pre with prefix:dev [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [bump_version] DEBUG bumped version:3.0.0-dev.16 [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [write_version] DEBUG write version:3.0.0-dev.16 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,500 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,502 [execute] INFO git cat-file --batch-check [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,502 [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-19T07:09:02.588Z] 2023-04-19 07:09:02,507 [execute] INFO git cat-file --batch [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T07:09:02.588Z] 2023-04-19 07:09:02,512 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:09:02.588Z] 3.0.0-dev.16 [Pipeline] } [2023-04-19T07:09:02.599Z] $ docker exec --env ******** --env ******** 71bdbd415a700d4d8f7a0023a7f882ca31dd0dd2fba4179c5c00ce85c4fa79b4 ssh-agent -k [2023-04-19T07:09:02.695Z] unset SSH_AUTH_SOCK; [2023-04-19T07:09:02.695Z] unset SSH_AGENT_PID; [2023-04-19T07:09:02.695Z] echo Agent pid 38 killed; [2023-04-19T07:09:02.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T07:09:03.006Z] + git semver [Pipeline] } [2023-04-19T07:09:03.588Z] $ docker stop --time=1 71bdbd415a700d4d8f7a0023a7f882ca31dd0dd2fba4179c5c00ce85c4fa79b4 [2023-04-19T07:09:05.726Z] $ docker rm -f --volumes 71bdbd415a700d4d8f7a0023a7f882ca31dd0dd2fba4179c5c00ce85c4fa79b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T07:09:06.139Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T07:09:06.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:09:06.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T07:09:06.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:09:06.504Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:09:06.541Z] $ 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-19T07:09:08.380Z] $ docker top 47f0628b46f96aed83e16206b6accf066d32c3de7e3be8efafe43127ee01f4f3 -eo pid,comm [2023-04-19T07:09:08.421Z] 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-19T07:09:08.421Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T07:09:08.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T07:09:08.463Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T07:09:08.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T07:09:08.590Z] $ docker exec 47f0628b46f96aed83e16206b6accf066d32c3de7e3be8efafe43127ee01f4f3 ssh-agent [2023-04-19T07:09:08.677Z] SSH_AUTH_SOCK=/tmp/ssh-z9ryTbMkFHwm/agent.13 [2023-04-19T07:09:08.677Z] SSH_AGENT_PID=19 [2023-04-19T07:09:08.682Z] Running ssh-add (command line suppressed) [2023-04-19T07:09:08.786Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6866807930623710726.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6866807930623710726.key) [2023-04-19T07:09:08.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T07:09:09.080Z] + git semver push [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,317 [run_push] DEBUG push [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,318 [execute] INFO git cat-file --batch-check [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,319 [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-19T07:09:09.341Z] 2023-04-19 07:09:09,323 [execute] INFO git rev-list 7ffa350ac59199667c302f92f28246f5e7a43251 -- [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,323 [execute] DEBUG Popen(['git', 'rev-list', '7ffa350ac59199667c302f92f28246f5e7a43251', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,332 [execute] INFO git fetch -v origin [2023-04-19T07:09:09.341Z] 2023-04-19 07:09:09,332 [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-19T07:09:09.912Z] 2023-04-19 07:09:09,843 [run_push] DEBUG no remote changes detected [2023-04-19T07:09:09.912Z] 2023-04-19 07:09:09,844 [execute] INFO git push origin semver [2023-04-19T07:09:09.912Z] 2023-04-19 07:09:09,844 [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-19T07:09:10.848Z] 2023-04-19 07:09:10,656 [run_push] DEBUG push all version tags [2023-04-19T07:09:10.848Z] 2023-04-19 07:09:10,656 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-19T07:09:10.848Z] 2023-04-19 07:09:10,657 [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-19T07:09:11.416Z] 2023-04-19 07:09:11,380 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-19T07:09:11.416Z] 3.0.0-dev.16 [Pipeline] } [2023-04-19T07:09:11.428Z] $ docker exec --env ******** --env ******** 47f0628b46f96aed83e16206b6accf066d32c3de7e3be8efafe43127ee01f4f3 ssh-agent -k [2023-04-19T07:09:11.531Z] unset SSH_AUTH_SOCK; [2023-04-19T07:09:11.531Z] unset SSH_AGENT_PID; [2023-04-19T07:09:11.531Z] echo Agent pid 19 killed; [2023-04-19T07:09:11.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T07:09:11.841Z] + git semver [Pipeline] } [2023-04-19T07:09:12.116Z] $ docker stop --time=1 47f0628b46f96aed83e16206b6accf066d32c3de7e3be8efafe43127ee01f4f3 [2023-04-19T07:09:14.223Z] $ docker rm -f --volumes 47f0628b46f96aed83e16206b6accf066d32c3de7e3be8efafe43127ee01f4f3 [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-19T07:09:14.923Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-19T07:09:14.923Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-19T07:09:14.923Z] total 16 [2023-04-19T07:09:14.923Z] drwxr-xr-x 3 root root 4096 Apr 19 07:00 . [2023-04-19T07:09:14.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 07:08 .. [2023-04-19T07:09:14.923Z] drwxr-xr-x 2 root root 4096 Apr 19 07:00 cost [2023-04-19T07:09:14.923Z] -rw-r--r-- 1 root root 85 Apr 19 07:00 cost.csv [2023-04-19T07:09:14.923Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-19T07:09:14.923Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-19T07:09:14.923Z] total 16 [2023-04-19T07:09:14.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 07:00 . [2023-04-19T07:09:14.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 07:08 .. [2023-04-19T07:09:14.923Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 07:00 cost [2023-04-19T07:09:14.923Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 19 07:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:15.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:16.130Z] ---> package-listing.sh [2023-04-19T07:09:16.130Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T07:09:16.130Z] ++ facter osfamily [2023-04-19T07:09:16.389Z] + OS_FAMILY=debian [2023-04-19T07:09:16.389Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-19T07:09:16.389Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T07:09:16.389Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T07:09:16.389Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T07:09:16.389Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T07:09:16.389Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-19T07:09:16.389Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T07:09:16.389Z] + case "${OS_FAMILY}" in [2023-04-19T07:09:16.389Z] + dpkg -l [2023-04-19T07:09:16.389Z] + grep '^ii' [2023-04-19T07:09:16.389Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T07:09:16.389Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T07:09:16.389Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T07:09:16.389Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-19T07:09:16.389Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-19T07:09:16.389Z] + 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-19T07:09:16.398Z] 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-19T07:09:16.674Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T07:09:17.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T07:09:17.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T07:09:17.294Z] prd-ubuntu20.04-docker-8c-8g-9069 does not seem to be running inside a container [2023-04-19T07:09:17.327Z] $ 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-19T07:09:17.863Z] $ docker top d41b3d9446eaf0538f728ada673ae39d10bdc551d0939b2ee133bc5e5ea28a6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T07:09:18.194Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T07:09:18.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T07:09:18.763Z] + ls /var/log/sa-host [2023-04-19T07:09:18.763Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T07:09:18.913Z] provisioning config files... [2023-04-19T07:09:18.921Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14085484919053768631tmp [Pipeline] { [Pipeline] echo [2023-04-19T07:09:18.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:19.212Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T07:09:19.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:19.562Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T07:09:19.568Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:19.852Z] ---> sudo-logs.sh [2023-04-19T07:09:19.852Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T07:09:19.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:20.165Z] ---> job-cost.sh [2023-04-19T07:09:20.165Z] lf-activate-venv: SKIPPING [2023-04-19T07:09:20.165Z] DEBUG: total: 0.2199999988079071 [2023-04-19T07:09:20.165Z] INFO: Retrieving Stack Cost... [2023-04-19T07:09:20.731Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T07:09:20.989Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T07:09:21.000Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T07:09:21.280Z] ---> logs-deploy.sh [2023-04-19T07:09:21.280Z] lf-activate-venv: SKIPPING [2023-04-19T07:09:21.281Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/72 [2023-04-19T07:09:21.281Z] INFO: archiving workspace using pattern(s): [2023-04-19T07:09:22.217Z] Archives upload complete. [2023-04-19T07:09:22.217Z] INFO: archiving logs to Nexus