Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3ad67b18069b788d3b650faffca04e548476692 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-ssh16022416460959325085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4148350223268017866.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8541727668941194302.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh8304668070631583897.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-ssh7464577300734186984.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10323 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 e3ad67b18069b788d3b650faffca04e548476692 (main) Commit message: "refactor: Remove obsolete comments from config file (#323)" > 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 e3ad67b18069b788d3b650faffca04e548476692 # timeout=10 > git rev-list --no-walk c9f5e79f7f6757774f639370f81fc5ed0e697313 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T23:19:13.158Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T23:19:13.205Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T23:19:13.227Z] ========================================================= [2023-10-24T23:19:13.228Z] EdgeX Global Pipelines Version Info [2023-10-24T23:19:13.228Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:19:13.934Z] ------------------- [2023-10-24T23:19:13.934Z] stable info: [2023-10-24T23:19:13.934Z] ------------------- [2023-10-24T23:19:13.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T23:19:13.934Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T23:19:13.934Z] Message: update stable to v1.0.254 [2023-10-24T23:19:14.505Z] ------------------- [2023-10-24T23:19:14.505Z] experimental info: [2023-10-24T23:19:14.505Z] ------------------- [2023-10-24T23:19:14.505Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T23:19:14.505Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T23:19:14.505Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T23:19:14.668Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-10-24T23:19:14.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-10-24T23:19:14.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T23:19:14.705Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T23:19:14.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T23:19:14.737Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T23:19:14.750Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T23:19:14.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T23:19:14.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T23:19:14.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T23:19:14.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T23:19:14.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-10-24T23:19:14.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T23:19:14.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T23:19:14.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T23:19:14.871Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T23:19:14.885Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T23:19:14.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T23:19:14.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T23:19:14.925Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T23:19:14.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T23:19:14.952Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T23:19:14.968Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T23:19:14.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T23:19:14.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T23:19:15.016Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T23:19:15.032Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T23:19:15.046Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T23:19:15.058Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T23:19:15.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T23:19:15.090Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] echo [2023-10-24T23:19:15.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3ad67b [Pipeline] echo [2023-10-24T23:19:15.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T23:19:15.169Z] provisioning config files... [2023-10-24T23:19:15.185Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8733981489469735019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:19:15.492Z] ---> docker-login.sh [2023-10-24T23:19:15.492Z] nexus3.edgexfoundry.org:10001 [2023-10-24T23:19:15.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:16.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:16.012Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:16.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:16.012Z] [2023-10-24T23:19:16.012Z] Login Succeeded [2023-10-24T23:19:16.012Z] nexus3.edgexfoundry.org:10002 [2023-10-24T23:19:16.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:16.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:16.012Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:16.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:16.012Z] [2023-10-24T23:19:16.012Z] Login Succeeded [2023-10-24T23:19:16.012Z] nexus3.edgexfoundry.org:10003 [2023-10-24T23:19:16.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:16.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:16.273Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:16.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:16.273Z] [2023-10-24T23:19:16.273Z] Login Succeeded [2023-10-24T23:19:16.273Z] nexus3.edgexfoundry.org:10004 [2023-10-24T23:19:16.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:16.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:16.273Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:16.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:16.273Z] [2023-10-24T23:19:16.273Z] Login Succeeded [2023-10-24T23:19:16.273Z] docker.io [2023-10-24T23:19:16.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:16.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:16.537Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:16.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:16.537Z] [2023-10-24T23:19:16.537Z] Login Succeeded [2023-10-24T23:19:16.537Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T23:19:16.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T23:19:16.918Z] + git rev-list -1 --merges e3ad67b18069b788d3b650faffca04e548476692~1..e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] echo [2023-10-24T23:19:16.964Z] -----------> git rev-list -1 --merges e3ad67b18069b788d3b650faffca04e548476692~1..e3ad67b18069b788d3b650faffca04e548476692 e3ad67b18069b788d3b650faffca04e548476692 [false] [Pipeline] sh [2023-10-24T23:19:17.276Z] + git log --format=format:%s -1 e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] echo [2023-10-24T23:19:17.311Z] ========================================================= [2023-10-24T23:19:17.311Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T23:19:17.311Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T23:19:17.661Z] + git log --format=format:%s -1 e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] echo [2023-10-24T23:19:17.672Z] [semverPrep] GIT_COMMIT: e3ad67b18069b788d3b650faffca04e548476692, Commit Message: refactor: Remove obsolete comments from config file (#323) [Pipeline] echo [2023-10-24T23:19:17.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T23:19:18.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T23:19:18.038Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T23:19:18.038Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T23:19:18.038Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T23:19:18.038Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T23:19:18.039Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T23:19:18.039Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:19:18.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:19:18.444Z] [2023-10-24T23:19:18.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:19:18.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:19:18.742Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T23:19:18.742Z] b85a868b505f: Pulling fs layer [2023-10-24T23:19:18.742Z] e2be974225ed: Pulling fs layer [2023-10-24T23:19:18.742Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T23:19:18.742Z] 988bab9f4d93: Pulling fs layer [2023-10-24T23:19:18.742Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T23:19:18.742Z] eaf3925da568: Pulling fs layer [2023-10-24T23:19:18.742Z] bab4dde63d76: Pulling fs layer [2023-10-24T23:19:18.742Z] bde34c3a00c8: Pulling fs layer [2023-10-24T23:19:18.742Z] b352a97aabf1: Pulling fs layer [2023-10-24T23:19:18.742Z] 4872d77fe225: Pulling fs layer [2023-10-24T23:19:18.742Z] 5851b861e8e6: Pulling fs layer [2023-10-24T23:19:18.742Z] bde34c3a00c8: Waiting [2023-10-24T23:19:18.742Z] 4872d77fe225: Waiting [2023-10-24T23:19:18.742Z] 5851b861e8e6: Waiting [2023-10-24T23:19:18.742Z] b352a97aabf1: Waiting [2023-10-24T23:19:18.742Z] 1469e6f7b9e6: Waiting [2023-10-24T23:19:18.742Z] eaf3925da568: Waiting [2023-10-24T23:19:18.742Z] bab4dde63d76: Waiting [2023-10-24T23:19:18.742Z] 988bab9f4d93: Waiting [2023-10-24T23:19:18.742Z] e2be974225ed: Download complete [2023-10-24T23:19:18.742Z] 988bab9f4d93: Verifying Checksum [2023-10-24T23:19:18.742Z] 988bab9f4d93: Download complete [2023-10-24T23:19:18.742Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T23:19:18.742Z] 1469e6f7b9e6: Download complete [2023-10-24T23:19:19.001Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T23:19:19.001Z] 339a4e72a1f5: Download complete [2023-10-24T23:19:19.001Z] eaf3925da568: Verifying Checksum [2023-10-24T23:19:19.001Z] eaf3925da568: Download complete [2023-10-24T23:19:19.001Z] bde34c3a00c8: Verifying Checksum [2023-10-24T23:19:19.001Z] bde34c3a00c8: Download complete [2023-10-24T23:19:19.001Z] b352a97aabf1: Verifying Checksum [2023-10-24T23:19:19.001Z] b352a97aabf1: Download complete [2023-10-24T23:19:19.001Z] 4872d77fe225: Verifying Checksum [2023-10-24T23:19:19.001Z] 4872d77fe225: Download complete [2023-10-24T23:19:19.001Z] 5851b861e8e6: Download complete [2023-10-24T23:19:19.001Z] b85a868b505f: Verifying Checksum [2023-10-24T23:19:19.001Z] b85a868b505f: Download complete [2023-10-24T23:19:19.260Z] bab4dde63d76: Verifying Checksum [2023-10-24T23:19:19.260Z] bab4dde63d76: Download complete [2023-10-24T23:19:20.639Z] b85a868b505f: Pull complete [2023-10-24T23:19:20.639Z] e2be974225ed: Pull complete [2023-10-24T23:19:20.898Z] 339a4e72a1f5: Pull complete [2023-10-24T23:19:21.156Z] 988bab9f4d93: Pull complete [2023-10-24T23:19:21.416Z] 1469e6f7b9e6: Pull complete [2023-10-24T23:19:21.416Z] eaf3925da568: Pull complete [2023-10-24T23:19:23.321Z] bab4dde63d76: Pull complete [2023-10-24T23:19:23.321Z] bde34c3a00c8: Pull complete [2023-10-24T23:19:23.581Z] b352a97aabf1: Pull complete [2023-10-24T23:19:23.581Z] 4872d77fe225: Pull complete [2023-10-24T23:19:23.581Z] 5851b861e8e6: Pull complete [2023-10-24T23:19:23.581Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T23:19:23.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:19:23.581Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:19:23.698Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:19:23.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T23:19:27.274Z] $ docker top 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 -eo pid,comm [2023-10-24T23:19:27.340Z] 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-10-24T23:19:27.341Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T23:19:27.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T23:19:27.376Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T23:19:27.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T23:19:27.495Z] $ docker exec 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 ssh-agent [2023-10-24T23:19:27.618Z] SSH_AUTH_SOCK=/tmp/ssh-DZYqFUTM16to/agent.33 [2023-10-24T23:19:27.618Z] SSH_AGENT_PID=39 [2023-10-24T23:19:27.625Z] Running ssh-add (command line suppressed) [2023-10-24T23:19:27.718Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15107048646084168384.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15107048646084168384.key) [2023-10-24T23:19:27.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T23:19:28.025Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T23:19:28.032Z] $ docker exec --env ******** --env ******** 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 ssh-agent -k [2023-10-24T23:19:28.132Z] unset SSH_AUTH_SOCK; [2023-10-24T23:19:28.133Z] unset SSH_AGENT_PID; [2023-10-24T23:19:28.133Z] echo Agent pid 39 killed; [2023-10-24T23:19:28.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T23:19:28.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T23:19:28.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T23:19:28.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T23:19:28.304Z] $ docker exec 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 ssh-agent [2023-10-24T23:19:28.433Z] SSH_AUTH_SOCK=/tmp/ssh-PyDWv0gGjvl5/agent.71 [2023-10-24T23:19:28.433Z] SSH_AGENT_PID=77 [2023-10-24T23:19:28.438Z] Running ssh-add (command line suppressed) [2023-10-24T23:19:28.543Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15220616901075622970.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15220616901075622970.key) [2023-10-24T23:19:28.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T23:19:28.853Z] + git semver init [2023-10-24T23:19:29.112Z] 2023-10-24 23:19:29,024 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T23:19:29.112Z] 2023-10-24 23:19:29,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-24T23:19:29.112Z] 2023-10-24 23:19:29,025 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-24T23:19:29.112Z] 2023-10-24 23:19:29,025 [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-10-24T23:19:30.051Z] 2023-10-24 23:19:29,883 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-10-24T23:19:30.051Z] 2023-10-24 23:19:29,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-10-24T23:19:30.051Z] 2023-10-24 23:19:29,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:19:30.051Z] 2023-10-24 23:19:29,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:19:30.051Z] 3.1.0-dev.8 [Pipeline] } [2023-10-24T23:19:30.058Z] $ docker exec --env ******** --env ******** 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 ssh-agent -k [2023-10-24T23:19:30.163Z] unset SSH_AUTH_SOCK; [2023-10-24T23:19:30.167Z] unset SSH_AGENT_PID; [2023-10-24T23:19:30.167Z] echo Agent pid 77 killed; [2023-10-24T23:19:30.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T23:19:30.481Z] + git semver [Pipeline] } [2023-10-24T23:19:30.751Z] $ docker stop --time=1 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 [2023-10-24T23:19:32.059Z] $ docker rm -f --volumes 809e770b1a47509a73aba97ba3b2678853ff38f626bb6383dd59f207c0a39776 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T23:19:32.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T23:19:32.617Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T23:19:32.620Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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-10-24T23:19:32.754Z] provisioning config files... [2023-10-24T23:19:32.763Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10877137557548796352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:19:33.058Z] ---> docker-login.sh [2023-10-24T23:19:33.059Z] nexus3.edgexfoundry.org:10001 [2023-10-24T23:19:33.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:33.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:33.059Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:33.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:33.059Z] [2023-10-24T23:19:33.059Z] Login Succeeded [2023-10-24T23:19:33.059Z] nexus3.edgexfoundry.org:10002 [2023-10-24T23:19:33.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:33.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:33.059Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:33.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:33.059Z] [2023-10-24T23:19:33.059Z] Login Succeeded [2023-10-24T23:19:33.059Z] nexus3.edgexfoundry.org:10003 [2023-10-24T23:19:33.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:33.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:33.316Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:33.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:33.316Z] [2023-10-24T23:19:33.316Z] Login Succeeded [2023-10-24T23:19:33.316Z] nexus3.edgexfoundry.org:10004 [2023-10-24T23:19:33.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:33.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:33.316Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:33.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:33.316Z] [2023-10-24T23:19:33.316Z] Login Succeeded [2023-10-24T23:19:33.316Z] docker.io [2023-10-24T23:19:33.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:19:33.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:19:33.834Z] Configure a credential helper to remove this warning. See [2023-10-24T23:19:33.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:19:33.834Z] [2023-10-24T23:19:33.834Z] Login Succeeded [2023-10-24T23:19:33.834Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T23:19:33.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T23:19:33.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:19:33.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:19:33.941Z] ========================================================= [2023-10-24T23:19:33.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T23:19:33.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:19:34.329Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T23:19:34.329Z] Sending build context to Docker daemon 5.699MB [2023-10-24T23:19:34.329Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T23:19:34.329Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T23:19:34.329Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T23:19:34.329Z] 7264a8db6415: Pulling fs layer [2023-10-24T23:19:34.329Z] c4d48a809fc2: Pulling fs layer [2023-10-24T23:19:34.329Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T23:19:34.329Z] ad3a456e5733: Pulling fs layer [2023-10-24T23:19:34.329Z] 33e27b845d1e: Pulling fs layer [2023-10-24T23:19:34.329Z] c68163c4e522: Pulling fs layer [2023-10-24T23:19:34.329Z] 50da416c3ac9: Pulling fs layer [2023-10-24T23:19:34.329Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T23:19:34.329Z] ad3a456e5733: Waiting [2023-10-24T23:19:34.329Z] 33e27b845d1e: Waiting [2023-10-24T23:19:34.329Z] c68163c4e522: Waiting [2023-10-24T23:19:34.329Z] 50da416c3ac9: Waiting [2023-10-24T23:19:34.329Z] 23d2d4c4bb30: Waiting [2023-10-24T23:19:34.329Z] c4d48a809fc2: Verifying Checksum [2023-10-24T23:19:34.329Z] c4d48a809fc2: Download complete [2023-10-24T23:19:34.329Z] ad3a456e5733: Verifying Checksum [2023-10-24T23:19:34.329Z] ad3a456e5733: Download complete [2023-10-24T23:19:34.329Z] 33e27b845d1e: Verifying Checksum [2023-10-24T23:19:34.329Z] 33e27b845d1e: Download complete [2023-10-24T23:19:34.588Z] 7264a8db6415: Verifying Checksum [2023-10-24T23:19:34.588Z] 7264a8db6415: Download complete [2023-10-24T23:19:34.588Z] c68163c4e522: Verifying Checksum [2023-10-24T23:19:34.588Z] c68163c4e522: Download complete [2023-10-24T23:19:34.588Z] 7264a8db6415: Pull complete [2023-10-24T23:19:34.845Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T23:19:34.845Z] 23d2d4c4bb30: Download complete [2023-10-24T23:19:34.845Z] c4d48a809fc2: Pull complete [2023-10-24T23:19:34.845Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T23:19:34.845Z] 4f1c88b9dad5: Download complete [2023-10-24T23:19:35.102Z] 50da416c3ac9: Verifying Checksum [2023-10-24T23:19:35.102Z] 50da416c3ac9: Download complete [2023-10-24T23:19:38.381Z] 4f1c88b9dad5: Pull complete [2023-10-24T23:19:38.381Z] ad3a456e5733: Pull complete [2023-10-24T23:19:38.381Z] 33e27b845d1e: Pull complete [2023-10-24T23:19:38.638Z] c68163c4e522: Pull complete [2023-10-24T23:19:41.170Z] 50da416c3ac9: Pull complete [2023-10-24T23:19:41.429Z] 23d2d4c4bb30: Pull complete [2023-10-24T23:19:41.429Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T23:19:41.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T23:19:41.688Z] ---> 0786185ac409 [2023-10-24T23:19:41.688Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T23:19:45.894Z] ---> Running in 0976981c84a1 [2023-10-24T23:19:45.894Z] Removing intermediate container 0976981c84a1 [2023-10-24T23:19:45.894Z] ---> 3cd6ec20c1eb [2023-10-24T23:19:45.894Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T23:19:45.894Z] ---> Running in 41e81c481a44 [2023-10-24T23:19:45.894Z] Removing intermediate container 41e81c481a44 [2023-10-24T23:19:45.895Z] ---> 485a0e42d618 [2023-10-24T23:19:45.895Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T23:19:45.895Z] ---> Running in b32bd0f553aa [2023-10-24T23:19:46.154Z] Removing intermediate container b32bd0f553aa [2023-10-24T23:19:46.154Z] ---> 492ae65db8bc [2023-10-24T23:19:46.154Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T23:19:46.154Z] ---> Running in 9d890fabe75a [2023-10-24T23:19:46.154Z] Removing intermediate container 9d890fabe75a [2023-10-24T23:19:46.154Z] ---> 37b1c839ccd7 [2023-10-24T23:19:46.154Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T23:19:46.154Z] ---> Running in 45d088c7a46c [2023-10-24T23:19:46.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T23:19:46.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T23:19:46.933Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T23:19:46.933Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T23:19:46.933Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T23:19:46.933Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T23:19:46.933Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T23:19:46.933Z] OK: 268 MiB in 56 packages [2023-10-24T23:19:47.506Z] Removing intermediate container 45d088c7a46c [2023-10-24T23:19:47.506Z] ---> a992ae31afc3 [2023-10-24T23:19:47.506Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-24T23:19:47.506Z] ---> Running in 657baf5670e6 [2023-10-24T23:19:47.724Z] Still waiting to schedule task [2023-10-24T23:19:47.724Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-24T23:19:47.764Z] Removing intermediate container 657baf5670e6 [2023-10-24T23:19:47.764Z] ---> 88f495912d31 [2023-10-24T23:19:47.764Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T23:19:47.764Z] ---> 9b3550fff188 [2023-10-24T23:19:47.764Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T23:19:47.764Z] ---> Running in adf20a868a8e [2023-10-24T23:20:44.547Z] Removing intermediate container adf20a868a8e [2023-10-24T23:20:44.548Z] ---> 5cfbb827c074 [2023-10-24T23:20:44.548Z] Step 11/12 : COPY . . [2023-10-24T23:20:44.548Z] ---> c7a36f49b5d4 [2023-10-24T23:20:44.548Z] Step 12/12 : RUN ${MAKE} [2023-10-24T23:20:44.548Z] ---> Running in 6f6d6f05bf4d [2023-10-24T23:20:44.548Z] noop [2023-10-24T23:20:44.548Z] Removing intermediate container 6f6d6f05bf4d [2023-10-24T23:20:44.548Z] ---> 3c492db96713 [2023-10-24T23:20:44.548Z] Successfully built 3c492db96713 [2023-10-24T23:20:44.548Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:20:44.868Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T23:20:44.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:20:45.017Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:20:45.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T23:20:45.383Z] $ docker top a3fd03e2f8076177d67806439f7d380e04375950df09a55399f4ba11988a4f6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T23:20:45.715Z] + go version [2023-10-24T23:20:45.715Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T23:20:45.731Z] $ docker stop --time=1 a3fd03e2f8076177d67806439f7d380e04375950df09a55399f4ba11988a4f6c [2023-10-24T23:20:46.984Z] $ docker rm -f --volumes a3fd03e2f8076177d67806439f7d380e04375950df09a55399f4ba11988a4f6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:20:47.365Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T23:20:47.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:20:47.440Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:20:47.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T23:20:47.804Z] $ docker top ca62fb04a79bf65d801fe995598ae33b009d5cd644c08fb915af1cf2df6fd683 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T23:20:48.139Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T23:20:48.435Z] + make test [2023-10-24T23:20:48.435Z] go test ./... -coverprofile=coverage.out [2023-10-24T23:20:49.812Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-24T23:20:59.782Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-24T23:20:59.782Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-10-24T23:21:05.051Z] go vet ./... [2023-10-24T23:21:09.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T23:21:09.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T23:21:09.241Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T23:21:09.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T23:21:09.269Z] $ docker stop --time=1 ca62fb04a79bf65d801fe995598ae33b009d5cd644c08fb915af1cf2df6fd683 [2023-10-24T23:21:12.277Z] $ docker rm -f --volumes ca62fb04a79bf65d801fe995598ae33b009d5cd644c08fb915af1cf2df6fd683 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T23:21:12.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T23:21:12.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T23:21:13.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T23:21:13.593Z] + ls -al . [2023-10-24T23:21:13.593Z] total 172 [2023-10-24T23:21:13.593Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:20 . [2023-10-24T23:21:13.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:19 .. [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 23:19 .dockerignore [2023-10-24T23:21:13.593Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:20 .git [2023-10-24T23:21:13.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:19 .github [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 23:19 .gitignore [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:19 .golangci.yml [2023-10-24T23:21:13.593Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:19 .semver [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 23:19 Attribution.txt [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 23:19 CHANGELOG.md [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 23:19 Dockerfile [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:19 GOVERNANCE.md [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 23:19 Jenkinsfile [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:19 LICENSE [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 23:19 Makefile [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 23:19 OWNERS.md [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 23:19 README.md [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 23:19 VERSION [2023-10-24T23:21:13.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:19 bin [2023-10-24T23:21:13.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:19 cmd [2023-10-24T23:21:13.593Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 23:20 coverage.out [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 23:19 go.mod [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 23:19 go.sum [2023-10-24T23:21:13.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:19 internal [2023-10-24T23:21:13.593Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:13.905Z] + 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=e3ad67b18069b788d3b650faffca04e548476692 --label arch=amd64 --label version=3.1.0-dev.8 . [2023-10-24T23:21:13.905Z] Sending build context to Docker daemon 5.708MB [2023-10-24T23:21:13.905Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T23:21:13.905Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T23:21:13.905Z] ---> 3c492db96713 [2023-10-24T23:21:13.905Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T23:21:13.905Z] ---> Running in 9de208f73932 [2023-10-24T23:21:14.165Z] Removing intermediate container 9de208f73932 [2023-10-24T23:21:14.165Z] ---> 6a48d0f4b44e [2023-10-24T23:21:14.165Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T23:21:14.165Z] ---> Running in 68f0102dcb12 [2023-10-24T23:21:14.165Z] Removing intermediate container 68f0102dcb12 [2023-10-24T23:21:14.165Z] ---> 2f71f7f0afd1 [2023-10-24T23:21:14.165Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T23:21:14.165Z] ---> Running in eec16935fc12 [2023-10-24T23:21:14.165Z] Removing intermediate container eec16935fc12 [2023-10-24T23:21:14.165Z] ---> 7515bef2318a [2023-10-24T23:21:14.165Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T23:21:14.165Z] ---> Running in a16ba2f39b7f [2023-10-24T23:21:14.424Z] Removing intermediate container a16ba2f39b7f [2023-10-24T23:21:14.424Z] ---> b7b2740d3095 [2023-10-24T23:21:14.424Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T23:21:14.424Z] ---> Running in b2aae55092ab [2023-10-24T23:21:14.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T23:21:14.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T23:21:15.317Z] OK: 268 MiB in 56 packages [2023-10-24T23:21:15.317Z] Removing intermediate container b2aae55092ab [2023-10-24T23:21:15.317Z] ---> 89f9f6f0443c [2023-10-24T23:21:15.317Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-24T23:21:15.593Z] ---> Running in 3e8a1d213160 [2023-10-24T23:21:15.593Z] Removing intermediate container 3e8a1d213160 [2023-10-24T23:21:15.593Z] ---> 1186e02a0122 [2023-10-24T23:21:15.593Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T23:21:15.593Z] ---> dd165e5bf7df [2023-10-24T23:21:15.593Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T23:21:15.593Z] ---> Running in 10880899eb6f [2023-10-24T23:21:16.209Z] Removing intermediate container 10880899eb6f [2023-10-24T23:21:16.209Z] ---> 41d69f1e05fd [2023-10-24T23:21:16.209Z] Step 11/24 : COPY . . [2023-10-24T23:21:16.785Z] ---> 2bccb1356a93 [2023-10-24T23:21:16.785Z] Step 12/24 : RUN ${MAKE} [2023-10-24T23:21:16.785Z] ---> Running in f2ddad221b8f [2023-10-24T23:21:17.044Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-24T23:21:30.737Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10326 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-10-24T23:21:30.749Z] Running in /w/workspace/device-snmp-go/94 [Pipeline] { [Pipeline] checkout [2023-10-24T23:21:30.794Z] Selected Git installation does not exist. Using Default [2023-10-24T23:21:30.794Z] The recommended git tool is: NONE [2023-10-24T23:21:38.867Z] using credential edgex-jenkins-ssh [2023-10-24T23:21:38.888Z] Cloning the remote Git repository [2023-10-24T23:21:38.972Z] Removing intermediate container f2ddad221b8f [2023-10-24T23:21:38.972Z] ---> 37a843836ffc [2023-10-24T23:21:38.972Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T23:21:38.972Z] 3.18: Pulling from library/alpine [2023-10-24T23:21:38.972Z] 96526aa774ef: Pulling fs layer [2023-10-24T23:21:38.972Z] 96526aa774ef: Verifying Checksum [2023-10-24T23:21:38.972Z] 96526aa774ef: Download complete [2023-10-24T23:21:38.972Z] 96526aa774ef: Pull complete [2023-10-24T23:21:38.972Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T23:21:38.972Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T23:21:38.972Z] ---> 8ca4688f4f35 [2023-10-24T23:21:38.972Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T23:21:38.972Z] ---> Running in bf3dd5f2b451 [2023-10-24T23:21:38.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T23:21:38.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T23:21:38.972Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T23:21:38.972Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T23:21:38.972Z] OK: 7 MiB in 16 packages [2023-10-24T23:21:38.972Z] Removing intermediate container bf3dd5f2b451 [2023-10-24T23:21:38.972Z] ---> ce982b18c096 [2023-10-24T23:21:38.972Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-24T23:21:38.972Z] ---> 0705a1f7e9cb [2023-10-24T23:21:38.972Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-24T23:21:38.972Z] ---> f651a0d598a8 [2023-10-24T23:21:38.972Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-24T23:21:38.972Z] ---> 75310f1a2b8a [2023-10-24T23:21:38.972Z] Step 18/24 : EXPOSE 59993 [2023-10-24T23:21:38.972Z] ---> Running in f38e3868fd83 [2023-10-24T23:21:38.972Z] Removing intermediate container f38e3868fd83 [2023-10-24T23:21:38.972Z] ---> d4da6e526822 [2023-10-24T23:21:38.972Z] Step 19/24 : EXPOSE 161 [2023-10-24T23:21:38.972Z] ---> Running in b43523a89981 [2023-10-24T23:21:38.972Z] Removing intermediate container b43523a89981 [2023-10-24T23:21:38.972Z] ---> e8af4284e307 [2023-10-24T23:21:38.972Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-24T23:21:38.972Z] ---> Running in 108c2cd213da [2023-10-24T23:21:38.972Z] Removing intermediate container 108c2cd213da [2023-10-24T23:21:38.972Z] ---> 320dc1688aa4 [2023-10-24T23:21:38.972Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T23:21:38.972Z] ---> Running in 764b285ee9f8 [2023-10-24T23:21:39.230Z] Removing intermediate container 764b285ee9f8 [2023-10-24T23:21:39.230Z] ---> 68afc8c3428f [2023-10-24T23:21:39.230Z] Step 22/24 : LABEL arch=amd64 [2023-10-24T23:21:39.230Z] ---> Running in ec13deb7c396 [2023-10-24T23:21:39.230Z] Removing intermediate container ec13deb7c396 [2023-10-24T23:21:39.230Z] ---> 6a0e25586f1a [2023-10-24T23:21:39.230Z] Step 23/24 : LABEL git_sha=e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:21:39.230Z] ---> Running in 8b38f2c8b780 [2023-10-24T23:21:39.230Z] Removing intermediate container 8b38f2c8b780 [2023-10-24T23:21:39.230Z] ---> 6874b1ff0d44 [2023-10-24T23:21:39.230Z] Step 24/24 : LABEL version=3.1.0-dev.8 [2023-10-24T23:21:39.230Z] ---> Running in 8872e2749366 [2023-10-24T23:21:39.487Z] Removing intermediate container 8872e2749366 [2023-10-24T23:21:39.487Z] ---> a0c1692902e2 [2023-10-24T23:21:39.487Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T23:21:39.487Z] Successfully built a0c1692902e2 [2023-10-24T23:21:39.487Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T23:21:39.605Z] provisioning config files... [2023-10-24T23:21:39.612Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10861362417401229728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:21:38.956Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-10-24T23:21:39.072Z] > git init /w/workspace/device-snmp-go/94 # timeout=10 [2023-10-24T23:21:39.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-10-24T23:21:39.216Z] > git --version # timeout=10 [2023-10-24T23:21:39.236Z] > git --version # 'git version 2.25.1' [2023-10-24T23:21:39.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T23:21:39.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T23:21:39.900Z] ---> docker-login.sh [2023-10-24T23:21:39.901Z] nexus3.edgexfoundry.org:10001 [2023-10-24T23:21:39.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:21:39.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:21:39.901Z] Configure a credential helper to remove this warning. See [2023-10-24T23:21:39.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:21:39.901Z] [2023-10-24T23:21:39.901Z] Login Succeeded [2023-10-24T23:21:39.901Z] nexus3.edgexfoundry.org:10002 [2023-10-24T23:21:39.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:21:39.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:21:39.901Z] Configure a credential helper to remove this warning. See [2023-10-24T23:21:39.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:21:39.901Z] [2023-10-24T23:21:39.901Z] Login Succeeded [2023-10-24T23:21:39.901Z] nexus3.edgexfoundry.org:10003 [2023-10-24T23:21:40.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:21:40.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:21:40.158Z] Configure a credential helper to remove this warning. See [2023-10-24T23:21:40.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:21:40.158Z] [2023-10-24T23:21:40.158Z] Login Succeeded [2023-10-24T23:21:40.158Z] nexus3.edgexfoundry.org:10004 [2023-10-24T23:21:40.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:21:40.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:21:40.158Z] Configure a credential helper to remove this warning. See [2023-10-24T23:21:40.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:21:40.158Z] [2023-10-24T23:21:40.158Z] Login Succeeded [2023-10-24T23:21:40.158Z] docker.io [2023-10-24T23:21:40.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:21:40.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:21:40.417Z] Configure a credential helper to remove this warning. See [2023-10-24T23:21:40.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:21:40.417Z] [2023-10-24T23:21:40.417Z] Login Succeeded [2023-10-24T23:21:40.417Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T23:21:40.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T23:21:40.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:21:40.483Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-10-24T23:21:40.483Z] e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:21:40.483Z] latest [2023-10-24T23:21:40.483Z] 3.1.0-dev.8 [2023-10-24T23:21:40.483Z] e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:21:40.483Z] main [2023-10-24T23:21:40.483Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:40.805Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:41.110Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:21:41.110Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T23:21:41.110Z] 75ba924cb145: Preparing [2023-10-24T23:21:41.110Z] 4149f91a8ed7: Preparing [2023-10-24T23:21:41.110Z] 0b8f54aa3c92: Preparing [2023-10-24T23:21:41.110Z] 82509c2bb68a: Preparing [2023-10-24T23:21:41.110Z] cc2447e1835a: Preparing [2023-10-24T23:21:41.110Z] cc2447e1835a: Layer already exists [2023-10-24T23:21:41.110Z] 82509c2bb68a: Pushed [2023-10-24T23:21:41.110Z] 4149f91a8ed7: Pushed [2023-10-24T23:21:41.110Z] 75ba924cb145: Pushed [2023-10-24T23:21:40.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-10-24T23:21:40.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T23:21:41.390Z] Avoid second fetch [2023-10-24T23:21:41.391Z] Checking out Revision e3ad67b18069b788d3b650faffca04e548476692 (main) [2023-10-24T23:21:41.976Z] Commit message: "refactor: Remove obsolete comments from config file (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T23:21:41.408Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T23:21:41.478Z] > git checkout -f e3ad67b18069b788d3b650faffca04e548476692 # timeout=10 [2023-10-24T23:21:42.855Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T23:21:42.855Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T23:21:42.855Z] Dload Upload Total Spent Left Speed [2023-10-24T23:21:42.855Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-10-24T23:21:43.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T23:21:43.635Z] 0b8f54aa3c92: Pushed [2023-10-24T23:21:43.635Z] e3ad67b18069b788d3b650faffca04e548476692: digest: sha256:c4bf83a483750f856a9898a56c6174a9d75db7b40887e20e2a55d48f910c1196 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:43.773Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T23:21:43.773Z] + sudo tee /etc/docker/daemon.new [2023-10-24T23:21:43.773Z] { [2023-10-24T23:21:43.773Z] "registry-mirrors": [ [2023-10-24T23:21:43.773Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T23:21:43.773Z] ], [2023-10-24T23:21:43.773Z] "bip": "10.250.0.254/24", [2023-10-24T23:21:43.773Z] "hosts": [ [2023-10-24T23:21:43.773Z] "tcp://0.0.0.0:5555", [2023-10-24T23:21:43.773Z] "unix:///var/run/docker.sock" [2023-10-24T23:21:43.773Z] ], [2023-10-24T23:21:43.773Z] "mtu": 1458, [2023-10-24T23:21:43.773Z] "selinux-enabled": true, [2023-10-24T23:21:43.773Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T23:21:43.773Z] } [Pipeline] sh [2023-10-24T23:21:43.949Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:44.111Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T23:21:44.261Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-24T23:21:44.261Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T23:21:44.261Z] 75ba924cb145: Preparing [2023-10-24T23:21:44.261Z] 4149f91a8ed7: Preparing [2023-10-24T23:21:44.261Z] 0b8f54aa3c92: Preparing [2023-10-24T23:21:44.261Z] 82509c2bb68a: Preparing [2023-10-24T23:21:44.261Z] cc2447e1835a: Preparing [2023-10-24T23:21:44.261Z] 0b8f54aa3c92: Layer already exists [2023-10-24T23:21:44.261Z] cc2447e1835a: Layer already exists [2023-10-24T23:21:44.261Z] 75ba924cb145: Layer already exists [2023-10-24T23:21:44.261Z] 82509c2bb68a: Layer already exists [2023-10-24T23:21:44.261Z] 4149f91a8ed7: Layer already exists [2023-10-24T23:21:44.261Z] latest: digest: sha256:c4bf83a483750f856a9898a56c6174a9d75db7b40887e20e2a55d48f910c1196 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:44.453Z] + sudo service docker restart [2023-10-24T23:21:44.576Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:44.883Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.8 [2023-10-24T23:21:44.883Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T23:21:44.883Z] 75ba924cb145: Preparing [2023-10-24T23:21:44.883Z] 4149f91a8ed7: Preparing [2023-10-24T23:21:44.883Z] 0b8f54aa3c92: Preparing [2023-10-24T23:21:44.883Z] 82509c2bb68a: Preparing [2023-10-24T23:21:44.883Z] cc2447e1835a: Preparing [2023-10-24T23:21:44.883Z] 82509c2bb68a: Layer already exists [2023-10-24T23:21:44.883Z] 0b8f54aa3c92: Layer already exists [2023-10-24T23:21:44.883Z] 4149f91a8ed7: Layer already exists [2023-10-24T23:21:44.883Z] cc2447e1835a: Layer already exists [2023-10-24T23:21:44.883Z] 75ba924cb145: Layer already exists [2023-10-24T23:21:44.883Z] 3.1.0-dev.8: digest: sha256:c4bf83a483750f856a9898a56c6174a9d75db7b40887e20e2a55d48f910c1196 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:45.203Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:45.507Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:21:45.507Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T23:21:45.507Z] 75ba924cb145: Preparing [2023-10-24T23:21:45.507Z] 4149f91a8ed7: Preparing [2023-10-24T23:21:45.507Z] 0b8f54aa3c92: Preparing [2023-10-24T23:21:45.507Z] 82509c2bb68a: Preparing [2023-10-24T23:21:45.507Z] cc2447e1835a: Preparing [2023-10-24T23:21:45.507Z] 4149f91a8ed7: Layer already exists [2023-10-24T23:21:45.507Z] cc2447e1835a: Layer already exists [2023-10-24T23:21:45.507Z] 82509c2bb68a: Layer already exists [2023-10-24T23:21:45.507Z] 75ba924cb145: Layer already exists [2023-10-24T23:21:45.507Z] 0b8f54aa3c92: Layer already exists [2023-10-24T23:21:45.507Z] e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8: digest: sha256:c4bf83a483750f856a9898a56c6174a9d75db7b40887e20e2a55d48f910c1196 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:45.814Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:46.113Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-10-24T23:21:46.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-24T23:21:46.113Z] 75ba924cb145: Preparing [2023-10-24T23:21:46.113Z] 4149f91a8ed7: Preparing [2023-10-24T23:21:46.113Z] 0b8f54aa3c92: Preparing [2023-10-24T23:21:46.113Z] 82509c2bb68a: Preparing [2023-10-24T23:21:46.113Z] cc2447e1835a: Preparing [2023-10-24T23:21:46.113Z] 82509c2bb68a: Layer already exists [2023-10-24T23:21:46.113Z] 75ba924cb145: Layer already exists [2023-10-24T23:21:46.113Z] 4149f91a8ed7: Layer already exists [2023-10-24T23:21:46.113Z] 0b8f54aa3c92: Layer already exists [2023-10-24T23:21:46.113Z] cc2447e1835a: Layer already exists [2023-10-24T23:21:46.113Z] main: digest: sha256:c4bf83a483750f856a9898a56c6174a9d75db7b40887e20e2a55d48f910c1196 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T23:21:46.149Z] ===================================================== [Pipeline] echo [2023-10-24T23:21:46.156Z] taggedImages: [2023-10-24T23:21:46.156Z] - nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:21:46.156Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-24T23:21:46.156Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.8 [2023-10-24T23:21:46.156Z] - nexus3.edgexfoundry.org:10004/device-snmp:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:21:46.156Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:46.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T23:21:46.534Z] [2023-10-24T23:21:46.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:21:46.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T23:21:46.831Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T23:21:46.831Z] 5eb5b503b376: Pulling fs layer [2023-10-24T23:21:46.831Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T23:21:46.831Z] ec43610c2a17: Pulling fs layer [2023-10-24T23:21:46.831Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T23:21:46.831Z] 33b1e0a273af: Pulling fs layer [2023-10-24T23:21:46.831Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T23:21:46.831Z] 2f39f015ded8: Pulling fs layer [2023-10-24T23:21:46.831Z] 33b1e0a273af: Waiting [2023-10-24T23:21:46.831Z] 5d3b04190fa2: Waiting [2023-10-24T23:21:46.831Z] 3a2ae6a8a46f: Waiting [2023-10-24T23:21:46.831Z] 2f39f015ded8: Waiting [2023-10-24T23:21:46.831Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T23:21:46.831Z] 5c69ac0246d0: Download complete [2023-10-24T23:21:46.831Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T23:21:46.831Z] 3a2ae6a8a46f: Download complete [2023-10-24T23:21:46.831Z] 33b1e0a273af: Verifying Checksum [2023-10-24T23:21:46.831Z] 33b1e0a273af: Download complete [2023-10-24T23:21:46.831Z] ec43610c2a17: Verifying Checksum [2023-10-24T23:21:46.831Z] ec43610c2a17: Download complete [2023-10-24T23:21:46.831Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T23:21:46.831Z] 5d3b04190fa2: Download complete [2023-10-24T23:21:47.089Z] 5eb5b503b376: Verifying Checksum [2023-10-24T23:21:47.089Z] 5eb5b503b376: Download complete [2023-10-24T23:21:47.654Z] 2f39f015ded8: Download complete [2023-10-24T23:21:48.217Z] 5eb5b503b376: Pull complete [2023-10-24T23:21:48.476Z] 5c69ac0246d0: Pull complete [2023-10-24T23:21:48.734Z] ec43610c2a17: Pull complete [2023-10-24T23:21:48.991Z] 3a2ae6a8a46f: Pull complete [2023-10-24T23:21:48.991Z] 33b1e0a273af: Pull complete [2023-10-24T23:21:49.248Z] 5d3b04190fa2: Pull complete [2023-10-24T23:21:53.425Z] 2f39f015ded8: Pull complete [2023-10-24T23:21:53.425Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T23:21:53.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T23:21:53.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:21:53.494Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:21:53.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T23:21:58.023Z] $ docker top b2c6eb2bca0cae7b925dc6b1712dc588e88666176e4b2911d553c6423d8870cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:21:58.414Z] ---> job-cost.sh [2023-10-24T23:21:58.414Z] lf-activate-venv: SKIPPING [2023-10-24T23:21:58.414Z] INFO: No Stack... [2023-10-24T23:21:58.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T23:21:59.239Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T23:21:59.528Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-10-24T23:21:59.528Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T23:21:59.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [2023-10-24T23:21:59.544Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] did not exist. Created. [2023-10-24T23:21:59.545Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T23:21:59.843Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T23:21:59.864Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T23:21:59.870Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T23:21:59.901Z] $ docker stop --time=1 b2c6eb2bca0cae7b925dc6b1712dc588e88666176e4b2911d553c6423d8870cb [2023-10-24T23:22:01.066Z] $ docker rm -f --volumes b2c6eb2bca0cae7b925dc6b1712dc588e88666176e4b2911d553c6423d8870cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T23:22:02.768Z] provisioning config files... [2023-10-24T23:22:02.792Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/94@tmp/config12192612635840871694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:22:03.151Z] ---> docker-login.sh [2023-10-24T23:22:03.151Z] nexus3.edgexfoundry.org:10001 [2023-10-24T23:22:06.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:22:06.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:22:06.769Z] Configure a credential helper to remove this warning. See [2023-10-24T23:22:06.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:22:06.769Z] [2023-10-24T23:22:06.769Z] Login Succeeded [2023-10-24T23:22:06.769Z] nexus3.edgexfoundry.org:10002 [2023-10-24T23:22:07.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:22:07.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:22:07.035Z] Configure a credential helper to remove this warning. See [2023-10-24T23:22:07.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:22:07.035Z] [2023-10-24T23:22:07.035Z] Login Succeeded [2023-10-24T23:22:07.035Z] nexus3.edgexfoundry.org:10003 [2023-10-24T23:22:07.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:22:07.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:22:07.304Z] Configure a credential helper to remove this warning. See [2023-10-24T23:22:07.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:22:07.304Z] [2023-10-24T23:22:07.304Z] Login Succeeded [2023-10-24T23:22:07.304Z] nexus3.edgexfoundry.org:10004 [2023-10-24T23:22:07.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:22:07.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:22:07.840Z] Configure a credential helper to remove this warning. See [2023-10-24T23:22:07.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:22:07.840Z] [2023-10-24T23:22:07.840Z] Login Succeeded [2023-10-24T23:22:07.840Z] docker.io [2023-10-24T23:22:08.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:22:08.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:22:08.376Z] Configure a credential helper to remove this warning. See [2023-10-24T23:22:08.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:22:08.376Z] [2023-10-24T23:22:08.376Z] Login Succeeded [2023-10-24T23:22:08.376Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T23:22:08.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T23:22:08.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:22:08.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:22:08.783Z] ========================================================= [2023-10-24T23:22:08.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T23:22:08.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:22:09.145Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T23:22:09.417Z] Sending build context to Docker daemon 2.926MB [2023-10-24T23:22:09.417Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T23:22:09.417Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T23:22:09.688Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T23:22:09.688Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T23:22:09.688Z] 5d54e960e981: Pulling fs layer [2023-10-24T23:22:09.688Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T23:22:09.688Z] f0e02332f6b5: Pulling fs layer [2023-10-24T23:22:09.688Z] cefa15bbcfad: Pulling fs layer [2023-10-24T23:22:09.688Z] 17808c966233: Pulling fs layer [2023-10-24T23:22:09.688Z] f4c1fc716caa: Pulling fs layer [2023-10-24T23:22:09.688Z] cefa15bbcfad: Waiting [2023-10-24T23:22:09.688Z] 17808c966233: Waiting [2023-10-24T23:22:09.688Z] f4c1fc716caa: Waiting [2023-10-24T23:22:09.688Z] f0e02332f6b5: Waiting [2023-10-24T23:22:09.688Z] 5d54e960e981: Verifying Checksum [2023-10-24T23:22:09.688Z] 5d54e960e981: Download complete [2023-10-24T23:22:09.688Z] f0e02332f6b5: Verifying Checksum [2023-10-24T23:22:09.688Z] f0e02332f6b5: Download complete [2023-10-24T23:22:09.688Z] cefa15bbcfad: Verifying Checksum [2023-10-24T23:22:09.688Z] cefa15bbcfad: Download complete [2023-10-24T23:22:09.688Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T23:22:09.688Z] 9fda8d8052c6: Download complete [2023-10-24T23:22:10.277Z] f4c1fc716caa: Verifying Checksum [2023-10-24T23:22:10.277Z] f4c1fc716caa: Download complete [2023-10-24T23:22:10.865Z] 9fda8d8052c6: Pull complete [2023-10-24T23:22:11.456Z] 5d54e960e981: Pull complete [2023-10-24T23:22:11.725Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T23:22:11.725Z] c4a7e357bf2a: Download complete [2023-10-24T23:22:13.141Z] 17808c966233: Verifying Checksum [2023-10-24T23:22:13.141Z] 17808c966233: Download complete [2023-10-24T23:22:28.159Z] c4a7e357bf2a: Pull complete [2023-10-24T23:22:28.159Z] f0e02332f6b5: Pull complete [2023-10-24T23:22:28.159Z] cefa15bbcfad: Pull complete [2023-10-24T23:22:36.402Z] 17808c966233: Pull complete [2023-10-24T23:22:37.366Z] f4c1fc716caa: Pull complete [2023-10-24T23:22:37.634Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T23:22:37.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T23:22:37.634Z] ---> ea914061e18c [2023-10-24T23:22:37.634Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T23:22:39.608Z] ---> Running in 79506b7d024c [2023-10-24T23:22:39.880Z] Removing intermediate container 79506b7d024c [2023-10-24T23:22:39.880Z] ---> 6f3d79e33004 [2023-10-24T23:22:39.880Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T23:22:39.880Z] ---> Running in 48c190142f48 [2023-10-24T23:22:40.151Z] Removing intermediate container 48c190142f48 [2023-10-24T23:22:40.151Z] ---> 11dbf3ca58cf [2023-10-24T23:22:40.151Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T23:22:40.422Z] ---> Running in a8633f029732 [2023-10-24T23:22:40.690Z] Removing intermediate container a8633f029732 [2023-10-24T23:22:40.690Z] ---> 98ae606c2e24 [2023-10-24T23:22:40.690Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T23:22:40.690Z] ---> Running in 7f98596279a0 [2023-10-24T23:22:40.961Z] Removing intermediate container 7f98596279a0 [2023-10-24T23:22:40.961Z] ---> af6d83c9512d [2023-10-24T23:22:40.961Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T23:22:41.231Z] ---> Running in 88e9e31ff32b [2023-10-24T23:22:42.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T23:22:42.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T23:22:44.335Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T23:22:44.335Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T23:22:44.335Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T23:22:44.335Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T23:22:44.606Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T23:22:44.606Z] OK: 270 MiB in 56 packages [2023-10-24T23:22:46.055Z] Removing intermediate container 88e9e31ff32b [2023-10-24T23:22:46.055Z] ---> 7d52f781e97e [2023-10-24T23:22:46.055Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-24T23:22:46.055Z] ---> Running in c9281e60ca1f [2023-10-24T23:22:46.330Z] Removing intermediate container c9281e60ca1f [2023-10-24T23:22:46.330Z] ---> 4c66cbf1fe8c [2023-10-24T23:22:46.330Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T23:22:46.940Z] ---> 8b3f96b58e22 [2023-10-24T23:22:46.940Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T23:22:46.940Z] ---> Running in 104b6b85ff45 [2023-10-24T23:24:23.759Z] Removing intermediate container 104b6b85ff45 [2023-10-24T23:24:23.759Z] ---> d84a8232b405 [2023-10-24T23:24:23.759Z] Step 11/12 : COPY . . [2023-10-24T23:24:23.759Z] ---> b5f42d6c8003 [2023-10-24T23:24:23.759Z] Step 12/12 : RUN ${MAKE} [2023-10-24T23:24:23.759Z] ---> Running in e551f7775731 [2023-10-24T23:24:23.759Z] noop [2023-10-24T23:24:23.759Z] Removing intermediate container e551f7775731 [2023-10-24T23:24:23.759Z] ---> 8515b80117e8 [2023-10-24T23:24:23.759Z] Successfully built 8515b80117e8 [2023-10-24T23:24:23.759Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:24:24.124Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T23:24:24.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:24:24.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-10326 does not seem to be running inside a container [2023-10-24T23:24:24.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/94 -v /w/workspace/device-snmp-go/94:/w/workspace/device-snmp-go/94:rw,z -v /w/workspace/device-snmp-go/94@tmp:/w/workspace/device-snmp-go/94@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-10-24T23:24:25.815Z] $ docker top cdf4d43155deb4e07939a4865215796ced86e72a7bdf42f4e5aa0263ab03f52d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T23:24:26.695Z] + go version [2023-10-24T23:24:26.695Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T23:24:26.714Z] $ docker stop --time=1 cdf4d43155deb4e07939a4865215796ced86e72a7bdf42f4e5aa0263ab03f52d [2023-10-24T23:24:28.403Z] $ docker rm -f --volumes cdf4d43155deb4e07939a4865215796ced86e72a7bdf42f4e5aa0263ab03f52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:24:28.975Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T23:24:28.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:24:29.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-10326 does not seem to be running inside a container [2023-10-24T23:24:29.252Z] $ 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/94 -v /w/workspace/device-snmp-go/94:/w/workspace/device-snmp-go/94:rw,z -v /w/workspace/device-snmp-go/94@tmp:/w/workspace/device-snmp-go/94@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-10-24T23:24:30.564Z] $ docker top cd81831ca4cdee955f74958d8b7e6f620bca31ea6221c01d9f99265dce984df0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T23:24:31.427Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/94 [Pipeline] fileExists [Pipeline] sh [2023-10-24T23:24:32.085Z] + make test [2023-10-24T23:24:32.085Z] go test ./... -coverprofile=coverage.out [2023-10-24T23:24:37.429Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-24T23:26:44.254Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-24T23:26:44.254Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2023-10-24T23:26:44.254Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T23:26:44.254Z] go vet ./... [2023-10-24T23:26:56.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T23:26:56.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T23:26:56.563Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T23:26:56.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T23:26:56.594Z] $ docker stop --time=1 cd81831ca4cdee955f74958d8b7e6f620bca31ea6221c01d9f99265dce984df0 [2023-10-24T23:26:59.336Z] $ docker rm -f --volumes cd81831ca4cdee955f74958d8b7e6f620bca31ea6221c01d9f99265dce984df0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T23:27:00.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T23:27:00.624Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T23:27:01.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T23:27:01.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T23:27:01.865Z] + ls -al . [2023-10-24T23:27:01.866Z] total 168 [2023-10-24T23:27:01.866Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 23:24 . [2023-10-24T23:27:01.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:21 .. [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 23:21 .dockerignore [2023-10-24T23:27:01.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:21 .git [2023-10-24T23:27:01.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:21 .github [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 23:21 .gitignore [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:21 .golangci.yml [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 23:21 Attribution.txt [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 23:21 CHANGELOG.md [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 23:21 Dockerfile [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:21 GOVERNANCE.md [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 23:21 Jenkinsfile [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:21 LICENSE [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 23:21 Makefile [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 23:21 OWNERS.md [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 23:21 README.md [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 23:19 VERSION [2023-10-24T23:27:01.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:21 bin [2023-10-24T23:27:01.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:21 cmd [2023-10-24T23:27:01.866Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 23:26 coverage.out [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 23:21 go.mod [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 23:21 go.sum [2023-10-24T23:27:01.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:21 internal [2023-10-24T23:27:01.866Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:27:02.222Z] + 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=e3ad67b18069b788d3b650faffca04e548476692 --label arch=arm64 --label version=3.1.0-dev.8 . [2023-10-24T23:27:02.491Z] Sending build context to Docker daemon 2.936MB [2023-10-24T23:27:02.491Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T23:27:02.491Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-24T23:27:02.491Z] ---> 8515b80117e8 [2023-10-24T23:27:02.491Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-24T23:27:02.759Z] ---> Running in bf189b6e3240 [2023-10-24T23:27:03.029Z] Removing intermediate container bf189b6e3240 [2023-10-24T23:27:03.029Z] ---> 0bf5081de5da [2023-10-24T23:27:03.029Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T23:27:03.296Z] ---> Running in d1787fcbd7d8 [2023-10-24T23:27:03.570Z] Removing intermediate container d1787fcbd7d8 [2023-10-24T23:27:03.570Z] ---> ad16b41495a4 [2023-10-24T23:27:03.570Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T23:27:03.570Z] ---> Running in 705495c21315 [2023-10-24T23:27:04.162Z] Removing intermediate container 705495c21315 [2023-10-24T23:27:04.162Z] ---> 193192a6b29b [2023-10-24T23:27:04.162Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T23:27:04.162Z] ---> Running in f7deee72427f [2023-10-24T23:27:04.431Z] Removing intermediate container f7deee72427f [2023-10-24T23:27:04.431Z] ---> bf55c42be5b8 [2023-10-24T23:27:04.431Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T23:27:04.698Z] ---> Running in 663b5f3b38db [2023-10-24T23:27:06.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T23:27:06.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T23:27:07.824Z] OK: 270 MiB in 56 packages [2023-10-24T23:27:13.187Z] Removing intermediate container 663b5f3b38db [2023-10-24T23:27:13.187Z] ---> 9c61e874a707 [2023-10-24T23:27:13.187Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-24T23:27:13.187Z] ---> Running in 4d0088db0d78 [2023-10-24T23:27:13.187Z] Removing intermediate container 4d0088db0d78 [2023-10-24T23:27:13.187Z] ---> a415523933f9 [2023-10-24T23:27:13.187Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-24T23:27:13.187Z] ---> 6214cdcb78f1 [2023-10-24T23:27:13.187Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T23:27:13.457Z] ---> Running in f8a0c8ecedde [2023-10-24T23:27:16.041Z] Removing intermediate container f8a0c8ecedde [2023-10-24T23:27:16.041Z] ---> b2bb65284715 [2023-10-24T23:27:16.041Z] Step 11/24 : COPY . . [2023-10-24T23:27:16.624Z] ---> a41c5afb7124 [2023-10-24T23:27:16.624Z] Step 12/24 : RUN ${MAKE} [2023-10-24T23:27:16.624Z] ---> Running in db862834ddfa [2023-10-24T23:27:17.590Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-24T23:29:24.291Z] Removing intermediate container db862834ddfa [2023-10-24T23:29:24.291Z] ---> 9d8138f18040 [2023-10-24T23:29:24.291Z] Step 13/24 : FROM alpine:3.18 [2023-10-24T23:29:24.291Z] 3.18: Pulling from library/alpine [2023-10-24T23:29:24.291Z] 579b34f0a95b: Pulling fs layer [2023-10-24T23:29:24.291Z] 579b34f0a95b: Download complete [2023-10-24T23:29:24.291Z] 579b34f0a95b: Pull complete [2023-10-24T23:29:24.291Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T23:29:24.291Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T23:29:24.291Z] ---> 3cc203321400 [2023-10-24T23:29:24.291Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-24T23:29:24.291Z] ---> Running in 8eaaa5d7a9d6 [2023-10-24T23:29:24.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T23:29:24.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T23:29:24.291Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T23:29:24.291Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T23:29:24.291Z] OK: 8 MiB in 16 packages [2023-10-24T23:29:24.291Z] Removing intermediate container 8eaaa5d7a9d6 [2023-10-24T23:29:24.291Z] ---> 7cddac08a436 [2023-10-24T23:29:24.291Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-24T23:29:25.704Z] ---> 6d80f12599a7 [2023-10-24T23:29:25.704Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-24T23:29:26.295Z] ---> 6c448b71cd60 [2023-10-24T23:29:26.295Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-24T23:29:26.565Z] ---> 093793189aa6 [2023-10-24T23:29:26.565Z] Step 18/24 : EXPOSE 59993 [2023-10-24T23:29:26.834Z] ---> Running in d664a8310e81 [2023-10-24T23:29:27.098Z] Removing intermediate container d664a8310e81 [2023-10-24T23:29:27.098Z] ---> 742ce16b7f23 [2023-10-24T23:29:27.098Z] Step 19/24 : EXPOSE 161 [2023-10-24T23:29:27.098Z] ---> Running in 4cb934d716bc [2023-10-24T23:29:27.366Z] Removing intermediate container 4cb934d716bc [2023-10-24T23:29:27.366Z] ---> 2a40d5c6e724 [2023-10-24T23:29:27.366Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-24T23:29:27.367Z] ---> Running in bb325a619c23 [2023-10-24T23:29:27.635Z] Removing intermediate container bb325a619c23 [2023-10-24T23:29:27.635Z] ---> bfc66327e2b5 [2023-10-24T23:29:27.635Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T23:29:27.901Z] ---> Running in 26aa48b396f4 [2023-10-24T23:29:28.165Z] Removing intermediate container 26aa48b396f4 [2023-10-24T23:29:28.165Z] ---> 090de064020e [2023-10-24T23:29:28.165Z] Step 22/24 : LABEL arch=arm64 [2023-10-24T23:29:28.165Z] ---> Running in fafc0738a3fc [2023-10-24T23:29:28.440Z] Removing intermediate container fafc0738a3fc [2023-10-24T23:29:28.440Z] ---> 9a6c8b5b44ea [2023-10-24T23:29:28.440Z] Step 23/24 : LABEL git_sha=e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:29:28.709Z] ---> Running in 1d9b72e33f9c [2023-10-24T23:29:28.976Z] Removing intermediate container 1d9b72e33f9c [2023-10-24T23:29:28.976Z] ---> 76bdb52086b1 [2023-10-24T23:29:28.976Z] Step 24/24 : LABEL version=3.1.0-dev.8 [2023-10-24T23:29:28.976Z] ---> Running in 4ab4742ba06e [2023-10-24T23:29:29.243Z] Removing intermediate container 4ab4742ba06e [2023-10-24T23:29:29.243Z] ---> 30007dacceaa [2023-10-24T23:29:29.243Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T23:29:29.243Z] Successfully built 30007dacceaa [2023-10-24T23:29:29.243Z] 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-10-24T23:29:29.346Z] provisioning config files... [2023-10-24T23:29:29.361Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/94@tmp/config7276789231637337995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:29:29.697Z] ---> docker-login.sh [2023-10-24T23:29:29.697Z] nexus3.edgexfoundry.org:10001 [2023-10-24T23:29:29.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:29:29.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:29:29.965Z] Configure a credential helper to remove this warning. See [2023-10-24T23:29:29.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:29:29.965Z] [2023-10-24T23:29:29.965Z] Login Succeeded [2023-10-24T23:29:29.965Z] nexus3.edgexfoundry.org:10002 [2023-10-24T23:29:30.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:29:30.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:29:30.230Z] Configure a credential helper to remove this warning. See [2023-10-24T23:29:30.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:29:30.230Z] [2023-10-24T23:29:30.230Z] Login Succeeded [2023-10-24T23:29:30.230Z] nexus3.edgexfoundry.org:10003 [2023-10-24T23:29:30.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:29:30.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:29:30.761Z] Configure a credential helper to remove this warning. See [2023-10-24T23:29:30.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:29:30.761Z] [2023-10-24T23:29:30.761Z] Login Succeeded [2023-10-24T23:29:30.761Z] nexus3.edgexfoundry.org:10004 [2023-10-24T23:29:31.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:29:31.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:29:31.028Z] Configure a credential helper to remove this warning. See [2023-10-24T23:29:31.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:29:31.028Z] [2023-10-24T23:29:31.028Z] Login Succeeded [2023-10-24T23:29:31.028Z] docker.io [2023-10-24T23:29:31.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T23:29:31.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T23:29:31.565Z] Configure a credential helper to remove this warning. See [2023-10-24T23:29:31.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T23:29:31.565Z] [2023-10-24T23:29:31.565Z] Login Succeeded [2023-10-24T23:29:31.565Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T23:29:31.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T23:29:31.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T23:29:31.627Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-10-24T23:29:31.627Z] e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:29:31.627Z] latest [2023-10-24T23:29:31.627Z] 3.1.0-dev.8 [2023-10-24T23:29:31.627Z] e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:29:31.627Z] main [2023-10-24T23:29:31.627Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:31.964Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:32.513Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:29:32.513Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T23:29:32.513Z] e14a4e8bd85f: Preparing [2023-10-24T23:29:32.513Z] 38e898993254: Preparing [2023-10-24T23:29:32.513Z] cc99e0b4ddc0: Preparing [2023-10-24T23:29:32.513Z] ced9d94d3c4f: Preparing [2023-10-24T23:29:32.513Z] 5f4d9fc4d98d: Preparing [2023-10-24T23:29:32.513Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T23:29:32.806Z] e14a4e8bd85f: Pushed [2023-10-24T23:29:32.806Z] 38e898993254: Pushed [2023-10-24T23:29:32.806Z] ced9d94d3c4f: Pushed [2023-10-24T23:29:39.537Z] cc99e0b4ddc0: Pushed [2023-10-24T23:29:39.537Z] e3ad67b18069b788d3b650faffca04e548476692: digest: sha256:b4a6f0c64cccf3ade34d043a059d74fc136ff739ffa1abe68f654dd60f1467a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:39.890Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:40.233Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-24T23:29:40.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T23:29:40.233Z] e14a4e8bd85f: Preparing [2023-10-24T23:29:40.233Z] 38e898993254: Preparing [2023-10-24T23:29:40.233Z] cc99e0b4ddc0: Preparing [2023-10-24T23:29:40.233Z] ced9d94d3c4f: Preparing [2023-10-24T23:29:40.233Z] 5f4d9fc4d98d: Preparing [2023-10-24T23:29:40.233Z] ced9d94d3c4f: Layer already exists [2023-10-24T23:29:40.233Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T23:29:40.233Z] 38e898993254: Layer already exists [2023-10-24T23:29:40.233Z] cc99e0b4ddc0: Layer already exists [2023-10-24T23:29:40.233Z] e14a4e8bd85f: Layer already exists [2023-10-24T23:29:40.502Z] latest: digest: sha256:b4a6f0c64cccf3ade34d043a059d74fc136ff739ffa1abe68f654dd60f1467a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:40.877Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:41.242Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.8 [2023-10-24T23:29:41.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T23:29:41.242Z] e14a4e8bd85f: Preparing [2023-10-24T23:29:41.242Z] 38e898993254: Preparing [2023-10-24T23:29:41.242Z] cc99e0b4ddc0: Preparing [2023-10-24T23:29:41.242Z] ced9d94d3c4f: Preparing [2023-10-24T23:29:41.242Z] 5f4d9fc4d98d: Preparing [2023-10-24T23:29:41.242Z] 38e898993254: Layer already exists [2023-10-24T23:29:41.242Z] ced9d94d3c4f: Layer already exists [2023-10-24T23:29:41.242Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T23:29:41.242Z] e14a4e8bd85f: Layer already exists [2023-10-24T23:29:41.242Z] cc99e0b4ddc0: Layer already exists [2023-10-24T23:29:41.512Z] 3.1.0-dev.8: digest: sha256:b4a6f0c64cccf3ade34d043a059d74fc136ff739ffa1abe68f654dd60f1467a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:41.856Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:42.200Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:29:42.200Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T23:29:42.200Z] e14a4e8bd85f: Preparing [2023-10-24T23:29:42.200Z] 38e898993254: Preparing [2023-10-24T23:29:42.200Z] cc99e0b4ddc0: Preparing [2023-10-24T23:29:42.200Z] ced9d94d3c4f: Preparing [2023-10-24T23:29:42.200Z] 5f4d9fc4d98d: Preparing [2023-10-24T23:29:42.200Z] 38e898993254: Layer already exists [2023-10-24T23:29:42.200Z] e14a4e8bd85f: Layer already exists [2023-10-24T23:29:42.200Z] cc99e0b4ddc0: Layer already exists [2023-10-24T23:29:42.200Z] ced9d94d3c4f: Layer already exists [2023-10-24T23:29:42.200Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T23:29:42.200Z] e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8: digest: sha256:b4a6f0c64cccf3ade34d043a059d74fc136ff739ffa1abe68f654dd60f1467a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:42.808Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:43.146Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-10-24T23:29:43.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-24T23:29:43.147Z] e14a4e8bd85f: Preparing [2023-10-24T23:29:43.147Z] 38e898993254: Preparing [2023-10-24T23:29:43.147Z] cc99e0b4ddc0: Preparing [2023-10-24T23:29:43.147Z] ced9d94d3c4f: Preparing [2023-10-24T23:29:43.147Z] 5f4d9fc4d98d: Preparing [2023-10-24T23:29:43.147Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T23:29:43.147Z] ced9d94d3c4f: Layer already exists [2023-10-24T23:29:43.147Z] cc99e0b4ddc0: Layer already exists [2023-10-24T23:29:43.147Z] 38e898993254: Layer already exists [2023-10-24T23:29:43.147Z] e14a4e8bd85f: Layer already exists [2023-10-24T23:29:43.412Z] main: digest: sha256:b4a6f0c64cccf3ade34d043a059d74fc136ff739ffa1abe68f654dd60f1467a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T23:29:43.452Z] ===================================================== [Pipeline] echo [2023-10-24T23:29:43.458Z] taggedImages: [2023-10-24T23:29:43.458Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692 [2023-10-24T23:29:43.458Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-24T23:29:43.458Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.8 [2023-10-24T23:29:43.458Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:e3ad67b18069b788d3b650faffca04e548476692-3.1.0-dev.8 [2023-10-24T23:29:43.458Z] - 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-10-24T23:29:43.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T23:29:43.807Z] [2023-10-24T23:29:43.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:29:44.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T23:29:44.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T23:29:44.135Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T23:29:44.135Z] 04944245beec: Pulling fs layer [2023-10-24T23:29:44.135Z] 699f458cf7ca: Pulling fs layer [2023-10-24T23:29:44.135Z] 765212b225bb: Pulling fs layer [2023-10-24T23:29:44.135Z] f23df028b6ca: Pulling fs layer [2023-10-24T23:29:44.135Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T23:29:44.135Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T23:29:44.135Z] 765212b225bb: Waiting [2023-10-24T23:29:44.135Z] f23df028b6ca: Waiting [2023-10-24T23:29:44.135Z] d65c8cfc05b1: Waiting [2023-10-24T23:29:44.135Z] 2437ff75d9bd: Waiting [2023-10-24T23:29:44.404Z] 04944245beec: Verifying Checksum [2023-10-24T23:29:44.404Z] 04944245beec: Download complete [2023-10-24T23:29:44.404Z] 765212b225bb: Verifying Checksum [2023-10-24T23:29:44.404Z] 765212b225bb: Download complete [2023-10-24T23:29:44.404Z] f23df028b6ca: Verifying Checksum [2023-10-24T23:29:44.404Z] f23df028b6ca: Download complete [2023-10-24T23:29:44.404Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T23:29:44.404Z] d65c8cfc05b1: Download complete [2023-10-24T23:29:44.671Z] 699f458cf7ca: Verifying Checksum [2023-10-24T23:29:44.671Z] 699f458cf7ca: Download complete [2023-10-24T23:29:44.937Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T23:29:44.937Z] 8998bd30e6a1: Download complete [2023-10-24T23:29:47.526Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T23:29:47.526Z] 2437ff75d9bd: Download complete [2023-10-24T23:29:50.107Z] 8998bd30e6a1: Pull complete [2023-10-24T23:29:50.373Z] 04944245beec: Pull complete [2023-10-24T23:29:52.311Z] 699f458cf7ca: Pull complete [2023-10-24T23:29:52.311Z] 765212b225bb: Pull complete [2023-10-24T23:29:53.275Z] f23df028b6ca: Pull complete [2023-10-24T23:29:53.275Z] d65c8cfc05b1: Pull complete [2023-10-24T23:30:15.356Z] 2437ff75d9bd: Pull complete [2023-10-24T23:30:15.356Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T23:30:15.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T23:30:15.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:30:15.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-10326 does not seem to be running inside a container [2023-10-24T23:30:15.630Z] $ 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/94 -v /w/workspace/device-snmp-go/94:/w/workspace/device-snmp-go/94:rw,z -v /w/workspace/device-snmp-go/94@tmp:/w/workspace/device-snmp-go/94@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-10-24T23:30:19.222Z] $ docker top b96f20d03c919f09bee6ae9af0859a5ab288af986bf97d40ccabcfd7e72ae4d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:30:20.120Z] ---> job-cost.sh [2023-10-24T23:30:20.120Z] lf-activate-venv: SKIPPING [2023-10-24T23:30:20.120Z] INFO: No Stack... [2023-10-24T23:30:20.708Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T23:30:21.677Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T23:30:22.329Z] + cat /w/workspace/device-snmp-go/94/archives/cost.csv [2023-10-24T23:30:22.330Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T23:30:22.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [2023-10-24T23:30:22.416Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] did not exist. Created. [2023-10-24T23:30:22.416Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T23:30:23.089Z] /w/workspace/device-snmp-go/94@tmp/durable-d11a0533/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T23:30:23.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T23:30:23.775Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T23:30:23.825Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T23:30:23.831Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T23:30:23.845Z] $ docker stop --time=1 b96f20d03c919f09bee6ae9af0859a5ab288af986bf97d40ccabcfd7e72ae4d3 [2023-10-24T23:30:25.500Z] $ docker rm -f --volumes b96f20d03c919f09bee6ae9af0859a5ab288af986bf97d40ccabcfd7e72ae4d3 [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-10-24T23:30:25.909Z] provisioning config files... [2023-10-24T23:30:25.917Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12553718404946202741tmp [Pipeline] { [Pipeline] sh [2023-10-24T23:30:26.208Z] + set +x [2023-10-24T23:30:26.208Z] + curl -s https://codecov.io/bash [2023-10-24T23:30:26.208Z] + bash -s -- [2023-10-24T23:30:26.208Z] [2023-10-24T23:30:26.208Z] _____ _ [2023-10-24T23:30:26.209Z] / ____| | | [2023-10-24T23:30:26.209Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T23:30:26.209Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T23:30:26.209Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T23:30:26.209Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T23:30:26.209Z] Bash-1.0.6 [2023-10-24T23:30:26.209Z] [2023-10-24T23:30:26.209Z] [2023-10-24T23:30:26.209Z] ==> git version 2.25.1 found [2023-10-24T23:30:26.209Z] ==> 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-10-24T23:30:26.209Z] Release-Date: 2020-01-08 [2023-10-24T23:30:26.209Z] 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-10-24T23:30:26.209Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T23:30:26.209Z] ==> Jenkins CI detected. [2023-10-24T23:30:26.209Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-10-24T23:30:26.209Z] project root: . [2023-10-24T23:30:26.209Z] --> token set from env [2023-10-24T23:30:26.209Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T23:30:26.209Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T23:30:26.209Z] ==> Python coveragepy not found [2023-10-24T23:30:26.209Z] ==> Searching for coverage reports in: [2023-10-24T23:30:26.209Z] + . [2023-10-24T23:30:26.466Z] -> Found 1 reports [2023-10-24T23:30:26.466Z] ==> Detecting git/mercurial file structure [2023-10-24T23:30:26.466Z] ==> Reading reports [2023-10-24T23:30:26.466Z] + ./coverage.out bytes=8837 [2023-10-24T23:30:26.466Z] ==> Appending adjustments [2023-10-24T23:30:26.466Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T23:30:26.466Z] + Found adjustments [2023-10-24T23:30:26.466Z] ==> Gzipping contents [2023-10-24T23:30:26.466Z] 4.0K /tmp/codecov.8JKYj8.gz [2023-10-24T23:30:26.466Z] ==> Uploading reports [2023-10-24T23:30:26.466Z] url: https://codecov.io [2023-10-24T23:30:26.466Z] query: branch=main&commit=e3ad67b18069b788d3b650faffca04e548476692&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T23:30:26.466Z] -> Pinging Codecov [2023-10-24T23:30:26.466Z] 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=e3ad67b18069b788d3b650faffca04e548476692&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T23:31:22.704Z] -> Uploading to [2023-10-24T23:31:22.704Z] [2023-10-24T23:31:22.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T23:31:22.704Z] Dload Upload Total Spent Left Speed [2023-10-24T23:31:22.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: [2023-10-24T23:31:22.704Z] X> Failed to upload [2023-10-24T23:31:22.704Z] ==> Uploading to Codecov [2023-10-24T23:31:22.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T23:31:22.704Z] Dload Upload Total Spent Left Speed [2023-10-24T23:31:22.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1682 100 247 100 1435 1593 9258 --:--:-- --:--:-- --:--:-- 10851 [2023-10-24T23:31:22.704Z] Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "94051598-e81f-468a-a50b-96dbd13e7cf3", "url": "https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e3ad67b18069b788d3b650faffca04e548476692"} [Pipeline] } [2023-10-24T23:31:22.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T23:31:22.929Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T23:31:22.939Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:31:23.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T23:31:23.242Z] [2023-10-24T23:31:23.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:31:23.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T23:31:23.542Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T23:31:23.542Z] df9b9388f04a: Pulling fs layer [2023-10-24T23:31:23.542Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T23:31:23.542Z] 25bc292e5bac: Pulling fs layer [2023-10-24T23:31:23.542Z] 114826534d7a: Pulling fs layer [2023-10-24T23:31:23.542Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T23:31:23.542Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T23:31:23.542Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T23:31:23.542Z] 114826534d7a: Waiting [2023-10-24T23:31:23.542Z] 4657fd5d0bcf: Waiting [2023-10-24T23:31:23.542Z] 8a3aa393b2d8: Waiting [2023-10-24T23:31:23.542Z] 6ad1cebc031e: Waiting [2023-10-24T23:31:23.542Z] 25bc292e5bac: Verifying Checksum [2023-10-24T23:31:23.542Z] 25bc292e5bac: Download complete [2023-10-24T23:31:23.542Z] 52dc419b0ee2: Download complete [2023-10-24T23:31:23.542Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T23:31:23.542Z] 4657fd5d0bcf: Download complete [2023-10-24T23:31:23.542Z] df9b9388f04a: Verifying Checksum [2023-10-24T23:31:23.542Z] df9b9388f04a: Download complete [2023-10-24T23:31:23.803Z] df9b9388f04a: Pull complete [2023-10-24T23:31:23.803Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T23:31:23.803Z] 6ad1cebc031e: Download complete [2023-10-24T23:31:23.803Z] 52dc419b0ee2: Pull complete [2023-10-24T23:31:23.803Z] 25bc292e5bac: Pull complete [2023-10-24T23:31:24.371Z] 114826534d7a: Verifying Checksum [2023-10-24T23:31:24.371Z] 114826534d7a: Download complete [2023-10-24T23:31:24.371Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T23:31:24.371Z] 8a3aa393b2d8: Download complete [2023-10-24T23:31:27.649Z] 114826534d7a: Pull complete [2023-10-24T23:31:27.649Z] 4657fd5d0bcf: Pull complete [2023-10-24T23:31:28.214Z] 6ad1cebc031e: Pull complete [2023-10-24T23:31:30.737Z] 8a3aa393b2d8: Pull complete [2023-10-24T23:31:30.737Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T23:31:30.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T23:31:30.737Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:31:30.813Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:31:30.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T23:31:35.813Z] $ docker top 22892dac98ce605fa19716e21abf2d4c1802f0f32a27e4025713c8ca239be7a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T23:31:35.872Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-10-24T23:31:36.151Z] + set -o pipefail [2023-10-24T23:31:36.151Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-10-24T23:31:44.258Z] [2023-10-24T23:31:44.258Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-10-24T23:31:44.258Z] [2023-10-24T23:31:44.258Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d1779b79-f3b1-498f-be88-4570eeeec420 [2023-10-24T23:31:44.258Z] [2023-10-24T23:31:44.258Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T23:31:44.258Z] [2023-10-24T23:31:44.258Z] [2023-10-24T23:31:44.258Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T23:31:44.258Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T23:31:44.258Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T23:31:44.279Z] $ docker stop --time=1 22892dac98ce605fa19716e21abf2d4c1802f0f32a27e4025713c8ca239be7a1 [2023-10-24T23:31:48.002Z] $ docker rm -f --volumes 22892dac98ce605fa19716e21abf2d4c1802f0f32a27e4025713c8ca239be7a1 [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-10-24T23:31:48.710Z] + git log --format=format:%s -1 e3ad67b18069b788d3b650faffca04e548476692 [Pipeline] sh [2023-10-24T23:31:49.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T23:31:49.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:31:49.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:31:49.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:31:49.363Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:31:49.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T23:31:49.768Z] $ docker top 31caf03c6cc39c6fdea14407e4a1f18db16b3f9705578b8d4cd8bf4904808990 -eo pid,comm [2023-10-24T23:31:49.805Z] 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-10-24T23:31:49.805Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T23:31:49.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T23:31:49.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T23:31:49.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T23:31:49.947Z] $ docker exec 31caf03c6cc39c6fdea14407e4a1f18db16b3f9705578b8d4cd8bf4904808990 ssh-agent [2023-10-24T23:31:50.050Z] SSH_AUTH_SOCK=/tmp/ssh-FowHuLwMWi8k/agent.32 [2023-10-24T23:31:50.050Z] SSH_AGENT_PID=38 [2023-10-24T23:31:50.055Z] Running ssh-add (command line suppressed) [2023-10-24T23:31:50.171Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17715338335762547854.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17715338335762547854.key) [2023-10-24T23:31:50.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T23:31:50.462Z] + git semver tag [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,629 [run_tag] DEBUG tag force:False [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,629 [check_head_tag] DEBUG check head tag [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,629 [execute] INFO git cat-file --batch-check [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,633 [execute] INFO git cat-file --batch [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,644 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,645 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,645 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T23:31:50.721Z] 2023-10-24 23:31:50,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:31:50.721Z] 3.1.0-dev.8 [Pipeline] } [2023-10-24T23:31:50.742Z] $ docker exec --env ******** --env ******** 31caf03c6cc39c6fdea14407e4a1f18db16b3f9705578b8d4cd8bf4904808990 ssh-agent -k [2023-10-24T23:31:50.834Z] unset SSH_AUTH_SOCK; [2023-10-24T23:31:50.834Z] unset SSH_AGENT_PID; [2023-10-24T23:31:50.834Z] echo Agent pid 38 killed; [2023-10-24T23:31:50.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T23:31:51.138Z] + git semver [Pipeline] } [2023-10-24T23:31:51.419Z] $ docker stop --time=1 31caf03c6cc39c6fdea14407e4a1f18db16b3f9705578b8d4cd8bf4904808990 [2023-10-24T23:31:52.684Z] $ docker rm -f --volumes 31caf03c6cc39c6fdea14407e4a1f18db16b3f9705578b8d4cd8bf4904808990 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:31:53.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T23:31:53.064Z] [2023-10-24T23:31:53.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:31:53.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T23:31:53.358Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T23:31:53.358Z] ab5ef0e58194: Pulling fs layer [2023-10-24T23:31:53.358Z] 9712f1f96733: Pulling fs layer [2023-10-24T23:31:53.358Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T23:31:53.358Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T23:31:53.358Z] e9a5061849ea: Pulling fs layer [2023-10-24T23:31:53.358Z] d747dcd14b5f: Pulling fs layer [2023-10-24T23:31:53.358Z] 2de7ff778b66: Pulling fs layer [2023-10-24T23:31:53.358Z] 0d9ebad4ef96: Waiting [2023-10-24T23:31:53.358Z] e9a5061849ea: Waiting [2023-10-24T23:31:53.358Z] d747dcd14b5f: Waiting [2023-10-24T23:31:53.358Z] 9712f1f96733: Verifying Checksum [2023-10-24T23:31:53.358Z] 9712f1f96733: Download complete [2023-10-24T23:31:53.616Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T23:31:53.616Z] 63f879dbbcfc: Download complete [2023-10-24T23:31:53.872Z] ab5ef0e58194: Verifying Checksum [2023-10-24T23:31:53.872Z] ab5ef0e58194: Download complete [2023-10-24T23:31:53.872Z] d747dcd14b5f: Verifying Checksum [2023-10-24T23:31:53.872Z] d747dcd14b5f: Download complete [2023-10-24T23:31:53.872Z] e9a5061849ea: Verifying Checksum [2023-10-24T23:31:53.872Z] e9a5061849ea: Download complete [2023-10-24T23:31:53.872Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T23:31:53.872Z] 0d9ebad4ef96: Download complete [2023-10-24T23:31:53.872Z] 2de7ff778b66: Verifying Checksum [2023-10-24T23:31:53.872Z] 2de7ff778b66: Download complete [2023-10-24T23:31:56.395Z] ab5ef0e58194: Pull complete [2023-10-24T23:31:56.395Z] 9712f1f96733: Pull complete [2023-10-24T23:31:56.959Z] 63f879dbbcfc: Pull complete [2023-10-24T23:32:01.144Z] 0d9ebad4ef96: Pull complete [2023-10-24T23:32:01.144Z] e9a5061849ea: Pull complete [2023-10-24T23:32:01.144Z] d747dcd14b5f: Pull complete [2023-10-24T23:32:02.077Z] 2de7ff778b66: Pull complete [2023-10-24T23:32:02.077Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T23:32:02.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T23:32:02.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:32:02.161Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:32:02.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T23:32:07.575Z] $ docker top e94db7a666e10fa50e9d11c313b87761d81f601534cadf07ff8adc55d4adf24f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T23:32:07.627Z] provisioning config files... [2023-10-24T23:32:07.632Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12119495302928423365tmp [2023-10-24T23:32:07.643Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16531483383900416766tmp [2023-10-24T23:32:07.652Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4088312361849722430tmp [Pipeline] { [Pipeline] echo [2023-10-24T23:32:07.670Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:07.951Z] ---> sigul-configuration.sh [2023-10-24T23:32:07.952Z] gpg: directory `/root/.gnupg' created [2023-10-24T23:32:07.952Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T23:32:07.952Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T23:32:07.952Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T23:32:07.952Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T23:32:07.952Z] gpg: CAST5 encrypted data [2023-10-24T23:32:07.952Z] gpg: encrypted with 1 passphrase [2023-10-24T23:32:07.952Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T23:32:08.229Z] + mkdir /home/jenkins [2023-10-24T23:32:08.229Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T23:32:08.505Z] + 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-10-24T23:32:08.512Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:08.790Z] ---> sigul-install.sh [2023-10-24T23:32:08.790Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T23:32:09.068Z] + git tag --list [2023-10-24T23:32:09.068Z] 1.0.0 [2023-10-24T23:32:09.068Z] v0.0.0 [2023-10-24T23:32:09.068Z] v1.1.0 [2023-10-24T23:32:09.068Z] v1.1.1 [2023-10-24T23:32:09.068Z] v1.2.2 [2023-10-24T23:32:09.068Z] v1.3.0 [2023-10-24T23:32:09.068Z] v1.3.1 [2023-10-24T23:32:09.068Z] v2.0.0 [2023-10-24T23:32:09.068Z] v2.1.0 [2023-10-24T23:32:09.068Z] v2.1.1 [2023-10-24T23:32:09.068Z] v2.2.0 [2023-10-24T23:32:09.068Z] v2.3.0 [2023-10-24T23:32:09.068Z] v3.0 [2023-10-24T23:32:09.068Z] v3.0.0 [2023-10-24T23:32:09.068Z] v3.1.0-dev.1 [2023-10-24T23:32:09.068Z] v3.1.0-dev.2 [2023-10-24T23:32:09.068Z] v3.1.0-dev.3 [2023-10-24T23:32:09.068Z] v3.1.0-dev.4 [2023-10-24T23:32:09.068Z] v3.1.0-dev.5 [2023-10-24T23:32:09.068Z] v3.1.0-dev.6 [2023-10-24T23:32:09.068Z] v3.1.0-dev.7 [2023-10-24T23:32:09.068Z] v3.1.0-dev.8 [Pipeline] sh [2023-10-24T23:32:09.352Z] + lftools sign git-tag v3.1.0-dev.8 [2023-10-24T23:32:09.919Z] Signing Git tag with Sigul... [2023-10-24T23:32:09.919Z] Signing v3.1.0-dev.8 [Pipeline] echo [2023-10-24T23:32:10.188Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:10.475Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T23:32:10.483Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T23:32:10.514Z] $ docker stop --time=1 e94db7a666e10fa50e9d11c313b87761d81f601534cadf07ff8adc55d4adf24f [2023-10-24T23:32:11.798Z] $ docker rm -f --volumes e94db7a666e10fa50e9d11c313b87761d81f601534cadf07ff8adc55d4adf24f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T23:32:12.198Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T23:32:12.198Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:32:12.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:32:12.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:32:12.572Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:32:12.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T23:32:12.944Z] $ docker top 85ee979df6bb76c4669b16b65d5b515c9b99fcdfef4e64ca56655fb9b3488f44 -eo pid,comm [2023-10-24T23:32:12.977Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T23:32:12.977Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T23:32:13.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T23:32:13.015Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T23:32:13.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T23:32:13.139Z] $ docker exec 85ee979df6bb76c4669b16b65d5b515c9b99fcdfef4e64ca56655fb9b3488f44 ssh-agent [2023-10-24T23:32:13.232Z] SSH_AUTH_SOCK=/tmp/ssh-irXCDIAVux9h/agent.34 [2023-10-24T23:32:13.232Z] SSH_AGENT_PID=40 [2023-10-24T23:32:13.237Z] Running ssh-add (command line suppressed) [2023-10-24T23:32:13.349Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14805896317491429150.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14805896317491429150.key) [2023-10-24T23:32:13.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T23:32:13.640Z] + git semver bump pre [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [bump_version] DEBUG bumped version:3.1.0-dev.9 [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,826 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,828 [execute] INFO git cat-file --batch-check [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,833 [execute] INFO git cat-file --batch [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T23:32:13.899Z] 2023-10-24 23:32:13,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:32:13.899Z] 3.1.0-dev.9 [Pipeline] } [2023-10-24T23:32:13.920Z] $ docker exec --env ******** --env ******** 85ee979df6bb76c4669b16b65d5b515c9b99fcdfef4e64ca56655fb9b3488f44 ssh-agent -k [2023-10-24T23:32:14.016Z] unset SSH_AUTH_SOCK; [2023-10-24T23:32:14.016Z] unset SSH_AGENT_PID; [2023-10-24T23:32:14.016Z] echo Agent pid 40 killed; [2023-10-24T23:32:14.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T23:32:14.322Z] + git semver [Pipeline] } [2023-10-24T23:32:14.604Z] $ docker stop --time=1 85ee979df6bb76c4669b16b65d5b515c9b99fcdfef4e64ca56655fb9b3488f44 [2023-10-24T23:32:15.900Z] $ docker rm -f --volumes 85ee979df6bb76c4669b16b65d5b515c9b99fcdfef4e64ca56655fb9b3488f44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T23:32:16.218Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T23:32:16.218Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:32:16.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T23:32:16.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:32:16.584Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:32:16.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T23:32:16.957Z] $ docker top ad1e3ba6c6a0c2ea143318abfb3fb49bf6ee1f523b46e2e07d047737ad73f932 -eo pid,comm [2023-10-24T23:32:16.987Z] 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-10-24T23:32:16.987Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T23:32:17.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T23:32:17.026Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T23:32:17.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T23:32:17.157Z] $ docker exec ad1e3ba6c6a0c2ea143318abfb3fb49bf6ee1f523b46e2e07d047737ad73f932 ssh-agent [2023-10-24T23:32:17.251Z] SSH_AUTH_SOCK=/tmp/ssh-pqXhVyPjZZIx/agent.31 [2023-10-24T23:32:17.251Z] SSH_AGENT_PID=38 [2023-10-24T23:32:17.255Z] Running ssh-add (command line suppressed) [2023-10-24T23:32:17.356Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16223408047613048739.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16223408047613048739.key) [2023-10-24T23:32:17.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T23:32:17.637Z] + git semver push [2023-10-24T23:32:17.895Z] 2023-10-24 23:32:17,824 [run_push] DEBUG push [2023-10-24T23:32:17.895Z] 2023-10-24 23:32:17,824 [execute] INFO git cat-file --batch-check [2023-10-24T23:32:17.895Z] 2023-10-24 23:32:17,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T23:32:17.895Z] 2023-10-24 23:32:17,828 [execute] INFO git rev-list ed0212bf9dad1e65f9f440fd87cfe16fa292c92a -- [2023-10-24T23:32:17.895Z] 2023-10-24 23:32:17,828 [execute] DEBUG Popen(['git', 'rev-list', 'ed0212bf9dad1e65f9f440fd87cfe16fa292c92a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T23:32:17.896Z] 2023-10-24 23:32:17,836 [execute] INFO git fetch -v origin [2023-10-24T23:32:17.896Z] 2023-10-24 23:32:17,836 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T23:32:18.838Z] 2023-10-24 23:32:18,490 [run_push] DEBUG no remote changes detected [2023-10-24T23:32:18.838Z] 2023-10-24 23:32:18,490 [execute] INFO git push origin semver [2023-10-24T23:32:18.838Z] 2023-10-24 23:32:18,490 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T23:32:19.405Z] 2023-10-24 23:32:19,310 [run_push] DEBUG push all version tags [2023-10-24T23:32:19.405Z] 2023-10-24 23:32:19,310 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T23:32:19.405Z] 2023-10-24 23:32:19,311 [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-10-24T23:32:20.341Z] 2023-10-24 23:32:20,067 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-24T23:32:20.341Z] 3.1.0-dev.9 [Pipeline] } [2023-10-24T23:32:20.363Z] $ docker exec --env ******** --env ******** ad1e3ba6c6a0c2ea143318abfb3fb49bf6ee1f523b46e2e07d047737ad73f932 ssh-agent -k [2023-10-24T23:32:20.449Z] unset SSH_AUTH_SOCK; [2023-10-24T23:32:20.450Z] unset SSH_AGENT_PID; [2023-10-24T23:32:20.450Z] echo Agent pid 38 killed; [2023-10-24T23:32:20.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T23:32:20.758Z] + git semver [Pipeline] } [2023-10-24T23:32:21.041Z] $ docker stop --time=1 ad1e3ba6c6a0c2ea143318abfb3fb49bf6ee1f523b46e2e07d047737ad73f932 [2023-10-24T23:32:22.298Z] $ docker rm -f --volumes ad1e3ba6c6a0c2ea143318abfb3fb49bf6ee1f523b46e2e07d047737ad73f932 [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-10-24T23:32:22.837Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-10-24T23:32:22.837Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T23:32:22.837Z] total 16 [2023-10-24T23:32:22.837Z] drwxr-xr-x 3 root root 4096 Oct 24 23:21 . [2023-10-24T23:32:22.837Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:32 .. [2023-10-24T23:32:22.837Z] drwxr-xr-x 2 root root 4096 Oct 24 23:21 cost [2023-10-24T23:32:22.837Z] -rw-r--r-- 1 root root 85 Oct 24 23:21 cost.csv [2023-10-24T23:32:22.837Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T23:32:22.837Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-24T23:32:22.837Z] total 16 [2023-10-24T23:32:22.837Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:21 . [2023-10-24T23:32:22.837Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:32 .. [2023-10-24T23:32:22.837Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 23:21 cost [2023-10-24T23:32:22.837Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 24 23:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:23.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:23.976Z] ---> package-listing.sh [2023-10-24T23:32:23.976Z] ++ facter osfamily [2023-10-24T23:32:23.976Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T23:32:24.235Z] + OS_FAMILY=debian [2023-10-24T23:32:24.235Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-10-24T23:32:24.235Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T23:32:24.235Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T23:32:24.235Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T23:32:24.235Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T23:32:24.235Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-24T23:32:24.235Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T23:32:24.235Z] + case "${OS_FAMILY}" in [2023-10-24T23:32:24.235Z] + dpkg -l [2023-10-24T23:32:24.235Z] + grep '^ii' [2023-10-24T23:32:24.235Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T23:32:24.235Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T23:32:24.235Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T23:32:24.235Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-24T23:32:24.235Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-10-24T23:32:24.235Z] + 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-10-24T23:32:24.245Z] 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-10-24T23:32:24.522Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T23:32:25.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T23:32:25.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T23:32:25.149Z] prd-ubuntu20.04-docker-8c-8g-10323 does not seem to be running inside a container [2023-10-24T23:32:25.290Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T23:32:25.496Z] $ docker top 2a08a984005d05d00ae3550e1149846f0810a19c985a6d748f589e4246bf0613 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T23:32:25.841Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T23:32:26.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T23:32:26.417Z] + ls /var/log/sa-host [2023-10-24T23:32:26.417Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T23:32:26.580Z] provisioning config files... [2023-10-24T23:32:26.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7065811702176596884tmp [Pipeline] { [Pipeline] echo [2023-10-24T23:32:26.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:26.886Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T23:32:26.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:27.219Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T23:32:27.229Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:27.510Z] ---> sudo-logs.sh [2023-10-24T23:32:27.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T23:32:27.531Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:27.812Z] ---> job-cost.sh [2023-10-24T23:32:27.812Z] lf-activate-venv: SKIPPING [2023-10-24T23:32:27.812Z] DEBUG: total: 0.2199999988079071 [2023-10-24T23:32:27.812Z] INFO: Retrieving Stack Cost... [2023-10-24T23:32:28.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T23:32:28.639Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T23:32:28.648Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T23:32:28.930Z] ---> logs-deploy.sh [2023-10-24T23:32:28.930Z] lf-activate-venv: SKIPPING [2023-10-24T23:32:28.930Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/94 [2023-10-24T23:32:28.930Z] INFO: archiving workspace using pattern(s): [2023-10-24T23:32:29.865Z] Archives upload complete. [2023-10-24T23:32:29.865Z] INFO: archiving logs to Nexus