Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5a8eecad0964d203a89aaaae76bac199dfc367d 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-ssh1557064299501663189.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11498811497266972346.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh572018077870359112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1189630326500829458.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16099044784476362547.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18181 in /w/workspace/edgexfoundry_device-snmp-go_napa [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_napa # 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 > 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 Avoid second fetch Checking out Revision a5a8eecad0964d203a89aaaae76bac199dfc367d (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @b852d33" > git config core.sparsecheckout # timeout=10 > git checkout -f a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 > git rev-list --no-walk a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T22:16:25.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T22:16:25.553Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:16:25.571Z] ========================================================= [2023-11-15T22:16:25.571Z] EdgeX Global Pipelines Version Info [2023-11-15T22:16:25.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:16:26.279Z] ------------------- [2023-11-15T22:16:26.279Z] stable info: [2023-11-15T22:16:26.279Z] ------------------- [2023-11-15T22:16:26.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-15T22:16:26.279Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:16:26.279Z] Message: update stable to v1.0.258 [2023-11-15T22:16:26.848Z] ------------------- [2023-11-15T22:16:26.848Z] experimental info: [2023-11-15T22:16:26.848Z] ------------------- [2023-11-15T22:16:26.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T22:16:26.848Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:16:26.848Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T22:16:27.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-15T22:16:27.022Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-15T22:16:27.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T22:16:27.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T22:16:27.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T22:16:27.092Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T22:16:27.106Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T22:16:27.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T22:16:27.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T22:16:27.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T22:16:27.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T22:16:27.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-15T22:16:27.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T22:16:27.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T22:16:27.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:16:27.253Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:16:27.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:16:27.280Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:16:27.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T22:16:27.317Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T22:16:27.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-15T22:16:27.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-15T22:16:27.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T22:16:27.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T22:16:27.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T22:16:27.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T22:16:27.421Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T22:16:27.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2023-11-15T22:16:27.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2023-11-15T22:16:27.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2023-11-15T22:16:27.497Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo [2023-11-15T22:16:27.517Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5a8eec [Pipeline] echo [2023-11-15T22:16:27.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:16:27.590Z] provisioning config files... [2023-11-15T22:16:27.604Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config2005692950427609363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:16:27.919Z] ---> docker-login.sh [2023-11-15T22:16:27.919Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:16:28.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:28.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:28.213Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:28.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:28.213Z] [2023-11-15T22:16:28.472Z] Login Succeeded [2023-11-15T22:16:28.472Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:16:28.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:28.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:28.472Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:28.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:28.472Z] [2023-11-15T22:16:28.472Z] Login Succeeded [2023-11-15T22:16:28.472Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:16:28.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:28.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:28.472Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:28.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:28.472Z] [2023-11-15T22:16:28.472Z] Login Succeeded [2023-11-15T22:16:28.472Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:16:28.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:28.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:28.731Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:28.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:28.731Z] [2023-11-15T22:16:28.731Z] Login Succeeded [2023-11-15T22:16:28.731Z] docker.io [2023-11-15T22:16:28.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:28.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:28.990Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:28.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:28.990Z] [2023-11-15T22:16:28.990Z] Login Succeeded [2023-11-15T22:16:28.990Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:16:28.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T22:16:29.367Z] + git rev-list -1 --merges a5a8eecad0964d203a89aaaae76bac199dfc367d~1..a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo [2023-11-15T22:16:29.418Z] -----------> git rev-list -1 --merges a5a8eecad0964d203a89aaaae76bac199dfc367d~1..a5a8eecad0964d203a89aaaae76bac199dfc367d a5a8eecad0964d203a89aaaae76bac199dfc367d [false] [Pipeline] sh [2023-11-15T22:16:29.710Z] + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo [2023-11-15T22:16:29.725Z] ========================================================= [2023-11-15T22:16:29.726Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-11-15T22:16:29.726Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:16:30.058Z] + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo [2023-11-15T22:16:30.069Z] [semverPrep] GIT_COMMIT: a5a8eecad0964d203a89aaaae76bac199dfc367d, Commit Message: ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] echo [2023-11-15T22:16:30.077Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T22:16:30.413Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:16:30.413Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T22:16:30.413Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T22:16:30.413Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T22:16:30.413Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T22:16:30.413Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T22:16:30.413Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:16:30.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:16:30.758Z] [2023-11-15T22:16:30.758Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:16:31.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:16:31.082Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T22:16:31.082Z] b85a868b505f: Pulling fs layer [2023-11-15T22:16:31.082Z] e2be974225ed: Pulling fs layer [2023-11-15T22:16:31.082Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T22:16:31.082Z] 988bab9f4d93: Pulling fs layer [2023-11-15T22:16:31.082Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T22:16:31.082Z] eaf3925da568: Pulling fs layer [2023-11-15T22:16:31.082Z] bab4dde63d76: Pulling fs layer [2023-11-15T22:16:31.082Z] bde34c3a00c8: Pulling fs layer [2023-11-15T22:16:31.082Z] b352a97aabf1: Pulling fs layer [2023-11-15T22:16:31.082Z] 1469e6f7b9e6: Waiting [2023-11-15T22:16:31.082Z] 4872d77fe225: Pulling fs layer [2023-11-15T22:16:31.082Z] 5851b861e8e6: Pulling fs layer [2023-11-15T22:16:31.082Z] eaf3925da568: Waiting [2023-11-15T22:16:31.082Z] bab4dde63d76: Waiting [2023-11-15T22:16:31.082Z] b352a97aabf1: Waiting [2023-11-15T22:16:31.082Z] 4872d77fe225: Waiting [2023-11-15T22:16:31.082Z] bde34c3a00c8: Waiting [2023-11-15T22:16:31.082Z] 988bab9f4d93: Waiting [2023-11-15T22:16:31.082Z] e2be974225ed: Verifying Checksum [2023-11-15T22:16:31.082Z] e2be974225ed: Download complete [2023-11-15T22:16:31.082Z] 988bab9f4d93: Download complete [2023-11-15T22:16:31.082Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T22:16:31.082Z] 339a4e72a1f5: Download complete [2023-11-15T22:16:31.082Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T22:16:31.082Z] 1469e6f7b9e6: Download complete [2023-11-15T22:16:31.082Z] eaf3925da568: Verifying Checksum [2023-11-15T22:16:31.082Z] eaf3925da568: Download complete [2023-11-15T22:16:31.082Z] bde34c3a00c8: Download complete [2023-11-15T22:16:31.352Z] b352a97aabf1: Verifying Checksum [2023-11-15T22:16:31.352Z] b352a97aabf1: Download complete [2023-11-15T22:16:31.352Z] 4872d77fe225: Verifying Checksum [2023-11-15T22:16:31.352Z] 4872d77fe225: Download complete [2023-11-15T22:16:31.352Z] 5851b861e8e6: Verifying Checksum [2023-11-15T22:16:31.352Z] 5851b861e8e6: Download complete [2023-11-15T22:16:31.352Z] b85a868b505f: Verifying Checksum [2023-11-15T22:16:31.352Z] b85a868b505f: Download complete [2023-11-15T22:16:31.610Z] bab4dde63d76: Verifying Checksum [2023-11-15T22:16:31.610Z] bab4dde63d76: Download complete [2023-11-15T22:16:32.544Z] b85a868b505f: Pull complete [2023-11-15T22:16:32.544Z] e2be974225ed: Pull complete [2023-11-15T22:16:33.111Z] 339a4e72a1f5: Pull complete [2023-11-15T22:16:33.111Z] 988bab9f4d93: Pull complete [2023-11-15T22:16:33.371Z] 1469e6f7b9e6: Pull complete [2023-11-15T22:16:33.371Z] eaf3925da568: Pull complete [2023-11-15T22:16:35.275Z] bab4dde63d76: Pull complete [2023-11-15T22:16:35.275Z] bde34c3a00c8: Pull complete [2023-11-15T22:16:35.275Z] b352a97aabf1: Pull complete [2023-11-15T22:16:35.275Z] 4872d77fe225: Pull complete [2023-11-15T22:16:35.533Z] 5851b861e8e6: Pull complete [2023-11-15T22:16:35.533Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T22:16:35.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:16:35.533Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:16:35.756Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:16:36.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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-11-15T22:16:47.369Z] $ docker top 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 -eo pid,comm [2023-11-15T22:16:47.282Z] 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-11-15T22:16:47.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T22:16:47.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:16:47.322Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:16:47.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:16:47.683Z] $ docker exec 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent [2023-11-15T22:16:47.552Z] SSH_AUTH_SOCK=/tmp/ssh-jpzwWjDcA0Gw/agent.14 [2023-11-15T22:16:47.552Z] SSH_AGENT_PID=20 [2023-11-15T22:16:47.559Z] Running ssh-add (command line suppressed) [2023-11-15T22:16:47.886Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_7035306213678552471.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_7035306213678552471.key) [2023-11-15T22:16:47.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:16:47.974Z] + git tag --points-at a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [2023-11-15T22:16:48.211Z] $ docker exec --env ******** --env ******** 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent -k [2023-11-15T22:16:48.377Z] unset SSH_AUTH_SOCK; [2023-11-15T22:16:48.378Z] unset SSH_AGENT_PID; [2023-11-15T22:16:48.378Z] echo Agent pid 20 killed; [2023-11-15T22:16:48.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-11-15T22:16:48.188Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent [2023-11-15T22:16:48.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:16:48.203Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:16:48.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:16:48.517Z] $ docker exec 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent [2023-11-15T22:16:48.402Z] SSH_AUTH_SOCK=/tmp/ssh-rwkVPNMb5u1u/agent.52 [2023-11-15T22:16:48.402Z] SSH_AGENT_PID=59 [2023-11-15T22:16:48.407Z] Running ssh-add (command line suppressed) [2023-11-15T22:16:48.713Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_16285093147198532101.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_16285093147198532101.key) [2023-11-15T22:16:48.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:16:48.800Z] + git semver init [2023-11-15T22:16:49.366Z] 2023-11-15 22:16:49,351 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T22:16:49.366Z] 2023-11-15 22:16:49,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver [2023-11-15T22:16:49.366Z] 2023-11-15 22:16:49,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_napa/.semver [2023-11-15T22:16:49.366Z] 2023-11-15 22:16:49,354 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_napa, universal_newlines=False, shell=None, istream=None) [2023-11-15T22:16:50.743Z] 2023-11-15 22:16:50,627 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_napa/.git/info/exclude [2023-11-15T22:16:50.743Z] 2023-11-15 22:16:50,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa with force:False [2023-11-15T22:16:50.743Z] 2023-11-15 22:16:50,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa [2023-11-15T22:16:50.743Z] 2023-11-15 22:16:50,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa [2023-11-15T22:16:50.743Z] 3.1.0 [Pipeline] } [2023-11-15T22:16:50.908Z] $ docker exec --env ******** --env ******** 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent -k [2023-11-15T22:16:50.988Z] unset SSH_AUTH_SOCK; [2023-11-15T22:16:50.988Z] unset SSH_AGENT_PID; [2023-11-15T22:16:50.989Z] echo Agent pid 59 killed; [2023-11-15T22:16:50.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:16:51.144Z] + git semver [Pipeline] } [2023-11-15T22:16:51.556Z] $ docker stop --time=1 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 [2023-11-15T22:16:53.054Z] $ docker rm -f --volumes 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:16:53.281Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T22:16:53.483Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T22:16:53.487Z] [edgeXSemver]: initialized semver on version 3.1.0 [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] sh [2023-11-15T22:16:53.911Z] + git checkout a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:16:53.911Z] HEAD is now at a5a8eec ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:16:53.940Z] provisioning config files... [2023-11-15T22:16:53.948Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config12171545296178447900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:16:54.246Z] ---> docker-login.sh [2023-11-15T22:16:54.246Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:16:54.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:54.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:54.246Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:54.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:54.246Z] [2023-11-15T22:16:54.246Z] Login Succeeded [2023-11-15T22:16:54.246Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:16:54.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:54.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:54.246Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:54.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:54.246Z] [2023-11-15T22:16:54.246Z] Login Succeeded [2023-11-15T22:16:54.246Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:16:54.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:54.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:54.504Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:54.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:54.504Z] [2023-11-15T22:16:54.504Z] Login Succeeded [2023-11-15T22:16:54.504Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:16:54.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:54.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:54.762Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:54.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:54.762Z] [2023-11-15T22:16:54.762Z] Login Succeeded [2023-11-15T22:16:54.762Z] docker.io [2023-11-15T22:16:54.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:16:55.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:16:55.022Z] Configure a credential helper to remove this warning. See [2023-11-15T22:16:55.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:16:55.022Z] [2023-11-15T22:16:55.022Z] Login Succeeded [2023-11-15T22:16:55.022Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:16:55.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T22:16:55.089Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T22:16:55.372Z] + + grep ^go [0-9].[0-9]*cut go.mod -d [2023-11-15T22:16:55.372Z] -f 2 [Pipeline] echo [2023-11-15T22:16:55.390Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:16:55.401Z] ========================================================= [2023-11-15T22:16:55.401Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2023-11-15T22:16:55.401Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:16:55.724Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T22:16:55.985Z] Sending build context to Docker daemon 43.31MB [2023-11-15T22:16:55.985Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:16:55.985Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T22:16:56.455Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2023-11-15T22:16:56.455Z] 7264a8db6415: Pulling fs layer [2023-11-15T22:16:56.455Z] c4d48a809fc2: Pulling fs layer [2023-11-15T22:16:56.455Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T22:16:56.455Z] ad3a456e5733: Pulling fs layer [2023-11-15T22:16:56.455Z] f0163c21ed6d: Pulling fs layer [2023-11-15T22:16:56.455Z] 04c35c34e31e: Pulling fs layer [2023-11-15T22:16:56.455Z] 0c7b0fd20c02: Pulling fs layer [2023-11-15T22:16:56.455Z] d22eed83c68c: Pulling fs layer [2023-11-15T22:16:56.455Z] f0163c21ed6d: Waiting [2023-11-15T22:16:56.455Z] ad3a456e5733: Waiting [2023-11-15T22:16:56.455Z] 04c35c34e31e: Waiting [2023-11-15T22:16:56.455Z] 0c7b0fd20c02: Waiting [2023-11-15T22:16:56.455Z] d22eed83c68c: Waiting [2023-11-15T22:16:56.455Z] c4d48a809fc2: Download complete [2023-11-15T22:16:56.455Z] ad3a456e5733: Verifying Checksum [2023-11-15T22:16:56.455Z] ad3a456e5733: Download complete [2023-11-15T22:16:56.455Z] f0163c21ed6d: Verifying Checksum [2023-11-15T22:16:56.455Z] f0163c21ed6d: Download complete [2023-11-15T22:16:56.455Z] 7264a8db6415: Verifying Checksum [2023-11-15T22:16:56.455Z] 7264a8db6415: Download complete [2023-11-15T22:16:56.455Z] 04c35c34e31e: Verifying Checksum [2023-11-15T22:16:56.455Z] 04c35c34e31e: Download complete [2023-11-15T22:16:56.455Z] 7264a8db6415: Pull complete [2023-11-15T22:16:56.713Z] c4d48a809fc2: Pull complete [2023-11-15T22:16:56.713Z] d22eed83c68c: Verifying Checksum [2023-11-15T22:16:56.713Z] d22eed83c68c: Download complete [2023-11-15T22:16:56.713Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T22:16:56.713Z] 4f1c88b9dad5: Download complete [2023-11-15T22:16:57.312Z] 0c7b0fd20c02: Verifying Checksum [2023-11-15T22:16:59.859Z] 4f1c88b9dad5: Pull complete [2023-11-15T22:16:59.859Z] ad3a456e5733: Pull complete [2023-11-15T22:16:59.859Z] f0163c21ed6d: Pull complete [2023-11-15T22:16:59.859Z] 04c35c34e31e: Pull complete [2023-11-15T22:17:02.397Z] 0c7b0fd20c02: Pull complete [2023-11-15T22:17:02.967Z] d22eed83c68c: Pull complete [2023-11-15T22:17:02.967Z] Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de [2023-11-15T22:17:02.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2023-11-15T22:17:02.967Z] ---> 8a661f5c53af [2023-11-15T22:17:02.967Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:17:08.598Z] Still waiting to schedule task [2023-11-15T22:17:08.598Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-15T22:17:13.050Z] ---> Running in 9ec90e3ad5c4 [2023-11-15T22:17:13.617Z] Removing intermediate container 9ec90e3ad5c4 [2023-11-15T22:17:13.617Z] ---> 5f1da9712d55 [2023-11-15T22:17:13.617Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:17:14.554Z] ---> Running in 247b5b212dce [2023-11-15T22:17:15.545Z] Removing intermediate container 247b5b212dce [2023-11-15T22:17:15.545Z] ---> 8c8172bffba8 [2023-11-15T22:17:15.545Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:17:16.113Z] ---> Running in 8f0d877082ca [2023-11-15T22:17:16.678Z] Removing intermediate container 8f0d877082ca [2023-11-15T22:17:16.678Z] ---> 579c54d7195c [2023-11-15T22:17:16.678Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:17:17.244Z] ---> Running in 331d7c99cb28 [2023-11-15T22:17:18.182Z] Removing intermediate container 331d7c99cb28 [2023-11-15T22:17:18.182Z] ---> c31e238c3f49 [2023-11-15T22:17:18.182Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:17:18.753Z] ---> Running in 247a01f0d42f [2023-11-15T22:17:19.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:17:19.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:17:19.950Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T22:17:19.950Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T22:17:19.950Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T22:17:19.950Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T22:17:20.214Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:17:20.214Z] OK: 268 MiB in 56 packages [2023-11-15T22:17:22.752Z] Removing intermediate container 247a01f0d42f [2023-11-15T22:17:22.752Z] ---> 83440923fc4f [2023-11-15T22:17:22.752Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-15T22:17:23.688Z] ---> Running in f854c3e59cbe [2023-11-15T22:17:24.625Z] Removing intermediate container f854c3e59cbe [2023-11-15T22:17:24.625Z] ---> bd98ad89e505 [2023-11-15T22:17:24.625Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T22:17:31.208Z] ---> bd10e392c12b [2023-11-15T22:17:31.208Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:17:31.208Z] ---> Running in 7c54b393f163 [2023-11-15T22:18:38.924Z] Removing intermediate container 7c54b393f163 [2023-11-15T22:18:38.924Z] ---> 984401c18588 [2023-11-15T22:18:38.924Z] Step 11/12 : COPY . . [2023-11-15T22:18:38.924Z] ---> b188d2c534e9 [2023-11-15T22:18:38.924Z] Step 12/12 : RUN ${MAKE} [2023-11-15T22:18:38.924Z] ---> Running in b85cacafe7e4 [2023-11-15T22:18:38.924Z] noop [2023-11-15T22:18:38.924Z] Removing intermediate container b85cacafe7e4 [2023-11-15T22:18:38.924Z] ---> 6cace646f6fc [2023-11-15T22:18:38.924Z] Successfully built 6cace646f6fc [2023-11-15T22:18:38.924Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:18:39.243Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T22:18:39.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:18:39.315Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:18:39.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T22:18:40.729Z] $ docker top 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:18:41.082Z] + go version [2023-11-15T22:18:41.083Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T22:18:41.078Z] $ docker stop --time=1 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 [2023-11-15T22:18:43.097Z] $ docker rm -f --volumes 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:18:43.567Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T22:18:43.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:18:43.635Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:18:43.647Z] $ 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_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T22:18:45.018Z] $ docker top 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:18:45.375Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_napa [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:18:45.669Z] + make test [2023-11-15T22:18:45.669Z] go test ./... -coverprofile=coverage.out [2023-11-15T22:18:53.822Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-15T22:19:03.845Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-15T22:19:03.845Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2023-11-15T22:19:10.429Z] go vet ./... [2023-11-15T22:19:12.954Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T22:19:12.954Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T22:19:12.954Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T22:19:12.973Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:19:13.328Z] + go mod tidy [Pipeline] } [2023-11-15T22:19:13.614Z] $ docker stop --time=1 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 [2023-11-15T22:19:20.419Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18199 in /w/workspace/edgexfoundry_device-snmp-go_napa [2023-11-15T22:19:22.041Z] $ docker rm -f --volumes 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-11-15T22:19:22.285Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2023-11-15T22:19:22.334Z] Selected Git installation does not exist. Using Default [2023-11-15T22:19:22.334Z] The recommended git tool is: NONE [2023-11-15T22:19:22.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T22:19:22.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T22:19:23.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T22:19:23.344Z] + ls -al . [2023-11-15T22:19:23.344Z] total 176 [2023-11-15T22:19:23.344Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:18 . [2023-11-15T22:19:23.344Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 .. [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 15 22:16 .dockerignore [2023-11-15T22:19:23.344Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git [2023-11-15T22:19:23.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 255 Nov 15 22:16 .gitignore [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:16 .golangci.yml [2023-11-15T22:19:23.344Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:16 .semver [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 15 22:16 Attribution.txt [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 15 22:16 CHANGELOG.md [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 15 22:16 Dockerfile [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 15 22:16 Jenkinsfile [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:16 LICENSE [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 15 22:16 Makefile [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:16 OWNERS.md [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 15 22:16 README.md [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION [2023-11-15T22:19:23.344Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin [2023-11-15T22:19:23.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd [2023-11-15T22:19:23.344Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 15 22:19 coverage.out [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 15 22:16 go.mod [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 15 22:16 go.sum [2023-11-15T22:19:23.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 internal [2023-11-15T22:19:23.344Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor [2023-11-15T22:19:23.344Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:19:23.644Z] + 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=a5a8eecad0964d203a89aaaae76bac199dfc367d --label arch=amd64 --label version=3.1.0 . [2023-11-15T22:19:23.903Z] Sending build context to Docker daemon 43.32MB [2023-11-15T22:19:23.903Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:19:23.903Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-15T22:19:23.903Z] ---> 6cace646f6fc [2023-11-15T22:19:23.903Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:19:25.278Z] ---> Running in 3bdc4101b2a6 [2023-11-15T22:19:25.278Z] Removing intermediate container 3bdc4101b2a6 [2023-11-15T22:19:25.278Z] ---> 7d169a604333 [2023-11-15T22:19:25.278Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:19:25.278Z] ---> Running in 0ee6e0573a81 [2023-11-15T22:19:25.278Z] Removing intermediate container 0ee6e0573a81 [2023-11-15T22:19:25.278Z] ---> 97147090eee7 [2023-11-15T22:19:25.278Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:19:25.278Z] ---> Running in d318c236f7b9 [2023-11-15T22:19:25.278Z] Removing intermediate container d318c236f7b9 [2023-11-15T22:19:25.278Z] ---> 79e59dfbc761 [2023-11-15T22:19:25.278Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:19:25.540Z] ---> Running in 671dacd60fa5 [2023-11-15T22:19:25.540Z] Removing intermediate container 671dacd60fa5 [2023-11-15T22:19:25.540Z] ---> 339de98327e9 [2023-11-15T22:19:25.540Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:19:25.540Z] ---> Running in bd7cb6f79ed1 [2023-11-15T22:19:25.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:19:26.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:19:26.314Z] OK: 268 MiB in 56 packages [2023-11-15T22:19:26.636Z] Removing intermediate container bd7cb6f79ed1 [2023-11-15T22:19:26.636Z] ---> a9fe813ddbdc [2023-11-15T22:19:26.636Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-15T22:19:28.538Z] ---> Running in 79097ddfb044 [2023-11-15T22:19:29.473Z] Removing intermediate container 79097ddfb044 [2023-11-15T22:19:29.473Z] ---> da1747ca6c27 [2023-11-15T22:19:29.473Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-15T22:19:30.237Z] using credential edgex-jenkins-ssh [2023-11-15T22:19:30.257Z] Cloning the remote Git repository [2023-11-15T22:19:30.338Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-15T22:19:30.478Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2023-11-15T22:19:30.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-15T22:19:30.687Z] > git --version # timeout=10 [2023-11-15T22:19:30.715Z] > git --version # 'git version 2.25.1' [2023-11-15T22:19:30.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T22:19:30.939Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:19:32.752Z] ---> e008342c8c35 [2023-11-15T22:19:32.752Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:19:33.683Z] ---> Running in 7b81cbfc47ac [2023-11-15T22:19:34.232Z] Avoid second fetch [2023-11-15T22:19:34.233Z] Checking out Revision a5a8eecad0964d203a89aaaae76bac199dfc367d (napa) [2023-11-15T22:19:33.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-15T22:19:33.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:19:34.615Z] skipping... [2023-11-15T22:19:34.259Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T22:19:34.348Z] > git checkout -f a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 [2023-11-15T22:19:36.052Z] Commit message: "ci(lts-release): LTS release v3.1.0 @b852d33" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:19:37.050Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T22:19:37.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T22:19:37.050Z] Dload Upload Total Spent Left Speed [2023-11-15T22:19:37.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 156k 0 --:--:-- --:--:-- --:--:-- 158k [2023-11-15T22:19:37.142Z] Removing intermediate container 7b81cbfc47ac [2023-11-15T22:19:37.142Z] ---> 3c18a8e36224 [2023-11-15T22:19:37.142Z] Step 11/25 : COPY . . [Pipeline] sh [2023-11-15T22:19:37.776Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T22:19:38.165Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-11-15T22:19:38.165Z] /etc/docker/daemon.new [2023-11-15T22:19:38.165Z] { [2023-11-15T22:19:38.165Z] "registry-mirrors": [ [2023-11-15T22:19:38.165Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T22:19:38.165Z] ], [2023-11-15T22:19:38.165Z] "bip": "10.250.0.254/24", [2023-11-15T22:19:38.165Z] "hosts": [ [2023-11-15T22:19:38.165Z] "tcp://0.0.0.0:5555", [2023-11-15T22:19:38.165Z] "unix:///var/run/docker.sock" [2023-11-15T22:19:38.165Z] ], [2023-11-15T22:19:38.165Z] "mtu": 1458, [2023-11-15T22:19:38.165Z] "selinux-enabled": true, [2023-11-15T22:19:38.165Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T22:19:38.165Z] } [Pipeline] sh [2023-11-15T22:19:38.539Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T22:19:38.926Z] + sudo service docker restart [2023-11-15T22:19:40.552Z] ---> 2ff8d2969271 [2023-11-15T22:19:40.552Z] Step 12/25 : RUN ${MAKE} [2023-11-15T22:19:40.552Z] ---> Running in 2aad0691e9a5 [2023-11-15T22:19:40.809Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [Pipeline] sh [2023-11-15T22:19:57.659Z] + git checkout a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:19:57.936Z] HEAD is now at a5a8eec ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:19:57.978Z] provisioning config files... [2023-11-15T22:19:58.019Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1127591511642191024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:19:58.429Z] ---> docker-login.sh [2023-11-15T22:19:58.429Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:19:59.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:19:59.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:19:59.378Z] Configure a credential helper to remove this warning. See [2023-11-15T22:19:59.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:19:59.378Z] [2023-11-15T22:19:59.378Z] Login Succeeded [2023-11-15T22:19:59.378Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:19:59.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:19:59.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:19:59.652Z] Configure a credential helper to remove this warning. See [2023-11-15T22:19:59.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:19:59.652Z] [2023-11-15T22:19:59.652Z] Login Succeeded [2023-11-15T22:19:59.652Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:19:59.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:00.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:00.204Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:00.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:00.204Z] [2023-11-15T22:20:00.204Z] Login Succeeded [2023-11-15T22:20:00.204Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:20:00.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:00.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:00.482Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:00.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:00.482Z] [2023-11-15T22:20:00.482Z] Login Succeeded [2023-11-15T22:20:00.482Z] docker.io [2023-11-15T22:20:00.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:01.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:01.037Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:01.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:01.037Z] [2023-11-15T22:20:01.037Z] Login Succeeded [2023-11-15T22:20:01.037Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:20:01.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T22:20:01.481Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T22:20:01.837Z] + grep ^go [0-9].[0-9]* go.mod [2023-11-15T22:20:01.837Z] + cut -d -f 2 [Pipeline] echo [2023-11-15T22:20:01.949Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:20:01.959Z] ========================================================= [2023-11-15T22:20:01.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2023-11-15T22:20:01.959Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:02.350Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T22:20:05.004Z] Sending build context to Docker daemon 35.21MB [2023-11-15T22:20:05.004Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:20:05.004Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T22:20:05.283Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T22:20:05.283Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T22:20:05.283Z] 5d54e960e981: Pulling fs layer [2023-11-15T22:20:05.283Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T22:20:05.283Z] f0e02332f6b5: Pulling fs layer [2023-11-15T22:20:05.283Z] 57b776a6bec4: Pulling fs layer [2023-11-15T22:20:05.283Z] 8b19151f9e34: Pulling fs layer [2023-11-15T22:20:05.283Z] eb6a9f2d7ee3: Pulling fs layer [2023-11-15T22:20:05.283Z] 57b776a6bec4: Waiting [2023-11-15T22:20:05.283Z] 8b19151f9e34: Waiting [2023-11-15T22:20:05.283Z] f0e02332f6b5: Waiting [2023-11-15T22:20:05.283Z] eb6a9f2d7ee3: Waiting [2023-11-15T22:20:05.283Z] 5d54e960e981: Download complete [2023-11-15T22:20:05.283Z] f0e02332f6b5: Verifying Checksum [2023-11-15T22:20:05.283Z] f0e02332f6b5: Download complete [2023-11-15T22:20:05.283Z] 57b776a6bec4: Verifying Checksum [2023-11-15T22:20:05.283Z] 57b776a6bec4: Download complete [2023-11-15T22:20:05.283Z] 9fda8d8052c6: Verifying Checksum [2023-11-15T22:20:05.283Z] 9fda8d8052c6: Download complete [2023-11-15T22:20:05.882Z] eb6a9f2d7ee3: Verifying Checksum [2023-11-15T22:20:05.882Z] eb6a9f2d7ee3: Download complete [2023-11-15T22:20:06.160Z] 9fda8d8052c6: Pull complete [2023-11-15T22:20:07.134Z] 5d54e960e981: Pull complete [2023-11-15T22:20:07.406Z] Removing intermediate container 2aad0691e9a5 [2023-11-15T22:20:07.406Z] ---> 04ca6e6bd286 [2023-11-15T22:20:07.406Z] Step 13/25 : FROM alpine:3.18 [2023-11-15T22:20:07.406Z] 3.18: Pulling from library/alpine [2023-11-15T22:20:07.408Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T22:20:07.408Z] c4a7e357bf2a: Download complete [2023-11-15T22:20:07.665Z] 96526aa774ef: Pulling fs layer [2023-11-15T22:20:07.923Z] 96526aa774ef: Verifying Checksum [2023-11-15T22:20:07.923Z] 96526aa774ef: Download complete [2023-11-15T22:20:08.384Z] 8b19151f9e34: Verifying Checksum [2023-11-15T22:20:08.384Z] 8b19151f9e34: Download complete [2023-11-15T22:20:08.897Z] 96526aa774ef: Pull complete [2023-11-15T22:20:09.878Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T22:20:09.878Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T22:20:09.878Z] ---> 8ca4688f4f35 [2023-11-15T22:20:09.878Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-15T22:20:11.783Z] ---> Running in 61504a6e459c [2023-11-15T22:20:13.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:20:13.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:20:13.413Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T22:20:13.413Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T22:20:13.413Z] OK: 7 MiB in 16 packages [2023-11-15T22:20:14.785Z] Removing intermediate container 61504a6e459c [2023-11-15T22:20:14.785Z] ---> f111b0b78fef [2023-11-15T22:20:14.785Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-15T22:20:15.043Z] ---> Running in 1df3d3cb642f [2023-11-15T22:20:15.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:20:15.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:20:15.868Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:20:15.868Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:20:15.868Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T22:20:15.868Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:20:15.868Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:20:15.868Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:20:15.868Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:20:15.868Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:20:15.868Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:20:15.868Z] OK: 7 MiB in 16 packages [2023-11-15T22:20:20.051Z] Removing intermediate container 1df3d3cb642f [2023-11-15T22:20:20.051Z] ---> f31d4830ed85 [2023-11-15T22:20:20.051Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-15T22:20:21.445Z] ---> eacd908cdf83 [2023-11-15T22:20:21.445Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-15T22:20:22.383Z] ---> 4847ee49919e [2023-11-15T22:20:22.383Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-15T22:20:22.964Z] ---> 9f3a8a7f1c81 [2023-11-15T22:20:22.964Z] Step 19/25 : EXPOSE 59993 [2023-11-15T22:20:23.534Z] ---> Running in 8d51f26e008a [2023-11-15T22:20:23.626Z] c4a7e357bf2a: Pull complete [2023-11-15T22:20:23.626Z] f0e02332f6b5: Pull complete [2023-11-15T22:20:23.626Z] 57b776a6bec4: Pull complete [2023-11-15T22:20:24.476Z] Removing intermediate container 8d51f26e008a [2023-11-15T22:20:24.476Z] ---> 55cf510f7e65 [2023-11-15T22:20:24.476Z] Step 20/25 : EXPOSE 161 [2023-11-15T22:20:24.738Z] ---> Running in 7c0750054646 [2023-11-15T22:20:25.307Z] Removing intermediate container 7c0750054646 [2023-11-15T22:20:25.307Z] ---> 1e87ca079467 [2023-11-15T22:20:25.307Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-15T22:20:25.876Z] ---> Running in 3e6f92311495 [2023-11-15T22:20:26.135Z] Removing intermediate container 3e6f92311495 [2023-11-15T22:20:26.135Z] ---> 051247eda1d1 [2023-11-15T22:20:26.135Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T22:20:26.703Z] ---> Running in 07f57e13704e [2023-11-15T22:20:27.273Z] Removing intermediate container 07f57e13704e [2023-11-15T22:20:27.273Z] ---> 86cc264272a1 [2023-11-15T22:20:27.273Z] Step 23/25 : LABEL arch=amd64 [2023-11-15T22:20:27.535Z] ---> Running in c7f5c2a46d02 [2023-11-15T22:20:28.104Z] Removing intermediate container c7f5c2a46d02 [2023-11-15T22:20:28.104Z] ---> 1fe34602c907 [2023-11-15T22:20:28.104Z] Step 24/25 : LABEL git_sha=a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:20:28.364Z] ---> Running in 07518b9c998d [2023-11-15T22:20:28.951Z] Removing intermediate container 07518b9c998d [2023-11-15T22:20:28.951Z] ---> a7174b4253fe [2023-11-15T22:20:28.951Z] Step 25/25 : LABEL version=3.1.0 [2023-11-15T22:20:29.900Z] ---> Running in b6488ab21bc7 [2023-11-15T22:20:31.308Z] Removing intermediate container b6488ab21bc7 [2023-11-15T22:20:31.308Z] ---> f0bfd0cd2166 [2023-11-15T22:20:31.308Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T22:20:31.308Z] Successfully built f0bfd0cd2166 [2023-11-15T22:20:31.568Z] 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-11-15T22:20:31.679Z] provisioning config files... [2023-11-15T22:20:31.689Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config17209233754172951136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:20:32.001Z] ---> docker-login.sh [2023-11-15T22:20:32.001Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:20:32.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:32.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:32.001Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:32.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:32.001Z] [2023-11-15T22:20:32.001Z] Login Succeeded [2023-11-15T22:20:32.001Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:20:32.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:32.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:32.001Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:32.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:32.001Z] [2023-11-15T22:20:32.001Z] Login Succeeded [2023-11-15T22:20:32.001Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:20:32.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:32.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:32.262Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:32.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:32.262Z] [2023-11-15T22:20:32.262Z] Login Succeeded [2023-11-15T22:20:32.262Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:20:32.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:32.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:32.262Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:32.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:32.262Z] [2023-11-15T22:20:32.262Z] Login Succeeded [2023-11-15T22:20:32.262Z] docker.io [2023-11-15T22:20:32.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:20:32.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:20:32.526Z] Configure a credential helper to remove this warning. See [2023-11-15T22:20:32.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:20:32.526Z] [2023-11-15T22:20:32.526Z] Login Succeeded [2023-11-15T22:20:32.526Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:20:32.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:20:32.561Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:20:32.592Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-11-15T22:20:32.592Z] a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:20:32.592Z] 3.1.0 [2023-11-15T22:20:32.592Z] a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:20:32.592Z] napa [2023-11-15T22:20:32.592Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:32.959Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:33.756Z] 8b19151f9e34: Pull complete [2023-11-15T22:20:33.840Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:20:33.840Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-15T22:20:33.840Z] cb66b194aa3c: Preparing [2023-11-15T22:20:33.840Z] 50cae49baad2: Preparing [2023-11-15T22:20:33.840Z] feb3347238e8: Preparing [2023-11-15T22:20:33.840Z] 6c8ebaedf3b8: Preparing [2023-11-15T22:20:33.840Z] 52b774a29947: Preparing [2023-11-15T22:20:33.840Z] cc2447e1835a: Preparing [2023-11-15T22:20:33.840Z] cc2447e1835a: Waiting [2023-11-15T22:20:33.840Z] cb66b194aa3c: Pushed [2023-11-15T22:20:33.840Z] 52b774a29947: Pushed [2023-11-15T22:20:33.840Z] cc2447e1835a: Layer already exists [2023-11-15T22:20:33.840Z] 50cae49baad2: Pushed [2023-11-15T22:20:34.406Z] 6c8ebaedf3b8: Pushed [2023-11-15T22:20:35.196Z] eb6a9f2d7ee3: Pull complete [2023-11-15T22:20:35.196Z] Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff [2023-11-15T22:20:35.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2023-11-15T22:20:35.196Z] ---> ca1e05e92614 [2023-11-15T22:20:35.196Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:20:36.935Z] feb3347238e8: Pushed [2023-11-15T22:20:37.194Z] a5a8eecad0964d203a89aaaae76bac199dfc367d: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:37.506Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:37.813Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 [2023-11-15T22:20:37.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-15T22:20:37.813Z] cb66b194aa3c: Preparing [2023-11-15T22:20:37.813Z] 50cae49baad2: Preparing [2023-11-15T22:20:37.814Z] feb3347238e8: Preparing [2023-11-15T22:20:37.814Z] 6c8ebaedf3b8: Preparing [2023-11-15T22:20:37.814Z] 52b774a29947: Preparing [2023-11-15T22:20:37.814Z] cc2447e1835a: Preparing [2023-11-15T22:20:37.814Z] cc2447e1835a: Waiting [2023-11-15T22:20:37.814Z] 6c8ebaedf3b8: Layer already exists [2023-11-15T22:20:37.814Z] 50cae49baad2: Layer already exists [2023-11-15T22:20:37.814Z] feb3347238e8: Layer already exists [2023-11-15T22:20:37.814Z] cb66b194aa3c: Layer already exists [2023-11-15T22:20:37.814Z] 52b774a29947: Layer already exists [2023-11-15T22:20:37.814Z] cc2447e1835a: Layer already exists [2023-11-15T22:20:37.814Z] 3.1.0: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:38.133Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:38.437Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:20:38.438Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-15T22:20:38.438Z] cb66b194aa3c: Preparing [2023-11-15T22:20:38.438Z] 50cae49baad2: Preparing [2023-11-15T22:20:38.438Z] feb3347238e8: Preparing [2023-11-15T22:20:38.438Z] 6c8ebaedf3b8: Preparing [2023-11-15T22:20:38.438Z] 52b774a29947: Preparing [2023-11-15T22:20:38.438Z] cc2447e1835a: Preparing [2023-11-15T22:20:38.438Z] cc2447e1835a: Waiting [2023-11-15T22:20:38.438Z] feb3347238e8: Layer already exists [2023-11-15T22:20:38.438Z] 50cae49baad2: Layer already exists [2023-11-15T22:20:38.438Z] 6c8ebaedf3b8: Layer already exists [2023-11-15T22:20:38.438Z] 52b774a29947: Layer already exists [2023-11-15T22:20:38.438Z] cc2447e1835a: Layer already exists [2023-11-15T22:20:38.438Z] cb66b194aa3c: Layer already exists [2023-11-15T22:20:38.438Z] a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:38.587Z] ---> Running in ca90eea42843 [2023-11-15T22:20:38.587Z] Removing intermediate container ca90eea42843 [2023-11-15T22:20:38.587Z] ---> 43df6c151039 [2023-11-15T22:20:38.587Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:20:38.587Z] ---> Running in 8c5ed8d2aad5 [2023-11-15T22:20:38.751Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:39.053Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:napa [2023-11-15T22:20:39.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-15T22:20:39.053Z] cb66b194aa3c: Preparing [2023-11-15T22:20:39.053Z] 50cae49baad2: Preparing [2023-11-15T22:20:39.053Z] feb3347238e8: Preparing [2023-11-15T22:20:39.053Z] 6c8ebaedf3b8: Preparing [2023-11-15T22:20:39.053Z] 52b774a29947: Preparing [2023-11-15T22:20:39.053Z] cc2447e1835a: Preparing [2023-11-15T22:20:39.053Z] cc2447e1835a: Waiting [2023-11-15T22:20:39.053Z] 52b774a29947: Layer already exists [2023-11-15T22:20:39.053Z] cb66b194aa3c: Layer already exists [2023-11-15T22:20:39.053Z] 50cae49baad2: Layer already exists [2023-11-15T22:20:39.053Z] feb3347238e8: Layer already exists [2023-11-15T22:20:39.053Z] 6c8ebaedf3b8: Layer already exists [2023-11-15T22:20:39.053Z] cc2447e1835a: Layer already exists [2023-11-15T22:20:39.053Z] napa: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:20:39.098Z] ===================================================== [Pipeline] echo [2023-11-15T22:20:39.106Z] taggedImages: [2023-11-15T22:20:39.106Z] - nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:20:39.106Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 [2023-11-15T22:20:39.106Z] - nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:20:39.106Z] - nexus3.edgexfoundry.org:10004/device-snmp:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2023-11-15T22:20:39.182Z] Removing intermediate container 8c5ed8d2aad5 [2023-11-15T22:20:39.182Z] ---> a1701c274ff6 [2023-11-15T22:20:39.182Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:20:39.182Z] ---> Running in aa1dc10e230a [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:20:39.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:20:39.578Z] [2023-11-15T22:20:39.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-11-15T22:20:39.604Z] Removing intermediate container aa1dc10e230a [2023-11-15T22:20:39.604Z] ---> aff3f3ee1558 [2023-11-15T22:20:39.604Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:20:39.604Z] ---> Running in 9faa22875794 [Pipeline] sh [2023-11-15T22:20:39.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:20:40.200Z] Removing intermediate container 9faa22875794 [2023-11-15T22:20:40.200Z] ---> 1b855357c788 [2023-11-15T22:20:40.200Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:20:40.200Z] ---> Running in 311a18a8b7c5 [2023-11-15T22:20:40.480Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T22:20:40.480Z] 5eb5b503b376: Pulling fs layer [2023-11-15T22:20:40.480Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T22:20:40.480Z] ec43610c2a17: Pulling fs layer [2023-11-15T22:20:40.480Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T22:20:40.480Z] 33b1e0a273af: Pulling fs layer [2023-11-15T22:20:40.480Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T22:20:40.480Z] 2f39f015ded8: Pulling fs layer [2023-11-15T22:20:40.480Z] 33b1e0a273af: Waiting [2023-11-15T22:20:40.480Z] 3a2ae6a8a46f: Waiting [2023-11-15T22:20:40.480Z] 2f39f015ded8: Waiting [2023-11-15T22:20:40.480Z] 5c69ac0246d0: Download complete [2023-11-15T22:20:40.480Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T22:20:40.480Z] 3a2ae6a8a46f: Download complete [2023-11-15T22:20:40.480Z] 33b1e0a273af: Verifying Checksum [2023-11-15T22:20:40.480Z] 33b1e0a273af: Download complete [2023-11-15T22:20:40.480Z] 5d3b04190fa2: Download complete [2023-11-15T22:20:40.480Z] ec43610c2a17: Verifying Checksum [2023-11-15T22:20:40.480Z] ec43610c2a17: Download complete [2023-11-15T22:20:40.737Z] 5eb5b503b376: Verifying Checksum [2023-11-15T22:20:40.737Z] 5eb5b503b376: Download complete [2023-11-15T22:20:41.302Z] 2f39f015ded8: Download complete [2023-11-15T22:20:41.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:20:41.868Z] 5eb5b503b376: Pull complete [2023-11-15T22:20:42.126Z] 5c69ac0246d0: Pull complete [2023-11-15T22:20:42.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:20:42.698Z] ec43610c2a17: Pull complete [2023-11-15T22:20:42.698Z] 3a2ae6a8a46f: Pull complete [2023-11-15T22:20:42.961Z] 33b1e0a273af: Pull complete [2023-11-15T22:20:43.688Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T22:20:43.688Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T22:20:43.688Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T22:20:43.896Z] 5d3b04190fa2: Pull complete [2023-11-15T22:20:43.974Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T22:20:43.974Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:20:43.974Z] OK: 271 MiB in 56 packages [2023-11-15T22:20:45.411Z] Removing intermediate container 311a18a8b7c5 [2023-11-15T22:20:45.411Z] ---> 00fb91e311b3 [2023-11-15T22:20:45.411Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-15T22:20:45.411Z] ---> Running in 3bc564a741cd [2023-11-15T22:20:46.016Z] Removing intermediate container 3bc564a741cd [2023-11-15T22:20:46.016Z] ---> c0600aa90e4e [2023-11-15T22:20:46.016Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T22:20:48.089Z] 2f39f015ded8: Pull complete [2023-11-15T22:20:48.089Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T22:20:48.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:20:48.089Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:20:48.188Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:20:48.244Z] $ 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_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T22:20:54.311Z] ---> f0940fac2a32 [2023-11-15T22:20:54.311Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:20:54.311Z] ---> Running in 19c88d7d4f87 [2023-11-15T22:21:02.841Z] $ docker top b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:21:03.353Z] ---> job-cost.sh [2023-11-15T22:21:03.353Z] lf-activate-venv: SKIPPING [2023-11-15T22:21:03.353Z] INFO: No Stack... [2023-11-15T22:21:03.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T22:21:04.176Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T22:21:04.466Z] + + cut -d, -f6cat [2023-11-15T22:21:04.466Z] /w/workspace/edgexfoundry_device-snmp-go_napa/archives/cost.csv [Pipeline] lock [2023-11-15T22:21:04.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [2023-11-15T22:21:04.480Z] Resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] did not exist. Created. [2023-11-15T22:21:04.480Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T22:21:04.808Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T22:21:04.869Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T22:21:04.876Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T22:21:04.872Z] $ docker stop --time=1 b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 [2023-11-15T22:21:07.355Z] $ docker rm -f --volumes b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T22:22:31.369Z] Removing intermediate container 19c88d7d4f87 [2023-11-15T22:22:31.369Z] ---> bb89e06c5bc2 [2023-11-15T22:22:31.369Z] Step 11/12 : COPY . . [2023-11-15T22:22:31.369Z] ---> e7d727e5d8e4 [2023-11-15T22:22:31.369Z] Step 12/12 : RUN ${MAKE} [2023-11-15T22:22:31.369Z] ---> Running in 13b22a792571 [2023-11-15T22:22:31.369Z] noop [2023-11-15T22:22:31.369Z] Removing intermediate container 13b22a792571 [2023-11-15T22:22:31.369Z] ---> 64e86a427c51 [2023-11-15T22:22:31.369Z] Successfully built 64e86a427c51 [2023-11-15T22:22:31.369Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:22:31.741Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T22:22:31.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:22:31.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container [2023-11-15T22:22:32.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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-11-15T22:22:33.548Z] $ docker top 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:22:34.475Z] + go version [2023-11-15T22:22:34.475Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T22:22:34.502Z] $ docker stop --time=1 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de [2023-11-15T22:22:36.250Z] $ docker rm -f --volumes 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:22:36.849Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T22:22:36.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:22:37.075Z] prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container [2023-11-15T22:22:37.175Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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-11-15T22:22:38.660Z] $ docker top 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:22:39.591Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:22:40.289Z] + make test [2023-11-15T22:22:40.289Z] go test ./... -coverprofile=coverage.out [2023-11-15T22:22:43.653Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-15T22:25:35.765Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-15T22:25:35.765Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2023-11-15T22:25:35.765Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T22:25:35.765Z] go vet ./... [2023-11-15T22:25:57.893Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T22:25:57.893Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T22:25:57.893Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T22:25:57.914Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:25:58.406Z] + go mod tidy [Pipeline] } [2023-11-15T22:26:03.807Z] $ docker stop --time=1 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 [2023-11-15T22:26:06.059Z] $ docker rm -f --volumes 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:26:07.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T22:26:07.813Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T22:26:08.981Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:26:09.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T22:26:09.712Z] + ls -al . [2023-11-15T22:26:09.712Z] total 172 [2023-11-15T22:26:09.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:22 . [2023-11-15T22:26:09.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 .. [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 15 22:19 .dockerignore [2023-11-15T22:26:09.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git [2023-11-15T22:26:09.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 .github [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 255 Nov 15 22:19 .gitignore [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:19 .golangci.yml [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 15 22:19 Attribution.txt [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 15 22:19 CHANGELOG.md [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 15 22:19 Dockerfile [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:19 GOVERNANCE.md [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 15 22:19 Jenkinsfile [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:19 LICENSE [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 15 22:19 Makefile [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:19 OWNERS.md [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 15 22:19 README.md [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION [2023-11-15T22:26:09.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:19 bin [2023-11-15T22:26:09.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 cmd [2023-11-15T22:26:09.712Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 15 22:25 coverage.out [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 15 22:19 go.mod [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 15 22:19 go.sum [2023-11-15T22:26:09.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 internal [2023-11-15T22:26:09.712Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:19 vendor [2023-11-15T22:26:09.712Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 15 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:10.059Z] + 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=a5a8eecad0964d203a89aaaae76bac199dfc367d --label arch=arm64 --label version=3.1.0 . [2023-11-15T22:26:12.662Z] Sending build context to Docker daemon 35.22MB [2023-11-15T22:26:12.662Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:26:12.662Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-15T22:26:12.662Z] ---> 64e86a427c51 [2023-11-15T22:26:12.662Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:26:13.255Z] ---> Running in 00c28e0713b6 [2023-11-15T22:26:13.528Z] Removing intermediate container 00c28e0713b6 [2023-11-15T22:26:13.528Z] ---> 3a5f9f9d6831 [2023-11-15T22:26:13.528Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:26:13.802Z] ---> Running in 9700b1e28e86 [2023-11-15T22:26:14.083Z] Removing intermediate container 9700b1e28e86 [2023-11-15T22:26:14.083Z] ---> ae5d36337af6 [2023-11-15T22:26:14.083Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:26:14.355Z] ---> Running in f202db033ffc [2023-11-15T22:26:14.628Z] Removing intermediate container f202db033ffc [2023-11-15T22:26:14.628Z] ---> f3f0772ef42b [2023-11-15T22:26:14.628Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:26:14.901Z] ---> Running in 8579d60cc0d4 [2023-11-15T22:26:15.178Z] Removing intermediate container 8579d60cc0d4 [2023-11-15T22:26:15.178Z] ---> bbee4f3a124e [2023-11-15T22:26:15.178Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:26:15.450Z] ---> Running in f1595e1827bb [2023-11-15T22:26:16.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:26:17.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:26:19.004Z] OK: 271 MiB in 56 packages [2023-11-15T22:26:19.989Z] Removing intermediate container f1595e1827bb [2023-11-15T22:26:19.989Z] ---> 39423ab40ef7 [2023-11-15T22:26:19.989Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-15T22:26:19.989Z] ---> Running in 2a4be17f712e [2023-11-15T22:26:20.585Z] Removing intermediate container 2a4be17f712e [2023-11-15T22:26:20.585Z] ---> e36d80050491 [2023-11-15T22:26:20.585Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-15T22:26:28.827Z] ---> fd98a965a781 [2023-11-15T22:26:28.827Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:26:28.827Z] ---> Running in d064634f58e0 [2023-11-15T22:26:30.282Z] skipping... [2023-11-15T22:26:30.871Z] Removing intermediate container d064634f58e0 [2023-11-15T22:26:30.871Z] ---> 85771168bf3e [2023-11-15T22:26:30.871Z] Step 11/25 : COPY . . [2023-11-15T22:26:40.968Z] ---> 78e3ed3ea60f [2023-11-15T22:26:40.968Z] Step 12/25 : RUN ${MAKE} [2023-11-15T22:26:40.968Z] ---> Running in fd1d7576eb59 [2023-11-15T22:26:41.939Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-15T22:29:03.986Z] Removing intermediate container fd1d7576eb59 [2023-11-15T22:29:03.986Z] ---> 7bb2b53f484a [2023-11-15T22:29:03.986Z] Step 13/25 : FROM alpine:3.18 [2023-11-15T22:29:03.986Z] 3.18: Pulling from library/alpine [2023-11-15T22:29:03.986Z] 579b34f0a95b: Pulling fs layer [2023-11-15T22:29:03.986Z] 579b34f0a95b: Verifying Checksum [2023-11-15T22:29:03.986Z] 579b34f0a95b: Download complete [2023-11-15T22:29:03.986Z] 579b34f0a95b: Pull complete [2023-11-15T22:29:03.986Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T22:29:03.986Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T22:29:03.986Z] ---> 3cc203321400 [2023-11-15T22:29:03.986Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-15T22:29:03.986Z] ---> Running in 674e068219a7 [2023-11-15T22:29:03.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:29:03.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:29:03.986Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T22:29:03.986Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T22:29:03.986Z] OK: 8 MiB in 16 packages [2023-11-15T22:29:03.986Z] Removing intermediate container 674e068219a7 [2023-11-15T22:29:03.986Z] ---> 717d0fed65ce [2023-11-15T22:29:03.986Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-15T22:29:03.986Z] ---> Running in 10432e85018c [2023-11-15T22:29:04.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:29:04.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:29:06.269Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:29:06.269Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:29:06.269Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T22:29:06.269Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:29:06.269Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:29:06.269Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:29:06.269Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:29:06.269Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:29:06.269Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:29:06.269Z] OK: 8 MiB in 16 packages [2023-11-15T22:29:07.695Z] Removing intermediate container 10432e85018c [2023-11-15T22:29:07.695Z] ---> 108b08df4439 [2023-11-15T22:29:07.695Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-15T22:29:09.665Z] ---> 15feac3ffb5e [2023-11-15T22:29:09.665Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-15T22:29:09.934Z] ---> 99c1e42327ea [2023-11-15T22:29:09.934Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-15T22:29:10.526Z] ---> 49591e1bc434 [2023-11-15T22:29:10.526Z] Step 19/25 : EXPOSE 59993 [2023-11-15T22:29:10.526Z] ---> Running in db6451d741e6 [2023-11-15T22:29:10.795Z] Removing intermediate container db6451d741e6 [2023-11-15T22:29:10.795Z] ---> 103eecd801a8 [2023-11-15T22:29:10.795Z] Step 20/25 : EXPOSE 161 [2023-11-15T22:29:11.065Z] ---> Running in 009e125329b1 [2023-11-15T22:29:11.337Z] Removing intermediate container 009e125329b1 [2023-11-15T22:29:11.337Z] ---> f78d23543a0f [2023-11-15T22:29:11.337Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-15T22:29:11.337Z] ---> Running in b0d9745c7496 [2023-11-15T22:29:11.927Z] Removing intermediate container b0d9745c7496 [2023-11-15T22:29:11.927Z] ---> 22eb2c5acfca [2023-11-15T22:29:11.927Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T22:29:11.927Z] ---> Running in 1a3059d1a3ff [2023-11-15T22:29:12.197Z] Removing intermediate container 1a3059d1a3ff [2023-11-15T22:29:12.197Z] ---> 8b9d83fa9925 [2023-11-15T22:29:12.197Z] Step 23/25 : LABEL arch=arm64 [2023-11-15T22:29:12.197Z] ---> Running in aa64f5affc42 [2023-11-15T22:29:12.783Z] Removing intermediate container aa64f5affc42 [2023-11-15T22:29:12.783Z] ---> 208e1349a3e6 [2023-11-15T22:29:12.783Z] Step 24/25 : LABEL git_sha=a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:29:12.783Z] ---> Running in a191f4162ae9 [2023-11-15T22:29:13.053Z] Removing intermediate container a191f4162ae9 [2023-11-15T22:29:13.053Z] ---> 1e16f8734c38 [2023-11-15T22:29:13.053Z] Step 25/25 : LABEL version=3.1.0 [2023-11-15T22:29:13.053Z] ---> Running in b0393c94dff5 [2023-11-15T22:29:13.638Z] Removing intermediate container b0393c94dff5 [2023-11-15T22:29:13.638Z] ---> 1e42ea7fe4bf [2023-11-15T22:29:13.638Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T22:29:13.906Z] Successfully built 1e42ea7fe4bf [2023-11-15T22:29:13.906Z] 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-11-15T22:29:14.002Z] provisioning config files... [2023-11-15T22:29:14.018Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config2863194420901958327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:29:14.373Z] ---> docker-login.sh [2023-11-15T22:29:14.373Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:29:14.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:29:14.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:29:14.643Z] Configure a credential helper to remove this warning. See [2023-11-15T22:29:14.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:29:14.643Z] [2023-11-15T22:29:14.643Z] Login Succeeded [2023-11-15T22:29:14.643Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:29:14.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:29:15.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:29:15.178Z] Configure a credential helper to remove this warning. See [2023-11-15T22:29:15.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:29:15.178Z] [2023-11-15T22:29:15.178Z] Login Succeeded [2023-11-15T22:29:15.178Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:29:15.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:29:15.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:29:15.447Z] Configure a credential helper to remove this warning. See [2023-11-15T22:29:15.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:29:15.447Z] [2023-11-15T22:29:15.447Z] Login Succeeded [2023-11-15T22:29:15.447Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:29:15.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:29:15.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:29:15.985Z] Configure a credential helper to remove this warning. See [2023-11-15T22:29:15.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:29:15.985Z] [2023-11-15T22:29:15.985Z] Login Succeeded [2023-11-15T22:29:15.985Z] docker.io [2023-11-15T22:29:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:29:16.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:29:16.526Z] Configure a credential helper to remove this warning. See [2023-11-15T22:29:16.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:29:16.526Z] [2023-11-15T22:29:16.526Z] Login Succeeded [2023-11-15T22:29:16.526Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:29:16.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:29:16.569Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:29:16.594Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-11-15T22:29:16.594Z] a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:29:16.594Z] 3.1.0 [2023-11-15T22:29:16.594Z] a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:29:16.594Z] napa [2023-11-15T22:29:16.594Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:16.961Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:17.325Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:29:17.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-15T22:29:17.326Z] 01ad30557664: Preparing [2023-11-15T22:29:17.326Z] 441990b5e489: Preparing [2023-11-15T22:29:17.326Z] b81313cd31ae: Preparing [2023-11-15T22:29:17.326Z] a85cd0a75aad: Preparing [2023-11-15T22:29:17.326Z] bc61a4e0044f: Preparing [2023-11-15T22:29:17.326Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:29:17.326Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:29:17.597Z] bc61a4e0044f: Pushed [2023-11-15T22:29:17.597Z] 441990b5e489: Pushed [2023-11-15T22:29:17.597Z] 01ad30557664: Pushed [2023-11-15T22:29:17.597Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:29:19.018Z] a85cd0a75aad: Pushed [2023-11-15T22:29:24.378Z] b81313cd31ae: Pushed [2023-11-15T22:29:24.378Z] a5a8eecad0964d203a89aaaae76bac199dfc367d: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:24.739Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:25.094Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 [2023-11-15T22:29:25.094Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-15T22:29:25.094Z] 01ad30557664: Preparing [2023-11-15T22:29:25.094Z] 441990b5e489: Preparing [2023-11-15T22:29:25.094Z] b81313cd31ae: Preparing [2023-11-15T22:29:25.094Z] a85cd0a75aad: Preparing [2023-11-15T22:29:25.094Z] bc61a4e0044f: Preparing [2023-11-15T22:29:25.094Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:29:25.094Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:29:25.094Z] 441990b5e489: Layer already exists [2023-11-15T22:29:25.094Z] 01ad30557664: Layer already exists [2023-11-15T22:29:25.094Z] a85cd0a75aad: Layer already exists [2023-11-15T22:29:25.094Z] bc61a4e0044f: Layer already exists [2023-11-15T22:29:25.094Z] b81313cd31ae: Layer already exists [2023-11-15T22:29:25.094Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:29:25.362Z] 3.1.0: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:25.725Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:26.078Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:29:26.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-15T22:29:26.078Z] 01ad30557664: Preparing [2023-11-15T22:29:26.078Z] 441990b5e489: Preparing [2023-11-15T22:29:26.078Z] b81313cd31ae: Preparing [2023-11-15T22:29:26.078Z] a85cd0a75aad: Preparing [2023-11-15T22:29:26.078Z] bc61a4e0044f: Preparing [2023-11-15T22:29:26.078Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:29:26.078Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:29:26.078Z] a85cd0a75aad: Layer already exists [2023-11-15T22:29:26.078Z] 441990b5e489: Layer already exists [2023-11-15T22:29:26.078Z] bc61a4e0044f: Layer already exists [2023-11-15T22:29:26.078Z] 01ad30557664: Layer already exists [2023-11-15T22:29:26.078Z] b81313cd31ae: Layer already exists [2023-11-15T22:29:26.078Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:29:26.349Z] a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:26.713Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:27.063Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [2023-11-15T22:29:27.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-15T22:29:27.063Z] 01ad30557664: Preparing [2023-11-15T22:29:27.063Z] 441990b5e489: Preparing [2023-11-15T22:29:27.063Z] b81313cd31ae: Preparing [2023-11-15T22:29:27.063Z] a85cd0a75aad: Preparing [2023-11-15T22:29:27.063Z] bc61a4e0044f: Preparing [2023-11-15T22:29:27.063Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:29:27.063Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:29:27.063Z] a85cd0a75aad: Layer already exists [2023-11-15T22:29:27.063Z] b81313cd31ae: Layer already exists [2023-11-15T22:29:27.063Z] 441990b5e489: Layer already exists [2023-11-15T22:29:27.063Z] 01ad30557664: Layer already exists [2023-11-15T22:29:27.063Z] bc61a4e0044f: Layer already exists [2023-11-15T22:29:27.063Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:29:27.332Z] napa: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:29:27.376Z] ===================================================== [Pipeline] echo [2023-11-15T22:29:27.382Z] taggedImages: [2023-11-15T22:29:27.382Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d [2023-11-15T22:29:27.382Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 [2023-11-15T22:29:27.382Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [2023-11-15T22:29:27.382Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:27.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:29:27.742Z] [2023-11-15T22:29:27.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:29:28.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:29:28.089Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T22:29:28.089Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T22:29:28.089Z] 04944245beec: Pulling fs layer [2023-11-15T22:29:28.089Z] 699f458cf7ca: Pulling fs layer [2023-11-15T22:29:28.089Z] 765212b225bb: Pulling fs layer [2023-11-15T22:29:28.089Z] f23df028b6ca: Pulling fs layer [2023-11-15T22:29:28.089Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T22:29:28.089Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T22:29:28.089Z] 765212b225bb: Waiting [2023-11-15T22:29:28.089Z] f23df028b6ca: Waiting [2023-11-15T22:29:28.089Z] d65c8cfc05b1: Waiting [2023-11-15T22:29:28.089Z] 2437ff75d9bd: Waiting [2023-11-15T22:29:28.362Z] 04944245beec: Verifying Checksum [2023-11-15T22:29:28.362Z] 04944245beec: Download complete [2023-11-15T22:29:28.362Z] 765212b225bb: Verifying Checksum [2023-11-15T22:29:28.362Z] 765212b225bb: Download complete [2023-11-15T22:29:28.362Z] f23df028b6ca: Verifying Checksum [2023-11-15T22:29:28.362Z] f23df028b6ca: Download complete [2023-11-15T22:29:28.362Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T22:29:28.362Z] d65c8cfc05b1: Download complete [2023-11-15T22:29:28.629Z] 699f458cf7ca: Verifying Checksum [2023-11-15T22:29:28.630Z] 699f458cf7ca: Download complete [2023-11-15T22:29:28.897Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T22:29:28.897Z] 8998bd30e6a1: Download complete [2023-11-15T22:29:31.488Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T22:29:31.488Z] 2437ff75d9bd: Download complete [2023-11-15T22:29:34.080Z] 8998bd30e6a1: Pull complete [2023-11-15T22:29:34.666Z] 04944245beec: Pull complete [2023-11-15T22:29:36.075Z] 699f458cf7ca: Pull complete [2023-11-15T22:29:36.342Z] 765212b225bb: Pull complete [2023-11-15T22:29:37.305Z] f23df028b6ca: Pull complete [2023-11-15T22:29:37.575Z] d65c8cfc05b1: Pull complete [2023-11-15T22:29:55.800Z] 2437ff75d9bd: Pull complete [2023-11-15T22:29:55.800Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T22:29:55.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:29:55.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:29:56.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container [2023-11-15T22:29:56.094Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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-11-15T22:29:59.187Z] $ docker top f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:00.073Z] ---> job-cost.sh [2023-11-15T22:30:00.073Z] lf-activate-venv: SKIPPING [2023-11-15T22:30:00.073Z] INFO: No Stack... [2023-11-15T22:30:00.660Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T22:30:01.247Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T22:30:01.893Z] + + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2023-11-15T22:30:01.893Z] cut -d, -f6 [Pipeline] lock [2023-11-15T22:30:01.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [2023-11-15T22:30:01.921Z] Resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] did not exist. Created. [2023-11-15T22:30:01.922Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T22:30:02.596Z] /w/workspace/device-snmp-go/2@tmp/durable-0168243f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T22:30:03.267Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T22:30:03.290Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T22:30:03.740Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T22:30:03.746Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T22:30:03.763Z] $ docker stop --time=1 f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b [2023-11-15T22:30:05.375Z] $ docker rm -f --volumes f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b [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-11-15T22:30:05.788Z] provisioning config files... [2023-11-15T22:30:05.795Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config8473356040176702001tmp [Pipeline] { [Pipeline] sh [2023-11-15T22:30:06.087Z] + set +x [2023-11-15T22:30:06.087Z] + curl -s https://codecov.io/bash [2023-11-15T22:30:06.087Z] + bash -s -- [2023-11-15T22:30:06.087Z] [2023-11-15T22:30:06.087Z] _____ _ [2023-11-15T22:30:06.087Z] / ____| | | [2023-11-15T22:30:06.087Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T22:30:06.087Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T22:30:06.087Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T22:30:06.087Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T22:30:06.087Z] Bash-1.0.6 [2023-11-15T22:30:06.087Z] [2023-11-15T22:30:06.087Z] [2023-11-15T22:30:06.087Z] ==> git version 2.25.1 found [2023-11-15T22:30:06.087Z] ==> 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-11-15T22:30:06.087Z] Release-Date: 2020-01-08 [2023-11-15T22:30:06.087Z] 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-11-15T22:30:06.087Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T22:30:06.087Z] ==> Jenkins CI detected. [2023-11-15T22:30:06.087Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_napa [2023-11-15T22:30:06.087Z] project root: . [2023-11-15T22:30:06.087Z] --> token set from env [2023-11-15T22:30:06.087Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2023-11-15T22:30:06.087Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T22:30:06.087Z] ==> Python coveragepy not found [2023-11-15T22:30:06.087Z] ==> Searching for coverage reports in: [2023-11-15T22:30:06.087Z] + . [2023-11-15T22:30:06.087Z] -> Found 1 reports [2023-11-15T22:30:06.087Z] ==> Detecting git/mercurial file structure [2023-11-15T22:30:06.087Z] ==> Reading reports [2023-11-15T22:30:06.087Z] + ./coverage.out bytes=8837 [2023-11-15T22:30:06.345Z] ==> Appending adjustments [2023-11-15T22:30:06.345Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T22:30:06.345Z] + Found adjustments [2023-11-15T22:30:06.345Z] ==> Gzipping contents [2023-11-15T22:30:06.345Z] 16K /tmp/codecov.GdaAsS.gz [2023-11-15T22:30:06.345Z] ==> Uploading reports [2023-11-15T22:30:06.345Z] url: https://codecov.io [2023-11-15T22:30:06.345Z] query: branch=napa&commit=a5a8eecad0964d203a89aaaae76bac199dfc367d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T22:30:06.345Z] -> Pinging Codecov [2023-11-15T22:30:06.345Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=napa&commit=a5a8eecad0964d203a89aaaae76bac199dfc367d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T22:30:06.606Z] -> Uploading to [2023-11-15T22:30:06.606Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/6C56EA5C29638FB4528AC87E60AF5AE0/a5a8eecad0964d203a89aaaae76bac199dfc367d/75b5e3bd-4d16-4e0d-9694-67250f4a0e5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T223006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3866ce302aa93743e2fb91ba65be1d7a7d37421d6a988fb550eab0296e1b87d [2023-11-15T22:30:06.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T22:30:06.606Z] Dload Upload Total Spent Left Speed [2023-11-15T22:30:06.865Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12914 0 0 100 12914 0 52926 --:--:-- --:--:-- --:--:-- 52710 100 12914 0 0 100 12914 0 52926 --:--:-- --:--:-- --:--:-- 52710 [2023-11-15T22:30:06.865Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [2023-11-15T22:30:06.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-15T22:30:07.005Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-15T22:30:07.016Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:07.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:30:07.322Z] [2023-11-15T22:30:07.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:07.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:30:07.625Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-15T22:30:07.625Z] df9b9388f04a: Pulling fs layer [2023-11-15T22:30:07.625Z] 52dc419b0ee2: Pulling fs layer [2023-11-15T22:30:07.625Z] 25bc292e5bac: Pulling fs layer [2023-11-15T22:30:07.625Z] 114826534d7a: Pulling fs layer [2023-11-15T22:30:07.625Z] 4657fd5d0bcf: Pulling fs layer [2023-11-15T22:30:07.625Z] 6ad1cebc031e: Pulling fs layer [2023-11-15T22:30:07.625Z] 8a3aa393b2d8: Pulling fs layer [2023-11-15T22:30:07.625Z] 114826534d7a: Waiting [2023-11-15T22:30:07.625Z] 4657fd5d0bcf: Waiting [2023-11-15T22:30:07.625Z] 6ad1cebc031e: Waiting [2023-11-15T22:30:07.625Z] 8a3aa393b2d8: Waiting [2023-11-15T22:30:07.625Z] 25bc292e5bac: Download complete [2023-11-15T22:30:07.625Z] 52dc419b0ee2: Verifying Checksum [2023-11-15T22:30:07.625Z] 52dc419b0ee2: Download complete [2023-11-15T22:30:07.625Z] 4657fd5d0bcf: Verifying Checksum [2023-11-15T22:30:07.625Z] 4657fd5d0bcf: Download complete [2023-11-15T22:30:07.625Z] df9b9388f04a: Download complete [2023-11-15T22:30:07.887Z] df9b9388f04a: Pull complete [2023-11-15T22:30:07.887Z] 6ad1cebc031e: Verifying Checksum [2023-11-15T22:30:07.887Z] 6ad1cebc031e: Download complete [2023-11-15T22:30:07.887Z] 52dc419b0ee2: Pull complete [2023-11-15T22:30:07.887Z] 25bc292e5bac: Pull complete [2023-11-15T22:30:08.454Z] 114826534d7a: Download complete [2023-11-15T22:30:08.454Z] 8a3aa393b2d8: Verifying Checksum [2023-11-15T22:30:08.454Z] 8a3aa393b2d8: Download complete [2023-11-15T22:30:11.731Z] 114826534d7a: Pull complete [2023-11-15T22:30:11.731Z] 4657fd5d0bcf: Pull complete [2023-11-15T22:30:11.731Z] 6ad1cebc031e: Pull complete [2023-11-15T22:30:14.252Z] 8a3aa393b2d8: Pull complete [2023-11-15T22:30:14.252Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-15T22:30:14.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:30:14.252Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:14.337Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:14.315Z] $ 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_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-15T22:30:18.729Z] $ docker top 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-15T22:30:18.850Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:napa' [Pipeline] sh [2023-11-15T22:30:19.128Z] + set -o pipefail [2023-11-15T22:30:19.128Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:napa' [2023-11-15T22:30:21.028Z] [2023-11-15T22:30:21.028Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_napa (github.com/edgexfoundry/device-snmp-go)... [2023-11-15T22:30:21.028Z] [2023-11-15T22:30:21.028Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/37596618-d31a-4f3f-90b9-e3514e9d2030/history/1309f20e-9087-4449-ad64-9020b55cc700 [2023-11-15T22:30:21.028Z] [2023-11-15T22:30:21.028Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-15T22:30:21.028Z] [2023-11-15T22:30:21.286Z] [2023-11-15T22:30:21.286Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-15T22:30:21.286Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-15T22:30:21.286Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-11-15T22:30:21.246Z] $ docker stop --time=1 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde [2023-11-15T22:30:22.543Z] $ docker rm -f --volumes 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde [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-11-15T22:30:23.140Z] + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] sh [2023-11-15T22:30:23.429Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:30:23.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:23.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:30:23.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:23.791Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:23.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:30:24.079Z] $ docker top 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce -eo pid,comm [2023-11-15T22:30:24.178Z] 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-11-15T22:30:24.178Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:30:24.208Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:30:24.506Z] + git semver [Pipeline] } [2023-11-15T22:30:24.726Z] $ docker stop --time=1 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce [2023-11-15T22:30:25.959Z] $ docker rm -f --volumes 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:26.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:30:26.407Z] [2023-11-15T22:30:26.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:26.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:30:26.716Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-15T22:30:26.716Z] ab5ef0e58194: Pulling fs layer [2023-11-15T22:30:26.716Z] 9712f1f96733: Pulling fs layer [2023-11-15T22:30:26.716Z] 63f879dbbcfc: Pulling fs layer [2023-11-15T22:30:26.716Z] 0d9ebad4ef96: Pulling fs layer [2023-11-15T22:30:26.716Z] e9a5061849ea: Pulling fs layer [2023-11-15T22:30:26.716Z] d747dcd14b5f: Pulling fs layer [2023-11-15T22:30:26.716Z] 2de7ff778b66: Pulling fs layer [2023-11-15T22:30:26.716Z] d747dcd14b5f: Waiting [2023-11-15T22:30:26.716Z] 0d9ebad4ef96: Waiting [2023-11-15T22:30:26.716Z] 2de7ff778b66: Waiting [2023-11-15T22:30:26.716Z] e9a5061849ea: Waiting [2023-11-15T22:30:26.716Z] 9712f1f96733: Verifying Checksum [2023-11-15T22:30:26.716Z] 9712f1f96733: Download complete [2023-11-15T22:30:26.977Z] 63f879dbbcfc: Verifying Checksum [2023-11-15T22:30:26.977Z] 63f879dbbcfc: Download complete [2023-11-15T22:30:27.234Z] ab5ef0e58194: Verifying Checksum [2023-11-15T22:30:27.234Z] ab5ef0e58194: Download complete [2023-11-15T22:30:27.234Z] e9a5061849ea: Verifying Checksum [2023-11-15T22:30:27.234Z] e9a5061849ea: Download complete [2023-11-15T22:30:27.234Z] d747dcd14b5f: Verifying Checksum [2023-11-15T22:30:27.234Z] d747dcd14b5f: Download complete [2023-11-15T22:30:27.234Z] 0d9ebad4ef96: Verifying Checksum [2023-11-15T22:30:27.234Z] 0d9ebad4ef96: Download complete [2023-11-15T22:30:27.234Z] 2de7ff778b66: Verifying Checksum [2023-11-15T22:30:27.234Z] 2de7ff778b66: Download complete [2023-11-15T22:30:30.559Z] ab5ef0e58194: Pull complete [2023-11-15T22:30:30.559Z] 9712f1f96733: Pull complete [2023-11-15T22:30:30.559Z] 63f879dbbcfc: Pull complete [2023-11-15T22:30:34.788Z] 0d9ebad4ef96: Pull complete [2023-11-15T22:30:34.788Z] e9a5061849ea: Pull complete [2023-11-15T22:30:34.788Z] d747dcd14b5f: Pull complete [2023-11-15T22:30:35.717Z] 2de7ff778b66: Pull complete [2023-11-15T22:30:35.717Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-15T22:30:35.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:30:35.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:35.807Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:35.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-15T22:30:40.703Z] $ docker top 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:30:40.826Z] provisioning config files... [2023-11-15T22:30:40.833Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config3881024783836474867tmp [2023-11-15T22:30:40.841Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config11223329690578775946tmp [2023-11-15T22:30:40.850Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config5026443422683767356tmp [Pipeline] { [Pipeline] echo [2023-11-15T22:30:40.862Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:41.144Z] ---> sigul-configuration.sh [2023-11-15T22:30:41.144Z] gpg: directory `/root/.gnupg' created [2023-11-15T22:30:41.144Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-15T22:30:41.144Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-15T22:30:41.144Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-15T22:30:41.144Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-15T22:30:41.144Z] gpg: CAST5 encrypted data [2023-11-15T22:30:41.144Z] gpg: encrypted with 1 passphrase [2023-11-15T22:30:41.144Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-15T22:30:41.433Z] + mkdir /home/jenkins [2023-11-15T22:30:41.433Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-15T22:30:41.726Z] + 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-11-15T22:30:41.733Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:42.016Z] ---> sigul-install.sh [2023-11-15T22:30:42.016Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-15T22:30:42.305Z] + git tag --list [2023-11-15T22:30:42.305Z] 1.0.0 [2023-11-15T22:30:42.306Z] v0.0.0 [2023-11-15T22:30:42.306Z] v1.1.0 [2023-11-15T22:30:42.306Z] v1.1.1 [2023-11-15T22:30:42.306Z] v1.2.2 [2023-11-15T22:30:42.306Z] v1.3.0 [2023-11-15T22:30:42.306Z] v1.3.1 [2023-11-15T22:30:42.306Z] v2.0.0 [2023-11-15T22:30:42.306Z] v2.1.0 [2023-11-15T22:30:42.306Z] v2.1.1 [2023-11-15T22:30:42.306Z] v2.2.0 [2023-11-15T22:30:42.306Z] v2.3.0 [2023-11-15T22:30:42.306Z] v3.0 [2023-11-15T22:30:42.306Z] v3.0.0 [2023-11-15T22:30:42.306Z] v3.1.0 [2023-11-15T22:30:42.306Z] v3.1.0-dev.1 [2023-11-15T22:30:42.306Z] v3.1.0-dev.10 [2023-11-15T22:30:42.306Z] v3.1.0-dev.11 [2023-11-15T22:30:42.306Z] v3.1.0-dev.12 [2023-11-15T22:30:42.306Z] v3.1.0-dev.13 [2023-11-15T22:30:42.306Z] v3.1.0-dev.2 [2023-11-15T22:30:42.306Z] v3.1.0-dev.3 [2023-11-15T22:30:42.306Z] v3.1.0-dev.4 [2023-11-15T22:30:42.306Z] v3.1.0-dev.5 [2023-11-15T22:30:42.306Z] v3.1.0-dev.6 [2023-11-15T22:30:42.306Z] v3.1.0-dev.7 [2023-11-15T22:30:42.306Z] v3.1.0-dev.8 [2023-11-15T22:30:42.306Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-15T22:30:42.593Z] + lftools sign git-tag v3.1.0 [2023-11-15T22:30:43.160Z] Signing Git tag with Sigul... [2023-11-15T22:30:43.160Z] Signing v3.1.0 [Pipeline] echo [2023-11-15T22:30:43.735Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:44.016Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-15T22:30:44.022Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-15T22:30:43.986Z] $ docker stop --time=1 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 [2023-11-15T22:30:45.264Z] $ docker rm -f --volumes 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-15T22:30:45.731Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:30:45.731Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:46.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:30:46.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:46.098Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:46.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:30:46.410Z] $ docker top 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 -eo pid,comm [2023-11-15T22:30:46.516Z] 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-11-15T22:30:46.516Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:30:46.551Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:30:46.844Z] + git semver [Pipeline] } [2023-11-15T22:30:47.058Z] $ docker stop --time=1 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 [2023-11-15T22:30:48.765Z] $ docker rm -f --volumes 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:30:49.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:30:49.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:49.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:30:49.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:49.691Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:49.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:30:50.027Z] $ docker top cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 -eo pid,comm [2023-11-15T22:30:50.127Z] 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-11-15T22:30:50.127Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:30:50.151Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:30:50.434Z] + git semver [Pipeline] } [2023-11-15T22:30:50.651Z] $ docker stop --time=1 cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 [2023-11-15T22:30:51.964Z] $ docker rm -f --volumes cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 [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-11-15T22:30:52.595Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_napa/archives ] [2023-11-15T22:30:52.595Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives [2023-11-15T22:30:52.595Z] total 16 [2023-11-15T22:30:52.595Z] drwxr-xr-x 3 root root 4096 Nov 15 22:21 . [2023-11-15T22:30:52.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:30 .. [2023-11-15T22:30:52.595Z] drwxr-xr-x 2 root root 4096 Nov 15 22:21 cost [2023-11-15T22:30:52.595Z] -rw-r--r-- 1 root root 84 Nov 15 22:21 cost.csv [2023-11-15T22:30:52.595Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_napa/archives [2023-11-15T22:30:52.595Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives [2023-11-15T22:30:52.595Z] total 16 [2023-11-15T22:30:52.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:21 . [2023-11-15T22:30:52.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:30 .. [2023-11-15T22:30:52.595Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:21 cost [2023-11-15T22:30:52.595Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 15 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:52.882Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:53.739Z] ---> package-listing.sh [2023-11-15T22:30:53.739Z] ++ facter osfamily [2023-11-15T22:30:53.739Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T22:30:53.998Z] + OS_FAMILY=debian [2023-11-15T22:30:53.998Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_napa [2023-11-15T22:30:53.998Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T22:30:53.998Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T22:30:53.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T22:30:53.998Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T22:30:53.998Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' [2023-11-15T22:30:53.998Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T22:30:53.998Z] + case "${OS_FAMILY}" in [2023-11-15T22:30:53.998Z] + dpkg -l [2023-11-15T22:30:53.998Z] + grep '^ii' [2023-11-15T22:30:53.998Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T22:30:53.998Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T22:30:53.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T22:30:53.998Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' [2023-11-15T22:30:53.998Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ [2023-11-15T22:30:53.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ [Pipeline] echo [2023-11-15T22:30:54.009Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T22:30:54.285Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:30:54.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:30:54.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:30:54.920Z] prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container [2023-11-15T22:30:54.895Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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-11-15T22:30:55.113Z] $ docker top 900ca9281c03dcd72e1a21e254b8e8ed933c1a1e4bb64c50a69075d5067c7633 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:30:55.521Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T22:30:55.802Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T22:30:56.088Z] + ls /var/log/sa-host [2023-11-15T22:30:56.088Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:30:56.166Z] provisioning config files... [2023-11-15T22:30:56.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config12038517700801384668tmp [Pipeline] { [Pipeline] echo [2023-11-15T22:30:56.186Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:56.468Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T22:30:56.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:56.796Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T22:30:56.805Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:57.087Z] ---> sudo-logs.sh [2023-11-15T22:30:57.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T22:30:57.119Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:57.400Z] ---> job-cost.sh [2023-11-15T22:30:57.400Z] lf-activate-venv: SKIPPING [2023-11-15T22:30:57.400Z] DEBUG: total: 0.2199999988079071 [2023-11-15T22:30:57.400Z] INFO: Retrieving Stack Cost... [2023-11-15T22:30:57.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T22:30:58.225Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T22:30:58.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:30:58.521Z] ---> logs-deploy.sh [2023-11-15T22:30:58.521Z] lf-activate-venv: SKIPPING [2023-11-15T22:30:58.521Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/napa/2 [2023-11-15T22:30:58.521Z] INFO: archiving workspace using pattern(s): [2023-11-15T22:30:59.458Z] Archives upload complete. [2023-11-15T22:30:59.458Z] INFO: archiving logs to Nexus